/*FONTS*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

/*COLORS*/
:root{
    --dark-gray: #222;
    --main-blue: #134a95;
    --edukom-blue: #05a7b9;
    --blue-darkest :#114286;
}

/*GLOBAL CSS*/
html{
    font-size: 62.5%;
}
body{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
}
a:hover{
   text-decoration: none; 
   cursor: pointer;
}

.h1, h1 {
    font-size: 2.8rem;
}

.container.container-resized{
    max-width: 144rem;
}

/* LOADER */
#loader_{
    position: fixed;
    width: 100%;
    height: 100%;
    color: transparent;
    top: 0;
    left: 0;
    z-index: 99999999999;
    border-radius: 0;
    background: #dbdbdb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  font-size: 5px;
  position: relative;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid var(--main-blue);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*FIXING MAX WIDTH FOR BOOTSTRAP CONTAINER*/
/* @media only screen and (min-width : 1200px) {
    .container { max-width: 1440px; }
} */

/*HEADER*/

.head-border{
    border-top: 1rem solid var(--dark-gray)
}

.header-contact-socials{
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.header-contact,
.header-socials{
    display: flex;
}

.header-contact *,
.header-socials *{
    color: var(--main-blue);
}

.header-contact > div,
.header-socials > div{
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.header-contact > div:first-child {
    margin-right: 5rem;
}

.header-socials > div {
    margin-right: 3rem;
    font-size: 2.2rem;
}

.header-socials > div:last-child {
    margin-right: 0rem;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center; 
    margin-bottom: 2rem;
    margin-top: -4rem;
}

.header{
    border-bottom: 1px solid #ccc;
}

/*NAVIGATION*/

.navbar{
    background-color: transparent!important;
}

.navbar-nav {
    justify-content: center;
    margin-bottom: -2px;
}

.navbar-nav li {
    margin-right: 5rem;
    padding-bottom: 2rem;
}

.navbar-nav .dropdown-menu li{
    margin-right: 0rem;
    padding: 0;
    font-size: 1.6rem;
    width: 100%;
}

.navbar-nav .dropdown-menu li a{
    padding: 1rem 2rem;
}

.navbar-nav li:last-child {
    margin-right: 0rem;
}

.menu-item-search{
    display: none;
}

#navigation>div.active-menu-item, .navbar-nav>li.active-menu-item {
    border-bottom: 0.4rem solid var(--main-blue);
    height: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

nav{
    padding-bottom: 0!important;
}

/*SLIDER*/

#slider{
    max-width: 144rem;
    width: 100%;
    margin: 2rem auto;
    max-height: 50rem;
    background-color: #000;
}

.carousel-inner {
    max-height: 50rem;
}

.carousel-item img{
    max-height: 50rem;
    object-fit: cover;
    opacity: 0.45;
}

.carousel-caption {
    position: absolute;
    left: 10%;
    top: 20px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
    max-width: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.carousel-caption div{
    display: table;
    /* background: #fff; */
}

.carousel-caption div.slider-middle-small-title{
    font-size: 3.2rem;
    padding: 0rem 2rem;
    text-transform: uppercase;
    font-weight: 900;
}

.carousel-caption div.slider-middle-large-title{
    font-size: 6.4rem;
    padding: 0rem 2rem;
    text-transform: uppercase;
    font-weight: 900;
}

.carousel-caption div.slider-middle-description-text{
    font-size: 1.8rem;
    padding: 1rem 2rem;
    background: none;
    color: #fff;
}

/*SLIDER FIXES START*/



/*SLIDER FIXES END*/

/*HOMEPAGE NEWS*/

.large-headline h1{
    margin: 2rem 0 5rem;
    border-bottom: 0.4rem solid var(--main-blue);
    padding-bottom: 1rem;
    font-size: 3.6rem;
    font-weight: 700;
}

.novost{
    border: 1px solid #eee;
    padding: 2rem;
}

.novost a,
.novost a:hover,
.novost a:visited{
    color: var(--main-blue);
    font-weight: 700;
    text-align: right;
}

.novost-image{
    position: relative;
}

.novost-image img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.novost-date{
    position: absolute;
    bottom: 5px;
    left: 15px;
    background: var(--main-blue);
    color: white;
    padding: 1rem 1.5rem;
    text-align: center;
}

.novost-author{
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.novost-author i{
    color: var(--main-blue);
    margin-right: 0.5rem;
}

.novost-author p{
    margin: 0;
    margin-right: 2rem;
}

.novost-text h3{
    font-weight: 700;
}

.see-all-news{
    text-align: center;
    margin: 2rem 0;
    color: var(--main-blue);
    font-size: 1.4rem;
    font-weight: 700;
}

.see-all-news a:visited,
.see-all-news a:hover{
    color: var(--main-blue);
    font-weight: 700;
}

/*HOMEPAGE ABOUT*/

.about-school-left{
    padding-right: 3rem!important;
}

.about-school-left img{
    width: 100%;
}

.about-school-right h5{
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/*HOMEPAGE GALLERY*/
.gallery-all{
    margin-bottom: 10rem;
}

.gallery-all .large-headline h1 {
    margin: 2rem 0% 1rem 0;
    border-bottom: none;
}

.gallery-all #custCarousel .carousel-indicators {
    position: static;
    margin-top:20px;
}

.gallery-all #custCarousel .carousel-indicators > li {
    width:100px;
}

.gallery-all #custCarousel .carousel-indicators li img {
    display: block;
    opacity: 0.5;
 }

 .gallery-all #custCarousel .carousel-indicators li.active img {
    opacity: 1;
}

