/* SEBEROZVOJOVÝ KLUB + TRÉNINKY S JANKOU + SEBEROZVOJOVÉ KARTY */


/* SEBEROZVOJOVÝ KLUB S JANKOU */
#sr-klub h1 {
    font-size: 46px !important;
    line-height: 52px;
}
#sr-klub h2 {
    font-size: 30px !important;
    line-height: 38px;
}
#sr-klub h3 {
    font-size: 20px !important;
    line-height: 26px;
    font-weight: 700;
}
#sr-klub p {
    font-size: 18px;
}

#skObsah {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(auto, 33%) minmax(auto, 33%) minmax(auto, 33%);
    column-gap: 20px;
    row-gap: 50px;
}
#skObsah .skObsahBox {
    width: 100%;
    padding-left: 40px;
    position: relative;
    box-sizing: border-box;
}
#skObsah .skObsahBox::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-size: 170%;
    color: #ed4354;
    top: 0;
    left: 0;
    position: absolute;

}
#skObsah a {
    text-decoration: underline;
    font-weight: 700;
}
#sr-klub ul {
    padding-left: 0;
    font-size: 18px;
    list-style: none;
    margin-top: 30px;
}
#sr-klub ul li {
    margin-top: 10px;
    padding-left: 30px;
    position: relative;
    font-weight: 700;
}
#sr-klub ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    color: #ed4354;
    top: 0;
    left: 0;
    position: absolute;
    font-size: 75%;
}

@media only screen and (max-width: 980px) {
    #skObsah {
        grid-template-columns: minmax(auto, 50%) minmax(auto, 50%) !important;
    }
    #sr-klub h1 {
        font-size: 30px !important;
        line-height: 38px;
    }
    #sr-klub h2 {
        font-size: 20px !important;
        line-height: 26px;
    }
    #sr-klub h3 {
        font-size: 16px !important;
        line-height: 24px;
    }
    #sr-klub p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 650px) {
    #skObsah {
        grid-template-columns: minmax(auto, 100%) !important;
    }
}
/* KONEC SEBEROZOVOJOVÉHO KLUBU */


/* BALÍČKY */
.balicekBox {
    width: calc(32% - 20px);
    margin: 10px;
    background-color: white;
    padding: 25px;
    text-align: left;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: .2s ease;
    min-height: 400px;
    vertical-align: top;
    height: 400px;
}
.balicekBox:hover {
    transform: scale(1.03);
    transition: .2s ease;
}
.balicekBox span.balTag {
    color: #ED4355;
    font-weight: 700;
    font-size: 18px;
    float: left;
    width: 100%;
}
.balicekBox span.balTitle {
    font-size: 30px !important;
    float: left;
    width: 100%;
    font-weight: 700;
    margin: 15px 0;
}
.balicekBox span.balDesc {
    font-size: 20px !important;
    float: left;
    width: 100%;
    margin-bottom: 15px;
}
.balicekBox span.balCena {
    font-weight: 700 !important;
    float: left;
    width: 100%;
}
.balicekBox span.balVybrat {
    margin-top: 70px;
    float: left;
    width: 100%;
}
.balicekBox span.balVybrat::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 1px solid black;
    position: absolute;
    left: 25px;
    bottom: 30px;
    border-radius: 50%;
}
.balicekBox span.balVybrat::after {
    content: "vybrat kurz";
    font-size: 18px;
    position: absolute;
    bottom: 23px;
    left: 48px;
    font-weight: 700;
}
.balNotice {
    margin-top: 60px;
    font-weight: 700;
    font-style: italic;
    color: #ED4355;
}

.jakoDarek {
    width: 100%;
    float: left;
    margin-top: 30px
}

.jakoDarek input[type="checkbox"] {
    display: inline !important;
}

#balOdeslat {
    color: #FFFFFF;
    background-color: #252525;
    border: 2px solid #252525;
    padding: .3em 1em;
    font-size: 18px;
    font-weight: 700;
    margin-top: 6px;
    line-height: 1.7em;
    transition: .2s ease;
    cursor: pointer;
}
#balOdeslat:disabled {
    opacity: .6;
}
#balOdeslat:hover {
    background-color: transparent;
    color: #252525;
    transition: .2s ease;
}

