/*FONTS*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

/*COLORS*/
:root{
    --main-red: #a52b2a;
    --dark-gray: #2b3743;
    --white-text: #fff;
    --white-border: #fff;
    --white-background: #fff;
    --gray-border: #818181;
    --gray-text: #818181;
    --light-gray-background: #eee;
}

/*GLOBAL CSS*/
html{
    font-size: 62.5%;
}
body{
    font-family: 'Open Sans', sans-serif;
}
a:hover{
   text-decoration: none; 
}

/*FIXING MAX WIDTH FOR BOOTSTRAP CONTAINER*/
@media only screen and (min-width : 1200px) {
    .container { max-width: 1440px; }
}

/* 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-red);
  -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);
  }
}

/*HEADER*/

.main-header-top{
    background-color: var(--dark-gray);
}

.main-header-top > div > div > div{
    margin: 0 1rem;
    font-size: 1.6rem;
    border-right: 1px solid var(--gray-border);
    padding: 1rem 2rem 1rem 0;
}

.main-header-top > div > div > div:last-child{
    margin: 0 0 0 1rem;
    border-right: none;
    padding: 1rem 0;
}

.main-header-top > div > div > div a{
    color: var(--white-text);
}

/* .main-header-top > div > div > div a > span:first-child{
    margin-right: 0.5rem;
} */

.main-header-bottom{
    min-height: 11rem;
    background-color: var(--main-red);
}

.main-header-bottom .menu-item-search{
    display: none;
}

.main-header-bottom .navbar{
    height: 100%;
    background-color: transparent!important;
    color: var(--white-text)!important;
    padding: 0;
}

.main-header-bottom .navbar a{
    color: var(--white-text)!important;
    font-size: 1.6rem;
    cursor: pointer;
}

.main-header-bottom .navbar a.dropdown-item{
    color: #000!important;
}

.main-header-bottom > div > div > div > nav > div > ul > li{
    margin: 0 3rem 0;
}

.main-header-bottom > div > div ul li:last-child{
    margin: 0;
}

.navbar >div, .navbar > div > ul{
    height: 100%;
}

.navbar li {
    height: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.navbar li.active-menu-item {
    border-bottom: 0.4rem solid var(--white-border);
    height: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.navbar{
    height:100%;
    background-color: #fff!important;
    padding-bottom: 0;
}

.navbar li a{
    padding: 0.5rem 2rem;
}

.navbar li li a.dropdown-toggle{
    padding-right: 3rem;
}

.dropdown-submenu a::after {
    top: 1em!important;
}

.dropdown-toggle::after {
    vertical-align: 0.155em!important;
}

/*MAIN CONTENT*/

.main-content {
    /*background-image: url(../images/main-background.jpg);
    background-size: cover;*/
    padding: 0rem;
}

.novost-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    filter: drop-shadow(0, 0, 2px #eee);
}

#news-four-homepage{
    border-top: 1rem solid var(--main-red);
    border-radius: 0.5rem;
    background-color: var(--white-background);
    margin: 3rem 0;
}

#news-four-homepage .four-news-header{
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

#news-four-homepage .large-headline{
    color: var(--main-red);
}

#news-four-homepage .see-all-news{
    display: flex;
    align-items: flex-end;
    font-size: 1.2rem;
    cursor: pointer;
}

#news-four-homepage .see-all-news a{
    color: var(--gray-text);
}

#news-four-homepage .see-all-news a:hover{
    text-decoration: none;
}

.novost .novost-datum{
    color: var(--gray-text);
    display: flex;
    align-items: stretch;
    margin: 1rem 0 1rem 0;
}

.novost .novost-datum i{
    color: var(--main-red);
    font-size: 1.6rem;
    margin-right: 0.5rem;
}

.novost .novost-datum p{
    font-size: 1.2rem;
    margin-bottom: 0;
}

.novost .novost-text a{
    color: #000!important;
}

.novost .novost-text h3{
    color: #000!important;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0 2rem 0;
}

#search-bar{
    border-top: 1rem solid var(--main-red);
    border-radius: 0.5rem;
    background-color: var(--white-background);
    margin: 3rem 0;
}

#search-bar input{
    border: 0;
    outline: 0;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    flex-grow: 1;
    border-radius: 0.5rem;
}

#search-bar button{
    background-color: transparent;
    color: var(--gray-text);
    border: 0;
    outline: none;
    font-size: 1.6rem;
    margin: 0 0.5rem;
}

.about-school {
    border-top: 1rem solid var(--main-red);
    border-radius: 0.5rem;
    background-color: var(--white-background);
    margin: 3rem 0;
}

.edukom-links{
    border-top: 1rem solid var(--main-red);
    border-radius: 0.5rem;
    background-color: var(--white-background);
    margin: 3rem 0;
}

.edukom-links > div > a {
    display: block;
    width: 100%;
    height: 100%;
}

.edukom-links > div > a:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.edukom-links > div > a:hover {
    background: var(--light-gray-background);
    cursor: pointer;
}

.edukom-links > div > a > img {
    max-width: 13rem;
    margin: 1.6rem 3rem;
}

