ol {
    list-style-position: inside;
    list-style: decimal;
}

ol {
    padding: 0;
}

ol>li {
    padding: 5px 0 5px 40px;
}

.btn:active,
.form-submit .submit:active {}

.color {}



.col-3 {
    width: 33.33%;
    padding: 0 15px;
    float: left;
    min-height: 1px;
    position: relative;
}



.wp-link-pages {
    clear: both;
}

.comments-area {
    margin-top: 30px;
}



input:focus,
textarea:focus,
select:focus,
textarea:focus {
    border-width: 2px;
    border-style: solid;
    border-color: #ffb100;
}



input:focus,
textarea:focus,
select:focus {
    -webkit-transition: .07s ease-in-out;
    transition: .07s ease-in-out;
}



input[type="checkbox"].wpcf7-not-valid,
input[type="file"].wpcf7-not-valid,
input[type="text"].wpcf7-not-valid,
body input[type="email"].wpcf7-not-valid,
body input[type="tel"].wpcf7-not-valid,
body textarea.wpcf7-not-valid,
select.wpcf7-not-valid {
    border: #ec3c06 solid 1px;
    background-color: #ffe8e8 !important;
}


form.sent .wpcf7-response-output {
    border-color: #46B453!important;
    background-color: rgba(79, 171, 88, 0.77)!important;
}

.wpcf7-response-output:before {
    content: '';
    display: block;
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 7px;
    border-color: transparent transparent red;
}

form.sent .wpcf7-response-output::before {
    border-color: transparent transparent #46b450;
}

span.wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-form.sent .wpcf7-step,
.wpcf7-form.sent .wpcf7-submit {
    display: none;
}



.contact-icon {
    text-align: center;
    font-size: 50px;
}



.fservices {
    text-align: center;
    margin-bottom: 80px;
}

.fservices .services__container {
    margin: 40px auto;
}



.vc_custom_1556543563706 {
    background: linear-gradient(to bottom, #fff 110px, #e3e3e3)!important;
    border-radius: 50%;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
    padding: 20px 50px 25px 50px!important;
    max-width: 545px;
    z-index: 2;
    position: relative;
}

.fmap_cnt {
    overflow: visible!important;
}



.fadvantages .vc_col-has-fill .subtitle .color {
    color: #fff;
}



.owl-prev i.fa,
.owl-next i.fa {
    margin: 7px auto auto -1px;
}

.owl-next i.fa {
    margin-left: 4px;
}



.fcontact .vc_custom_heading a:hover {
    color: #419e14;
}

.wpcf7 .inline-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 15px 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    margin: 25px auto 35px;
    max-width: 700px;
}

.wpcf7 .inline-form .inline-form_element {
    padding: 0 5px;
    width: 50%;
    box-sizing: border-box;
    margin: 10px auto;
}

.single-element {
    position: relative;
}

