span.avia-menu-text {
    font-size: 16px;
}

.menu-item-top-level > a span.avia-menu-text {
    text-transform: uppercase;
}

.html_visible_cart .cart_dropdown {
    right: 2% !important;
	border: 0px !important;
}

a.cart_dropdown_link {
    text-align: center;
    display: block !important;
    background: #f7951c !important;
}

.av-cart-counter {
    background-color: #dd3333 !important;
    color: #ffffff !important;
}

div#custom_html-2 {
    right: 4%;
}

li#menu-item-15527 .avia-menu-text:before {
    content: ' \e811';
    font-family: 'entypo-fontello';
    padding-right: 5px;
}

li#menu-item-15527 .sub-menu .avia-menu-text:before {
	display:none !important;
}

.logo {
    height: 85px !important;
    min-width: 228px !important;
}

#top .cart_dropdown_link > span:first-child:before {
    font-family: 'fontello';
    content:'\e80b'!important;
	font-size: 18px;
}

/************************************

 Add a widget area on the right side
 Logo left, Menu center, Widget right

*************************************


CSS Settings:

» Initiate Flexbox
» Topbar
» Header
» Logo
» Menu
» Widget
» Social icons
» Search
» Cart icon

***********************************/ 



/*--------------------------------

» Initiate Flexbox

--------------------------------*/



/* Header */
.responsive #top #header,
/* Top bar */
.responsive #top #header #header_meta,
/* Search icon */
.responsive #top #header #menu-item-search a,
/* Cart icon */
.responsive #top #header a.cart_dropdown_link,
/* Social icon */
.responsive #top #header #header_main nav .social_bookmarks,
/* Logo */
.responsive #top #header #header_main .inner-container .logo,
/* Main menu, cart and social icons */
.responsive #top #header #header_main .inner-container .main_menu,
/* Widgets */
.responsive #top #header #header_main .inner-container .widget,
/* Header inner container */
#top #header #header_main .container.av-logo-container .inner-container {    
    display: flex;
    position: relative;
}




/*--------------------------------

» Topbar

--------------------------------*/



/* Top bar */

.responsive #top #header #header_meta {
    flex-basis: 100%;    
}



/*--------------------------------

» Header

--------------------------------*/

/* Height */

#top #header #header_main .container.av-logo-container {
    height: inherit;   /* Auto height: Header takes the height of the contents */
}


/* Header inner container */

#top #header #header_main .container.av-logo-container .inner-container {
  height: inherit; 
  position: relative !important;
  flex-wrap: nowrap;
  justify-content: space-between;
}


/* Wrappers 
--------------------------------*/

/* Header content and Topbar */

.responsive #top #header {
    flex-wrap: wrap;
}

/* Header contents: Logo, Menu, Social Icons and Widgets. */

.responsive #top #header #header_main {
    flex-basis: 100%;    
}

/* Transparent header 
--------------------------------*/

.responsive.html_header_transparency #top #wrap_all #header {
    position: absolute;
}


/* Main content: 
-----------------------*/

.responsive #top #main { 
    padding-top: 0px; /* Gap between the content and header */
} 


/* Fixed header 
--------------------------------*/

/* Fixed header */

.html_header_sticky.html_header_transparency #top #wrap_all #header,
.html_header_sticky #top #wrap_all #header { 
    position: fixed; 
} 


/* Fixed header and page content gap. 
   Padding value should be same as the fixed header height. */

.html_header_sticky:not(.html_header_transparency) #top #wrap_all #main { 
    /*padding-top: 145px !important; */
} 

@media only screen and (max-width: 767px) {
.html_header_sticky #top #wrap_all #main {
    /*padding-top: 145px !important; */
}}





/*--------------------------------

» Logo

--------------------------------*/




/* Logo */

.responsive #top #header #header_main .inner-container .logo {
    order: 0;
    flex-basis: auto;
    /*width: auto;*/

    /* Define scalable min width of the logo on small screens */
    min-width: 100px;
    /* Define scalable max width of the logo on big screens */
    /* Logo width: (auto | 100% | px );  Set auto to display the uploaded image size */
    max-width: 180px;
    
    z-index: 9;
}


/* Logo image size */

.responsive #top #header .logo,
.responsive #top #header .logo a,
.responsive #top #header .logo img {
    width: auto;
        
    /* Height specification is not required. It is proportional to the max width of the logo */
    height: auto;    
    align-items: center;
    align-self: center;
    justify-content: center;
}


/* Vertically center transparency logo */

.responsive #top #header .logo span img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}



/*--------------------------------

» Menu

--------------------------------*/



/* Menu outer container: Menu with siblings cart and social icons */

.responsive #top #header #header_main .inner-container .main_menu {
    order: 0;
    flex-basis: auto;   /* Use calc to minus the width of the logo */
    align-items: center;
    align-self: center;
}

/* Navigation */

