body,html {
    width:100%;
    height:100%;
}
/*
Basics
*/
#qrimg {
    height: auto;
    width: 5px;
}
* {
    box-sizing: border-box;
}
html {
    margin: 0 auto;
    font-family: "Lucida Sans";
    background-position: center top;
    overflow: hidden;
    animation-name: bgphoto;
    animation-duration: 60s;
    animation-iteration-count: infinite;
}
.btn-container {
    position: fixed;
    bottom:0px;
    width:100%;
    left:0px;
    display:flex;
    justify-content: space-between;
}
#ftimer {
    right:0;
    left:0;
    position:absolute;
    top:10px;
    padding:5px;
    padding-top:-15px;
    border:0;
    padding-left: 30px;
    padding-right: 30px;
    z-index:0;
}
body::after{
    position:absolute; 
    width:0; 
    height:0; 
    overflow:hidden; 
    z-index:-1;
    content:url(media/bg.png) 
            url(media/bg2.jpg) 
            url(media/bg3.jpg) 
            url(media/bg4.png)
            url(media/bg5.png)
            url(media/bg6.png)
            url(media/bg9.png)
}
@keyframes bgphoto{
    0%{
        background-image: url(media/bg.png);
    }
    14%{
        background-image: url(media/bg2.jpg);
    }
    28%{
        background-image: url(media/bg3.jpg);
    }
    42%{
        background-image: url(media/bg4.png);
    }
    56%{
        background-image: url(media/bg5.png);
    }
    70%{
        background-image: url(media/bg6.png);
    }
    84%{
        background-image: url(media/bg9.png);
    }
    100%{
        background-image: url(media/bg.png);
    }
}
div {
    text-align: center;
}
.weatherwidget-io {
    width: 125px;
    pointer-events: none;
    position: absolute;
    float: right;
}
.iframebase {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 48.5%;
    margin-top: 1px;
    z-index: 1;
}
.iframeweb {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    padding:8px;
    right: 0;           /* Zmeniť podľa displeja */
    width: 100%;
    height: 90%;
    border: none;
    z-index: 1;
}
/*
Modálne
*/
.modal {
    display: none;
    position: fixed;
    z-index: 3;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    border-radius: 16px;
}
.modal-content-jpg-l-1 {
    background-color: #fefefe;
    position: absolute;
    margin: 0;
    margin-left: 90px;
    margin-top: 70px;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 10px;
    border: 1px solid #888;
    width: 75px;
    height: 130px;
    border-radius: 16px;
}
.modal-content-jpg-l-2 {
    background-color: #fefefe;
    position: absolute;
    margin: 0;
    margin-left: 90px;
    margin-top: 270px;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 10px;
    border: 1px solid #888;
    width: 75px;
    height: 130px;
    border-radius: 16px;
}
.modal-content-jpg-l-3 {
    background-color: #fefefe;
    position: absolute;
    margin: 0;
    margin-left: 90px;
    margin-top: 470px;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 10px;
    border: 1px solid #888;
    width: 75px;
    height: 130px;
    border-radius: 16px;
}

.modal-content-jpg-r-1 {
    background-color: #fefefe;
    position: absolute;
    margin: 0;
    margin-right: 90px;
    margin-top: 70px;
    right: 0;
    top: 0;
    z-index: 2;
    padding: 10px;
    border: 1px solid #888;
    width: 75px;
    height: 130px;
    border-radius: 16px;
}
.modal-content-jpg-r-2 {
    background-color: #fefefe;
    position: absolute;
    margin: 0;
    margin-right: 90px;
    margin-top: 270px;
    right: 0;
    top: 0;
    z-index: 2;
    padding: 10px;
    border: 1px solid #888;
    width: 75px;
    height: 130px;
    border-radius: 16px;
}
.modal-content-jpg-r-3 {
    background-color: #fefefe;
    position: absolute;
    margin: 0;
    margin-right: 90px;
    margin-top: 470px;
    right: 0;
    top: 0;
    z-index: 2;
    padding: 10px;
    border: 1px solid #888;
    width: 75px;
    height: 130px;
    border-radius: 16px;
}

