/*animate elements styles */

/* PROGRESS BAR */
#scroll-progress {
    position: fixed;
    top: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 99999;
}


.fromOpacity {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.fromTop {
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 2s ease-in-out, transform 1.5s ease-in-out;
}

.fromRight {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 2s ease-in-out, transform 1.5s ease-in-out;
}

.fromLeft {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 2s ease-in-out, transform 1.5s ease-in-out;
}

.fromBottom {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 2s ease-in-out, transform 1.5s ease-in-out;
}

.animateScale {
    opacity: 0;
    transform: scale(0);
    transition: opacity 2s ease-in-out, transform 1.5s ease-in-out;
}

.fromOpacity.elementShow,
.fromTop.elementShow,
.fromBottom.elementShow,
.fromRight.elementShow,
.animateScale.elementShow,
.fromLeft.elementShow {
    opacity: 1;
    transform: none;
}

.section-title.fromOpacity .heading-line {
    width: 0;
    transition: all 2s ease-in-out;
}

.section-title.fromOpacity.elementShow .heading-line {
    width: 60%;
}

.section-title {
    margin-bottom: 40px;
    position: relative;
}

.fixed-container {
    width: 100%;
    padding: 0 100px;
}

.fluid-container {
    width: 100%;
    padding: 7vh 0;
}

section.section {
    padding: 12vh 0;
}

.p0 {
    padding: 0;
}

.pt0 {
    padding-top: 0 !important;
}

._centered {
    text-align: center;
}

.color-primary {
    color: var(--primary) !important;
}

.color-accent {
    color: var(--accent);
}

.color-white {
    color: var(--white);
}

.section-title h2 {
    margin-bottom: 0;
    line-height: 100%;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.section-title .section-title__description {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    position: absolute;
    top: -30px;
    width: max-content;
    font-family: 'Cera', sans-serif;
    text-transform: uppercase;
    left: 0;
    /* transform: translateX(50px); */
    padding: 5px 10px;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-title .heading-line {
    width: 85%;
    height: 4px;
    background: var(--orange-gradient);
    display: block;
}

.section-title {
    width: fit-content;
}

.section-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
}

.section-title._centered {
    text-align: center;
    width: 100%;
    align-items: center;

    filter: drop-shadow(0 -30px 4px rgba(51, 51, 51, .2));
    -webkit-filter: drop-shadow(0 -30px 4px rgba(51, 51, 51, .2));
    -moz-filter: drop-shadow(0 -30px 4px rgba(51, 51, 51, .2));
    -o-filter: drop-shadow(0 -30px 4px rgba(51, 51, 51, .2));
    -ms-filter: drop-shadow(0 -30px 4px rgba(51, 51, 51, .2));
}

.section-title.white-text {
    color: #fff;
}

.white-text {
    color: #fff;
}

/* .section-title.white-text.elementShow h2 {
    filter: drop-shadow(30px -30px 2px rgba(0, 0, 0, .1));
    -webkit-filter: drop-shadow(30px -30px 2px rgba(0, 0, 0, .1));
    -moz-filter: drop-shadow(30px -30px 2px rgba(0, 0, 0, .1));
    -o-filter: drop-shadow(30px -30px 2px rgba(0, 0, 0, .1));
    -ms-filter: drop-shadow(30px -30px 2px rgba(0, 0, 0, .1));
} */


@media (max-width: 1400px) {
    .fixed-container {
        width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .fixed-container {
        width: 100%;
        padding: 0 15px;
    }
}

.site-header {
    padding: 10px 0;
    position: fixed;
    width: 98%;
    z-index: 55;
    margin: 0 auto;
    border-radius: 70px;
    left: 1%;
    top: 1%;
    /* background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
    -o-backdrop-filter: blur(20px); */
}

.site-header .fixed-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-branding a.header__inner__logo {
    height: 70px;
    width: 250px;
    display: block;
    transition: all .5s ease-in-out;
}

.site-branding {

    display: flex;
    align-items: center;
}

.site-branding p {
    margin: 0;
}

.site-header.header-scroll {
    padding: 10px 0;
    background: rgba(51, 51, 51, .9);
}

.site-header.header-scroll .header__inner__logo.scroll {
    height: 50px;
    width: 150px;
}

.site-header.header-scroll nav ul .menu-item a {
    color: #fff;
}

.header__inner__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.site-header .fixed-container .btn {
    padding: 7px 10px;
    line-height: 1;
}

.header-buttons {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
}

.hero-section {
    position: relative;
    height: 96vh;
    overflow: hidden;
}

.video-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-section:after {
    background:
        rgba(0, 0, 0, .4);
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}

.hero-background picture {
    height: 100%;
    width: 100%;
    display: block;
}

.hero-background picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* filter: blur(10px);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px); */
}

.hero-description {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Cera';
    line-height: 120%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .65) 30%, rgba(10, 10, 10, 0.5) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
}



.hero-png-pic {
    z-index: 5;
    position: absolute;
    right: 0;
    object-fit: contain;
    object-position: right bottom;
    width: 90%;
    bottom: 0;
    height: 100%;
}


.hero-content__inner {
    position: relative;
    z-index: 7;
}

