@media (min-width: 1700px){
    .container {
          max-width: 1620px;
    }
}

.bttop-mobile{
    display: none;
}
@media (max-width: 1700px){
.bttop {
    top: 5px;
    right: 20px;
}

body.sticky #header {
    height: 110px;
}
body.sticky #header .menutop {
    top: 50px;
}
#wp-megamenu-top {

    padding-right: 0;

}
body.sticky .bttop {}
.menutop {margin-right: 0;}
.bthomecontainer .bthome p {line-height: 120%;font-weight: 600;font-size: 15px;}
}


@media (max-width: 1500px){
    .actu4art.card-deck {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(49%, 1fr));
    }	
}


@media (max-width: 1400px){

    .site-navigation {
        padding-right: 0;
    }
    .bthomecontainer .bthome {
        margin-top: -220px;
    }    

    .bthomecontainer .bthome:hover {
        margin-top: -250px;
    }   
    .bthomecontainer .bthome .bthomebod h2 {
        font-size: 30px;
        padding-top: 10px;
    }
    .bthomecontainer .bthome {
        min-height: 463px;
    }
}

@media (max-width: 1200px){
    #wp-megamenu-top>.wpmm-nav-wrap ul.wp-megamenu>li>a, .wp-megamenu-wrap .wpmm-nav-wrap>ul>li.wpmm-social-link.wpmm-social-link-search a, .wpmm-menu-cart .cart-icon .fa-shopping-cart, .wp-megamenu-wrap .form .submit, .wpmm-menu-cart span.cart-icon i {

        padding-left: 0 !important;
    }
    .homevideo h1 {font-size: 50px;}
    .decouvrir {padding-bottom: 0;}
    .laboratoire {
        padding-top: 30px;
    }
    .labocontent2 {margin-top: 0;}
    .labocontent3 {
        padding-top: 0;
    }
    .labocontent2 h2 {
        color: #000;
        text-align: center;
    }

    .labocontent3 {padding: 20px 0;}


    .bthomecontainer .bthome {
        height: 220px;
        min-height: 220px;
        margin-top: 0;
    }
    .bthomecontainer {
        padding: 0 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: -250px;
        height: auto;
    }       
    .bthomecontainer .bthomebod {
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        flex-direction: column;
        justify-content: center;  
    }   
    .bthomecontainer .bthomebod p {display: none;}
    .bthomecontainer .bthome .encartop {
        display: none;
    }        
    .bthomecontainer .bthome:hover {
        margin-top: 0;
        margin-bottom: 0;
    }   
    section.faq .card-body {
        width: 100%;
        margin-left: 0px;
        background-color: transparent;
        padding: 5px;
    }
    section.faq .titre {
        color: #FFF;
        font: normal normal normal 40px/50px 'Bebasneue';
    }
    .labocontent3 {
        background-image: none;
    }
    .decolab {
        background: #FFF url(images/labo_smart.jpg) no-repeat center;
        background-size: cover;
        min-height: 500px;
        margin-top: 0;
        margin-bottom: 50px;
    }

}



