@import url(https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=latin-ext);

@font-face {
    font-family: 'MyriadProBoldSemiCn'; /*a name to be used later*/
    src: url('fonts/MyriadPro-BoldSemiCn.otf'); /*URL to font*/
}

@font-face {
    font-family: 'DINNextRoundedLTProBold'; /*a name to be used later*/
    src: url('fonts/DINNextRoundedLTPro-Bold.otf'); /*URL to font*/
}

@font-face {
    font-family: 'DINNextRoundedLTProMedium'; /*a name to be used later*/
    src: url('fonts/DINNextRoundedLTPro-Medium.otf'); /*URL to font*/
}

@font-face {
    font-family: 'DINNextLTProRegular'; /*a name to be used later*/
    src: url('fonts/DINNextLTPro-Regular.otf'); /*URL to font*/
}

@font-face {
    font-family: 'DINNextLTProMedium'; /*a name to be used later*/
    src: url('fonts/DINNextLTPro-Medium.otf'); /*URL to font*/
}

@font-face {
    font-family: 'DINNextLTProBold'; /*a name to be used later*/
    src: url('fonts/DINNextLTPro-Bold.otf'); /*URL to font*/
}

html{
    max-width: 100%;
}

img, video, svg, canvas {
  max-width: 100%;
  height: auto;
}

body{
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 18px;
    overflow-x: hidden;
    word-break: break-word;
    color:#48484e;
    width: 100%;
}

h1, h2, h3, h4, h5, h6{
    color:#222d66 !important;
}

h4{
    margin-top: 10px;
    font-size: 18px;
}

a{
    color:#222d66;
    text-decoration: none;
    font-weight: bold;
}

a:hover{
    color:#525e99;
    text-decoration: none;
}

.slider a{
    color:#222d66;
}

.slider a:hover{
    color:#525e99;
}

.menus{
    max-width: 100%;
}

b, strong{
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 600;
}

/*
body.poglavje1 .barvapoglavja{color:#444 !important;}
body.poglavje1 .ozadjepoglavja{background-color:#81b1c8 !important;} 
body.poglavje1 .ozadjepoglavjasvetlo{background-color: #8bbacf17;}
body.poglavje1 button.ikona{background-color:#81b1c8 !important;}
body.poglavje1 .borderpoglavja{border-color:#81b1c8 !important;}
body.poglavje1 .widget .opis.aktiven .face{border-color:#81b1c8 !important;}
body.poglavje1 .sub-menu nav ul li.izbran{color:#81b1c8;}
body.poglavje1 .sub-menu nav ul li.izbran::after{border-top: 10px solid #81b1c8;}
body.poglavje1 .opis.aktiven .txt{border-color: #81b1c8;}
body.poglavje1 .vprasanja li:before {color: #81b1c8;}
body.poglavje1 .kategorija:before{background-color:81b1c8;}
.barva1 {color:#81b1c8 !important;} 

body.pod-geografija .barvapoglavja{color:#444 !important;} 
body.pod-geografija .ozadjepoglavja{background-color:#CCD7AF !important; color:#444;}
body.pod-geografija .ozadjepoglavjasvetlo{background-color:#d2e2ac;}
body.pod-geografija button.ikona{background-color:#CCD7AF !important;}
body.pod-geografija .borderpoglavja{border-color:#CCD7AF !important;}
body.pod-geografija .widget .opis.aktiven .face{border-color:#CCD7AF !important;}
body.pod-geografija .sub-menu nav ul li.izbran{color:#CCD7AF;}
body.pod-geografija .opis.aktiven .txt{border-color: #CCD7AF;}
body.pod-geografija .kategorija:before{background-color:#CCD7AF}
body.pod-geografija .vprasanja li:before {color: #CCD7AF;}
body.pod-geografija .sub-menu nav ul li.izbran::after{border-top: 10px solid #CCD7AF;}
.barva2 {color:#CCD7AF !important;}

body.pod-1-triletje .barvapoglavja{color:#444 !important;}
body.pod-1-triletje .ozadjepoglavja{background-color:#EDE79D !important;}
body.pod-1-triletje .ozadjepoglavjasvetlo{background-color:rgb(255, 251, 249);}
body.pod-1-triletje button.ikona{background-color:#EDE79D !important;}
body.pod-1-triletje .borderpoglavja{border-color:#EDE79D !important;}
body.pod-1-triletje .widget .opis.aktiven .face{border-color:#EDE79D !important;}
body.pod-1-triletje .sub-menu nav ul li.izbran{color:#EDE79D;}
body.pod-1-triletje .opis.aktiven .txt{border-color: #EDE79D;}
body.pod-1-triletje .kategorija:before{background-color:#EDE79D}
body.pod-1-triletje .vprasanja li:before {color: #EDE79D;}
body.pod-1-triletje .sub-menu nav ul li.izbran::after{border-top: 10px solid #EDE79D;}
*/