.gallery-all #custCarousel .carousel-indicators li:hover img {
    opacity: 0.75;
}

.gallery-all .carousel-item img{
    width: 100%;
    opacity: 0.9;
    margin-right: 0%;
}

.gallery-all .carousel,
.gallery-all .carousel-inner{
    position: static;
}

.gallery-all .carousel-control-prev,
.gallery-all .carousel-control-next{
    color: var(--main-blue);
    font-size: 3.2rem;
    opacity: 1;
}

.gallery-all .carousel-control-next{
    position: absolute;
    top: 25px;
    right: 10px;
    height: 32px;
    width: 32px;
}

.gallery-all .carousel-control-prev{
    position: absolute;
    top: 25px;
    right: 60px;
    height: 32px;
    width: 32px;
    left: unset;
}

/*HOMEPAGE LINKS*/

.important-links .large-headline h1 {
    margin: 2rem 0 1rem 10%;
    border-bottom: none;
}

.important-links{
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 57rem;
    justify-content: space-around;
}

.important-links div.single-important-link{
    /* border: 1px solid #ccc; */
    padding: 1rem;
    position: relative;
}

.important-links div.single-important-link img{
    max-width: 20rem;
}

.important-links div.single-important-link i{
    position: absolute;
    right: 30rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    color: var(--edukom-blue);
}

/*FOOTER*/

/* FOOTER */

#footer{
    background-color: var(--main-blue);
    color: var(--text-white);
    padding: 5rem 0 0 0;
}

.footer-container{
    max-width: 120rem;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
}

.footer-logo{
    display: flex;
    align-items: center;
}

#footer-container > div{
    font-size: 1.6rem;
    line-height: 2.8rem;
}

#footer-container > div a{
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

#footer-container > div a:hover{
    opacity: 1;
}


#footer-container > div>div>i,
#footer-container > div>ul>li>a>i{
    font-size: 1.6rem;
    margin-right: 1rem;
    margin-top: 0.5rem;
    width: 16px;
}

#footer-container > div>div>a>i.fa-facebook,
#footer-container > div>div>a>i.fa-instagram,
#footer-container > div>div>a>i.fa-twitter,
#footer-container > div>div>a>i.fa-youtube{
    font-size: 2.4rem;
    margin: 1.5rem;
    color: #fff;
    opacity: 1;
}