.hero-content__inner {
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.hero-content__inner__left {
    width: 60%;
}

.hero-content__inner__right {
    width: calc(40% - 40px);
    display: flex;
    align-items: flex-end;
}

.hero-content__inner p {
    margin: 0;
}

.watch-video__button {
    width: 70px;
    height: 70px;
    display: block;
    background-color: transparent;
    border-radius: 100%;
    position: relative;
}

.watch-video__button svg path {
    fill: var(--accent);
}

.watch-video__button svg {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.hero-content .fixed-container {
    gap: 15px;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.watch-video {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    /* background:rgba(255,255,255,.8); */
    padding: 7px;
    border-radius: 15px;
}

.watch-video:after {
    content: '';
    display: block;
    position: absolute;
    width: 414.0px;
    height: 250px;
    background-image: url(../images/svg/stroke1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: -20px;
    left: 0;
    transform: rotate(-5deg);
}

.watch-video p {
    font-size: 28px;
    color: var(--accent);
    line-height: 100%;
    width: calc(100% - 90px);
    font-family: 'Accid';
}

#hero-popup {
    padding: 0;
    width: 70% !important;
}

.hero-content__inner h2 {
    margin-bottom: 0;
    font-size: calc(1em + 3vw);
}

.hero-content__inner__left h2::first-line {
    font-size: calc(1em + 5vw);
    font-weight: 400;
    color: var(--accent);
}

.section-description {
    margin-top: 40px;
    width: 60%;
}

.section._welcome {
    padding-bottom: 17vh;
}

.welcome__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    align-items: center;
}

.welcome__inner__pics {
    position: relative;
    display: flex;
}

.welcome__inner__pics a {
    display: block;
    width: 320px;
    height: 360px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all .5s ease-in-out;
}

.welcome__inner__pics a img {
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s ease-in-out;
}

.welcome__inner__pics a:nth-child(2) {
    transform: translate(-20%, 10%);
    z-index: 2;
}

.welcome__inner__pics a:hover:first-child {
    z-index: 3;
}

.welcome__inner__pics a:hover {
    transform: scale(1.02) translate(-5px, 10px);
}

.welcome__inner__pics a:nth-child(2):hover {
    transform: translate(-18%, 12%);
}

.welcome__inner__pics a:first-child {
    transform: translate(0, -30px);
}

.welcome__inner__pics a:first-child:hover {
    transform: translate(10px, -20px);
}

.welcome__inner__pics a:hover img {
    filter: brightness(1.25);
}

.welcome__inner__pics a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.welcome__inner__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome__inner__text,
.video-block__right {
    position: relative;
    font-size: 18px;
    font-weight: 400;
}

.welcome__inner__text::after {
    content: '';
    width: 250px;
    height: 30px;
    background-image: url(../images/svg/stroke2.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -20px;
    right: -20px;
    transform: rotate(-15deg);
    z-index: -1;
}

.section._way-section {
    position: relative;
    background: var(--primary);
    padding-bottom: 5vh;
}

.way-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.way-list__item {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
}

/* .way-list__item {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    padding: 30px;
    background: rgb(58, 58, 58);
} */

.way-list__item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    filter: grayscale(0.7);
    transition: opacity .7s ease-in-out, filter 1.5s linear;
}

.way-num {
    font-size: 30px;
    line-height: 1;
    z-index: 1;
    font-family: 'Accid', sans-serif;
    color: var(--accent);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 10px;
    border: 2px solid var(--accent);
    border-radius: 100%;
}

.way-list__item:hover img {
    opacity: 0.3;
    filter: grayscale(0);
}

.way-list__item__content {
    padding-bottom: 60px;
}

.way-list .way-list__item h3 {
    z-index: 3;
    position: relative;
    line-height: 100%;
    font-size: 40px;
    font-weight: 400;
}


.way-list .way-list__item h3,
.way-list__item div {
    z-index: 3;
    position: relative;
    line-height: 120%;
}

/* .way-list__item h3::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    display: block;
    margin: 20px 0;
} */


/* .reasons-list li:first-child{
    animation-delay: 500ms;
}

.reasons-list li:nth-child(2){
    animation-delay: 1200ms;
}

.reasons-list li:nth-child(3){
    animation-delay: 1900ms;
} */

.way-list li.fromOpacity:nth-child(4) {
    animation-delay: 2600ms;
}

/*HIVUS*/

.hivus-block {
  display: grid;
  grid-template-columns: 60% calc(40% - 20px);
  gap: 20px;
  align-items: stretch;
}

.hivus-list__item p {
  margin-bottom: 0;
  margin-top: 15px;
}

.hivus-list__item h4 {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
}

.hivus-list__item h4:before{
    content:'';
    width: 30px;
    height: 30px;
    display: block;
    background: url(../images/svg/marker.svg) no-repeat;
    background-position: center;
    background-size: contain;
}

.hivus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hivus-list__item {
  width: calc(100% / 2 - 20px);
  flex-grow: 1;
}

.hivus-list__item {
  background: #E9FAE6;
  padding: 20px;
  border-radius: 10px;
}

.hivus-block__right img {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  object-fit: cover;
  object-position: right;
}

.hivus-block__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.num-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.num-inner::after {
    content: '';
    display: block;
    height: 2px;
    width: calc(100% - 60px);
    background: var(--accent);
}

.num-inner {
    width: 100%;
}

.way-list li:last-child .num-inner::after {
    content: none;
}

.way-list li:last-child .way-list__item__content {
    padding-bottom: 0;
}

.text-block {
    color: #fff;
    font-size: 24px;
}

.text-block {
    position: relative;
    color: #fff;
    font-size: 28px;
    margin-top: 40px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: top;
    font-family: 'Accid';
}

.section._about-section:before {
    content: '';
    width: 100%;
    height: 200px;
    background:
        url(../images/svg/triangle2.svg) repeat-x;
    background-size: auto;
    background-size: auto;
    background-size: auto;
    background-size: auto;
    position: absolute;
    display: block;
    position: absolute;
    top: -1px;
    background-size: contain;
    right: 0;
}

.section._about-section:after {
    content: '';
    width: 100%;
    height: 130px;
    background:
        url(../images/svg/triangle-w2.svg);
    background-size: auto;
    background-size: auto;
    background-size: auto;
    background-size: cover;
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 1;
}

.section._about-section {
    position: relative;
    background: rgba(var(--accent-rgb), .2);
}

.section._about-section .section-title p {
    color: var(--primary);
    border-color: var(--primary);
}

.section._about-section .section-title h2 {
    color: var(--primary);
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-list li.about-list__item:nth-child(2) {
    transform: translateY(70px);
}

.about-list li.about-list__item:nth-child(4) {
    transform: translateY(70px);
}

.about-section__inner__right {
    border-radius: 10px;
    background-color: rgba(var(--primary-rgb), .3);
    height: 100%;
    width: 100%;
    background-image: url(../images/pic.jpg);
    background-size: cover;
    background-position: center;
    filter: saturate(.4);
    height: calc(100% - 140px);
}

.about-list__item {
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    background: var(--primary);
    font-weight: 300;
    height: 340px;
}

.about-list__item p {
    margin: 0;
    margin-top: 15px;
}

.about-list__item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

.about-section__inner {
    display: grid;
    grid-template-columns: 60% calc(40% - 20px);
    gap: 20px;
    align-items: flex-end;
    z-index: 4;
    position: relative;
}

.about-list li.about-list__item:last-child {
    background: rgba(var(--accent-rgb), .7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 10;
    height: calc(340px - 70px);
}

/* 
.about-list li.about-list__item:last-child .bath-list__item__content{
    padding-bottom:0;
} */

.promo__video-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.promo__video-wrap video {
    position: relative;
    width: 100%;
    border-radius: 10px;
}

.section.promo__video-wrap {
    /* background: linear-gradient(180deg, rgba(var(--accent-rgb), .2) 30%, rgb(255,255,255) 30%);
    padding-top: 0; */
    background: #fff;
    padding-top: 0;
    padding-bottom: 2vh;
}

.section.promo__video-wrap .fixed-container {
    display: grid;
    grid-template-columns: 50% calc(50% - 40px);
    justify-content: space-between;
    align-items: center;
}

.swiper-slide.add-slider__slide {
    border-radius:
        10px;
    overflow:
        hidden;
}

/* 
.section._additional-section h2 {
    color: var(--primary);
} */
/* 
.section._additional-section .fixed-container .section-title p {
    color: var(--primary);
    border-color: var(--primary);
} */

.swiper.add-slider {
    height: 680px;
}

.add-slider__slide__image-inner {
    height: 180px;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
}

.add-slider__slide__image-inner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    top: 0;
    left: 0;
}

.add-slider__slide__image-inner h3 {
    position: relative;
    z-index: 5;
    color: var(--accent);
    font-weight: 400;
    font-size: 40px;
}

.add-slider .swiper-wrapper {
    align-items: stretch;
}

.swiper-slide.add-slider__slide {
    height: 100%;
    background: rgba(255, 255, 255, .7);
}

.add-slider__slide__content-inner {
    padding: 40px 15px;
    height: calc(100% - 180px);
}

.add-slider__slide__image-inner::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%);
    top: 0;
    left: 0;
    z-index: 3;
}

.section._additional-section {
    background: var(--primary);
}

/* .section._additional-section {
    padding-top: 0;
  } */

.add-section__content {
    width: 60%;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.add-section__content .btn {
    margin-top: 20px;
}

.add-section__content .btn {
    margin-bottom: 40px;
}

.photo-block {
    position: relative;
    height: auto;
    overflow:
        hidden;
    padding-top: 7vh;
    padding-bottom: 50vh;
}

.photo-block img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.photo-block:before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.photo-block:after {
    content: '';
    width: 100%;
    height: 130px;
    background:
        url(../images/svg/triangle-w.svg);
    background-size: auto;
    background-size: cover;
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 4;
}

.photo-block__content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    font-size: 36px;
    font-weight: 400;
    padding:
        0 100px;
    padding-left: 100px;
    color: #fff;
    font-family: 'Accid';
    padding-left: 40%;
}

/* .section.section-map .fixed-container h2, .section-map .section-title__description {
    color: var(--primary);
  }

  .section-map .section-title__description{
    border-color: var(--primary);
  } */

.section.section-map {
    position: relative;
}

.section.section-map:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    background: url(../images/svg/triangle-big.svg) no-repeat;
    background-size: auto;
    background-size: contain;
    z-index: 1;
}

