/* IB 020315 Removed thin line above menu
.nav-container {  position: relative;  z-index: 4; width: 100%; border-top: 1px solid #d8f0fe;} */
.nav-container {  position: relative;  z-index: 4; width: 100%; }
/* IB 020315 Change main menu colour background
.sf-menu {  background:url(../images/sf-menu.gif) repeat-x center top #78cbfd; margin-top: -1px; border-bottom: 1px solid #ced9e0;} */
.sf-menu {  background:url(../images/sf-menu.gif) repeat-x center top #ED1B2E; border-bottom: 1px solid #ced9e0;}
.sf-menu li {
  float: left;
  text-align: left;
  position: relative;
  z-index: 99;
}
.sf-menu > li {background: url(../images/sf-menu-line.gif) repeat-y right bottom;}
.sf-menu > li:before {
  content: ".";
  font-size: 0;
  text-indent: -77777px;
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 2px;
  /* IB 020315 Changed the colour of the line that appears above menu item when hovering
  background: #51B5FC; */
  background: #ED1B2E;
}
.sf-menu li.parent {z-index: 999;}
.sf-menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 0;
  text-transform: capitalize;
}
.sf-menu > li > a > span {
	/* IB 020315 Changed menu font family
  font-family: 'Open Sans', sans-serif; */
  font-family: 'PT Sans', sans-serif;
  display: block;
  /* IB 020315 Changed menu font size
  font-size: 12px; */
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 21px 30px 20px;
  text-align: center;
}
.sf-menu li ul a span {  white-space: normal;}
.sf-menu > li.parent > a:before { content: "\f103"; position: absolute; bottom: 0; width: 100%; text-align: center;}

.sf-menu > li.sfHover > a,
.sf-menu> li > a:hover,
/* IB 020315 Changed the button text colour when hovering
.sf-menu > li.active > a {color: #2185c5;} */
.sf-menu > li.active > a {color: #fff; background-color: #D51829;}

.sf-menu > li.sfHover:before,
.sf-menu > li.active:before,
.sf-menu > li:hover:before {width: 100%; left: 0;}

.sf-menu li a:hover {  text-decoration: none;}

.sf-menu ul {
  position: absolute;
  top: -999em;
  z-index: 99;
  /* IB 230315 Changed width to 250px
  width: 192px; */
  width:270px;
  display: none;
  background: #fff;
  box-shadow:0 4px 8px rgba(0,0,0,0.08);
  -moz-box-shadow:0 4px 8px rgba(0,0,0,0.08);
  -webkit-box-shadow:0 4px 8px rgba(0,0,0,0.08);
}
/* IB 020315 Changed sub menu items border size to 0*/
.sf-menu li li {  border: 1px solid #f2f2f2; border-bottom-width: 0;}
.sf-menu li li.parent > a:before { content: "\f101"; float: right; }
.sf-menu li li.last {  border-bottom-width: 0px;}
.sf-menu li li {  position: relative; float: none; width:192px;}

/* IB 020315 Changed sub menu item font size and colour */
.sf-menu li li a {
  display:block;
  /* background: none; */
  background: #ED1B2E;
  font-size: 14px;
  font-weight: bold;
  line-height: 26px;
  color: none;
  padding:8px 15px;
  text-transform: uppercase;
  width: 270px;
}

/* IB 020315 Changed the hover/active text for sub menu items */
.sf-menu li li > a:hover,
.sf-menu li li.sfHover > a,
.sf-menu li li.active > a {  background: #D51829;
	color: #fff;
}

/* IB 230315 Changed submenu width to 270px */
.sf-menu ul ul {
  position: absolute;
  top: -999em;
  z-index: 99;
  width: 270px;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
  left: 0px;
  top: 61px;
  /* match top ul list item height */
}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
  top: -999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	/* IB 240315 Moved sub menus further right
  left: 193px; */
  left: 270px;
  /* match ul width */
  top: 0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
  top: -999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
  left: 193px;
  /* match ul width */
  top: 0;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) { 
  .sf-menu > li > a > span {padding-left: 12px;padding-right:12px; font-size: 12px;}
}

@media only screen and (min-width: 992px) {
    #menu-icon,
    .sf-menu-phone,
    .sf-menu-block {  display: none !important;}
    .nav-container.fixed {position: fixed; left: 0; top:0;}

}
@media only screen and (max-width: 991px) {
  .sf-menu,
  .sf-menu-phone {display: none;}
  /* menu icon */
 .sf-menu-block {display: block; position: relative;}
  #menu-icon {
    font-family: 'Open Sans', sans-serif;
    display: block;
    background:url(../images/sf-menu.gif) repeat-x center top #78cbfd; 
    margin-top: -1px; 
    border-bottom: 1px solid #ced9e0;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
    text-transform: uppercase;
    padding: 0 20px;
    color: #fff;
    height: 55px;
    line-height: 50px;
  }
  #menu-icon:before {content: "\f055"; font-size: 25px; line-height: 54px; float: right; }
  #menu-icon.active:before { content: "\f056"; }

  .sf-menu-phone {
    background: #fff;
    border: 1px solid #F2F2F2;
    border-top: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
    moz-box-sizing:border-box;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
  }
  .sf-menu-phone li {  position: relative; font-family: 'Open Sans', sans-serif;  text-transform: capitalize;  }
  .sf-menu-phone > li { border-bottom: 1px solid #F2F2F2; padding: 10px 20px; font-size: 16px; }
  .sf-menu-phone > li.last {border-bottom: 0;}
  .sf-menu-phone li a { display: inline-block;  color: #838383;  }
  .sf-menu-phone li a:hover { color: #2185c5; }
  .sf-menu-phone li li {font-size: 13px; padding: 2px 8px; }
  .sf-menu-phone li li.last {padding-bottom: 10px;}
  .sf-menu-phone li li:first-child {padding-top: 10px;}
  .sf-menu-phone li li:first-child strong {top:10px;}
  .sf-menu-phone li strong {
    position: absolute;
    display: block;
    top: 4px;
    right: 5px;
    width: 24px;
    font-size: 16px; 
    line-height: 16px;
    text-align: center;
  }
  .sf-menu-phone > li > strong {top: 9px; right: 18px; font-size: 20px; line-height: 20px;}
  .sf-menu-phone li strong:hover { cursor: pointer; }
  .sf-menu-phone li strong:before {content: "\f067"; }
  .sf-menu-phone li strong.opened:before { content: "\f068"; }

  /* dropdown */
  .sf-menu-phone ul {  width: auto;  display: none;  }
  .sf-menu-phone > li.active > a > span {color: inherit;}
  
  .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 {}
}
@media only screen and (max-width: 767px) { 
   .sf-menu-block {margin: 0 10px;}
}
