/*** ESSENTIAL STYLES ***/
.sf-menu {
	position: relative;
	margin: auto;
	padding: 0;
	list-style: none;
	
}

.sf-menu .sf-mega {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}
.sf-menu > li {
	float: left;
	border-right: 1px solid #D0D0D0;
	border-left: 1px solid #D0D0D0;
	margin-left: -1px;
	margin-bottom: -3px;
	padding:0;
	vertical-align: baseline;
}
.sf-menu li:hover > .sf-mega,
.sf-menu li.sfHover > .sf-mega {
  display: block;
}

.sf-menu > li > a {
	display: block;
	position: relative;
	font: 600 16px "Open Sans", sans-serif;
	text-transform: uppercase;
	color: #484848;
	margin: 0;
	text-decoration: none;
}




/*** DEMO SKIN ***/
.sf-menu {
  float: left;
  width: 100%;
}
.sf-menu .sf-mega {
  box-shadow: 2px 3px 6px rgba(0,0,0,.2);
  width: 100%; /* allow long menu items to determine submenu width */
}
.sf-menu > li > a {
	
	/*padding: .75em 1em;*/
	height: 50px;
	overflow: hidden;
	padding: 0px 16px;
	line-height: 55px;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color: #333;
}

@media only screen and (max-width: 1200px) {
	.sf-menu > li > a {
		
		padding: 0px 10px;
	}
}

@media only screen and (max-width: 1100px) {
	.sf-menu > li > a {
		font-size: 14px;
		
	}
}

@media only screen and (max-width: 1000px) {
	.sf-menu > li > a {
		font-size: 12px;
		
	}
}

@media only screen and (max-width: 900px) {
	.sf-menu > li > a {
		font-size: 10px;
	}
}

.sf-menu > li > a > i {
	text-align: center;
	line-height: 55px;
}

.sf-menu > li {
 
  -webkit-transition: background .2s;
  transition: background .2s;
}
.sf-menu > li:hover,
.sf-menu > li.sfHover {
  background: #FFF;
  /* only transition out, not in */
  -webkit-transition: none;
  transition: none;
}

.sf-menu > li:hover > a,
.sf-menu > li.sfHover > a{
	color: #111;
	text-decoration: underline;
}

/*** mega menu dropdown ***/
.sf-mega {
  background-color: #FFF;
  padding: 1em;
  box-sizing: border-box;
  width: 100%;
}

.sf-mega-border-left{
	border-left: 2px solid #DDD;
	margin-left: -1px;
}

.sf-mega-border-right{
	border-right: 2px solid #DDD;
	margin-right: -1px;
}

.sf-mega-desc{
	margin-left:0;
	padding-left: 0;
	border-right: 2px solid #CCC;
	font-size: 1em;
}

.sf-mega-item{
	text-align: center;
	border: 2px solid transparent;
	height: 180px;
	overflow:hidden;
}

.sf-mega-item:hover{
	border: 2px solid #DDD;
}

.sf-mega-item > a{
	font: 600 13px "Open Sans", sans-serif;
	text-transform: uppercase;
	color: #484848;
	margin: 0;
	text-decoration: none;
}

.sf-mega-item > a:hover{
	color: #666;
}

.sf-mega-image{
	max-width: 130px;
	max-height: 130px;
	overflow: hidden;
	text-align: center;
	margin: auto;
}

.sf-mega-image img{
	max-width: 100%;
	max-height: 100%;
}

.sf-mega-section {
  float: left;
  width: 8em; /* optional */
  padding: 0 1em 1em 0;
  margin-right: 1em;
  border-right: 1px solid #b4c8f5;
}


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
  padding-right: 2.5em;
  *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -3px;
  height: 0;
  width: 0;
  /* order of following 3 rules important for fallbacks to work */
  border: 5px solid transparent;
  border-top-color: #484848;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: white; /* IE8 fallback colour */
}