#footer-container > div>a:hover>i.fa-facebook,
#footer-container > div>a:hover>i.fa-instagram,
#footer-container > div>a:hover>i.fa-twitter,
#footer-container > div>a:hover>i.fa-youtube{
    opacity: 1;
}

.footer-address,
.footer-phone{
    display: flex;
}

.copyright{
    background-color: var(--blue-darkest);
    font-size: 1.6rem;
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0px 0px 1px #ccc;
}

#footer-container > div>h4{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fff;
}

#footer-container > div>ul{
    list-style: none;
    padding: 0;
    line-height: 5rem;
}


@media screen and (max-width:991px){
    #footer-container > div>div>a>i.fa-facebook, #footer-container > div>div>a>i.fa-instagram, #footer-container > div>div>a>i.fa-twitter, #footer-container > div>div>a>i.fa-youtube {
        margin: 2rem 2rem 2rem 2rem;
    }
}

#footer{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer-container{
    max-width: 120rem;
    width: 100%;
    padding: 5rem 0 3rem;
    text-align: center;
}

#footer-container > div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright{
    width: 100%;
}

/*kontakt page*/

#slider-small {
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0.6)), url(../images/slider1.jpg) center repeat;
    background-size: cover;
    color: var(--main-blue);
    box-shadow: 0 4px 5px 0px #ccc;
    margin-bottom: 5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.slider-middle-small-title{
    font-size: 2.8rem;
}

.slider-middle-large-title{
    font-size: 4.2rem;
}

.three-boxes div div {
    text-align: center;
}

.three-boxes div div i{
    color: var(--main-blue);
    font-size: 3.2rem;
}

.three-boxes div div h5{
    font-size: 2.2rem;
    margin: 1rem 0;
}

.three-boxes div div span{
    font-size: 1.8rem;
}

.three-boxes div div div div {
    margin-bottom: 5rem;
}

.contact-intro h3{
    color: var(--main-blue);
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
    margin: 3rem 0 1rem;
}

.contact-intro p{
    color: var(--main-blue);
    font-size: 1.8rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea{
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
}

.contact-form .btn.btn-main{
    background-color: var(--main-blue);
    color: #fff;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    margin-bottom: 5rem;
}

.three-boxes{
    margin-top: 5rem;
}

.contact-block{
    max-height: 250px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 5px #eee;
}

/*NOVOSTI*/

.novosti-sve{
    display: flex;
    background-color: rgba(255, 255, 255, 0.75);
}

.novosti-sve > div > div > div > h1{
    margin: 0rem 0 0;
    font-size: 2.8rem;
    text-align: center;
}

.centered-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single-news-full-width {
    box-shadow: 0px 0px 2px #ccc;
    background-color: #f7f7f7;
    padding: 1.5rem 0.5rem;
    border-radius: 2px;
    margin-bottom: 2rem;
    display: flex;
    border-left: 1rem solid var(--main-blue);
    border-radius: 5px 0 0 5px;
}

.single-news-full-width>.single-news-image-part>img {
    width: 100%;
    max-width: 100%;
    height: 250px;
    margin-right: 1rem;
    object-fit: cover;
}

.single-news-text-part {
    font-size: 1.6rem;
    position: relative;
}

.single-news-text-headline {
    margin: 1rem 0;
}

.article-button {
    text-align: center;
    border: 1px solid var(--main-blue);
    padding: 1rem 4rem;
    font-size: 2rem;
    width: auto;
    /* display: inline-block; */
    max-width: 15rem;
    color: var(--main-blue);
    margin: 1rem auto 0;
    float: right;
}

.special-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.special-flex>p {
    padding: 1rem 1.5rem;
    border: 1px solid #eee;
    margin: 1rem 0.5rem;
    background-color: var(--main-blue);
    color: #fff;
    font-size: 1.8rem;
}

.special-flex>a {
    padding: 1rem 1.5rem;
    border: 1px solid #eee;
    margin: 1rem 0.5rem;
    color: var(--main-blue);
    background: var(--white-background);
    font-size: 1.6rem;
}

.single-news-content {
    margin: 5rem 0 3rem;
}

.single-news-content .headline-bottom-left{
    margin: 1.5rem auto 3rem;
}

.single-news-content p {
    font-size: 1.4rem;
    text-align: center;
}

.single-news-text {
    margin: 0 0 5rem 0;
}

.headline-bottom {
    width: 160px;
    height: 5px;
    background-color: var(--main-blue);
    margin: 1.5rem auto 3rem;
}

@media screen and (max-width: 991px){
    .single-news-full-width {
        display: initial;
        text-align: center;
    }  
    .article-button {
        float: none;
    }
}

/*GALERIJA*/
.galerija-sve .large-headline{
    margin-top: 5rem;
}

.singleAlbumFront{
    border: 1px solid #eee;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 2rem;
}

.singleAlbumFront img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.singleAlbum-headlinePart p{
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
    color: var(--main-blue);
}

.album-sve img {
    padding: 1rem;
    border: 1px solid #eee;
    margin-bottom: 4rem;
    object-fit: cover;
}

div#lightboxed--content .lightboxed--frame .lightboxed--caption {
    position: absolute;
    bottom: 0;
    left: 50%;
    padding: 1rem 2rem;
    background: #000;
    background: rgba(0,0,0,0.9);
    color: #fff!important;
    transform: translateX(-50%);
    right: unset;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    height: 75px;
    width: 100px;
    object-fit: cover;
}

