/* Common styles */

:root {
    --primary-color: #ba975f;
    --secondary-color: #735d39;
    --third-color: #735d39;
    --light: #fff;
    --dark: #2e2e2e;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 99999;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.33s ease;
}

svg {
    display: block;
}

img {
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h1,
h2,
h3 {
    text-transform: uppercase;
}

button {
    cursor: pointer;
    transition: 0.33s ease;
}

/* Buttons */

.primary-btn {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--light);
    background: linear-gradient(-60deg, var(--primary-color) 0%, var(--primary-color) 20%, var(--secondary-color) 40%, var(--secondary-color) 60%, var(--primary-color) 80%, var(--primary-color) 100%);
    background-size: 200% auto;
}

.primary-btn__svg {
    fill: var(--third-color);
    margin-right: 10px;
    transition: 0.33s;
}

.primary-btn:hover {
    background-position: right center;
}

.primary-btn:hover .primary-btn__svg {
    fill: var(--primary-color);
}

.primary-btn:active {
    transform: translateY(2px);
}

.info-btn {
    font-size: 18px;
    font-size: 18px;
    background-color: var(--light);
}

.info-btn__svg {
    margin-right: 10px;
    transition: 0.33s ease;
}

.info-btn:hover {
    text-decoration: underline;
}

.info-btn:hover .info-btn__svg {
    transform: scale(1.1);
}

/* Header */

.header {
    background-color: #541c1e;
    border-bottom: 4px solid var(--primary-color);
    color: var(--light);
}

.header-row {
    height: 80px;
}

.header-menu__item:not(:last-child) {
    margin-right: 40px;
}

.header-menu__item.active a {
    border-bottom: 2px solid var(--light);
}

.header-menu__item-link {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.header-menu__item-link:hover {
    color: var(--secondary-color);
}

.header-phone__link {
    font-size: 24px;
    font-weight: 400;
}

.header-phone__link-svg {
    fill: var(--primary-color);
    margin-right: 6px;
    transition: 0.33s ease;
}

.header-phone__link:hover {
    color: var(--secondary-color);
}

.header-phone__link:hover .header-phone__link-svg {
    fill: var(--secondary-color);
}

/* Mobile Menu */

.mobile-menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background-color: var(--light);
}

.mobile-menu__wrapper {
    padding: 30px 0;
    text-align: center;
}

.mobile-menu__item:not(:last-child) {
    margin-bottom: 15px;
}

.mobile-menu__item.active a {
    border-bottom: 2px solid var(--dark);
}

.mobile-menu__item-link {
    text-align: center;
    text-transform: uppercase;
}

.mobile-menu__item-link:hover {
    color: var(--primary-color);
}

.mobile-menu__btn {
    display: none;
    width: 40px;
    height: 50px;
    cursor: pointer;
}

.mobile-menu__toogle,
.mobile-menu__toogle:after,
.mobile-menu__toogle:before {
    width: 40px;
    height: 4px;
    border-radius: 50px;
    background: var(--primary-color);
}

.mobile-menu__toogle {
    position: relative;
    transform: translateY(25px);
    transition: all 0ms 300ms;
}

.mobile-menu__toogle.animate {
    background: rgba(255, 255, 255, 0);
}

