html {
    scroll-behavior: smooth;
}

body {
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
}

/*
============ Typo =============
*/

p, h1, h2, h3 {
    margin-top: 0;
}

strong {
    font-weight: 400;
}

h1, h2, h3 {
    text-transform: uppercase;
    color: #2266bb;
    border: #2266bb;
    border-width: 0 0 2px;
    border-style: solid;
}

h1:target, h2:target, h3:target {
    color: #ae22bb;
    border: #ae66bb;
    text-transform: uppercase;
    border-width: 0 0 2px;
    border-style: solid;
}

h3 {
    margin-bottom: 0.2rem;
}

p {
    line-height: 2.3rem;
    letter-spacing: 0.08rem;
    font-weight: 300;
}

.navigation {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: space-evenly;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 600;
}

.social {
    list-style-type: none;
    padding: 0;
    margin-left: auto;
    display: flex;
}

.timestamp {
    font-size: .9rem;
    color: #a0a0a0;
    text-align: right;
    line-height: 0;
}

a {
    text-decoration: none;
    color: #606060;
    font-weight: 400;
}
a:visited {
    color: #606060;
}
a:hover {
    cursor: pointer;
    color:#2266bb;
}

.navitem {
    font-weight: 600;
    color: black;
}

.content-mobile {
    display: none;
}

li {
    line-height: 2.2rem;
    letter-spacing: 0.08rem;
}

.current-page {
    text-decoration: underline;
}

.button-blue {
    display: block;
    border: #606060 2px solid;
    border-radius: 10px;
    background-color: #2266bba0;
    margin: 0 1rem 1rem;
    text-align: center;
    line-height: 2.5rem;
    letter-spacing: 2px;
    color: black;
    text-transform: uppercase;
    font-weight: 600;

}
.button-blue:visited {
    color: black;
}
.button-blue:hover {
    color: #26b;
    background-color: #fff;
}

/*
============ Table ===========
*/

table,th,td {
    border: solid 1px #606060;
}
td {
    padding: 0.2rem 0.4rem;
    vertical-align: top;
}

td p:last-child {
    margin-bottom: 0;
}

/*
=========== Layout =============
*/

body {
    max-width: 1200px;
    width: 95%;
    padding: 0.5rem;
    margin: auto;
    background: #26b url(images/tobelicenced.jpg);
}

.content-holder {
    padding: 0.5rem 1rem;
    border: #a0a0a0 solid 1px;
    border-radius: 15px;
    background-color: #fff;
    margin-bottom: 1rem;
}

.content-holder-main {
    display: flex;
}

main {
    width: 100%;
}

footer {
    margin-top: 3rem;
    display: flex;
}

@media (min-width: 800px) {

    .footer {
        margin: 0 1rem;
    }
    .footer:first-child {
        margin-left: 0;
    }
    .footer:last-child {
        margin-right: 0;
    }
    .footer:only-child {
        width: 100%;
        margin: 0;
    }

    .quarter {
        width: 30%;
    }

    .half {
        width: 65%;
    }

    aside {
        padding-left: 2rem;
        min-width: 30%;
        width: 30%;
    }

    .end-fit-parent {
        position: relative;
    }
    .end-fit-child {
        position: absolute;
        bottom: 0;
    }

}
/*
=========== elements ============
*/


.img-fit {
    max-width: 100%;
}

section .img-fit {
    border-radius: 15px;
    margin: 1rem 0;
}


.image-holder {
    display: flex;
    justify-content: space-between;
    height: 400px;
}
.image-holder .img-fit {
    max-height: 100%;
    display: inline-block;
}

.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.news {
    border-bottom: solid #a0a0a0 1px;
    margin-bottom: 1.5rem;
}
.news:last-child {
    border-style: none;
}

ul {
    margin: 0.2rem 0;
}

#notzajickova {
    width: 100%;
    
}

.pdf {
    background-image: url("images/pdf.gif");
    background-position: center left;
    background-repeat: no-repeat;
    padding-left: 22px;
}




/*
============= mobile ==================
*/

@media (max-width: 790px) {
    .social {
        width: 100%;
        justify-content: space-evenly;
    }

    .banner {
        flex-wrap: wrap-reverse;
    }
    .logo {
        align-self: right;
        margin: 0 auto;
    }
}

@media (max-width: 799px) {
    .content-holder-main {
        flex-direction: column;
    }
    aside {
        padding: 0;

    }

    .navigation {
        flex-direction: column;
        align-items: center;
    }

    .banner {
        justify-items: right;
    }

    footer {
        flex-direction: column;
    }

    .quarter {
        width: 100%;
    }
    
    .half {
        width: 100%;
    }

    .image-holder {
        flex-direction: column;
        height: auto;
    }
    .image-holder img {
        max-width: 100%;
        display: inline-block;
    }




    .content-mobile {
        display: inline;
    }
    .content-desktop {
        display: none;
    }
}