.container, footer > .container {
    width: 100% !important;
    max-width: 1573px !important;
}

.service_detail_raspisanie_block {
    display: flex;
    margin: 0 0 50px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.service_detail_raspisanie {
    flex: 0 0 49%;
    padding: 25px 29px 27px 34px;
    background: #F9F9F9;
    margin-left: 1%;
}

.raspisanie-title {
    font-weight: 700;
    font-size: 17px;
    line-height: 141.18%;
    color: #141414;
    margin-bottom: 27px;
}

.raspisanie-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.raspisanie-list-day {
    flex: 0 0 50%;
    padding-right: 10px;
}

.day-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 169.68%;
    color: #FFFFFF;
    background: #008DD2;
    padding: 3px 11px 2px 10px;
}

.day-char {
    margin-top: 14px;
}

.day-char ul {
    padding: 0 0 0 15px;
}

.day-char ul > li {
    font-weight: 400;
    font-size: 14px;
    line-height: 160.68%;
    color: #141414;
}

.service_detail_raspisanie_img_block {
    max-height: 500px;
    flex: 0 0 50%;
    position: relative;
    padding-top: 40%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(/local/templates/m1/components/bitrix/news.list/schedule/img/bg.png);
    padding-right: 10px;
}

.service_detail_about_author{
    flex: 0 0 49%;
    margin-left: 1%;
    padding: 25px 29px 27px 34px;
    background: #F9F9F9;
    margin-bottom: 40px;
}

.service_detail_about_author_title{
    font-weight: 700;
    font-size: 14px;
    line-height: 169.68%;
    color: #FFFFFF;
    background: #008DD2;
    padding: 3px 11px 2px 10px;
    display: inline-block;
    margin-bottom: 30px;
}

.service_item_img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: 100%;
}

.service_item_date {
    position: absolute;
    z-index: 3;
    left: 5%;
    top: 8%;
    font-weight: 700;
    text-transform: lowercase;
}

.service_item_date_number {
    font-size: 36.8558px;
    line-height: 28px;
    color: #008DD2;
}

.service_item_date_month_year {
    color: #000000;
    font-weight: 700;
    font-size: 22.4918px;
    line-height: 28px;
}

.service_item_date_day_name,
.service_item_date_time {
    color: #9D9B9A;
    font-weight: 400;
    font-size: 19.7729px;
    line-height: 28px;
}

.service_item_name {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 31px 12px 22px 27px;
    font-weight: 600;
    font-size: 16px;
    line-height: 159%;
    color: #000000;
    z-index: 3;
    background: linear-gradient(92.81deg, rgba(255, 255, 255, 0.4) -0.5%, rgba(255, 255, 255, 0.4) 64.18%);
    backdrop-filter: blur(34px);
}

.service_item_author {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 17px;
    font-weight: 700;
    font-size: 16.5246px;
    line-height: 26px;
    color: #000000;
    background: #FFFFFF;
}


.service_detail_contact_block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service_detail_contact_img {
    flex: 0 0 48%;
    position: relative;
    padding-top: 40%;
}

.service_detail_contact_img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.service_detail_contact_text_block {
    flex: 0 0 48%;
    padding-left: 34px;
}

.service_detail_contact_text_block_places {
    font-weight: 700;
    font-size: 17px;
    line-height: 141.18%;
    color: #9D9B9A;
    margin-bottom: 18px;
}

.service_detail_contact_text_block_uslovia {
    font-weight: 700;
    font-size: 17px;
    line-height: 141.18%;
    color: #141414;
}

.service_detail_contact_text_block_uslovia ul {
    padding: 0;
    margin-top: 16px;
}

.service_detail_contact_text_block_uslovia ul > li {
    font-weight: 400;
    font-size: 14px;
    line-height: 160.68%;
    color: #141414;
    padding-left: 15px;
}