.section.section-map .fixed-container {
    position: relative;
    z-index: 3;
}

.arrow-up {
    display: none;
    opacity: 0;
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    border-radius: 5px;
    filter: var(--shadow-filter);
    transition: all .5s ease-in-out;
}

.arrow-up:hover {
    cursor: pointer;
    background: #1d1d1d;
    filter: none;
}

.arrow-up:hover svg path {
    fill: #fff;
}

.arrow-up svg {
    height: 25px;
    transition: all .5s ease-in-out;
}

.arrow-up svg path {
    fill: var(--black);
}

.arrow-up:hover svg {
    transform: translateY(-10px);
}

.arrow-up.show {
    display: flex;
    opacity: 1;
    animation: .7s cubic-bezier(0.79, 0.33, 0.19, 0.98) 0s none alternate arrowShow;
}

@keyframes arrowShow {
    0% {
        transform: rotate(0) translateY(150px);
    }

    50% {
        transform: rotate(5deg) translateY(-30px);
    }

    100% {
        transform: rotate(0) translateY(0);
    }
}

.section._courses-section {
    background: var(--black);
}

.posts-list__item {
    display: block;
    position: relative;
    width: 100%;
    height: 370px;
    background: #161616;
    border-radius: 7px;
    overflow: hidden;
    filter: var(--shadow-filter);
    -webkit-filter: var(--shadow-filter);
    -moz-filter: var(--shadow-filter);
    -o-filter: var(--shadow-filter);
    -ms-filter: var(--shadow-filter);
    transition: all .5s ease-in-out;
}

.posts-list__item__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .3;
    object-fit: cover;
    object-position: center;
    transition: transform .8s linear, opacity .5s ease-in-out;
}

.post-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 40px 20px;
}

.posts-list__item__content {
    position: absolute;
    bottom: 0;
    padding: 20px 10px;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.posts-list__item__content h3 {
    color: var(--accent-light);
    transition: all .5s ease-in-out;
}

.posts-list__item::after {
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--accent-light);
    display: block;
    position: absolute;
    transition: all .5s ease-in-out;
}

.posts-list__item:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(255, 193, 101, .1));
}

.posts-list__item:hover .posts-list__item__title h3 {
    color: #fff;
}

.posts-list__item:hover:after {
    background: #fff;
}

.posts-list__item:hover .posts-list__item__thumbnail img {
    opacity: 1;
    transform: scale(1.2);
}

.posts-list__item svg {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.posts-list-item svg {
    transition: all 3s linear;
}

.posts-list__item:hover svg rect {
    stroke: #fff;
    fill: rgba(255, 255, 255, .85);
}

.posts-list__item:hover svg path {
    stroke: var(--black);
}

section.page-section {
    padding: 120px 0;
}

.breadcrumbs__list,
.breadcrumbs__list a,
.breadcrumbs__lit span {
    font-size: 14px;
}

.about-us-section__inner {
    display: grid;
    grid-template-columns: 58% 40%;
    gap: 20px;
    align-items: stretch;
    justify-content: space-between;
}

.about-us-left a.link {
    justify-content: flex-start;
    margin: 40px 0;
}

.swiper.about-slider {
    height: 100%;
    margin-top: 30px;
}

.swiper-slide.about-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease-in-out;
}

.swiper-slide.about-slider-slide {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}

.swiper-slide.about-slider-slide:hover img {
    transform: scale(1.07);
}

.swiper-slide.about-slider-slide::after {
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--accent-light);
    display: block;
    position: absolute;
    transition: all .5s ease-in-out;
}

.swiper-slide.about-slider-slide:hover:after {
    background: #fff;
}

