@charset "utf-8";
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
em,
img,
strong,
sub,
sup,
b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
table,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    /* обнуляем отступы и убираем бордюры */
    vertical-align: baseline;
    /* приводим все к одной базовой линии */
    background: transparent;
    /* чтобы не проскакивали левые фоны, установленные по умолчанию */
}


/*
DFDFDF  - фон + слова
5F5980  - фон заставки
343434  - шапка + футер
043F6D  - кнопки на темном, обводки границ темного и светлого
*/


/* CSS Document */

html,
body {
    width: 98.4vw;
    background-color: #DFDFDF;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
}

.top-otdelitel4 {
    height: 1.5vh;
}


/* главный банер */

.main-banner {
    height: 85vh;
    display: flex;
    justify-content: center;
}

.main-slider {
    width: 49.2vw;
    background-position: center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.main-text {
    width: 49.2vw;
    background-color: #5f5980;
    font-size: 2.5vw;
    text-align: center;
    color: #dfdfdf;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-weight: bold;
}

.main-text-tel {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.main-text-tel1 a {
    color: #dfdfdf;
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.main-text1 {
    font-size: 1.5vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.main-text-h1 {
    font-size: 2.6vw;
    padding: 2.3vh 1.3vw;
    background-color: #fde305;
    color: #5f5980;
}


/* конец главного банера */

.catalog-title {
    text-align: center;
    padding: 3.2vh 0vw;
    font-size: 2.5vw;
    background: #343434;
    color: #dfdfdf;
}

.table-price {
    text-decoration: none;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

.table-price th {
    font-weight: normal;
    color: #DFDFDF;
    background-color: #343434;
}

.table-price td {
    font-size: 2.5vw;
    font-weight: bold;
    color: #343434;
}

.table-price td,
.table-price th {
    white-space: pre-wrap;
    padding: 1vh 1vw;
    line-height: 4vw;
    vertical-align: middle;
    border: 3px solid #343434;
}

.table-price td:hover {
    background-color: #f9fafb
}

.table-price tr:hover td {
    color: #354251;
    cursor: default;
}


/* пагинация */

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /*font-size: 1.3vw;*/
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    height: 64px;
}

.pagination span,
.pagination a {
    margin: 8px 8px 8px 0;
    padding: 0 1.5px 0 1.5px;
    color: #343434;
    border-bottom: 3px solid #343434;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
}

.pagination a:hover,
.span-activ {
    cursor: pointer;
    color: #043F6D;
    border: 1.5px solid black;
    border-bottom: 3px solid #343434;
}


/* конец пагинации */


/* каталог */

.catalog {
    height: 81vh;
    display: flex;
    flex-direction: row;
    font-size: 17px;
}

.table-key {
    width: 17vw;
    height: 80vh;
    display: flex;
    flex-direction: row;
}

.otdelitel {
    margin: 0.5vw;
    background: #343434;
    width: 0.3vw;
    display: flex;
    flex-direction: column
}

.text {
    width: 15vw;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
}

.text a {
    text-decoration: none;
    color: #343434;
}

.text a:hover {
    color: black;
}

.table-tovar {
    padding-top: 4vh;
    width: 81vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.tovar {
    height: 31vh;
    width: 12vw;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border: 0.2vw solid #DFDFDF;
}

.table-tovar a {
    text-decoration: none;
    color: #343434;
}

.table-tovar a:hover {
    border: 0.3vw solid #FFFFFF;
}

.tovar-h2 {
    height: 12vh;
    width: 12vw;
    text-align: center;
}

.tovar-image {
    height: 19vh;
    width: 12vw;
    background-repeat: no-repeat;
    background-position: center;
    /*-webkit-background-size: contain;
    background-size: contain;*/
    -webkit-background-size: cover;
    background-size: cover;
}


/* конец каталога */

.main-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.main-map {
    width: 49.2vw;
    height: 72.5vh;
    background: url("images/map-vash-prokat.jpg") center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.main-footer-text {
    background-color: #5f5980;
    width: 49.2vw;
    height: 72.5vh;
    font-size: 2.5vw;
    text-align: center;
    color: #dfdfdf;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-weight: bold;
}

.main-footer-h2 {
    font-size: 2.6vw;
}

.main-text-centr {
    text-align: center;
    color: #dfdfdf;
    font-size: 1.3vw;
}

@media screen and (max-width:1050px) {
    .html,
    body {
        width: 98vw;
    }
    .main-slider {
        width: 49vw;
    }
    .main-text {
        width: 49vw;
    }
    .main-map {
        width: 49vw;
    }
    .main-footer-text {
        width: 49vw;
    }
    .main-banner {
        height: 50vh;
    }
    /* каталог с пагинацией */
    .catalog {
        height: 98vh;
        /*font-size: 2vw;*/
    }
    .table-key {
        display: none;
    }
    .table-tovar {
        padding-top: 3vh;
        width: 98vw;
        display: flex;
        align-content: flex-start;
    }
    .tovar {
        height: 30vh;
        width: 23vw;
    }
    .table-tovar a:hover {
        border: 0.5vw solid #FFFFFF;
    }
    .tovar-h2 {
        height: 8vh;
        width: 23vw;
    }
    .tovar-image {
        height: 22vh;
        width: 23vw;
    }
    /* конец каталога с пагинацией */
    .main-map {
        height: 50vh;
    }
    .main-footer-text {
        height: 50vh;
    }
}

@media screen and (max-width:1050px) and (min-aspect-ratio: 16/9) {
    .main-banner {
        height: 70vh;
    }
    .main-map {
        height: 70vh;
    }
    .main-footer-text {
        height: 70vh;
    }
}


/*1050 на 700*/

@media screen and (max-width:1050px) and (min-aspect-ratio: 3/2) {
    /* каталог */
    .catalog {
        height: 130vh;
    }
    .tovar {
        height: 40vh;
    }
    .tovar-h2 {
        height: 10vh;
    }
    .tovar-image {
        height: 30vh;
    }
}


/*1050на500*/

@media screen and (max-width:1050px) and (min-aspect-ratio: 21/10) {
    /* каталог */
    .catalog {
        height: 190vh;
    }
    .tovar {
        height: 60vh;
    }
    .tovar-h2 {
        height: 15vh;
    }
    .tovar-image {
        height: 45vh;
    }
}


/*1050на400*/

@media screen and (max-width:1050px) and (min-aspect-ratio: 21/8) {
    /* каталог */
    .catalog {
        height: 230vh;
    }
    .tovar {
        height: 70vh;
    }
    .tovar-h2 {
        height: 20vh;
    }
    .tovar-image {
        height: 50vh;
    }
    /*нижний банер*/
    .main-banner {
        height: 90vh;
    }
    .main-map {
        height: 90vh;
    }
    .main-footer-text {
        height: 90vh;
    }
}


/*1050на300*/

@media screen and (max-width:1050px) and (min-aspect-ratio: 7/2) {
    /* каталог */
    .catalog {
        height: 300vh;
    }
    .tovar {
        height: 90vh;
    }
    .tovar-h2 {
        height: 30vh;
    }
    .tovar-image {
        height: 60vh;
    }
    /*нижний банер*/
    .main-banner {
        height: 140vh;
    }
    .main-map {
        height: 140vh;
    }
    .main-footer-text {
        height: 140vh;
    }
}

@media screen and (max-width:930px) {
    .main-text-centr {
        display: none;
    }
}

@media screen and (max-width:800px) {
    .main-top {
        font-size: 2vw;
    }
    #head-main2 {
        height: 10vh;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        ;
    }
    #head-main21 {
        margin-right: 0vw;
    }
    #head-main4 {
        height: 10vh;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
    }
    #head-main41 {
        margin-right: 0vw;
    }
}

@media screen and (max-width:650px) {
    /* верхний банер */
    .main-banner {
        height: 30vh;
    }
    .main-text {
        font-size: 3.5vw;
    }
    .main-text-h1 {
        font-size: 3.4vw;
        padding: 1.5vh 1.3vw;
        font-weight: bold;
    }
    .main-text-tel {
        display: flex;
        flex-direction: column;
    }
    /* конец верхнего банера */
    .catalog {
        height: 128vh;
        /*font-size: 2.8vw; */
    }
    .table-tovar {
        padding-top: 2vh;
    }
    .tovar {
        height: 30vh;
        width: 30vw;
    }
    .table-tovar a:hover {
        border: 0.8vw solid #FFFFFF;
    }
    .tovar-h2 {
        height: 8vh;
        width: 30vw;
    }
    .tovar-image {
        height: 22vh;
        width: 30vw;
    }
    /*конец каталога с пагинацией*/
    a.paginationPage {
        display: none;
    }
    .main-map {
        height: 30vh;
    }
    .main-footer-text {
        height: 30vh;
        font-size: 3.4vw;
    }
    .main-footer-h2 {
        font-size: 3.4vw;
    }
    .main-text-tel2 {
        display: none;
    }
    /*футер*/
    .main-text-right {
        display: none;
    }
    .main-top-logo {
        font-size: 3.5vw;
    }
    #footer {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/*650на650*/

@media screen and (max-width:650px) and (min-aspect-ratio: 1/1) {
    .catalog {
        height: 140vh;
    }
    .tovar {
        height: 32vh;
    }
    .tovar-h2 {
        height: 8vh;
    }
    .tovar-image {
        height: 24vh;
    }
    .main-banner {
        height: 60vh;
    }
    .main-map {
        height: 60vh;
    }
    .main-footer-text {
        height: 60vh;
    }
}


/*650на500*/

@media screen and (max-width:650px) and (min-aspect-ratio: 13/10) {
    .catalog {
        height: 190vh;
    }
    .tovar {
        height: 45vh;
    }
    .tovar-h2 {
        height: 17vh;
    }
    .tovar-image {
        height: 28vh;
    }
}


/*650на400*/

@media screen and (max-width:650px) and (min-aspect-ratio: 13/8) {
    .catalog {
        height: 210vh;
    }
    .tovar {
        height: 50vh;
    }
    .tovar-h2 {
        height: 15vh;
    }
    .tovar-image {
        height: 35vh;
    }
}


/*650на300*/

@media screen and (max-width:650px) and (min-aspect-ratio: 13/6) {
    .catalog {
        height: 250vh;
    }
    .tovar {
        height: 60vh;
    }
    .tovar-h2 {
        height: 20vh;
    }
    .tovar-image {
        height: 40vh;
    }
}

@media screen and (max-width:650px) and (min-aspect-ratio: 23/11) {
    .main-banner {
        height: 80vh;
    }
    .main-map {
        height: 80vh;
    }
    .main-footer-text {
        height: 80vh;
    }
}

@media screen and (max-width:650px) and (min-aspect-ratio: 65/24) {
    .main-banner {
        height: 100vh;
    }
    .main-map {
        height: 100vh;
    }
    .main-footer-text {
        height: 100vh;
    }
}

@media screen and (max-width:600px) {
    .main-top {
        font-size: 3.5vw;
    }
    .catalog-title {
        font-size: 3.5vw;
    }
    .main-top-logo {
        font-size: 4.5vw;
    }
    .table-price td {
        font-size: 3.5vw;
    }
}

@media screen and (max-width:500px) {
    .main-top {
        font-size: 4vw;
    }
    .catalog-title {
        font-size: 4vw;
    }
    .table-price td {
        font-size: 4vw;
    }
    .main-top-logo {
        font-size: 5vw;
    }
}

@media screen and (max-width:450px) {
    /* верхний банер */
    .main-banner {
        height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .main-slider {
        width: 98.4vw;
        height: 35vh;
    }
    .main-text {
        height: 35vh;
        width: 98.4vw;
        font-size: 6vw;
    }
    .main-text-h1 {
        font-size: 6vw;
        padding: 1.5vh 1.3vw;
        font-weight: bold;
    }
    /* конец верхнего банера */
    .catalog {
        height: 200vh;
        /*font-size: 4.3vw; */
    }
    .tovar {
        margin-top: 2vh;
        margin-bottom: 0.5vh;
        height: 30vh;
        width: 45vw;
    }
    .table-tovar a:hover {
        border: 0.8vw solid #FFFFFF;
    }
    .tovar-h2 {
        height: 8vh;
        width: 45vw;
    }
    .tovar-image {
        height: 22vh;
        width: 45vw;
    }
    /* нижний блок */
    .main-footer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .main-map {
        height: 35vh;
        width: 98.4vw;
    }
    .main-footer-text {
        height: 35vh;
        width: 98.4vw;
        font-size: 6vw;
    }
    .main-footer-h2 {
        font-size: 6vw;
    }
}


/* 450на550 */

@media screen and (max-width:450px) and (min-aspect-ratio: 9/11) {
    .catalog {
        height: 250vh;
    }
    .tovar {
        height: 38vh;
    }
    .tovar-h2 {
        height: 15vh;
    }
    .tovar-image {
        height: 23vh;
    }
}


/* 450на400 */

@media screen and (max-width:450px) and (min-aspect-ratio: 9/8) {
    .catalog {
        height: 330vh;
    }
    .tovar {
        height: 50vh;
    }
    .tovar-h2 {
        height: 15vh;
    }
    .tovar-image {
        height: 35vh;
    }
}


/* 450на300 */

@media screen and (max-width:450px) and (min-aspect-ratio: 3/2) {
    .catalog {
        height: 400vh;
    }
    .tovar {
        height: 62vh;
    }
    .tovar-h2 {
        height: 22vh;
    }
    .tovar-image {
        height: 40vh;
    }
}

@media screen and (max-width:450px) and (min-aspect-ratio: 11/16) {
    .main-banner {
        height: 120vh;
    }
    .main-slider {
        height: 60vh;
    }
    .main-text {
        height: 60vh;
    }
    .main-map {
        height: 60vh;
    }
    .main-footer-text {
        height: 60vh;
    }
}

@media screen and (max-width:450px) and (min-aspect-ratio: 44/39) {
    .main-banner {
        height: 160vh;
    }
    .main-slider {
        height: 80vh;
    }
    .main-text {
        height: 80vh;
    }
    .main-map {
        height: 80vh;
    }
    .main-footer-text {
        height: 80vh;
    }
}

@media screen and (max-width:450px) and (min-aspect-ratio: 44/29) {
    .main-banner {
        height: 200vh;
    }
    .main-slider {
        height: 100vh;
    }
    .main-text {
        height: 100vh;
    }
    .main-map {
        height: 100vh;
    }
    .main-footer-text {
        height: 100vh;
    }
}


/*450на225*/

@media screen and (max-width:450px) and (min-aspect-ratio: 2/1) {
    .main-banner {
        height: 140vh;
        width: 98.4vw;
    }
    .main-slider {
        display: none;
    }
    .main-text {
        height: 140vh;
        width: 98.4vw;
    }
    .main-map {
        display: none;
    }
    .main-footer-text {
        height: 140vh;
        width: 98.4vw;
    }
}

@media screen and (max-width:310px) {
    .main-top {
        font-size: 5vw;
    }
    .catalog-title {
        font-size: 5vw;
    }
    .table-price td {
        font-size: 5vw;
    }
    .main-top-logo {
        font-size: 6vw;
    }
}

@media screen and (max-width:250px) {
    .main-top {
        font-size: 6vw;
    }
    .catalog-title {
        font-size: 6vw;
    }
    .table-price td {
        font-size: 6vw;
    }
    .main-top-logo {
        font-size: 7vw;
    }
}