main>.container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #e30000;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

div.foon {
    background-image: url(../img/fon.png);
    background-size: cover;
    width: 100%;
    height: 74vh;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 80px;
    margin-top: -3.5%;
    position: relative;
}

@media (max-width: 390px) and (min-width: 200px) {

    div.foon {
        margin-top: -27%;
    }

    .fff {
        margin-top: 50%;
    }

    .text-h1 {
        font-size: 28px;
    }

    .text-h3 {
        font-size: 22px;
    }

}

@media (max-width: 610px) and (min-width: 391px) {

    div.foon {
        margin-top: -23%;
    }

    .fff {
        margin-top: 50%;
        border: none;
    }

    .text-h1 {
        font-size: 28px;
    }

    .text-h3 {
        font-size: 22px;
    }

}



@media (max-width: 976px) and (min-width: 611px) {

    div.foon {
        margin-top: -16%;
    }

    .fff {
        margin-top: 45%;
        border: none;
    }

}

@media (max-width: 1024px) and (min-width: 977px) {

    div.foon {
        margin-top: -16%;
    }

    .fff {
        margin-top: 45%;
        border: none;
    }

}

@media (max-width: 1024px) and (min-width: 977px) {

    div.foon {
        margin-top: -16%;
    }

    .fff {
        margin-top: 45%;
        border: none;
    }

}

@media (max-width: 1280px) and (min-width: 1025px) {

    div.foon {
        margin-top: -10%;
    }

    .fff {
        margin-top: 18%;
        border: none;
    }

}


@media (max-width: 1400px) and (min-width: 1280px) {

    div.foon {
        margin-top: -7.5%;
    }

    .fff {
        margin-top: 18%;
        border: none;
    }

}

@media (max-width: 1700px) and (min-width: 1400px) {

    div.foon {
        margin-top: -7.5%;
    }

    .fff {
        margin-top: 18%;
    }
}

.h1e{
    position: absolute;
    top: 34%;
}

.footer {
    background-color: #181818;
    background-size: cover;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: #e2e2e2;
}

.menu {
    background-color: #550000;
    background-size: cover;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

a {
    text-decoration: none;
}

.origin {
    color: #000000;
    text-decoration: none;
}

.origin:hover {
    color: #000000;
    text-decoration: none;
}

.btn {
    background-color: #e30000;
    text-decoration: none;
    color: #eeeeee;
    padding: 10px 20px;
    border-radius: 7px 7px 7px 7px;
    border: none;
    z-index: 100;
    font-weight: 500;
    font-size: 18px;
}

img.img-f {
    background-image: url(../img/fon.jpg);
    background-size: cover;
    width: 80%;
    height: 70vh;
    object-fit: cover;
    box-shadow: 0px -100px 500px #ebebeb;
    border-radius: 7px;
}

.text-h1 {
    color: #ffeef9;
    font-size: 42px;
    margin-bottom: 12px;
}

.text-h3 {
    color: #eae5e8;
    font-size: 28px;
}

.text-h4 {
    color: #eae5e8;
    font-size: 22px;
}

.topq {
    margin-top: 40px;
    margin-bottom: 20px;
}

.otst {
    margin-bottom: 100px;
}

.black {
    z-index: -1;
    filter: brightness(0.8);
}

.black2 {
    z-index: -1;
    filter: brightness(0.9);
}

.color-fon {
    color: #eeeeee;
    text-shadow: 1px 5px 10px #e30000;
}

img.heig {
    height: 24vh;
    background-size: cover;
    object-fit: cover;
}

.border {
    border: none;
    border-radius: 7px;
}

.price-cr {
    color: #eeeeee;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 5px 10px #e30000;
}

.tel {
    color: #eeeeee;
    font-size: 18px;
    font-weight: bold;
    color: #e30000;
}

.ffff {
    border: 1px solid #e2e2e2;
    width: 19.5rem;
}

img.img-catalog {
    height: 40vh;
    background-size: cover;
    object-fit: cover;
}

.buttons {
    margin-top: 20px;
}

.h5-catalog {
    min-height: 5vh;
    height: auto;
    max-height: 10vh;
}

.tab {
    padding: 10px;
}

th.tab {
    padding: 10px;
    text-align: center;
}

td.tab1 {
    padding: 10px;
    text-align: center;
}

.hhy {
    border-bottom: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
    border-radius: 0px;
    margin-bottom: 20px;
    padding: 20px 20px 20px 20px;
    width: 100%;
}

img.img-bs {
    width: 180px;
    height: 140px;
    border-radius: 20px;
}

img.wz {
    height: 25vh;
    background-size: cover;
    object-fit: cover;
    border-radius: 7px;
    width: 19rem;
}

.price {
    font-size: 22px;
    color: rgb(0, 0, 0);
    margin-top: 0%;
    font-weight: bold;
}

.desc2 {
    font-size: 18px;
    margin-top: -5%;
}

.desc {
    font-size: 18px;
    font-weight: bold;
    margin-top: -5%;
}

.desc1 {
    font-size: 18px;
    margin-top: 10px;
}

.dkl {
    gap: 40px;
}

img.img-buket {
    width: 100%;
    height: 50vh;
    background-size: cover;
    object-fit: cover;
    border-radius: 7px;
    border: none;
    position: relative;
}