@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

a {
    color: #ff3131;
}

h1 {
    padding: 1rem 0 2rem 0;
    font-size: 1.5rem;
}

@media (max-width: 1920px) {
    h1 {
        padding-top: 0;
        margin-top: 0;
    }
}

header {
    background-color: #fff;
}

header #ttmenu .nav-pills .nav-link.active {
    color: #fff;
    background-color: #ff3131;
}

#mobtel {
    color: #fff;
}

#mobtel a {
    color: #fff;
}

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

.bg-primary {
    background-color: #ff3131 !important;
}

.navbar-brand img {
    margin-right: 1rem;
}

.navbar-toggler {
    border-color: #fff;
    color: #fff;
}

.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* #carouselDoors {
    margin-top: 5rem;
} */

.carousel-caption {
    backdrop-filter: blur(3px);
    border-radius: 40px;
}

.carousel-caption h5 {
    display: none;
    font-size: 300%;
    color: #fff;
    text-shadow: 1px 1px 2px black;
}

.carousel-caption p {
    font-size: 200%;
    color: #fff;
    text-shadow: 1px 1px 2px black;
}

@media (max-width: 992px) {
    .carousel-caption h5 {
        font-size: 150%;
    }
    
    .carousel-caption p {
        font-size: 100%;
    }
}

.first-series h2,
.first-series a {
    color:#ff3131 !important;
    font-size: 1.3rem;
    margin-bottom: 0;
    text-decoration: none;
}

.first-series h2 {
    text-decoration: underline;
}

.pricedesk-out {
    display: none;
    font-size: 1rem;
    color: #000;
    font-style: italic;
    text-decoration: none;
    text-align: center;
}

/* .goodgrid {
    text-align: center;
}

.goodgrid h2 {
    font-size: 1rem;
}

.goodgrid img {

} */

.goodgrid-inside img {
    width: 100%;
}

.goodgrid-inside > div {
    margin-bottom: 1rem;
}

.pagination {
    margin-bottom: 0;
}

.pagination li.disabled span {
    display: none;
}

.page-link {
    color:#ff3131;
}

.active>.page-link, .page-link.active {
    background-color: #ff3131;
    border-color: #ff3131;
}

.plyonkirow img {
    width: 100%;
}

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

footer a {
    color: #fff;
    text-decoration: underline;
}

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

.not-set {
    color: #ff3131 !important;
    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: #ff3131 !important;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

#logo{
    height: 3rem;
    margin-right: .5rem;
}

header .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

header .navbar > div > a,
header .navbar ul > li > a,
header .navbar > div > div > a {
    color: #fff;
    text-decoration: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #fff;
}

header .navbar > div > a:first-child {
    display: none;
}

@media (max-width: 480px) {
    header .navbar > div {
        text-align: center;
    }
}

header .navbar > div > a:hover,
header .navbar ul > li > a:hover {
    color: #fff;
}

header .navbar ul > li > a {
    display: inline-block;
    position: relative;
}

header .navbar ul > li > a::after {
content: '';
position: absolute;
width: 100%;
transform: scaleX(0);
height: 2px;
bottom: 0;
left: 0;
background-color: #fff;
transform-origin: bottom right;
transition: transform 0.25s ease-out;
}

header .navbar ul > li > a:hover::after {
transform: scaleX(1);
transform-origin: bottom left;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
}

/* 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;
}

.callme {
    border-radius: 0;
}

.raboty-img {
    display: block;
    height: 20rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.othersgrid h2 {
    font-size: 1rem;
}

.othersgrid img {
    width: 100%
}

.doorsgrid .doorz {
    width: 100%;
    text-align: center;
}

.doorsgrid h2 {
    padding-top: .2rem;
    font-size: 1rem;
    margin-bottom: 0;
}

.doorsgrid a {
    text-decoration: none;
}

/* xs */
@media (max-width: 576px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 223px;
        height: 479px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 243px;
        height: 522px;
        transition-duration: 0.1s;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 768px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 223px;
        height: 479px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 243px;
        height: 522px;
        transition-duration: 0.1s;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 992px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 194px;
        height: 417px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 214px;
        height: 460px;
        transition-duration: 0.1s;
    }
}

/* lg 4 */
/* @media (min-width: 992px) and (max-width: 1200px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 194px;
        height: 417px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 214px;
        height: 460px;
        transition-duration: 0.1s;
    }
} */

/* lg 3 */
@media (min-width: 992px) and (max-width: 1200px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 130px;
        height: 279px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 150px;
        height: 322px;
        transition-duration: 0.1s;
    }
}

