/**
 * Normalize.
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
mark,
nav,
section,
summary,
time {
  display: block;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

*,
html,
img {
  border: 0px;
  margin: 0px;
  padding: 0px;
}

ul,
ol {
  list-style: inside;
}

img {
  max-width: 100%;
  height: auto;
}

/**
 * Fonts
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700;900&display=swap');

@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon/icomoon.eot?yxke0f');
  src: url('../fonts/icomoon/icomoon.eot?yxke0f#iefix') format('embedded-opentype'),
    url('../fonts/icomoon/icomoon.ttf?yxke0f') format('truetype'),
    url('../fonts/icomoon/icomoon.woff?yxke0f') format('woff'),
    url('../fonts/icomoon/icomoon.svg?yxke0f#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-cross:before {
  content: "\ea0f";
}

.icon-facebook:before {
  content: "\ea90";
}

/**
 * Vars.
*/

:root {
  --red: #F00;
  --red-dark: #F33;
  --black: #000;
  --white: #FFF;

  --c: var(--red);
  /* c = color */
  --c-h: var(--red-dark);
  /* c-h = color hover */
  --d: var(--black);
  /* d = dark */
  --l: var(--white);
  /* l = light */
}

/**
 * Base.
*/


body {
  font-size: 18px;
  font-weight: 300px;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

p,
td {
  line-height: 150%;
}

.container {
  margin: 0 auto;
  max-width: 1390px;
}

.clearfix,
.clearfix::after {
  display: block;
  content: "";
  clear: both;
  width: 100%;
  height: 0px;
}

.cursor-pointer {
  cursor: pointer;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.btn {
  background: var(--c);
  color: var(--l);
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  border-radius: 10px;
  padding: 10px 25px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in;
  display: inline-block;
}

.btn:hover {
  background: var(--c-h);
}


/**
 * Base header
*/

.base-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: 20px;
}

.base-header::before {
  content: "";
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  box-shadow: 0px 0px 70px rgb(0, 0, 0);
}

.base-header .container {
  position: relative;
  z-index: 1;
}

.base-header .menu-nav {
  position: relative;
}

.base-header .menu-list {
  width: calc(50% - (200px / 2));
}

.base-header .menu-list.left {
  float: left;
  text-align: right;
}

.base-header .menu-list.right {
  float: right;
}

.base-header .menu-nav .menu-gap {
  width: 200px;
  height: 64px;
  /* background: #e30; */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.base-header .menu-list li {
  display: inline-block;
}

.base-header .menu-list li a {
  display: block;
  padding: 24px 25px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--l);
  text-decoration: none;
  transition: all 0.2s ease-in;
}

.base-header .menu-list li a:hover {
  color: #000;
}

.base-header .logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.page-template-default:not(.home) .base-header .menu-list li a {
  color: #000;
}

.page-template-default:not(.home) .base-header .menu-list li a:hover {
  color: var(--c);
}

.page-template-default:not(.home) .base-header .logo img {
  filter: invert(1);
}

/**
 * Main Slider
*/

.swiper-container {
  /* height: 300px; */
  /* height: 900px; */
  text-align: center;
}

.swiper-pagination-bullet {
  background: var(--l);
  opacity: 1;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.swiper-pagination-bullet-active {
  background: #000;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 6px;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 60px;
}


/**
 * Boxes section
 */
.boxes-section {
  padding-top: 50px;
  padding-bottom: 10px;
  position: relative;
  top: -5px;
  background: var(--l);
  z-index: 1;

  .container {
    max-width: 1200px;
  }

  .row {
    margin-left: -30px;
    margin-right: -30px;
    margin-bottom: 20px;
    display: flex;

    .box {
      float: left;
      width: calc(33% - 60px);
      border: 2px solid var(--c);
      border-radius: 10px;
      margin: 0 30px;
      text-align: center;
      padding: 27px 27px;
      display: flex;
      flex-direction: column;
      /* justify-content: flex-end; */
      /* height: 331px; */
      text-align: center;

      .image {
        height: 150px;
        margin-bottom: 20px;

        >img {
          height: 100%;
          transition: transform .3s ease-in-out;
        }
      }

      &:hover {
        .image>img {
          transform: scale(1.05);
        }
      }

      p {
        font-weight: 700;
        font-size: 30px;
        text-transform: uppercase;
        line-height: 100%;
      }

      .for-btn .btn {
        margin-top: 20px;
      }
    }
  }

  .info {
    margin: 4rem 0 1rem;
    font-size: 18px;
    color: var(--c);

    >p {
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 30px;
      text-align: center;
    }

    .important {
      font-size: 2.5rem;
      font-weight: 900;
    }
  }
}

/**
 * About
 */
.about-section {
  position: relative;

  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--l);
    opacity: 0.8;
  }

  .wrapp {
    position: relative;
    z-index: 1
  }

  .content {
    padding-top: 60px;
    padding-bottom: 180px;
    position: relative;

    .container {
      position: relative;
      z-index: 1;
    }

    h2 {
      margin-bottom: 15px;
    }

    &::before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 120px;
      background: linear-gradient(0deg, #FFF0 0%, #FFF 100%);
      z-index: 0;
    }
  }
}

