/* ----------

Tesco Real Food
- Header CSS

---------- */

/* ---------- Header */

header .search-quick.autocomplete {
    padding: 12px;
    font-size: 13px;
}

header ::-webkit-input-placeholder {
   font-weight: normal;
   line-height: 15px;
   font-family: Arial,sans-serif;
}

header :-moz-placeholder { /* Firefox 18- */
   font-weight: normal;
   line-height: 15px;
   font-family: Arial,sans-serif;
}

header ::-moz-placeholder {  /* Firefox 19+ */
   font-weight: normal;
   line-height: 15px;
   font-family: Arial,sans-serif;
}

header :-ms-input-placeholder {  
   font-weight: normal;
   line-height: 15px;
   font-family: Arial,sans-serif;
}

body > form > header {
	background: white;
	border-bottom: 5px solid #6EA6DF;
	/* --- TEMP */
	margin: 0 auto !important;
	float: none !important;
	/* -- // End TEMP */
	padding-top: 60px !important;
	position: relative; 
	z-index: 11;
	height: 120px;
	}

/* ---------- Main Navigation */

body > form > header nav {
    position: absolute;
	bottom: 0px;
    }

body > form > header nav > ul {
	padding-bottom: 0;
	margin-bottom: -5px;
	overflow: hidden;
	}

body > form > header nav > ul > li {
	float: left;
	text-align: center;
	font-size: 15px;
	line-height: 15px;
	color: #00539F;
	margin-right: 3px;
	background: #F2F1F1;
	border-style: solid;
	border: 5px solid #F2F1F1;
	border-bottom: 0;
	}
	
body > form > header nav > ul > li,
body > form > header nav > ul > li:hover {
	transition: .2s;
	-moz-transition: .2s;
	-webkit-transition: .2s;
	}
	
body > form > header nav > ul > li:hover {
	background-color: #F7F7F7;
	border-color: #F7F7F7;
	}
	
body > form > header nav > ul > li.active:hover {
	background: #FFF;
	border-color: #6EA6DF;
	}
	
body > form > header nav > ul > li:last-child {
	margin-right: 0px;
	}
	
body > form > header nav > ul > li.active {
	border-color: #6EA6DF;
	}
	
body > form > header nav > ul > li.active {
	padding-bottom: 5px;
	background: #FFF;
	}

body > form > header nav > ul > li.valentines {
    border-left-color: #ffebf4;
    border-right-color: #ffebf4;
    border-top-color: #ffebf4;
    background-color:#ffebf4;
}

body > form > header nav > ul > li.valentines.active {
    border-left-color: #6EA6DF;
    border-right-color: #6EA6DF;
    border-top-color: #6EA6DF;
    background-color:#FFF;
}

body > form > header nav > ul > li.mothers-day {
    background: #ef64a4;
    border-color: #ef64a4;
}

body > form > header nav > ul > li.mothers-day a {
    color: #ffffff !important;
}

body > form > header nav > ul > li.mothers-day.active {
    border-color: #6EA6DF;
    background: #ffffff;
}

body > form > header nav > ul > li.mothers-day.active a {
    color: #ef64a4 !important;
}
	
body > form > header nav > ul > li a {		
	padding: 6px 8px 10px 8px;
	display: block;
	color: #00539F !important;
	}

body > form > header nav > ul > li.menu-link-xmas a {
    color: #9d1828 !important;
    }

body > form > header nav .nav-external {
    background-image: url("../images/2014/legacy/external.png");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 18px;
    }
	
#header-branding {
	width: auto;
	margin-bottom: 20px;
	}

/* ------------- // ---------- */

/* ------------- Account Menu */

.account-menu {
    position: absolute;
    z-index: 10;
    top: -40px;
    right: 20px;
    }

.account-menu li img {
	display: inline;
	}

.account-menu-actions {}

.account-menu-login {
    float:right;
	color:#555;
    border-right: 1px solid #176FC1;
    margin-right: 5px;
    padding-right: 5px;
    line-height: 1;
    }

.account-menu-login {
    font-size: 13px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    }

.account-menu-login a {
    color:#176fc1;
    font-size: 13px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    display: inline;
	}

.account-menu-login a:hover {
    text-decoration: underline;
    }

.account-menu-login:first-child {
    border-right: 0;
    }

/*
.account-menu-login-facebook {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
    }
*/