/*OGLASI*/

.single-oglas {
    border: 1px solid #eee;
    padding: 5rem 3rem 2rem;
    text-align: center;
    /*box-shadow: 1px 1px 10px #eee;*/
    position: relative;
    background: url(../images/info.png), rgba(255,255,255,0.95);
    background-size: 125px;
    background-position: right -30px bottom -20px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
}

.pin-oglasi-top {
    width: 30px;
    position: absolute;
    top: 0px;
    left: 53%;
    right: 50%;
    transform: translateX(-50%);
}

.single-oglas p {
    font-size: 1.6rem;
}

.single-oglas p.small-text {
    font-size: 1.2rem;
}

.single-oglas .oglas-text {
    text-align: justify;
    padding-top: 1rem;
    font-size: 1.6rem;
}

.single-oglas a {
    font-size: 1.6rem;
    color: var(--main-blue);
    margin-top: 2rem;
    font-weight: 700;
}

.single-news-content {
    text-align: center;
    margin: 5rem 0 3rem;
}

.oglas-sve{
    background-color: rgba(255, 255, 255, 0.75);
}

.oglas-sve h5{
    font-size: 1.8rem;
}

.oglas-sve .small-text{
    font-size: 1.4rem;
    text-align: center;
}

/* .large-headline {
    font-size: 3.8rem;
    font-weight: 700;
} */

.oglas-sve .headline-bottom {
    width: 160px;
    height: 5px;
    background-color: var(--main-blue);
    margin: 1.5rem auto 3rem;
}

.single-news-text {
    text-align: justify;
    font-size: 1.6rem;
}

/*KATEGORIJE*/

.kategorija-naslov{
    text-align: center;
    margin-top: 4rem;
    font-weight: normal;
}

.kategorija-naslov h1{
    font-size: 2.8rem;
}

.kategorija-naslov h3{
    font-size: 1.8rem;
}

/*ČLANCI*/

.single-clanak h1 {
    margin-bottom: 1rem;
}

.single-clanak .autor-date{
    margin-bottom: 4rem;
    color: var(--main-blue);
    font-size: 1.4rem;
}

/*404*/

