@font-face {
    font-family: 'Centrale Sans XThin';
    src: url('../font/CentraleSans-XThinItalic.woff2') format('woff2'),
    url('../font/CentraleSans-XThinItalic.woff') format('woff'),
    url('../font/CentraleSans-XThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans XThin';
    src: url('../font/CentraleSans-XThin.woff2') format('woff2'),
    url('../font/CentraleSans-XThin.woff') format('woff'),
    url('../font/CentraleSans-XThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSans-Bold.woff2') format('woff2'),
    url('../font/CentraleSans-Bold.woff') format('woff'),
    url('../font/CentraleSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSans-BoldItalic.woff2') format('woff2'),
    url('../font/CentraleSans-BoldItalic.woff') format('woff'),
    url('../font/CentraleSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans XLight';
    src: url('../font/CentraleSans-XLight.woff2') format('woff2'),
    url('../font/CentraleSans-XLight.woff') format('woff'),
    url('../font/CentraleSans-XLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans XLight';
    src: url('../font/CentraleSans-XLightItalic.woff2') format('woff2'),
    url('../font/CentraleSans-XLightItalic.woff') format('woff'),
    url('../font/CentraleSans-XLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSansLightItalic.woff2') format('woff2'),
    url('../font/CentraleSansLightItalic.woff') format('woff'),
    url('../font/CentraleSansLightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSans-Light.woff2') format('woff2'),
    url('../font/CentraleSans-Light.woff') format('woff'),
    url('../font/CentraleSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans MediumMedium';
    src: url('../font/CentraleSans-MediumItalic.woff2') format('woff2'),
    url('../font/CentraleSans-MediumItalic.woff') format('woff'),
    url('../font/CentraleSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSansRegular.woff2') format('woff2'),
    url('../font/CentraleSansRegular.woff') format('woff'),
    url('../font/CentraleSansRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSansRegularItalic.woff2') format('woff2'),
    url('../font/CentraleSansRegularItalic.woff') format('woff'),
    url('../font/CentraleSansRegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSans-Medium.woff2') format('woff2'),
    url('../font/CentraleSans-Medium.woff') format('woff'),
    url('../font/CentraleSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSans-Thin.woff2') format('woff2'),
    url('../font/CentraleSans-Thin.woff') format('woff'),
    url('../font/CentraleSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Centrale Sans';
    src: url('../font/CentraleSansThinItalic.woff2') format('woff2'),
    url('../font/CentraleSansThinItalic.woff') format('woff'),
    url('../font/CentraleSansThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Centrale Sans', sans-serif;
    color: #242727;
}

.menu {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.menu a {
    display: inline-block;
    padding: 19px;
    border-radius: 35px;
    margin-left: 15px;
    color: #018a8a;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    font-size: 20px;
}

@media (max-width: 500px) {
    .menu a {
        padding: 10px;
    }
}

.menu a:hover {
    background: #018a8a;
    color: #fff;
    text-decoration: none;
}

.menu a.button {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.menu a.button img {
    width: 100%;
    max-width: 120px;
    transition: all 0.3s;
    border: 5px solid #19A5B4;
    border-radius: 50px;
}

.menu a.button:hover {
    background-color: transparent;
}

.menu a.button:hover img {
    border-color: #25898A;
}

hr {
    max-width: 1024px;
    margin: 0 auto;
    background-color: #DAF1F4;
}

.programy {
    scroll-margin-top: 50px;
    max-width: 1024px;
    margin: 70px auto;
    width: 96%;
}

.featured-video {
    max-width: 96%;
    width: 1024px;
    margin: 50px auto;
}

.featured-video h4 {
    margin-top: .5rem;
    font-size: 1rem;
    text-align: center;
}

.videos {
    scroll-margin-top: 50px;
    max-width: 1024px;
    margin: 70px auto;
    width: 96%;
}

.videos h3 {
    margin-bottom: .25rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
}

.video-wrapper {
    /*width: 600px;*/
    max-width: 100%;
}

.video-wrapper video {
    width: 100%;
    height: auto;
}

.avc {
    scroll-margin-top: 50px;
    max-width: 480px;
    margin: 50px auto;
    width: 96%;
    text-align: center;
}

.avc p {
    margin-top: 1em;
    font-size: 1.1em;
}

.kontakty-flex,
.item-flex,
.info-flex {
    display: flex;
}

.info-flex {
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: flex-start;
    margin: 0;
}

.info-flex-item {
    background: #e0e0e0;
    margin: 0;
    font-size: 17px;
    display: table;
    box-shadow: 0 0 0 2px #fff
}

.info-flex-item .tc {
    padding: 8px 30px;
    vertical-align: middle;
    display: table-cell;
    height: 46px;
}

.info-flex-item--jmeno {
    flex: 1 42%;
    max-width: 42%;
    font-weight: bold;
    font-size: 20px;
}

.info-flex-item--nazev-programu {
    flex: 2 58%;
    max-width: 58%;
    font-weight: bold;
    font-size: 20px;
}

.info-flex-item--datum {
    font-weight: bold;
    font-size: 20px;
}

.info-flex-item--datum,
.info-flex-item--den,
.info-flex-item--hodina {
    flex: 1 21%;
    max-width: 21%;
}

.info-flex-item--jak {
    flex: 2 37%;
    max-width: 37%;
}

.tc-video {
    padding: 0;
    vertical-align: middle;
    display: table-cell;
    height: 46px;
}

.tc-video button {
    background: #018a8a;
    padding: 8px 30px;
    border: none;
    color: #fff;
    font-weight: bold;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    height: 100%;
    width: 100%;
    text-align: left;
}

.tc-video button:hover {
    background: #01a4b5
}

.programy-item__link {
    display: block;
    text-align: center;
    color: #fff;
    background: #018a8a;
    min-height: 48px;
    line-height: 48px;
    margin-top: 2px;
    font-weight: bold;
    font-size: 20px;
    font-weight: normal;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.programy-item__link:hover {
    color: #fff;
    background: #01a4b5;
    text-decoration: none;
}

.programy__item {
    margin-bottom: 28px;
}

.item-flex__foto {
    flex: 1 100%;
    max-width: 120px;
    overflow: hidden;
    position: relative;
}

.item-flex__foto img {
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    height: auto;
}

.item-flex__info {
    flex: 2 100%;
    max-width: calc(100% - 120px);
}

.videos h2,
.programy h2 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.banner-tbc {
    display: table-cell;

    vertical-align: middle;
    text-align: center;
}


.banner-in {
    display: table;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.sipka {
    background: url(../sipka.png) 50% 50% no-repeat;
    position: absolute;
    width: 60px;
    height: 38px;
    margin: -30px;
    bottom: -25px;
    left: 50%;

}

.banner h2 {
    color: #fff;
    font-size: 35px;
    font-weight: 500;
    position: relative;
}

.banner h2 span {
    display: block;
}

.kontakty h2 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}


.kontakty h3.hlavni {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;

    color: #018a8a;
}

.kontakty h3 {
    font-size: 25px;
    font-weight: bold;

    margin-bottom: 15px;

}

.kontakty-flex__item li {
    margin: 0 0 0 22px;
}


.kontakty-flex__item a {
    font-size: 20px;
    text-decoration: underline;
    color: #242727;
    font-weight: normal;
}

.kontakty {
    background: #d9f1f4;
    padding: 1px;

}

.kontakty-container {
    margin: 70px auto;
    max-width: 1024px;
    width: 96%;
}

.container {
    max-width: 1024px;
    width: 96%;
    margin: 0 auto;
}

.banner {
    position: relative;
    display: table;
    width: 100%;
    height: 0;
    padding: 22% 0 0 0;
    box-shadow: inset 0 -17px 0 0 #01a4b5;
    background: #ddd url(../banners/banner-1460x646B.jpg) 50% 50% no-repeat;
    background-size: cover;
}

.hlavicka-container {
    margin: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px;
    margin: 0;
}

.logo img {
    height: 100px;
    width: auto;
}

.hlavicka-container .menu {
    display: flex;
    align-items: center;
}

.kontakty-flex {
    align-content: space-between;
    justify-content: space-between;
}

.kontakty-flex__item {
    flex: 35%;
    max-width: 35%;
}

.kontakty-flex__item li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.podpora-container {
    text-align: center;
    line-height: 80px;
    font-size: 20px;
}

.podpora-container p.cislo {
    margin-top: 0;
    font-size: 70%;
    line-height: 12px;
    padding-bottom: 30px;
}

.podpora-container a {
    color: #242727;
    text-decoration: underline;
}

.podpora-container--flex {
    display: flex;
    align-content: flex-start;
}

.text-20px {
    font-size: 20px;
}

.mb-20px {
    margin-bottom: 20px;
}

.mb-30px {
    margin-bottom: 30px;
}

@media (max-width: 1100px) {
    .podpora-container--flex {
        display: flex;
        align-content: flex-start;
        flex-direction: column;
    }
}

.podpora-container-item--2 {
    flex: 2;
}

.podpora-container-item--3 {
    flex: 3;
}

.small-logo {
    max-height: 70px;
    margin-top: 6px;
    width: auto;
}

.max-h-screen {
    max-height: 100vh;
}

.max-w-full {
    max-width: 100%;
}

.bg-light-blue {
    background-color: #e0f1f4;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

@media (max-width: 1100px) {
    .podpora-container {
        font-size: 16px;
    }

    .kontakty h3.hlavni {
        font-size: 21px;
    }

    .kontakty h3 {
        font-size: 21px;
    }

    .kontakty-flex__item a {
        font-size: 16px;
    }

    .info-flex-item {
        font-size: 15px;
    }

    .info-flex-item--jmeno {
        font-size: 16px;
    }

    .info-flex-item--nazev-programu {
        font-size: 16px;
    }

    .info-flex-item--datum {
        font-size: 16px;
    }

    .programy-item__link {
        font-size: 16px;
    }

    .videos h2,
    .programy h2 {
        font-size: 28px;
    }

    .banner h2 {
        font-size: 28px;
    }

    .kontakty h2 {
        font-size: 28px;
    }

    .kontakty-flex__item {
        flex: 48%;
        max-width: 48%;
    }

    .hlavicka-container {
        flex-direction: column;
        align-items: baseline;
        gap: 20px;
    }
}

@media (max-width: 820px) {

    .kontakty-flex {
        flex-wrap: wrap;
    }

    .kontakty-flex__item {
        flex: 90%;
        max-width: 90%;
        margin: 5%;
    }

}

@media (max-width: 760px) {
    .videos-grid {
        display: flex;
        flex-direction: column;
    }

    .info-flex {
        flex-wrap: wrap;
    }

    .info-flex-item--jmeno {
        flex: 1 100%;
        max-width: 100%;

    }

    .info-flex-item--nazev-programu {
        flex: 1 100%;
        max-width: 100%;

    }

    .info-flex-item--datum,
    .info-flex-item--den,
    .info-flex-item--hodina {
        flex: 1 100%;
        max-width: 100%;
    }

    .info-flex-item--jak {
        flex: 1 100%;
        max-width: 100%;
    }


    .item-flex__foto img {
        width: calc(100% - 2px);

    }

    .menu a {
        margin-left: 0;
        font-size: 18px;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .menu a:first-of-type {
        width: 65px;
        margin-right: 10px;
        padding-right: 4px;
    }

    .banner {
        position: relative;
        display: table;
        width: 100%;
        height: 0;
        padding: 60% 0 0 0;
        box-shadow: inset 0 -17px 0 0 #01a4b5;
        background: #ddd url(../banners/banner-mobilni-800x665B.jpg) 50% 50% no-repeat;
        background-size: cover;
    }

    .logo img {
        height: auto;
        width: 450px;
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .info-flex-item .tc {
        padding: 8px 20px;
        height: 30px;
    }

    .info-flex-item {
        font-size: 13px;
    }

    .info-flex-item--jmeno {
        font-size: 14px;
    }

    .info-flex-item--nazev-programu {
        font-size: 14px;
    }

    .info-flex-item--datum {
        font-size: 14px;
    }

    .kontakty-flex__item {
        flex: 96%;
        max-width: 96%;
        margin: 2%;
    }

    .kontakty-flex__item a {
        font-size: 14px;
    }

    .hlavicka-container {
        margin: 15px 15px;
        align-items: center;
    }

    .banner h2 {
        font-size: 23px;
    }

    .hlavicka-container .menu {
        flex-direction: column;
        gap: 10px;
    }
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.fitbetter-button {
    border: none;
    cursor: pointer;
    background-color: transparent;
    justify-self: flex-end;
    width: 46px;
    height: 46px;
    padding: 0;
}


.fitbetter-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.fitbetter-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 600px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.fitbetter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #22a0a3;
    color: white;
    border-radius: 10px 10px 0 0;
}

.fitbetter-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.fitbetter-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.fitbetter-close:hover {
    opacity: 0.7;
}

.fitbetter-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fitbetter-modal-qr-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.fitbetter-p {
    font-size: 24px;
}

.fitbetter-modal-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.fitbetter-btn {
    height: 60px;
    width: auto;
}

.fitbetter-qr {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .fitbetter-modal-header h2 {
        font-size: 20px;
    }

    .fitbetter-modal-body {
        padding: 10px;
    }

    .fitbetter-modal-qr-links {
        flex-direction: column;
        gap: 20px;
    }

    .fitbetter-modal-buttons {
        gap: 10px;
    }

    .fitbetter-qr {
        display: none;
    }

    .fitbetter-p {
        font-size: 16px;
    }
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 1100px;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
