/* #region <front> */
#fpb {
  background-image: url(../images/front-dark.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #f2f2f2;
  height: 935px;
}
#fpb a {
  color: #f2f2f2;
}
#fpb .fc {
  max-width: 1180px;
  margin: 0 auto;
}
#fpb .p43 {
  flex-basis: 75%;
}
  #fpb .logo {
    display: flex;
    justify-content: center;
    width: 235px;
    height: 240px;
    background-color: white;
  }
    #fpb .logo img {
      align-self: center;
    }
  #fpb .slogan h1 {
    margin: 40px 0;
    font-size: 3.1em;
    text-transform: uppercase;
    font-weight: bold;
  }
  #fpb .p4 {
    display: flex;
  }

  #fpb .c {
    display: flex;
    justify-content: space-between;
    height: 415px;
    font-weight: lighter;
  }
    #fpb .clr {
      padding: 38px;
      background-color: rgba(0,0,0,0.7);
    }
    #fpb .clr.l {
      flex-basis: 47.5%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      font-size: 2.2em;
      text-transform: uppercase;
    }
      #fpb .clr.l .b {
        font-size: 1.4em;
        font-weight: bold;
      }
    #fpb .clr.r {
      flex-basis: 50%;
    }
#fpb .p41 {
  flex-basis: 25%;
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
  #fpb .p41 a {
    font-size: 1.8em;
  }
  #fpb .pl {
      width: 100px;
      height: 0.37em;
      margin: 0 0.8em 0.15em;
      background: white;
      transform: skewX(315deg);
  }
  #fpb .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 270px;
    height: 45px;
    border: 1px solid white;
    font-size: 1.2em;
    cursor: pointer;
    user-select: none;
  }





#totoro-callback-form input {
  width: 270px;
  height: 45px;
  text-align: center;
  background: none;
  border: 1px solid white;
  border-bottom: none;
  color: white;
}
#totoro-callback-form input:not(:placeholder-shown), #totoro-callback-form input:is(:-webkit-autofill, :autofill) {
  background-color: rgba(0,0,0,0.7);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  -webkit-box-shadow: 0 0 0px 40rem rgba(0,0,0,0.7) inset;
}
#totoro-callback-form fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

#totoro-callback-form input.form-submit {
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
  width: 270px;
  height: 45px;
  background: none;
  border: 1px solid white;
  color: white;
}
#totoro-callback-form input:hover, #totoro-callback-form input.form-submit:hover, #fpb .btn:hover {
  background-color: rgba(0,0,0,0.7);
}
#totoro-callback-form .form-item {
  position: relative;
}
#totoro-callback-form .form-item--error-message{
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b00b0bbb;
  border-radius: 1rem 0 0 1rem;
  padding: 1rem;
  font-size: 0.8rem;
}
#totoro-callback-form .messages > div {
  width: 270px;
  padding: 1rem;
}
#totoro-callback-form .messages .error {
  display: none;
}
/* #endregion <front> */


::placeholder {
  color: white;
  opacity: 1; /* Firefox */
}

#fpp .fc {
  position: relative;
  padding-top: 30px;
}
  #fpp .fc:after {
    content: "";
    position: absolute;
    top: 0;right: 0;bottom: 0;left: 0;
    background-image: linear-gradient(to bottom, rgba(49, 49, 49, 0.3) 0%, #313131 100%);
  }
    #fpp .fc img {
    margin: 0 auto;
  }




@media only screen and (max-width: 600px) {
  #fpb .p43, #fpp {
    display: none;
  }
  #fpb .p4 {
    justify-content: center;
  }
  #fpb .c {
    flex-direction: column;
    align-items: stretch;
    font-size: 0.7em;
    height: auto;
  }
  #fpb .clr {
    margin: 15px 0;
  }
  .kg-footer {
        flex-direction: column;
    align-items: center;
  }
  #fpb {
    height: auto;
  }
}





.frame-center {
  max-width: 1180px;
  margin: 0 auto;
}

.title-box h3 {
  margin: 0;
  font-size: 35px;
  text-transform: uppercase;
}

