/**
 * Main menu dropdown boxes
 */



/* Common %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

/* All levels
-------------------------------------------------------------- */
.nav-regular .nav-item { text-align: left; }
#nav{
	display: table;
	width: 100%;
}
.nav-regular li.nav-item{
	display: table-cell;
	text-align: center;
	/* position: relative; */
	float: none !important;
	width: auto;
}
.nav-regular li.nav-item.level0 >a {padding: 0 !important;}
.nav-regular .nav-item > a { display: block; text-decoration: none;}

/* Level 1 only
-------------------------------------------------------------- */
.nav-regular li.level0 { float: left; padding: 0 3%;white-space: nowrap;}
.nav-regular li.level0 *{white-space: normal;}
.nav-regular li.level0 > a { padding: 0 25px; } /*TODO:holders*/
.nav-regular li.level0 > a > span { display: inline-block; white-space: nowrap; }

@media only screen and (max-width: 1450px) {
    .nav-regular li.level0 > a { padding: 0 24px; }
}
@media only screen and (max-width: 1410px) and (min-width: 1400px) {
    .nav-regular li.level0 > a { padding: 0 24px; }
}
@media only screen and (max-width: 1430px) and (min-width: 1411px) {
    .nav-regular li.level0 > a { padding: 0 25px; }
}

/* Top-level item on hover: pull up the link above the dropdown */
.nav-regular li.level0:hover > a {
	z-index: 2001; /* One level above the dropdown */
	position: relative;
}

/* Caret */
.nav-regular li.level0 > a .caret { opacity: 0.3; }
.nav-regular li.level0.active > a .caret { opacity: 1; }
.nav-regular li.level0:hover > a .caret { opacity: 1; }


/* Dropdowns
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

/* All levels
-------------------------------------------------------------- */
.nav-regular .nav-panel--dropdown {
	display:none;
	position:absolute;
	top:0;
	z-index:2000; /* Pull above top-level menu items */
	background-color:#fff; /* To avoid transparent menu */

	/* Uncomment below line to fix possible glitches during animation in webkit browsers */
	/*-webkit-transform: translateZ(0);*/
}

.nav-regular .nav-panel--dropdown .top-link-close{
	position: absolute;
    top: 0px;
    height: 30px;
    width: 30px;
    z-index: 11;
    right: 0;
}
.nav-regular .nav-panel--dropdown .top-link-close a.modal-close{
	position: relative;
    display: inline-block;
    text-indent: -9999px;
    overflow: hidden;
    width: 20px;
    height: 20px;
    padding: 5px;
    background: url('../../../images/menu-close-btn.png') 50% 50% no-repeat;
}

/* Inner wrapper of the dropdown (for additional padding etc.)
-------------------------------------------------------------- */
#nav .nav-panel-inner { padding: 0; } /* Required value in pixels to keep padding consistent in different dropdowns */
#nav .nav-panel-inner:before,
#nav .nav-panel-inner:after { display: table; line-height: 0; content: ""; }
#nav .nav-panel-inner:after { clear: both; }