header .naslov2 {
  font-size: calc(3vw + 30px);
}

.barva3 {color:#EDE79D !important;}

body.pod-zgodovina .barva{
    color: #b9a89a;
}

.nav-wrapper{
    height: 60px;
}

.main-menu nav .srednja-sola{
    background-color: #D69EA9;
}

.main-menu nav li a{
    transition: all 0.2s ease-in-out;
}

.main-menu nav li:hover > a{
    transform: scale(1.05);
}

.main-menu nav li a:hover{
    color:#f9f9f9;
}


.main-menu nav .kontaktirajte-nas{
    background-color: #E3E2D7;    
}

.kontaktirajte-nas .minitop .naslov2{
    display: none;
}

/*********************** SPACERJI *****************************/

.gradnik .spacer{
    height: 30px;
}


/*********************** HEADERS ******************************/



p {
  text-align: text-left;
}

h1, h2, h3{
    font-family: 'DINNextLTProMedium', 'Arial', sans-serif;
}    

.celosirinskinaslov h1{
    font-size: calc(20px + 2vw);
    padding: 3vh 0 0.5vh;
}

.celosirinskinaslov h2{
    font-size: calc(24px + 0.8vw);
    margin: 0 0 1vh;
}

.celosirinskinaslov h3{
    text-align: left;
    font-weight: bold;    
    font-size: calc(15px + 0.7vw);
    color: #444;
    margin: 0;
}

.gradnik h1,
.gradnik h2,
.gradnik h3{
    margin: 20px 0 30px;
}

.bloki h1{
    margin-top: 0px;
    margin-bottom: 15px;
}

.gradnik.naslov .spacer{
    display: none;
}


/******************************** MENU **************************************/

.main-menu .uvodna-stran{
    display: none;
}

.main-menu{
    position: relative;
}

.container{
    margin-left: auto;
    margin-right: auto;
}

/* Basic styling for clarity */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    
    
}
nav > ul > li {
    flex: 1 1 0px;
    display: inline-block;
    position: relative;
    display: grid;
    place-items: center;    
}
nav > ul > li:not(:last-child){
    /*border-right: 1px solid #ccc;*/
}

nav ul li{
    font-size: 22px;
    color:#fff;
}

nav ul li a {
    text-decoration: none;
    padding: 12px;
    display: block;
    color:#fff;
    font-weight: normal;
}

nav ul .samotekst{
    padding: 12px;
}

nav ul.sub-menu li a{
    font-size: 0.8em;
}

/* Submenu hidden by default */
nav ul li ul {
    width: 100%;
    display: none;
    position: absolute;
    z-index: 100000;
    top: 100%;
    left: 0;
    background: #f9f9f9;
    border: 1px solid #7ea2c8;
}
nav ul li:hover ul {
    display: block;
}

/* Hamburger */

.menu-toggle {
    display: none;
    background: #333;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    max-width: 100%;
}





/********** DOMOV GUMB *****************/

.menus.sticky .main-menu nav .domov{
    top: -4px;
}
    
.main-menu nav .domov{
    transition: all 0.3s ease-in-out;
    position: absolute;
    /*background-color: #fff;*/
    left: 5px;
    width: 26px;
    top: 6px;
    z-index: 100;
    font-size: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 0 0 4px;
}

.main-menu nav .domov a{
    text-decoration: none;
    color:#fff;
}

.main-menu nav .domov a:hover{
    color:gold;
}

.predstavitev-ucbenikov .slick-slide{
    margin: 0 1vw;
}







/* STICKY MENU */

.menus.sticky{
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1000;
    height: 69px;
}

.menus.sticky .main-menu li{
    height: 45px;
    font-size: 16px;
    line-height: 15px;
}

.menus.sticky .main-menu nav ul li.izbran:after{
    right: calc(50% - 6px);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #eac587;
    bottom: 2px;
}

.menus.sticky .sub-menu nav ul{
    /*box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.2);*/
}

.menus.sticky .sub-menu li{
    height: 28px;
    font-size: 12px;
}

.menus.sticky .sub-menu nav ul li.izbran:after{
    right: calc(50% - 5px);
    bottom: -9px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ffd700;
    top: unset;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.3));
    animation: none;    
}

/************************************ VSTOPNA ANIMACIJA ***************************************/

#vesoljeknjig{
    overflow: hidden;
}

#spinner {
 
  position: relative;
  width: 100%;
  height: 70vh;
  perspective: 1000px;       
  transform-style: preserve-3d;
  overflow: visible;
  scale: 0.2;
  animation: povecajSolarniSistem 3s ease-out forwards;
}

