a[data-fancybox] {
    cursor: zoom-in;
}

[data-action="load-link"] {
    cursor: pointer;
}

select {
    cursor: pointer;
}

.custom-file-label:after {
    content: 'Обзор';
}

.form-group {
    position: relative;
}

.custom-file-input {
    cursor: pointer;
}

.custom-file-label {
    color: #6c6c6c;
}

.required:after {
    content: '*';
    font-weight: 600;
    color: #d02029;
    margin-left: 5px;
}

.btn-small {
    height: 34px !important;
}

.alt-font {
    font-family: 'PF BeauSans Pro';
}

.empty-bg {
    background-image: none !important;
}

.table {
    color: #333 !important;
    border-radius: 5px;
    overflow: hidden;
    background-image: url(/local/templates/dveri_alfa/img/logo_background2.svg);
    background-position: 50px;
    background-repeat: no-repeat;
    background-size: 520px;
}

.table>tbody:first-child tr:first-child>td {
    border-top: 0;
}

.table thead th {
    background-color: #d02129;
    color: #fff;
    border-bottom: none !important;
    font-size: 15px;
}

.table tr td:first-child {
    font-weight: 500;
}

.table td,
.table th {
    padding: 15px 20px;
}

.before-star:before {
    content: '* ';
}

.after-star:after {
    content: ' *';
}

#compare-list .controls button {
    display: flex;
    align-items: center;
}

.controls {
    flex-wrap: wrap !important;
}

.controls .btn-wrap {
    margin: 0 5px 5px;
}

*[id^=toast-] {
    position: fixed;
    max-width: 400px;
    right: 20px;
    bottom: 20px;
    padding: 10px 20px;
    background-color: #d02129;
    color: #fff;
    border-radius: 25px;
    border: none;
    z-index: 999;
}

*[id^=toast-] button[class*=btn-type-],
.toast a[class*=btn-type-] {
    height: 30px;
    padding: 0 15px;
}

.font-serif {
    font-family: sans-serif;
}

.form-control {
    font-size: 14px;
}

.tooltip-arrow {
    width: 10px;
    height: 10px;
    bottom: -2px;
    border: 5px solid transparent;
    border-top: 5px solid white;
}

#content p a {
    font-weight: 500;
}

[data-action="open-product-from-card"] {
    cursor: pointer;
}

.product-wrap .product {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}

.product-wrap .product .img-wrap {
    position: relative;
    text-align: center;
}

.product-wrap .product img {
    cursor: pointer;
    max-height: 100%;
}

.product-wrap .product img:not(:nth-child(1)) {
    margin-left: 15px;
}

.product-wrap .product .more-info,
.product-wrap .product .panel button {
    height: 40px;
    padding: 0 20px;
    text-transform: none;
    font-size: 13px;
}

.product-wrap .product .more-info {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate3D(-50%, -50%, 0);
    transition: .15s ease all;
    display: none;
}

.product-wrap .product:hover .more-info {
    display: block;
}

.product-wrap .product a {
    text-decoration: none;
    margin-bottom: 15px;
    transition: .15s ease all;
}

.product-wrap .product a:hover {
    color: #d02129;
}

.product-wrap .product .title {
    color: #333;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.product-wrap .product .info {
    margin-top: auto;
}

.product-wrap .product .info .option {
    font-weight: 500;
    color: #b3b3b3;
    margin-bottom: 3.5px;
}

.product-wrap .product .info .price,
.product-wrap .product .info .price .discount-wrap {
    display: flex;
    align-items: center;
}

.product-wrap .product .info .price .current {
    font-size: 18px;
    font-weight: 600;
    margin-right: 10px;
}

.product-wrap .product .info .price.discounted {
    background: #fff0f0;
    padding: 3px 8px;
    border-radius: 3.5px;
    width: fit-content;
}

.product-wrap .product .info .price.discounted .current {
    color: #e90e19;
}

.product-wrap .product .info .price .discount {
    color: #b3b3b3;
    font-weight: 500;
    position: relative;
    margin-right: 10px;
    font-size: 13px;
}

.product .discount:before {
    content: "";
    background: #e90e19;
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    transform: rotate(-5deg);
    width: 100%;
}

.product-wrap .product .info .price.discounted+.cashback {
    margin-top: 2px;
}

.product-wrap .product div[class^=cashback]:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg fill='%23ea0e18' xmlns='http://www.w3.org/2000/svg' width='45.402' height='45.402' style='enable-background:new 0 0 45.402 45.402' xml:space='preserve'%3E%3Cpath d='M41.267 18.557H26.832V4.134C26.832 1.851 24.99 0 22.707 0s-4.124 1.851-4.124 4.135v14.432H4.141c-2.283 0-4.139 1.851-4.138 4.135-.001 1.141.46 2.187 1.207 2.934.748.749 1.78 1.222 2.92 1.222h14.453V41.27c0 1.142.453 2.176 1.201 2.922.748.748 1.777 1.211 2.919 1.211 2.282 0 4.129-1.851 4.129-4.133V26.857h14.435c2.283 0 4.134-1.867 4.133-4.15-.001-2.282-1.852-4.15-4.133-4.15z'/%3E%3C/svg%3E") center/8px no-repeat;
    border-radius: 50%;
    margin-right: 5px;
}

.product-wrap .product div[class^=cashback] {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: -5px;
    right: -5px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    padding: 1px 6px;
    background: #ea0e18;
    color: #fff;
    cursor: help;
}

