.jit__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top right;
}

.partner__items img {
	max-height: 60px;
}

.packs__years a {
	padding: 0 45px;
	text-align: center;
}

.earlyswim .academy {
	padding: 0 0 60px;
}

.earlyswim {
	margin-top: -140px;
}

@media (max-width: 767px){
    .earlyswim{
        margin-top: -70px;
    }
}

.earlyswim h1 {
	margin: 0 0 30px;
}

.earlyswim p {
	margin-bottom: 15px;
}

.earlyswim a {
	color: #dd5251;
	font-weight: bold;
}

.earlyswim a:hover {
	color: #20788c;
}

.earlyswim .icon-text {
	line-height: 55px;
	padding: 0 0 0 75px;
	margin: 0 30px 0 0;
	font-weight: 700;
}

.earlyswim .icon-text {
	display: inline-block;
	margin: 20px 0;
}

.earlyswim .icon-text:before {
	width: 55px;
	height: 55px;
}

.earlyswim .icon-1:before {
	background: url(images/babyswimming/icon-1.png) no-repeat;
}

.earlyswim .icon-2:before {
	background: url(images/babyswimming/icon-2.png) no-repeat;
}

.earlyswim ol li {
    padding: 5px 0 0;
    line-height: 22px;
}

.earlyswim .price-list__item {
    background: none;
    padding: 15px 0 0 10px !important;
}

.ieb {
	position: relative;
}
.ieb:before, .ieb:after, span.before, span.after { 
	content: ''; 
	display: block; 
	position: absolute; 
	left: 0;
	top: 0;
}

.dir-nav {
    margin-top: 20px;
}

.dir-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

li.dir-nav__list-item {
    margin-bottom: 0;
    margin-right: 0;
    background: #f6f6f6;
    padding: 4px 6px;
    border-radius: 5px;
}

li.dir-nav__list-item.active {
    background: #20788c;
    color: #fff;
}

.programs-desc {
	margin-bottom: 160px;
} 

li.dir-nav__list-item.active {
    background: none;
    color: black;
}

li.dir-nav__list-item.active a{
    background: none;
    color: #1babdb;
}

li.dir-nav__list-item a{
    background: none;
    color: #1babdb;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    transition: all .2s ease;
    line-height: 1;
    display: inline-block;
    transform-origin: center;
}

li.dir-nav__list-item a:hover,
li.dir-nav__list-item a:focus {
    color: #1babdb;
    font-size: 19px;
    font-weight: 900;
    transform: translateY(-1px);
}


li.dir-nav__list-item {
    background: none;
}
 
 
 .programs_button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.programs_button .shop__btn-mobile {
    position: inherit;
    width: 100%;
    height: 70px;
}

.marginjo {
    margin: 90px auto;
   
}

.margintopjo {
    margin-top: 0;
}

.tournament-show {
    min-height: 647px;
}

.programs_button_double {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background: #e1e1e1;
    align-content: center;
    height: auto;
}

.programs_button_double a {
    display: inline-block;
    padding: 15px;
    text-align: center;
}

.programs_button_double .shop__btn-mobile {
    position: relative;
    top: auto;
    right: auto;
}

.photos__item {
    display: flex;
    align-items: flex-start;
    height: 280px;
}

.partner {
  /*  margin-bottom: 40px;*/
}

.global.main_middle_banner {
    margin-top: 40px;
}

.buttontextjo .packs__content-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
}

.buttontextjo .packs__content-text {
    font-size: 20px;
}

a.packs__btn {
    height: auto;
    min-height: 65px;
    padding: 15px 5px;
}

.container.strechhh .calendaar__table-head {

}

.container.strechhh .calendar__table-head {

}

.container.strechhh tr:nth-child(2n){
    background: #F4F4F4;
}

.super_cat_setka_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
}

.super_cat_setka_wrap div {
    width: Calc(50% - 20px);
    height: 240px;
    margin-bottom: 20px;
    position: relative;
}

.super_cat_setka_wrap div img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.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 p span{
        font-size: 14px;
    }
}

.swim_block .swim_h1{
    text-align: center;
    padding: 0 16px;
}

@media (max-width: 479px){
    .swim_block .swim_h1{
        font-size: 24px;
        margin-left: 0;
    }

    .dir-nav{
        margin-top: 0;
    }

    .dir-nav__list{
        margin: 0 -10px 0 -6px;
        gap: 6px 6px;
    }

    li.dir-nav__list-item{
        padding: 3px 4px;
        margin-right: 0;
        margin-bottom: 0;
    }

    li.dir-nav__list-item a{
        font-size: 12px;
    }
}


.wrapp_table{
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.wrapp_table table{
    min-width: 500px;
}

.wrapp_table + .wrapp_table{
    margin-top: 20px;
}

.no_wrapp{
    white-space: nowrap;
}

/* ---- mobile recovery fixes ---- */
@media (max-width: 767px){
    /* shrink wide tables (e.g. schedule) so fewer columns are off-screen */
    .wrapp_table table{
        min-width: 0;
    }
    .wrapp_table th,
    .wrapp_table td{
        padding-left: 6px;
        padding-right: 6px;
    }
}
/* Compact pool contact block */
.contactsbbswim {
    margin: 8px auto 14px !important;
    max-width: none !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
}
.contactsbbswim p {
    margin: 0 !important;
    line-height: 1 !important;
}
.contactsbbswim .contactsbbswim__social {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.contactsbbswim .contactsbbswim__social li {
    margin: 0 !important;
}
.contactsbbswim img {
    width: 28px !important;
    height: 28px !important;
    display: block;
}
@media (max-width: 479px) {
    .swim_block { margin-top: 16px !important; }
    .swim_block .swim_h1 { margin-bottom: 8px !important; }
    .contactsbbswim { margin: 6px auto 10px !important; }
}

.visually-hidden-page-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hide duplicated page titles in swim section content; keep SEO text and top swim heading. */
.earlyswim > .academy > .container > h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Equalize Telegram and MAX icons in swim contact block. */
.contactsbbswim .contactsbbswim__social a {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.contactsbbswim .contactsbbswim__social img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
}