.about-us-right {
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.about-us-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.section.page-section article {
    padding: 0;
}

/*POST ITEM*/
.blog-section__inner section {
    width: 30%;
}

.blog-section__tab__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.blog-section__tab__list article.hentry .post-thumbnail {
    position: relative;
    height: 320px;
    width: 100%;
    overflow: hidden;
}

.blog-section__tab__list article.hentry {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
    margin: 0;
    padding: 0px;
}

.blog-section__tab__list article.hentry .post-thumbnail img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.post-item__content h3 {
    font-size: 20px;
    font-weight: 600;
}

.post-item__content h3 a {
    text-decoration: none;
}

.post-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 40px 20px;
}

.post-item__content p {
    margin: 0;
    line-height: 120%;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.post-item__content span.posted-on {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 600;
}

.tab-button {
    /* padding-bottom: 5px; */
    position: relative;
}

.tab-button:after {
    content: '';
    display: block;
    width: 0;
    height: 5px;
    position: absolute;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: all .5s ease-in-out;
}

.tab-button.active:after {
    width: 100%;
}

.blog-section__tab__list a {
    grid-area: 2/1/2/4;
}

.blog-section__inner {
    position: relative;
    height: 550px;
}

.blog-section__tab__list {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    height: 100%;
    width: 100%;
}

.blog-section__tab .link {
    margin-top: 40px;
}

.blog-section__tab__list.hide {
    z-index: -1;
}

.section-title._tabs-buttons {
    flex-direction: row;
    height: 49px;
}

.section-title._tabs-buttons h2 {
    color: var(--gray);
    cursor: pointer;
}


/* .blog-section__tab__list.hide {
    display: none;
  }

  .blog-section__tab__list.show {
    display: grid;
  } */

.blog-section__tab__list.hide {
    opacity: 0;
    transition: opacity .7s ease-in-out;
}

.blog-section__inner .blog-section__tab__list:nth-child(2).hide {
    opacity: 0;
    transition: opacity .7s ease-in-out;
}

.blog-section__tab__list.show {
    opacity: 1;
    transform: translateX(0);
    transition: transform .5s linear;
    z-index: 10;
}

.section-title._tabs-buttons h2 {
    font-size: 32px;
    color: var(--gray);
    padding-bottom: 5px;
}

.section-title._tabs-buttons h2.active {
    color: var(--black);
    font-size: calc(1em + 3vw);
    transition: all .5s linear;
}

/* .section-title._tabs-buttons h2 {
    height: 48px;
  } */

.blog-section__tab__list article .post-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
}

.blog-section__tab__list article .post-arrow path,
.blog-section__tab__list article .post-arrow rect {
    stroke: #fff;
    transition: all .5s ease-in-out;
}

article.hentry a .post-thumbnail img {
    transition: transform .5s ease-in-out;
}

article.hentry a:hover .post-thumbnail img {
    transform: scale(1.05);
}

.blog-section__tab__list article a:hover .post-arrow path {
    stroke: var(--black);
}

.blog-section__tab__list article a:hover .post-arrow rect {
    fill: #fff;
    stroke: #fff;
}

.blog-section__tab__list article {
    opacity: 0;
    transform: scale(0, 1);
    transition: transform .5s ease-in-out, opacity .9s ease-in-out;
    ;
}

.blog-section__tab__list.show article {
    opacity: 1;
    transform: scale(1, 1);
}

section.form-section {
    background: var(--black);
    color: #fff;
}

.form-section__inner {
    background: #fff;
    color: var(--black);
    border-radius: 7px;
    overflow: hidden;
}

.form-section__inner__form {
    padding: 30px 50% 30px 20px;
}

.form-section__inner__img {
    height: 50vh;
    overflow: hidden;
}

.form-section__inner__img {
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.form-section__inner__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.form-section__inner__form {
    background-image: url(../images/svg/ichi-vector.svg);
    background-position: right top;
    background-size: contain;
    background-repeat: no-repeat;
}

/*Single post types*/
.section.page-section._single-template {
    padding: 100px 0;
}

.entry-header._post-type__head {
    position: relative;
    overflow: hidden;
    padding-top: 7vh;
    padding-bottom: 7vh;
}

._single-template__content .fixed-container h3.benefits-heading {
    margin-top: 70px;
}

.entry-header._post-type__head .post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.entry-header._post-type__head .fixed-container {
    position: relative;
    z-index: 3;
}

.entry-header._post-type__head::after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(22, 22, 22);
    opacity: .8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.entry-header._post-type__head .fixed-container {
    color: #fff;
}

.entry-header._post-type__head .fixed-container .breadcrumbs__list a {
    color: #fff;
}

.benefits-list {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 70px;
}

.benefits-list__item {
    position: relative;
    background: var(--black-gradient);
    border-radius: 7px;
    padding: 6.5vh 3vh;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
}

.benefit-image {
    position: absolute;
    top: -4vh;
    left: 10px;
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 100%;
    padding: 20px;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.benefit-item__head {
    margin: 0;
}

.benefit-desc p {
    margin: 0;
}

.benefit-item__head {
    margin: 0;
    font-size: 2vw;
    line-height: 120%;
    color: var(--accent-light);
    font-weight: 300;
}

.benefit-desc {
    color: #fff;
}

#map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    z-index: 4;
    height: 400px;
}

#map iframe {
    height: 100%;
}

/*GALLERY*/

.section._gallery {
    background: rgba(var(--accent-rgb), .2);
}

.section._gallery .section-title h2,
.section._gallery .section-title p {
    color: var(--primary);
}

.section._gallery .section-title p {
    border-color: var(--primary);
}

.section._gallery .section-title h2,
.section._gallery .section-title p {
    color: var(--primary);
}

.fancybox-slide .gallery-modal {
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    padding: 0;
    border-radius: 10px;
}

.fancybox-slide .gallery-modal:before {
    content: '';
    width: 50%;
    height: 30%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../images/svg/slide-triangle.svg) no-repeat;
    background-size: contain;
    z-index: 4;
}

/* .fancybox-slide .gallery-modal:after {
    content: '';
    width: 100%;
    height: 30%;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    background: url(../images/svg/slide-triangle-w.svg) no-repeat;
      background-size: auto;
    background-size: contain;
    z-index: 4;
    background:  #3E5888;
    background:  linear-gradient(0deg,rgba(31,31,31, 0.95) 0%, rgba(31,31,31, 0) 100%);
} */

