/*----------------------------------------------------------------*/
/*  General Menu Styles 
/*----------------------------------------------------------------*/
.wpmegamenu > ul {
    display: block;
    font-size: 0;
}

.wpmegamenu > ul > li {
    display: inline-block;
    margin-right: 29px;
    padding-right: 12px;
    text-align: left;
    vertical-align: middle;
}

.wpmegamenu #categories-menu {
    float: left;
    font-weight: bold;
}

.wpmegamenu .free-shipping {
    text-align: center;
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1em;
}
.wpmegamenu .free-shipping .free-shipping_free {
    text-transform: uppercase;
}
.wpmegamenu .free-shipping img {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-top: -5px;
}
#other-menu .root-item {
    font-size: 14px;
}
.wpmegamenu #other-menu > li {
    margin-right: 14px;
}
.wpmegamenu #other-menu > li:last-child {
    margin-right: 0;
    padding-right: 2px;
}

.no-touch .wpmegamenu .root:hover .root-item > .title {
    color: #4a7729;
}

.wpmegamenu .menu-row {
    display: table-row;
}

.wpmegamenu > ul > li:last-child {
    margin-right : 0;
    border-right: 0px;
}

.wpmegamenu .root > li {
    overflow: hidden;
}

.wpmegamenu .root {
    padding-bottom: 17px;
}

.wpmegamenu .root-item {
    float: left;
    cursor: pointer;
    overflow: hidden;
    padding: 10px 0;
    color:#48535a;
    font-size:16px;
    white-space: nowrap;
}
.wpmegamenu .root-item img.arrow {
    vertical-align: middle;
}

.lang_fr .wpmegamenu > ul > li, .lang_es .wpmegamenu > ul > li {
    margin-right: 10px;
}

.wpmegamenu .icon {
    margin-right: 10px;
}

.wpmegamenu .root-item.no-description{
    line-height: 20px;
    padding: 0;
}

.wpmegamenu .description {
    display: block;
    clear: both;
    font-size: 11px;
    color: #84888f;
}

.wpmegamenu .menu-items {
    display: none;
    position: absolute;
    z-index: 99999;
    top: 60px;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px;
    width: auto;
    height: auto;
    border-bottom: 5px solid #da3b44;
    background: #fafafa;
    -webkit-box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(0,0,0,0.35);
    -moz-box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(0,0,0,0.35);
    box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(0,0,0,0.35);
    line-height: normal;
}

/* inline-block hack */
.wpmegamenu .menu-items ul {
    font-size: 0;
}

/* General Styles */
.wpmegamenu .menu-items li {
    font-size: 13px;
}

.wpmegamenu .menu-items > div > li {
    float: left;
    padding: 0 10px;
}

.wpmegamenu .menu-items > div > li.category, .wpmegamenu .menu-items > div > li.customlink {
    float: none;
}

.wpmegamenu .menu-item > .title {
    padding: 7px 0;
}

.wpmegamenu .submenu {
    overflow: hidden;
    margin-left: -1%;
    margin-right: -1%;
}

.wpmegamenu .submenu > li {
    margin: 0 1%;
}

.wpmegamenu .submenu > li .submenu > li {
    padding-left: 10px;
}

.wpmegamenu .submenu > li.no-title > .submenu > li {
    padding-left: 0;
}

.wpmegamenu .submenu .title {
    float: none;
}

/* Divider */
.wpmegamenu .menu-item.divider {
    position: relative;
    display: block;
    float: none;
    clear: both;
    margin: 0;
    padding: 15px 1%;
    width: 100%;
    border: none;
}

/* Custom Content */
.wpmegamenu .custom-content p {
    padding: 5px 0;
}

.wpmegamenu .custom-content ul {
    list-style-type: disc;
}

.wpmegamenu .custom-content ol {
    list-style-type: decimal;
}

.wpmegamenu .custom-content li {
    margin-left: 16px;
}

/* Products */
.wpmegamenu .product.withimage {
    display: inline-block;
    float: none;
    vertical-align: top;
    padding: 1px 20px!important;
}

.wpmegamenu .product .product-image{
    display: block;
}

#wpmegamenu-main.wpmegamenu .product > a {
    width: 126px;
    height: auto;
}

