/*top nav header starts*/
#top-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#page-header .header_nav_right  li{
float:left;
}
#page-header .header_nav_right{
  float: right;
}

#top-nav a.top_nav {
  font-size: 10px;
  background-attachment: scroll;
  background-clip: border-box;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("css/images/BG_top_nav_bullet.png");
  background-origin: padding-box;
  background-position: right 6px;
  background-repeat: no-repeat;
  background-size: auto auto;
  color: #333333;
  display: inline-block;
  font-weight: normal;
  line-height: 23px;
  margin-right: 7px;
  padding-right: 12px;
  font-size: 10px;
  text-decoration-color: -moz-use-text-color;
  text-decoration-line: none;
  text-decoration-style: solid;
}

#top-nav a.ad_alert {
  background-attachment: scroll;
  background-clip: border-box;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("css/images/BG_advertisement.gif");
  background-origin: padding-box;
  background-position: 5px 4px;
  background-repeat: no-repeat;
  background-size: auto auto;
  color: #d06f1e;
  font-weight: 900;
  height: 25px;
  padding-bottom: 0;
  padding-left: 25px;
  padding-right: 0;
  padding-top: 10px;
  width: 100px;
  font-size: 10px;
}

#top-nav a.privacy_policy {
  color: #d06f1e;
  font-weight: 900;
  font-size: 10px
}

/* on hover details functionality - Start*/
/** detail panel **/
.details-pane {
right:0px;
  display: none;
  background:white;
  position: absolute;
  z-index: 99999;
  width: 600px;
  font-size:12px;
}

/** hover styles **/
a.hvrlink:hover + .details-pane {
  display: block;
}
.details-pane:hover {
  display: block;

  }

  .inner .strong{
  font-weight:bold;
  font-size:10px;
  }
  .inner .promotion{
  width:70%;
  }
  .inner .currentpromotion{
  width:30%;
  border-left: 1px solid;
  height:100px;
  }

.hersheyssites{
display: none;
  background: white;
  position: absolute;
  top: 0;
  top: 10px;
  z-index: 99999;
  width: 714px;
  padding: 6px 8px;
  text-align: left;
  font-size:12px;
}
.inner .slide_panel ul{
border-right:1px solid;
height:200px;
}
/** hover styles **/
a.hvrlink:hover + .hersheyssites {
  display: block;
}
.hersheyssites:hover {
  display: block;

  }
.inner .slide_panel ul li h4{
font-size:12px;
font-weight:bold;
}
.inner .slide_panel ul li  {
    margin-left: 5px;
    margin-right: 5px;
}

/* on hover details functionality - END*/

/*top nav header ends*/


/*top-header starts*/

#top-header #logo {
  padding: 22px 0 0 0;
  float: left;
}
#top-header .separation-line{
/*padding-top: 5px;
padding-right: 0px;*/
padding: 5px 0px 0px 18px;    
}
#top-header #logo a {
  width: 332px;
  border-right: 1px solid;
  display: block;
}
#top-header #logo a img {
width: 322px;
}

#top-header p {
  height: 45px;
  margin: 26px 0 0 0;
  padding: 0 0 0 12px;
  font-size: 16px;
  /*font-weight: bold;*/
  line-height: 42px;
  color: #3f000f;
  float: left;
  cursor: pointer;
  
}

#top-header {
  width: 100%;
  height: 80px;
  margin: 0 0 28px 0;
  position: relative;
}
@media (min-width: 768px) and (max-width: 991px) {
#top-header p{
font-size: 12px;
  font-weight: normal;
}
}

#top-header ul#signin {
  font-size: 12px;
  /*font-weight: bold;*/
  float: right;
  /*padding-top: 22px;
  overflow: hidden;*/
  position: absolute;
  top: 22px;
  right: 0px;
}
/*#top-header #signin .last a{
border-left: 1px solid #3f000b;
}*/
#top-header ul li {
/*  padding: 0 18px 0 0;*/
  float: left;
}

#top-header ul li.last {
  padding: 0;
  background: none;
}

