/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}
.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
  width: 100%;
  background: #ffffff;
}

.sf-menu > li {
  border-top: 1px solid #e5e5e5;
  position: relative;
  margin: 0;
  background: transparent;
  float: right;
}
.sf-menu > li:first-child {
	border: none;
}
.sf-menu > li > a {
  display: block;
  padding: 8px 15px 6px 15px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  
	zoom: 1; /* IE7 */
	text-decoration: none;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	-o-transition: background 0.2s;
	transition: background 0.2s;  
}

.sf-menu > li > a:hover,
.sf-menu > li.sfHover > a {
  background: #f7f7f7;
  color: #069ae4;
}

.sf-menu a {
  color: #737474;
}


.sf-menu ul {
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
	border-radius:         2px;
	-moz-border-radius:    2px;
	-webkit-border-radius: 2px;
	box-sizing: content-box !important;
	-moz-box-sizing: content-box !important;
	-webkit-box-sizing: content-box !important;
	min-width: 13em; /* allow long menu items to determine submenu width */
	*width: 13em; /* no auto sub width for IE7, see white-space comment below */
	border: 1px solid #e5e5e5;
	border-top: 1px solid rgba(229,229,229,.5);
}
.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu ul li {
	background: #FFFFFF;
}
.sf-menu ul ul li {
	background: #FFFFFF;
}
.sf-menu ul a {
	border-top: 1px solid #e5e5e5; /* fallback colour must use full shorthand */
	border-top: 1px solid rgba(229,229,229,.5);
	padding: .4em 1em;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

.sf-menu ul li a:hover,
.sf-menu ul li:hover,
.sf-menu ul li.sfHover > a {
	background: #f7f7f7; /* Old browsers */
	color: #069ae4!important;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 30px;
	*padding-right: 20px; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: "\2b";
	font-style: normal;
	font-weight: normal;
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -10px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 20px;
	vertical-align: top;
	display: inline-block;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
  content: "\2212";
}


/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	content: "\2212";
}





/***
	Responsive
**************************************************/
.nav-container-mobile {
  display: none;
  margin-bottom: 15px;
}

.sf-menu-block {display: block; position: relative;border: 1px solid #e5e5e5;}

#menu-icon:before {content: "\2b"; font-size: 25px; line-height: 40px; float: right; }
#menu-icon.active:before { content: "\2212"; }

#menu-icon {
  display: block;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  padding: 0 10px;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  background: #F6F6F6;
}
ul.sf-menu-phone {
	display:none;
}
ul.sf-menu-phone {
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	border:1px solid #e6e6e6;
/*
  position: absolute;
  width: 100%;
  top: 43px;
*/
}
.sf-menu-phone li {
	position: relative;
	background-color:#ffffff;
	padding: 0;
	margin: 0;
	border-top: 1px solid #e6e6e6;
}
ul.sf-menu-phone > li.home {
	display: none;
}
ul.sf-menu-phone > li:first-child {
  	border-top: none;
}
ul.sf-menu-phone a {
  display: block;
  color: #737474;
}
ul.sf-menu-phone a:hover {
  
}
ul.sf-menu-phone > li {
  	font-size: 14px;
  	padding: 0;
}
ul.sf-menu-phone > li > a {
  padding: 8px 15px;
  text-transform: uppercase;
  font-weight: 700;
}
.sf-menu-phone ul li a {
	padding: 8px 15px 8px 15px;
}
.sf-menu-phone  li li li a {padding: 8px 15px 8px 35px; display: block;}
  .sf-menu-phone li li {font-size: 14px;}
  .sf-menu-phone li li.last { padding-bottom: 0 !important;}
.sf-menu-phone i {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	height: 39px;
	width: 39px;
	background: #e6e6e6 url('../img/sf-phone-arw.png') no-repeat center 0;
}
  .sf-menu-phone  li i.icon-angle-up {background-position:center -40px;}
  .sf-menu-phone li i:hover { cursor: pointer;}
  .sf-menu-phone li i.opened { background-position: center 7px;}

  /** dropdown **/
  .sf-menu-phone ul {  width: auto;  padding: 0px;  display: none; margin: 0;}
  .sf-menu-phone  li.active > a > span {color: inherit;}
  .sf-menu-phone  li.active > a,
  .sf-menu-phone  li:hover > a {
        background-color: #f6f6f6;
    color: #069ae4;
        text-decoration: none;
        -webkit-transition: background-color .3s ease;
        -moz-transition: background-color .3s ease;
        -ms-transition: background-color .3s ease;
        -o-transition: background-color .3s ease;
        transition: background-color .3s ease;
  }
 .sf-menu-phone li.active > a,
  .sf-menu-phone li a:hover, .sf-menu-phone li li.active > a,
  .sf-menu-phone li li a:hover {}



/* Obshiy */
.sf-menu ul li a:before,
.sf-menu-phone ul li a:before {
	content: '•';
	color: #331010;
	padding-right: 10px;
	display: inline-block;
}

/* search-phone */
.sf-search {
  font-weight: normal;
}
.sf-search input[type="text"] {
  width: 100%;
  height: 30px;
  padding: 0 30px 0 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  background-color: #FFF;
  border: none;
  border-radius: 0;
}
.sf-search .btn-search {
	position: absolute;
	right: 0;
	top: 0;
	color: #ffffff;
	background: #333333;
	padding: 6px 12px 7px 13px;
	font-size: 17px;
	border: 0;
}
.sf-search .btn-search:hover {
  background-color: #ec008b;
}
@media only screen and (max-width: 767px) {
   .nav-container {display: none;}
   .nav-container-mobile {
    display: block;
   }
}