@keyframes povecajSolarniSistem {
    0% {scale: 3; opacity: 0.1;}
    100% {scale: 1; opacity: 1;}
}

@media (max-width: 700px){
    #spinner {
        animation: none;
        height: 40vh;
        animation: none;
        scale: 0.3;
    }
}

/* Center sun */
#spinner .sun {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 150;              /* middle of our planet range 100..200 */
  text-align: center;
  width: 100%;
}

#spinner .sun img {
width: 300px;
  height: 300px;
  border-radius: 50%;
  box-shadow: 0 0 270px -30px rgba(255, 255, 255, 0.9), 0 0 170px -30px rgba(255, 255, 255, 0.9) inset;
/*  background-color: #fffe;
  animation: sijem 3s ease-in-out infinite alternate;*/
}

@keyframes sijem {
    0% {box-shadow: 0 0 270px 160px rgba(200, 200, 255, 0.9);}
    100% {box-shadow: 0 0 270px 50px rgba(255, 200, 255, 0.9);}
}

/* Orbiting items */
#spinner .planet {
  position: absolute;
  top: 45%;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: all;      /* they’re just visual */

}

#spinner .planet img {
  width: 141px;
  height: 200px;
  border-radius: 2%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/********************************* PHOTO ZOOM WIDGET *****************************/

.image-zoom-widget{
    /*background-color:#000;*/
    overflow: hidden;
}

.image-zoom-widget .text{
    padding-top: 10%;
    padding-bottom: 10%;
}

.image-zoom-widget .image-inside{
    transition: all 1s ease-in-out;
    position: relative;
    scale: 1;
    left: 0;
    top: 0;
}

.image-zoom-widget .content-container{
    position: absolute; 
    height: 100vh; 
    z-index: -100;
    /*right: calc(15vw/2);*/
    right: 0;
    width: 70vw;
}

.image-zoom-widget .image-wrapper .image{
    right: calc(5vw);
    display: inline-block;
    position: relative;
    transition: all 1s ease-in-out;
    top: 50%;
    transform: translateY(-50%);
}

.image-zoom-widget .image-wrapper img{
    max-width: 100%;
    max-height: 85vh;
    height: auto;
}

.image-zoom-widget .image-wrapper {
  height: 95vh;
  position: relative;
  text-align: center;
  /*transition: all 1s ease-in-out;*/
  top: 5vh;
}

.image-zoom-widget .hotspot{
    position: absolute;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0px 0px 20px 10px rgba(255,255,255,0.2) inset;
    transition: all 0.5s linear;
}

.image-zoom-widget .hotspot.izbran{
    border: 1px solid #eac587aa;
    box-shadow: 0px 0px 3000px 3000px rgba(0, 0, 0, 0.6);
}

.image-zoom-widget .hotspot:hover{
    border: 1px solid gold;
}

.image-zoom-widget .hotspot .caption{
    font-size: 10px;
    background-color: rgba(255,255,255,0.5);
    line-height: 12px;
    padding: 3px;
    opacity: 0;
    bottom: 0;
    position: absolute;
    z-index: 10000;
    right: 0;  
    transition: all 0.3s linear;
}

.image-zoom-widget .hotspot.izbran .caption{
    opacity: 1;
}

.image-zoom-widget .hotspot .caption p{
    margin: 0; padding: 0;
    text-align: left;
}

.image-zoom-widget .opis:first-of-type{
    margin-bottom: 25vh;
}

.image-zoom-widget .opis{
    margin-bottom: 75vh;
}

.image-zoom-widget .opis:last-of-type{
    margin-bottom: 60vh;
}

.image-zoom-widget .opis .txt{
    padding: 30px 40px;
}

/********************************** GRADNIKI KOLEDAR ********************************/

.koledar .naslovkoledarja{
    height: 100px;
}


/*********************************** GRADNIKI SLIDER *********************************/


.img-wrapper {
    height: 300px;
    display: flex;
    justify-content: left;
    align-items: end;
    overflow: hidden;
}

.slider {
  margin: 30px 0 20px;
}

.slider .img-wrapper{
  
}

.slick-initialized .slick-slide {
  display: flex;
  flex-direction: column;
}

.slide-item {
    display: inline-block;
    vertical-align: top;
}

.slick-slide {
  margin: 0 0.2vw;
  height: 18vw;
}

.slick-slide a{
    max-height: 100%;
    height: 100%;
}