.message-404{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn.btn-main{
    background-color: var(--main-blue);
    color: #fff;
    font-size: 1.4rem;
    margin: 2rem 1rem 2rem 2rem;
    padding: 1rem;
}

.btn.btn-main2{
    background-color: #eee;
    color: #000;
    font-size: 1.4rem;
    margin: 2rem 2rem 2rem 1rem;
    padding: 1rem;
}

/*MOBILE CSS*/

.header-mobile-menu{
    display: none;
}

@media only screen and (max-width: 1519px){
    .container-resized{
        max-width: 96%!important;
        margin-left: 2%;
        margin-right: 2%;
    }
    .single-news-full-width{
        margin: 1rem 0!important;
    }
}

@media only screen and (max-width: 991px){
    .about-school-left{
        padding-right: 0rem!important;
    }
    .about-school-right h5 {
        margin-top: 2rem;
    }
    .header-logo {
        margin-top: 0rem;
    }
    .carousel-caption {
        max-width: 70%;
    }
    .carousel-caption div.slider-middle-small-title {
        font-size: 2.4rem;
    }
    .carousel-caption div.slider-middle-large-title {
        font-size: 4.8rem;
    }
    .carousel-caption div.slider-middle-description-text {
        font-size: 1.4rem;
    }
    #navbarNavDropdown{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        max-height: 0;
        overflow-y: hidden;
        -webkit-transition: max-height 0.2s ease-in-out;
        -moz-transition: max-height 0.2s ease-in-out;
        -o-transition: max-height 0.2s ease-in-out;
        -ms-transition: max-height 0.2s ease-in-out;
        transition: max-height 0.2s ease-in-out;
    }
    .header-mobile-menu{
        display: flex;
        justify-content: center;
        font-size: 2.8rem;
        color: var(--main-blue);
        font-weight: bold;
    }
    .navbar-nav{
        text-align: center;
    }
    .navbar-nav li {
        margin-right: 0rem;
        padding-bottom: 1rem;
    }
    #navigation>div.active-menu-item, .navbar-nav>li.active-menu-item {
        border-bottom: none;
        height: 100%;
        vertical-align: middle;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dropdown-menu {
        float: none;
        border: none;
        text-align: center;
    }
    .header-contact-socials{
        flex-direction: column;
        align-items: center;
    }

    .carousel-item img {
        max-height: 40rem;
    }
}

@media only screen and (max-width: 767px){
    .container-resized{
        max-width: 90%!important;
        margin-left: 5%;
        margin-right: 5%;
    }
    .important-links {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
        max-height: 57rem;
        justify-content: space-around;
        margin-bottom: 2rem;
    }
    .important-links div.single-important-link {
        /* border: 1px solid #ccc; */
        padding: 1rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    .important-links div.single-important-link i {
        position: unset;
        /* right: 20%; */
        /* top: 50%; */
        /* transform: translate(0%, -50%); */
        font-size: 2.4rem;
        color: var(--edukom-blue);
        display: flex;
        flex-direction: row;
    }
    .important-links div.single-important-link img {
        max-width: 20rem;
    }
    .important-links .large-headline h1 {
        font-size: 2.8rem;
    }
}

@media only screen and (max-width: 719px){
    .carousel-caption {
        max-width: 75%;
    }
    .carousel-caption div.slider-middle-small-title {
        font-size: 1.8rem;
    }
    .carousel-caption div.slider-middle-large-title {
        font-size: 3.6rem;
    }
    .carousel-caption div.slider-middle-description-text {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 559px){
    .carousel-caption div.slider-middle-small-title {
        font-size: 1.4rem;
    }
    .carousel-caption div.slider-middle-large-title {
        font-size: 2.8rem;
    }
    .carousel-caption div.slider-middle-description-text {
        font-size: 1.2rem;
    }
    .carousel-item img {
        /* max-height: 25rem; */
        max-height: 30rem;
    }
}

@media only screen and (max-width: 419px){
    .carousel-caption div.slider-middle-large-title {
        font-size: 2.0rem;
    }
}

.navbar-nav .dropdown-menu li a {
    padding: 1rem 3rem 1rem 2rem!important;
}

.dropdown-item {
    font-size: 1.5rem;
}

.dropdown-submenu a::after {
    top: 1.3em!important;
}