.wpcf7 .inline-form .ajax-loader {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: 6ch;
    filter: drop-shadow(0px 0px 4px #fff);
}

.inline-form .wpcf7-form-control[type="submit"] {
    margin: 0 auto;
}



.testimotiona_3 .owl-nav .owl-next:after {
    margin-left: 4px;
}

.testimotiona_3 .owl-nav .owl-prev:before {
    margin-left: -1px;
}



.fmap__form-cnt>div.vc_custom_1556543563706 {
    width: 525px;
    min-height: 525px;
}



.twhyus__cnt {
    margin: 25px auto 70px;
}

.twhyus__cnt .twhyus__row {
    display: flex;
    min-height: 2.5rem;
}

.twhyus__cnt .twhyus__row+.twhyus__row {
    border-top: 1px solid #7b5f53;
}

.twhyus__cnt .twhyus__item+.twhyus__item {
    border-left: 1px solid #7b5f53;
    text-align: center;
}

.twhyus__cnt .twhyus__item {
    width: 30px;
    flex-shrink: 0;
    flex-grow: 1;
    padding: 15px 20px 20px;
    position: relative;
}

.twhyus__cnt .twhyus__item:nth-child(1) {
    width: 285px;
    display: flex;
    align-items: center;
    flex-grow: 0;
}

.twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item+.twhyus__item::before {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px auto auto -10px;
    background: url(/wp-content/themes/dolgozhiteli/assets/img/upload/no.png) center / cover no-repeat;
}

.twhyus__cnt .twhyus__item.item-yes::before {
    background-image: url(/wp-content/themes/dolgozhiteli/assets/img/upload/yes.png)!important;
}

.fscreen__fullwidth form.invalid .wpcf7-response-output,
.fmap_cnt form.invalid .wpcf7-response-output {
    display: none!important;
}



.fbigtext {
    margin: 80px auto 40px;
    font-size: 18px;
    line-height: 22px;
    position: relative;
}

.fbigtext.page-content {
    width: 100%;
    float: none;
}

.fservices .see-all__wrapper {
    margin-top: -115px;
    padding: 120px 0 0;
    background: linear-gradient(to bottom, transparent, #f8f8f8 40%);
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.fservices .see-all__wrapper a {
    pointer-events: all;
}

.frevs__text,
.frevs__text p {
    font-size: 17px;
    color: #ffffff;
}

.frevs__author {
    font-weight: Bold;
    font-size: 23px;
    color: #fff;
}

.content_page ol,
.page-content ol {
    counter-reset: oList;
}

.content_page ol>li,
.page-content ol>li {
    list-style: none;
    position: relative;
	padding: 10px 0px 10px 30px;
}

.content_page ol>li::before,
.page-content ol>li::before {
    color: #ff4b5b;
    counter-increment: oList;
    content: counter(oList) '.';
    position: absolute;
    left: 0;
}



.category .specialists {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.category .specialists .category-entry {
    margin: 0;
    padding: 10px;
    width: 33.333%;
    text-align: center;
    font-size: 18px;
}

.category .specialists .entry__inner {
    border: 1px solid rgb(226, 226, 226);
    padding: 20px;
    height: 100%;
}

.category .specialists .category-entry img {
    margin-bottom: 15px;
}

.category .specialists p {
    margin: 0 auto;
    display: inline-block;
    line-height: 20px;
}

.category .specialists p+p {
    margin-top: 5px;
}

.wpcf7 .col-12 .agreement::before {
    content: '';
    display: table;
    clear: both;
    float: none;
}

.wpcf7 .col-12.agreement {
    float: none;
    clear: both;
    text-align: center;
}

.wpcf7 .col-12.agreement .wpcf7-form-control .wpcf7-list-item-label::before {
    top: 3px;
    left: 0;
    height: 20px;
    box-sizing: border-box;
    width: 20px;
    line-height: 24px;
}

.wpcf7 .col-12.agreement .wpcf7-form-control .wpcf7-list-item-label {
    padding: 0 0 0 28px;
    line-height: 24px;
    margin-left: -30px;
}

.wpcf7 .col-12.agreement a {
    color: #fff;
    text-decoration: underline;
}

.wpcf7 .col-12.agreement a:hover {
    color: #ffabb3;
}



.formDeleted form.sent .wpcf7-response-output::before {
    display: none;
}

.vc_custom_1556866091357 {
    background-image: url(https://stpansionat.ru/wp-content/uploads/2025/04/frevs.webp);
}

/* Udobstvo servisa */
.vc_custom_1556192025343 li{
	padding: 5px 0 0 5px;
	margin-bottom: 0;
}
.vc_custom_1556192025343 ol{
    white-space: normal!important;
    padding-left: 16px;
}
.vc_custom_1556192025343 li::marker{
    color: #66a348;
}
.hp_bad-stereotype .descr .pre-line{
    margin-top: 5px;
}

/* header action */
.header-action__wrap {
    background: #e5f4fa center/cover no-repeat;
    background-image: url(/wp-content/themes/dolgozhiteli/assets/img/installment.jpg)
}

.header-action {
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
    justify-content: center;
    position: relative
}

.header-action__name {
    font-size: 46px;
    font-weight: 900;
    line-height: 48px;
    color: #fc0;
    text-shadow: 0 1px 2px #4e3f00
}

.header-action__descr {
    font-size: 22px;
    line-height: 26px;
    margin-left: 25px;
    font-weight: 400;
    text-align: center
}

.header-action__descr p {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 24px;
}

.header-action__descr p:last-child {
    margin-bottom: 0;
}

#footer .ftr-btn {
	    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
            align-items: center;
    row-gap: 10px;
}

@media screen and (max-width: 830px) {
    .header-action {
        padding-top:5px;
        padding-bottom: 5px
    }

    .header-action__descr {
        width: 100%;
        font-size: 18px;
        line-height: 20px
    }

    .header-action__descr p {
        display: block
    }

    .header-action__descr p:first-child {
        margin: 4px auto 5px
    }

    .header-action__descr a {
        margin: 0 auto
    }
    
    .header-action__descr p:last-child {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 650px){
    .header-action {
        flex-wrap: wrap;
    }
    .header-action__descr{
        margin-left: 0;
    }
    .header-action__name{
        font-size: 35px;
        line-height: 39px;
    }
    .header-action__descr p {
        font-size: 17px;
        line-height: 21px;
    }
}
/**/



@media screen and (max-width: 1240px) {

    body .owl-carousel .owl-nav .owl-prev {
        left: 6%;
    }
    body .owl-carousel .owl-nav .owl-next {
        right: 6%;
    }

}



@media only screen and (max-width: 859px) {

    .twhyus__cnt .twhyus__item:nth-child(1) {
        width: 225px;
    }
    .twhyus__inner {
        border: 1px solid #7b5f53;
    }
    .twhyus__cnt .twhyus__row {
        flex-wrap: wrap;
    }
    .twhyus__cnt .twhyus__row:nth-child(1) .twhyus__item {
        width: 33.333%;
    }
    .twhyus__cnt .twhyus__row:nth-child(1) .twhyus__item:nth-child(1) {
        display: none;
    }
    .twhyus__cnt .twhyus__row:nth-child(1) .twhyus__item:nth-child(2),
    .twhyus__cnt .twhyus__item:nth-child(2) {
        border-left: none;
    }
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item {
        width: 33.333%;
        justify-content: center;
        text-align: center;
    }
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item:nth-child(1) {
        width: 100%;
    }
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item+.twhyus__item+.twhyus__item {
        border-left-style: dashed;
    }
    .twhyus__inner {
        position: relative;
        height: 70vh;
        overflow: auto;
    }
    .twhyus__cnt .twhyus__row:nth-child(1) {
        position: sticky;
        width: 100%;
        top: 0;
        background: #f8f8f8;
        z-index: 3;
        box-shadow: 0 0 5px #7b5f53;
    }
    .twhyus__inner::before {
        content: '';
        z-index: 1;
        display: block;
        margin: 0 auto;
        width: 33.333%;
        left: 33.333%;
        height: 100%;
        top: 0;
        position: absolute;
    }
    .twhyus__cnt .twhyus__row:nth-child(1) .twhyus__item:nth-child(3),
    .twhyus__cnt .twhyus__row:last-child .twhyus__item:nth-child(3),
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item:nth-child(1),
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item:nth-child(3),
    .twhyus__inner::before {
        background: #fff
    }
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item:nth-child(2),
    .twhyus__cnt .twhyus__row+.twhyus__row .twhyus__item:nth-child(4) {
        border-top: 1px dashed #7b5f53;
    }
    .twhyus__cnt .twhyus__row {
        z-index: 2;
        position: relative;
    }
}

@media only screen and (max-width: 767px) {

    .fadvantages .pre-line,
    .fpansionscary .pre-line {
        white-space: normal;
    }
    .fadvantages .vc_custom_1557155930482 .subtitle-wrapp .padding-bottom-30 {
        padding-bottom: 0;
    }


    body .uc_clean_white_services_box,
    body .uc_clean_white_services_box.active-plan-wrapp {
        padding: 25px 10px 10px;
    }
    .vc_custom_1556865777740>.wpb_column>.vc_column-inner>.wpb_wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .vc_custom_1556865777740>.wpb_column>.vc_column-inner>.wpb_wrapper>div {
        width: 100%;
        order: 2;
    }
    .vc_custom_1556865777740>.wpb_column>.vc_column-inner>.wpb_wrapper>div+div,
    .vc_custom_1556534622254>.wpb_column+.wpb_column,
    .vc_custom_1556534638490>.wpb_column+.wpb_column,
    body .fadvantages__second,
    body .fadvantages__second>div+div {
        margin-top: 35px;
    }
    .vc_custom_1556865777740 .vc_custom_1556534634596 {
        order: 1!important;
        margin-top: 0!important;
    }
    .vc_custom_1556865777740 .image-extra-right-second,
    .vc_custom_1556534622254>.wpb_column:nth-child(2),
    .vc_custom_1556534638490>.wpb_column:nth-child(2) {
        display: none;
    }
    body .fadvantages__title {
        padding-bottom: 0!important;
    }
    body .vc_custom_1556865777740 {
        padding-bottom: 0;
    }
    body .fadvantages__second {
        padding-top: 0!important;
    }
    .fabout .pre-line {
        white-space: normal;
    }
    .fabout .btn {
        display: inline-block
    }
    body .fabout {
        padding-bottom: 40px!important
    }
    .fwhyus {
        padding: 10px 0!important;
    }
    body .freviews {
        padding-bottom: 85px!important;
    }
    body .freviews .owl-carousel .owl-nav .owl-prev,
    body .freviews .owl-carousel .owl-nav .owl-next {
        top: unset;
        position: static;
        margin: 0 10px;
    }
    body .freviews .owl-dots {
        margin-top: -88px;
    }
    body .freviews .owl-nav {
        margin-top: 70px;
    }
    .fcontact .vc_custom_1537338566612 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .fcontact .vc_custom_1537338566612>div {
        min-width: 180px;
        max-width: 290px;
        width: 33.333%;
        flex-shrink: 0;
        margin: 10px auto;
    }
    .fcontact .vc_custom_1537338566612>div>.vc_column-inner {
        padding: 0 5px;
    }
    #avados_button_double_set_1>.flex {
        position: relative;
        overflow: hidden;
    }
    #avados_button_double_set_1>.flex>div:nth-child(2) {
        position: absolute;
        background: rgba(255, 255, 255, 0.85);
        padding: 100px 15px;
    }
    .category .specialists .category-entry {
        width: 50%;
    }

}

@media screen and (max-width: 700px) {

    .fbigtext {
        margin: 50px auto 30px;
    }

}

@media screen and (max-width: 580px) {
    .wpcf7 .inline-form .inline-form_element {
        width: 100%;
    }

    .fmap_cnt .vc_custom_1556543444862 {
        margin-top: 420px!important;
    }
    .fmap__form-cnt>div.vc_custom_1556543563706 {
        width: 100%;
        border-radius: 25px;
        min-height: unset;
    }
}

@media screen and (max-width: 500px) {


    .twhyus__cnt .twhyus__row:nth-child(1) .twhyus__item {
        padding: 10px 5px 10px;
        font-size: 12px;
        line-height: 14px;
    }

}

@media screen and (max-width: 450px) {

    .category .specialists {
        margin-right: -5px;
        margin-left: -5px;
    }
    .category .specialists .category-entry {
        width: 100%;
        padding: 5px;
    }
    .category .specialists .entry__inner {
        padding: 10px;
    }
}

@media screen and (max-width: 380px) {
    .vc_custom_1556543563706 {
        padding: 20px 20px 25px 20px!important;
    }

}

/**/
.gallery-item a{
    border: none;
    display: inline-block;
    line-height: 0;
}
body .mfp-close-btn-in .mfp-close:hover{
    transform: none!important; /* prevent rotation glitches on hover */
}
.mejs-button>button {
	    background: transparent url(/wp-includes/js/mediaelement/mejs-controls.svg) !important;
}
.mejs-play>button {
	background-position: 0 0 !important;
}
.mejs-mute>button {
	background-position: -60px 0 !important;
}
.mejs-fullscreen-button>button {
	background-position: -80px 0 !important;
}

.category-reviews .entry__content .wp-video {
    height: 352px !important;
    margin-top: 14px
}
.category-reviews .entry__content .wp-video-shortcode {
    height: 100% !important;
}
.category-reviews .entry__content video {
    object-fit: none;
}

.page-id-17 .entry__content .wp-video {
    height: 352px !important;
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
}
.page-id-17 .entry__content .wp-video-shortcode {
    height: 100% !important;
}
.page-id-17 .entry__content video {
    object-fit: none;
}
.page-id-17 .avados_testimotional_item .entry__content p {
    color: #fff;
}


/*  */
#gallery-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
#gallery-1 .gallery-item {
    float: unset !important;
    margin-top: unset !important;
    width: unset !important;
    overflow: hidden;
}
#gallery-1 > br {
    display: none;
}
#gallery-1 .gallery-item a {
    width: 100%;
    height: 100%;
}
#gallery-1 img {
    width: 100%;
    height: 100%;
}
.gallery-video {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}
@media only screen and (max-width: 767px) {
    #gallery-1 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
	.gallery-video {
    	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
	.gallery-video iframe {
		height: 300px;
	}
}