.slick-slide img {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

.slick-arrow {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    transition: all 0.2s ease-in-out;
}

.slick-arrow:hover{
    transform: scale(1.05);
    
}

.slick-arrow.slick-prev{
    position: absolute;
    top: -55px;
    left: calc(75% - 25px);
}

.slick-arrow.slick-next{
    position: absolute;
    top: -55px;
    left: calc(75% + 25px);
}

/* Caption must not expand slide width */
.caption-wrapper {
    max-width: 100%;     /* match image width */
    white-space: normal;
    word-break: break-word;
    padding-bottom: 20px;
}

.caption-wrapper p{
    text-align: left;
}

.caption-wrapper h4{
    
}

.caption-wrapper .btn-podrobno {
    transition: all 0.2s linear;
    font-size: 12px;
    padding: 5px 10px;
    position: absolute;
    bottom: 0px;  
}

.slider[data-vrsta=sliderzopisi] .slick-slide{
    height: initial;
}

.slider[data-vrsta=sliderzopisi] .slick-list{
    overflow: hidden;
}

.slick-track{
    display: flex;
}

.slider.slick-not-enough .slick-track {
    display: flex !important;
    justify-content: center;   /* center the slides */
    transform: none !important;
    width: 100% !important;
}

.slider.slick-not-enough .slick-slide {
    float: none !important;    /* disable default float */
    display: inline-block;     /* needed for flex centering */
    height: auto;              /* fix height issues */
}

/************************************* FOOOOOTER ************************************/


footer {
  color: #696a6e;
  padding: 0 !important;
}
footer .spacer100{
    height: 100px;
}
footer .bg-modra{
    background-color:#222d66;
}
footer .zelenobela {
  position: relative;
  z-index: 10;
  padding: 0;
  background: rgb(192, 223, 221);
  background: linear-gradient(90deg, rgb(192, 223, 221) 47%, rgba(255, 255, 255, 0) 47%);
}
footer a {
  margin-right: 10px;
  font-weight: normal;
}
footer a.social {
  margin-right: 20px;
}
footer a.social img {
  border-radius: 0px;
}
footer .bg-modra .nav a {
  color: #fff;
}
footer .prijavanaenovice label {
  width: 100%;
}
footer .prijavanaenovice #id_email {
  width: 300px;
  border-radius: 5px;
  border: 0;
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.2);
}
footer .prijavanaenovice .formbuilder-checkbox {
  position: relative;
  top: 10px;
  margin-bottom: 14px;
}
footer .prijavanaenovice .formbuilder-checkbox input[type=checkbox] {
  position: absolute;
}
footer .prijavanaenovice .formbuilder-checkbox label {
  margin-left: 25px;
  position: relative;
  top: -2px;
  line-height: 1.2em;
  font-size: 0.8em;
}
footer .prijavanaenovice .formbuilder-checkbox label a {
  text-decoration: underline;
}
footer .prijavanaenovice .formbuilder-submit button {
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 2px 10px;
  margin-bottom: 10px;
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.2);
}
footer .prijavanaenovice .formbuilder-submit button:hover {
  background-color: #00b2b0;
}




/************************************* RESPONSIVE ***********************************/

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 95%;
    }
}    

@media (min-width: 576px) {
      .container, .container-sm {
        max-width: 1200px;
      }

}
@media (max-width: 576px){
    .main-menu nav ul li, 
    .sub-menu nav ul li{
        font-size: 10px;
        line-height: 13px;
    }
    .main-menu nav .domov{
        top: -7px;
    }
}

@media (max-width: 775px){
    .modal-dialog{
        max-width: 90vw;
    }
}


@media (max-width: 768px) {
    body{
        padding-top: 52px;
        font-size: 16px;
        overflow-x: hidden;
    }    
    nav ul {
        flex-direction: column;
        display: none;
    }
    nav ul li {
        width: 100%;
    }
    .menu-toggle {
        display: block;
    }
    nav ul li ul {
        position: static;
        display: block;
    }
    .nav-wrapper{
        position: fixed;
        top: 0px;
        width: 100%;
        z-index: 1000000;
    }
    .main-menu nav .domov{
        position: relative;
        left: inherit;
        width: inherit;
        top: inherit;
        padding: 0 5px 10px;
        background-color: #222d66;
    }

    .px-md-20 .gradnik {
        padding-left: 0px;
        padding-right: 0px;
    }    

    .gradnik .spacer{
        height: 15px;
    }

    .gradnik h1, .gradnik h2, .gradnik h3 {
        margin: 10px 0 15px;
    }    

    .sidemenu-container{
        display: none;
    }

    .koledar .naslovkoledarja{
        height: inherit;
        margin-bottom: 20px;
    }

    footer .zelenobela{
        background-color: rgb(192, 223, 221);
    }

    .image-zoom-widget .content-container{
        width: 100vw;
    }    

    .image-zoom-widget .image-wrapper .image{
        right: inherit;
    }

    #spinner .sun{
        width: 250%;
        font-size: 1.5em;
    }

    #spinner .sun h3{
        margin-bottom: 50px;
    }

}