body {
    font-family: "Book Antiqua";
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.2;
    color: #000;
    background-color: #fff !important;
}

.img-mob {
    display: none;
}

.wide {
    max-width: 1350px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.uppercase {
    text-transform: uppercase;
    margin-top: 40px;
    font-size: 20px;
}

ul {
    padding-left: 20px;
}

.why-wrapper {
    width: 175px;
    display: flex;
    flex-direction: column;
    height: 170px;
    margin-bottom: 25px;
}

.why-wrapper-img {
    width: 100%;
    text-align: center;
}

.why-wrapper-desc {
    width: 100%;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}

#why {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#topImg {
    display: flex;
    justify-content: center;
}

#bottomTitle p.black,
#conditions-wrapper-title p,
#mainTitle p,
#bottomTitle p {
    width: 100%;
    text-align: center;
    font-size: 30px;
    margin: 30px 0;
    color: #b58b58;
    text-transform: uppercase;
}

/*#bottomTitle p.black {
    color: #000;
    text-transform: none;
}*/

#conditions-wrapper {
    height: 560px;
    width: 100%;
    background: url('../img/back.jpg');
    background-position: center center;
    background-repeat: no-repeat;
}

#conditions {
    height: 100%;
    display: flex;
    flex-direction: row;
}

#conditions-left {
    width: 530px;
    border-right: solid 10px #fff;
    margin-right: 5px;
    background-color: #f5f4f4;
    box-sizing: border-box;
    padding: 0 20px;
}

#conditions-right {
    width: 670px;
    box-sizing: border-box;
    padding: 0 20px;
}

.conditions-title {
    border-bottom: solid 1px #c9af96;
    line-height: 80px;
    font-size: 30px;
    text-transform: uppercase;
}

.conditions-top {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    border-bottom: solid 1px #c9af96;
}

.conditions-top img {
    display: inline-block;
    margin-right: 12px;
}

.conditions-left-middle {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 140px;
    background: #fff;
    border-radius: 20px;
    justify-content: center;
    box-sizing: border-box;
    padding-right: 20px;
}

.conditions-left-middle img {
    margin: 0 25px;
}

.conditions-right-middle {
    font-size: 34px;
    text-transform: uppercase;
    color: #b58b58;
    height: 140px;
    flex-direction: row;
    align-items: center;
    display: flex;
    line-height: 40px;
    border-bottom: solid 1px #c9af96;
}

.conditions-bottom {}

.conditions-bottom-top {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.conditions-bottom-top-left,
.conditions-bottom-top-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.conditions-bottom-top-left img,
.conditions-bottom-top-right img {
    margin: 25px 0;
}

.rest-back {
    width: 100%;
    height: 579px;
    background: url('../img/rest.jpg');
    margin: 20px 0;
    display: none;
    clear: both;
}

#bottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.bottom-item {
    width: 325px;
    height: 400px;
    background: #f5f4f4;
    margin-bottom: 30px;
}

.bottom-item-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px 20px;
    height: 253px;
}

.bottom-item-title {
    margin: 30px 0;
    margin-top: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.bottom-item-desc {
    text-align: center;
}

#form {
    width: 100%;
    min-height: 580px;
    height: auto;
    background: url('../img/form.jpg');
    background-position: right center;
    box-sizing: border-box;
    padding-bottom: 40px;
}

#form-top {
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
    padding-top: 50px;
}

#form-sub {
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #fff;
    padding: 45px 0;
}

#form-inputs {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    padding-top: 5px;
    gap: 10px;
}

#form-inputs .form-group {
    position: relative;
    width: 350px;
    margin: 0;
}

#form-inputs .form-control {
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid transparent;
}

#form-inputs .form-control:focus {
    outline: none;
}

#form-agree {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

#form-agree .form-check-label {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

#agree {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

#send-form {
    width: 350px;
    height: 60px;
    text-align: center;
    color: #fff;
    background-color: #b58b58;
    text-transform: uppercase;
    font-size: 24px;
    margin: 0 auto;
    line-height: 60px;
    cursor: pointer;
    border: none;
    display: block;
    font-family: inherit;
}

#form-inputs .form-control.is-invalid,
#form-agree .form-check-input.is-invalid {
    border-color: #ff8a8a;
    outline: 2px solid #ff8a8a;
}

#form .invalid-tooltip {
    position: static;
    display: block;
    padding: 4px 0 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #ffb4b4;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    max-width: 100%;
    opacity: 1;
    z-index: auto;
}

#form-agree .invalid-tooltip {
    padding-top: 8px;
    text-align: center;
}

#result {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 30px 0;
}

#bottom-wrapper,
#form {
    max-width: 1920px;
    margin: 0 auto;
}