.product-wrap .product div[class^=cashback] .tooltip,
.how-to-cashback .tooltip {
    min-width: 185px;
    padding-bottom: 7.5px !important;
}

.product-wrap .product div[class^=cashback] .tooltip-inner,
.how-to-cashback .tooltip-inner {
    font-family: 'Gotham Pro';
    font-weight: 500;
    line-height: 1.3;
    box-shadow: 0 0 15px 0 rgba(143, 146, 153, .4);
}

.product-wrap .product .info .price .percents {
    font-size: 12px;
    background: #ea0e18;
    color: #fff;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 20px;
    user-select: none;
}

.product-wrap .product .badges {
    position: absolute;
    top: 13.5px;
    left: 16.5px;
}

.product-wrap .product .badge-item:not(:last-child) {
    margin-bottom: 2.5px;
}

.product-wrap .product .badge-item>* {
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    padding: 3.5px 7.5px;
    text-align: center;
    cursor: default;
    user-select: none;
}

.product-wrap .product .badges .hit {
    background-color: #8826bf;
    box-shadow: 0 2.5px 5px 0 rgba(114, 57, 160, 0.25);
    color: #fff;
}

.product-wrap .product .badges .buy-count {
    background-color: #29ad2e;
    box-shadow: 0 2.5px 5px 0 rgba(41, 173, 46, 0.25);
    color: #fff;
}

.product-wrap .product .badges .termo {
    background-color: #2569fd;
    box-shadow: 0 2.5px 5px 0 rgba(57, 93, 160, .25);
    color: #fff;
}

.product-wrap .product .badges .sale {
    background-color: #d02129;
    box-shadow: 0 2.5px 5px 0 rgba(160, 57, 57, .25);
    color: #fff;
}

.product-wrap .product .panel {
    display: none;
    padding: 22.5px;
    position: absolute;
    z-index: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    transition: .15s ease all;
    bottom: -62.5px;
    background: #fff;
    width: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 15px 15px 0 rgba(143, 146, 153, .2);
    border-radius: 0 0 10px 10px;
}

.product-wrap .product:hover .panel {
    display: flex;
}

.product-wrap .product .panel .btn-wrap {
    max-height: 40px;
}

.product-wrap .product .panel .one-click {
    margin-right: 12.5px;
}

.product-wrap .product .panel svg {
    padding: 2px;
    transition: .2s all ease;
}

.product-wrap .product .panel .wishlist svg {
    stroke: #333;
    fill: none;
    stroke-width: 16px;
}

.product-wrap .product .panel .wishlist.active svg,
.product-wrap .product .panel .compare.active svg {
    stroke: #d02129;
    fill: #d02129;
}

.product-wrap .product .panel .wishlist,
.product-wrap .product .panel .compare {
    border: none;
    background-color: #fff;
    padding: 0;
    width: 40px;
}

.product-wrap .product .panel svg {
    height: 27px;
    width: 27px;
    transition: .2s ease all;
}

.product-wrap .product .panel .wishlist svg:hover {
    stroke: #d02129;
}

.product-wrap .product .panel .compare svg:hover {
    fill: #d02129;
}

#request-banner:before {
    content: "";
    position: absolute;
    display: inline-block;
    left: 100px;
    width: 180px;
    height: 265px;
 /*   background-image: url(../img/measure-master.png);*/
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0px;
}

#request-banner {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: #d02129;
    padding: 50px;
/*    background-image: url("data:image/svg+xml,%3Csvg width='57.5526' height='62.2145' viewBox='0 0 15.2274 16.4609' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(-31.9827 -43.1871) scale(.99551)'%3E%3Ccircle style='opacity:1;fill:none;fill-opacity:1;stroke:%23e5413f;stroke-width:2.61173;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' cx='39.775' cy='52.269' r='6.3422'/%3E%3Crect style='fill:%23e5413f;fill-opacity:1;stroke-width:3.02127' width='2.6119' height='9.6475' x='44.8098' y='43.3819' ry='.8044'/%3E%3C/g%3E%3Cpath style='fill:%23e5413f;fill-opacity:1;stroke:none;stroke-width:60.5279;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='M28.9707 21.9902A13.4263 13.4263 0 0 0 15.5449 35.416a13.4263 13.4263 0 0 0 13.4258 13.4258A13.4263 13.4263 0 0 0 42.3984 35.416a13.4263 13.4263 0 0 0-13.4277-13.4258Zm-4.375 6.3496h5.1328c.7951 0 1.497.1147 2.1035.3438.62.2291 1.1389.553 1.5567.9707.4178.4043.7336.883.9492 1.4355.2156.5526.3242 1.152.3242 1.7989 0 .2156-.0201.4851-.0605.8086-.0405.3234-.129.6613-.2637 1.0117-.1213.3504-.3024.7064-.545 1.0703-.2425.3504-.5724.6682-.9902.9512-.4043.283-.9171.5103-1.537.6855-.6065.1752-1.3346.2637-2.1837.2637h-1.9804v4.4062c0 .1618-.0262.2704-.0801.3243-.0405.0539-.1752.08-.4043.08H23.746c-.31 0-.4649-.1347-.4649-.4043V29.674c0-.364.0805-.6737.2422-.9298.1617-.2695.5197-.4043 1.0723-.4043zm2.5059 3.295v3.0527h2.1836c.4716 0 .8277-.1549 1.0703-.4648.2426-.3235.3652-.6795.3652-1.0704 0-.1347-.0201-.2896-.0605-.4648-.0405-.1887-.1149-.3576-.2227-.5059-.0943-.1482-.2371-.277-.4258-.3847-.1887-.1078-.43-.1621-.7265-.1621z' transform='matrix(.26458 0 0 .26458 0 -.5578)'/%3E%3C/svg%3E");
*/
       background-image: url("/local/templates/dveri_alfa/img/logo_background.svg");
    background-size: 330px;
    background-position: 36px;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgb(18 17 36 / 3%), 0 4px 32px rgb(18 17 36 / 6%);
}