.wpmegamenu .product.withimage .title{
    margin-top: 10px;
}

.wpmegamenu .depth-1.product .title{
    font-weight: normal;
    font-size: 13px;
    border: none;
    margin: 10px 0;
    padding: 0;
	max-width: 125px;
}

/* Manufacturers */
.wpmegamenu .manufacturer.withimage {
    display: inline-block;
    float: none;
    vertical-align: top;
    padding: 1px 0!important;
}

.wpmegamenu .manufacturer.withimage .title{
    margin-top: 10px;
}

.wpmegamenu .depth-1.manufacturer .title{
    font-weight: normal;
    font-size: 13px;
    border: none;
    margin: 10px 0;
    padding: 0;
}

/* Suppliers */
.wpmegamenu .supplier.withimage {
    display: inline-block;
    float: none;
    vertical-align: top;
    padding: 1px 0!important;
}

.wpmegamenu .supplier.withimage .title{
    margin-top: 10px;
}

.wpmegamenu .depth-1.supplier .title{
    font-weight: normal;
    font-size: 13px;
    border: none;
    margin: 10px 0;
    padding: 0;
}

#header_menu {
    position: static;
    margin-top: 16px;
}


/* Categories */

#wpmegamenu-main.wpmegamenu .category > a {
    width: 126px;
    height: 186px;
}

.wpmegamenu .category.withimage {
    display: inline-block;
    float: none;
    vertical-align: top;
    padding: 1px 20px!important;
}

.wpmegamenu .category .product-image{
    display: block;
}

.wpmegamenu .category.withimage .title{
    margin-top: 10px;
}

.wpmegamenu .depth-1.category .title{
    font-weight: normal;
    font-size: 13px;
    border: none;
    margin: 10px 0;
    padding: 0;
	max-width: 125px;
}


.wpmegamenu .category.withimage.menucol-1-6 {
    padding: 1px 20px 3px 20px!important;
}

.wpmegamenu .category.withimage.menucol-1-6.first {
    padding: 1px 20px 3px 0!important;
}

.wpmegamenu .category.withimage.menucol-1-6.last {
    padding: 1px 0 3px 20px!important;
}

/* Column System */
[class*="menucol-"] {
    float: left;
}

.menucol-1-1 {
    width: 98%!important;
}

.menucol-1-2 {
    width: 48%!important;
}

.menucol-1-3 {
    width: 31.33%!important;
}

.menucol-2-3 {
    width: 64.67%!important;
}

.menucol-1-4 {
    width: 23%!important;
}

.menucol-3-4 {
    width: 73%!important;
}

.menucol-1-5 {
    width: 18%!important;
}

.wpmegamenu .product.withimage.menucol-1-6 {
    padding: 1px 20px 3px 20px!important;
}

.wpmegamenu .product.withimage.menucol-1-6.first {
    padding: 1px 20px 3px 0!important;
}

.wpmegamenu .product.withimage.menucol-1-6.last {
    padding: 1px 0 3px 20px!important;
}

.menucol-1-6 {
    width: 167px;
}
.menucol-1-6.first, .menucol-1-6.last {
    width: 147px;
}

.menucol-1-6 img{
    padding: 5px;
}

.menucol-1-10 {
    width: 8%!important;
}

/* Inline */
.wpmegamenu .inline ul {
    font-size : 0;
}

.wpmegamenu .inline li {
    display: inline-block;
    float: left;
    padding: 0 10px;
    width: 20%;
    vertical-align: top;
    font-size: 12px;
}

/* Text Alignment */
.wpmegamenu .text-center ul,
.wpmegamenu .text-center li {
    text-align: center;
}

.wpmegamenu .menu-item.no-title > .title {
    display: none;
}

.wpmegamenu .menu-item.no-description > .description {
    display: none;
}

/*----------------------------------------------------------------*/
/*  Mobile Menu Styles
/*----------------------------------------------------------------*/
#header_mobile_menu {
    clear: both;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    font-size: 15px;
}

#header_mobile_menu .wpmegamenu > ul > li {
    float: none;
    clear: both;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-bottom: 1px dotted #d7dce2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#header_mobile_menu .wpmegamenu > ul > li:first-of-type {
    border-top: 1px dotted #d7dce2;
}

