body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    font-family: 'Ubuntu', sans-serif;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    footer, .linkovi {
        margin: 0 auto;
        right: calc(50% - 98px);
    }
}


/* --------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* Fonts import */

@font-face {
  font-family: 'Nunito-black';
  src: url('../fonts/Nunito-Black.ttf');
}
@font-face {
  font-family: 'Nunito-Bold';
  src: url('../fonts/Nunito-Bold.ttf');
}

@font-face {
  font-family: 'Nunito-SemiBold';
  src: url('../fonts/Nunito-SemiBold.ttf');
}

@font-face {
  font-family: 'Nunito-Regular';
  src: url('../fonts/Nunito-Regular.ttf');
}

@font-face {
  font-family: 'Nunito-Light';
  src: url('../fonts/Nunito-Light.ttf');
}


/*Scroll style*/
 ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ededed;
        }

    ::-webkit-scrollbar {
        width: 8px;
        background-color: #F5F5F5;
        }

        ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #ccc;
        }

    ::-webkit-scrollbar-thumb:hover {
        border-radius: 10px;
        background-color: #c4c4c4;
        }







*{   
    font-family: 'Nunito-Regular';
}

.title {
    font-size: 1.15em;
    color: white;
    text-align: center;
    margin: 0px 20px;
    max-width: 1100px;
}

@media (min-width: 1400px) {
	.title {
	    max-width: 1400px;
    }
}

.main-content-wrapper{
    height: 100vh;
    width: 100vw;
    position: relative;
}
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: calc(100vh - 40px);
    padding: 30px 20px 10px 20px;
    overflow-y: auto;
}


@media screen and (max-width: 992px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.main-content {
    display: block;
}
.title {
    max-width: none;
}
}


.krugovi-group{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden auto;
    max-width: 1105px;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
}

.linkovi {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
	margin-top:  40px;
}

.linkovi {
    color: white;
    vertical-align: middle;
    font-size: .8rem;
    letter-spacing: 1.2px;
    text-decoration: none;
}

.linkovi img {
    height: 60px;
}

.linkovi p {
    margin-left: 15px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.linkovi.edukom-img img {
    max-height: 48px;
}

.edu-logo {
    /* width: 25%; */
    position: relative;
    text-align: center;
    margin: 20px 30px 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .edu-logo, .title {
    position: relative;
    bottom: 6%;
} */

.logo {
    display: block;
    width: 161px;
    height: auto;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);;
}

.vodic {
    display: flex;
    align-items: center;
    z-index: 3;
}

.social {
    display: flex;
    align-items: center;
    z-index: 3;

}

.social img, .vodic img {
    /*filter: brightness(0) invert(1);*/
    max-height: 30px;
}

.vodic img {
   /* filter: brightness(0) invert(1);*/
    max-height: 54px;
}

.edukom-img img {
   /* filter: brightness(0) invert(1);*/
}

.social img:hover, .vodic img:hover, .edukom-img:hover img {
    filter: unset;
}

.social .linkovi:not(:last-child) {
    margin-right: 25px;
}


.portal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-top: 5px;
}

.opis {
    text-align: center;
    color: white;
    margin: 0;
    max-width: 210px;
    color: #e3ecf0;
}

.opis a{
    color: #e3ecf0;
    text-underline-offset: 2px;
}
.opis a:hover{
    color: #fff;
    font-family: 'Nunito-SemiBold';
}

.hi-icon:hover .logo {
    filter: none;
}

.edu-logo:hover ~ p {
    opacity: 1;
}

.ministarstvo {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    margin: auto;
}

#obavjest {
    color: white;
    font-family:"Istok Web", sans-serif;
    margin: 0 50px;
    max-width: 1530px;
}

#obavjest a:link, #obavjest a:active, #obavjest a:hover, #obavjest a:focus {
    text-decoration: none
}

#obavjest a {
    color: white;
}

.gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(270deg, #22d9aa, #114b6f, #701654);
    background-size: 600% 600%;
    -webkit-animation: AnimationName 10s ease infinite;
    -moz-animation: AnimationName 10s ease infinite;
    animation: AnimationName 10s ease infinite;
    opacity: .8;
}
.footer-bottom {
	max-width: 1105px;
	width: 90%;
	margin-top: 10px;
	border-top: 1px solid rgba(255,255,255,0.3);
	padding-top: 10px;
	display: flex;
    overflow: hidden auto;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

@media (max-width: 960px) {
    .title {
        font-size: 1em;
    }

    body {
        height: 100%;
        width: 100%;
        overflow: hidden auto;
    }

    .krugovi {
        margin: 0;
        overflow: unset;
        margin-bottom: 40px;
    }

    .gradient {
        position: fixed;
    }

    .logo-container {
        position: relative;
        padding: 25px 0;
    }

    .social {
        position: relative;
        left: 0;
        bottom: 0;
        margin-bottom: 20px;
        width: unset;
    }

    .social ~ .linkovi {
        order:1;
    }

    .vodic {
        position: relative;
        right: 0;
        bottom: 0;
        margin-bottom: 25px;
    }

    .edukom-img {
        max-width: 201px;
    }
}

@media (min-width: 1100px) {
	.krugovi {
	    margin-top: 30px;
    }
}

/* Effect 1a */
.hi-icon-effect-1a .hi-icon:hover {
	background: rgba(255,255,255,1);
	color: #41ab6b;
}

.hi-icon-effect-1a .hi-icon:hover:after {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

@media(max-width: 1300px){
    .edu-logo{
        transform: scale(0.8);
        margin-bottom: -15px;
    }
    .portal{
        padding-top: 0px;
    }
}


/* Modal bottom */
.modal-bottom{
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 10;
}

.modal-options-wrapper{
    padding: 40px;
    background-color:  #fff;
    border-top-left-radius: 10px ;
    border-top-right-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    margin: 0 auto;
    width: fit-content;
    min-width: 700px;
    position: relative;
    box-shadow: 0px 5px 50px rgba(24,22,24,0.3)
}


.modal-option{
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius:  10px;
    border:  2px solid #6EBAB3;
    color: #6EBAB3;
    padding:  10px 30px;
}


.modal-option i{
   font-size: 0px;
   transition: all .2s ease-out;
}
.modal-option-logo{
    height: 52px;
}

.modal-option:hover {
    border-color:  #00537a;
}
.modal-option:hover i{
    color:  #00537a;
    font-size: 20px;
    transition: all .2s ease-out;
    margin-left:  20px;
}

.modal-close{
    position: absolute;
    top:  15px;
    right:  15px;
    color: #c4c4c4;
}

.modal-close i{
    font-size: 16px;
}

.modal-close:hover{
    cursor: pointer;
}

.modal-close:hover i{
    color:  #7b7b7b;
}
@media(max-width: 860px){
    .modal-options-wrapper{
        border-radius: 0;
    }
}

@media(max-width: 768px){
    .modal-options-wrapper{
        flex-direction: column;
        gap: 25px;
        padding:  50px 30px;
        min-width:  unset;
        width: calc(100% - 60px);
    }
    .modal-option i{
     font-size: 20px;
   
}
    .modal-close{
        top: 10px;
        right: 10px;
    }
    .modal-option{
        min-width:  200px;
        justify-content: space-between;
    }
	.footer-bottom {
		display: flex;
		flex-direction: column;
}
	.col-3 {
    	width: 100%;
		display: flex;
		justify-content: center;
	}
}


#eduis-modal, #edukom-modal{
    position: fixed;
    bottom: -100%;
    transition: all .3s ease;
}

.slideUpClass{
  bottom: 0!important;
  transition: all .3s ease;
}

@media(min-width: 769px){
	.col-3 {
    width: 33%;
	}
}


/* Modal center */
.modal-center{
    position: absolute;
    top: 50%;
    left:  50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: none;
    max-height: 100vh;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    min-width: 600px;
    box-shadow: 0px 5px 50px rgba(24, 22, 24, 0.3);
}

.modal-center .modal-options-wrapper{
    border-radius: 10px;
    }


.show{
   display:  block;
}

.modal-content{
    overflow-y: auto;
    margin: 20px 0px 10px 0px;
    padding: 0px 20px;
    max-height: calc(100vh - 30px);
}

 @media(max-width: 768px){
   .modal-center{
    width: 100vw;
    height: 100vh;
    border-radius: 0px;
    min-width: unset;
    padding: 0px;
   } 
   .modal-center .modal-close {
    top: 20px;
    right: 20px;
  } 
  .modal-content{
    margin: 50px 0px 0px 0px;
    padding: 0px 20px;
    max-height: calc(100vh - 50px);
}

 } 


.srednje_skole-btn{
   text-decoration: underline;
    text-underline-offset: 2px;
}

.srednje_skole-btn:hover{
   cursor: pointer;
   font-family: "Nunito-Semibold";
}

#srednje_skole-modal .modal-options-wrapper{
    display: block;
    }
#srednje_skole-modal p{
   font-size: 18px;
    }

#srednje_skole-modal p span{
    font-family: "Nunito-Bold";
    font-size: 20px;
    margin-right: 5px;
 }
 .modal-heading{
    font-size: 22px;
    margin: 0px 0px 30px 0px;
    font-family: "Nunito-Regular";
}

 .modal-heading span{
    color: #7A185D;
}


@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.social .linkovi{
    height: 50px;
    max-height: 50px;
}

.footer-item{
    margin: 0px 20px;
}
.modal-options-wrapper{
    border-radius: 0px;
    justify-content: center ;
}
.modal-option{
   margin: 20px;
}
}
        