#request-banner {
    margin: 90px 0 60px;
}

#request-banner .content {
    width: 520px;
    margin-left: 350px;
    margin-right: 35px;
}

#request-banner .title {
    font-family: 'PF BeauSans Pro';
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
}

#request-banner .text {
    font-size: 15px;
}

#request-banner button {
    font-size: 14px;
}

.force-full {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.kategoriya #request-banner {
    margin: 15px -7.5px 15px !important;
    min-height: 120px;
    padding: 25px 30px !important;
    background-position: 100% center;
}

.kategoriya #request-banner:before {
    display: none;
}

.kategoriya #request-banner .content {
    margin-left: 0;
}

.products-wrap>.row>* {
    flex: 0 0 33%;
    max-width: 33%;
}

.our-services .item {
    position: relative;
    background-color: #fff;
    border-radius: 5px;
    border: 1px #e3e3e3 solid;
    box-shadow: 0 2px 8px rgb(18 17 36 / 3%), 0 4px 32px rgb(18 17 36 / 6%);
}

.our-services .item.worker {
    background-image: url(../img/services-worker.jpg);
}

.our-services .item.delivery {
    background-image: url(../img/services-delivery.jpg);
}

.our-services .item.install {
    background-image: url(../img/services-install.jpg);
}

.our-services .item.manufact {
    background-image: url(../img/services-manufact.jpg);
}

.manufact a img {
    border-radius: 5px;
    overflow: hidden;
}

.delivery .img {
    background: url(../img/delivery-map.png) no-repeat;
    background-size: contain;
    height: 370px;
}

.order-instr {
    border-radius: 5px;
}

.order-instr>*>*:not(:last-child) {
    border-right: 2px #f0f5f9 solid;
}

.order-steps>* {
    counter-reset: order-step;
    font-family: 'PF BeauSans Pro';
    font-size: 15px;
}

.order-steps .counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    border: 4px #d02129 solid;
    border-radius: 10%;
    font-size: 26px;
    font-weight: 600;
    font-family: 'PF BeauSans Pro';
    color: #d02129;
    background-color: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 9px 0 rgba(160, 57, 57, 0.25);
}

.order-steps .counter:before {
    content: counter(order-step);
    counter-increment: order-step;
}

.order-steps>.row>*:not(:last-child) .counter-wrap:after {
content: '';
    display: block;
    top: 50%;
    left: 50%;
    position: absolute;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    border-bottom: 5px #f709151a dotted;
    z-index: 1;
}

.our-advantages .item:before {
    content: "";
    position: absolute;
    display: block;
    height: 280px;
    width: 280px;
   /* background: #cc0d0d;*/
    top: -35px;
    left: -190px;
   /* border-radius: 100%;*/
    transition: all .7s ease;
    background: -webkit-linear-gradient(top,#ff021c 0,#b13030 25%,#5a1e1e 100%)!important;
}

.our-advantages .item {
    border-radius: 5px;
}

.our-advantages .item>* {
    position: relative;
    z-index: 2;
}

.portfolio-card .name {
    border-radius: 0 0 5px 0;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.portfolio-card>a {
    border-radius: 5px;
    overflow: hidden;
}

.portfolio-card .btn-wrap {
    right: 0;
    bottom: 10px;
    width: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.portfolio-card .btn {
    width: 33px;
    height: 33px;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.feedbacks .item {
    border-radius: 5px;
}

.feedbacks .rating {
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg fill='red' viewBox='0 0 488.784 488.784' style='enable-background:new 0 0 488.784 488.784' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m364.788 213.972-74.602 60.927c-4.482 3.647-6.457 9.572-5.09 15.194l22.563 92.151c3.343 14.966-8.053 27.35-20.816 27.35-3.798 0-7.825-1.14-11.547-3.571l-81.591-50.14c-4.862-2.963-10.94-2.963-15.802.076l-80.604 50.14c-3.722 2.507-7.749 3.57-11.623 3.57-13.067 0-24.842-12.383-20.74-27.349L87.5 290.093a15.003 15.003 0 0 0-5.014-15.118L8.871 214.124c-15.118-12.915-6.458-37.757 12.915-38.82l95.341-6.914c5.698-.38 10.636-4.027 12.763-9.268l36.466-88.581c3.798-9.192 12.155-13.75 20.511-13.75 8.357 0 16.714 4.558 20.512 13.75l36.39 88.505c2.127 5.241 7.14 8.812 12.762 9.268l95.342 6.913c19.449 1.064 28.033 25.83 12.915 38.745z'/%3E%3C/svg%3E");
    background-size: contain;
}

.feedbacks .review {
    padding-right: 10px;
    max-height: 240px;
    overflow-y: auto;
    text-align:justify; 
}

.feedbacks .rating.stars-1 {
    width: 16px;
}

.feedbacks .rating.stars-2 {
    width: 30px;
}

.feedbacks .rating.stars-3 {
    width: 45px;
}

.feedbacks .rating.stars-4 {
    width: 60px;
}

.feedbacks .rating.stars-5 {
    width: 77px;
}

.feedbacks .review::-webkit-scrollbar {
    width: 5px;
}

.feedbacks .review::-webkit-scrollbar-track {
    background: #f4f4f4
}

.feedbacks .review::-webkit-scrollbar-thumb {
    background: #e0e0e0
}

.feedbacks .review::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

/* Footer */

footer {
    margin: 35px 0 10px;
}

.footer_company>* {
    margin-bottom: 15px;
}

.footer_company ul {
    display: flex;
    flex-wrap: wrap;
}

.footer_company ul li {
    margin-right: 10px;
}

.pay-options {
    margin-top: 20px;
    height: 20px;
    width: 230px;
    background: url(../img/payoptions.png) no-repeat;
    background-size: contain;
}

#side-controls {
    position: fixed;
    z-index: 50;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px 0 0 5px;
    overflow: hidden;
}

#side-controls .counter-wrap {
    position: relative;
}

#side-controls .counter {
    position: absolute;
    top: -6px;
    right: -6px;
    transform: translateX(25%);
    font-size: 10px;
    min-width: 15px;
    height: 15px;
    font-weight: 600;
    background: #fff;
    color: #060606;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    display: none;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .25);
}

#side-controls>* {
    background-color: #fff;
    color: #3d3d3d;
    font-size: 12px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
}

