/*
Theme Name: divi-photography-child
Description: Thème enfant divi-photography pour bartelli.fr
Author: Valentin LN
Author URI: https://bartelli.fr
Template: Divi
Version: 1.0
*/


/*Keep picture layout on mobile 1st section*/
@media only screen and (max-width: 479px){
	.two-columns .et_pb_column:nth-child(1), .two-columns .et_pb_column:nth-child(2) {
	    width: 50% !important;
	}
}

@media only screen and (max-width: 479px){
	.two-column .et_pb_column:nth-child(2), .two-column .et_pb_column:nth-child(3) {
	    width: 50% !important;
	}
}


/*Keep picture layout on mobile 2nd section*/
@media (max-width: 479px){
   .columnsX2 .et_pb_column{
   max-width: 33%!important;
   }
}

.footer-widget .fwidget {
  float: none !important;
  text-align: center !important;
}
@media only screen and ( max-width: 767px ) {
#footer-widgets .footer-widget {
  width: 50% !important;
}
#footer-widgets .footer-widget:last-child {
  width: 100% !important;
}
}


/*side cart responsive
@media only screen and (max-width: 479px) {.xoo-wsc-container, .xoo-wsc-slider {
    max-width: 250px;
}}
/*side cart basket icon responsive
@media only screen and (max-width: 479px){.xoo-wsc-cart-active .xoo-wsc-basket {
    right: 250px;
}}
*/


/*Popup button upper case
form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit { text-transform: uppercase; border-radius: 0px;}
*/


/* Adding dynamic value for padding left of the top navigation 

.et-top-navigation{

      padding-left: calc(10% - 10px) !important;

}
/* lower the cart icon with 3px for tablet and mobile "one level with the hamb."

.@media(max-width:980px){

     .menu-cart-nav-wrap {

         top:5px;

     }

}*/


/* Make the cart icon out of the flow only for tablet and mobile */
@media(max-width:980px){
.menu-cart-custom-nav-wrap {
position:absolute; right:55px; top:4px;
}
}
@media all and (max-width:767px) and (min-width:480px){
.menu-cart-custom-nav-wrap{
 top: 18px !important;
}
}

/*Sub menu font*/
.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a {
font-size: 12px;
font-weight: 500;
}

/* Add close icon in open hamburger menu */
.mobile_nav.opened .mobile_menu_bar:before {
content: '\4d';
}

/* Make mobile menu fullwidth */
.et_mobile_menu {
min-width: 100vw;
margin-left: -10vw;
}

.et_pb_menu .et_mobile_menu {
    margin-top: 20px;
}

.et_pb_menu .et_mobile_menu li a {
    padding-top: 5px!important;
    padding-bottom: 5px !important;
}




/* From Stacked to Inline */
@media (max-width: 768px) {
.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row;
}
}
@media (max-width: 425px) {
.cmplz-cookiebanner .cmplz-header {
    height: 8px;
}


@media (max-width: 980px) {
.et-db #et-boc .et-l .two-columns .et_pb_column:first-child, .et-db #et-boc .et-l .two-columns .et_pb_column:nth-child(2) {
    width: 50% !important;
    margin-right: 0 !important;
}
}