/* xl 4 */
/* @media (min-width: 1200px) and (max-width: 1400px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 239px;
        height: 513px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 259px;
        height: 556px;
        transition-duration: 0.1s;
    }
} */

/* xl 3 */
@media (min-width: 1200px) and (max-width: 1400px) {
    .doorsgrid .doorx {
        margin: 40px 10px 0 10px;
        width: 160px;
        height: 344px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 180px;
        height: 384px;
        transition-duration: 0.1s;
    }
}

/* xxl */
@media (min-width: 1400px) {
    .doorsgrid .doorx {
        margin: 43px 10px 0 10px;
        width: 284px;
        height: 610px;
    }
    .doorsgrid .doorx:hover {
        margin: 0;
        width: 304px;
        height: 653px;
        transition-duration: 0.1s;
    }
}

.seriesgrid > div {
    margin-bottom: 1rem;
}

.seriesgrid > div > a {
    background-color: #fff;
}

.seriesgrid > div > a:hover {
    background-color: #ff3131;
}

.seriesgrid h2 {
    font-size: 1rem;
    margin-top: .5rem;
    margin-bottom: 0;
}

.doorseria {
    width: 100%;
}

.dvy-seria {
    padding-top: 2.5rem;
}

.seriesgrid a {
    text-decoration: none;
}

.seriesgrid p {
    font-size: .9rem;
    margin-bottom: 2rem;
}

div.seria {
    height: 298px;
}

@media (max-width: 1400px) {
    div.seria {
        height: 255px;
    }
}

@media (max-width: 1200px) {
    div.seria {
        height: 208px;
    }
}

@media (max-width: 992px) {
    div.seria {
        height: 208px;
    }
}

@media (max-width: 768px) {
    div.seria {
        height: 239px;
    }
}

@media (max-width: 576px) {
    div.seria {
        height: auto;
    }
}


/* modifying */
body{
    font-family: 'Oswald', sans-serif;
}

h1 {
    margin-top: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

header {
    color: #fff;
    background: radial-gradient(circle, #fe5454, #ff0000);
}

header a {
    color: #fff;
}

.sitetitle {
    text-decoration: none;
    display: block;
    padding: 1rem 0 1.2rem 0;
    font-size: 2rem;
}

.toptitle {
    text-align: center;
    font-size: 1.5rem;
}

.toptel {
    padding-top: 1rem;
}

.topwa {
    text-align: center;
}

#whatsapp-button {
    padding-top: .63rem;
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .topwa {
        text-align: right;
    }
    #whatsapp-button {
        padding-top: .8rem;
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .topwa {
        text-align: right;
    }
    #whatsapp-button {
        padding-top: 1.4rem;
        width: 70%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .topwa {
        text-align: center;
    }
    #whatsapp-button {
        padding-top: 1.2rem;
        width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .topwa {
        text-align: center;
    }
    #whatsapp-button {
        padding-top: 1.2rem;
        width: 20%;
        margin: 0 auto;
    }
}

.topemail {
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .sitetitle {
        text-align: center;
    }
    .toptel {
        text-align: center;
    }
    .topemail {
        text-align: center;
    }
}

#topmenu {
    margin-top: 3px;
    text-align: center;
    /* margin-bottom: 1rem; */
    z-index: 500;
    -webkit-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

#topmenu a {
    display: block;
    padding-top: 3rem;
    padding-bottom: .3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 80%;
}

#topmenu > div > div:hover {
    background: #ff3131;
}

#topmenu > div > div:hover a {
    color: #fff;
}

#topmenu > div > div.mmain {
    background: url(/css/menu/mhome.png) no-repeat center 30%;
    background-size: 30%;
}

#topmenu > div > div.mmain:hover {
    background: url(/css/menu/mhomea.png) no-repeat center 30% #ff3131;
    background-size: 30%;
}


#topmenu > div > div.mcat {
    background: url(/css/menu/mcatalog.png) no-repeat center 30%;
    background-size: 26%;
}

#topmenu > div > div.mcat:hover {
    background: url(/css/menu/mcataloga.png) no-repeat center 30% #ff3131;
    background-size: 26%;
}

#topmenu > div > div.mabout {
    background: url(/css/menu/mabout.png) no-repeat center 30%;
    background-size: 23%;
}

#topmenu > div > div.mabout:hover {
    background: url(/css/menu/mabouta.png) no-repeat center 30% #ff3131;
    background-size: 23%;
}

#topmenu > div > div.msotrud {
    background: url(/css/menu/mpartnership.png) no-repeat center 30%;
    background-size: 17%;
}