.account-menu-login-facebook a {
    color: grey;
    display: inline;
    }

/* ------------- Autocomplete */
	
.autocomplete-w1 .autocomplete {
	background: #FFF;
	border-bottom: 1px solid #CCCBC8;
	border-left: 1px solid #CCCBC8;
	border-right: 1px solid #CCCBC8;
	padding: 5px;
	margin-top: 2px;
	width: 328px !important;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	}
	
.autocomplete-w1 .autocomplete > div {
	padding: 5px 8px;
	line-height: 1.3;
    cursor: pointer;
	}
	
.autocomplete-w1 .autocomplete > .selected {
	background-color: #F1F1F1;
	}

/* ------------- // ---------- */

/* ------------- Site Search */

.ie7 .site-search input[type="text"] {
	width: 300px;
	}

.site-search {
	font-family: 'Arial', sans-serif;
	font-size: 13px;
	color: #979290;
	z-index: 10;
	}

.site-search input {
	padding: 12px;
	color: #979290;
	height: 41px;
	}
	
.site-search input[type="text"] {
	font-weight: normal;
	width: 340px;
	*height: 15px;
	}
	
.site-search input[type="submit"],
.site-search input[type="button"] {
	background: #ffffff; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY2ZjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ffffff 0%, #EDECEC 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#EDECEC)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#EDECEC 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#EDECEC 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#EDECEC 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#EDECEC 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#EDECEC',GradientType=0 ); /* IE6-8 */
	border: 1px solid #CCCBC8;
	color: #00569E;
	box-shadow: inset 0px 0px 0px 1px #FFF;
	margin-right: 0;
	font-size: 13px;
	line-height: 15px;
	padding-left: 15px;
	padding-right: 15px;
	}

.site-search-course-selector {
	position: relative;
	display: inline-block;
	cursor: pointer;
	}
	
.site-search-course-selector-selected {
    position: relative;
    z-index: 10;
	padding: 13px 10px;
	line-height: 1;
	width: 122px;
	border-top: 1px solid #CCCBC8;
	border-bottom: 1px solid #CCCBC8;
	}
	
.site-search-course-selector .dropdown-list {
	padding-bottom: 0;
	position: absolute;
	margin-left: -340px;
	margin-right: -1px;
	width: 451px;
	padding: 15px;
	margin-top: 0px;
	}
	
.site-search-course-selector .dropdown-list-item {
	font-size: 13px;
	cursor: pointer;
	width: 33.33%;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	*behaviour: url('/components/box-sizing-polyfill/box-sizing.htc');
	}
	
.site-search-course-selector li.active {
	display: none;
	}
	
.site-search-course-selector .site-search-course-selected {
	padding-top: 9px;
	padding-bottom: 8px;
	}
	
.site-search-course-selector.active .site-search-course-selected {
	border-bottom: 1px solid #CCCBC8;
	}
	
.site-search-course-selector i {
	position: absolute;
	top: 50%;
	margin-top: -7px;
	left: 100%;
	margin-left: -20px;
	}
	
.site-search.active input[type="text"] {
	border-bottom-left-radius: 0;
	}

/* ---------- // ---------- */

/* ---------- Mega Menu */

.mega-menu-container {
    position: absolute;
    width: 1046px;
    margin-left: -40px;
    margin-right: -80px;
    top: 35px;
    padding-top: 20px;
    left: 0;
    display: none;
    text-align: left;
    }

.recipe-mega-menu:hover .mega-menu-container {
    display: block;
    }

.mega-menu-visual {
    position: absolute;
    bottom: 20px;
    left: 25px;
    width: 120px;
    }

.mega-menu-visual img {
    width: 100%;
    }

.mega-menu {
    border-radius: 2px;
    border: 2px solid #6AA4E0;
    box-shadow: 0px 0px 22px rgba(0,0,0,0.2);
    /*background: #DED9E3;*/
    background: url('../Images/2014/megamenu-bg-line-fw.png') 0 0 repeat-y;
    overflow: hidden;
    position: absolute;
    width: 100%;
    top: 20px;
    }

.mega-menu-arrow {
    width: 0; 
	height: 0; 
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 135px;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 10px solid #6AA4E0;
    }

.mega-menu-arrow:before {
    content: '';
    position: absolute;
    top: 3px;
    left: -10px;
    border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 8px solid #DED9E3;
    }

