:root {
    --ruzova: #c10b5a;
    --hover: #9b0e4b;
    --modra: #c10b5a;
    --seda: #BBB;
    --bila: #FFF;
}

#header {
    width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    position: relative;
}

.header__logo {
    width: 370px;
    margin-right: 100px;
    float: left;
}

.header__menu {
    display: flex;
    flex-flow: wrap row;
    justify-content: space-between;
    padding-top: 7px;
}

.header__menu a {
    color:#FFF;
    font-size: 12pt;
    padding: 10px;
    border-radius: 5px;
}

/*

.header__menu a:last-child {
    color:var(--ruzova);
    font-size: 12pt;
}

*/

.header__menu a:hover, .header__menu__active {
    color:#FFF;
    background-color: var(--ruzova);
    padding: 10px;
}

.header__menu a:last-child:hover {
    color:#FFF;
}

.submenu {
    font-size: 12pt;
    position: absolute;
    z-index: 999999;
    background-color: #333;
    border-radius: 5px;
    padding: 20px 30px;
}

.submenu a:hover {
    text-decoration: underline;
}

.submenu ul {
    margin: 0;
    padding: 0;
}

.submenu li:before {
    content: '';
    position: absolute;
    margin-left: 0;
}

.submenu li {
    padding-left: 0;
    margin-bottom: 10px;
}

#slide {
    width: 100%;
    height: 700px;
    position: absolute;
    background-size: cover;
    background-position: center top;
    top: 0;  
    z-index: -99999; 
    overflow: hidden; 
}




video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    //opacity: 0.8;
    filter: saturate(.8);
}

.vlny {
    width: 100%;
    position: relative;
}

.vlny img {
    width: 100%;
}

#top__banner {
    position: relative;
    top: 0px;
    margin-top: 500px;
}

.top__banner__in {
    background-color: var(--ruzova);
    height: 150px;
    width: 100%;
    margin-top: -10px;
    padding: 20px 0 30px 0;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    gap: 0;
}

.top__banner__in p {
    line-height: 20pt;
}

.top__banner__in a {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.top__banner__in a:hover {
    background-color: var(--hover);
    border: 0;
    animation: pulse 0.2s linear 1;
}

.flip {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

#content_homepage {
    background-image: url('../gfx/bg.jpg');
    background-position: top;
    background-repeat: no-repeat;
    margin-top: -40px;
    background-size: contain;
}

#content {
    min-height: 800px;
}

.prihlaska {
    line-height: 200%;
}

.content__in {
    width: 1200px;
    margin: 0 auto;
    padding-top: 45px;  
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around; 
}

.content__in p a {

    border-bottom: 1px solid var(--ruzova);
    color: var(--ruzova);

}

.content__in p {
    line-height: 150%;
}

.content__in__box {
    width: 45%;
}

.content__in__box img {
    width: 100%;
}

.hp__foto {

    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    gap: 10px;

}

.hp__foto__box {

    min-width: 32%;
    max-width: 60%;
    height: 560px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    filter: saturate(0);

}


.content__in__box h2 {
    line-height: 35pt;
}

.napln__kurzu {
    width: 1500px;
    min-height: 850px;
    margin: 0 auto;
    background-position: top right;
    margin-top: -50px;
    background-repeat: no-repeat;
}

.napln__kurzu__text {
    width: 600px;
    float: left;
    margin-left: 75px;
}

.napln__kurzu__foto {
    float: right;
    width: 500px;
    min-height: 200px;
    position: relative;
}

.napln__kurzu__foto img {
    position: absolute;
    right: -75px;
    top: -100px;
    width: 600px;
}

.vypis__lekci {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    gap: 15px;
}

.vypis__lekci__box {
    flex: 1;
    display: flex;
    flex-flow: column wrap;

    justify-content: center;
    align-content: center;
    
    padding: 30px;
    min-width: 25%;
    max-width: 50%;
    height: auto;
    background-color: var(--modra);
}

.vypis__lekci__box:hover {
    background-color: var(--hover);
}

.vypis__lekci__box h4 {
    font-size: 16pt;
}

.vypis__lekci__box p {
    margin: 10px 0;
}

.vypis__lekci__box hr {
    background-color: #FFF;
    opacity: 0.5;
    margin: 20px 0;
    width: 100%;
}

.detail__lekce__popis {

    width: 80%;
    text-align: center;

}

.detail__lekce {

    font-size: 18pt;
    text-align: center;
    line-height: 150%;
    
}