/* #region BLOCK frontpage */
.frontpage-block {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #f2f2f2;
  height: 935px;
}
.frontpage-block .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 235px;
  height: 240px;
  background-color: white;
}
.frontpage-block .logo img {
  width: 150px;
}
.frontpage-block h1 {
  margin: 40px 0;
  font-size: 3.1em;
  text-transform: uppercase;
  font-weight: bold;
}
.frontpage-block .bold {
  font-size: 1.4em;
    font-weight: bold;
}
/* #region callback */
.frontpage-block .p4 {
  display: flex;
}
.frontpage-block .p43 {
  flex-basis: 75%;
}
.frontpage-block .p41 {
  flex-basis: 25%;
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.frontpage-block .p41 > a {
  font-size: 1.8em;
  color: #f2f2f2;
}
.frontpage-block .p41 .pl {
  width: 100px;
  height: 0.37em;
  margin: 0 0.8em 0.15em;
  background: white;
  transform: skewX(315deg);
}
.frontpage-block .p41 #btn_callback {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 270px;
  height: 45px;
  border: 1px solid white;
  font-size: 1.2em;
  cursor: pointer;
  user-select: none;
}
/* #endregion */
.frontpage-block .boxes {
  display: flex;
  justify-content: space-between;
  height: 415px;
  font-weight: lighter;
}
  .frontpage-block .boxes .left {
    flex-basis: 47.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 2.2em;
    text-transform: uppercase;

    padding: 38px;
    background-color: rgba(0, 0, 0, 0.7);
  }
  .frontpage-block .boxes .right {
    flex-basis: 50%;
    padding: 38px;
    background-color: rgba(0, 0, 0, 0.7);
  }
/* #endregion */
/* #region Gallery */
.gallery-grid .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
  .gallery-grid a {
    align-items: center;
    justify-content: center;
  }
    .gallery-grid img {
      width: 100%;
      height: auto;
    }
#gallery-full {
  position: fixed;
  inset: 0 0 0 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  user-select: none;
  padding: 3rem;
  gap: 1rem;
}
  #gallery-full .nav {
    flex: 0 0 2.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
  }
    #gallery-full .bullets {
      padding: 0 2rem;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      /*gap: 0.8rem;*/
    }
      #gallery-full .bullets li {
        width: 2rem;
        height: 2rem;
        margin: 0.5rem;
        opacity: 0.6;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
      }
        #gallery-full .bullets li:hover {
          opacity: 1;
        }
        #gallery-full .bullets li:before {
          position: absolute;
          content: ' ';
          width: 1.5rem;
          height: 1.5rem;
          border: 2px solid white;
          border-radius: 2rem;
        }
        #gallery-full .bullets li.active:before {
          background-color: white;
        }
    #gallery-full .close {
      display: flex;
      align-items: center;
      color: white;
      cursor: pointer;
      opacity: 0.6;
      position: relative;
      padding: 0 3rem 0 1.5rem;
    }
      #gallery-full .close:hover {
        opacity: 1;
        background-color: black;
      }
      #gallery-full .close:before, #gallery-full .close:after {
        content: ' ';
        position: absolute;
        right: 1rem;
        width: 1.5rem;
        height: 2px;
        background-color: white;
        transform: rotate(45deg);
      }
      #gallery-full .close:after {
        transform: rotate(-45deg);
      }
  #gallery-full .slider {
    flex: 1 1 0%;
    display: flex;
    overflow: hidden;
  }
    #gallery-full .frame {
      flex: 1 1 0%;
      position: relative;
      background-color: rgba(0, 0, 0, 0.8);
      cursor: grab;
      overflow: hidden;
    }
      #gallery-full .items {
        width: max-content;
        height: 100%;
        position: relative;
      }
        #gallery-full .item {
          height: 100%;
          display: flex;
          justify-content: center;
          /*align-items: center;*/
          float: left;
        }
          #gallery-full img {
            object-fit: cover;
          }
    #gallery-full .arrow {
      flex: 0 0 5rem;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background-color: rgba(0, 0, 0, 0.8);
      opacity: 0.6;
      border-radius: 10px 0 0 10px;
    }
    #gallery-full .arrow:hover {
      opacity: 1;
    }
    #gallery-full .arrow.right {
      transform: rotate(180deg);
    }
      #gallery-full .arrow:before {
        position: absolute;
        content: ' ';
        border: 0.2rem solid white;
        width: 2rem;
        height: 2rem;
        border-width: 0.2rem 0 0 0.2rem;
        transform: rotate(-45deg);
        margin-left: 1rem;
      }



@media only screen and (max-width: 600px) {
  #gallery-full .arrow {
    display: none;
  }
}
#gallery-full:fullscreen {
  padding: 0;
  gap: 0;
}
/* #endregion Gallery */
/* #region BLOCK oldsite */
.oldsite-block .core {
  position: relative;
  padding-top: 2em;
}
  .oldsite-block .core:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(49, 49, 49, 0.3) 0%, #313131 100%);
  }
  .oldsite-block img {
    margin: 0 auto;
  }
/* #endregion */