.mega-menu-section {
    float: left;
    padding: 40px 25px 0 25px;
    width: 38%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: #FFFFFF;
    min-height: 462px;
    }

.mega-menu-section.mega-menu-section-topic {
    background: #DED9E3;
    width: 24%;
    }

.mega-menu-section.mega-menu-section-inspiration,
.mega-menu-section.mega-menu-section-be-inspired {
    background: #F1F1F1;
    }

.mega-menu-topics i {
    float: left;
    margin-top: 2%;
    }

.mega-menu-topics span {
    display: block;
    margin-left: 20px;
    }

.mega-menu-section-title,
.mega-menu-category {
    font-weight: bold;
    padding-bottom: 20px;
    line-height: 1;
    color: #312F2E;
    }

.mega-menu-section-title {
    font-size: 24px;
    }

.mega-menu-category {
    text-transform: uppercase;
    font-size: 13px;
    padding-top: 8px;
    }

.mega-menu-section h4 {
    color: #7C6991;
    }
.mega-menu-section-topic h4 {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 20px;
}

.mega-menu-section-intro {
    font-size: 13px;
    font-weight: bold;
    padding-bottom: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.3;
    }

.mega-menu-category-list {
    border-left: 1px solid #DED9E3;
    padding-left: 10px;
    float: left;
    width: 33.33%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-bottom: 20px;
    min-height: 190px;
    }

.mega-menu-category-list:nth-child(4n+1),
.mega-menu-category-list.last {
    clear: both;
    border-left: 0;
    padding-left: 0;
    }

.mega-menu-category-list:nth-child(4n+1) a,
.mega-menu-category-list.last a {
    margin-left: -5px;
    }

.mega-menu li a {
    display: block;
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: #979290;
    padding-bottom: 10px;
    font-weight: normal;
    line-height: 1.2;
    }

.mega-menu-category-list li a {
    padding: 5px 20px 5px 5px;
    position: relative;
    }

.mega-menu-category-list li a:hover {
    background: #E2E2E2;
    color: #00539F;
    }

.mega-menu-category-list li i {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    right: 0;
    }

.mega-menu-category-list li a:hover i {
    display: inline;
    }

.mega-menu strong {
    font-weight: bold;
    color: #00539F;
    }

.mega-menu .mega-menu-topics strong,
.mega-menu-topics i {
    color: #312F2E;
    }

@media screen and (max-width: 1080px) {
 
    .mega-menu-container {
        margin-left: -40px;
        margin-right: -40px;
        }
    
}

/** Baking Nav Styles **/
nav ul .baking {
    background-color: #1092c3;
    border-color: #1092c3;
    transition: none !important;
}

nav ul .baking.active {
    background-color: #1092c3;
}

nav ul .baking:hover,
nav ul .baking:focus {
    background-color: #1092c3;
    border-color: #1092c3;
}

nav ul .baking.active:hover,
nav ul .baking.active:focus {
    background-color: #1092c3;
}

nav ul .baking a {
    color: #fff !important;
}

nav ul .baking:hover a,
nav ul .baking:focus a {
    color: #fff !important;
}

/* ---------- // ---------- */

/** Christmas Nav Styles **/
nav ul .xmas {
    background-color: #dc0800;
    border-color: #dc0800;
    transition: none !important;
}

nav ul .xmas.active {
    background-color: #dc0800;
}

nav ul .xmas:hover,
nav ul .xmas:focus {
    background-color: #dc0800;
    border-color: #dc0800;
}

nav ul .xmas.active:hover,
nav ul .xmas.active:focus {
    background-color: #dc0800;
}

nav ul .xmas a {
    color: #fff !important;
}

nav ul .xmas:hover a,
nav ul .xmas:focus a {
    color: #fff !important;
}


/** halloween Nav Styles **/
nav ul .halloween {
  background-color: #68b542;
  border-color: #68b542;
  transition: none !important;
}

nav ul .halloween.active {
  background-color: #68b542;
}

nav ul .halloween:hover,
nav ul .halloween:focus {
  background-color: #68b542;
  border-color: #68b542;
}

nav ul .halloween.active:hover,
nav ul .halloween.active:focus {
  background-color: #68b542;
}

nav ul .halloween a {
  color: #1d1f48 !important;
}

nav ul .halloween:hover a,
nav ul .halloween:focus a {
  color: #1d1f48 !important;
}

/* ---------- // ---------- */