.gallery-slider__slide .gallery-image__desc {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    z-index: 20;
    color: #fff;
    padding: 30px;
    background: #3E5888;
    background: linear-gradient(0deg, rgba(31, 31, 31, 0.95) 0%, rgba(31, 31, 31, 0) 100%);
}

.gallery-modal h2 {
    /* color: var(--primary); */
    position: absolute;
    z-index: 7;
    top: 20px;
    left: 30px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .5));
}

.fancybox-slide .gallery-modal .gallery-item__content {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fancybox-slide .gallery-modal .gallery-item__content .gallery-slider {
    height: 100%;
}

.gallery-slider__slide img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.fancybox-slide .gallery-modal .fancybox-button.fancybox-close-small {
    padding: 0;
}

.fancybox-slide .gallery-modal .fancybox-button.fancybox-close-small {
    padding: 0;
    width: 60px;
    height: 60px;
}

.fancybox-slide .gallery-modal .fancybox-button.fancybox-close-small svg path {
    fill: #fff;
}

.swiper-slide.gallery-slider__slide {
    position: relative;
}

.gallery-slider .slider__button-next,
.gallery-slider .slider__button-prev {
    position: absolute;
    top: calc(50% - 30px);
    width: 50px;
    height: 60px;
    z-index: 10;
    padding: 7px;
    cursor: pointer;
    transition: all .5s linear;
}

.gallery-slider .slider__button-next:hover,
.gallery-slider .slider__button-prev:hover {
    background: rgba(0, 0, 0, .7);
}

.gallery-slider .slider__button-prev {
    left: 0;
}

.gallery-slider .slider__button-next {
    right: 0;
}

.gallery-slider .slider__button-prev svg,
.gallery-slider .slider__button-next svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.gallery-item {
    position: relative;
    height: 400px;
    width: calc(100% / 4 - 2px);
}

.gallery-item:hover h3 {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.gallery-item__thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item:hover .gallery-item__thumbnail a img {
    transform: scale(1.07);
    filter: brightness(1.25);
}

.gallery-item__thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item__thumbnail a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all .5s ease-in-out;
}

.gallery-item h3 {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    width: max-content;
    right: 20px;
    color: #fff;
    font-family: 'Cera', sans-serid;
    font-size: 18px;
    padding: 7px 25px;
    border-radius: 25px;
    border: 1px solid var(--primary);
    transition: all .5s linear;
    background: var(--primary);
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, .3));
}

.gallery-items__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.section._gallery .fluid-container {
    padding-top: 0;
}

/*BATH*/

.heading-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.heading-flex .section-title h2 {
    width: max-content;
}

.bath-list {
    display: flex;
    flex-direction: column;
}

.bath-list__item {
    position: relative;
    display: flex;
    gap: 15px;
    align-items: stretch;
}

._bath-section__description {
    width: 50%;
    font-size: 18px;
    position: relative;
    top: -30px;
}

._bath-section__description:after {
    content: '';
    width: 110%;
    height: 420px;
    display: block;
    position: absolute;
    background: url(../images/svg/stroke202.svg) no-repeat;
    background-size: auto;
    background-size: auto;
    background-size: auto;
    background-size: auto;
    background-size: auto;
    background-size: contain;
    right: -20px;
    top: -45px;
    z-index: -1;
    opacity: .4;
}

.bath-list__item__content h4 {
    font-family: 'Accid', sans-serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 0px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.bath-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bath-photos a {
    position: relative;
    width: calc(100% / 2 - 10px);
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
}

.bath-photos a img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease-in-out, filter .3s linear;
}

.bath-photos a:hover img {
    transform: scale(1.05);
    filter: brightness(1.25);
}

.bath-photos a:nth-child(3) {
    width: 100%;
    height: 320px;
}

.bath-list__item__content p {
    margin: 0;
}

.bath-list__item__pic:after {
    content: '';
    width: 1px;
    height: calc(100% - 60px);
    display: block;
    background: rgba(var(--accent-rgb), .7);
}

.bath-list__item__content {
    width: calc(100% - 60px);
    padding-bottom: 60px;
}

.bath-list__item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    border-radius: 100%;
    background: rgba(var(--accent-rgb), .7);
    border-radius: 10px;
    padding: 10px;
}


.bath-list__item__pic {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bath-section__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.bath-list li.bath-list__item:last-child .bath-list__item__pic::after {
    content: none;
}

.bath-list li.bath-list__item:last-child .bath-list__item__content {
    padding-bottom: 0;
}

.bath-photos a:nth-child(2) {
    position: relative;
    z-index: 3;
}

/*FOOTER*/

footer.site-footer {
    position: relative;
    padding: 7vh 0;
    /* background: var(--black); */
    color: #fff;
}

footer.site-footer:after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(22, 22, 22);
    opacity: .8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.site-footer__inner,
footer .site-info {
    position: relative;
    z-index: 3;
}

.site-footer__inner a {
    color: var(--accent-light);
    text-decoration: none;
    transition: all .5s linear;
}

.site-footer__inner__contacts p {
    color: var(--accent-light);
    margin: 0;
}

.site-footer__inner a:hover {
    color: #fff;
}

.site-footer__inner__branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer__inner__branding .site-description {
    font-size: calc(1em + 1.5vw);
    line-height: 100%;
    margin: 0;
    width: calc(100% - 70px);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: flex-start;
    justify-content: space-between;
}

.footer__logo.logo {
    height: 93px;
    width: 70px;
    position: relative;
    display: block;
}

.site-footer__inner__contacts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.messengers-list {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.messengers-list__item {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 100%;
}

.about-list li:last-child p {
    font-family: 'Accid', sans-serif;
    color: var(--primary);
    font-size: 28px;
    margin:
        0;
}

.messengers-list__item img {
    width: 20px;
    height: 20px;
    z-index: 5;
    object-fit: contain;
    object-position: center;
    transition: all .5s linear;
}

.messengers-list__item {
    transition: all .5s linear;
}

.messengers-list__item:hover {
    transform: scale(1.3);
    opacity: .7;
}

/* .page-header {
    padding: 5vh 0;
    padding-top: 5vh;
  } */

/* .section._page-section article {
    margin-top: 10vh;
  } */
/* .section.page-section article.courses {
    padding: 20px;
  } */

.entry-header.single-page__header {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    background-color: rgb(31, 31, 31);
    padding: 7vh 30px;
    overflow: hidden;
    height: auto;
}

.entry-header.single-page__header .section-description {
    position: relative;
    z-index: 3;
    color: #fff;
}

.entry-header.single-page__header ul,
.entry-header.single-page__header h2 {
    z-index: 5;
    position: relative;
    color: #fff;
    margin-bottom: 0;
}

.entry-header.single-page__header a {
    color: #fff;
}

.entry-header.single-page__header .post-thumbnail {
    position: absolute;
    top: 0;
    z-index: 1;
    left: 0;
    width: 100%;
    height: 100%;
}

.entry-header.single-page__header .post-thumbnail::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, rgb(31, 31, 31) 1%, rgba(31, 31, 31, 0) 100%);
    z-index: 4;
}

