@font-face {
  font-family: "icon-font";
  src: url('fonts/icon-font.eot');
  src: url('fonts/icon-font.eot?#iefix') format('eot'), url('fonts/icon-font.woff') format('woff'), url('fonts/icon-font.ttf') format('truetype'), url('fonts/icon-font.svg#icon-font') format('svg');
}

.icon-desktop:before,
.icon-menu-close:before,
.icon-menu:before,
.icon-mobile:before,
.icon-submenu-down:before,
.icon-submenu-right:before,
.icon-world:before,
header h1:before,
#main-header .nav-button:before,
#main-header .nav-close:before,
#main-header .nav .nav-submenu > a:after,
#main-header .nav > ul > .nav-submenu > a:after {
  font-family: "icon-font";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  text-decoration: none;
  text-transform: none;
  vertical-align: middle;
  margin-top: -3px;
}

#main-header .nav > ul > .nav-submenu > a:after {
  margin-top: 3px;
}

.icon-desktop:before {
  content: "\E001";
}

.icon-menu-close:before {
  content: "\E002";
}

.icon-menu:before {
  content: "\E003";
}

.icon-mobile:before {
  content: "\E004";
}

.icon-submenu-down:before {
  content: "\E005";
}

.icon-submenu-right:before {
  content: "\E006";
}

.icon-world:before {
  content: "\E007";
}

#nav-button-container {
  position: absolute;
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  right: 14px;
  top: 22px;
}

#main-header .nav-button,
#main-header .nav-close {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  overflow: hidden;
  z-index: 902;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}

a.nav-button,
a.nav-button:visited,
a.nav-button:active,
a.nav-button:link {
  color: #025377;
  text-decoration: none;
}

a.nav-button:hover,
a.nav-close:hover {
  text-decoration: none;
}

#main-header .nav-button:before,
#main-header .nav-close:before {
  display: block;
  text-align: center;
}

#main-header .nav-button {
  display: inline-block;
  font-size: 2.4rem;
  line-height: 2.65rem;
}

#main-header .nav-button:before {
  font-size: .7em;
  content: "\E003";
}

#main-header .nav-close {
  display: none;
  right: 4rem;
  font-size: 1.9rem;
}

#main-header .nav {
  padding-top: 75px;
  line-height: 1em;
}

#main-header .nav a,
#main-header .nav a:hover,
#main-header .nav a:active,
#main-header .nav a:visited {
  font-family: 'Montserrat', sans-serif;
  color: #272727;
}

#main-header .nav ul {
  border-radius: 0;
}

#main-header .nav ul li {
  /*border-top: 1px solid #f79427;*/
  cursor: pointer;
  background: #025377;
  font-size: .875rem; /* 14px (14 / 16) */
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#main-header .nav > ul > li:first-child {
  border-top: 3px solid #6DA3C7;
}

#main-header .nav > ul > li:last-child {
  border-bottom: 3px solid #6DA3C7;
}

#main-header .nav ul ul li {
  /*border-top: 1px solid #f79427;*/
  line-height: 2rem;
  background: #036895;
}

#main-header .nav li:hover > a,
#main-header .nav li.nav-active > a,
#main-header .nav ul ul li.nav-active > a,
#main-header .nav li.nav-submenu > a:hover {
  background: #09CAC7;
  border-bottom: none;
  color: #fff;
}

#main-header .nav > ul li a,
#main-header .nav li.nav-submenu > a {
  line-height: 32px;
}

#main-header .nav li.nav-submenu > ul li a {
  color: #fff;
  padding-left: 15px;
}

#main-header .nav li.nav-submenu > ul li a:hover {
  color: #fff;
  /*background-color: #B2C0CB;*/
}

#main-header .nav .nav-submenu > ul li {
  /*background-color: #e28724;*/
  /*border-top: 1px solid #08afac;*/
}

#main-header .nav a {
  padding: 0.5em .5em 0.5em .5em;
  font-size: 1.15em;
}

#main-header .nav a,
#main-header .nav a:hover,
#main-header .nav a:active,
#main-header .nav a:visited {
  color: #fff;
  text-decoration: none;
  text-align: center;
}

/* --------------------------------------------------------------------------------------------------
 * Media Queries ------------------------------------------------------------------------------------
 * -------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 1020px) {
  #nav-button-container {
    border: none;
  }

  #main-header .nav-button {
    display: none;
  }

  #main-header .nav {
    padding: 0 !important;
  }

  #main-header .nav ul li {
    background: none;
  }

  #main-header .nav ul li:first-child {
    border-top: none;
  }

  #main-header .nav > ul > li {
    padding: 0 10px;
    border-top: none;
    /*height: 93px;*/
  }

  #main-header .nav > ul > li:last-child a {
    background-color: #F9FA57;
    border-radius: 50px;
    bottom: 0;
    position: relative;
    line-height: inherit;
    padding: 12px 16px;
    color: #025377;
    font-weight: 700;
  }

  #main-header .nav > ul > li:last-child:hover a {
    background-color: #09CAC7;
    color: #fff;
  }

  #main-header .nav > ul > li:last-child {
    border-bottom: none;
  }

  #main-header .nav > ul > li > a {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    text-transform: uppercase;
    line-height: 78px;
    /*height: 93px;*/
  }

  #main-header .nav > ul > li > a.selected-page,
  #main-header .nav > ul > li > a:visited.selected-page {
    color: #09CAC7;
  }

  #main-header .nav li:hover > a,
  #main-header .nav > ul > li:hover > a,
  #main-header .nav > ul > li > a:hover,
  #main-header .nav li.nav-submenu > ul li a:hover,
  #main-header .nav li.nav-submenu > a:hover,
  #main-header .nav li.nav-submenu:hover > a {
    color: #09CAC7;
    background: none;
  }

  #main-header .nav li.nav-submenu > a {
    line-height: 68px;
  }

  #main-header .nav ul ul ul {
    border-radius: 0 6px 6px 6px;
  }

  #main-header .nav ul ul ul li:first-child {
    border-top: none;
  }

  #main-header .nav a,
  #main-header .nav a:hover,
  #main-header .nav a:active,
  #main-header .nav a:visited {
    color: #025377;
    text-align: left;
    font-size: .8rem;
    font-weight: 300;
  }

  #main-header .nav .nav-left > ul {
    border-radius: 6px 0 6px 6px;
  }

  #main-header .nav .nav-submenu li {
    min-width: 220px;
  }

  #main-header .nav .nav-submenu > ul {
    margin: 0;
  }

  #main-header .nav .nav-submenu > ul li {
    margin-left: 5px;
    padding-left: 0;
    background-color: #fff;
  }

  #main-header .nav li.nav-submenu > ul li a {
    color: #025377;
  }
}