#side-controls>*:not(:last-child) {
    border-bottom: 1px solid #f0f5f9;
}

#side-controls>*:hover {
    color: #d02129;
}

#side-controls>* .text {
    display: none;
    margin-left: 10px;
    font-weight: 500;
}

#home-request-services-calc {
    background: url(../img/blue-form-bg.png) no-repeat;
    background-size: cover;
    color: #fff;
    border-radius: 5px;
}

.filter-wrap {
    border-radius: 5px;
}

.cc-form-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cc-form-bg.director {
    height: 285px;
    background-image: url(../img/cc-form/director.jpg);
}

header #cities-list {
    z-index: 600;
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    width: 100%;
    min-width: 180px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, .3);
    max-height: 200px;
    overflow: hidden;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.2;
}

header #cities-list:before {
    content: "";
    position: absolute;
    top: -7px;
    right: 18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 7px;
    border-color: transparent transparent #fff;
}

header #cities-list li>* {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 45px;
    border-left: 4px solid #fff;
    color: #333;
    text-decoration: none;
}

header #cities-list li.current>* {
    cursor: default;
    border-color: #d02129;
    color: #b3b3b3;
}

header #cities-list li:not(:last-child) {
    border-bottom: 1px solid #ebebeb;
}

header #cities-list li:not(.current)>*:hover {
    background: #ebebeb;
    border-color: #ebebeb;
}

#eFiltr [type="checkbox"],
#eFiltr [type="radio"] {
    display: none;
}

#eFiltr [type="checkbox"]:checked+*,
#eFiltr [type="radio"]:checked+* {
    border: 1px solid #d02129;
    background-color: #d02129;
    position: relative;
}

#eFiltr [type="checkbox"]:checked+*:after,
#eFiltr [type="radio"]:checked+*:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -4px;
    margin-top: -4px;
    width: 8px;
    height: 5px;
    transform: rotateZ(-45deg);
    border-left: #fff 2px solid;
    border-bottom: #fff 2px solid;
}

#eFiltr .input_box {
    cursor: pointer;
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: #f3f3f3;
    border: 1px solid rgb(243 243 243);
    transition: .2s all ease;
}

#eFiltr .eFiltr_checkbox_name {
    user-select: none;
    cursor: pointer;
}

#eFilter_sort_block {
    margin-top: 30px;
}

#eFilter_sort_block>form {
    display: flex;
    justify-content: space-between;
}

.eFiltr_reset {
    border-radius: 2.5px;
    display: flex;
    flex-wrap: wrap;
}

.eFiltr_reset>*:first-child {
    margin-right: 10px;
}

.eFiltr_reset a {
    font-weight: 500;
}

.eFilter_sort_title {
    margin-right: 10px;
}

.eFilter_sort_block .sorter {
    border: none;
    background: none;
    margin: 0 10px 10px 0;
    padding: 5px 15px;
    border-radius: 30px;
    background-color: #fff;
    font-weight: 500;
    font-size: 13px;
    box-shadow: 0 2px 3px rgb(18 17 36 / 4%), 0 4px 16px rgb(18 17 36 / 8%);
}

.eFilter_sort_block .sorter.active {
    background-color: #d02029;
    color: #fff;
}

#video-play .modal-content {
    height: 95%;
    overflow-y: auto;
}

#video-play video {
    max-height: 90%;
    overflow-y: auto;
}


.page-7 main li {
    font-size: 16px;
}

.page-7 main .chat-list {
    display: flex;
    flex-wrap: wrap;
}

.page-7 main .chat-list>* {
    margin-right: 15px;
}

.page-7 main .chat-list a,
.page-7 main .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .top .search-wrap {
    display: none;
}

#constructions-variants .items {
    display: flex;
    margin: 25px 0 40px;
}