/* Full width dropdown
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/
.nav-regular .nav-panel.full-width { width:100%; }
.nav-regular .nav-panel.tmp-full-width { /*width:100% !important;*/ left: -135px!important; } /* Temporary class required by js */
.nav-regular .nav-item.level0 >.nav-panel--dropdown.nav-panel {left: 5%!important; text-align: left;width: 95% !important;min-height: 100vh;}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right {
    display: block;
    float: right;
    position: relative;
    bottom: 0;
    right: 0;
	width: 245px;
	min-height: 48px;
	border-left: 1px solid #ececec;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	display: none;
}
@media only screen and (max-width: 1100px) {
    .nav-regular .nav-item .nav-panel--dropdown .nav-block--right {
        display: none;
    }
    .nav-regular .nav-item.level0.nav-item--parent.nav-1 li.nav-item.level1.parent.nav-1-1 ul.sub-categories-list{
    	width: 66.6666%;
    }
    .nav-regular .nav-item.level0.nav-item--parent.nav-1 li.nav-item.level1.parent.nav-1-1 ul{
    	width: 33.3333%;
    }
    .nav-regular .nav-item.level0.nav-item--parent.nav-1 li.nav-item.level1.parent.nav-1-2 ul{
    	width: calc(100% - 200px);
    }
}
@media only screen and (max-width: 865px) {
    .nav-regular .nav-item.level0 .nav-panel--dropdown.nav-panel { //width:640px !important; } /* Temporary class required by js */
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .title{
	padding: 19px 20px 15px;
	font-size: 1.5em;
	margin: 0;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right li{
	max-height: 83px;
	padding: 7px 10px 2px 0;
	border-top: 1px solid #ececec;
	overflow: hidden;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .product-image{
	float: left;
	display: table;
	width: 70px;
	height: 74px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .product-image a{
	padding: 5px 2px;
	width: 70px;
	height: 70px;
	text-align: center;
	vertical-align: middle;
	display: block;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .product-image a img{
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .product-name{
	float: left;
	display: table;
	padding: 2px;
	height: 74px;
	width: calc(100% - 74px);
	font-size: 12px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .product-name a{
	padding: 0;
	vertical-align: middle;
	display: table-cell;
	line-height: 1.64rem;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .delivery-block{
	position: absolute;
	display: table;
	right: 0;
	bottom: 0;
	padding-right: 10px;
	width: 245px;
	height: 34px;
	background: #ffe8d4;
	border-top: 1px solid #ececec;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .delivery-block p{
	padding: 0 0 0 40px;
    vertical-align: middle;
    display: table-cell;
    color: #625f58;
    font-size: 11px;
    line-height: 10px;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .delivery-block p>span{
	display: inline-block;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .delivery-block p .icon{
	position: absolute;
    left: 4px;
    top: 4px;
    text-indent: -9999px;
    overflow: hidden;
    width: 31px;
    height: 24px;
    background: url('../../../images/delivery-icon.png') 0 0 no-repeat;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .brand-logo-list{
	border-right: 1px solid #ececec;
	overflow: hidden;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .brand-logo-list .brand-logo-list_item{
	float: left;
    display: table;
    padding: 0;
    width: 50%;
    height: 66px;
    margin-right: -1px;
    border-top: none;
    border-bottom: 1px solid #ececec;
    border-right: 1px solid #ececec;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .brand-logo-list a{
	padding: 5px 10px;
    height: 66px;
    width: 140px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    line-height: 0;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .brand-logo-list a img{
	display: inline-block;
    max-width: 80px;
    max-height: 46px;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .slogan{
	padding: 12px 20px 0;
	text-align: center;
    line-height: 17px;
    font-size: 14px;
    margin: 0;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .slogan strong{
	padding-bottom: 10px;
    display: inline-block;
    font-size: 12px;
    color: gray;
    text-transform: uppercase;
    font-weight: normal;
    font-family:FuturaStd-Bold ;
}
.nav-regular .nav-item .nav-panel--dropdown .nav-block--right .slogan .btn{
	display: inline-block;
	padding: 8px 20px;
	border: 1px solid #a5db00;
	color: #a5db00;
	white-space: nowrap;
	background: transparent;
	font-size: 13px;
	text-align: center;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;

}
















/* Mega dropdown %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

/* Dropdown
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/
/* All levels
-------------------------------------------------------------- */
.nav-regular .mega > .nav-panel--dropdown { margin:0; }

/* Level 2+
-------------------------------------------------------------- */
.nav-regular .nav-panel li.mega { position: relative; } /* Container of the dropdown has to be relative (only on levels 2+) */
.nav-regular .nav-panel li.mega > .nav-panel--dropdown {}
.nav-regular .nav-panel li.mega:hover > .nav-panel--dropdown {
	display: block;
	left: 60px;
	top: 0;
}


/* Inside mega dropdown
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/
/* Align submenu's content (grid) with the submenu */
.nav-regular .nav-submenu--mega { margin-left: -1%; margin-right: -1%; }

/* Inside mega dropdown, level 1: item
-------------------------------------------------------------- */
.nav-regular .nav-submenu--mega > li {
	display: inline-block;
	float: none;
	vertical-align: top;
	padding-top: 0;
	padding-bottom: 5px;
}
.nav-regular .nav-submenu--mega > li > a {
	font-size: 16px;
	line-height: 1.25em; /*20px*/
}

/* If item is a parent of subcategories, add bottom margin, but romove it if item is a parent of a dropdown */
.nav-regular .nav-submenu--mega > li.parent > a { margin-bottom: 0; }
.nav-regular .nav-submenu--mega > li.nav-item--parent  > a { margin-bottom: 0; }

/* Inside mega dropdown, level 1: submenu
-------------------------------------------------------------- */
/* Each submenu has to be static unless it's a dropdown itself (e.g. if type "classic" was applied to the item).
   Also, add bottom margin to panel, but romove it if it's a dropdown. */
.nav-regular .nav-submenu--mega > li > .nav-panel { position: static; margin-bottom: 10px; }
.nav-regular .nav-submenu--mega > li > .nav-panel--dropdown { position: absolute; margin-bottom: 0; }

/* Inside mega dropdown, level 1: category blocks
-------------------------------------------------------------- */
.nav-regular .nav-submenu--mega > li > .nav-block--top { margin-top: 0; margin-bottom: 10px; }
.nav-regular .nav-submenu--mega > li > .nav-block--bottom { margin-top: 10px; margin-bottom: 0; }

/* Inside mega dropdown, level 2: item
-------------------------------------------------------------- */
/* List bullets */
.nav-regular .nav-submenu--mega > li > ul > li {
	//background: url(../../../images/infortis/ultra-megamenu/bullet.png) 3px 6px no-repeat;
	padding-left: 15px;
	transition:			background-position 150ms ease-out;
	-moz-transition:	background-position 150ms ease-out;
	-webkit-transition:	background-position 150ms ease-out;
	-o-transition:		background-position 150ms ease-out;
}
.nav-regular .nav-submenu--mega > li > ul > li:hover { background-position:6px 6px; }

/* Important: if item is inside a dropdown (e.g. if type "classic" was applied to the parent item), remove bullets */
.nav-regular .nav-submenu--mega > li > ul.nav-panel--dropdown > li {
	background: none;
	padding-left: 0;
}

/* Other */
.nav-regular .nav-submenu--mega > li > ul > li > a { line-height: 1.6666em; /*20px*/ }



/* Classic dropdown %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

/* Level 2+
-------------------------------------------------------------- */
.nav-regular .classic > .nav-panel--dropdown > li > a { line-height: 1.6666em; /*20px*/ }
.nav-regular .classic > .nav-panel--dropdown > li > a .caret { float: right; margin-top: 6px; }


/* Dropdown
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/
/* All levels
-------------------------------------------------------------- */
.nav-regular .classic > .nav-panel--dropdown {
	margin:0;
	padding:20px; /*TODO:*/
	width:16em;
	min-width:12em;
}

/* Level 2+
-------------------------------------------------------------- */
.nav-regular .nav-panel li.classic { position: relative; } /* Container of the dropdown has to be relative */
.nav-regular .nav-panel li.classic > .nav-panel--dropdown {}
.nav-regular .nav-panel li.classic:hover > .nav-panel--dropdown {
	display:block;
	left:60px;
	top:0;
}

/* If classic dropdown is on the 1 level of mega dropdown, change positioning */
.nav-regular .nav-submenu--mega > li.classic:hover > .nav-panel--dropdown {
	left:60px;
	top:20px;
}


/* Simple submenu - no dropdown %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

/* If submenu has to be displayed not as a dropdown, but as a simple list (with slight left indent) */
/* List bullets */
.nav-regular .simple > ul {
	margin-top: 5px;
	margin-bottom: 5px;
}
.nav-regular .simple > ul > li {
	background:url(../../../images/infortis/ultra-megamenu/bullet-mini.png) 3px 5px no-repeat;
	padding-left:15px;
	transition:			background-position 150ms ease-out;
	-moz-transition:	background-position 150ms ease-out;
	-webkit-transition:	background-position 150ms ease-out;
	-o-transition:		background-position 150ms ease-out;
}
.nav-regular .simple > ul > li:hover { background-position:6px 5px; }
.nav-regular .simple > ul > li > a {
	opacity: 0.6;
	transition:			opacity 150ms ease-out;
	-moz-transition:	opacity 150ms ease-out;
	-webkit-transition:	opacity 150ms ease-out;
	-o-transition:		opacity 150ms ease-out;
}
.nav-regular .simple:hover > ul > li > a { opacity: 1; }



/* Itemgrid for menu dropdown %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

.dd-itemgrid > .nav-item {
	float:left;
	padding-left:1%;
	padding-right:1%;
}

/* Itemgrid: different numbers of columns
-------------------------------------------------------------- */
/* Clear first item in each row (row: group of n items) */

/* Item grid: 1 column */
.dd-itemgrid-1col > .nav-item { width:98%; }

/* Item grid: 2 columns */
.dd-itemgrid-2col > .nav-item { width:48%; }
.dd-itemgrid-2col > .nav-item:nth-child(2n+1) { clear:left; }

/* Item grid: 3 columns */
.dd-itemgrid-3col > .nav-item { width:31.3333%; }
.dd-itemgrid-3col > .nav-item:nth-child(3n+1) { clear:left; }

/* Item grid: 4 columns */
.dd-itemgrid-4col > .nav-item { width:23%; }
.dd-itemgrid-4col > .nav-item:nth-child(4n+1) { clear:left; }

/* Item grid: 5 columns */
.dd-itemgrid-5col > .nav-item { width:18%; }
.dd-itemgrid-5col > .nav-item:nth-child(5n+1) { clear:left; }

/* Item grid: 6 columns */
.dd-itemgrid-6col > .nav-item { width:14.6666%; }
.dd-itemgrid-6col > .nav-item:nth-child(6n+1) { clear:left; }

/* Item grid: 7 columns */
.dd-itemgrid-7col > .nav-item { width:12.2857%; }
.dd-itemgrid-7col > .nav-item:nth-child(7n+1) { clear:left; }

/* Item grid: 8 columns */
.dd-itemgrid-8col > .nav-item { width:10.5%; }
.dd-itemgrid-8col > .nav-item:nth-child(8n+1) { clear:left; }



/* Effects %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

/* Fade
-------------------------------------------------------------- */
.nav-regular.opt-fx-fade-inout .nav-panel .nav-item--parent > .nav-panel--dropdown {
	display: block; /* Important: has to be visible before hover */
	left: -10000px;
	opacity: 0;
	-moz-transition:	opacity 50ms ease-in-out 50ms, left 0s ease-in-out 100ms, top 0s ease-in-out 100ms;
	-webkit-transition:	opacity 50ms ease-in-out 50ms, left 0s ease-in-out 100ms, top 0s ease-in-out 100ms;
	-o-transition:		opacity 50ms ease-in-out 50ms, left 0s ease-in-out 100ms, top 0s ease-in-out 100ms;
	transition:			opacity 50ms ease-in-out 50ms, left 0s ease-in-out 100ms, top 0s ease-in-out 100ms;
}
.nav-regular.opt-fx-fade-inout .nav-panel .nav-item--parent:hover > .nav-panel--dropdown {
	opacity: 1;
	transition-delay:			50ms;
	-moz-transition-delay:		50ms;
	-webkit-transition-delay:	50ms;
	-o-transition-delay:		50ms;
}