#top-header ul li.last a {
  padding: 0 0 0 19px;
}
#top-header ul, ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#top-header #signupbtn {
  position: absolute;
  right: 0px;
  bottom: -15px;
  height: 28px;*/
  background: #904d2e;
  padding: 6px 6px;
  color: #fff;
  font-weight:normal;
  font-size: 12px;
  cursor: pointer;
}

#top-header .newsLetter {
  background-attachment: scroll;
  background-clip: border-box;
  background-color: #914d2a;
  background-image: none;
  background-origin: padding-box;
  background-position: 0 0;
  background-repeat: repeat;
  background-size: auto auto;
  color: #fff;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 800;
  height: 35px;
}

#top-header  li.last {
  background-attachment: scroll;
  background-clip: border-box;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("css/img/BG_header_border.png");
  background-origin: padding-box;
  _background-position: 0 0;
  background-repeat: no-repeat;
  background-size: auto auto;
  color: #3f000f;
}

#signin li a {
  color: #333333;
  text-decoration-color: -moz-use-text-color;
  text-decoration-line: none;
  line-height: 28px;
}

#top-header .signin {
  font-weight: bold;
}
/*top-header ends*/

/*header-navigation starts*/
.navbar-inverse {
  background-color: #ffffff;
  border-color: #080808;
}
.navbar-collapse .navbar-nav > li {
    font-size: 22px;
}