#balOdeslat:disabled:hover {
    color: #FFFFFF;
    background-color: #ef4454;
    cursor: default;
}
/* KONEC BALÍČKŮ */

/* TOOLTIP */
.tooltip {
    position: relative;
    background: white;
    padding: 1px 7px;
    margin-left: 3px;
    font-size: 15px;
    line-height: 18px;
    border-radius: 100%;
    color: #252525;
    margin-right: 3px;
    top: -10px;
}

.tooltip:before,
.tooltip:after {
    position: absolute;
    content: "";
    opacity: 0;
    transition: all 0.4s ease;
}

.tooltip:before {
    border-width: 10px 8px 0 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    top: -15px;
    transform: translateY(20px);
}

.tooltip:after {
    z-index: 99999;
    content: attr(data-tooltip);
    background: white;
    font-size: 13px;
    font-weight: 300;
    top: -75px;
    left: -10px;
    padding: 10px;
    border-radius: 5px;
    letter-spacing: 1px;
    transform: translateY(20px);
    width: 200px;
    height: auto;
    pointer-events: none;
}
.tooltip:hover::after {
    pointer-events: normal;
}
.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    transform: translateY(-2px);
}

@media only screen and (max-width: 600px) {
    .tooltip:hover::after {
        left: -150px;
    }
}

/* KONEC TOOLTIP */


/* TRENINKY S JANKOU */
#treninky {
    width: 100%;
    text-align: center;
}
#treninky .balicekBox {
    min-height: 160px;
    height: auto;
    width: calc(25% - 25px);
    padding: 10px;
}
#treninky .balicekBox .balTag {
    color: #252525;
    font-size: 16px;
}
#treninky .balicekBox .balTitle {
    font-size: 20px !important;
    margin: 0px 0;
    font-weight: 700;
    line-height: 26px;
}
#treninky .balicekBox .balTitle a {
    color: #252525;
}
#treninky .balicekBox .balTitle a:hover {
    text-decoration: underline;
}
#treninky .balicekBox .balDesc {
    font-size: 18px !important;
    margin: 4px 0;
    line-height: 26px;
}
#treninky .balicekBox .balVybrat::after {
    content: 'Vybrat trénink';
    color: #ED4355;
    font-size: 16px;
    left: 20px;
    top: 0;
}
#treninky .balicekBox .balVybrat::before {
    border: 2px solid #ED4355;
    left: 0px;
    top: 5px;
}
#treninky .balicekBox span.balVybrat {
    margin-top: 10px !important;
    height: 30px;
    position: relative;
}
#treninky .balicekBox .balMore {
    margin-top: 10px;
    display: inline-block;
}
#treninky .balicekBox .balMore a {
    color: #252525;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 10px;
    font-size: 18px;
    position: relative;
}
#treninky .balicekBox .balMore a::after {
    content: ">";
    position: absolute;
    top: 1px;
    right: -5px;
    line-height: 18px;
    visibility: hidden;
    transition: .2s ease;
}
#treninky .balicekBox .balMore a:hover::after {
    visibility: visible;
    right: -15px;
    line-height: 18px;
    transition: .2s ease;
}

#treninky input[type="checkbox"]:checked + .balicekBox {
    background-color: #ED4355;
    color: white;
    transform: scale(0.95);
}
#treninky input[type="checkbox"]:checked + .balicekBox:hover {
    transform: scale(0.95);
}
#treninky input[type="checkbox"]:checked + .balicekBox span.balTag {
    color: #252525;
}

#treninky input[type="checkbox"]:checked + .balicekBox span.balVybrat::before {
    background: url("https://www.jankachudlikova.com/wp-content/uploads/2022/03/check.png") no-repeat center;
    background-size: 12px;
    background-color: white;
}
#treninky input[type="checkbox"]:checked + .balicekBox span.balVybrat::after {
    content: "Trénink vybrán";
    color: white;
}
#treninky input[type="checkbox"] {
    display: none;
}

#treninky .vyberDalsi {
    color: #252525;
    background-color: #ED435533;
    padding: 8px;
    font-weight: 600;
    font-size: 16px;
}
#treninky .vyberUspech {
    color: #252525;
    background-color: #D6EFD2;
    padding: 8px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    display: inline-block;
    line-height: 20px;
}