#modaljedlopdf {
    height: 500px;
    width: 100%;
}

/*
Oznamy
*/
.ann-flex {
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    position: static;
    -ms-user-select: none;
    user-select: none;
    margin-top: 30px;
}
.ann-item {
    width: 17em;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    display: inline-block;
    padding-right: 5px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.ann-item-advent {
    width: 10em;
    height:10em;
    text-align: center;
    display:flex;
    justify-content: center;
    align-content: center;
    padding:0;
    background-color: red;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.ann-item > h2 {
    text-align: center;
    font-size: larger;
    font-weight: normal; 
}
.ann-item > h5 {
    text-align: center;
    font-weight: normal; 
}
#ann1pdf,#ann2pdf,#ann3pdf {
    height: 600px;
    width: 100%;
}
.sann-item {
    width: 8em;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    display: inline-block;
    padding-right: 5px;
}
.sann-item > h2 {
    text-align: center;
    font-size: larger;
    font-weight: normal; 
}
.sann-item > h5 {
    text-align: center;
    font-weight: normal; 
}

.redi-buttons-left {
    margin: 10px;
    user-select: none;
    width: 200px;
    float: left;
    position: static;
    margin-top: 10px;
    margin-left: 20px;
}
.redi-button {
    float: left;
    width: 145px;
    height: 75px;
    background-color: #04AA6D;
    border: 6px solid whitesmoke;
    border-radius: 35px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 15px;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}
.redi-buttons-left > button {
    float: left;
    width: 145px;
    height: 75px;
    background-color: #04AA6D;
    border: 6px solid whitesmoke;
    border-radius: 35px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 15px;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}
.redi-buttons-right {
    margin: 10px;
    user-select: none;
    width: 200px;
    float: right;
    position: static;
    margin-top: 10px;
    margin-right: 20px;
}
.redi-buttons-right > button {
    float: right;
    width: 145px;
    height: 75px;
    background-color: #04AA6D;
    border: 6px solid whitesmoke;
    border-radius: 35px;
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 15px;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}
.redi-buttons-right > div > div > div > button {
    margin: 5px;
    width: 145px;
    height: 75px;
    background-color: #04AA6D;
    border: 6px solid whitesmoke;
    border-radius: 35px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;   
}
/*
Navbar
*/
.navbar {
    overflow: hidden;
    background-color: #333;
    border-radius: 25px;
    border: #f5f5f5 solid 6px;
    margin: auto;
    margin-top: 10px;
    width: fit-content;
    z-index: 2;
    bottom:0px;
}
.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 15px 16px;
    text-decoration: none;
    font-size: 17px;
}
.active {
    background-color: #04AA6D;
    color: white;
}
.navbar .icon {
    display: none;
}
.dropdown {
    float: left;
    overflow: hidden;
}
.dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 15px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 4;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    bottom:90%;
}
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: inherit;
}
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: white;

}
.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
    border-radius:0;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
.dropdown:hover .dropdown-content {
    display: block;
}
@media screen and (max-width: 600px) {
    .navbar a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .navbar a.icon {
        float: right;
        display: block;
    }
}
@media screen and (max-width: 600px) {
    .navbar.responsive {position: relative;}
    .navbar.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .navbar.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .navbar.responsive .dropdown {float: none;}
    .navbar.responsive .dropdown-content {position: relative;}
    .navbar.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}



img {
    padding-top: 10px;
    pointer-events:none;
}
.imggav {
    padding: 0;
    margin-top: 130px;
    margin-bottom: 0;
    transform: translateY(-5%);
    animation: floater 6.5s infinite;
    transition: ease 1.5s;
    pointer-events:none;
    user-select: none;
}
@keyframes floater {
    0%{transform: translateY(-5%);transition: ease 1.5s;}
    50%{transform: translateY(5%);transition: ease 1.5s;}
}


/* Info Icon */
#info-icon {
    position: fixed;
    bottom: 30px;
    right: 10px;
    background-color: #04AA6D;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 0;
}

/* Modal Styling */
#infoModal .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 12px;
}

#infoModal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#infoModal .close:hover,
#infoModal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
