
html, body {
    overflow-y: auto;
}



main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: relative;
    z-index: 1;
}


.cabinetCont {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}




p.bar__name {
    margin-top: 3px;
}

p.bar__name:after {
    /*text-decoration: none;*/
    display: none;
}

.cabinetCont {
    /*min-height: calc(100vh - 50px);*/
}

.cabinetCont .bold:after {
    display: none;
}

.cabinetCont .bold-underline {
    border-bottom: 1px solid #777;
    padding-bottom: 2px;
}

.cabinetCont__bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-image: url(/images/try_bg3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 78%;
    opacity: .2;
    /*background-attachment: fixed;*/
}

.cabinetCont .blockRow {
    margin: auto;
    margin-top: 15px;
}

.blockRow {
    width: 100%;
    padding: 0 2.5%;
}


.logoAside {
    width: 17%;
    position: absolute;
    top: 0;
    left: 0;
}

.bar__name {
    padding-left: 0;
    margin-top: 5px;
    font-size: 1.7rem;
}

.cabinetCont .contentSection {
    width: 60%;
    margin: 0 auto;
}

.cabinet_text3_5 {
    margin-top: 20px;
}

.headerText {
    margin-top: 15px;
}

.headerText p {
    /*line-height: 35px;*/
    /*font-size: 1.5rem;*/
    text-align: center;
}

.headerText .moreText {
    font-size: 1.5rem;
}


.moreText-smallest {
    padding: 0 85px;
}

.footer__text {
    font-size: 1.25rem;
}

.page2__footer {
    position: fixed;
    margin-top: 0px;

}

.cabinetCont {
    padding-bottom: 35px;
}


.blockRow {
    position: relative;
    margin: auto !important;
}


.cabinet__buttonsCont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 15px;
}


.cabinet__buttonsCont .searchButton + .searchButton {
    margin: 5px;
}


.logoAside .bar .bar__name {
    margin-top: 15px;
}



@media all and (max-height: 600px) and (min-width: 800px){
    body .cabinetCont {
        padding-bottom: 65px;
    }

    .blockRow {
        bottom: 0;
    }
}


@media all and (max-height: 350px) {
    .blockRow {
        padding-bottom: 25px;
    }
}


@media all and (max-width: 800px) {


    .scrollTopStyle {
        bottom: 50px;
    }

    main {
        display: block;
        position: relative;
        padding-bottom: 65px;
    }

    .footer__text {
        text-align: center;
    }

    .blockRow {
        display: block;
    }

    .logoAside {
        position: static;
        width: 100%;
        max-width: 50%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .logoAside {
        max-width: 250px;
    }

    .logoAside img {
        max-width: 100%;
    }

    .cabinetCont .contentSection {
        width: 90%;
    }
}


.tinres h1,
.tinres h2,
.tinres h3,
.tinres h4,
.tinres h5,
.tinres h6 {
    display: block;
    margin-block-start: 1rem;
    margin-block-end: 1rem;
}


@media all and (max-width: 1281px){
    .tinres p,
    .tinres span{
        /* font-size: 15px !important; */
    }

    .headerText .moreText{
        font-size: 1.25rem;
    }
}





