:root{
    --main-color: #283d4a;
    --accent-color: #ff5722;
}
body {
    font-family: Roboto, Arial sans-serif;
    line-height: 1.5;
    background-color: #f0f2f4;
    font-size: 16px;
    font-weight: 400;
}

*, :after, :before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{    text-decoration: none;}
.container{
    max-width: 1170px;
    padding: 0 15px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 992px) { .container { max-width: 970px; }}
@media (min-width: 768px) { .container { max-width: 750px; }}

header{
    background: url("/img/header/header.jpg") center;
    background-size: cover;
    fill: #fff;
    min-height: 330px;
    position: relative;
}
header .container-md{
    position: relative;
    z-index: 1;
}
.header-overlay{
    background: linear-gradient(180deg, #00000090, #00000010,#00000010,transparent);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

}

.header-button:hover{
    color: #fff;
    opacity: 0.9;
}
.header-button{
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 7px 16px;
    background: #00000030;
    border-radius: 8px;
    line-height: 20px;
    color: #fff;
    border: 1px solid #fff;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}
.header-title{
    color: #fff;
    font-size: 34px;
    font-weight: bold;
    text-shadow: 0 0 15px #1d4b6890;
    line-height: 1.2;
    padding-top: 30px;
    padding-bottom: 30px;
}
.hb-img{
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease-out;
}

.menu-button{
    margin-right: 8px;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    display: none;
}

.svg-inline--fa {

    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.header-search > *{
    user-select: none;
}
.header-search{
    height: 48px;
}
@media (min-width: 768px) { .header-search { height: 108px;}}
@media (max-width: 768px) { .header-search { height: 230px;}}

.no-gutters>.col, .no-gutters>[class*=col-] {
    padding-right: 0;
    padding-left: 0;
}
.relative{position: relative;}

.header-search__btn {
    width: 212px;
    padding-left: 12px;
    height: 48px;
}
.header-search__btn>button{
    background: #ff5722;
    border: 1px solid #ff5722;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 400;
    cursor: pointer;
    height: 100% !important;
}
.header-search__btn>button:hover{
    background: #de491a;
    border: 1px solid #de491a;
}
.header-search__date,
.header-search__person,
.header-search__city {
    height: 48px;
    background: #fff;
    outline: none;
    font-size: 16px;
    color: #40454a;
    border-radius: 8px 0 0 8px;
    padding: 12px 40px 12px 16px;
    border: 1px solid #a9b1b8;
}
.header-search__date{
    border-radius: 0;
    padding: 0;
}
.header-search__person{
    border-radius: 0 8px 8px 0;
    padding: 0;
}


.header-search__person>div,
.header-search__date>div{
    padding: 12px 16px;
    position: relative;
    font-weight: 300;
}

input::placeholder{
    font-weight: 300;
}
.header-search__person svg{
    top: calc(50% - 7px);
    position: absolute;
    right: 16px;
    width: 14px;
    height: 14px;
    color: #131416;
}
.no-border-button{
    border: none;
    font-size: 26px;
    margin: 0;
    padding-left: 0;
}



@media (min-width: 768px) {
    .header-search__city {
        width: 100%;
        border-radius: 8px;
    }
    .header-search__date{
        border-radius: 8px 0 0 8px;
    }
    .header-search__person{
        border-radius:  0 8px 8px 0;
    }
    .header-search__btn{
        width: 230px;
        margin-right: 0;
        padding: 0;
        padding-left: 12px;
    }
    .header-title{
        padding: 30px 0 5px 0;
    }
}

main{
    margin-top: -16px;
    border-radius: 16px;
    background: #fff;
    min-height:70vh;
    z-index: 1;
    position: relative;
    padding-top: 32px;
}
h3, h2, h1{
    font-size: 22px;
    font-weight: 500;
    color: #444;
}
h1{color: var(--main-color);}
h3{font-size: 16px; font-weight: 600;}
.why-item{
    display: flex;
    background: #fafafb;
    padding: 24px;
    border-radius: 12px;
}
.why-item-list{grid-template-columns: repeat(3, 1fr); font-size: 14px;}
.why-item-list svg{font-size: 40px;margin-left: 20px;     color: #f59119;}
.color-accent{ color: #2b4f65;}

.register-poster a{
    background-image: linear-gradient(180deg, rgba(19, 58, 76, .76) 10.67%, rgba(255, 191, 157, 0)), url(/img/header/fb946f7ed1f511efa022fe1b45914307_1.jpg);
    width: 100%;
    background-size: cover;
    background-position: 50%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    color: #fff;
    padding: 24px;
    height: 220px;
    font-weight: 300;
    font-size: 20px;
    justify-content: space-between;

}
.register-poster h3{
    color: #fff;
    font-size: 22px;
}

.register-poster{
    margin-bottom: 40px;
    margin-top: 40px;
}

button{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: none;
    box-sizing: border-box;
    cursor: pointer;
    max-width: 260px;
    background: #ff5722;
    border: 1px solid #ff5722;
    color: #fff;
    padding: 11px 16px;
    font-size: 16px;
    font-weight: 400;
}
button:hover{
    background: #de491a;
    border: 1px solid #de491a;
}
.direction-item-list{grid-template-columns: repeat(3, 1fr); font-size: 14px;}
.direction-item  {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    user-select: none;
    cursor: pointer;
}
.direction-item__text{
    position: absolute;
    color: #fff;
    bottom: 16px;
    left: 16px;
}
.direction-item  h3{color: #fff;}
.direction-item img{
    display: block;
    width: 100%;
}
.direction-item-gradient{
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .08) 50%, rgba(0, 0, 0, .14) 57%, rgba(0, 0, 0, .25) 65%, rgba(0, 0, 0, .4) 72%, rgba(0, 0, 0, .5) 79%, rgba(0, 0, 0, .6) 87%, rgba(0, 0, 0, .74));
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.hotel-item-list{
    grid-template-columns: repeat(4, 1fr); font-size: 14px;
}
.hotel-item .img-blk{
    position: relative;
}
.hotel-item .img-blk:after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(179.3deg, transparent 57.92%, rgba(0, 0, 0, .1) 89.06%, rgba(0, 0, 0, .2) 99.39%);
}


.hotel-item img{
    display: block;
    width: 100%;
    border-radius: 12px;
}
.hotel-item{
    display: block;
    position: relative;
}
.hotel-item__price{
    font-size: 18px;
    font-weight: 500;
    padding-top: 10px;
    line-height: 1.2;
}
.hotel-item__text {color: #222;line-height: 1;}
.hotel-item__text h3{color: #222; line-height: 1.5;margin: 0}
.hotel-item__address,
.hotel-item__comment{font-weight: 300;}

.favorite-button{
    width: 28px;
    height: 28px;
    font-size: 16px;
    background: hsla(0, 0%, 100%, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .075), 0 0 1px rgba(0, 0, 0, .12);
    transition: all .2s ease-out;
    position: absolute;
    z-index: 1 !important;
    top: 12px;
    right: 12px;
    color: #444;
}
.favorite-button:hover{
    transform: scale(1.1);
}
.show-more-button{

    max-width:unset;
    background: #ebeeef;
    border: 1px solid #ebeeef;
    color: #131416;
    font-weight: 600;
    width: 100%;

}
.show-more-button:hover{
    background: #e6e8e8;
    border: 1px solid #e6e8e8;
}

.text-block h2{
    font-size: 18px;
    font-weight: 700;
}
footer{
    padding-top: 40px;
    padding-bottom: 40px;
    background: #f0f2f4;
}
.imgRegister svg{
    width: 100%;
    max-width: 350px;
    fill: #ff5722d9;
    transform: rotateY(180deg);
}
.img404 svg{
    width: 100%;
    max-width: 350px;
    fill: #999999;
}
.btn-home-404{
    background: #111;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
}
.btn-home-404:hover{
    color: #fff;
    background: #333;
}
footer{
    user-select: none;
}
.footer-end-text{
    font-size: 12px;
    color: #555;
}

.footer-logo sup{
    position: absolute;
    left: 6px;
    top: -1px;
    letter-spacing: 18px;
}
.footer-logo{
    text-transform: uppercase;
    color: #ff5722;
    line-height: 1;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 9px;
    text-shadow: 1px 1px 2px #fff;
    position: relative;
}
.footer-btn{
    background: #111;
    color: #fff;
    padding: 7px 25px;
    border-radius: 8px;
    border: solid 1px #111;
    text-align: center;
    max-width: 250px;
    font-size: 14px;
}
.footer-btn__white{
    background: #fff;
    color: #111;
}
.footer-btn:hover{
    color: #fff;
    opacity: 0.8;
}
.footer-btn__rg{
    background: #ff5722;
    color: #fff;
    border-color: #ff5722;
    padding: 12px 20px;
    font-weight: 400;
    font-size: 18px;
}
.footer-btn__white:hover{
    color: #111;
    background: transparent;
    opacity: 1;
}
.form input{
    font: inherit;
    letter-spacing: inherit;
    color: currentcolor;
    border: 1px solid #aaa;
    box-sizing: content-box;
    background: none;
    height: 1.4375em;
    margin: 0px;
    -webkit-tap-highlight-color: transparent;
    display: block;
    min-width: 0px;
    width: 100%;
    animation-name: mui-auto-fill-cancel;
    animation-duration: 10ms;
    padding: 16.5px 14px;
    border-radius: 4px;
    outline-color: #0c63e4;
}
.b-register *{box-sizing: border-box;

}
.b-register{
    width: 100%;
    max-width: 500px;
    text-align: center;
}
@media (min-width: 992px) {
    .col-lg {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
    .header-search__city {
        width: 100%;
        border-radius: 8px 0 0 8px;
    }
    .header-search__date{
        border-radius: 0;
    }
    .header-search__person{
        border-radius:  0 8px 8px 0;
    }
    .header-search__btn{
        width: 218px;
        margin-right: 0;
        padding: 0;
        padding-left: 12px;
    }
    .header-title{
        padding: 30px 0 30px 0;
    }
}

@media (max-width: 768px) {
    .header-search__btn,
    .header-search__person,
    .header-search__date,
    .header-search__city {
        width: 100%;
        border-radius: 8px;
    }
    .header-search__btn{
        padding: 0;
    }
    .header-title{
        padding: 30px 0 5px 0;
    }
    .rent-flat-button{
        display: none !important;
    }
    .no-border-button{
        border: none;
        font-size: 26px;
        margin: 0;
        padding-left: 0;
    }
}