.section.page-section article .entry-content {
    padding: 20px;
}

.page-section .fixed-container .posts-list {
    margin-top: 0;
}

#footer-menu li a {
    text-align: right;
    display: block;
    line-height: 120%;
}

#footer-menu li {
    padding-bottom: 5px;
    padding-top: 7px;
    position: relative;
    width: max-content;
}

#footer-menu li:after {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent-light);
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all .5s linear;
}

#footer-menu li:hover:after {
    width: 100%;
    background: #fff;
}

#footer-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.site-footer__docs._mob {
    display: none;
}

.site-footer__docs li {
    text-align: right;
}

.site-footer__inner__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.site-footer__docs li a {
    text-decoration: underline;
    color: var(--gray);
    font-size: 12px;
}

a.footer-btn.btn {
    display: block;
    margin-top: 15px;
    background: var(--accent);
    padding: 5px 15px;
    border: 1px solid var(--accent);
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    max-width: 300px;
    color: var(--black);
    transition: all .5s ease-in-out;
    width: max-content;
}

a.footer-btn.btn:hover {
    transform: none;
    background: var(--black);
    border-color: var(--black);
    color: #fff;
}

.site-info {
    margin-top: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    font-size: 12px;
}

.site-info:before {
    content: '';
    width: 100%;
    height: 1px;
    background: var(--accent);
    opacity: .5;
    position: absolute;
    top: 0;
    left: 0;
}

/*POPUP*/

#form-popup {
    position: relative;
    background-image: url(../images/svg/texture.svg);
    background-size: cover;
    background-repeat: repeat;
    background-color: #cacaca;
    border-radius: 7px;
    padding: 30px;
    overflow: visible;
}

#form-popup h3 {
    color: var(--black);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

#form-popup button {
    position: relative;
    border: 1px solid var(--black);
    border-radius: 100%;
    position: absolute;
    top: 7px;
    right: 7px;
    transition: all .5s cubic-bezier(0.79, 0.33, 0.14, 0.53);
}

#form-popup button svg {
    transition: all .5s linear;
}

#form-popup button:hover svg path {
    fill: var(--accent-light);
}

.cf-input,
input.search-field {
    color: var(--black);
    padding: 7px 10px;
    border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-bottom: 1px solid var(--black);
    border-radius: 0;
    background: transparent;
    outline: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -o-border-radius: 0;
    margin-bottom: 20px;
    max-width: 100%;
}

input.search-field {
    margin-bottom: 0;
}

.page-content .search-form {
    display: flex;
    gap: 15px;
}

/*TOGGLE CONTACTS*/
.toggle-contacts__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    min-height: 100px;
    opacity: 1;
    gap: 15px;
    bottom: 80px;
    right: 10px;
    z-index: 500;
    transition: all .8s linear;
}

.toggle-contacts-icon {
    display: flex;
    width: 60px;
    padding: 10px;
    height: 60px;
    background: rgba(25, 25, 25, .5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
    -o-backdrop-filter: blur(20px);
    border-radius: 5px;
}

.toggle-contacts__list ._toggle-contacts {
    margin-top: 0;
    flex-direction: column;
}

ul.messengers-list._toggle-contacts li {
    width: 40px;
    height: 40px;
    background: rgb(25, 25, 25);
    border-radius: 100%;
    padding: 7px;
    border: none;
}

.messengers-list__item__link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 5px;
}

.toggle-contacts-icon svg path {
    fill: var(--accent-light);
}

.toggle-contacts-icon.animate svg {
    animation: toggleAnimate 0.7s ease-out forwards;
}

.toggle-contacts-icon {
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: center;
    transition: all .5s linear;
}

.toggle-contacts-icon.animate {
    background-image: url(../images/svg/cancel.svg);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: center;
}

.messengers-list._toggle-contacts li {
    transform: translateY(50px);
    transition: transform .5s ease-in-out .5s;
    opacity: 0;
}

.messengers-list._toggle-contacts.animate li {
    opacity: 1;
    transform: translateY(0);
    transition: transform .5s linear, opacity .3s linear;
}

ul.messengers-list._toggle-contacts.animate li:first-child {
    transition-delay: .15s;
}

ul.messengers-list._toggle-contacts.animate li:nth-child(2) {
    transition-delay: .25s;
}

ul.messengers-list._toggle-contacts.animate li:nth-child(3) {
    transition-delay: .35s;
}

ul.messengers-list._toggle-contacts.animate li:nth-child(4) {
    transition-delay: .15s;
}

.toggle-contacts-icon:hover svg path {
    fill: #fff;
}

/*ARCHIVE*/

.section.page-section._archive .fixed-container .posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.section.page-section._archive .fixed-container .posts-list article {
    position: relative;
    height: 350px;
    border-radius: 7px;
    overflow: hidden;
}

.section.page-section._archive .fixed-container .posts-list article a.post-thumbnail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.section.page-section._archive .fixed-container .posts-list article .post-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    z-index: 3;
    position: relative;
    height: 65%;
    padding: 20px;
}

.section.page-section._archive .fixed-container .posts-list article .entry-content {
    position: absolute;
    bottom: 0;
    z-index: 2;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    padding: 10px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
    -o-backdrop-filter: blur(20px);
    height: 35%;
}

.section.page-section._archive .fixed-container .posts-list article .entry-title a {
    font-size: 3vw;
    color: #fff;
}

/*SINGLE*/
.single-page_header {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.single-page_header:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
}

.single-page_header .post-thumbnail {
    width: 100%;
    height: 100%;
}

.single-page_header .fixed-container {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 100px;
    width: 100%;
    margin: 0 auto;
}

.single-page_header .fixed-container .breadcrumbs__list {
    color: #fff;
}

.single-page_header .fixed-container .breadcrumbs__list a {
    color: #fff;
}