.rozpis__lekci {

   width: 100%;
   margin: 0 auto;
   padding-bottom: 30px;
   border-bottom: 1px solid #444;
   text-align: left;

}

.rozpis__lekci:last-of-type {
    
    border-bottom: 0;

}


/* DIV TABULKA */ 

    .table {
        display: table;
        width: 100%;
        font-size: 16pt;
        margin-inline-start: 0;
        margin-inline-end: 0;
    }

    .table td {

        padding: 10px 0;
        vertical-align: top;

    }

    .table_row {
        display: flex;
        flex-flow: row;
        margin-bottom: 20px;
    }
    
    .table_row > .table_cell {
        padding-top: 3px;
        padding-bottom: 3px;
        width: 500px;
    }

    .table_cell:first-child {
        width: 150px;
        float: left;
    }
    
/* --- */

.dale__menu {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.kurzy__info {
    width: 80%;
}

.dresscode {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.ck-content .text-small, .text-small {
    font-size: 10pt;
}

.ck-content .text-tiny, .text-tiny {
    font-size: 8pt;
}


.ck-content .text-big, .text-big {
    font-size: 20pt;
}


.ck-content .text-huge, .text-huge {
    font-size: 25pt;
    line-height: 125%;
}


.dc__in {   
    width: 45%;
}

.dc__foto {
    width: 210px;
    height: 300px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    filter: saturate(0);
    transition: all .3s ease-in-out;
}

.dc__foto:hover {
    filter: saturate(1);
}

.dc__img {   
    width: 30%;
}

.dc__in p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.slevy {
    line-height: 200%;
}

#galerie {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

#galerie a {
    flex: 1;
    min-width: 30%;
    height: 250px;
}

.galerie__box {
    min-width: 100%;
    height: 250px;
    background-color: var(--ruzova);
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.galerie__box__img {
    min-width: 100%;
    height: 250px;
    background-color: var(--ruzova);
    /*
    display: flex;
    justify-content: center;
    align-items: center;
    */

    background-size: cover;
    background-position: center;
}

.img__fit img {
    display: none;
}

#footer {
    background-image: url('../gfx/bgb.jpg');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    
    position: relative;
    top: 15px;
    margin-top: 150px;
    height: 805px;

    display: flex;
    justify-content: center;

}

#footer a {
    color: #FFF;
    text-decoration: none;
    font-size: 12pt;
}

.footer__banner {
    position: relative;
    top: -30px;
}

.footer__banner__in {
    background-color: var(--ruzova);
    width: 100%;
    padding: 20px 0 20px 0;
    position: relative;
}

#footer__dp {
    position: absolute;
    bottom: 180px;
    z-index: 0;
}

    .obalka__predni {
        position: absolute;
        z-index: 999;
    }

    .obalka__zadni {
        position: absolute;
        top: -64px;
    }

    .obalka__poukaz {
        position: absolute;
        top: -120px;  
        transition: all 0.2s ease-out;
    }

    .darkovy__poukaz__btn {
        width: 200px;
        position: absolute;
        top: -300px;
        left: 130px;
    }

    .obalka__predni:hover ~ .obalka__poukaz {
        top: -200px;
        -webkit-animation: wobble-hor-bottom 0.8s both;
                animation: wobble-hor-bottom 0.8s both;
    }

    .darkovy__poukaz__btn:hover ~ .obalka__poukaz {
        top: -200px;
        -webkit-animation: wobble-hor-bottom 0.8s both;
                animation: wobble-hor-bottom 0.8s both;
    }

    .obalka__poukaz:hover {
        top: -200px;
        -webkit-animation: wobble-hor-bottom 0.8s both;
                animation: wobble-hor-bottom 0.8s both;
    }

#footer__lektor {
    width: 50%;
    position: relative;
}

#footer__lektor img {
    width: 700px;   
    position: absolute;
    bottom: 0;
    right: 0px;
}

#footer__bio {
    width: 40%;
}

#footer__bio p {
    line-height: 120%;
    max-width: 600px;
}

.logo__footer {
    width: 120px;
    position: absolute;
    bottom: 40px; 
    right: 60px;
}

.btn {
    padding: 20px 60px;
    background-color: var(--ruzova);
    border-radius: 10px;
    border: 0px;
    transition: all 0.2s ease-out;
    width: max-content;
}

.btn:hover {
    background: var(--hover);
    animation: pulse 0.2s linear 1;
}