/**
 * FOOTER
 */
.footer-section {
  position: relative;
  padding: 70px 0;
  position: relative;
  font-size: 15px;
  color: var(--l);
  background-image: linear-gradient(0deg, #97000a 0%, #ff0000 100%);
  text-align: center;

  a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
  }
}


/**
 * Modal
*/

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 200;
  overflow-y: scroll;
  display: none;
}

.modal .container {
  position: relative;
}

.modal-content {
  margin: 80px 0;
  background: var(--l);
  border-radius: 5px;
  padding: 20px;
  text-align: center;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  color: var(--c);
  background: none;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}

.location-modal .image-map {
  max-width: none;
  max-height: none;
  width: 1396px;
  height: 906px;
}

.location-modal .modal-content {
  overflow: scroll;
}

.location-modal .area-1,
.location-modal .area-2 {
  position: absolute;
  height: 94px;
  cursor: pointer;
}

.location-modal .area-1 {
  width: 409px;
  top: 392px;
  left: 312px;
}

.location-modal .area-2 {
  width: 373px;
  right: 330px;
  top: 409px;
  z-index: 1;
}

.location-modal .image-location-1,
.location-modal .image-location-2 {
  position: absolute;
  z-index: 3;
  display: none;
}

.location-modal .image-location-1 {
  top: 180px;
  left: 45px;
}

.location-modal .image-location-2 {
  top: 190px;
  left: 840px;
}

.location-modal .container {
  max-width: 1435px;
}

/**
 * Sub page
*/

.sub-page {
  padding-top: 150px;
}

.sub-page h1 {
  text-align: center;
  margin-bottom: 40px;
}

.sub-page .content {
  line-height: 160%;
}

/**
 * Responsive
 */

@media (max-width: 1400px) {
  .container {
    width: 90%;
  }

  .base-header .menu-list li a {
    padding: 24px 12px;
  }

  .boxes-section {
    .row {

      margin-left: -15px;
      margin-right: -15px;

      .box {
        width: calc(33% - 30px);
        margin: 0 15px;

        p {
          font-size: 25px;
        }
      }
    }
  }
}

@media (max-width: 1200px) {
  .container {
    width: calc(100% - 40px);
  }

  .btn {
    font-size: 18px;
  }

  .boxes-section .row .box p {
    font-size: 22px;
  }

  .base-header .menu-list li a {
    font-size: 13px;
    padding: 24px 10px;
  }
}

@media (max-width: 1050px) {
  .base-header {
    .logo {
      position: relative;
      transform: none;
      left: 0;
      z-index: 10;

      img {
        width: 120px;
      }
    }

    .container {
      position: static;
    }

    .menu-nav {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--c);
      padding-top: 90px;
      padding-bottom: 20px;

      &.open {
        display: block;
      }

      .menu-gap {
        display: none;
      }

      .menu-list.left,
      .menu-list.right {
        float: none;
        width: 100%;
        text-align: center;
      }

      .menu-list li {
        display: block;

        a {
          padding: 10px 20px
        }
      }
    }

    .btn-hamburger {
      width: 60px;
      height: 45px;
      transition: .5s ease-in-out;
      cursor: pointer;
      position: absolute;
      top: 50%;
      right: 7px;
      z-index: 12;
      transform: translateY(-50%) scale(0.55);

      span {
        display: block;
        position: absolute;
        height: 9px;
        width: 100%;
        background: var(--l);
        border-radius: 9px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
      }

      span:nth-child(1) {
        top: 0px;
      }

      span:nth-child(2),
      span:nth-child(3) {
        top: 18px;
      }

      span:nth-child(4) {
        top: 36px;
      }

      &.open span:nth-child(1) {
        top: 18px;
        width: 0%;
        left: 50%;
      }

      &.open span:nth-child(2) {
        transform: rotate(45deg);
      }

      &.open span:nth-child(3) {
        transform: rotate(-45deg);
      }

      &.open span:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%;
      }
    }
  }

  .boxes-section {
    .row {
      margin-left: 0;
      margin-right: 0;
      flex-direction: column;

      .box {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
      }
    }
  }

  .modal-content {
    margin: 20px 0;
  }

  body.home {
    padding-top: 66px;

    .base-header {
      background: var(--c);
    }
  }

  .base-header {
    padding-top: 10px;
    padding-bottom: 5px;

    .logo img {
      width: 105px;
    }
  }


  .location-modal .image-location-1,
  .location-modal .image-location-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 600px) {
  .swiper-container-horizontal>.swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 35px;
  }

  .about-section .content {
    padding-top: 30px;
  }
}