.single-page_header .fixed-container h2 {
    color: #fff;
}

/*FAQ*/

section._faq-section {
    background: var(--primary);
}

#faq {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: flex-start;
}

#faq .faq-item {
    background: var(--accent-light);
    border-radius: 10px;
}

.faq-question-head {
    display: flex;
    align-items: center;
  }

  .faq-marker {
    width: 40px;
    height: 40px;
    background:
  url(../images/svg/plus.svg) no-repeat;
      background-size: auto;
    background-size: auto;
    background-size: contain;
    transition:
  all .7s linear;
  }

  .faq-question-head.ui-accordion-header-active .faq-marker {
    background: url(../images/svg/minus.svg) no-repeat;
    background-size: contain;
  }

  .faq-question-head h3 {
    width: calc(100% - 40px);
    font-size: 28px;
  }

  .faq-question-head {
    padding: 30px 30px 30px 30px;
  }

  .faq-item .faq-answer {
    padding: 15px 30px 30px 30px;
    border-top: 3px dotted var(--primary);
  }

.faq-question-head.ui-accordion-header-active {
  padding-bottom: 15px;
}

.faq-answer p {
    margin: 0;
    font-size: 20px;
  }

@keyframes toggleAnimate {
    0% {
        transform: none;
    }

    50% {
        transform: scale(0.5) rotate(360deg);
    }

    100% {
        transform: none;
        transform: scale(0);
    }

}

@media (max-width: 1200px) {
    .swiper.add-slider {
        height: 720.2px;
    }

    .about-list__item {
        height: 390px;
    }
}

@media (max-width: 1024px) {
    .gallery-item {
        position: relative;
        height: 280px;
    }
}


