/**
 *  EDGERING 2023
 *
 *  https://edgering.org
 * 
 */

:root {
    --color-blue: rgb(44 40 223);
    --color-blue-text: #00537E;

    --color-red: rgba(150, 0, 0, 1);


    --color-lila-2: #6E28DF;
    --color-lila-dark: rgb(110 40 223);
    --color-lila-light: rgb(186 40 223);

    --color-pink: rgb(223 40 128);

    --color-grey-light: #F0F0F0;

    --color-grey-semimedium: #DADADA;
    --color-grey-medium: rgb(123 123 123);
    --color-grey-darkest: #313131;

    --background-gradient: linear-gradient(0deg, rgba(216, 0, 91, 1) 0%, rgba(0, 83, 126, 1) 100%);
    --background-gradient-90: linear-gradient(-90deg, rgba(216, 0, 91, 1) 0%, rgba(0, 83, 126, 1) 100%);
    --border-gradient: linear-gradient(to left, rgba(216, 0, 91, 1), rgba(0, 83, 126, 1));

    /* --border-grey: 1px solid #DADADA; */
    --border-grey: 1px solid #9C9C9C;
    --border-grey-dark: 1px solid #7B7B7B;

}

* {
    background-repeat: no-repeat;
    box-sizing: border-box;
}

body,
html {
    padding: 0;
    margin: 0;
}


body {
    font-size: 18px;
    font-family: 'Poppins';
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h2 {
    color: var(--color-blue-text);
    font-weight: normal;
    position: relative;
}

h2 span {
    display: block;
}

button:hover {
    outline: 5px solid #eadbe4;
}

button:hover,
label:has(input[type="radio"], input[type="checkbox"]) {
    cursor: pointer;
}

p.off,
div.off,
fieldset.off {
    display: none;
}

.center {
    text-align: center;
}

/** **/

.ns__layout,
.width {
    margin: 0 auto;
    max-width: 1440px;
}


.loading {
    background-image: url(ico/loading.svg);
}


#themeTopContent {
    color: #fff;
    text-shadow: 2px 2px 17px rgb(0 0 0 / 48%);
    padding: 4em 0 2em 0;
}

#themeTopContent a {
    display: block;
}

#themeTopContent h1 {
    font-weight: normal;
    font-size: 1.4em;
    margin: 2em 0;
}

#themeTopContent h1 span {
    display: block;
    font-weight: bold;
    font-size: 1.3em;
}

#themeTopContent.ns__kurz {
    padding-top: 10em;
}


#themeTopContent.ns__kurz h1 {
    display: none;
}

#themeTopContent.ns__kurz img.imgLabel {
    height: auto;
    width: 30%;
    display: block;
}

#themeTopContent.ns__kurz img.imgVerze {
    width: 28%;
}

/** **/

#header a {
    display: block;
}

#themeTop {
    position: relative;

    min-height: 45vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    background-image: url(img/mozek_uvod-1600.webp);
}

#themeTop2 {
    height: 3em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom -4em center;
    background-image: url(img/mozek_uvod-1600.webp);
}

/**
 *  HEADER IMAGE NAVI
 *  
 */

#mnuLogo {
    left: 5%;
    height: 7em;
}

#mnuLogo img {
    height: 100%;
    width: auto;
}

#mnuLogo,
#mnuSoc,
#mnuTop {
    position: absolute;
}

#mnuSoc,
#mnuTop {
    right: 5%;
}

#mnuLogo,
#mnuTop {
    top: 2em;
}

#mnuSoc {
    bottom: 2em;
}

.menu-grid {
    display: flex;
    text-align: center;
    gap: 2em;
    margin: 0;
    padding: 0;
}

#mnuSoc .menu-grid
{
    gap: 4px;
}

#mnuBot li {
    position: relative;
    padding-top: 2em;
    color: var(--color-grey-medium);
    list-style: none;
}

#mnuTop a:hover,
#mnuBot a:hover {
    text-decoration: underline;
}

#mnuBot li:before {
    content: "";
    position: absolute;
    height: 1.6em;
    border-radius: 1em;
    top: -0.8em;
    left: 20%;
    right: 20%;
}

li#mnu4:before {
    background-color: var(--color-blue);
}

li#mnu5:before {
    background-color: var(--color-lila-dark);
}

li#mnu6:before {
    background-color: var(--color-lila-light);
}

li#mnu7:before {
    background-color: var(--color-pink);
}

.ns__intro #mnuBot {
    margin-bottom: 3em;
}

#mnuBot li span {
    display: none;
}

.ns__intro #mnuBot li span {
    display: block;
}


