.main-header {
  position: fixed;
  z-index: 100;
  width: 100%;
}

.first-nav {
  position: absolute;
  z-index: 200;
  top: -60px;
  left: 0;
  height: 40px;
  overflow: hidden;
  background: #0061b0;
  background: -moz-linear-gradient(left, #0061b0 31%, #00bcf0 99%);
  background: -webkit-linear-gradient(left, #0061b0 31%, #00bcf0 99%);
  background: linear-gradient(to right, #0061b0 31%, #00bcf0 99%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#0061b0", endColorstr="#00bcf0",GradientType=1 );
  width: 100%;
  margin: 0 0;
  clear: both;
  box-shadow: 0 1px 2px -1px #111;
}
.first-nav:before, .first-nav:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
}
.first-nav__links {
  float: left;
  width: 73%;
  margin-left: 1%;
  margin-right: 1%;
  height: auto;
  margin-top: 2%;
  margin-bottom: 2%;
}
@media screen and (max-width: 600px) {
  .first-nav__links {
    float: left;
    width: 89.6666666667%;
    margin-left: 1%;
    margin-right: 1%;
    height: auto;
    margin-top: 2%;
    margin-bottom: 2%;
  }
}
.first-nav__links li {
  display: inline-block;
  margin: 0 10px;
}
@media screen and (max-width: 960px) {
  .first-nav__links li {
    margin: 0 7px;
  }
}
.first-nav__links a {
  color: #fff;
  font-family: "Cairo";
  font-style: italic;
  line-height: 40px;
  border-color: #fff;
  transition: color 0.5s;
}
.first-nav__links a.is-selected, .first-nav__links a:hover {
  color: #111;
  border: none;
}
.first-nav__navcontrol {
  display: none;
  float: left;
  width: 23%;
  margin-left: 1%;
  margin-right: 1%;
  height: auto;
  margin-top: 2%;
  margin-bottom: 2%;
  color: #fff;
  line-height: 40px;
  text-align: right;
  border: none;
  transition: color 0.5s;
}
@media screen and (max-width: 600px) {
  .first-nav__navcontrol {
    float: left;
    width: 6.3333333333%;
    margin-left: 1%;
    margin-right: 1%;
    height: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: 0;
    font-size: 0;
  }
}
.first-nav__navcontrol:before {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 20px;
  transition: color 0.5s;
}
@media screen and (max-width: 600px) {
  .first-nav__navcontrol:before {
    margin-right: 0;
  }
}
.first-nav__navcontrol.is-open, .first-nav__navcontrol.is-closed {
  display: block;
}
.first-nav__navcontrol:hover, .first-nav__navcontrol:hover:before {
  color: #111;
}

.second-nav {
  position: relative;
  min-height: 40px;
  background-color: #fff;
  width: 100%;
  margin: 0 0;
  clear: both;
  margin-top: 40px;
  box-shadow: 0 1px 2px -1px #111;
  transition: all 0.5s;
}
.second-nav:before, .second-nav:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
}
.second-nav.is-closed {
  margin-top: -40px;
}
@media screen and (max-width: 960px) {
  .second-nav.is-closed {
    margin-top: -100%;
  }
}
.second-nav__logo {
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  width: 80px;
  color: #fff;
  font-size: 40px;
  line-height: 80px;
  font-family: "Cairo";
  letter-spacing: -5px;
  font-weight: bold;
  text-align: center;
  background-color: #1a242e;
  border: none;
}
@media screen and (max-width: 960px) {
  .second-nav__logo {
    display: none;
  }
}
.second-nav__logo:after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: 0;
  z-index: 250;
  border-top: 30px solid #1a242e;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
}
.second-nav__logo span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.second-nav__logo span:after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -2px;
  width: 50px;
  height: 5px;
  background-color: transparent;
  box-shadow: 0 1px 2px -1px #111;
  transform: rotate(-37deg);
}
.second-nav__logo span:before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -2px;
  width: 50px;
  height: 5px;
  background-color: transparent;
  box-shadow: 0 1px 2px -1px #111;
  transform: rotate(37deg);
}

.menu {
  float: left;
  width: 98%;
  margin-left: 1%;
  margin-right: 1%;
  height: auto;
  margin-top: 2%;
  margin-bottom: 2%;
  text-align: right;
  height: 40px;
}
@media screen and (max-width: 960px) {
  .menu {
    text-align: center;
  }
}
.menu li {
  display: inline-block;
  margin-left: 18px;
}
@media screen and (max-width: 960px) {
  .menu li {
    margin: 0 9px;
    display: block;
    margin: auto;
    border-bottom: none;
  }
}
.menu li a {
  line-height: 40px;
  font-size: 1em;
  transition: color 0.5s;
  border-bottom: none;
}
@media screen and (max-width: 960px) {
  .menu li a {
    font-size: 18px;
    line-height: 2;
  }
}
.menu li a.is-selected, .menu li a:hover {
  color: #aaa;
  border: none;
}
