/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

@media only screen and (min-width: 992px) {
    nav#menu.main-menu {
      display: block !important;
    }
  
    #mm-menu.main-menu {
      display: none !important;
    }
  
    header .btn_mobile {
      display: none !important;
    }
  
    /* Menu */
    .main-menu {
      position: relative;
      z-index: 9;
      width: auto;
      top: 12px;
      right: 15px;
      float: right;
      -moz-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
      -webkit-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
      color: #fff;
    }
    .main-menu ul,
    .main-menu ul li {
      position: relative;
      display: inline-block;
      margin: 0;
      padding: 0;
    }
    .main-menu ul a,
    .main-menu ul li a {
      position: relative;
      margin: 0;
      padding: 0;
      display: block;
      padding: 5px 10px;
      white-space: nowrap;
    }
  
    /*First level styles */
    .main-menu > ul > li span > a {
      color: rgb(245, 164, 58);
      padding: 0 8px 15px 8px;
      font-size: 13px;
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
    }
    .main-menu > ul > li span:hover > a {
      opacity: 0.7;
    }
  
    /* Submenu*/
    .main-menu ul ul {
      position: absolute;
      z-index: 1;
      visibility: hidden;
      left: 3px;
      top: 100%;
      margin: 0;
      display: block;
      padding: 0;
      background: #fff;
      min-width: 210px;
      -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.175);
      -moz-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.175);
      box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.175);
      -webkit-transform: translateY(20px);
      -moz-transform: translateY(20px);
      -ms-transform: translateY(20px);
      -o-transform: translateY(20px);
      transform: translateY(20px);
      opacity: 0;
      -moz-transition: all 0.2s ease;
      -o-transition: all 0.2s ease;
      -webkit-transition: all 0.2s ease;
      -ms-transition: all 0.2s ease;
      transition: all 0.2s ease;
    }
    .main-menu ul ul:before {
      bottom: 100%;
      left: 15%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
      border-bottom-color: #fff;
      border-width: 7px;
      margin-left: -7px;
    }
    .main-menu ul ul li {
      display: block;
      height: auto;
      padding: 0;
    }
    .main-menu ul ul li a {
      font-size: 13px;
      font-size: 0.8125rem;
      color: #555;
      border-bottom: 1px solid #ededed;
      display: block;
      padding: 15px 10px;
      line-height: 1;
    }
  
    .main-menu ul li:hover > ul {
      padding: 0;
      visibility: visible;
      -webkit-transform: translateY(0);
      -moz-transform: translateY(0);
      -ms-transform: translateY(0);
      -o-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
  
    .main-menu ul ul li:last-child a {
      border-bottom: none;
    }
    .main-menu ul ul li:hover > a {
      background-color: #f9f9f9;
      color: #392779;
      padding-left: 18px;
    }
  }
  /*-------- 1.2 Buttons --------*/
a.btn_1,
.btn_1 {
  border: none;
  color: #fff;
  background: #9ac622;
  outline: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  padding: 15px 30px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  line-height: 1;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}
a.btn_1:hover,
.btn_1:hover {
  background: #6e8b1c;
  color: #fff;
}
a.btn_1.full-width,
.btn_1.full-width {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
}
a.btn_1.medium,
.btn_1.medium {
  font-size: 16px;
  font-size: 1rem;
  padding: 18px 40px;
}
a.btn_1.rounded,
.btn_1.rounded {
  -webkit-border-radius: 25px !important;
  -moz-border-radius: 25px !important;
  -ms-border-radius: 25px !important;
  border-radius: 25px !important;
}
a.btn_1.outline,
.btn_1.outline {
  border: 2px solid #3f9fff;
  color: #3f9fff;
  padding: 11px 40px;
  background: none;
}
a.btn_1.outline:hover,
.btn_1.outline:hover {
  background: #0054a6;
  color: #fff;
  border-color: #0054a6;
}

a.btn_explore {
  background: #fff;
  display: block;
  width: 60px;
  height: 60px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  line-height: 65px;
  text-align: center;
  position: absolute;
  bottom: 40px;
  left: 50%;
  margin-left: -30px;
  font-size: 24px;
  font-size: 1.5rem;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
a.btn_explore:hover {
  bottom: 30px;
}

.closebt {
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: absolute;
  font-size: 24px;
  font-size: 1.5rem;
  top: 10px;
  right: 15px;
  color: #fff;
  opacity: 0.6;
  width: 30px;
  height: 30px;
}
.closebt:hover {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  opacity: 1;
}

.btn_home_align {
  text-align: right;
}
@media (max-width: 767px) {
  .btn_home_align {
    text-align: center;
  }
}

/*Button plus-minus */
.button_plus {
  position: relative;
  width: 30px;
  height: 30px;
  /* Vertical line */
  /* horizontal line */
}
.button_plus:before, .button_plus:after {
  content: "";
  position: absolute;
  background-color: white;
  transition: transform 0.25s ease-out;
}
.button_plus:before {
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  margin-left: -2px;
}
.button_plus:after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  margin-top: -2px;
}
.button_plus:hover {
  cursor: pointer;
}
.button_plus:hover:before {
  transform: rotate(90deg);
}
.button_plus:hover:after {
  transform: rotate(180deg);
}


  /* Header */
