@media (prefers-color-scheme: dark) {
    html[data-theme='dark'] body {
        background-color: #212E45;
        color: #d3d5da;
    }
    html[data-theme='dark'] img{
        opacity: .75;
        -webkit-transition: opacity .5s ease-in-out;
           -moz-transition: opacity .5s ease-in-out;
                transition: opacity .5s ease-in-out;
    }
    html[data-theme='dark'] img:hover{
        opacity: 1;
    }
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Light.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
}
  
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
}

.small-gutters {
  margin-right: -5px;
  margin-left: -5px;
}

.small-gutters > .col,
.small-gutters > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}

body::-webkit-scrollbar {
    width: .85rem;
}
   
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.53);
}

body::-webkit-scrollbar-thumb {
    background-color: #004791;
    outline: #003a79;
}

body#docbody{
    opacity: 1;
    background-color: #FFF;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body#docbody{
    position: relative;
} 

html,
body{
    width: 100%;
    overflow-x: hidden;
}

header{
    padding: 10px 0px 31px 0px;
}
header{
    position: fixed;left: 0;top: 0px;width: 100%;z-index: 1; background-color: #FFF;
    border-bottom: 1px solid #d8cdc8;
}

@media(min-width:992px){
    header{
        padding: 22px 40px 40px 40px;
    }
    body::before{
        content: "";
        position: static;
        display: block;
        height: 107.14px;
    }
}
@media(max-width:991px){
    body::before{
        content: "";
        position: static;
        display: block;
        height: 86px;
    }    
}
#Logo{
    position: relative;
}

#Logo img{
    width: 250px;
    outline: none !important;
    display: block;
    margin: 0 auto;
    padding: 0 15px 0 10px;
    position: relative;
    z-index: 2;
    background: #FFF;    
}
#Logo div{
    position: absolute;
    z-index: 0;
    height: 8px;
    background-color: transparent;
    width: 100%;
    border-top: 3px solid #4c8eca;
    border-bottom: 3px solid #004791;
    top: 0;
    margin-top: 31px;
}

.slajfna{
    height: 8px;
    background-color: transparent;
    width: 100%;
    border-top: 3px solid #4c8eca;
    border-bottom: 3px solid #004791;
}

#slider,
#brief-infos,
#legal-infos,
#contactform,
#aktuelnosti{
    margin-bottom: 45px;
}
@media(max-width:767px){
    /*#slider{
        margin-bottom: 0px;
    }    */
}
#slider{
    margin-bottom: 0px;
}
.slider__slide{
    position: relative;
}
.slider__slide p{
    position: absolute;
    font-weight: 800;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.2;
    bottom: 0px;
    text-align: center;
    width: 100%;    
}
@media(max-width:991px){
    .slider__slide p{
        text-shadow: 3px 3px 3px rgba(0, 0, 0, 1);
        text-align: left;
        padding-left: 20px;
    }
}
@media(min-width:768px){
    .slider__slide p{
        top: 50%;
        margin-top: -2.9rem;        
        font-size: 2.9rem;
        bottom: initial;
        text-align: left;
        width: auto;
    }
}
@media(min-width:992px){
    .slider__slide p{
        left: 150px;
    }
}
.slider__slide img{
    
}
#brief-infos__welcome p{
    color: #4c8eca;
    font-weight: 700;
    
}
.page-home #brief-infos__welcome p:last-of-type{
    margin-bottom: 41px;
}
@media(min-width:768px){
    #brief-infos__welcome p{
        margin-top:2rem;
        font-size: 1.7rem;
    }
}
#brief-infos__welcome .hero-p{
    font-size: 4rem;
    color: #004791;
    font-weight: 800;
}
@media(max-width:767px){
    #brief-infos__welcome .hero-p{
        margin-bottom: 0;
        font-size: 3rem;
        margin-top: 1rem;
    }
    #brief-infos__welcome p:last-child{
        margin-top: 1.7rem;
        margin-bottom: 1.7rem;
    }
}
.thumbnail{
    border: 1px solid #004791;
    border-radius: 30px;
    -webkit-box-shadow: 0 0 20px #898989;
    box-shadow: 0 0 20px #898989;
    overflow: hidden;
    padding: 15px;
}
@media (min-width:768px) {
    .thumbnail{
        padding: 50px 70px;
        display: inline-block;
        width: 335px;
        transition: all 300ms ease;
        cursor: pointer;
    }
    .thumbnail:hover{
        transform: scale(1.025,1.025);
    }
}
.thumbnail>a,
.thumbnail>a:hover
{
    text-decoration: none;
}
.thumbnail>a>div{
    margin-top: 1rem;
    background-color: #004791;
    color: #FFF;
    font-weight: 700;
    text-align: center;
    padding: 10px 0px;
}
.thumbnail>a>div p{
    margin-bottom: 0;
}
.thumbnail:first-child{
    margin-right: 7.5px;
}