.service_detail_contact_text_block_uslovia ul > li:before {
    width: 4px;
    height: 4px;
    top: 10px !important;
    left: 0;
}

.service_detail_contact_text_block_price {
    font-weight: 700;
    font-size: 17px;
    line-height: 141.18%;
    color: #141414;
    margin-bottom: 11px;
}

.service_detail_contact_text_block_price span {
    color: #008DD2;
}

.service_detail_contact_text_block_sale {
    font-weight: 400;
    font-size: 13.0769px;
    line-height: 141.18%;
    color: #141414;
    margin-bottom: 18px;
}

.service_detail_contact_text_block_sale span.date {
    font-weight: 700;
    font-size: 13.0769px;
    line-height: 141.18%;
    color: #141414;
}

.service_detail_contact_text_block_sale span.price {
    font-weight: 700;
    font-size: 13.0769px;
    line-height: 141.18%;
    color: #008DD2;
}

.service_detail_contact_text_block_address_block {
    padding: 24px 34px 30px 34px;
    background: #F9F9F9;
}

.service_detail_contact_text_block_address_block ul {
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 160.68%;
    color: #141414;
}


.service_detail_contact_text_block_address_block ul a{
    font-weight: 400;
    font-size: 14px;
    line-height: 160.68%;
    color: #008DD2;
    text-decoration: underline;
}

.service_detail_contact_text_block_address_block li.contact_title{
    font-size: 16px;
    line-height: 160.68%;
    font-weight: 700;
}

.service_detail_contact_text_block_address_block ul a:hover{
    color: #008DD2;
    text-decoration: underline;
}

.service_detail_contact_text_block_address_block ul a> li:before {
    content: none;
}

.service_detail_contact_text_block_address_block ul > li:before {
    content: none;
}

.service_detail_contact_text_block_address_block a {
    font-weight: 700;
    font-size: 14px;
    line-height: 141.18%;
    color: #008DD2;
}

.bron_link_block {
    margin-bottom: 33px;
    height: 40.8px;
}

.bron_link_block_hide{
    display: none;
}

a.bron_link,
a.bron_link_copy {
    padding: 10px 15px;
    background: #008DD2;
    border-radius: 3.15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 160.68%;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
    z-index: 9999;
}

.schedule-other-links {
    display: flex;
    margin: 50px 0 0 -20px;
}

a.schedule-other-link {
    font-weight: 700;
    font-size: 14px;
    line-height: 141.18%;
    color: #008DD2;
    margin: 0 20px;
}

a.schedule-other-link.to {
    padding-right: 28px;
}

a.schedule-other-link span {
    position: relative;
}

a.schedule-other-link.to span:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    left: calc(100% + 10px);
    width: 18px;
    height: 24px;
    content: '';
    background-image: url(/local/templates/m1/components/bitrix/news.detail/schedule/img/link.svg);
}

a.schedule-other-link.back {
    padding-left: 28px;
}

a.schedule-other-link.back span:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    right: calc(100% + 10px);
    width: 18px;
    height: 24px;
    content: '';
    background-image: url(/local/templates/m1/components/bitrix/news.detail/schedule/img/link.svg);
}

.schedule-other-links-block{
    display: flex;
}

.author_about_block{
    display: flex;
}

@media only screen and (max-width: 767px) {
    .schedule-other-links {
        display: block;
        margin: 50px 0 0 0;
    }

    .schedule-other-links-block{
        justify-content: space-between;
    }

    .schedule-other-links-left a.schedule-other-link.to{
        text-align: left;
    }

    a.schedule-other-link {
        display: block;
        margin: 13px 0;
    }

    a.schedule-other-link.to {
        text-align: right;
    }
}

.service_detail_contact_img.mobile {
    display: none;
}

.detail-zapis-block {
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 4;
}

@media only screen and (max-width: 767px) {
    .service_detail_raspisanie_block {
        display: block;
    }
}

