/* 
    Created on : 30. 4. 2021, 14:52:30
    Author     : Jiří Frantál
*/

/* -------------------- Layout of page -------------------- */

@media
(min-width: 1100px) { /* Three columns */
    #body {
        display: grid;
        grid-template-columns: auto auto auto;
        grid-template-rows: auto;
    }
}

@media
(min-width: 590px) and (max-width: 1100px) { /* Two columns */
    #body {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto;
    }
}

@media
(max-width: 590px) { /* One column */
    #body {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
    }
}

/* -------------------- Layout of box -------------------- */

#body .class .floatingcontent {
    padding: 0px;
}

#body .class .content {
    margin: 5px;
    margin-bottom: 0px;
}

#body .class .content {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    justify-items: center;
}

#body .class .content span.teacher,
#body .class .content span.teacher a {
    color: var(--color-major-middle);
    font-size: 12pt;
}

#body .class .content span.teacher {
    text-align: center;
}

#body .class .content > span.teacher.m::before {
    content: "Třídní učitel: ";
}

#body .class .content > span.teacher.z::before {
    content: "Třídní učitelka: ";
}

#body .class .content img {
    margin-top: 5px;
    width: 100%;
}

#body .class a.galery {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0px;
    text-align: center;
    background-color: var(--color-major-middle);
    border: var(--color-minor-light) solid 5px;
    border-radius: 0px 0px 30px 30px;
    text-decoration: none;
}

#body .class a.galery span {
    color: white;
    font-size: 16pt;
}