

/* Start:/local/components/schedule/table/templates/.default/style.css?17363183382737*/
/*
.prevNext {
    text-align: justify;
}

.prevNext a {
    display: inline-block;
    position: relative;
    top: 1.2em;
}

.prevNext:before{
	content: '';
	display: block;
	width: 100%;
	margin-bottom: -1.2em;
}

.prevNext:after {
	content: '';
	display: inline-block;
	width: 100%;
}
*/
@media (max-width: 340px) {
	body .modal-body .location-position.visible-xs {
		right: -115px;
	}
}

@media (max-width: 768px) {
	body .modal-body .modal-caption .h3 {
		text-align: center;
		padding-left: 50px;
	}
	body .location-position.visible-xs {
		transform: rotate(90deg);
		position: absolute;
		width: 620px;
		top: 200px;
		right: -75px;
	}
	body .modal-footer.modal-footer_no_margin_bottom {
		top: 600px;
	}
	.location, body .empty-location {
		transform: rotate(-90deg);
	}
	body .modal-content {
		padding-bottom: 550px;
	}

    body .empty-location {
		overflow: hidden;
		width: 37px;
		height: 37px;
		border-radius: 50%;
		-webkit-background-clip: padding-box;
		background-clip: padding-box;
		font-size: 14px;
		line-height: 35px;
		margin-bottom: 15px;
		margin-right: 15px;
	}
}
body .location-position .location-container {
	text-align: center;
}

.trainer-left {
	float: left;
}
.trainer-center {
	float: none;
}
.trainer-right {
	float: right;
}
.schedule-item.sold-out {
	/*min-height: 150px;*/
	background-color: #DDCBD4;
	overflow: hidden;
	position: relative;
}.schedule-item.sold-out.has-clients {
	 pointer-events: none;
	 cursor: no-drop;
 }
.schedule-item.sold-out::before {
	content: attr(data-sold-out);
	position: absolute;
	right: -90px;
	bottom: 125px;
	z-index: 9;
	width: 300px;
	line-height: 2;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: #898989;
	background-color: #ffffff;
	transform: rotate(-45deg);
	transform-origin: right bottom;
	opacity: 1;
}
.relative {
	position: relative;
}

.unavailable-all {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	cursor: not-allowed;
}

.empty-location {
    display: inline-block;
    border: none;
    width: 52px;
    height: 52px;
    margin-right: 18px;
    margin-bottom: 30px;
}

.modal-waitlist {
    border: 1px solid rgba(555,555,555,.0);
    top: 30%;
    bottom: unset;
    transform: translateY(-70%);
}
.modal-waitlist .modal-content {
    min-height: unset;
}
.modal-waitlist .modal-header {
    text-align: center;
}

@media (max-width: 768px) {
	body .modal-waitlist .modal-content {
		padding-bottom: 20px;
	}

	body .modal-dialog.modal-lg.modal-waitlist {
		height: unset;
	}
}

.modal-content.modal-content-online {
	padding-bottom: unset;
}

.schedule-online-link-desktop {
	padding-bottom: 20px;
}

.schedule-online-link-mobile {
	margin-top: 15px;
}

/* End */


/* Start:/local/assets/css/pages/schedule__table.css?17508364859365*/
.modal-caption.cdm {
    display:flex;
    justify-content: space-evenly;
}

.modal-caption.tver {
    display:flex;
    justify-content: flex-start;
    margin-right: 75px;
}

.modal-caption.spb {
    display:flex;
    justify-content: center;
}

.modal-caption.spb .h3.screen {
    height: inherit;
    margin-left: 400px;
}

.modal-caption.spb .h3.trainer {
    height: inherit;
}

.modal-caption.tver .h3.screen {
    height: inherit;
}

.modal-caption.tver .h3.trainer {
    height: inherit;
}

.modal-caption.cdm.offset {
    margin-left: 200px;
}

.modal-caption.luzh {
    display:flex;
    justify-content: center;
    margin: -20px 100px -20px;
}

.modal-caption.luzh .h3.screen {
    height: inherit;
    margin: 20px 200px;
}

.modal-caption.luzh .h3.screen-bottom {
    height: inherit;
    margin: -100px 200px;
}

.modal-caption.luzh .h3.screen-right {
    height: inherit;
    position: absolute;
    margin-top: 160px;
    right: -60px;
    /*writing-mode: vertical-rl;
    transform: rotate(180deg);
    */
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 25px;
    
}
.modal-caption.luzh .h3.enter {
    height: inherit;
    position: absolute;
    margin-top: 250px;
    left: -90px;
    /*writing-mode: vertical-rl;
    transform: rotate(180deg);
    */
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 25px;
    
}

.modal-caption.luzh .h3.trainer {
    height: inherit;
    position: absolute;
    margin-top: 200px;
}

.location.luzh {
    margin-right: 5px;
    margin-bottom: 150px
}

.is_xl_cicle {
    border: 3px solid #e36dc2 !important;
    line-height: 45px !important;
}

