/*** ESSENTIAL STYLES ***/
.sf-menu {
  position: relative;
  margin: 0;
  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;
}
.sf-menu li:hover > .sf-mega,
.sf-menu li.sfHover > .sf-mega {
  display: block;
}

.sf-menu > li > a {
  display: block;
  position: relative;
}


/*** DEMO SKIN ***/
.sf-menu {
  float: right;
  margin-bottom: 1em;
  width: auto;
}
.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 {
  border-left: 1px solid #fff;
  border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
  border-top: 1px solid rgba(255,255,255,.5);
  padding: 0.35em 1.5em 0.35em 0;
  text-decoration: none;
  zoom: 1; /* IE7 */
  color: #13a;
}
.sf-menu > li {
  background: #BDD2FF;
/*  -webkit-transition: background .3s;
  transition: background .3s;*/
  transition: background 0.3s;
  -webkit-transition: background 0.3s;
  -moz-transition:    background 0.3s;
  -o-transition:      background 0.3s;
}
.sf-menu > li:hover,
.sf-menu > li.sfHover {
  background: #fff;
  /* only transition out, not in */
  -webkit-transition: none;
  transition: none;
}

/*** mega menu dropdown ***/
.sf-mega {
  background-color: #CFDEFF;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}
.sf-mega-section {
  float: left;
  width: 8em; /* optional */
  padding: 0 1em 1em 0;
  margin-right: 1em;
  border-right: 1px solid #b4c8f5;
}

.sf-menu .sf-mega > a, sf-menu .sf-mega > a:hover {
    padding:2% 0 1% 5%;
    background-color:#ededed;
    border-bottom:1px solid #fff;
}


/*** 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: #666; /* edit this to suit design (no rgba in IE8) */
  border-top-color: rgba(0,0,0,.2);
}

/* clinx styling */
.sf-menu .sf-mega {
  box-shadow: 0px 3px 8px rgba(0,0,0,.25);
  width: 980px; /* allow long menu items to determine submenu width */
  background-color: #f3f3f3;
  background-color: rgba(255,255,255,.95);
  height:380px;
  z-index:9998;
  left: -274px;
  border-top:1px solid #bbb;
  border-bottom:2px solid #f2a200;
/*  background-image: url('images/bg_mega.png');
  background-repeat: repeat-x;
  background-position: top;*/
}

.sf-menu-v li {
  position:relative;
  max-width:270px;
  float:none !important;
}

.sf-menu ul {
    position: absolute;
    top: 38px;
    z-index: 99;
}

.sf-menu > li:last-child > ul {
    left:auto;
    right:0;
}

#sf-menu-h {
    width:727px;
	margin-left:274px;
}
.fixed {
    position:fixed;
	top:0;
	left:0;
	width:100%;
	height:40px;
	background-color:#ffffff;
	z-index:99;
}
#menu-icon {display:none;}
#logo-home-small, #logo-home-small:hover {
    background-image: url("images/header_logo_small.png");
    background-position: left center;
    background-repeat: no-repeat;
    display: block;
    height: 40px;
    margin-top: 0;
    position: absolute;
    width: 51px;
	color: transparent;
}
.sf-mega ul li a {
	padding: 4px 15px;
}
.sf-mega ul li ul li a {
	padding: 4px 15px !important;
/*	background-color:#60DAD1;*/
}

/* Displays less than 768px (Smartphones, Tablets etc.) */
@media screen and (max-width: 767px) {
#sf-menu-h {
    width:inherit;
	margin-left:inherit;
}
}