*   {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    padding-bottom: 76px;
}
header, footer{
    background: linear-gradient(
        90deg,
        rgb(165, 229, 255)0%,
        rgb(158, 255, 255)100%
    );
    min-height: 25px;
}
footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    max-height: 76px;
}
section{
    min-height: 100px;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    background-color: rgba(255, 255, 255, 0);
}
/*nav {
    background: linear-gradient(180deg, 
        rgb(223, 246, 255) 0%, 
        rgb(131, 226, 255) 100%);
    min-height: 10px;
    width: 25%;
    float: left;
}*/
nav{ 
    background-color: rgb(220, 255, 255); 
    min-height: 10px; 
    width: 25%; 
    float: inline-start; 
}
article{
    background-color: rgb(240, 252, 255);
    min-height: 30px;
    width: 75%;
    float: right;
}
@media only screen and (max-width: 950px) {
    article, nav{
        float: none;
        width: 100%;
    }
    article div.seznam{
        float: none;
        width: 100%;
        min-height: 750px;
    }
    article div.inarticleRozvrhHolder{
        min-height: 650px;
    }
}
@media screen and (min-width: 951px){
    article{
        float: right;
        width: 75%;
    }
    nav{
        float: inline-start;
        width: 25%;
    }  
}
/*-----------------------------------------------------------------------------------------------*/
div.inheader{
    padding: 15px;
    margin: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
h1.title{
    color:rgb(17, 25, 49);
    font-family: "Stack Sans Text", sans-serif;
    font-size: 2em;
}
div.inarticle{
    padding: 15px;
}
div.inarticleRozvrhHolder{
    padding: 25px;
    height: fit-content;
}
p.main{
    font-family: "Roboto Slab", serif;
    font-size: 1em;
}
nav.menu{
    padding: 10px;
}
/*----------------------------------------------------------*/
a.menu{
    color:rgb(10, 60, 75);
    text-decoration: none;
    font-size: 1em;
}
a.menu:visited{
    color:rgb(10, 60, 75);
    text-decoration: none;
}
a.menu:hover{
    color:rgb(10, 75, 150);
    text-decoration: underline;
    transition:color ease-in-out 0.3s;
}
/*----------------------------------------------------------*/
div.bottomcorner{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 5px;
    padding-right: 15px;
}
div.bottomcorner p{
    font: "Roboto Slab", serif;
}
ul.seznam{
    list-style: none;
    font-family: "Roboto slab", serif;
    text-align: center;
}
ul.seznam a{
    color: #000;
}
ul.seznam a:visited{
    color: #000;
}
ul.menu{
    list-style: none;
}
ul.menu li{
    border-left: 2px solid #0d92ff;
    padding-left: 5px;
}
@media only screen and (max-width: 950px){
    iframe.iframeRozvrh{
        width: 100%;
    }
}
@media only screen and (min-width: 951px){
    iframe.iframeRozvrh{
        width: 65%;
    }
}
div.seznam{
    float: left;
    width: 75%;
    padding: 6px;
}
ul.seznam li{
background-color: rgb(240, 252, 255);
}
ul.seznam li:hover{
    background-color: #fff;
}
    

.rozvrhNadpis{
    text-align: center;
    color: #000000;
    margin: auto;
}
table{
    max-width: 40%;
    color: #000000;
    border: 2px #000000 solid;
    border-collapse: collapse;
    margin: auto;
}
tr, th, td{
    border: 2px solid #000000;
    border-collapse: collapse;
    padding: 6px;
}
abbr{
    text-decoration: none;
}
.galerieMenu{
    padding: none;
    margin: none;
    box-sizing: border-box;
    width: 100%;
}
.galerieUl li {
    display: inline-block;
    background-color: azure;
}
.galerieUl {
    display: flex;
    list-style: none; /* removes bullets */
    padding: 0;
    margin: 0;
}
a.galerieMenu{
    color:rgb(10, 60, 75);
    text-decoration: none;
    margin-left: 1em;
}
a.galerieMenu:visited{
    color:rgb(10, 60, 75);
    text-decoration: none;
}
a.galerieMenu:hover{
    color:rgb(10, 75, 150);
    text-decoration: underline;
    transition:color ease-in-out 0.3s;
}
figure{
    width: 98%;
    min-height: 20px;
    background-color: #c2ebe9;
    border: 1px solid #000;
    border-radius: 2px;
    margin: 0.5%;
    max-width: 24,5%;
}
figcaption{
    padding: 3px;
    text-align: center;
    background-color: #fff;
}
.galerieImg {
    max-width: 100%;
    max-height: 100%;
}
a.aFigure{
    color: #000;
}
a.aFigure:visited{
    color: #000;
}
@media screen and (min-width: 1500px){
    section{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}
@media screen and (min-width: 1099px) and (max-width: 1499px){
    section{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media screen and (min-width: 899px) and (max-width: 1100px){
    section{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (min-width: 599px) and (max-width: 900px){
    section{
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 600px){
    section{
        grid-template-columns: 1fr;
    }
}
div.imageHandler{
    position: fixed;
    border: 3px red solid;
    margin-left: 25vw;
    margin-right: 25vw;
    margin-top: 2%;
    width: 50vw;
    height: auto;
    display: none;
}
.handledImg{
    max-width: 50vw;
}
@media screen and (max-width: 900px) {
    div.imageHandler {
    position: fixed;
    z-index: 20;
    top: 0;
    margin-left: 0vw;
    margin-right: 0vw;
    margin-top: 3%;
    width: 100vw;
    height: auto;
    display: none;
  }
  .handledImg {
    max-width: 100vw;
  }
}
@media screen and (min-width: 901px) and (max-width: 1000px) {
  div.imageHandler {
    position: fixed;
    z-index: 20;
    top: 0;
    border: 3px red solid;
    margin-left: 15vw;
    margin-right: 15vw;
    margin-top: 3%;
    width: 70vw;
    height: auto;
    display: none;
  }
  .handledImg {
    max-width: 70vw;
  }
}
@media screen and (min-width: 1001px) and (max-width: 1150px) {
  div.imageHandler {
    position: fixed;
    z-index: 20;
    top: 0;
    border: 3px red solid;
    margin-left: 18vw;
    margin-right: 18vw;
    margin-top: 3%;
    width: 64vw;
    height: auto;
    display: none;
  }
  .handledImg {
    max-width: 64vw;
  }
}
@media screen and (min-width: 1151px) {
  div.imageHandler {
    position: fixed;
    z-index: 20;
    top: 0;
    border: 3px red solid;
    margin-left: 22vw;
    margin-right: 22vw;
    margin-top: 2%;
    width: 56vw;
    height: auto;
    display: none;
  }
  .handledImg {
    max-width: 56vw;
  }
}

div.background {
  background-color: #00000069;
  position: fixed;
  top: 0;
  z-index: 15;
  width: 100vw;
  height: 100vh;
  display: none;
}
.iframeHolder{
  display: grid;
  grid-template-columns: auto auto;
}
.iframeHolder video{
    margin-bottom: 1em;
    margin-left: 5em;
    transition: transform 0.2s;
}
article.asd{
    background-color: rgb(240, 252, 255);
    min-height: 30px;
    width: 100%;
    float: inline-start;
}
div.inarticleasd{
    padding: 15px;
    margin-left: 12.5%;
    width: 50%;
}
.iframeHolder video:hover{
    transform: rotate3d(1, 2, 1, 45deg);
}
.dongle-regular {
    font-family: "Dongle", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.stahovac{
    color:#1d1d1d;
    display: none;
    text-decoration: none;
    font-size: 120%;
    position: fixed;
    bottom: 5%;
    right: 8%;
    border: 2px solid #5555556c;
    border-radius: 7px;
    background-color: #29292959;
    padding: 2px;
    padding-top: 1px;
    transition: border-color, background-color 0.4s;
}
.stahovac:hover{
    color: #334745;
    border-color: rgba(0, 255, 255, 0.473);
    background-color: #c2ebe9a6;
}