@media (max-width: 992px){
.burger{
	display:flex !important;
}
	.logoheadsmart{
		/*display:none;*/
	}
    .bttop {right: 90px;top: 8px;}
    .bttop.service {right: 25px;top: 8px;}
    #wp-megamenu-top {
        padding-right: 0px; 
        padding-left: 0px; 
    }
    .firstsec h1 {
        color: #FFF;
        font-size: 45px;
        line-height: 120%;
    }
    .firstsec h1 span {
        font-size: 45px;
        line-height: 120%;
    }

    .homevideo h1 {font-size: 40px;line-height: 120%;}
    .firstsecservcont  {padding: 0 40px 40px 40px;}
    .firstsecservcont  h1 {font-size: 40px;line-height: 120%;}

    .bthomecontainer .bthome .bthomebod h2 {
        font-size: 25px;
    }
    
    .bthomecontainer {
        margin-top: -112px;

    }

    .decouvrir {background-image: none;}
    .menutop {
        top: 0;
    } 
    .homevideo {
        height: 70vh;
        padding-bottom: 0;
    }
   

    .btencartgeneralcontainer .bthome {
        height: auto;
        margin-top: 45px;
    }
    .btencartgeneralcontainer {
        padding: 0 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }   
    .btencartgeneralcontainer .bthomebod {
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        flex-direction: column;
        justify-content: center;  
    }   
    .btencartgeneralcontainer .bthomebod p {display: none;}
    .wpforms-field-layout-columns {
        margin: 0 10px !important;
    }


    .formcontactwrap {
        margin: 20px 20px !important;
    }
    section.faq .pAskFaq {
        font-size: 16px;
        text-transform: uppercase;
        font-family: 'Open Sans';
        font-size: 14px;
        padding: 10px 30px 10px 5px;
        font-weight: bold;
        line-height: 150%;
    }
    section.faq .card-header a.open.collapsed .pAskFaq {
        background-size: 25px;
    }
    section.faq .card-header a.open .pAskFaq {
        background: url('images/accordionon.png') no-repeat right 0px center;
        background-size: 25px;
    }

  
}

@media (max-width: 866px){
.logoheadsmart{
		display:flex;
	}
.logohead,.header-desktop{
    display: none;
}
.bttop {display: none;    right: 10px;}
.menusmart a.bt {
    display: block !important;
}
.bttop-mobile{
    display: flex;
}
#headbar {
    /*ajouter par lamia*/
    display: flex;
    align-items: center;
    justify-content: start;
}
.btn-header{
    width: 8rem;
}
.logoheadsmart {
    /*max-height: 20px !important;*/
}
}


@media (max-width: 768px){

    h2 {
        font: normal normal normal 40px/50px 'Bebasneue';
        letter-spacing: 0px;
        color: #000000;
        text-transform: uppercase;
        color: #000000;
    }

    .firstsecserv {
        height: auto;
        padding: 50px 10px;
    }
    .actu4art.card-deck {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }	
    .btencartgeneralcontainer {
        grid-template-columns: repeat(1, 1fr);
    }   
    .actucontent .card-title {
        font-family: 'Bebasneue';
        font-size: 28px;
        margin-top: 10px;
    }
    .wp-pagenavi span.pages {display: none;}
    .wp-pagenavi a.first {display: none;}

    .page-template-page_geoloc .contentpage {
        padding: 20px 20px;
    }

}
@media (max-width: 650px){

   .bthomecontainer {
        margin-top: 0px;
    }    
   .homevideo {
        height: auto;
        padding-top: 100px;
    }


}
@media (max-width: 576px){
    ul.cr {padding-left: 0;}
    ul.cr li {
        list-style-type: none;
        background-image: none;
        padding-left: 0px;
    }    
    .bthomecontainer {
        grid-template-columns: repeat(1, 1fr);
    }    
    .homenewsletter div.wpforms-container-full .wpforms-form input[type=email] {
        width: 100% !important;
    }
    .homedemande {

        padding: 35px 24px;

    }    
    .homevideo .content h1 span {
        font-size: 16px;
    }    
    .homevideo h1 {
        font-size: 30px;
        line-height: 120%;
    }

    .firstsecservcont {
        padding: 0 5px 40px 5px;
    }
    section {
        padding: 20px 0;
    }
    .firstsecsearch .firstsecservcont {
        padding-bottom: 78px;
    }
    .rsformnews img {max-width: 50px;}
    .searchgrid {
        padding: 50px 0%;
    }
    .containerelementor {padding-left: 15px;padding-right: 15px;}
    .liseretlabo {width: 100%;}
    .liendatab {
        display: block !important;
        background-color: #F47E32 !important;
        margin-top: 10px !important;
        text-align: center !important;
    }

    .menubottomdatab {display: none;}
    .entry-content h1 {
        font-size: 40px;
        line-height: 110%;
        margin: 2rem 0;
    }
    .entry-content h2 {
        font-size: 30px;
        line-height: 110%;
        margin: 1.5rem 0;
    }
	.page-template-page_devis .decoservice {max-width: 300px;}


}