#constructions-variants .items>* {
    width: 25%;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 3px;
    margin-left: 3px;
    box-shadow: 0 2px 8px rgb(18 17 36 / 3%), 0 4px 32px rgb(18 17 36 / 6%);
    height: 100%;
}

#constructions-variants .items img {
    width: 100%;
    height: auto;
}

#constructions-variants .items .wrap {
    color: #fff;
    background: #cf242e;
}

#constructions-variants .items .name {
    font-weight: 600;
    font-size: 17px;
}

#constructions-variants .items .wrap {
    padding: 10px 15px;
    position: relative;
}


@media screen and (max-width: 1359px) {

    #main-catalog,
    #header-menu>* {
        font-size: 13px;
    }
}

@media screen and (min-width: 1200px) {
    #main-catalog:hover .menu {
        visibility: visible;
        opacity: 1;
        transform: rotateX(0deg);
        transition: all .1s linear;
    }

    #header-menu .group:hover .menu {
        visibility: visible;
        opacity: 1;
        transform: rotateX(0deg);
        transition: all .1s linear;
    }

    #main-catalog:hover,
    #header-menu .group:hover {
        background-color: #d02129;
        color: #fff;
    }

    .mobile-button {
        display: none !important;
    }

    .mobile-sorting-wrap,
    .sidebar-mobile-top {
        display: none;
    }

    .sidebar-mobile-top.alltime-show {
        display: block;
    }

    #side-controls:hover a {
        width: auto;
        justify-content: start;
        padding: 15px;
    }

    #side-controls:hover .text {
        display: block;
    }

}