.edukom-links > div > a > span {
    font-size: 1.8rem;
    color: #05a5b7;
}

.about-school > div > div > div:first-child {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.about-school > div > div > div > div > h1 {
    color: var(--main-red);
}

.about-school .about-image img{
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 5px;
}

.about-school > div > div > div h5{
    color: var(--main-red);
    font-size: 2rem;
    margin: 2rem 0;
}

.about-school > div > div > div p{
    font-size: 1.6rem;
    text-align: justify;
    margin-right: 1rem;
}

/*FOOTER*/

.footer-main{
    background-color: var(--dark-gray);
    color: var(--white-text);
    min-height: 5rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-main p {
    padding: 0;
    margin: 0;
}

/*KONTAKT*/

.contact-form{
  background: rgba(255,255,255,0.75);  
}

.contact-form h3 {
    font-size: 3.2rem;
    margin-top: 5rem;
}

.headline-bottom {
    width: 160px;
    height: 5px;
    background-color: var(--main-red);
    margin: 1.5rem 0 3rem 0;
}

.contact-form > div > div > div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form > div > div > div > p{
    font-size: 1.4rem;
}

.contact-form form{
    width: 100%;
    padding: 2rem 0;
}

.contact-form form input,
.contact-form form textarea{
    font-size: 1.4rem;
    padding: 2rem;
}

.contact-form input[name="submit"] {
    background-color: var(--main-red);
    color: var(--white-text);
    padding: 1rem 3rem;
    margin-bottom: 5rem;
}

.contact-form input[name="submit"]:hover {
    box-shadow: 1px 1px 5px var(--dark-gray);
}

/*NOVOSTI*/

.novosti-sve{
    display: flex;
    background-color: rgba(255, 255, 255, 0.75);
    padding-top: 5rem;
}

.novosti-sve > div > div > div > h1{
    margin: 5rem 0 0;
    font-size: 3.6rem;
    text-align: left;
}

.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-red);
    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-red);
    padding: 1rem 4rem;
    font-size: 2rem;
    width: auto;
    /* display: inline-block; */
    max-width: 15rem;
    color: var(--main-red);
    margin: 5rem 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-red);
    color: #fff;
    font-size: 1.8rem;
}

.special-flex>a {
    padding: 1rem 1.5rem;
    border: 1px solid #eee;
    margin: 1rem 0.5rem;
    color: var(--main-red);
    background: var(--white-background);
    font-size: 1.6rem;
}

.single-news-content {
    margin: 5rem 0 3rem;
}

.single-news-content p {
    font-size: 1.4rem;
    text-align: left;
}

.single-news-text {
    margin: 0 0 5rem 0;
}

/* .single-news-text img {
    width: 100%!important;
} */

@media screen and (max-width: 991px){
    .single-news-full-width {
        display: initial;
        text-align: center;
    }  
    .article-button {
        float: none;
    }
}


/*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-red);
}

.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;
}

.large-headline {
    font-size: 3.8rem;
    font-weight: 700;
}

.headline-bottom {
    width: 160px;
    height: 5px;
    background-color: var(--main-red);
    margin: 1.5rem 0 3rem 0;
}

.single-news-text {
    text-align: justify;
    font-size: 1.6rem;
}

/*GALERIJA*/

.galerija-sve {
    padding: 5rem 0 10rem;
    background-color: rgba(255, 255, 255, 0.75);
}

.galerija-sve a:hover{
    text-decoration: none;
}

.singleAlbumFront {
    margin: 50px 0 0;
    text-align: center;
    cursor: pointer;
    padding: 0.5rem;
    background: var(--white-background);
    border-top: 1rem solid var(--main-red);
    border-radius: 0.5rem 0.5rem 0 0;
}

.singleAlbumFront:hover .singleAlbum-imagePart>img{
    opacity: 1;
}

.singleAlbum-imagePart {
    position: relative;
    background-color: #000;
    
}

.singleAlbum-imagePart>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* border-radius: 10px 10px 0 0; */
    /* box-shadow: 0px 0px 5px #ccc; */
    opacity: 0.75;
}

.singleAlbum-headlinePart > p {
    margin: 0;
    padding: 10px;
    background: var(--white-background);
    /* box-shadow: 0px 0px 5px #ccc; */
    color: var(--main-red);
    text-transform: uppercase;
    font-size: 1.6rem;
}

.album-sve {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.album-sve > div > div >div >img {
    height: 240px;
    object-fit: cover;
}

div#lightboxed--content .lightboxed--frame .lightboxed--caption {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
}

/*ČLANCI*/

.o-skoli-sve {
    background-color: rgba(255, 255, 255, 0.75);
}

.single-clanak {
    margin: 5rem 0;
}

.single-clanak h1 {
    font-size: 3.6rem;
    margin: 2rem 0;
    text-align: center;
}

.single-clanak .headline-bottom {
    margin: 0 auto;
}

.single-clanak p.autor-date {
    text-align: center;
    margin: 1rem 0 3rem;
    font-size: 1.4rem;
}

