@media screen and (max-width: 767px) {
  .avant {
    background-size: cover !important;
    background-position: center center !important;
    height: 320px;
  }
}

.container.marginjo.babby_swim .packs__content-text {
    font-size: 17px !important;
}

@media (min-width: 767px) {
    .avant {
        height: 718px;
    }
}

@media screen and (max-width: 767px) {
.container.marginjo.babby_swim {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.container.marginjo.babby_swim .programs_button {
    margin: 0;
}
.packs__item {
    padding: 25px 20px;
  }
}


@media screen and (max-width: 374px) {
    .packs__item {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.global__inner {
    padding: 30px 70px;
    background-position: 0 0;
}
.global__inner .global__btn {
    margin-top: 20px;
}

@media screen and (max-width: 767px) {
    .global__inner {
    padding: 20px;
    background-size: cover;
    background-position: 58% 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
}
.global__inner .global__btn {
    margin-top: 20px;
}
}

.avant {
    background-size: cover !important;
    background-repeat: no-repeat!important;

}

.question__btn.buttonzapjo {
    width: 200px;
    padding: 8px;
    height: auto;
}

.partner__items .slick-slide {
	height: 100px!important;
}

.partner__item {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.partner__items img {
    max-height: 86px !important;
    width: auto;
    max-width: 158px;
}

.phototitlejo {
    font-family: Bebas Neue;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 130%;
    color: #151B20;
    opacity: 0.4;
    margin-top: 15px;
	margin-bottom: 33px;
}

.instajonews {
    margin: 15px 0;
}

.container.marginjo.doublejobut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    align-content: center;
}

.programs_button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 215px;
    height: auto;
    margin-bottom: 15px;
}

@media screen and (max-width: 630px) {
	.programs_button {
		max-width: 100%;
	}
	.container.marginjo.doublejobut {
		padding: 0;
	}
}

.packs__number {
    margin-right: 10px;
}

.packs__btn {
    transition: 200ms;
}

.kalarajbita table td {
    width: 25%;
}

.minitennisdates table td {
    padding: 10px 20px;
    width: 25%;
    text-align: center;
}

.kalarajbita .calendar__table-head {
    border-bottom: 1px solid #000000;
    opacity: 0.5;
}

.calendar.rating_view {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


@media screen and (max-width: 1156px) {
	.calendar.rating_view {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.calendar__table--container {
		margin: 0 auto;
	}
}

.command__head {
    margin-bottom: 0;
}


.calendar__table tr:nth-child(2n), .turnir_detail tr.actual:nth-child(2n) {
	background-color: #F4F4F4;
}






/* tr.calendar_item:nth-child(4) { */
	/* background: none !important; */
/* }  */

@media (max-width: 479px) {
	.trener-image {
		width: 100% !important;
		float: none !important;
	}
	.trener-image img {
		display: block;
		margin: 0 auto !important;
	}

	.trener-info {
		margin: 0 !important;
	}

	.trener-info .name {
		text-align: center !important;
	}
	.earlyswim .container {
		padding: 0 26px !important;
	}

	.earlyswim h2.icon-text.icon-2.ieb {
		line-height: 23px !important;
	}

	.earlyswim h2.icon-text.icon-1.ieb {
		line-height: 26px !important;
	}
	.earlyswim p img {
		height: auto;
	}
}

.container.marginjo.minitennisdates tr {
    background: none;
}

.container.marginjo.babby_swim {
    margin-top: 0;
}

@media (min-width: 960px) {
	.swiper-container {
		display: none;
	}
}

.room__item p {
    padding: 0 11px;
}

.room__item {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.command__items .command__head {
    height: auto;
    min-height: 26px;
}

.newsboldpjo {
    font-size: 20px;
    font-weight: bold;
}

.header__items img {
    max-width: 145px;
}

@media (max-width: 767px) {
	.header__items img {
		margin-left: 15px;
	}
}

@media (max-width: 370px) {
	.header__items img {
		max-width: 75px;
	}
	.container {
		padding: 0 5px;
	}
	.header__arrow img {
		max-width: 15px;
		margin-left: 5px;
	}
}

.detailed__page span {
    margin-left: 1px;
}

.pop .content {
    height: 80vh !important;
}

.pop .f_buttons .but {
    height: 74px;
}

.pop .flex {
    margin-left: 0 !important;
    display: flex;
    justify-content: center;
}

.footer__items .footer__logo-mobile {
    max-height: 105px;
}

.footer__items .footer__logo-mobile img {
    max-width: 122px;

}



.jit__block-item span {
    font-size: 45px;
}

@media (min-width: 370px) and (max-width: 1376px) {
	.jit__block-item span {
		font-size: 30px;
	}
}

@media (min-width: 1px) and (max-width: 369px) {
	.jit__block-item span {
		font-size: 20px;
	}
	.jit__info {
		line-height: 15px;
		margin-top: 5px;
	}
}


.specusljo .h3 {
    font-size: 25px;
    line-height: 110%;
    font-weight: bold;
    margin-bottom: 15px;
}

.spectablejo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 600px;
    margin: 30px 0;
}

.spectablejo div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 200px;
}

.spectablejo div:first-child span {
    min-height: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    font-weight: bold;
}

.spectablejo div:last-child {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    font-size: 15px;
}

.detailed__items-item a {
    transition: none;
}





@media (min-width: 1320px) {
	.schedule__item {
		margin-right: 20px;
	}
}


.about_youtubejo_wrap {
    margin: 50px auto 130px;
}

.about_youtubejo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-right: -20px;
}

.about_youtubejo div {
    width: Calc(33% - 20px);
    margin-right: 20px;
	margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
	.about_youtubejo_wrap {
		margin: 50px auto 130px;
	}

	.about_youtubejo {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-right: -20px;
		flex-wrap: wrap;
	}

	.about_youtubejo div {
		width: Calc(50% - 20px);
		margin-bottom: 15px;
	}
	
		.about_youtubejo iframe {
		height: 139px;
	}
}


.calendar.turnir_detail table .calendar__table-head:nth-child(2), 
.calendar.turnir_detail table .calendar__table-head:nth-child(3), 
.calendar.turnir_detail table td:nth-child(2), 
.calendar.turnir_detail table td:nth-child(3) {
    max-width: 43px;
}

.calendar.turnir_detail table .calendar__table-head:nth-child(4), 
.calendar.turnir_detail table td:nth-child(4) {
    max-width: 62px;
}

.calendar.turnir_detail table .calendar__table-head:last-child, 
.calendar.turnir_detail table td:last-child {
    max-width: 92px;
}

.calendar.turnir_detail table .calendar__table-head:first-child, 
.calendar.turnir_detail table td:first-child {
    max-width: 65px;
}

.calendar.turnir_detail table .calendar__table-head {
    white-space:normal;
    vertical-align: top;
}


@media screen and (max-width: 1100px) {
	.calendar.turnir_detail table .calendar__table-head:nth-child(2), 
	.calendar.turnir_detail table .calendar__table-head:nth-child(3), 
	.calendar.turnir_detail table td:nth-child(2), 
	.calendar.turnir_detail table td:nth-child(3) {
		max-width: 43px;
	}

	.calendar.turnir_detail table .calendar__table-head:nth-child(4), 
	.calendar.turnir_detail table td:nth-child(4) {
		max-width: 62px;
	}

	.calendar.turnir_detail table .calendar__table-head:last-child, 
	.calendar.turnir_detail table td:last-child {
		max-width: 92px;
	}

	.calendar.turnir_detail table .calendar__table-head:first-child, 
	.calendar.turnir_detail table td:first-child {
		max-width: 65px;
	}

	.calendar.turnir_detail table .calendar__table-head {
		white-space:normal;
		vertical-align: top;
	}
}

@media screen and (max-width: 1100px) {
	.calendar.turnir_detail table .calendar__table-head:nth-child(2), 
	.calendar.turnir_detail table .calendar__table-head:nth-child(3), 
	.calendar.turnir_detail table td:nth-child(2), 
	.calendar.turnir_detail table td:nth-child(3) {
		max-width: 114px;
	}

	.calendar.turnir_detail table .calendar__table-head:nth-child(4), 
	.calendar.turnir_detail table td:nth-child(4) {
		max-width: 130px;
	}

	.calendar.turnir_detail table .calendar__table-head:last-child, 
	.calendar.turnir_detail table td:last-child {
		max-width: 200px;
	}

	.calendar.turnir_detail table .calendar__table-head:first-child, 
	.calendar.turnir_detail table td:first-child {
		max-width: 100px;
		min-width: 145px;
	}

	.calendar.turnir_detail table .calendar__table-head {
		white-space:normal;
		vertical-align: top;
	}
	.calendar.turnir_detail table .calendar__table-head:nth-child(6), 
	.calendar.turnir_detail table td:nth-child(6) {
		min-width: 198px;
	}
}

.dateuslujio {
    min-width: 133px;
}

.strechhh table tr td:last-child {
    text-align: center;
}

.strechhh .calendar__table-first{
    max-width: 84px;
}

.strechhh .calendar__table-second{
    max-width: 55px;
}

.strechhh .calendar__table-third{
    max-width: 143px;
}

.strechhh .calendar__table-foure{
    max-width: 171px;
}

.strechhh .calendar__table-five{
    max-width: 38px;
    padding-right: 5px !important;
}

.strechhh .calendar__table-six{
    max-width: 108px;
    width: 127px;
}

@media screen and (max-width: 1157px) {
	.phototitlejo {
		font-size: 14px;
		line-height: 130%;
	}
}

@media screen and (max-width: 700px) {
	.marginjo {
		margin: 30px 0;
	}
}

.contactsbbswim {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 171px;
    align-items: center;
}

.contactsbbswim img {
    width: 30px;
    height: auto;
}

.contactsbbswim a:hover img {
    opacity: 0.8;
}

.contactsbbswim p {
    margin-bottom: 8px;
}

.contactsbbswim p a:hover {
    color: #1babdb;
}

.contactsbbswim span {
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.contactsbbswim .himki__social {
    margin-left: 0;
    padding: 0;
}

@media screen and (max-width: 767px) {
	.himki__social {
		display: flex !important;
	}
}

.header__cort, .header__cabinet {
    font-size: 10px;
}

@media screen and (max-width: 520px) {
	.header__cort, .header__cabinet {
		font-size: 10px;
		width: 128px;
		float: left;
	}
	.header__cort {
		margin-bottom: 4px;
		margin-top: 4px;
	}
	.header__cabinet {
		margin-bottom: 4px;
	}
	.header__menu {
    display: flex;
    align-items: stretch;
    flex-direction: column;
}
}


.specusljo .h2stylio {
    display: block;
    font-size: 60px;
    line-height: 110%;
    font-weight: 700;
    font-family: "Bebas Neue";
    color: #151b20;
    margin-bottom: 65px;
}

.specusljo p{
    margin-bottom: 10px;
    line-height: 23px;
}

.specusljo {
    margin-bottom: 105px;
}

.specusljo ul, .specusljo ol {
    margin-left: 50px;
}

@media screen and (max-width: 767px) {
    .specusljo .h2stylio {
        display: block;
        font-size: 24px;
        line-height: 110%;
        font-weight: 700;
        font-family: "Bebas Neue";
        color: #151b20;
        margin-bottom: 20px;
    }

    .specusljo p{
        margin-bottom: 7px;
        font-family: Raleway;
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 160%;
    }

    .specusljo {
        margin-bottom: 40px;
        padding: 10px;
    }

    .specusljo ul, .specusljo ol {
        margin-left: 10px;
    }
	.price-list__item .subsection:first-child {
		margin-top: 0;
	}
}

.spectablejo div:first-child {
    margin-right: 20px;
    width: 150px;
    min-width: 100px;
}

.spectablejo div:last-child {
    width: 500px;
}

.spectablejo {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .spectablejo {
        display: flex;
        align-items: center;
        flex-direction: column;
        align-content: center;
    }
    .spectablejo div:first-child {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        min-width: 100px;
        text-align: center;
    }

    .spectablejo div:last-child {
        width: 100%;
    }
}

.footer__play a {
    height: 40px;
}

.footer__play a:first-child {
    width: 134px;
    background: url(/local/templates/main/images/googleplay.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.footer__play a:nth-child(2) {
    width: 120px;
    background: url(/local/templates/main/images/appStore.png);
    background-repeat: no-repeat;
    background-size: contain;
}

@media (min-width: 767px) and (max-width: 1011px) {
    .packs__price-mobile{
        position: absolute!important;
        bottom: 55px!important;
        left: 50%!important;
        transform: translate(-50%, 0)!important;
    }

    .packs__content-item {
        padding-bottom: 100px !important;
    }
}

@media (max-width: 766px) {
    .packs__price-mobile{
        position: absolute!important;
        bottom: 55px!important;
        left: 50%!important;
        transform: translate(-50%, 0);
    }

    .packs__content-item {
        padding-bottom: 100px !important;
    }
    .packs__content-price {
        position: absolute!important;
        bottom: 20px!important;
        left: 20px!important;
        width: Calc(100% - 40px)!important;
    }
    .packs__content-item {
        position: inherit!important;
    }
}


@media (max-width: 766px) {
    .jit__content {
        position: relative;
    }
    .jit__btn {
        position: absolute;
        bottom: 20px;
        /* left: 0; */
        /* right: 20px; */
        /* transform: translate(-50%, 0); */
        width: Calc(100% - 40px);
        /* margin: 0 40px; */
    }
    .jit__content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 65px;
    }
    .jit__block-item {
        min-height: 86px;
    }
    .jit__text {
        min-height: 43px;
    }
}





.element_setka_wr {width: Calc(50% - 20px);margin-bottom: 20px;}
.element_setka_wr_el {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #2e5fa0;
}
.element_setka_wr_el:before{
    content: "";
    display: block;
    padding-top: 100%;
}
.element_setka_wr_el div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: #f3efef;
}
.element_setka_wr_el div a{
    display: block;
    height: 100%;
}
.super_cat_setka_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    width: 100%;
}

.super_cat_setka_wrap div img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /*transform: translate(0, -50%);
    top: 50%;
    position: absolute;*/
}

.super_cat_setka_wrap div span {
    position: absolute;
    display: flex;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 176px;
    max-width: 90%;
    background: white;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
     padding: 7px;
    font-style: normal;
    font-weight: bold;
    font-size: 17px;
    line-height: 110%;
    text-align: center;
    color: #DD5251;
    text-transform: uppercase;
    transition: 300ms;
}

.super_cat_setka_wrap div span:hover {
    color: white;
    background: #dd5251;
}

.super_cat_setka_wrap div p {
    position: absolute;
    display: flex;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 176px;
    max-width: 90%;
    background: white;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.super_cat_setka_wrap div p span {padding: 7px;font-style: normal;font-weight: bold;font-size: 17px;line-height: 110%;
/* or 24px */text-align: center;

/* Red */color: #DD5251;text-transform: uppercase;}

@media screen and (max-width: 767px) {
    .super_cat_setka_wrap div span{
        font-size: 14px;
    }
}

.schedule__network {
    width: 100%;
    max-width: 622px;
}