/* ------------------------ root -----------------------------------*/
:root {
  --accent-color: #d09633;
  --background: #a0cbe2;
  /* --background: #8baec1; */
  --yellow: #E7C521;
  --brown: #854F44;
  --base-color: #095e83;
  --link-color: #d09633;
}

/* --------------------------- template --------------------------- */
html {
  background: var(--background);
  color: var(--bs-gray-800);
  font: 1.0rem/1.2 Arial, Helvetica, sans-serif;
  font-weight: normal;
}

body {
  background: var(--background);
  background-attachment: fixed;

  &:has(.offcanvas.show) {
    overflow: auto !important;
    padding-right: 12px !important;
  }
}

/* .bg-1{
  background-color: #fff;
} */

a {
  color: var(--link-color);
  text-decoration: none;

  &:hover {
    color: var(--base-color);
  }
}

:is(h1, h2, h3) {
  color: var(--base-color);
  font-family: 'OldStandard', serif;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

img {
  height: auto;
  width: 100%;
}

p {
  /* font-size: 1.1rem; */
  line-height: 1.4;
}

ul {
  list-style: none;
}


/* --------------------------- header --------------------------- */
header {
  background: url(/templates/main/images/header-bg.png);
  padding: 0.5rem 1rem;

  &>.header {
    height: 116px;

    /* & .header-title {
      background: url(/templates/main/images/bg-header.jpg) center no-repeat;
      background-size: cover;
    } */

    & #logo {
      width: 80%;

      & img {
        max-height: 116px;
      }
    }

    & .big-title {
      margin-top: -0.5rem;
      position: relative;
      text-align: center;

      &>p {
        color: var(--accent-color);
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 0.5rem;
        text-shadow: 0 0 1px var(--bs-gray-100);
        text-transform: lowercase;

        & span {
          font-family: NarbutAbetka, serif;
          font-size: 4.6rem;
          letter-spacing: 1rem;
        }

        &:has(span) {
          margin-bottom: -1.2rem;
        }
      }
    }

    & .inclusive {
      font-size: 1.2rem;
      position: absolute;
      right: 6px;
      top: -6px;

      & .character {
        font-weight: bold;

        & span.small {
          font-size: 0.8rem;
        }
      }
    }
  }
}

:is(.character, .contrast) {
  background: none;
  border: none;
}

/* --------------------------- menu --------------------------- */
.menu-wrapper {
  background-color: #0e6d97;
}

#hiddenBlock {
  padding: 1rem;
  color: var(--accent-color);
  margin: auto;
  opacity: 0;
  padding: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;

  &.show {
    opacity: 1;
    visibility: visible;
  }
}

.logo-menu {
  text-align: right;
  text-transform: uppercase;

  & a {
    color: var(--accent-color);
  }

  & p {
    font-size: 0.9rem;
    letter-spacing: 0.19rem;
    line-height: 1;
    margin-bottom: 0;

    & span {
      font-weight: 600;
      letter-spacing: 0.8rem;
    }
  }
}

.main-menu {
  padding: 0;
  z-index: 2;

  & #navbarNav {
    /* &.collapse.show{
      background-color: var(--base-color);
      left: -140px;
      position: absolute;
      text-align: center;
      top: 61px;
      width: 300px;
    } */

    & ul {
      width: 100%;

      & li {
        &.nav-item {
          font-weight: 600;
          text-transform: uppercase;
        }

        & .nav-link {
          color: var(--bs-gray-300);

          &.active {
            color: var(--accent-color);
          }

          &:hover {
            color: var(--accent-color);
          }
        }
      }
    }
  }
}

.navbar-toggler-icon {
  background-color: var(--accent-color);
}

/* --------------------------- content --------------------------- */
main {
  &.row {
    background: radial-gradient(rgb(255 255 255 / 70%), transparent);
    min-height: calc(100vh - (116px + 315px + 62px + 35px));
    padding: 1rem 0;
    position: relative;
  }

  & h1 {
    padding-bottom: 1rem;
  }

  & .contentEditor {
    & p {
      text-indent: 1rem;
    }
  }
}