#topmenu > div > div.msotrud:hover {
    background: url(/css/menu/mpartnershipa.png) no-repeat center 30% #ff3131;
    background-size: 17%;
}

#topmenu > div > div.mcert {
    background: url(/css/menu/mcerts.png) no-repeat center 30%;
    background-size: 17%;
}

#topmenu > div > div.mcert:hover {
    background: url(/css/menu/mcertsa.png) no-repeat center 30% #ff3131;
    background-size: 17%;
}

#topmenu > div > div.mopl {
    background: url(/css/menu/mcatalog.png) no-repeat center 30%;
    background-size: 13%;
}

#topmenu > div > div.mopl:hover {
    background: url(/css/menu/mcataloga.png) no-repeat center 30% #ff3131;
    background-size: 13%;
}

#topmenu > div > div.musl {
    background: url(/css/menu/mabout.png) no-repeat center 30%;
    background-size: 23%;
}

#topmenu > div > div.musl:hover {
    background: url(/css/menu/mabouta.png) no-repeat center 30% #ff3131;
    background-size: 23%;
}

#topmenu > div > div.mworks {
    background: url(/css/menu/mabout.png) no-repeat center 30%;
    background-size: 12%;
}

#topmenu > div > div.mworks:hover {
    background: url(/css/menu/mabouta.png) no-repeat center 30% #ff3131;
    background-size: 12%;
}

#topmenu > div > div.motz {
    background: url(/css/menu/mgeo.png) no-repeat center 30%;
    background-size: 20%;
}

#topmenu > div > div.motz:hover {
    background: url(/css/menu/mgeoa.png) no-repeat center 30% #ff3131;
    background-size: 20%;
}

#topmenu > div > div.mcont {
    background: url(/css/menu/mcontacts.png) no-repeat center 30%;
    background-size: 20%;
}

#topmenu > div > div.mcont:hover {
    background: url(/css/menu/mcontactsa.png) no-repeat center 30% #ff3131;
    background-size: 20%;
}

@media (max-width: 992px) {
    #topmenu {
        margin-top: 3px;
        text-align: center;
        /* margin-bottom: 1rem; */
        z-index: 500;
        -webkit-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
    }
    
    #topmenu a {
        display: block;
        padding-top: .3rem;
        padding-bottom: .3rem;
        font-weight: bold;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 80%;
    }
    
    #topmenu > div > div:hover {
        background: #ff3131;
    }
    
    #topmenu > div > div:hover a {
        color: #ff3131;
        text-decoration: underline;
    }
    
    #topmenu > div > div.mmain {
        background: none;
        background-size: 30%;
    }
    
    #topmenu > div > div.mmain:hover {
        background: none;
        background-size: 30%;
    }
    
    
    #topmenu > div > div.mcat {
        background: none;
        background-size: 26%;
    }
    
    #topmenu > div > div.mcat:hover {
        background: none;
        background-size: 26%;
    }
    
    #topmenu > div > div.mabout {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.mabout:hover {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.msotrud {
        background: none;
        background-size: 17%;
    }
    
    #topmenu > div > div.msotrud:hover {
        background: none;
        background-size: 17%;
    }
    
    #topmenu > div > div.mcert {
        background: none;
        background-size: 17%;
    }
    
    #topmenu > div > div.mcert:hover {
        background: none;
        background-size: 17%;
    }
    
    #topmenu > div > div.mopl {
        background: none;
        background-size: 13%;
    }
    
    #topmenu > div > div.mopl:hover {
        background: none;
        background-size: 13%;
    }
    
    #topmenu > div > div.musl {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.musl:hover {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.mworks {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.mworks:hover {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.motz {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.motz:hover {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.mcont {
        background: none;
        background-size: 20%;
    }
    
    #topmenu > div > div.mcont:hover {
        background: none;
        background-size: 20%;
    }
}


.catalog-first-level img {
    height: 256px;
}

@media (max-width: 1400px) {
    .catalog-first-level img {
        height: 200px;
    }
}

@media (max-width: 1200px) {
    .catalog-first-level img {
        height: 175px;
    }
}

@media (max-width: 576px) {
    .catalog-first-level img {
        height: auto;
        width: 100%;
    }
}

.catalog-first-level > div {
    text-align: center;
}

.catalog-first-level h2 {
    font-size: 1rem;
    margin-top: .3rem;
    margin-bottom: 1rem;
}

.emal-bage {
    display: block;
    width: 50%;
    position: relative;
    top: 75px;
    left: 53%;
    padding: 1px 7px 3px 7px;
    background: #ff3131;
    color: #fff;
    text-align: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}