@media screen and (max-width: 1199px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    h1,
    .h1 {
        font-size: 28px !important;
    }

    h2,
    .h2 {
        font-size: 26px !important;
    }

    h3,
    .h3 {
        font-size: 22px !important;
    }

    h4,
    .h4 {
        font-size: 18px !important;
    }

    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    header {
        background-color: #fff;
        display: flex;
        flex-wrap: wrap;
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        box-shadow: 0 10px 10px 0 rgb(143 146 153 / 10%);
    }

    header .content-nav-wrap {
        border-radius: 0;
        box-shadow: none;
    }

    header .top .search-wrap {
        display: block;
    }

    header .top .search-wrap form {
        display: inline-flex;
    }

    header .top #header-search-top_ajaxSearch_output {
        width: 285px;
    }

    .chat-list-wrap {
        display: block !important;
        position: fixed !important;
        bottom: 70px;
        right: 10px;
    }

    .chat-list-wrap .custom-tooltip {
        top: 8.5px;
        left: -95px;
    }

    .chat-list-wrap .custom-tooltip:after {
        transform: rotateZ(45deg);
        left: 100%;
        transform: rotateZ(-45deg);
        top: 5px;
    }

    #header-chats-list {
        top: calc(100% - 202.5px);
    }

    #main-catalog,
    #header-menu>* {
        font-size: 15px;
    }

    #header-menu .group>.menu .link {
        font-size: 14px;
    }

    #main-catalog .menu .link {
        font-size: 14px;
        height: 27.5px;
    }

    header>* {
        flex: 0 0 100%;
        width: 100%;
    }

    header .content {
        order: 0;
        padding: 10px;
        height: 52px;
        box-shadow: none;
        border-bottom: 1px #ededed solid;
    }

    #main-catalog:not(.toggled)>.basic.title:hover,
    #main-catalog:not(.toggled):hover .basic.title {
        color: #3b3b3b;
    }

    header .top {
        order: 4;
    }

    header .content>*:not(.logo) {
        display: none;
    }

    header .content .logo {
        margin: 0 auto;
        height: 40px;
        width: 70px;
    }

    #mobile-menu-toggler,
    #mobile-header-call {
        display: block;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        margin: 0;
    }

    #main-catalog .menu {
        display: none;
    }

    main {
        padding-top: 70px;
    }

    #header-nav {
        box-shadow: none;
    }

    #main-catalog.toggled .menu,
    header.menu-active #header-menu .group.toggled>.menu {
        border-radius: 0 !important;
    }

    header.menu-active {
        height: 100%;
        display: grid;
        grid-auto-rows: max-content;
        overflow-x: hidden;
        overflow-y: auto;
    }

    header.menu-active #main-catalog .menu .title {
        margin-bottom: 7.5px;
        font-weight: 600;
        font-size: 14px;
    }

    header.menu-active .current-city {
        height: 60px;
    }

    header.menu-active .top>*:after {
        display: none;
    }

    header:not(.menu-active) #header-nav,
    header:not(.menu-active) .top,
    header:not(.menu-active)>button.close,
    header:not(.menu-active) .current-city {
        display: none !important;
    }

    header.menu-active #main-catalog:not(.toggled),
    header.menu-active #header-menu>*:not(.toggled),
    header.menu-active .current-city {
        border-bottom: 1px #f1f1f1 solid;
    }

    header .current-city {
        padding: 0 20px;
    }

    header.menu-active #header-nav,
    header.menu-active #header-menu {
        display: block;
        border: none;
        height: auto;
        order: 3;
        padding: 0;
    }

    header.menu-active>button.close {
        border: none;
        background-color: transparent;
        position: absolute;
        right: 5px;
        top: 5px;
        width: 40px;
        height: 40px;
        z-index: 999;
    }

    header.menu-active #cities-list {
        right: 10px;
        left: 10px;
        top: 55px;
        max-width: calc(100% - 20px);
    }

    header.menu-active #cities-list:before {
        right: unset;
        left: 130px;
    }

    header.menu-active .content {
        display: none;
    }

    header.menu-active .top {
        display: block;
        height: auto;
    }

    header.menu-active .top>* {
        min-height: 30px;
        padding: 20px;
    }

    header.menu-active .top>*:not(:last-child) {
        border-bottom: 1px #f1f1f1 solid;
    }

    header.menu-active .top>*:not(:last-child):after {
        display: none;
    }

    header.menu-active #header-menu .group>.title,
    #main-catalog.toggled>.title {
        height: 60px;
        display: flex;
        align-items: center;
    }

    #header-menu>* {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        min-height: 60px;
    }

    header.menu-active #header-menu .group.toggled,
    #main-catalog.toggled {
        background-color: #d02129;
        color: #fff;
        flex-wrap: wrap;
        height: auto;
    }

    header.menu-active #header-menu .group.toggled>.menu {
        display: block;
        visibility: visible;
        opacity: 1;
        width: 100%;
        position: static;
        padding: 0;
    }

    header.menu-active #header-menu .group.toggled>.menu li {
        display: flex;
        align-items: center;
        height: 45px;
    }

    header.menu-active #header-menu .group.toggled>.menu li:not(:last-child) {
        border-bottom: 1px #f1f1f1 solid;
    }

    .eFilter_sort_title {
        display: block;
        margin-bottom: 15px;
    }

    #eFilter_sort_block>form {
        flex-wrap: wrap;
    }

    .eFilter_sort_block {
        margin-bottom: 10px;
    }

    #main-catalog.toggled .menu {
        visibility: visible;
        opacity: 1;
        display: block;
        z-index: 999;
        column-count: 1;
        max-height: unset;
        position: static;
        padding: 20px;
    }

    #sidebar {
        display: none;
        flex: 0 0 100% !important;
        z-index: 1000;
        max-width: 100% !important;
        left: 0;
        top: 0;
        position: fixed;
        padding: 10px 15px;
        background: #fff;
        overflow-x: hidden;
        overflow-y: scroll;
        height: 100%;
    }

    .sidebar-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .formQuickResults {
        right: 5px !important;
    }

    #sidebar.active {
        display: block;
        width: 100%;
    }

    #content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
    }

    .mobile-sorting-wrap {
        margin-top: 15px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .mobile-sorting-wrap .custom-tooltip {
        color: #333;
        border: 1px #ededed solid;
        font-weight: 400;
        text-transform: none;
        padding: 2.5px 5px;
        border-radius: 5px;
        font-size: 13px;
        box-shadow: 0 2px 3px rgb(18 17 36 / 4%), 0 4px 16px rgb(18 17 36 / 8%);
        width: 175px;
        text-align: center;
        position: relative;
    }

    .mobile-sorting-wrap .custom-tooltip:after {
        display: block;
        content: "";
        height: 6px;
        width: 6px;
        border-bottom: 1px #e5e5e5 solid;
        border-right: 1px #e5e5e5 solid;
        background: #fff;
        transform: rotateZ(135deg);
        position: absolute;
        left: -1px;
        margin-left: -3px;
        top: 10px;
    }

    #mobile-sorting {
        margin-right: 15px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background-color: #d02029;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24' role='img' aria-labelledby='filterIconTitle' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none' color='%23fff'%3E%3Ctitle id='filterIconTitle'%3EFilter%3C/title%3E%3Cpath d='M10 12.261L4.028 3.972h16L14 12.329V17l-4 3z'/%3E%3C/svg%3E");
        background-size: 22px 22px;
        background-repeat: no-repeat;
        background-position: center;
        box-shadow: 0 5px 9px 0 rgb(160 57 57 / 25%);
    }

    .product-wrap .product .panel {
        margin-top: 7.5px;
        display: flex;
        flex-wrap: wrap-reverse;
        justify-content: left;
        position: static;
        padding: 0;
        box-shadow: none;
    }

    .product-wrap .product .more-info,
    .product-wrap .product .panel button {
        margin-top: 10px;
        height: 30px;
    }

    .product-wrap .product .panel .wishlist,
    .product-wrap .product .panel .compare {
        background-color: transparent;
    }

    .order-steps>.row>*:not(:last-child) .counter-wrap:after {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .products-wrap>.row>* {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    #constructions-variants .items>* {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    #constructions-variants .items {
        flex-wrap: wrap;
    }

    #constructions-variants .items img {
        max-width: 110px;
    }

    #constructions-variants .items .wrap {
        width: 100%;
        align-items: center;
        flex-wrap: wrap;
        display: flex;
        padding: 10px 20px;
    }

    #constructions-variants .items .name {
        margin-bottom: 10px;
    }

    #constructions-variants .items .wrap  {