.mobile-menu__toogle:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 12px;
    transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu__toogle:after {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu__toogle.animate:after {
    top: 0;
    transform: rotate(45deg);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu__toogle.animate:before {
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Main */

.main-screen {
    padding: 180px 0;
    background: var(--dark) url(../images/bg/main-bg.jpg) center/cover no-repeat;
}

.ms-box {
    max-width: 700px;
    color: var(--light);
}

.ms-desc {
    font-size: 24px;
}

/* Carousel */

.rooms-carousel__image {
    border-radius: 5px;
    overflow: hidden;
}

.owl-nav.disabled {
    display: block !important;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transition: 0.33s ease;
}

.owl-prev:hover,
.owl-next:hover {
    transform: translateY(-50%) scale(1.2);
}

.owl-prev {
    left: 15px;
}

.owl-next {
    right: 22px;
}

.owl-prev {
    background-image: url(../images/icons/left-arrow.png);
}

.owl-next {
    background-image: url(../images/icons/right-arrow.png);
}

/* Rooms */

.rooms-content__spec {
    position: relative;
    font-size: 18px;
}

.rooms-content__spec-left {
    padding-right: 10px;
}

.rooms-content__spec-right {
    padding-left: 10px;
}

.rooms-content__spec-line {
    flex-grow: 1;
    position: relative;
    bottom: -17px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Services */

.services {
    color: var(--light);
    background: var(--dark) url(../images/bg/services-bg.jpg) center/cover no-repeat;
}

.services-item {
    max-width: 400px;
}

.services-item__icon {
    margin-right: 30px;
}

.services-item__icon-svg {
    width: 70px;
    height: 70px;
    fill: var(--primary-color);
}

.services-item__title {
    font-size: 18px;
}

/* Sab Card */

.sab-card {
    max-width: 600px;
    width: 100%;
}

.sab-card__wrapper {
    position: relative;
    padding: 90px 70px;
    border-radius: 5px;
    overflow: hidden;
}

.sab-card__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.sab-card__wrapper.sauna {
    background: var(--dark) url(../images/bg/sauna-bg-half.jpg) center/cover no-repeat;
}

.sab-card__wrapper.bar {
    background: var(--dark) url(../images/bg/bar-bg.jpg) center/cover no-repeat;
}

.sab-card__content {
    position: relative;
    color: var(--light);
}

/* Contacts */

.contacts-wrapper {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contacts {
    background-color: #ececec;
}

.contacts-item__svg {
    fill: var(--primary-color);
    margin-right: 10px;
}

.contacts-item__text {
    font-size: 18px;
}

.contacts-item__text-link:hover,
.footer-text_link:hover {
    color: var(--primary-color);
}

/* Footer */

.footer {
    padding: 30px 0;
    background-color: #c7c7c7;
    border-top: 4px solid var(--primary-color);
}

/* Modal Window */

.decbox .content {
    max-width: 600px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
}

.decbox .content .wrapper {
    padding: 60px;
}

.di-list {
    list-style: disc;
}

.di-item {
    font-size: 18px;
    margin-left: 20px;
}

.di-item:not(:last-child) {
    margin-bottom: 20px;
}

.mw-title {
    font-size: 22px;
}

/* Form */

.form-group {
    position: relative;
    margin-left: 40px;
    margin-bottom: 30px
}

.form-group__input {
    width: 100%;
    height: 45px;
    display: block;
    font-size: 18px;
    font-weight: 300;
    color: var(--dark);
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--primary-color);
    -webkit-appearance: none;
    padding: 10px
}

.form-group__input:focus {
    outline: none
}

.form-group__label {
    position: absolute;
    left: 10px;
    top: 11px;
    pointer-events: none;
    font-size: 18px;
    font-weight: 300;
    color: #9e9e9e;
    transition: .33s ease
}

.form-group__input:focus~.form-group__label,
.form-group__input-full~.form-group__label {
    top: -15px;
    font-size: 14px;
    color: var(--dark);
}

.form-group__bar {
    position: relative
}

.form-group__bar:before {
    content: '';
    height: 2px;
    width: 0;
    left: 0;
    bottom: 0;
    position: absolute;
    background: var(--secondary-color);
    transition: .33s ease
}

.form-group__input:focus~.form-group__bar:before,
.form-group__input-full~.form-group__bar:before {
    width: 100%
}

.form-group__icon {
    position: absolute;
    top: 7px;
    left: -40px
}

.form-group__icon-svg {
    /* width: 20px;
    height: 20px; */
    fill: var(--primary-color);
    transition: .33s ease
}

textarea.form-group__input {
    height: 45px;
    padding-top: 14px;
    overflow-y: hidden;
    resize: none;
}

.form-checkbox {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px
}

.form-checkbox__input {
    display: none !important
}

.form-checkbox__label {
    cursor: pointer;
    font-size: 14px;
    color: #9e9e9e
}

.form-checkbox__label-link {
    color: inherit;
    text-decoration: underline
}

.form-checkbox__label::after {
    content: '';
    display: block;
    height: 16px;
    width: 16px;
    position: absolute;
    top: 5px;
    left: 0;
    background-color: var(--light);
    border: 3px solid var(--light);
    box-shadow: 0 0 0px 3px var(--primary-color);
    transition: background-color .35s;
}

.form-checkbox__input:checked+.form-checkbox__label:after {
    background-size: 14px 11px;
    background-position: 50%;
    background-color: var(--primary-color);
}

.form-checkbox__input.error+.form-checkbox__label:after {
    box-shadow: 0 0 0px 3px #f00;
}

.msg-success {
    font-size: 20px;
    text-align: center;
    display: block;
}

.map-link {
    display: inline-block;
    color: #9e9e9e;
    border-bottom: 1px dashed #9e9e9e;
}