article {
  font-family: 'OldStandard', serif;
  font-weight: normal;
}

ul.list {
  padding: 0;

  &>li {
    display: flex;
    margin-bottom: 1rem;
    padding: 1rem 4rem;
    position: relative;

    & a {
      color: var(--bs-gray-100);
    }

    & h3 {
      margin: 0;
      width: 100%;
    }

    & img {
      margin-top: -0.6rem;
      width: 40px;
    }

    &:first-child {
      border-radius: 18px 18px 0 0;
      -webkit-border-radius: 18px 18px 0 0;
      -moz-border-radius: 18px 18px 0 0;
      -ms-border-radius: 18px 18px 0 0;
      -o-border-radius: 18px 18px 0 0;

      &:after {
        border-radius: 18px 18px 0 0;
        -webkit-border-radius: 18px 18px 0 0;
        -moz-border-radius: 18px 18px 0 0;
        -ms-border-radius: 18px 18px 0 0;
        -o-border-radius: 18px 18px 0 0;
      }

      &:before {
        border-radius: 18px 18px 0 0;
        -webkit-border-radius: 18px 18px 0 0;
        -moz-border-radius: 18px 18px 0 0;
        -ms-border-radius: 18px 18px 0 0;
        -o-border-radius: 18px 18px 0 0;
      }
    }

    &:last-child {
      border-radius: 0 0 18px 18px;
      -webkit-border-radius: 0 0 18px 18px;
      -moz-border-radius: 0 0 18px 18px;
      -ms-border-radius: 0 0 18px 18px;
      -o-border-radius: 0 0 18px 18px;

      &:after {
        border-radius: 0 0 18px 18px;
        -webkit-border-radius: 0 0 18px 18px;
        -moz-border-radius: 0 0 18px 18px;
        -ms-border-radius: 0 0 18px 18px;
        -o-border-radius: 0 0 18px 18px;
      }

      &:before {
        border-radius: 0 0 18px 18px;
        -webkit-border-radius: 0 0 18px 18px;
        -moz-border-radius: 0 0 18px 18px;
        -ms-border-radius: 0 0 18px 18px;
        -o-border-radius: 0 0 18px 18px;
      }
    }
  }
}

.list>li::after,
.list>li::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
}


.list>li:nth-child(odd) {
  background-color: var(--accent-color);

  &:before {
    right: 0;
    top: 0;
    -webkit-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: skewY(1deg);
    transform: skewY(1deg);
    -moz-transform: skewY(1deg);
    -ms-transform: skewY(1deg);
    -o-transform: skewY(1deg);
  }

  &:after {
    bottom: 0;
    left: 0;
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: skewY(-1deg);
    transform: skewY(-1deg);
    -moz-transform: skewY(-1deg);
    -ms-transform: skewY(-1deg);
    -o-transform: skewY(-1deg);
  }

  & a {
    &:hover {
      color: var(--base-color);
    }
  }

  & h3 {
    text-align-last: left;
  }
}

.list>li:nth-child(even) {
  background-color: var(--base-color);

  &:after {
    bottom: 0;
    left: 0;
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: skewY(1deg);
    transform: skewY(1deg);
    -moz-transform: skewY(1deg);
    -ms-transform: skewY(1deg);
    -o-transform: skewY(1deg);
  }

  &:before {
    right: 0;
    top: 0;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: skewY(-1deg);
    transform: skewY(-1deg);
    -moz-transform: skewY(-1deg);
    -ms-transform: skewY(-1deg);
    -o-transform: skewY(-1deg);
  }

  & a {
    &:hover {
      color: var(--accent-color);
    }
  }

  & h3 {
    text-align: right;
  }
}

.contentEditor {
  & img {
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
  }
}