/*        background-image: url("data:image/svg+xml,%3Csvg width='57.5526' height='62.2145' viewBox='0 0 15.2274 16.4609' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(-31.9827 -43.1871) scale(.99551)'%3E%3Ccircle style='opacity:1;fill:none;fill-opacity:1;stroke:%23e5413f;stroke-width:2.61173;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' cx='39.775' cy='52.269' r='6.3422'/%3E%3Crect style='fill:%23e5413f;fill-opacity:1;stroke-width:3.02127' width='2.6119' height='9.6475' x='44.8098' y='43.3819' ry='.8044'/%3E%3C/g%3E%3Cpath style='fill:%23e5413f;fill-opacity:1;stroke:none;stroke-width:60.5279;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='M28.9707 21.9902A13.4263 13.4263 0 0 0 15.5449 35.416a13.4263 13.4263 0 0 0 13.4258 13.4258A13.4263 13.4263 0 0 0 42.3984 35.416a13.4263 13.4263 0 0 0-13.4277-13.4258Zm-4.375 6.3496h5.1328c.7951 0 1.497.1147 2.1035.3438.62.2291 1.1389.553 1.5567.9707.4178.4043.7336.883.9492 1.4355.2156.5526.3242 1.152.3242 1.7989 0 .2156-.0201.4851-.0605.8086-.0405.3234-.129.6613-.2637 1.0117-.1213.3504-.3024.7064-.545 1.0703-.2425.3504-.5724.6682-.9902.9512-.4043.283-.9171.5103-1.537.6855-.6065.1752-1.3346.2637-2.1837.2637h-1.9804v4.4062c0 .1618-.0262.2704-.0801.3243-.0405.0539-.1752.08-.4043.08H23.746c-.31 0-.4649-.1347-.4649-.4043V29.674c0-.364.0805-.6737.2422-.9298.1617-.2695.5197-.4043 1.0723-.4043zm2.5059 3.295v3.0527h2.1836c.4716 0 .8277-.1549 1.0703-.4648.2426-.3235.3652-.6795.3652-1.0704 0-.1347-.0201-.2896-.0605-.4648-.0405-.1887-.1149-.3576-.2227-.5059-.0943-.1482-.2371-.277-.4258-.3847-.1887-.1078-.43-.1621-.7265-.1621z' transform='matrix(.26458 0 0 .26458 0 -.5578)'/%3E%3C/svg%3E");
*/ 
       background-image: url("/local/templates/dveri_alfa/img/logo_background.svg");

        background-position:10px center;
        background-repeat: no-repeat;
        background-size: 260px;
    }
}

@media screen and (max-width: 767px) {
    body:before {
        background: linear-gradient(to bottom, #ffffff 40%, #f6f6f6 80%);
    }

    .product-wrap .product .title {
        font-size: 14px;
    }

    .product-wrap .product .info .price .discount {
        font-size: 12px;
    }

    #side-controls {
        display: flex;
        top: unset;
        transform: none;
        bottom: 0;
        border-radius: 0;
        width: 100%;
        background: #fff;
        justify-content: space-evenly;
    }

    *[id^=toast-] {
        bottom: 75px;
    }

    .manufact>.row,
    .our-works>.row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .manufact>.row>*,
    .portfolio-card {
        padding: 5px !important;
        margin-bottom: 0 !important;
    }

    .cc-form-bg.director {
        height: 350px;
    }

    footer {
        padding-bottom: 70px;
    }

    #request-banner {
        padding: 30px;
        margin: 40px 0 !important;
        flex-wrap: wrap;
    }

    #request-banner .action {
        margin-top: 20px;
    }

    #request-banner:before {
        display: none;
    }

    #request-banner .content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 576px) {
    .table {
        font-size: 13px;
        overflow-x: auto;
        max-width: 100%;
        display: block;
        width: 100%;
    }

    .table thead th {
        font-size: 13px;
    }

    input,
    textarea,
    .form-control,
    label {
        font-size: 13px;
    }
}

@media screen and (max-width: 499px) {
    .products-wrap>.row>* {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .modal-dialog {
        max-width: 355px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 359px) {
    .product-wrap .product .panel>.btn-wrap:first-child {
        margin-top: 5px;
    }

    .product-wrap .product .panel>.btn-wrap:first-child {
        flex: 0 0 100%;
        width: 100%;
    }
}

.alert-custom:before {
    content: '';
    width: 14px;
    height: 14px;
    margin-bottom: 1px;
    background: #dd121c;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12.5px;
    vertical-align: middle;
    box-shadow: 0 0 10px 0 rgb(255 0 0 / 25%);
}


.modal .required:after {
    color: #d02029;
}

.custom-control-label:after,
.custom-checkbox .custom-control-label:before {
    top: 0.15rem;
}

.modal-dialog {
    max-width: 375px;
    margin: 0 auto;
}

.modal-content .custom-file-label:after {
    color: #ffffff;
    background-color: #d02029;
}

.modal-content {
    border-radius: 10px !important;
}

.modal-backdrop.show {
    opacity: 1;
    background: rgba(9, 9, 28, .7);
}

.form-control,
.custom-file-label {
    font-size: 14px;
    background-color: #f3f3f312;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 9%);
}

.whatsappBg {
    background-color: #25d366;
}

.viberBg {
    background-color: #665cac;
}

.telegramBg {
    background-color: #08c;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #dbdbdb !important;
    opacity: 1;
}

#pagination {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 25px auto;
    user-select: none;
    font-weight: 500;
}

#pagination a:hover {
    background-color: #f3f3f3;
}

#pagination a:hover {
    text-decoration: none;
}

#pagination>* {
    margin-right: 7.5px;
    border-radius: 2px;
}

#pagination a {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    min-width: 28px;
    text-decoration: none;
    transition: .2s all ease;
    padding: 0 10px;
}