@media (max-width: 330px){
    .logoheadsmart {max-height: 30px !important;}

}

@media (max-width: 300px){
    footer .logofoot {
        max-width: 100%;
    }
    #headbar {
        height: 80px;
        padding: 3px;


    }
    .homecont {
        width: auto;
    }    
    
}

/* MENU SMART */


/*  BURGER =================================== */

.logoheadsmart {max-height: 35px;}

#headbar {
    background-color: #06171f;
    height: 80px;
    padding: 15px;
    position: fixed;
    z-index: 99;
    width: 100%;
}
.burger {
	width: 10px;
	height: 40px;
	top: 0;
	position: relative;
	border-radius: 4px;
	z-index: 1031;
}

.burger span {
	position: relative;
	margin-top: 9px;
	margin-bottom: 9px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: absolute;
	top: 50%;
	margin-left: -15px;
	margin-top: -1.5px;
}

.burger span,
.burger span::before,
.burger span::after {
	display: block;
	width: 35px;
	height: 4px;
	background-color: #FFF;
	outline: 1px solid transparent;
	-webkit-transition-property: background-color, -webkit-transform;
	-moz-transition-property: background-color, -moz-transform;
	-o-transition-property: background-color, -o-transform;
	transition-property: background-color, transform;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.burger span::before,
.burger span::after {
	position: absolute;
	content: "";
}
.burger span::before {
	top: -13px;
}
.burger span::after {
	top: 12px;
}
.burger.clicked {
	z-index: 1040;
}

.burger.clicked span {
	background-color: transparent;
}

.burger.clicked span::before {
	-webkit-transform: translateY(13px) rotate(45deg);
	-moz-transform: translateY(13px) rotate(45deg);
	-ms-transform: translateY(13px) rotate(45deg);
	-o-transform: translateY(13px) rotate(45deg);
	transform: translateY(13px) rotate(45deg);
}

.burger.clicked span::after {
	-webkit-transform: translateY(-13px) rotate(-45deg);
	-moz-transform: translateY(-13px) rotate(-45deg);
	-ms-transform: translateY(-13px) rotate(-45deg);
	-o-transform: translateY(-13px) rotate(-45deg);
	transform: translateY(-13px) rotate(-45deg);
}

.burger.clicked span:before,
.burger.clicked span:after {
	background-color: #ffffff;
}

.burger:hover {
	cursor: pointer;
}

.menusmart {
    background-color: #06171fef;
    position: fixed;
    z-index: 15;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    padding: 100px 40px 70px 0px;
    overflow-y: auto;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.menusmart.show {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
}

.menusmart ul {list-style-type: none;margin: 0;}
.menusmart a {padding-top: 10px;color: #ddd;text-transform: uppercase;display: block;font-weight: 600;}
.menusmart a.bt {
    margin: 10px 32px !important;
    display: none;
}
.menusmart > li {margin-bottom: 20px;}
.menusmart li.menu-item-has-children > a {border-bottom: 1px solid #646464;font-weight: 600;}
.menusmart li.menu-item-has-children > a::after {font-family: "FontAwesome"; font-weight: 600; content: "\f105";display: inline-block;padding-left: 10px;}
.menusmart li.menu-item-has-children .sub-menu li {margin-bottom: 0px;}
.menusmart hr {border-top: 1px solid #ddd;}
.menusmarticone {
	justify-content: space-between;
	padding-left: 35px;
	align-items: center;
}
.menusmarticone a {display: inline-block; margin-left: 5px;}
