@charset "utf-8";

/* CSS Document */

ul.menu {
  padding: 0;
  margin: 0px;
}

.header {
  position: relative;
}

#toggle,
.toggle {
  display: none;
  z-index: 4000;
}

.menu > li {
  list-style: none;
  float: right;
  margin: 2% 12px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}

@media only screen and (max-width: 1007px) {
  .menu {
    display: none !important;
    opacity: 0;
    width: 100%;
    position: absolute;
    right: 0;
  }
  .menu > li {
    display: block;
    width: 100%;
    margin: 0;
    border-top: #efeded 1px solid;
  }
  .menu > li > a {
    display: block;
    width: 100%;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .toggle {
    width: 70%;
    height: 40%;
    display: block !important;
    position: relative;
    float: right;
    /* margin-right: -0.5rem; */
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  #toggle:checked + div .menu {
    display: block !important;
    opacity: 1;
    text-align: right;
    margin-top: 28px;
    padding: 0;
  }
}

.header {
  min-height: 100px;
  height: 100%;
  padding: 0 20px;
  background: #ffffff;
}

.header > h1 {
  float: left;
  padding: 30px 0 0;
  font-style: italic;
  font-family: Georgia;
  font-size: 28px;
  color: #dfdfdf;
}

.nav {
  display: block;
  float: right;
}

.nav,
.menu,
.menu > li,
.menu > li > a {
  height: 100%;
}

.menu > li > a {
  /* display: block; */
  font-family: 'Cairo', sans-serif;
  padding: 7px 0px;
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  /* letter-spacing: 1px; */
  line-height: 2;
  border-bottom: 2px solid transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border 0.2s ease-in-out;
  -moz-transition: border 0.2s ease-in-out;
  -ms-transition: border 0.2s ease-in-out;
  -o-transition: border 0.2s ease-in-out;
  transition: border 0.2s ease-in-out;
  color: #0a7573 !important;
}

.menu > li > a:hover,
.menu > li > a:focus {
  border-bottom: 2px solid #1a87ab;
}

.toggle {
  z-index: 10000;
}

@media only screen and (max-width: 1007px) {
  .menu {
    background: #f9f9f9;
  }
  .menu,
  .menu > li,
  .menu > li > a {
    height: auto;
  }
  .menu > li > a {
    padding: 15px 15px;
  }
  .menu > li > a:hover,
  .menu > li > a:focus {
    background: #ffffff;
    box-shadow: inset -5px 0px #e87022;
    padding: 15px 15px 15px 25px;
  }
  .toggle:after {
    content: attr(data-open);
    content: '\f0c9';
    font-family: FontAwesome !important;
    display: block;
    padding: 8px 10px 8px 10px;
    background: #0a7573;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .toggle:hover:after {
    background: #3ba3ac;
  }
  #toggle:checked + div .toggle:after {
    content: '\f00d';
    font-family: FontAwesome !important;
    text-align: center;
    font-size: 18px;
  }
}

@media only screen and (max-width: 479px) {
  .header > h1 {
    text-align: center;
  }
  .header > h1,
  .nav,
  .toggle:after {
    float: center;
  }
  .toggle:after {
    text-align: center;
    /* width: 100%; */
  }
}