#map {
    width:1190px;
    height: 500px;
    margin:0 auto; 
    background-color: #000; 
    -webkit-filter: grayscale(100%); 
    filter: grayscale(100%);
}

/* ADMIN */

    .image_resized img {
        width: -webkit-fill-available;
        border-radius: 10px;
    }

    img {
        border-radius: 10px;
    }

    .image_resized {
        width: -webkit-fill-available;
        border-radius: 10px;
    }

    figure.table {
        width: -webkit-fill-available;
    }

    figure.image {
        text-align: center;
        margin: 0 auto;
    }

    .ck-content .table {
        margin: unset;
    }

    .ck.ck-editor__editable_inline {
        border: 0;
        padding: 0;
        overflow: visible;
    }

    .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
        border: 0;
        box-shadow: none;
        outline: #CCC dashed 1px;
        outline-offset: 7px;
        border-radius: 5px;
    }

    .ck.ck-block-toolbar-button {
        color: #EEE;
        color: rgb(0, 181, 60);
    }

    .obr_clip {
        position: absolute;
        top: 48px;
        right: -140px;
        line-height: 8pt;
    }

    .edituj__btn {
        position: absolute;
        top: 0px;
        right: -30px;
        border-radius: 50px;
        height: 30px;
        width: 30px;
        background-image: url('../gfx/svg/edit.svg');
        cursor: pointer;
        z-index: 9;
    } 

    .uloz__btn {
        position: absolute;
        top: 0px;
        right: -30px;
        border-radius: 50px;
        height: 30px;
        width: 30px;
        background-image: url('../gfx/svg/save.svg');
        cursor: pointer;
        z-index: 9;
    } 

    .pridat_obr {
        position: absolute;
        top: 40px;
        right: -30px;
        border-radius: 50px;
        height: 30px;
        width: 30px;
        background-image: url('../gfx/svg/obr.svg');
        cursor: pointer;
        z-index: 9;
    } 

    .hidden {
        display: none;
    }

    #admin-header {
        position: fixed;
        top: 0;
        z-index: 99999999;
        padding: 10px 20px;
        width: calc(100% - 40px);
        height: 20px;
        background-color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .bg-admin {
        position: relative;
        outline: #CCC dashed 1px;
        outline-offset: 7px;
        border-radius: 5px;
        min-width: 300px;
        min-height: 70px;
    }

    .caption-box {
        position: absolute;
        left: 15px;
        top: -18px;
        height: 15px;
        background-color: #CCC;
        border-radius: 5px;
        color: #333;
        padding: 5px 5px 2px 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 8pt;
    }

    #admin-img-dialog {
        position: absolute;
        background-color: #EEE;
        padding: 15px;
        border-radius: 10px;
        border: 0;
    }

    #admin-img-btn {
        position: absolute;
        background-color: #ffca2c;
        color:#FFF;
        bottom: 0;
        right: 0;
        border-radius: 100px;
        border: 0;
        cursor: pointer;
        width: 50px;
        height: 50px;
        font-size: 10pt;
        display: none;
    }

    .admin-disabled {
        pointer-events: none;
    }
    
    #target img {
        width: 150px;
    }

    /* ---- */

    .desktop__only {
        display: block;
    }

    .desktop__only__inline {
        display: inline;
    }

    .desktop__only__flex {
        display: flex;
    }
    
    .mobile__only {
        display: none;
    }

    .admin_lekce {

        width: 90%;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        gap: 20px;

    }

    .input-text-full {

        width: calc(100% - 40px);
        padding: 10px 20px;
        border: 1px solid #CCC;
        border-radius: 10px;
        font-size:11pt;
        margin-bottom: 15px;

    }

    .input-text-lekce {

        width: calc(100% - 98px);
        padding: 10px 20px;
        border: 1px solid #CCC;
        border-radius: 10px;
        font-size:11pt;
        margin-bottom: 15px;

    }

    .odebrat-lekci {

        width: 40px;
        height: 40px;
        margin-left: 10px;
        background-color: var(--ruzova);
        border-radius: 10px;
        border: 0px;
        transition: all 0.2s ease-out;
        color: #FFF;
    }

    fieldset {
        width: 100%;
        padding: 15px 30px 10px 30px;
        border: 1px dashed #ccc;
        border-radius: 10px;
    }

    fieldset.kratky {
        width: 25%;
    }

    .disabled {
        background-color: #666;
    
    }
  