.group-badge {
  height: 220px;
  font-family: sans-serif;
  font-weight: normal;

  &>div {
    display: flex;

    & .badge-item {
      background-color: var(--base-color);
      border-radius: 16px;
      color: var(--background);
      height: 180px;
      margin: auto;
      width: 100%;

      & .img {
        position: relative;

        &>img {
          aspect-ratio: 1/1;
          border: 4px solid var(--base-color);
          border-radius: 50%;
          left: -1rem;
          position: absolute;
          top: -1rem;
          width: 140px;
        }
      }

      & .text {
        & h3 {
          color: var(--accent-color);
          font-family: sans-serif;
          font-size: 1.2rem;
          margin-bottom: 0.2rem;
          padding-top: 1rem;
        }

        & p:nth-of-type(1) {
          margin-bottom: 0.5rem;
          text-align: center;
        }

        & p:nth-of-type(2) {
          font-size: 1rem;
          line-height: 1.2;
        }
      }
    }
  }
}


/* --------------------------- home --------------------------- */
#home {

  & h1,
  h2 {
    border: 1px solid var(--base-color);
    border-radius: 16px;
    font-size: 2rem;
    margin: 2rem 0 1rem;
    padding: 0.2rem 1rem;
    width: auto;
  }

  & h2.name {
    font-size: 1.2rem;
    margin: 1rem 0;

    & a {
      color: var(--accent-color);

      &:hover {
        color: var(--background);
      }
    }
  }

  & .title {
    display: none;
  }

  & .anons {
    background: var(--accent-color);
    border: 1px solid white;
    border-radius: 50px;
    padding: 0.5rem 0;

    & p {
      margin: 0;
    }
  }
}

.grid-box {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 1px;

  & .grid-item {
    background-color: var(--bs-danger);
    display: flex;
  }

  & .grid-item:nth-of-type(odd) {
    background-color: var(--bs-warning);
  }

  & .grid-item:nth-child(1) {
    background-image: linear-gradient(to left, #f4c7d9, #a9cce3);
    ;
    grid-area: 1 / 1 / 6 / -1;
  }

  & .grid-item:nth-child(2) {
    background-color: #f4c7d9;
    grid-area: 6 / 1 / 7/ 3;
  }

  & .grid-item:nth-child(3) {
    background: linear-gradient(45deg, #ffdfe4, #c7e4f3);
    grid-area: 6 / 3 / 9 / 5;

    &>a {
      margin: auto;
    }
  }

  & .grid-item:nth-child(4) {
    background-color: #a9cce3;
    grid-area: 6 / 5 / 9 / 6;
  }

  & .grid-item:nth-child(5) {
    background-color: #c7e4f3;
    grid-area: 6 / 6 / 7 / 8;
  }

  & .grid-item:nth-child(6) {
    background: linear-gradient(to left, #ffdfe4, #c7e4f3);
    grid-area: 6 / 8 / 7 / -1;
  }

  & .grid-item:nth-child(7) {
    background-color: #ffdfe4;
    grid-area: 6 / 1 / 8 / 3;
  }
}

.wrapper-nav-fp {
  margin-top: 1rem;

  &>div {
    padding: 1rem;

    &>.item-nav-fp {
      background-color: var(--base-color);
      border: 6px double var(--background);
      border-radius: 1rem;
      height: 320px;
      position: relative;
      width: 100%;

      & p {
        color: var(--bs-gray-100);
        font-size: 2rem;
        font-weight: 600;
        line-height: 1;
        margin: 0 0 0 50%;
        position: absolute;
        text-align: center;
        text-transform: lowercase;
        top: 76%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);

        &>a {
          color: var(--bs-gray-100);

          &:hover {
            color: var(--accent-color);
          }
        }

      }

      &>a {
        position: absolute;
        right: -24px;
        top: -24px;
      }

      & img {
        aspect-ratio: 1 / 1;
        border: 6px double var(--bs-gray-300);
        border-radius: 16px;
        height: 260px;
      }
    }

  }
}


/* --------------------------- footer --------------------------- */
footer {
  color: var(--background);

  &.row {
    background: var(--base-color);
    height: 300px;
    padding: 0;
  }

  & .footer {
    padding: 0;
  }

  & a {
    &:hover {
      color: var(--accent-color);
    }
  }

  & .row {
    &.copyright {
      border-top: 1px solid var(--background);
    }
  }

  & h4 {
    letter-spacing: -0.6px;
  }

  & p {
    font-size: 1rem;
  }

  & #logo {
    align-self: center;

    & a {
      display: flex;
    }
  }

  & .dron {
    aspect-ratio: 1 / 1;
    background-color: var(--accent-color);
    border: 1px solid white;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    color: var(--base-color);
    font-size: 0.9rem;
    line-height: 1;
    margin: auto;
    padding: 1rem;
    position: relative;
    text-align: center;
    width: 80%;

    & img {
      aspect-ratio: 1 / 1;
      position: absolute;
      right: -15px;
      transform: rotate(36deg);
      top: -19px;
      width: 50%;
    }
  }

  #footerMenu {
    & .nav {
      & .nav-link {
        color: var(--background);

        &:hover {
          color: var(--accent-color);
        }
      }
    }
  }

  & .copyright {
    align-items: end;
    font-size: 0.9rem;

    & p {
      margin-bottom: 0;
      padding: 0.2rem 0 0 4rem;
    }
  }
}