@media only screen and (max-width: 1550px) {
    .service_item_author {
        padding: 10px;
    }

    .service_item_name {
        padding: 21px 7px 12px 17px;
    }
}

@media only screen and (max-width: 1400px) {
    .service_item_author {
        font-size: 12px;
    }

    .service_item_name {
        font-size: 14px;
    }

    .service_item_hover_name {
        font-size: 14px;
    }

    .service_item_hover {
        padding-bottom: 10px;
    }

    .service_item_hover_author_img img {
        height: 95px;
        width: auto;
    }

    .service_item_hover_author_name {
        font-size: 14px;
    }

    .service_item_hover_author_text {
        font-size: 13px;
    }
}

@media only screen and (max-width: 1350px) {
    .service_item_date_number {
        font-size: 28px;
    }

    .service_item_date_month_year {
        font-size: 18px;
    }

    .service_item_date_day_name,
    .service_item_date_time {
        font-size: 14px;
    }

    .service_item_author {
        top: 63%;
    }
}

@media only screen and (max-width: 1220px) {
    .service_detail_raspisanie_img_block {
        flex: 0 0 100%;
        padding-top: 80%;
    }

    .author_about_block{
        flex-direction: column;
    }

    .service_detail_about_author{
        margin-left: 0;
        flex: 0 0 100%;
    }

    .service_detail_raspisanie {
        flex: 0 0 100%;
    }

    .service_item_author {
        font-size: 16.5246px;
        padding: 17px;
        top: 50%;
    }

    .service_item_name {
        padding: 31px 12px 22px 27px;
        font-size: 16px;
    }

    .service_item_hover_name {
        font-size: 17.1747px;
    }

    .service_item_hover_author_img img {
        height: 150px;
    }

    .service_item_hover_author_name {
        font-size: 20px;
    }

    .service_item_hover_author_text {
        font-size: 18px;
    }

    .service_item_hover_body {
        justify-content: space-around;
    }

    .service_item:nth-child(2n+1) {
        margin-right: 0;
    }

    .service_item:nth-child(2n) {
        margin-left: 0;
    }

}

@media only screen and (max-width: 767px) {
    .service_items {
        display: block;
    }

    .service_item_name,
    .service_item_author {
        padding: 10px;
        font-size: 14px;
    }

    .service_item_date_number {
        font-size: 24px;
    }

    .service_item_date_month_year {
        font-size: 16px;
    }

    .service_item_date_day_name,
    .service_item_date_time {
        font-size: 14px;
    }

    .raspisanie-list-day {
        padding-right: 0px;
    }

    .service_detail_raspisanie {
        padding: 25px 19px 27px 24px
    }

    .raspisanie-list-day:nth-child(2n+1) {
        padding-right: 13px;
    }

    .service_detail_contact_img {
        display: none;
    }

    .service_detail_contact_img.mobile {
        display: block;
    }

    .service_detail_contact_text_block {
        flex: 0 0 100%;
        padding-left: 0;
    }

    .service_detail_contact_text_block_address_block {
        margin-left: -34px;
    }

    .service_detail_contact_img {
        flex: 0 0 100%;
        padding-top: 80%;
    }
}

@media only screen and (max-width: 480px) {
    .service_item_name, .service_item_author {
        font-size: 12px;
    }

    .service_item_author {
        top: 60%;
    }
}

h1 {
    margin: 0 !important;
}

.actual_button_block a {
    display: inline-block;
    box-sizing: border-box;
    border-radius: 3.45px;
    padding: 11px 31px;
    font-weight: 700;
    font-size: 16.1px;
    line-height: 160.68%;
    margin-top: 17px;
    text-decoration: none;
    background: #008DD2;
    color: #FFFFFF;
    transition: all 0.2s;
    border: 2px solid #008DD2;
}

.actual_button_block a:hover{
	color: #008DD2;
	background: transparent;
	border: 2px solid #008DD2;

}