@media (max-width: 768px) {
    .is_xl_cicle {
       border: 3px solid #e36dc2 !important;
       line-height: 30px !important;
}
    .modal-caption.cdm {
        padding-left: 75px;
    }

    .modal-caption.tver {
        padding-right: 180px;
    }

    .modal-caption.cdm.offset {
        margin-left: 0;
        padding-left: 215px;
    }

    .modal-caption.spb .h3.screen {
        margin-left: 215px;
    }

    .modal-caption.luzh {
        display:flex;
        justify-content: center;
        margin: -20px 100px -20px;
    }
    
    .modal-caption.luzh .h3.screen {
        height: inherit;
        margin: 70px 120px 100px 90px
    }
    .modal-caption.luzh .h3.screen-bottom {
        height: inherit;
        margin: 60px 120px 120px 90px
    }
    
    .modal-caption.luzh .h3.screen-right {
        height: inherit;
        position: absolute;
        margin-top: -30px;
        right: 25px;
        transform: rotate(0deg);
        display: flex;
        flex-direction: row;
        align-items: center;
        line-height: 25px;
        
    }
    .modal-caption.luzh .h3.enter {
        height: inherit;
        position: absolute;
        margin-top: 500px;
        left: 160px;
        /*writing-mode: vertical-rl;
        transform: rotate(180deg);
        */
        display: flex;
        flex-direction: row;
        align-items: center;
        line-height: 25px;
        
    }
    
    .modal-caption.luzh .h3.trainer {
        height: inherit;
        position: absolute;
        margin-top: 200px;
        margin-left: -10px;
    }
    
    .location.luzh {
        margin-right: 0px;
        margin-top: 50px;
        margin-bottom: 100px;
    }
    .location.luzh:nth-child(10n+10) {
        margin-right: 0px;
    }

    body .location-position.visible-xs.luzh {
        right: -90px;
        top: 180px;
        transform: rotate(90deg);
    }

    .modal-caption.luzh {
        position: relative !important;
        width: 160px !important;
        right: 0 !important;
        top: 20px !important;
        -webkit-transform: rotate(0deg) !important;
        -ms-transform: rotate(0deg) !important;
        -o-transform: rotate(0deg) !important;
        transform: rotate(0deg) !important;
        margin-top: 20px !important;
        margin-right: 0px;
        padding-bottom: 0 !important;
    }

    body .modal-footer.modal-footer_no_margin_bottom.luzh {
        top: 100px !important;
    }
}

/* Общие стили для легенды */
@media (min-width: 769px) {
    .legend {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: nowrap;
    }
}

/* Мобильный — перенос, 2 строки, по центру */
@media (max-width: 768px) {
    .modal-body {
        padding-right: 0px !important;
    }
    .legend {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 0 auto;
    }
    .legend-row {
        flex: 0 0 45%;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
    }
}
@media (max-width: 300px) {
    .modal-body {
        padding-right: 0px !important;
    }
    .legend {
        max-width: 300px !important;
        gap: 10px !important;
    }
    body .location-position.visible-xs {
        top: 305px !important;
    }
}


.legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-icon.free {
    border: 2px solid #e3b2d2;
    background: #fff;
}

.legend-icon.free-xl {
    border: 3px solid #e36dc2;
    background: #fff;
}

.legend-icon.booked {
    background: #7a004d;
    border: none;
}

.legend-icon.unavailable {
    background: #f7e6f1;
    border: none;
}

.legend-label {
    color: #c69;
    font-size: 14px;
    line-height: 1.2;
}

/* Адаптивные стили */

@media ((min-width: 300px) and (max-width: 413px)) { 
    
    .modal-caption.luzh {
        margin: -20px 70px -20px;
    }

    body .location-position.visible-xs.luzh {
        position: absolute !important;
        right: -105px !important;
        top: 230px;
    }
    
    .modal-caption.luzh .h3.trainer {
        margin-left: -50px;
    }
    .modal-caption.luzh .h3.screen-right {
        right: 50px;
    }

    .modal-caption.luzh .h3.screen {
        margin: 70px 120px 100px 45px;
    }
    
    .modal-caption.luzh .h3.screen-bottom {
        margin: 60px 120px 120px 50px;
    }
    .modal-caption.luzh .h3.enter {
        left: 110px;
    }

}

@media ((min-width: 340px) and (max-width: 370px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -80px !important;
    }
    
}

@media ((min-width: 371px) and (max-width: 400px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -50px !important;
    }
    
}

@media ((min-width: 401px) and (max-width: 413px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -30px !important;
    }
    
}

@media ((min-width: 414px) and (max-width: 430px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -95px !important;
    }
    
}

@media ((min-width: 431px) and (max-width: 460px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -60px !important;
    }
    
}

@media ((min-width: 461px) and (max-width: 490px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -40px !important;
    }
    
}
@media ((min-width: 491px) and (max-width: 510px)) { 
    
    body .location-position.visible-xs.luzh {
        right: -15px !important;
    }
    
}
@media ((min-width: 511px) and (max-width: 530px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 5px !important;
    }
    
}
@media ((min-width: 531px) and (max-width: 560px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 30px !important;
    }
    
}
@media ((min-width: 561px) and (max-width: 590px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 60px !important;
    }
    
}
@media ((min-width: 591px) and (max-width: 620px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 95px !important;
    }
    
}
@media ((min-width: 621px) and (max-width: 640px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 115px !important;
    }
    
}
@media ((min-width: 641px) and (max-width: 660px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 140px !important;
    }
    
}
@media ((min-width: 661px) and (max-width: 680px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 165px !important;
    }
    
}
@media ((min-width: 681px) and (max-width: 700px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 185px !important;
    }
    
}
@media ((min-width: 701px) and (max-width: 720px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 205px !important;
    }
    
}
@media ((min-width: 721px) and (max-width: 740px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 215px !important;
    }
    
}
@media ((min-width: 741px) and (max-width: 760px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 240px !important;
    }
    
}
@media ((min-width: 761px) and (max-width: 780px)) { 
    
    body .location-position.visible-xs.luzh {
        right: 265px !important;
    }
}
@media ((min-width: 770px) and (max-width: 995px)) { 
    .location.luzh {
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
    }
}
/* End */
/* /local/components/schedule/table/templates/.default/style.css?17363183382737 */
/* /local/assets/css/pages/schedule__table.css?17508364859365 */