/* --------------------------- news --------------------------- */
:is(.news-panel-one, .list-news) {
  & figure {
    background-color: var(--base-color);
    border: 8px double var(--background);
    border-radius: 16px;
    color: var(--bs-gray-100);
    padding: 0.5rem 1rem;

    & figcaption {
      height: 7rem;
      text-align: center;

      & a {
        &:hover {
          color: var(--background);
        }
      }

      & h2 {
        color: var(--accent-color);
        font-family: sans-serif;
        font-size: 1.0rem;
        height: 92px;
        margin-bottom: 1rem;
        overflow: hidden;
      }
    }

    & div {
      &:has(img) {
        aspect-ratio: 1 / 1;
        border-radius: 4px;
        overflow: hidden;

        & img {
          height: 100%;
          object-fit: cover;
          width: 100%;
        }
      }
    }
  }
}

.list-news {
  & figcaption {
    padding: 1rem 0;
  }
}

ul.list-news {
  flex-wrap: wrap;
  padding: 0;
}

.one-new.date {
  aspect-ratio: 1;
  background-color: var(--bs-danger);
  border-radius: 50%;
  color: var(--bs-gray-100);
  font-family: Maxima, sans-serif;
  font-size: 1.3rem;
  left: 90px;
  line-height: 3;
  padding: 4px;
  position: absolute;
  top: -2.5rem;
  width: 70px;
}

.container>.paginator {
  & .btn {
    margin: 0 .2rem;
    width: 12%;

    &:disabled {
      cursor: default;
    }
  }
}

.back {
  border-radius: 12px 0 0 12px;
  -webkit-border-radius: 12px 0 0 12px;
  -moz-border-radius: 12px 0 0 12px;
  -ms-border-radius: 12px 0 0 12px;
  -o-border-radius: 12px 0 0 12px;
}

.back-link {
  border-radius: 0;
}

.next {
  border-radius: 0 12px 12px 0;
  -webkit-border-radius: 0 12px 12px 0;
  -moz-border-radius: 0 12px 12px 0;
  -ms-border-radius: 0 12px 12px 0;
  -o-border-radius: 0 12px 12px 0;
}

:is(.back, .next) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-img {
  display: flex;
  margin-bottom: 2rem;
  max-height: 500px;
  max-width: 600px;

  & img {
    border: 8px double var(--bs-gray-300);
    border-radius: 16px;
    margin: auto;
  }
}

.new-text {
  margin-bottom: 2rem;
}