.navbar-collapse .navbar-nav > li {
    font-weight: bold;
    margin: 0;
    padding: 0;
    position: relative;
    text-transform: uppercase;
}
.navbar-collapse .navbar-nav > li a {
    color: #333;
    font-family: "jaf-bernina-sans-comp","Arial Narrow",Arial,sans-serif;
    font-weight: bold;
    padding-bottom: 23px;
    padding-top: 23px;
}
.navbar-nav > li > a {
    line-height: 20px;
}
.navbar-collapse .navbar-nav>li ul>li>a {
  display: block;
  padding: 12px 15px;
  font-family: "jaf-lapture",Georgia,Times,"Times New Roman",sans-serif;
  font-size: 16px;
  text-transform: none;
  font-weight: normal;
  white-space: nowrap;
}
.dropdown-menu .divider {
  height: 1px;
  margin:  0px;
  overflow: hidden;
  background-color: #e5e5e5;
}
.navbar-collapse .navbar-nav>li ul {
  background: #f1e9de;
}
.navbar-collapse .navbar-nav>li ul>li>a:hover {
  text-decoration: none;
  background: #c4b095;
}
.navbar  .navbar-collapse {
    background: #f1e9de;
}
.navbar-default .navbar-brand.nav-logo-img img {
  width: 149px;
}
/*.navbar-kitchen-align {
padding-left: 0;
    width: 160px;
}*/
nav.navbar.navbar-default{margin-bottom: 0px;}
.navbar-header{background-color: #FFF;}
.navbar-toggle{float: left;}

.navbar-default .navbar-toggle{
border: none;
}

@media (max-width: 767px){

/*-------mobile header start--------*/
.navbar-default .navbar-toggle .icon-bar {
  background-color: #410010;
  border-radius: 0;
  -moz-radius: 0;
  -webkit-radius: 0;
  height: 3px;
  width: 20px;
}
.glyphicon-user:before {
  font-size: 14px;
}
.glyphicon-search:before {
  font-size: 14px;
  margin-right: 10px;
}
.navbar-default .navbar-toggle:hover {
  background: none;
}
.navbar-default .navbar-toggle{
  padding: 15px 10px;
  margin-top: 0;
  margin-bottom: 0;
}
.navbar-header .navbar-brand{padding: 10px 0;}
.navbar-header .navbar-brand.glyphicon-search{
  padding-left: 35px;
  padding-right: 15px;
}
/*-------mobile header mobile end--------*/
.navbar .navbar-collapse {
  background: #ffffff;
}
.align-nav-header{
  margin-left: -15px;
  margin-right: -15px;
}
.navbar-icon-right{float:right;}
.navbar-default .navbar-brand.navbar-icon-right{color: #410010;}
.nav-search .form-control{display:inline-block; width:218px;}
.search-icon-left{
    margin-top: -5px;
}
}
@media (min-width: 768px){
.nav-search{float: right;padding-top: 4px}
.nav-search .form-control{background-color: #fff;border: 0px solid #ccc;border-radius: 0px;width:208px;}
  .nav-search .btn-default{ border: 0;}
.search-icon-left{margin-left: -40px;}
.search-icon-left:hover{background-color: #FFF;}
.navbar-default .navbar-brand  img.nav-logo-img{display:none;}
.navbar-default .navbar-brand.navbar-icon-right{display:none;}
.navbar-default .navbar-brand.nav-logo-img {display:none;}
.navbar-form .form-group {display: block; margin-bottom: 0px; vertical-align: middle;}
.dropdown:hover .dropdown-menu {
    display: block;
}
/*------search bar Starts-----*/
.search-bar{
  padding-top:8px;

}
.search-txtbox{
  width:217px;
}
/*------search bar ends-----*/

nav.navbar-default .navbar-nav>li {
 position: relative;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}
ul.navbar-nav li:hover {
  background: #c4b095;
}
}
/*header-navigation ends*/

/*------Dropdown on Mobile start-----*/
li.dropdown .caret{
  display: none;
}
@media (max-width: 767px){
.navbar .navbar-collapse {
  background: #3f000f;
}
.hsnavigation #header-navigation .navbar-default {
	
background-color: transparent !important;
border-top:none !important;

}
li.dropdown .caret{
  padding: 25px 40px 0 1px;
  display: block;
  border: none;
  font-size: 15px;
  color: #FFF;
  height: 60px;
  width: 100%;
  text-align: right;
}
li.dropdown .parent-caret{
  position: absolute;
  right: 0px;
  top: 0;
}
.navbar-collapse .navbar-nav li a{
display: inline-block;
color:#FFF;
z-index: 5;
}
.navbar-default .navbar-nav li.dropdown{
background-image: url("../../../../../../content/dam/hersheyskitchens/images/header/mobi-nav-background.png");
background-repeat: repeat-x;
background-position: left bottom;
}
.navbar-default .navbar-nav li.dropdown:hover{
background: #c4b095;
}
/*-------Active tab menu-------*/
.navbar-default .navbar-nav li.open{
   background: #c4b095;
}
.navbar-default .navbar-nav li.open a.dropdown-toggle{
background: none;
}
/*-------sub tab-------*/
.navbar-default .navbar-form {
  border:0;
}
.navbar-nav li.open .dropdown-menu {
   background: #FFF;
}
ul.navbar-nav{  margin: 0 -15px;
}
.navbar-default .navbar-nav li.open ul.dropdown-menu a{
font-family: "jaf-bernina-sans-comp","Arial Narrow",Arial,sans-serif;
font-weight: bold;
text-transform: uppercase;
color: #666666;
padding: 20px 15px;
font-size: 16px;
}
.dropdown-menu .divider {
  height: 1px;
  margin:  0px;
  overflow: hidden;
  background-color: #e9d9ca;;
}
.nav-search .form-control{display:inline-block; width:97%;}
.search-icon-left{margin-top: -33px; float: right; border: 0; margin-right: 20px;}
.search-icon-left:hover{background:none;}

.navbar-collapse.in{overflow: hidden;} 
.navbar-nav li.open .dropdown-menu a::after {
  display: inline-block;
  height: 7px;
  width: 7px;
  border-right: 2px solid #e9d9ca;
  border-bottom: 2px solid #e9d9ca;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  content: ' ';
  margin-left: 5px;
  top: -2px;
  position: relative;
  float: right;
  right: 30px;  
}
button.glyphicon-search{padding: 5px;}
}
.active-tab{background: #c4b095;}
.navbar-nav>li>.dropdown-menu{padding:0px;}
/*------Dropdown on Mobile end-----*/
#logo img {font-size:18px;}


.yui-ac-bd ul li{background-color:#f1e9de;padding:5px;color:#333;border-bottom:1px solid #ccc;padding-left:15px;cursor:pointer;}
.yui-ac-bd ul{position:absolute;z-index:1;width:300px;right:-26px;top:10px;list-style:none;}


.nav-search .form-group .form-control {
	padding-right: 50px !important;
}

 
