@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600&display=swap');

:root {
    --hlavni-barva: #1f1c18 /*#3E92CC*/;
    --vedlejsi-barva: #de3e3e;
    --bila: #f7f7f7;
    --tmava: #1f1c18;
    --vedlejsi-barva-hover: #e06464;
}
html{
    scroll-behavior: smooth;
}
*{
    font-family: 'Poppins', sans-serif;
}
a{
    text-decoration: none;
    color: black;
}
body{
    background-color: var(--bila);
    margin: 0;
    padding: 0;
}

#hlavni_obrazek{
    position: relative;
    width: 100%;
    height: 50vh;
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/slider_3c.jpg");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#hlavni_obrazek div{
    position: absolute;
    width: calc(100% - 1em);
    bottom: 0;
    background-color: rgba(247, 247, 247, .1);
    color: white;
    text-align: center;
    font-size: 1em;
    padding: .5em;
}
header{
    background-color: var(--hlavni-barva);
    z-index: 99;
    width: 100%;
    overflow: hidden;
}
.header{
    display: flex;
    justify-content: space-between;
    font-size: 1.1em;
    z-index: 100;
}
.header #logo{
    flex-basis: 15%;
}
.header div img{
    padding: 0 2em;
    height: 4em;
    width: auto;
}
.header nav{
    display: flex;
    flex-basis: 100%;
}
.header nav div{
    display: flex;
    transition: 500ms;
    flex-basis: 100%;
    justify-content: center;
}
.header nav div.nav_smaller{
    flex-basis: 50%;
}
.header nav div.nav_bigger{
    flex-basis: 85%;
}
.header nav div.nav_medium{
    flex-basis: 60%;
}
.header div a{
    padding: 1.5em 2em;
    line-height: 1.4em;
    width: 100%;
    text-align: center;
    color: white !important;
    cursor: pointer;
}
.header div:not(#logo, #uzivatelske_akce, .user_dropdown, .nav_active, .menu):hover{
    background-color: var(--vedlejsi-barva);
}
.header #uzivatelske_akce{
    display: flex;
    flex-basis: 20%;
}
.header #uzivatelske_akce div{
    flex-basis: 50%;
    display: flex;
    transition: 500ms;
    justify-content: center;
}
.header #uzivatelske_akce a:not(.kosik_odkaz){
    padding: 1.5em 2em;
    line-height: 1.4em;
}
.header .user_div{
    flex-basis: 100% !important;
    overflow: hidden;
}
.header .user_div a{
    font-family: inherit;
}
.header .user_div:hover .user_dropdown{
    display: block !important;
}
.header .user_div .user_dropdown{
    display: none !important;
    margin-top: 4.3em;
    position: absolute;
    background-color: var(--tmava);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}
.header .user_div .user_dropdown div{
    float: none;
    color: black;
    padding: .2em 1em;
    text-decoration: none;
    display: block;
    text-align: left;
}
.header .kosik{
    flex-basis: 50%;
    display: flex;
    transition: 500ms;
    justify-content: center;
    color: white;
    padding: 1.5em 2em;
    line-height: 1.4em;
    width: 3em !important;
}
.header nav .only_mobile{
    display: none;
}

.nav_active{
    background-color: #de4d4d;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}
.sticky + main {
     padding-top: 60px;
}
main{
    padding: 3.5em 5em;
}
main h1{
    text-align: center;
}
input, select{
    border: none;
    border-bottom: var(--tmava) .2em solid;
    padding: .5em;
    font-size: 1em;
    background-color: rgba(0,0,0,0);
}
.pointer{
    cursor: pointer;
}
.margin-top{
    margin-top: 1em;
}
.margin-bottom{
    margin-bottom: 1em;
}
.margin-right{
    margin-right: 1em;
}
.margin-left{
    margin-left: 1em;
}
button{
    width: auto;
    padding: .5em 1em;
    background-color: var(--vedlejsi-barva);
    font-size: 1.3em;
    color: white;
    transition: .5s;
    cursor: pointer;
    border: .2em solid var(--vedlejsi-barva);
}
button:hover{
    background-color: rgba(0,0,0,0);
    color: var(--vedlejsi-barva);
}
footer{
    display: flex;
    background-color: var(--tmava);
    color: var(--bila);
    padding: 1em;
    justify-content: space-between;
    align-items: center;
}
footer .footer_autor{
    align-items: center;
}
footer .footer_logo{
    align-items: center;
    text-align: right;
}
footer .footer_logo img{
    width: 7em !important;
}
footer .footer_media{
    margin: 0 auto;
}
footer .footer_media img{
    width: 3em;
    margin-right: 1em;
}
footer .fb_img{
    width: 2.5em !important;
    margin-bottom: .25em !important;
}
.div_logo{
    position: sticky;
    width:49%;
    display: inline-block;
    text-align: center;
}
.div_obsah{
    display: inline-block;
    width: calc(50% - 1em);
    height: auto;
    text-align: left;
    vertical-align: top;
}
.right{
    text-align: right;
}
.center{
    text-align: center;
}
#menu{
    color: white;
    display: none;
    cursor: pointer;
    user-select: none;
}
#menu i{
    font-size: 3em;
}
.tox{
    z-index: 10000 !important;
}
iframe, main{
    max-width: 95vw !important;
}
.div_logo{
    max-width: 99% !important;
}
.nav_medium_devices{
    display: none;
}
.no-wrap{
    white-space: nowrap;
}
/*↓ Tabulka ↓*/
.tabulka {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #b1b1b1;
    font-size: 1em;
    margin-bottom: 1em;
}

.tabulka th, .tabulka td {
    text-align: left;
    padding: .8em;
    width: 25%;
}

.tabulka tr {
    border-bottom: 1px solid #ddd;
    transition: .5s;
}
.tabulka tr.hlavicka {
    background-color: #bcbcbc;
}
.tabulka tr.hlavicka td{
    padding-top: .2em;
    padding-bottom: .2em;
}
.tabulka tr.den {
    background-color: var(--tmava);
    color: white;
}
.tabulka tr.den td{
    text-align: center !important;
    font-size: 1.2em !important;
}

@media only screen and (max-width: 1400px) {  /* malá šířka */
    .nav_responsive_data{
        display: none;
    }
    .nav_medium_devices{
        display: unset;
    }
}
@media only screen and (max-width: 1200px) {  /* malá šířka */
    .header nav div.nav_bigger{
        flex-basis: 60%;
    }
    .nav_medium_bigger{
        flex-basis: 65%;
    }
}
@media only screen and (max-width: 1000px) { /* malá šířka */
    main{
        padding-right: .5em;
        padding-left: .5em;
    }
    .nav_responsive_data{
        display: unset;
    }
    header{
        position: fixed;
        top: 0;
        width: 100%;
    }
    .header{
        display: none;
    }
    #menu{
        display: block;
    }
    #logo{
        display: none;
    }
    .header.responsive {
        position: relative;
        float: none;
        display: flex;
        flex-direction: column;
    }
    .header nav{
        flex-direction: column;
        float: left;
    }
    footer .footer_media img{
        width: 1em;
        margin-right: .3em;
    }
    footer .fb_img{
        width: 0.8em !important;
        margin-bottom: .125em !important;
    }
    img{
        max-width: 95vw;
    }
    .responsive_data{
        display: none;
    }
    .only_mobile{
        text-align: center;
        display: flex !important;
    }
    .div_logo{
        width: 100%;
    }
    .div_obsah{
        width: 100%;
    }
    table tr td{
        font-size: .8em;
    }
    table tr td button{
        font-size: .8em !important;
    }
}