header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 20px 30px;
    z-index: 99999;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
  }
  @media (max-width: 767px) {
    header {
      padding: 15px 15px 5px 15px;
    }
  }
  header.header.sticky {
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: rgb(207, 73, 73);
    background: -webkit-linear-gradient(left, rgb(245, 245, 245), rgb(245, 245, 245) );
    background: linear-gradient(to right,  rgb(245, 245, 245), rgb(245, 245, 245) );
    padding: 15px 20px;
  }
  
  header.header.sticky > .main-menu > ul > li span > a  {
    color: #0062be;
  }

  @media (max-width: 991px) {
    header.header.sticky {
      padding: 15px 15px 5px 15px;
    }
  }
  header.header.sticky_menu_active {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  @media (max-width: 991px) {
    header.header.sticky_menu_active {
      padding: 15px 15px 0 15px;
      background: #EFEFEF;
      background: -webkit-linear-gradient(left,#C04848, #EFEFEF);
      background: linear-gradient(to right, #C04848, #EFEFEF);
    }
  }
  
  ul#top_menu {
    float: right;
    margin: 0 0 0 0;
    font-size: 13px;
    font-size: 0.8125rem;
  }
  ul#top_menu li {
    display: inline-block;
    margin: 2px 0 0 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
    margin-right: 20px;
  }
  ul#top_menu li:last-child {
    margin-right: 0;
    position: relative;
    top: 0;
  }
  @media (max-width: 991px) {
    ul#top_menu li {
      margin: 5px 0 0 10px;
    }
  }
  ul#top_menu li a {
    color: rgb(51, 51, 51);
  }
  ul#top_menu li a:hover {
    color: #fff;
    opacity: 0.7;
  }
  ul#top_menu li a.login, ul#top_menu li a.search-overlay-menu-btn {
    display: block;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
    position: relative;
    top: -5px;
  }
  ul#top_menu li a.login:before, ul#top_menu li a.search-overlay-menu-btn:before {
    font-family: 'ElegantIcons';
    font-size: 24px;
    font-size: 1.5rem;
    color: #fff;
    text-indent: 0;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: normal;
    line-height: 1;
  }
  ul#top_menu li a.login:before {
    content: "\7e";
  }
  ul#top_menu li a.search-overlay-menu-btn:before {
    content: "\55";
  }
  ul#top_menu li a.btn_1 {
    background-color: #FF9E47;
    color: rgb(255, 255, 255);
    padding: 13px 30px;
  }
  ul#top_menu li a.btn_1:hover {
    background-color: #F6761C;
    color: rgb(0, 0, 0);
    opacity: 1;
  }
  
  #logo {
    float: left;
  }
  @media (max-width: 991px) {
    #logo {
      float: none;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      text-align: center;
    }
    #logo img {
      width: auto;
      height: 30px;
      margin-top: 10px;
    }
  }
  
  #hero_in {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
  }
  @media (max-width: 767px) {
    #hero_in {
      height: 350px;
    }
  }
  #hero_in.general {
    border-bottom: 5px solid #035ce2;
  }
  #hero_in.general:before {
    background: url(http://via.placeholder.com/1600x1067/ccc/fff/bg_general.jpg) center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  #hero_in.general .wrapper {
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.8);
  }
  #hero_in.courses:before {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  #hero_in.courses .wrapper {
    
  }
  #hero_in.contacts:before {
    background: url(http://via.placeholder.com/1600x1067/ccc/fff/bg_contacts.jpg) center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  #hero_in.contacts .wrapper {
    background-color: black;
    background-color: rgba(0, 0, 0, 0.8);
  }
  #hero_in:before {
    animation: pop-in 5s 0.3s cubic-bezier(0, 0.5, 0, 1) forwards;
    content: "";
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    filter: gray;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
  }
  #hero_in .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  #hero_in .wrapper h1 {
    color: #fff;
    font-size: 42px;
    font-size: 2.625rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 30px;
  }
  @media (max-width: 767px) {
    #hero_in .wrapper h1 {
      font-size: 32px;
      font-size: 2rem;
    }
  }
  #hero_in .wrapper h1 span {
    width: 80px;
    height: 4px;
    margin: auto;
    background-color: #FFC107;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    opacity: 1;
  }
  #hero_in .wrapper p {
    font-weight: 300;
    margin-bottom: 0;
    font-size: 24px;
    font-size: 1.5rem;
  }
  #hero_in .wrapper p strong {
    font-weight: 600;
  }

  /*-------- 3.6 Block reveal --------*/
.animated .block-reveal {
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.block-horizzontal, .block-vertical {
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.animated .block-horizzontal {
  animation: reveal_left_to_right 1s ease-in-out;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  background: #9ac622;
}
.animated .block-vertical {
  animation: reveal_top_to_bottom 1s ease-in-out;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  background: #9ac622;
}

.block-reveal img {
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.animated .block-reveal img {
  animation: color 0.5s ease-in-out;
  animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  opacity: 0;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes reveal_left_to_right {
  0% {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  50% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
}
@keyframes reveal_top_to_bottom {
  0% {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  50% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
  }
}
@keyframes color {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