@media(max-width: 768px){
    .thumbnail img{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    .thumbnail>a>div{
        /*border-radius: 5px;*/
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}
@media(min-width:992px) and (max-width:1199px){
    .thumbnail{
        width: 276px;
    }
}

#aktuelnosti{}

#aktuelnosti_naslov{
    background-color: #4C8DCA;
    color: #FFF;
    padding: 20px;
    font-weight: 700;
    text-align: center;
    font-size: 1.3rem;
}
#aktuelnosti_inner{
    border: 1px solid #4C8DCA;
    border-radius: 20px;
    overflow: hidden;    
}
.vesti{
    padding: 20px;
    padding-top: 0;
}
.vesti::after{
    display: table; content: " "; clear: both;
}
.vest{
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px #898989;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;    
}
@media(max-width:767px){
    .vest{
        border-radius: 20px;
        margin-top: 30px;
    }
}
@media(min-width:768px){
    .vest{
        float: left;
        width: calc(50% - 30px);
    }    
    .vest:first-child{
        margin-right: 45px;
    }
    .vest:last-child{
        margin-left: 15px;
    }    
}


.vest-txt{
    text-align: center;
    color: #4c8eca;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px;
}
.vest-slika{
    overflow: hidden;
}
.vest-slika img{
    transition: transform ease 300ms;
    will-change: transform;
    cursor: pointer;
}
.vest-slika:hover img{
    transform: scale(1.1,1.1);
}

.vest .rolebuttonwrp{
    position: absolute;
    bottom: 10px;
    left: 0px;
    width: 100%;
    text-align: center;
}
.vest .rolebuttonwrp a{
    padding: 5px 15px;
    background-color: #FFF;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #4c8eca;
}
.vest .rolebuttonwrp a span{
    display: inline-block;
    width: 1rem; height: 1rem;
    background-image: url(../img/arr-r.svg);
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-bottom: 4px;    
}

#contactform input,
#contactform textarea
{
    background-color: #EFF2FB;
    border: 1px solid #003a79;
    border-radius: 10px;
}
#contactform button{
    border: 2px solid #4C8ECA;
    border-radius: 2px;
    background-color: #4C8ECA;
    color: #FFF;
    font-weight: 700;
    border-radius: 10px;
}
#contactform p{
    font-size: 2rem;
    text-align: center;
    color: #004791;
    font-weight: 800;
    margin-bottom: 19px;
}

#contactform-send span{
    display: inline-block;
    background-image: url(../img/arr-r.svg);
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-bottom: 4px;
    width: 1rem; height: 1rem;
    background-color: #4C8ECA;
}

#pre-footer{
    background-color: #DADADA;
    padding: 40px;
}
@media(min-width: 992px){
    #pre-footer{
        display: block;
    }
    #pre-footer .pfc-br{
        border-right: 2px solid #003a79;
    }
    .pre-footer-item{
        height: 230px;
    }
}
.pre-footer-item{
    color: #004791;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}
.pre-footer-item *:last-child{
    margin-bottom: 0;
}
.pre-footer-item img{
    display: block;
    margin: 0 auto;
    height: 50px;
    margin-bottom: 23px;
}
@media(min-width:992px) and (max-width:1200px){
    .pre-footer-item .emailaddr{
        font-size: .9rem;
    }
}
@media(max-width:575px){
    #pre-footer{
        padding: 40px 0px;
    }    
    .pre-footer-item{
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }
    .pre-footer-item__first{
        margin-top: 0;
    }
    .pre-footer-item__last{
        margin-bottom: 0;
    }    
}
footer{
    color: #FFF;
    background-color: #004791;
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    border-top: 1px solid #003d7d;
}

footer p{margin-bottom: 0;}

#aktuelnosti-vesti{}
.aktuelnost-naslov{
    text-align: center;
    color: #FFF;
    background-color: #4C8ECA;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 1.3rem;
}
.aktuelnost-naslov h2{
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0;
}
.aktuelnost-tekst{
    font-weight: 700;
    color: #003d7d;
}
.aktuelnost-tekst +.slajfna{
    margin-bottom: 1.3rem;
}
.aktuelnost-tekst img{
    border-radius: 20px;
}
#aktuelnosti-vesti .slajfna{
    margin-bottom: 40px;
}