#banners-table {
    margin: 0 auto;
    height: 690px;
    width: 100%;
    max-width: 1920px;
    border: solid 1px #fff;
}

#banners-table-left {
    width: 38%;
    background: url('../img/table/1.jpg');
    background-position: center center;
}

#banners-table-middle {
    width: 24%;
}

#banners-table-right {
    width: 38%
}

#banners-table-middle-inner-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#banners-table-middle-inner-top {
    width: 100%;
    height: 33%;
    background: url('../img/table/2.jpg');
    background-position: center center;
}

#banners-table-middle-inner-center {
    width: 100%;
    height: 33%;
    background: url('../img/table/3.jpg');
    background-position: center center;
}

#banners-table-middle-inner-bottom {
    width: 100%;
    height: 33%;
    background: url('../img/table/4.jpg');
    background-position: center center;
}

#banners-table-right-inner-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#banners-table-right-inner-top {
    width: 100%;
    height: 50%;
    background: url('../img/table/5.jpg');
    background-position: center center;
    background-size: cover;
}

#banners-table-right-inner-bottom {
    width: 100%;
    height: 50%;
    background: url('../img/table/6.jpg');
    background-position: center right;
    background-size: cover;
}

.table-txt {
    width: 100%;
    height: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 3% 3%;
    flex-direction: row;
    color: #fff;
    font-size: 20px;
}

.table-r-t {
    justify-content: flex-start;
    align-items: flex-start;
}

.table-l-t {
    justify-content: flex-start;
    align-items: flex-start;
}

.table-l-b {
    justify-content: flex-start;
    align-items: flex-end;
}

#prebottom {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    height: 265px;
}

#prebottom div {
    width: 25%;
    height: 100%;
    background-position: center center;
    background-size: cover;
}

#prebottom #one {
    background-image: url('../img/prebottom/1.jpg');
}

#prebottom #two {
    background-image: url('../img/prebottom/2.jpg');
}

#prebottom #three {
    background-image: url('../img/prebottom/3.jpg');
}

#prebottom #four {
    background-image: url('../img/prebottom/4.jpg');
}

#form {
    padding-bottom: 30px !important;
}

#banners-table p {
    background: rgba(0, 0, 0, 0.6);
    padding: 0 5px;
    margin: 0 0 !important;
    margin-block-end: 0 !important
}

@media all and (max-width:1090px) {
    #form {
        height: auto;
        background-size: cover;
        padding: 0 30px;
    }

    #form-inputs {
        flex-direction: column;
        align-items: center;
    }

    #form-inputs .form-group {
        width: 100%;
        max-width: 350px;
    }

    #form-inputs .form-control {
        margin: 2px 0;
    }

}

@media all and (max-width:970px) {

    #conditions-wrapper {
        background: none;
        height: auto;
        max-height: auto;
    }

    #conditions {
        flex-direction: column;
        height: auto;
    }

    #conditions-left {
        width: 100%;
        margin-bottom: 10px;
        border-right: 0;
        padding-bottom: 30px;
    }

    #conditions-right {
        width: 100%;
        background-color: #f8eee4;
        padding-bottom: 30px;
    }

    .conditions-right-middle {
        height: auto;
        padding: 15px 0;
    }


}

@media all and (max-width:869px) {
    .rest-back {
        display: block;
    }

    #conditions-wrapper {
        height: auto;
    }
}

@media all and (max-width:640px) {

    .img-mob {
        display: block;
    }

    .img-desk {
        display: none;
    }

    #mainTitle p {
        font-size: 20px;
        margin: 25px 0;
    }

    .why-wrapper {
        width: 155px;
    }

    #banners-table {
        margin: 0 auto;
        height: auto;
    }

    #banners-table tr {
        display: flex;
        flex-direction: column;
    }

    #banners-table-left {
        width: 100%;
        height: 250px;
    }

    #banners-table-middle {
        width: 100%;
        height: 750px;
    }

    #banners-table-right {
        width: 100%;
        height: 500px;
    }

    #banners-table-middle-inner-top {
        height: 250px;
        background-size: cover;
    }

    #banners-table-middle-inner-center {
        height: 250px;
        background-size: cover;
    }

    #banners-table-middle-inner-bottom {
        height: 250px;
        background-size: cover;
    }

    .table-l-t,
    .table-r-t {
        justify-content: flex-start;
        align-items: flex-end;
    }

    #bottomTitle p.black,
    #conditions-wrapper-title p,
    #mainTitle p,
    #bottomTitle p {
        box-sizing: border-box;
        padding: 0 15px;
    }

    #prebottom #four {
        width: 100%;
    }

    #prebottom #two,
    #prebottom #three,
    #prebottom #one {
        display: none;
    }



}