/* TMENU */

.ato-menu {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  height: 70px;
  z-index: 252;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .ato-menu {
    height: 105px;
    background-color: #fff;
  }
}

.ato-menu-c{
  padding: 20px 0 0 0;
  width: 100%;
}

@media (max-width: 991px) {
  .ato-menu-c{
    background-color: transparent;
    padding: 0;
  }
}

.ato-menu.scroll {
  /* background-color: #eee; */
  border-bottom: 1px solid #ddd;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10);
}

.ato-menu.tmenu-transition {
  -webkit-transition: height 900ms linear, top 300ms linear, padding 300ms linear, background-color 300ms linear;
  -moz-transition: height 900ms linear, top 300ms linear, padding 300ms linear, background-color 300ms linear;
  -o-transition: height 900ms linear, top 300ms linear, padding 300ms linear, background-color 300ms linear;
  transition: height 900ms linear, top 300ms linear, padding 300ms linear, background-color 300ms linear;
}

.ato-menu.scroll {
  top: -165px;
  position: fixed;
  left: 0;
  right: 0;
  padding: 0;
}

.ato-menu.scroll .ato-menu-c{
  padding: 0;
}

.ato-menu.scroll.tmenu-show {
  top: 0;
  position: fixed;
  z-index: 252;
}

.ato-menu .tmenu-c {
  text-align: right;
}

.ato-menu ul.tmenu {
  display: block;
  margin: 0;
  padding: 0;
}

.ato-menu ul.tmenu > li {
  display: inline-block;
  padding-left: 0;
  padding-right: 0;
  vertical-align: middle;
  position: relative;
}

.ato-menu ul.tmenu > li > a {
  display: block;
  color: #333;
  list-style: none;
  font-size: 14px;
  line-height: 45px;
  text-decoration: none;
  font-weight: 400;
  padding-left: 20px;
  letter-spacing: 1px;
  transition: all 0.1s linear;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .ato-menu ul.tmenu > li > a {
    font-size: 18px;
    font-weight: 300;
  }
}

.ato-menu.scroll ul.tmenu > li > a {

}

.ato-menu ul.tmenu > li > a.selected {
  font-weight: 600;
}

@media (max-width: 991px) {

  .ato-menu .tmenu-c {
      position: fixed;
      top: 0;
      bottom: 0;
      left: auto;
      right: 0;

      min-width: 290px;
      max-width: 100%;
      height: 100%;
      z-index: 2000;


      background: #fafafa;

      -webkit-transition: all 250ms ease-out;
      -moz-transition: all 250ms ease-out;
      -ms-transition: all 250ms ease-out;
      -o-transition: all 250ms ease-out;
      transition: all 250ms ease-out;

      -webkit-transform: translate3d(100%, 0, 0);
      -moz-transform: translate3d(100%, 0, 0);
      -ms-transform: translate3d(100%, 0, 0);
      transform: translate3d(100%, 0, 0);

      bottom: 100%;
      overflow: hidden;
  }

  .ato-menu .tmenu-scrollable {
      position: absolute;
      top: 80px;
      bottom: 0;
      left: 0;
      right: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
  }

  body.menu-open .tmenu-c {
    -webkit-transform: translate3d(0%, 0, 0);
    -moz-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);

    bottom: 0;
  }

  .ato-menu ul.tmenu {
    display: block;
    margin: 0 0 0 0;
    padding: 0px 25px 25px 25px;
    text-align: right;
  }

  .ato-menu ul.tmenu > li {
    display: block;
    padding-left: 0;
    padding-top: 20px;
    padding-right: 20;
    border: 0 none transparent;
  }

  .ato-menu ul.tmenu > li > a {
    display: inline-block;
    list-style: none;
    line-height: 1em;
    color: #000 !important;
    padding-left: 0;
    padding-right: 0;
  }

}

/* NAV ICON */

.ato-menu .nav-c {
  position: absolute;
  display: none;
  z-index: 2100;

  top: 45px;
  right: 25px;

  -webkit-transition: .25s top;
  -moz-transition: .25s top;
  -o-transition: .25s top;
  transition: .25s top;
}

