/* 
Theme Name:		 Lenus Child Theme
Theme URI:		 http://childtheme-generator.com/
Description:	 Lenus Child Theme is a child theme of Page Builder Framework, created by ChildTheme-Generator.com
Author:			 Lenus
Author URI:		 http://childtheme-generator.com/
Template:		 page-builder-framework
Version:		 1.0.0
Text Domain:	 lenus-child-theme
*/

/*
    General
*/

html, body {
	max-width: 100% !important;
    overflow-x: hidden !important;
	}
	
.wpbf-padding-medium {
   padding-top: 0px !important;
   padding-bottom: 0px !important;
}	

/*
    Social media menu
*/

#menu-social-media {
	display: flex;
	align-items: center;
	justify-content: end;
	margin: 0;
}

#menu-social-media .menu-item {
	list-style: none;
	padding: 0 10px;
}

/*
    Header Menu
*/

.home header#header {
    position: absolute !important;
    top: 0 !important;
    z-index: 999 !important;
    width: 100% !important;
}

.home .wpbf-navigation {
    background: transparent !important;
}

.home ul.sub-menu {
    background-color: #00000080 !important;
}

.home .admin-bar header#header {
    top: 30px !important;
}

.home .menu-item-has-children:not(.wpbf-mega-menu) .sub-menu li:hover {
    background-color: #464646c7 !important;
}

/*
    Mobile Menu
*/

.wpbf-mobile-menu-hamburger.wpbf-hidden-large > .wpbf-mobile-nav-wrapper.wpbf-container > .wpbf-menu-toggle-container.wpbf-1-3 {
	z-index: 2 !important;
}

.wpbf-mobile-menu-hamburger.wpbf-hidden-large > .wpbf-mobile-nav-wrapper.wpbf-container > .wpbf-menu-toggle-container.wpbf-1-3 > .wpbf-mobile-nav-item.wpbf-mobile-menu-toggle.wpbff.active.wpbff-times {
	color: #4d5a68 !important;
}

.wpbf-mobile-menu-hamburger.wpbf-hidden-large > .wpbf-mobile-menu-container.active {
	justify-content: stretch;
	left: 0px;
	opacity: 1;
	right: 0px;
	transition: opacity 0.25s ease-out 0s;
	display: flex;
	position: fixed;
	bottom: 0;
	top: 0;
	background: #fff !important;
	overflow: auto;
	width: 100%;
}


.wpbf-mobile-menu-hamburger.wpbf-hidden-large > .wpbf-mobile-menu-container.active > nav#navigation {
	background: #fff none repeat scroll 0% 0% !important;
	overflow: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: 130rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	padding-top: 100px;
}

.home .wpbf-mobile-nav-item {
    color: #4d5a68 !important;
}


/*
   404 Button
*/

.error-404-button {
  color: #fff;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 20px;
  position: relative;
  padding: 15px 70px 15px 30px;
  background: #606161;
  border-radius: 50px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.error-404-button:hover {
  color: #fff;
  background: #606161;
  opacity: 0.5;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.error-404-button .bg {
  background: #fff;
  width: 30px;
  height: 2px;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  margin-left: 5px;

}

.error-404-button .bg:before, .error-404-button .bg:after {
  content: '';
  height: 2px;
  width: 10px;
  background: #fff;
  position: absolute;
  right: -2px;      
}

.error-404-button .bg:before {
  bottom: 3px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.error-404-button .bg:after{
  top: 3px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.wpbf-404-content {
	padding: 70px 0 !important;
}

.wpbf-404-content img {
	padding-bottom: 50px;
}

.wpbf-404-content h1.entry-title {
	margin-bottom: 50px;
}

/* Lenus */

.lenus-form > div > div > div {
    font-size: 20px !important;
}

/* Cookie Policy */

@media screen and (max-width: 768px) {
	#cookie-law-info-bar {
		font-size: 12px !important;
		text-align: center;
		font-weight: 300;
	}
}

/* Custom Button */

#button {
	pointer-events: auto;
	cursor: pointer;
	background: #b9c0a9;
	border: none;
	padding: 1.5rem 3rem;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	position: relative;
	display: inline-block;
}

#button::before,
#button::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#button {
	font-family: "classico-urw", Sans-serif;
	font-size: 1.15rem;
	background: none;
	padding: 0;
}

#button .button-bg {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	background: #b9c0a9;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}

#button:hover .button-bg {
	transform: scale3d(1.2,1.2,1);
}

#button .button-bg::before,
#button .button-bg::after {
	content: '';
	position: absolute;
	background: #3A5346;
}
#button .button-bg::before {
	width: 110%;
	height: 0;
	padding-bottom: 110%;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	transform: translate3d(-50%,-50%,0) scale3d(0,0,1);
}
#button:hover .button-bg::before {
	transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
	transform: translate3d(-50%,-50%,0) scale3d(1,1,1);
}

#button .button-bg::after {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.3s;
}

#button:hover .button-bg::after {
	opacity: 1;
	transition-duration: 0.01s;
	transition-delay: 0.3s;
}

#button span {
	display: block;
	position: relative;
	padding: 20px 40px;
	color: #fff;
}


#button .button-bg.light::before,
#button .button-bg.light::after {
	background: #f3f2f1;
}


#button.light-btn:hover span{
	color: #3A5346;
}


/*
 Testimonial Slider
*/

.elementor-testimonial__footer {
	justify-content: end;
}

/*
   iPhone Video
*/
.phone-container {
    display: flex;
    justify-content: center;
	position: relative;
	z-index: 1;
}
.phone-container .phone {
    position: relative;
    width: 350px;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(https://linuswerneman.se/wp-content/uploads/2021/03/iphone-container.png);
    background-size: 100%;
    padding: 15px 15px;
}
.phone-container .phone video {
	position: relative !important;
	width: 95% !important;
	margin-left: 9px !important;
	z-index: -1 !important;
	border-radius: 10px;
	margin-top: 5px;
}