.single-clanak p {
    font-size: 1.6rem;
    text-align: justify;
}

.single-clanak img {
    width: 100%;
    margin: 2rem 0;
    box-shadow: 1px 1px 5px #ccc;
    border-radius: 5px;
}

/*ZAPOSLENI*/

.zaposleni-all{
    background-color: rgba(255, 255, 255, 0.75);
}

.zaposleni-all h4,
.zaposleni-all h4:hover{
    color: var(--main-red)!important;
}

.color-main-var {
    color: var(--main-red);
}

/*PRETRAGA*/

.no-results-page{
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
}

.no-results-page div{
    min-height:100%;
}

.no-results-page > div > div{
    display: flex;
    align-items: center;
}

.no-results-page h3 {
    font-size: 2.4rem;
    max-width: 120rem;
}

.no-results-page .btn.btn-main{
    background-color: var(--main-red);
    color: var(--white-text);
    font-size: 1.6rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.no-results-page .btn.btn-main2{
    background-color: var(--dark-gray);
    color: var(--white-text);
    font-size: 1.6rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
}

/*404*/

.message-404{
    min-height:100%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .message-404 > div div{
    min-height:100%;
} */

.message-404 > div > div > div{
    display: flex;
    align-items: center;
}

.message-404 h3 {
    font-size: 2.4rem;
    max-width: 120rem;
}

.message-404 .btn.btn-main{
    background-color: var(--main-red);
    color: var(--white-text);
    font-size: 1.6rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.message-404 .btn.btn-main2{
    background-color: var(--dark-gray);
    color: var(--white-text);
    font-size: 1.6rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
}

/* MOBILE FIXES */

/*TOP HEADER*/

.main-header-top-mobile{
    display: none;
    background-color: var(--dark-gray);
}

.main-header-top-mobile > div > div > div{
    margin: 0 1rem;
    font-size: 1.6rem;
    /* border-right: 1px solid var(--gray-border); */
    padding: 1rem 2rem 1rem 0;
}

.main-header-top-mobile > div > div > div:last-child{
    /* margin: 0 0 0 1rem; */
    border-right: none;
    padding: 1rem 0;
}

.main-header-top-mobile > div > div > div a{
    color: var(--white-text);
}

@media screen and (max-width:767px){
    .main-header-top{
        display: none;
    }
    .main-header-top-mobile{
        display: block;
    }
}

/*LOGO AND MENU*/

.header-mobile-menu{
    display: none;
    color: var(--white-text);
    font-size: 3.2rem;
}

@media screen and (max-width:1199px){
    .main-header-bottom > .container > .row{
        justify-content: center!important;
    }
}

@media screen and (max-width:991px){
    .main-header-bottom > .container > .row{
        flex-direction: column;
        align-items: center;
    }
    #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;
    }
    #navbarNavDropdown > ul.navbar-nav{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }
    #navbarNavDropdown > ul.navbar-nav > .nav-item.dropdown{
        display: flex;
        flex-direction: column;
    }
    #navbarNavDropdown > ul.navbar-nav > .nav-item.dropdown > .dropdown-menu > .dropdown-submenu{
        flex-direction: column;
    }
    .header-mobile-menu{
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 3.2rem;
    }
    .dropdown-menu{
        background-color: var(--main-red);
        border: 1px solid rgba(255,255,255,.15);
    }
    .main-header-bottom .navbar a.dropdown-item{
        color: var(--white-text)!important;
    }
    .dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover{
        background-color: var(--main-red);
    }
    .edukom-links > div > a > span {
        display: none;
    }
}

@media screen and (max-width:767px){
    .edukom-links > div > a > span {
        display: initial;
    }
    .edukom-links > div > a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .edukom-links > div > a > img {
        margin: 1.6rem 3rem 1.6rem 0;
    }
}

/*SLIDER*/

#slider{
    /* max-width: 144rem; */
    width: 100%;
    margin: 0rem auto 3rem;
    max-height: 50rem;
    background-color: #2b3743;
}

.carousel-inner {
    max-height: 50rem;
    border-bottom: 5px solid var(--main-red);
    z-index: 0;
}

.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: 5.2rem;
    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-small {
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to right, rgba(43,55,67,0.8), rgba(43,55,67,0.6)), url(../images/slider2.jpg) center repeat;
    background-size: cover;
    color: #f7f7f7;
    box-shadow: 0 4px 5px 0px #ccc;
    /* margin-bottom: 5rem; */
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 5px solid var(--main-red);
}

.slider-middle-small-title{
    font-size: 2.8rem;
}

.slider-middle-large-title{
    font-size: 4.2rem;
}

.main-content {
    position: relative;
}

/* .main-content:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.75;
    top: 0;
    z-index: 0;
}

#slider {
    z-index: 1;
} */

.container {
    z-index: 1;
    position: relative;
}

.alert-success {
    font-size: 1.4rem;
    text-align: center;
}

@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 {
        min-height: 30rem;
        max-height: 30rem;
    }
}

@media only screen and (max-width: 419px){
    .carousel-caption div.slider-middle-large-title {
        font-size: 2.0rem;
    }
}