/** **/

#mnuTop a {
    background-size: auto 2.4em;
    background-position: center top;
    padding-top: 3em;
}

.theme-dark #mnuTop a {
    color: #fff;
}

a#mnu0 {
    background-image: url(ico/icon-kalendar-w.svg);
}

a#mnu1 {
    background-image: url(ico/icon-kontakt-w.svg);
}

a#mnu2 {
    background-image: url(ico/icon-o-nas-w.svg);
}

a#mnu3 {
    background-image: url(ico/icon-kurzy-w.svg);
    background-position: center top 0.3em;
}

/** **/

.menu-grid#mnuSoc {
    grid-template-columns: 1fr 1fr 1fr;
    gap: .6em;
}

#mnuSoc a {
    width: 2em;
    height: 2em;
    color: transparent;
    background-size: 100%;
    background-position: center;
}

a#socF {
    background-image: url(ico/icon-FB-w.svg);
}

a#socI {
    background-image: url(ico/icon-IG-w.svg);
}

a#socL {
    background-image: url(ico/icon-IN-w.svg);
}

/**
 *  BUTTON
 */

.btn__objkurz:last-child {
    font-size: 1.2em;
    padding-bottom: 2em;
}

.btn__objkurz p {
    text-align: center;
    margin: 2.2em 0;
}

.btn__objkurz a {
    display: inline-block;
}


.btn-color {
    font-size: 1.2em;
    padding: 1em 5em 1em 1em;
    background: var(--background-gradient-90);
    border-radius: .4em;
    background-color: transparent;
    color: #fff;
    border: none;
    position: relative;
}

.btn-color:after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    width: 3em;
    background-repeat: no-repeat;
    background-image: url(ico/mozek-w.svg);
    background-size: auto 50%;
    background-position: right 1em center;
}

.btn-color:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0.5;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.btn-color:hover:before {
    opacity: 1;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.btn__objkurz {
    padding: 2em;
}

/**
 *  FOOOT
 */

footer {
    background-color: #313131;
    color: #fff;
    text-align: center;
}

footer ul {
    margin-left: 0;
    padding-left: 0;
}

footer li {
    list-style: none;
}

footer h2 {
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
}

footer img {
    width: 55%;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer h2:before {
    width: 0;
}

#foot-1 {
    display: grid;
    grid-template-columns: 1fr 2fr;

    padding-top: 2em;
    padding-bottom: 2em;

}

#foot-2 {
    background-color: rgb(0 0 0 / 20%);
    padding: 0 0 1em 0;
}

#foot-1-in {
    display: flex;
    gap: 2em;
}

#foot-2 p {
    text-align: center;
    color: rgb(255 255 255 / .6);
    padding: .2em;
    font-size: .9em;
    margin: 0;
}

#foot-1-soc a {
    display: inline-block;
    padding: .2em .4em;
}

#foot-2 p#foot-oop
{
    background-color: rgb(0 0 0 / 20%);
    margin: 0 0 1em 0;
    padding: 1.2em 0;
}

#foot-2 p#foot-oop a
{
    display: inline-block;
    background-color: var(--color-pink);
    color: #fff;
    border-radius: 1em;
    padding: .4em 2em;
    margin: 0 .4em;
    text-decoration: none;
    font-size: .9em;
    font-weight: bold;
}

#foot-2 p#foot-oop a:hover
{
    background-color: var(--color-lila-dark);
    color: #fff;
}

h1.title_block
{
    color: var(--color-blue-text);
    text-align: center;
    font-size: 2.6em;
    font-weight: normal;
    padding-left: 15%;
    padding-right: 15%;
}

/**
 *  404
 */

#lbl404 {
    font-size: 2.6em;
    text-align: center;
    padding: 1em;
}

/* ===================================== 
    MEDIA QUERIES 
   ===================================== */

@media all and (min-width: 1680px) {
    #themeTop,
    #themeTop2
    {
        background-image: url(img/mozek_uvod-1920.webp);
    }

}    

@media all and (min-width: 1920px) {
    
    #themeTop,
    #themeTop2
    {
        background-image: url(img/mozek_uvod-4k.webp);        
    }
        
    #themeTopIn
    {
        position: relative;
        max-width: 70%;
        margin: 0 auto;
    }
    
    #themeTop
    {
        min-height: 50vh;
        background-position: center bottom 25%;
    }
    
    .ns__intro #themeTop
    {
        background-position: center;
    }
    
    #themeTopContent.width
    {
        max-width: 100%;
    }
    
    #mnuLogo
    {
        left: 0;
    }
    
    #mnuSoc, #mnuTop
    {
        right: 0;
    }        
}    