#header .av-main-nav {
    display: flex;
    flex-wrap: nowrap;
}

/*  Activate burger menu  */

@media only screen and (max-width: 1000px) {
    #top #header .av-main-nav>li.menu-item {
        display: none!important;
    }
    #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block!important;
    }
}

@media only screen and (max-width: 767px) {

/* Mobile menu position fix */
.responsive #top .av-logo-container .avia-menu {
    display: flex!important;
    align-items: center;
}}


/*--------------------------------

» Widget

--------------------------------*/


/* Widgets */

.responsive #top #header #header_main .inner-container .widget {
    order: 0;
    flex-basis: auto;
    padding: unset;
    clear: none!important;

    align-self: center;
    align-items: center;
    z-index: 1;

}

.responsive #top #header #header_main .inner-container .widget>div {
    width:100%;
    line-height: 14px;
    padding:0 10px;
}

#custom_html-2 p {
    font-size: 13px;
    margin-top: 2px;
	margin-bottom:0px !important;
}





/*--------------------------------

» Social icons

--------------------------------*/




/* Flex support and position fix */
.responsive #top #header #header_main nav .social_bookmarks {
    display: flex;
     top: auto;
     margin-top: 0;
     align-items: center;
}
/* Inherit height for flex alignment */
#top .av-logo-container .social_bookmarks li {
    height: inherit;
}




/*--------------------------------

» Search 

--------------------------------*/



/* Your styles here */



/*--------------------------------

» Cart 

--------------------------------*/



/* Cart position fix */

#top #header #header_main #menu-item-shop a.cart_dropdown_link {
    height: auto;
}

@media only screen and (max-width: 767px) {
    .responsive #top #menu-item-shop.cart_dropdown {
        display: flex;
        align-items: center;
    }
    .cart_dropdown .dropdown_widget .avia-arrow {
        display: none;
    }
}


/*********************************/
/*********Desktop Styles**********/
/*********************************/
@media only screen and (min-width: 768px) {
.av_header_transparency .cart_dropdown_link span {
    color: #fff !important;
}	
	
/*SUBMENU*/
	
	/* Mega menu position fix */
#header li .avia_mega_div, #header li:hover .avia_mega_div {
    max-width: 90vw;
    width: 90vw;
    right: calc(-52vw + -60%) !important;
}
	
.sub-menu {
    background: #fff !important;
    padding: 10px !important;
}

.sub-menu a {
    color: #000 !important;
	background: #fff !important;
    text-align: center !important;
	text-transform:none !important;
}

.sub-menu .sub-menu a {
    color: #ce9e02 !important;
}

.mega_menu_title:after {
    content: " ";
    width: 100%;
    display: inline-block;
    height: 125px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.menu-bois .mega_menu_title:after {    background-image: url(/wp-content/uploads/bloque-volet-noir-standard-volet-bois-paire-180x180.png);}
.menu-alu .mega_menu_title:after {    background-image: url(/wp-content/uploads/bloque-volet-noir-standard-volet-alu-paire-vis-180x180.png);}
.menu-pvc .mega_menu_title:after {    background-image: url(/wp-content/uploads/bloque-volet-noir-standard-volet-pvc-paire-180x180.png);}
.menu-secu .mega_menu_title:after {    background-image: url(/wp-content/uploads/entrebailleur-styl-air-300x300.png);}
.menu-entre .mega_menu_title:after {    background-image: url(/wp-content/uploads/EntrBloqueVolet-300x300.png);}
.menu-quinc .mega_menu_title:after {    background-image: url(/wp-content/uploads/embouts-blancs-300x300.png);}

.menu-bois:after, .menu-alu:after, .menu-pvc:after, .menu-entre:after, .menu-secu:after {
    content: " ";
    width: 1px;
    height: 100%;
    background: #ececec;
    position: absolute;
    left: 100%;
    top: 0;
}
	
}

/*********************************/
/*********Mobile Styles**********/
/*********************************/
@media only screen and (max-width: 1280px) {
.container.av-logo-container {
    width: 100% !important;
    max-width: 100% !important;
}	
	
	span.logo {
    max-width: 50%;
    width: 50% !important;
    padding-left: 10px !important;
    min-width: 100px !important;
}
	
	div#aws_widget-2 {
    display: none !important;
}
	
	.responsive #top #header #header_main .inner-container .main_menu {
    order: 3;
    flex-basis: auto;
    align-items: center;
    align-self: center;
    justify-content: center;
}
	
.html_visible_cart .cart_dropdown {
    right: 14vw !important;
    top: 52% !important;
    z-index: 999 !important;
}
	
	header div#custom_html-2 {
    right: 28vw !important;
    position: absolute !important;
	}

/*BURGER BREAKPOINT*/
.av-main-nav > li.menu-item-avia-special {
    display: block;
}
.av-main-nav > li {
    display: none;
}}