/* --------------------------- blog --------------------------- */
.list-blog {
  & li {
    margin-bottom: 2rem;

    & h2 {
      color: var(--accent-color);
      font-family: sans-serif;
      font-size: 1.2rem;
      height: 50px;
      padding: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      /* white-space: nowrap; */

    }

    & .img {
      aspect-ratio: 1/1;
      background-position: center;
      background-size: cover;
      border: 4px double var(--bs-gray-100);
      border-radius: 8px;
      padding: 0;
    }

    & .date {
      aspect-ratio: 1;
      background-color: var(--bs-danger);
      border: 1px solid var(--bs-gray-100);
      border-radius: 50%;
      color: var(--bs-gray-100);
      font-family: Maxima, sans-serif;
      left: -1rem;
      line-height: 3;
      padding: 0.3rem;
      position: absolute;
      top: 3rem;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
    }

    & .lead {
      font-family: sans-serif;
      font-size: 1rem;
      line-height: 1.5;
      text-align: left;
    }

    & .more {
      bottom: 1rem;
      display: block;
      position: absolute;
      right: 1rem;
      text-align: right;
      width: 100%;
    }

    & figure {
      background-color: var(--base-color);
      border: 8px double var(--background);
      border-radius: 16px;
      color: var(--bs-gray-100);
      padding: 1rem 0.5rem;
      position: relative;

      & figcaption {
        height: 7rem;
        padding-right: 0;
        text-align: center;

        & a {
          color: var(--accent-color);

          &:hover {
            color: var(--background);
          }
        }
      }

      & div {
        &:has(img) {
          aspect-ratio: 1 / 1;
          border-radius: 4px;
          overflow: hidden;

          & img {
            height: 100%;
            object-fit: cover;
            width: 100%;
          }
        }
      }
    }
  }
}

/* .list-blog {
  & li {
    margin-bottom: 2rem;

    & h2 {
      color: var(--accent-color);
      font-family: sans-serif;
      font-size: 1.2rem;
      height: 60px;
      margin-bottom: 1rem;
    }

    & .img {
      aspect-ratio: 1/1;
      background-position: center;
      background-size: cover;
      border: 4px double var(--bs-gray-100);
      border-radius: 8px;
      position: relative;
      width: auto;
    }

    & .date {
      background-color: var(--accent-color);
      border: 1px solid var(--bs-gray-100);
      border-radius: 8px;
      color: var(--bs-gray-100);
      left: -1rem;
      padding: 0.3rem 0.5rem;
      position: absolute;
      top: -1rem;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      -ms-border-radius: 8px;
      -o-border-radius: 8px;
    }

    & .lead {
      font-family: sans-serif;
      font-size: 1rem;
      line-height: 1.5;
      text-align: left;
    }

    & .more {
      bottom: 1rem;
      display: block;
      position: absolute;
      right: 1rem;
      text-align: right;
      width: 100%;
    }

    & figure {
      background-color: var(--base-color);
      border: 8px double var(--background);
      border-radius: 16px;
      color: var(--bs-gray-100);
      height: 700px;
      padding: 1rem 1rem 0.5rem;
      position: relative;

      & figcaption {
        height: 7rem;
        padding: 1rem 0;
        text-align: center;

        & a {
          &:hover {
            color: var(--background);
          }
        }
      }

      & div {
        &:has(img) {
          aspect-ratio: 1 / 1;
          border-radius: 4px;
          overflow: hidden;

          & img {
            height: 100%;
            object-fit: cover;
            width: 100%;
          }
        }
      }
    }
  }
} */

/* ul.list-blog {
  & li {
    margin-bottom: 2rem;

    & h2 {
      color: var(--bs-gray-300);
      font-family: sans-serif;
      margin-bottom: 1rem;
    }

    & .img {
      background-position: center;
      background-size: cover;
      border: 4px double var(--bs-gray-100);
      border-radius: 8px;
      height: 180px;
      position: relative;
      width: 180px;
    }

    & .date {
      background-color: var(--accent-color);
      border: 1px solid var(--bs-gray-100);
      border-radius: 8px;
      color: var(--bs-gray-100);
      left: -1rem;
      padding: 0.3rem 0.5rem;
      position: absolute;
      top: -1rem;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      -ms-border-radius: 8px;
      -o-border-radius: 8px;
    }

    & .lead {
      line-height: 1.3;
    }

    & .more {
      display: block;
      text-align: right;
      width: 100%;
    }
  }
} */

/* --------------------------- form --------------------------- */

/* --------------------------- gallery --------------------------- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

/* --------------------------- search --------------------------- */
.search-button {
  color: var(--accent-color);
  font-size: 2rem;
  width: 50px;
  z-index: 10;
}

/* --------------------------- slider --------------------------- */


/* --------------------------- column --------------------------- */

/* --------------------------- catalog --------------------------- */

/* ---------------------------- map ---------------------------- */