#treninky #balOdeslat {
    background-color: #ED4355;
    border-color: #ED4355;
}
#treninky #balOdeslat:hover {
    background-color: white;
    color: #ED4355;
}

#treninky .balNotice {
    margin-top: 10px;
}

.balSum {
    font-weight: 700;
    font-size: 18px;
}
.balSum span {
    font-weight: 700;
    font-size: 20px;
}

.balZdarma.disabled {
    opacity: .4;
    pointer-events: none;
}

.selectAll {
    width: 100%;
    text-align: center;
    margin-top: 50px
}
.selectAll a {
    font-weight: 700;
    padding-left: 25px;
    position: relative;
}
.selectAll a.vseVybrano::before {
    background-color: #ED4355;
}
.selectAll a::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 1px solid black;
    position: absolute;
    bottom: 2px;
    border-radius: 50%;
    border: 2px solid #ED4355;
    left: 0px;
}

#treninky-s-jankou h3 {
    line-height: 1.1em;
    font-weight: 700;
}

#seberozvojove-karty .thumbnail {
    background-color: #edeff7;
}

#referenceTreninky ul li {
    margin-top: 0px;
    padding-left: 0px;
    position: relative;
    font-weight: 400;
}
#referenceTreninky ul li::before {
    content: "";
}
/* Reference */
#referenceTreninky .splide__slide {
    background-color: white;
    padding: 24px;
    text-align: center;
}
#referenceTreninky .splide__pagination {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    bottom: -40px;
}
#referenceTreninky .splide__slide::before {
    content: none;
}
#referenceTreninky .obsahReference {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}
#referenceTreninky .referenceJmeno {
    margin-top: 32px;
    font-weight: 700;
}
#referenceTreninky .splide__track {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#referenceTreninky .splide__arrow--prev {
    left: -6em;
}
#referenceTreninky .splide__arrow--next {
    right: -6em;
}

/* Šipky Reference */
#referenceTreninky .splide__arrow svg {
    fill: white;
    height: 24px;
    width: auto;
}
#referenceTreninky .splide__arrow svg {
    fill: #252525;
}
#referenceTreninky .splide__arrow {
    background: transparent;
    opacity: 1;
}
#referenceTreninky .splide__arrow:hover {
    opacity: .9;
}

#referenceTreninky .obsahReference p {
    font-size: 16px;
    line-height: 20px;
}

@media only screen and (max-width: 1300px) {
    #treninky .balicekBox {
        width: calc(33% - 25px);
    }
}
@media only screen and (max-width: 1000px) {
    #treninky .balicekBox {
        width: calc(50% - 25px);
        margin: 10px !important;
    }
}
@media only screen and (max-width: 680px) {
    #treninky .balicekBox {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* KONEC TRENINKY S JANKOU */



/* SEBEROZVOJOVÉ KARTY */
/* hodně pravidel jde z tréninků */
#treninky.karty .balicekBox .balVybrat::after {
    content: 'Vybrat kartu';
}
#treninky.karty input[type="checkbox"]:checked + .balicekBox span.balVybrat::after {
    content: "Karta vybrána";
}

#treninky.karty .balicekBox .balTitle {
    font-size: 20px !important;
}
#treninky.karty .balicekBox {
    min-height: 120px;
}

#treninky.karty .balNotice .vyberDalsi {
    max-width: 510px;
    display: inline-block;
}
/* KONEC SEBEROZVOJOVÉ KARTY */


@media only screen and (max-width: 1600px) {
    .balicekBox {
        height: 450px;
    }
}
@media only screen and (max-width: 1250px) {
    .balicekBox {
        width: calc(48% - 20px);
        height: 400px;
    }
}
@media only screen and (max-width: 1050px) {
    .balicekBox {
        height: 480px;
    }
}
@media (max-width: 980px) {
    .balicek h3 {
        text-align: center;
    }
    .balicek .et_pb_button_module_wrapper.et_pb_button_alignment_right {
        text-align: center;
        margin-top: 0 !important;
    }
}
@media only screen and (max-width: 850px) {
    .balicekBox {
        height: auto;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}