#pagination li.current {
    cursor: default;
    background-color: #d02129;
    color: #fff;
    height: 36px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pagination a {
    color: #333;
}

#pagination .next-prev-p>a:after {
    content: '';
    border-left: 1px #333 solid;
    border-bottom: 1px #333 solid;
    width: 7px;
    height: 7px;
    transform: rotateZ(45deg);
    margin-left: 2px;
}

#pagination .next-prev-p.next>a:after {
    transform: rotateZ(-135deg);
    margin-left: -4px;
}

.has-html5video .fancybox__content {
    height: auto !important;
    width: auto !important;
}

.video-play {
    position: relative;
}

.video-play:after {
    content: '';
    display: block;
    width: 20%;
    height: 20%;
    border-radius: 50%;
    background-color: #d02029;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 48 48' style='enable-background:new 0 0 512 512' xml:space='preserve'%3E%3Cpath d='m37.324 20.026-22-12.412a4.685 4.685 0 0 0-4.711.036 4.528 4.528 0 0 0-2.28 3.938v24.824a4.528 4.528 0 0 0 2.28 3.938 4.687 4.687 0 0 0 4.711.036l22-12.412a4.543 4.543 0 0 0 0-7.948z' fill='%23fff' xmlns='http://www.w3.org/2000/svg'/%3E%3C/svg%3E");
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: .9;
    transition: .2s all ease;
}

.video-play:hover:after {
    opacity: 1;
    background-color: #ec1a24;
    box-shadow: 0 0 5px 5px rgba(255, 0, 0, 0.25);
    cursor: pointer;
}

.slick-list {
    overflow: hidden;
}

.faq-item:after {
    content: '?';
    position: absolute;
    right: 25px;
    bottom: 0px;
    font-size: 200px;
    line-height: 1;
    opacity: .05;
    font-weight: 600;
   /* color: #000; */
    color: #f90404; 
    user-select: none;
}

#end-page-banner {
    margin-top: 75px;
}

ul.list {
    counter-reset: list;
}

ul.list>li:not(:last-child) {
    margin-bottom: 25px;
}

ul.list>li:before {
    counter-increment: list;
    content: counter(list);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px #d02029 solid;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 10px;
    color: #d02029;
    font-weight: 600;
    line-height: 1;
    float: left;
}

.custom-checkbox.checked .custom-control-label:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
    background-color: #d02029;
    border-radius: 3px;
}

.lock-row .img-fluid {
    max-width: 40px;
    height: auto;
}

.price .current {
    font-size: 26px;
    font-weight: 600;
}

.price .discount {
    font-size: 20px;
    color: #ababab;
    position: relative;
}

.price .discount::before {
    content: "";
    background: #e90e19;
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    transform: rotate(-5deg);
    width: 100%;
}

.price .percents {
    font-size: 12px;
    background: #ea0e18;
    color: #fff;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 20px;
    user-select: none;
}

.info-card {
    background: #fff;
    padding: 5px 15px;
    min-width: 140px;
    box-shadow: 0 2px 3px rgb(18 17 36 / 4%), 0 4px 16px rgb(18 17 36 / 8%);
    border-radius: 10px;
}


.d-flex1 {
    display: flex!important;
    flex: 0 0 50%;
    max-width: 100%;
    justify-content: space-around;
}


.section_wrap {
    display: flex;
}

.mr-3, .mx-3 {
    margin-right: 0px!important;
}

.city1 {
    text-align: center;
    color: #DE2323;
     }

.img-fluid1 {
    max-width: 35%;
    height: auto;

}

.text-reviews {
    padding-top: 15px;     
    text-shadow: 0.1em 0.1em 0.2em #d7d3d3;
    text-align: center;
}

.advantage_ico {
    width: auto;
    height: 40px;
    margin-left: -5px;
}

.flex-wrap {
    display: flex!important;
    flex-wrap: wrap!important;

}

.review1 {
    padding-right: 0px;
    overflow-y: auto;
    text-align: justify;
}

.pad {
    padding: 10px 10px 10px 10px;
}


.iconglav {
    margin-left: 20px; 
    box-shadow: 5px 5px 9px 0px rgb(131 130 128 / 19%);
}

/* Наши фото работ */
@media (min-width: 768px) {
.col-md-31 {
    flex: 0 0 20%;
    max-width: 20%;
 }

}
@media (max-width: 768px) {

    .wert {display: none;}


.section_count3 {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #d02129;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 5px 0;
    width: 100px;
    height: 28px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0px;
    margin-right: 2px;
    box-shadow: 4px 5px 7px rgb(29 29 28 / 25%);
  }

  .section_count2 {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #d02129;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 5px 0;
    width: 100px;
    height: 28px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0px;
    margin-right: 2px;
    box-shadow: 4px 5px 7px rgb(29 29 28 / 25%);
 }


}
@media (min-width: 1200px){
.mb-xl-02 {
    margin-bottom: 20px;
 }

 .section_count2 {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #d02129;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 5px 0;
    width: 100px;
    height: 28px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: -10px;
    margin-right: 7px;
    box-shadow: 4px 5px 7px rgb(29 29 28 / 25%);
}
.section_count3 {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #d02129;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 5px 0;
    width: 100px;
    height: 28px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
    margin-right: 7px;
    box-shadow: 4px 5px 7px rgb(29 29 28 / 25%);
}


 
} 
.mb-51 {
    margin-bottom: -35px;
}


/* -------------------*/