/* ---------------------------- mix ---------------------------- */
.branchLine {
  border-bottom: 1px solid var(--base-color);
  color: var(--base-color);
  padding: .3rem 0;
  text-align: center;

  & a {
    text-decoration: none;
  }

  & i {
    font-size: 0.5rem;
    margin: 0 .3rem;
  }
}

#offcanvasCalendar {
  &.offcanvas {
    background-color: var(--base-color);
    border-radius: 0 0 8px 0;
    height: 300px;
    top: 420px;
    width: 300px;

    &.offcanvas-header {
      border-radius: 8px;
      -webkit-border-radius: 0 0 8px 0;
      -moz-border-radius: 0 0 8px 0;
      -ms-border-radius: 0 0 8px 0;
      -o-border-radius: 0 0 8px 0;
    }

    & .btn-close {
      right: 100px;
    }

    & button {
      & .day {
        aspect-ratio: 1 / 1;
        background-color: var(--bs-danger);
        border-radius: 50%;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.0rem;
        left: 50%;
        line-height: 1.1;
        top: 10px;
        padding: 0.3rem;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
      }

      & i.fa-angle-double-right {
        font-size: 1.6rem;
      }

      & i.fa-calendar {
        font-size: 2.6rem;
      }
    }

    &.show {
      & button {
        & i.fa-angle-double-right {
          transform: rotate(180deg);
          -webkit-transform: rotate(180deg);
          -moz-transform: rotate(180deg);
          -ms-transform: rotate(180deg);
          -o-transform: rotate(180deg);
        }
      }
    }

    & button {
      background-color: var(--accent-color);
      border-radius: 12px;
      border-bottom-left-radius: 0;
      border-top-left-radius: 0;
      color: var(--bs-gray-100);
      min-width: 50px;
      padding: 0;
      position: absolute;
      right: 0;
      transform: translateX(100%);
      -webkit-transform: translateX(100%);
      -moz-transform: translateX(100%);
      -ms-transform: translateX(100%);
      -o-transform: translateX(100%);
      visibility: visible;
    }
  }
}

#offcanvasArchive {
  &.offcanvas {
    background-color: var(--base-color);
    height: 160px;
    top: 240px;
    width: 180px;

    & .offcanvas-header {
      color: var(--accent-color);

      & .btn-close {
        right: 100px;
      }
    }

    & ul {
      padding: 0;
    }

    & a {
      &:hover {
        color: var(--accent-color);
      }
    }

    & button {
      & .day {
        aspect-ratio: 1 / 1;
        background-color: var(--bs-danger);
        border-radius: 50%;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.0rem;
        left: 50%;
        line-height: 1.1;
        top: 10px;
        padding: 0.3rem;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
      }

      & i.fa-angle-double-right {
        font-size: 1.6rem;
      }

      & i.fa-calendar {
        font-size: 2.6rem;
      }
    }

    &.show {
      & button {
        & i.fa-angle-double-right {
          transform: rotate(180deg);
          -webkit-transform: rotate(180deg);
          -moz-transform: rotate(180deg);
          -ms-transform: rotate(180deg);
          -o-transform: rotate(180deg);
        }
      }
    }
  }

  & button {
    background-color: var(--accent-color);
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    color: var(--base-color);
    height: 160px;
    font-weight: bold;
    min-width: 50px;
    position: absolute;
    right: 0;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    visibility: visible;

    &:hover {
      color: var(--bs-gray-300);
      font-weight: normal;
    }
  }

  & p {
    font-size: 0.9rem;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
  }
}

#scrollTopBtn {
  background: transparent;
  bottom: 300px;
  color: var(--bs-gray-300);
  font-size: 3rem;
  height: 80px;
  position: fixed;
  right: 10px;
  z-index: 100;
  border: none;
  cursor: pointer;
  opacity: 0;
  /* початково прихована */
  visibility: hidden;
  /* щоб не клікабельна */
  transition: opacity 0.4s ease, visibility 0.4s ease;
  width: 40px;

  &:hover {
    color: var(--accent-color);
  }

  &.show {
    opacity: 1;
    visibility: visible;
  }
}

/* --------------------------- comment -------------------------- */