@media all and (min-width: 2500px) {
    #themeTop
    {
        min-height: 60vh;
    }
}

@media all and (max-width: 1680px) {

    .ns__layout,
    .width {
        margin: 0 7%;
    }

}

@media all and (max-width: 1440px) {

    body {
        font-size: 16px;
    }

    #themeTop {
        background-position: left;
        min-height: 40vh;
    }

    #themeTop,
    #themeTop2
    {
        background-image: url(img/mozek_uvod-1440.webp);
    }
}

@media all and (max-width: 1280px) {

    #mnuLogo {
        height: 6em;
    }

    #themeTop {
        min-height: 35vh;
    }
}



@media all and (max-width: 1024px) {

    body {
        font-size: 15px;
    }

    #mnuLogo {
        height: 5em;
    }

    #themeTopContent.ns__kurz {
        padding-top: 8em;
    }

    #themeTop {
        min-height: 20em;
    }

    main .ns__layout,
    main .width {
        margin: 0 5%;
    }

    #mnuTop .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #mnuBot .menu-grid {
        gap: 1em;
    }
}

@media all and (max-width: 980px) {

    #mnuSoc, #mnuTop {
        right: 3%;
    }

    #mnuLogo {
        left: 3%;
    }

    #themeTop {
        background-position: center;
    }

    #themeTop,
    #themeTop2
    {
        background-image: url(img/mozek_uvod-980.webp);
    }


    #foot-1 {
        display: block;
    }

    footer img {
        width: 30%;
    }

    /** **/

    .lyt-row
    {
        padding: 0 0 1em 0;
    }

    .thm__bra1, 
    .thm__sta1, 
    .thm__sta2, 
    .thm__kru1, 
    .thm__hla1
    {
        padding-top: 9em;
    }

    .elem-col-right h2,
    .elem-col-left h2
    {
        text-align: center;
    }

    .elem-col-left h2 {
        padding-left: 0;
        padding-right: 0;    
    }

    .elem-col-mid
    {
        margin: 2em 0;
    }
    
    .thm__ref1 .elem-col-mid
    {
        margin: .6em 0;
    }
    
    .thm__ref1 .elem-col strong:after
    {
        left: 42%;            
    }

    .thm__li_cs ul, .thm__li_b2 ul, .thm__li_b3 ul, .thm__li_b ul, .thm__li_c ul, .thm__li_f ul, .thm__li_m ul
    {
        margin-bottom: 0;
    }

    .thm__borg .layout-1
    {
        max-width: 80%;
    }

    #nsCena,
    #nsTerminy
    {
        text-align: center;
    }

    .btn__objkurz a
    {
        min-width: 50%;
    }

    /** **/

    .thm__lek1 h3
    {
        text-align: center;
    }

    .thm__lek1 .elem-col-left
    {
        text-align: center;
    }
}

@media all and (max-width: 768px) {


    .elem-col-left h2
    {
        font-size: 1.8em;        
    }


    #mnuTop .menu-grid
    {
        display: block;
    }
    
    .menu-grid a
    {
        margin-bottom: .8em;
    }
    
    #mnuTop,
    #mnuSoc
    {
        right: 2.2em;
    }        
}

@media all and (max-width: 425px) {

    .ns__intro #themeTopContent
    {
        text-align: center;
        padding-top: 5em;
        padding-bottom: 1em;
    }
 
    .ns__intro #themeTop
    {
        background-position: right; 
    }
    
     /** **/

    #themeTopContent.ns__kurz img.imgLabel
    {
        width: 60%;
    }
    
    #themeTopContent.ns__kurz img.imgVerze
    {
        width: 50%;
    }    

     /****/

    h1 {
        padding-left: 5%;
        padding-right: 5%;
    }

    footer img {
        width: 80%;
    }

    #foot-1-in {
        display: block;
    }

    #foot-2 {
        padding: 1em;
    }

    .elem-col-left h2
    {
        padding-bottom: 1em;
    }
    
    .elem-col-left h2:before
    {
        bottom: 0;
        left: 5%;
        right: 5%;
        top: auto;
        height: 1px;
        width: 90%;
        
    }

    /** **/

    .thm__bra1, .thm__sta1, .thm__sta2, .thm__kru1, .thm__hla1
    {
        padding-top: 7em;
        background-size: auto 5em;
    }
    
    #mnuSoc
    {
        bottom: .4em;
    }
    
}

@media all and (max-width: 375px) {
    body {
        font-size: 14px;
    }
}