#header_mobile_menu .wpmegamenu .wpmegamenu-mobile-handle {
    display: block;
    float: right;
    vertical-align: middle;
    text-align: center;
    margin: 0;
    padding: 25px 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#header_mobile_menu .wpmegamenu .menu-items {
    position: relative;
    top: 0;
    padding: 15px;
    margin: 0;
    z-index: auto;
    overflow: hidden;
    -webkit-box-shadow: 0 0px 14px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0px 14px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0px 14px 0 rgba(0, 0, 0, 0.25);
}

#header_mobile_menu .wpmegamenu .description {
    white-space: nowrap;
}

/*mobile top section*/
.section-title {
    text-align: left;
}

.section-title .section-title-wrapper {
    display: inline-block;
}

.mm-col-item {
	display: -webkit-box;   /* OLD: Safari,  iOS, Android browser, older WebKit browsers.  */
    display: -moz-box;      /* OLD: Firefox (buggy) */
    display: -ms-flexbox;   /* MID: IE 10 */
    display: -webkit-flex;  /* NEW, Chrome 21?28, Safari 6.1+ */
    display: flex;
	
    -webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
    justify-content: center;

	-webkit-align-content: center;
	-moz-align-content: center;
	-ms-align-content: center;
    align-content: center;

    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;

    width: 100%;
    height: 100%;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
}
.mm-col-item:last-child {
    margin-bottom: 0;
}
/*----------------------------------------------------------*/
/*
/* Media Queries
/*
/*----------------------------------------------------------*/

/*---------------------------------------*/
/* 1023px <= width
/*---------------------------------------*/
@media only screen and (min-width: 1023px)
{
    .wpmegamenu #other-menu {
        position: absolute;
        right: 50px;
        top: -60px;
    }

    .wpmegamenu .free-shipping {
        position: absolute;
        top: -59px;
        right: 0;
        left: 0;
    }
}
/*---------------------------------------*/
/* 960px <= width < 1024px
/*---------------------------------------*/
@media only screen and (max-width: 1023px)
{
    .wpmegamenu > ul > li, .wpmegamenu #other-menu > li {
        margin-right: 4px;
        padding-right: 12px;
    }

    .wpmegamenu .free-shipping {
        position: absolute;
        top: -57px;
        right: 0;
        left: 0;
    }

    #sticky-menu-wrapper .wpmegamenu .free-shipping {
        top: -30px;
    }
}

/*---------------------------------------*/
/* 768px <= width < 960px
/*---------------------------------------*/
@media only screen and (max-width: 959px)
{
    .wpmegamenu > ul > li, .wpmegamenu #other-menu > li {
        padding-right: 6px;
    }
    .wpmegamenu .root-item {
        font-size: 14px;
    }
    .wpmegamenu .free-shipping {
        position: absolute;
        top: -57px;
        right: 0;
        left: 0;
    }
    #sticky-menu-wrapper .wpmegamenu .free-shipping {
        top: -30px;
    }
}

/*---------------------------------------*/
/* 480px <= width < 640px
/*---------------------------------------*/
@media only screen and (max-width: 639px)
{
    /* force to menucol-1-3 */
    .menucol-1-4 {
        width: 31.33%!important;
    }

    /* force to menucol-2-3 */
    .menucol-3-4 {
        width: 64.67%!important;
    }

    /* force to menucol-1-3 */
    .menucol-1-5 {
        width: 31.33%!important;
    }

    .menucol-1-6 {
        width: 31.33%!important;
    }

    .menucol-1-10 {
        width: 31.33%!important;
    }
}

@media only screen and (max-width: 539px)
{
    .product .title {
        font-size: 1.3em;
    }
}

/*---------------------------------------*/
/* 420px <= width < 480px
/*---------------------------------------*/
@media only screen and (max-width: 479px)
{
    /* force to menucol-1-2 */
    .menucol-1-3 {
        width: 48%!important;
    }

    .menucol-2-3 {
        width: 48%!important;
    }

    .menucol-1-4 {
        width: 48%!important;
    }

    .menucol-3-4 {
        width: 48%!important;
    }

    .menucol-1-5 {
        width: 48%!important;
    }

    .menucol-1-6 {
        width: 48%!important;
    }

    .menucol-1-10 {
        width: 48%!important;
    }

}