body.menu-open .nav-c {
  position: fixed;
  /*top: 25px;*/
}

@media (max-width: 991px) {
  .ato-menu .nav-c {
    display: block;
  }
}

.ato-menu .nav-icon {
  width: 30px;
  height: 18px;
  position: relative;
  margin: 0 auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.ato-menu .nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #000;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.ato-menu .nav-icon span {
  background-color: #000;
}

.ato-menu.scroll .nav-icon span {
  background-color: #000;
}

body.menu-open .nav-icon span {
  background-color: #000 !important;
}

.ato-menu .nav-icon span:nth-child(1) {
  top: 0px;
}

.ato-menu .nav-icon span:nth-child(2) {
  top: 9px;
}

.ato-menu .nav-icon span:nth-child(3) {
  top: 18px;
}

body.menu-open .nav-icon span:nth-child(1) {
  top: 9px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

body.menu-open .nav-icon span:nth-child(2) {
  opacity: 0;
  left: -30px;
}

body.menu-open .nav-icon span:nth-child(3) {
  top: 9px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.ato-menu .nav-icon em.nav-label {
  margin-left: 30px;
  font-style: normal;
}

/* TTMENU */

.ato-menu .ttmenu-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 0;
  color: #000;
  text-align: left;

  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
}

.ato-menu ul.ttmenu {
  display: block;
  margin: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 1  );

  overflow: hidden;
  font-size: 0;
  text-transform: uppercase;
  font-weight: 600;

  min-width: 200px;
}

.ato-menu.scroll ul.ttmenu {
  background-color: rgba(255, 255, 255, 1);
}

.ato-menu ul.ttmenu > li {
  display: block;
  padding-left: 0;
  padding-right: 0;
  vertical-align: middle;
  position: relative;
  font-size: 0;
}

@media (max-width: 991px) {
  .ato-menu ul.ttmenu > li {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.ato-menu ul.ttmenu > li > a {
  display: block;
  color: #000;
  list-style: none;
  font-size: 14px;
  line-height: 32px;
  text-decoration: none;
  font-weight: 400;
  padding: 10px 15px 10px 15px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ato-menu.scroll ul.ttmenu > li > a.selected {
  color: #000;
  background-color: #fafafa;
}

.ato-menu ul.ttmenu > li.ttmenu-intro > a {
  border-bottom: 1px solid #ddd;
}

@media (max-width: 991px) {
  .ato-menu .ttmenu-dropdown {
      position: relative;
      top: 0;
      left: 0;
      right: 0;
      padding-top: 5px;
      padding-bottom: 10px;

      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
  }

  .ato-menu .ttmenu-dropdown__ {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 0;
    color: #000;
    text-align: left;


  }

  .ato-menu ul.ttmenu {
      display: block;
      background-color: transparent;

      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;

      -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
      -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
      box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
  }

  .ato-menu ul.tmenu > li.drop.drop-clicked > a > svg {
      transform: rotate(180deg);
  }

  .ato-menu.scroll ul.ttmenu{
    background-color: transparent;
    color: #fff;
  }

  .ato-menu ul.ttmenu > li {
      display: block;
      text-align: right;
  }

  .ato-menu ul.ttmenu > li > a {
      display: block;
      color: #000;
      list-style: none;
      font-size: 16px;
      line-height: 1.25em;
      text-decoration: none;
      font-weight: 300;
      padding-left: 0;
      padding-right: 0;
      background-color: transparent;
      margin: 5px 0;
  }

  .ato-menu .ttmenu-dropdown{
      left: 0;
      right: 0;
      margin: 20px 0;
  }

}

/* OVERLAY */

.overlay-tmenu {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;

    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

@media (max-width: 1199px) {
    .menu-open .overlay-tmenu {
      visibility: visible;
      opacity: 1;
    }

    body.menu-open {
      overflow: hidden;
    }
}