@media (max-width: 992px) {
    .section._additional-section .fixed-container {
        padding: 0;
    }

    .swiper-slide.add-slider__slide {
        height: 100%;
        background: rgba(var(--accent-rgb), .2);
        margin-left: 30px;
    }

    .section._additional-section .fixed-container .section-title {
        padding: 0 30px;
    }

    .section._additional-section .fixed-container .section-title p {
        left: 30px;
    }

    .add-section__content {
        padding: 0 30px;
    }

    /* .swiper.add-slider {
        padding-bottom: 40px;
    } */

    .slider__button-prev,
    .slider__button-next {
        position: absolute;
        top: 7px;
        z-index: 6;
    }

    .slider__button-prev {
        left: 15px;
    }

    .slider__button-next {
        right: 15px;
    }

    .welcome__inner {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .way-list__item__content {
        padding-right: 50px;
    }

    .about-section__inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-list__item {
        height: auto;
    }

    .about-list li.about-list__item:last-child {
        height: calc(340px - 190px);
    }
}

@media (max-width: 768px) {

    .hero-content__inner {
        flex-direction: column;
    }

    .hero-content__inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .hero-content__inner__left {
        width: 80%;
    }

    .hero-content__inner h2 {
        margin-bottom: 0;
        font-size: calc(1em + 5vw);
    }

    .welcome__inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .welcome__inner__text {
        width: 80%;
    }

    .welcome__inner__pics {
        position: relative;
        display: flex;
        justify-content: flex-start;
    }

    .welcome__inner__text {
        width: 80%;
        align-self: center;
    }

    .about-list li.about-list__item:last-child {
        height: calc(340px - 170px);
    }

    .section._way-section {
        padding-top: 12vh;
    }

    .section.promo__video-wrap .fixed-container {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .video-block__right {
        width: 80%;
    }

    .welcome__inner__text::after {

        bottom: -30px;
        right: -100px;
        transform: rotate(-15deg);
    }

    section.section {
        padding: 12vh 0;
    }

    .section._additional-section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-content__inner__right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .watch-video.fromRight.elementShow {
        width: max-content;
        justify-content: center;
    }

    .watch-video p {
        font-size: 28px;
        color: var(--accent);
        line-height: 100%;
        width: max-content;
        font-family: 'Accid';
    }

    .section._additional-section .fixed-container .section-title {
        padding: 0;
    }

    .add-section__content {
        padding: 0;
    }

    .swiper-slide.add-slider__slide {
        height: 100%;
        background: rgba(255, 255, 255, .7);
        margin-left: 0;
    }

    .section._additional-section .fixed-container .section-title p {
        left: 0;
    }

    .watch-video::after {
        content: '';
        display: block;
        position: absolute;
        width: 414.0px;
        height: 250px;
        background-image: url(../images/svg/stroke1.svg);
        background-repeat: no-repeat;
        background-size: contain;
        top: -15px;
        left: -10px;
        transform: rotate(0);
    }

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

    .hero-content__inner__left h2 {
        text-align: center;
    }

    .welcome__inner__pics a {
        display: block;
        width: 370px;
    }

    .swiper.add-slider {
        height: 765px;
    }

    .photo-block__content.fronRight {
        padding-left: 15px;
        padding-right: 15px;
    }


    .section._additional-section .fixed-container {
        padding: 15px;
        padding-top: 12vh;
    }

    ._welcome-text {
        position: relative;
        width: 100%;
    }

    .posts-list__item__content._courses-item__title p {
        display: none;
    }

    .page-trainers__inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-trainers__gallery {
        row-gap: 10px;
    }

    .reasons-list {
        grid-template-columns: 1fr;
    }

    .section._trainers-section .fixed-container {
        grid-template-columns: 1fr;
    }

    .section-description {
        margin-top: 40px;
        width: 100%;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefit-item__head {
        font-size: 32px;
    }

    .page-trainers__content .post-thumbnail {
        height: 400px;
        width: 100%;
    }

    .gallery-item {
        position: relative;
        height: 360px;
        width: calc(100% / 2 - 2px);
    }

    .blog-section__inner {
        position: relative;
        height: 640px;
    }

    .blog-section__inner .blog-section__tab__list article {
        height: 200px;
        display: flex;
        gap: 20px;
    }

    .blog-section__tab__list {
        display: flex;
        flex-direction: column;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .blog-section__tab__list article.hentry a {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }

    .blog-section__tab__list article.hentry:after {
        content: '';
        width: 100%;
        height: 50%;
        display: block;
        background: linear-gradient(0deg, rgb(51, 51, 51) 0%, rgba(51, 51, 51, 0) 100%);
        z-index: 1;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .section.section-map::before {
        height: 30%;
        background-size: cover;
    }

    .blog-section__tab__list article.hentry .post-thumbnail {
        height: 100%;
        width: 100%;
    }

    .blog-section__tab__list article.hentry {
        margin: 0;
        padding: 0;
    }

    .blog-section__tab__list article .post-item__content .entry-title {
        width: 60%;
    }

    .blog-section__tab__list article .post-item__content {
        position: absolute;
        z-index: 5;
        bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: row;
        padding: 20px;
        align-items: flex-end;
        justify-content: space-between;
    }

    .blog-section__tab__list article .post-item__content .entry-title a {
        color: #fff;
    }

    .blog-section__tab__list article .post-item__content span.posted-on {
        position: relative;
        bottom: unset;
        right: unset;
    }

    .blog-section__tab__list article .entry-content {
        display: none;
    }

    .welcome__inner__pics a {
        display: block;
        width: 50%;
    }

    .bath-section__inner {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
        align-items: flex-start;
    }

    .video-block__right {
        font-size: 36px;
        font-family: 'Accid';
        width: 100%;
    }

    .section._bath-section {
        padding-bottom: 20px;
    }

    ._bath-section__description::after {
        content: none;
    }

    #faq {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
      }
}

@media (max-width: 576px) {

    nav#site-navigation {
        margin: 0;
        padding: 0;
        top: 0;
        right: 0;
        position: fixed;
        background: rgba(31, 31, 31, 0.9);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
        width: 100%;
        height: 100vh;
        z-index: -1;
        transition: transform cubic-bezier(.78, 0, .23, 1) .5s;
        transform: scale(1, 0);
        transform-origin: right center;
    }

    .hero-content .fixed-container {
        justify-content: flex-start;
    }

    .section._additional-section .fixed-container {
        padding: 15px;
    }

    .swiper-slide.add-slider__slide {
        margin-left: 0;
    }

    .section._additional-section .fixed-container .section-title {
        padding: 0;
    }

    .add-section__content {
        padding: 0;
        width: 100%;
    }

    .section._additional-section .fixed-container .section-title p {
        left: 0;
    }

    .hero-section {
        position: relative;
        overflow: hidden;
    }

    .hero-png-pic {
        width: 100%;
    }

    .hero-content {
        position: relative;
        height: 100%;
        padding-bottom: 50px;
    }

    .hero-content__inner {
        color: #fff;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-content__inner h2 {
        text-align: center;
    }

    .hero-content__inner a.btn {
        width: 100%;
    }

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

    .way-list {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .way-list__item {
        display: flex;
        gap:
            20px;
        flex-direction: row;
    }



    .num-inner::after {
        content: '';
        display: block;
        height: calc(100% - 60px);
        width: 1px;
        background: var(--accent);
    }

    .num-inner {
        width: 60px;
        height: 100%;
        align-items: center;
        flex-direction: column;
    }

    .posts-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .trainers-slider__link h3 {
        font-size: 6vh;
    }

    /* .blog-section__tab__list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
      } */

    /* article.hentry .post-thumbnail {
        position: relative;
        height: 170px;
        width: 170px;
        overflow: hidden;
    } */

    .gallery-item {
        position: relative;
        height: 280px;
        width: calc(100% / 2 - 2px);
        flex-grow: 1;
    }

    .gallery-items__inner div:nth-child(5n) {
        width: 100%;
    }

    .entry-header.single-page__header .post-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .post-item__content {
        justify-content: center;
    }

    .post-item__content {
        padding: 0;
        width: calc(100% - 200px);
    }

    .entry-title a {
        display: inline;
    }

    .blog-section__tab__list article .post-arrow {
        position: absolute;
        top: 15px;
        left: 15px;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }

    .blog-section__tab__list .link {
        width: max-content;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .form-section__inner__form {
        padding: 20px;
        background-image: none;
    }

    .form-section__inner__form p {
        text-align: center;
    }

    form p input.btn {
        margin: 0 auto;
        width: 100%;
    }

    .site-footer__inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer__inner__branding {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .site-footer__inner__contacts {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .site-footer__inner__left {
        order: 2;
    }

    .site-footer__inner__right {
        order: 1;
    }

    #footer-menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        margin-bottom: 20px;
        column-gap: 20px;
    }

    .site-info {
        margin-top: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        position: relative;
        font-size: 12px;
        text-align: center;
        color: var(--gray);
    }

    .section-title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }

    .section-title {
        width: 100%;
    }

    .site-footer__inner__contacts p {
        font-size: 14px;
    }

    section.section._trainers-section .fixed-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        box-sizing: border-box;
        justify-content: space-between;
    }

    .trainers-slider {
        height: auto;
    }

    .trainers-slider__wrapper {
        height: 70vh;
    }

    .trainers-slider__controls {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        gap: 30px;
    }

    .site-footer__docs {
        display: none;
    }

    .site-footer__docs._mob {
        display: block;
        margin-top: 30px;
        order: 3;
    }

    .site-footer__docs._mob li {
        text-align: center;
    }

    .site-footer__docs._mob li a {
        font-size: 14px;
        line-height: 2;
    }

    .heading-flex {
        gap: 20px;
        flex-direction: column;
    }

    ._bath-section__description {
        width: 100%;
    }

    .photo-block__content {
        font-size: 28px;
    }

    .photo-block__content {
        padding: 0 15px;
        color: #fff;
        font-family: 'Accid';
        padding-left: 15px;
    }

    .video-block__right {
        font-size: 28px;
    }

}

@media (max-width: 480px) {
    .hero-content__inner__left {
        width: 100%;
    }

    .welcome__inner__pics a {
        display: block;
        width: 240px;
        height: 300px;
    }

    .welcome__inner__text::after {
        bottom: -30px;
        right: 20px;
        transform: rotate(-15deg);
    }

    .welcome__inner__text {
        width: 100%;
    }

    .welcome__inner__pics {
        flex-direction: column;
    }

    .welcome__inner__pics a:nth-child(2) {
        transform: none;
        z-index: 2;
        margin-top: -260px;
        right: -40%;
    }

    .about-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-list__item {
        height: max-content;
    }

    .about-list li.about-list__item:nth-child(2) {
        transform: none;
    }

    .about-list li.about-list__item:last-child {
        height: auto;
        transform: none;
    }

    .section._additional-section {
        padding-top: 12vh;
    }

    .fancybox-slide .gallery-modal {
        max-height: 400px;
    }

}

/*GUT*/

.wp-block-columns .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow p {

    margin: 0;
}