/*
Theme Name: SANU 2026
Text Domain: SANU
Version: 1.0
Description: SANU tema 2026
Tags:
Author: Aleksandra Arsić, Marko Savić
Author URI: https://www.mi.sanu.ac.rs/
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/

body {
  font-family: "Roboto", sans-serif;
  background-color: #fff; /* #282828!important; */
  font-size: 1em;
}

img {
  max-width: 100%;
}

.main-container {
    padding:0px!important; /* padding fix */
    background-color: #ffffff;
}


/***** HAMBURGER *****/

.nav-toggle {
  top: 16px;
  right: 16px;
  z-index: 1;
  opacity: 1;

}

.nav-toggle-left {
  right: auto;
  left: 32px;
}

.nav-toggle button, .nav-hide {
  font-size: 2.5em;
  padding: 0 10px;
  color: #fff;
  background-color: #495666; /* #56768c - PREMA PowerPoint-u */ 
}

.nav-toggle .btn:hover, .nav-toggle .btn:focus, .nav-toggle .btn:active, .nav-toggle .btn.active,
.sidebar .btn:hover, .sidebar .btn:focus, .sidebar .btn:active
{
  background-color: #495666!important;
  color: #fff;
}

#btn-back-to-top {
  display: none;
  
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
  
  font-size: 2.5em;
  padding: 0 10px;
  background-color: #495666; 
  color: #fff;
}



/***** PRETRAGA I JEZIK *****/
.pretraga {
  height: 60px; 
  border-color: #888;
  color: #606060;
  /*background: transparent;*/
}

.pretraga::placeholder {
  color: #888;
  opacity: 1; /* Firefox */
}

.pretraga::-ms-input-placeholder { /* Edge 12-18 */
  color: #888;
}

.pretraga:focus {
  border-color: #606060;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 8px rgba(73, 86, 102, 0.25);
}


.dropdown {
  border: 1px solid #888;
}
.dropdown button {
  height: 60px; 
  border: none;
}


/***** NAVIGACIJA *****/
.nav-container {
  height: 100%;
  background-color: #495666;
  padding: 19px;
}

.nav-container h1 {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 0.375rem 0.75rem;
}

.nav-container p {
  color: #fff;
  padding: 0.375rem 0.75rem;
}

.nav-container hr {
  background-color: #d8d8d8;
  height: 3px;
}

.nav-container li a {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  width: 100%;
  text-transform: uppercase;
  text-align: left;
}

.nav-container li a.collapsed, .nav-container li a.nosub {
  color: #fff;
  background-color: transparent;
}

.nav-container li a, .nav-container li a:hover, .nav-container li a.active {
  color: #333;
  background-color: #fff;
}

/* DA LI JE OVO E u .Enav greska???? */
.Enav-container li a:hover {
  color: #fff;
  background-color: #455262;  /* 495666 */
}

/***** PODNAVIGACIJA - DRUGI NIVO GLAVNE NAVIGACIJE *****/
.subnav {
  padding: 15px 0 15px 20px;
}
.subnav ul {
  border-left: 2px solid #fff;
  padding-left: 20px;
}

/*
.subnav ul li {
  padding: 12px 0; 
}
*/

.navigacija-separator {
  height: 30px;
  margin: 19px -19px;
  background-color: #d8d8d8;
}


/***** MOB NAVIGACIJA *****/
.sidebar {
  width: 375px;
  background-color: #fff;
  border-left: 1px solid #e5e7eb;
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.5s;
  box-shadow: 0px 0 15px rgba(0, 0, 0, 0.25);
  margin-right: 100px;
  z-index: 1050;
  padding: 16px 32px 32px 32px;
}

.sidebar.collapsed {
    transform: translateX(-120%);
}

.custom-small {
  font-size: 0.9rem;
}



/***** HEADER *****/

.header {
  width: 100%;
  padding: 0 32px;
  margin-bottom: 0px;
}

.header-left {
  background: #495666;
  padding: 19px;
  aspect-ratio: 1.1;
  
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.header-main {
  height: 100%;
  display: flex;
  flex-direction: row;
  border-bottom: 2px solid #4A576633;
  padding-bottom: 20px;
}

/*
.header-main h1 {
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: 400; 
  font-size: clamp(12px, 4vw, 58px);
  line-height: clamp(26px, 6vw, 75px);
  letter-spacing: 0px;

  color: #5C5E64;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 4px;
  align-self: flex-end;
  
}
*/

.header-main .header-title-image {
  width: 450px;
  align-self: flex-end;
  margin-left: 12px;
}

.header-main .header-logo-image {
  width: clamp(250px, calc(33.3vw - 166px), 300px);
  align-self: flex-end;
  margin-top: 12px;
  margin-right: 0px;
}

.content-header {
  width: 100%;
  min-height: calc(170px + 1.5rem);
  padding: 0 64px 20px 64px;
  display: flex;
  align-items: flex-end;
  justify-content: left;
  margin: -32px 0 0 0;

  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 48%,
    rgba(170,170,170,0.5) 100%
  );
}

/***** PAGE NUMBERS *****/
.page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 2px;
  font-size: 16px;
  color: #333;
  background-color: #D8D4D4;
   
}

a.page-numbers {
  text-decoration: none;
  transition: 0.3s ease;
}

span.page-numbers.dots {
  background: none;
  margin: 0 -2px;
}

span.page-numbers.current,
a.page-numbers:hover {
  background-color: #4A5766;
  color: #FFF;
}
a.page-numbers:hover {
  transform: translateY(-2px);
}


/***** FOOTER *****/

footer {
  position: relative;
  z-index: 1;
}

/* fix za ikonice */
.text-muted {
  text-decoration:none;
}

.content-header form {
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 14px;
}

.year-selector{
  min-width: 180px;
  box-sizing: border-box;
  /* padding: 8px 24px; */
  font-weight: 400;
  font-size: 24px;
  color: #333;
  background-color: #fff;
  border: 1px solid #000;
  text-align: center;
  appearance: none;
}

.pagination-box {
    text-align: right;
    margin-top: 0;
    margin-bottom: 16px;
}


/****** DRUGI NIVO CONTENT *****/

.drugi-nivo-content {
  padding: 0px 64px;
  margin-bottom: 32px;
}
.drugi-nivo-content p{
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -2%;
}

.drugi-nivo-content > h2 {
  letter-spacing: 0px;
  padding-left: 64px;
  padding-bottom: 20px !important;
  margin: 30px -64px !important;
  border-bottom: 2px solid #4A57664D;
  text-transform: uppercase;
}


.drugi-nivo-content .members-filter-list {
    column-count: 2;
    column-gap: 100px;
    text-align: left;
}

.drugi-nivo-content .members-filter-list a {
    display: block;
    color: #333 !important;
}


.members-filter-list p > br {
    display: none;
}

.drugi-nivo-content .projekti-two-cols {
    column-count: 2;
    column-gap: 100px;
    text-align: left;
}

/* **** GALERIJA FIX **** */
.tos-wrapper { background-color: #000!important; }


/* R E S P O N S I V E */

/* XL */
@media screen and (min-width: 1200px) {
  .header-main {
    margin-left: 32px;
    padding-bottom: 28px;
  } 
}

/* up to XL */
@media screen and (max-width: 1199px) {
  .header-main .header-logo-image {
    width: clamp(100px, 25vw, 240px);
    margin-right: 72px;
  }
}

/* LG */
@media screen and (min-width: 992px) {
    
  .header-hero {
      margin-bottom: 32px;
  }
  
  .nav-toggle-inner{
    right: 32px;
  }
  #btn-back-to-top {
    right: 32px;
    bottom: 32px;
  }
  
  
  .glavni {
    padding: 32px 32px 0;
  }
  footer {
    margin:0 32px 32px;
  }
}



/* MD - (mobilni, tablet) */
@media screen and (max-width: 991px) {
  
  .nav-toggle-left {
    left: 16px;
  }
  
  .header-main .header-title-image {
    width: clamp(400px, calc(22vw + 227px), 450px);
     
  }

  
  /* за carousel од 576px до 992px: */
  #carouselControls-vesti-SM-LG .carousel-item .col-sm-6 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
  
  .carousel-control-prev, .carousel-control-next {
    margin: 0 -0.5rem ;
  }
  
  .vesti-gutter {
    --bs-gutter-x: 1.5rem;
  }

  
  .header-hero {
      margin-bottom: 16px;
  }
  .header {
    padding: 0 16px;
    margin-bottom: 16px;
  }
  
  .glavni {
      padding: 16px 16px 0;
  }
  footer {
      margin: 0 16px 32px;
  }
  
  

}



@media (max-width: 767px) {
  
  .header-main .header-title-image {
    width: calc(62vw - 78px);
     
  }
  
  .content-header {
    padding-left: 32px;
    padding-right: 32px;
    min-height: calc(120px + 1rem);

  }
  .content-header form {
    margin-bottom: 4px;
  }
  
  .drugi-nivo-content {
    padding: 0px 12px;
    margin-bottom: 16px;
  }
  .drugi-nivo-content h2 {
    margin: 30px 0px !important;
    padding-left: 0px;
  }
  
  
    .year-selector {
        font-size: 18px;
        width: fit-content;
        min-width: 80px;
        /* padding: 4px 8px; */
    }

}


/* SX - (mobilni) */
@media screen and (max-width: 575px) {   
  .header-main {
    min-height: 100px; 
    padding: 16px 0 20px 0;
  } 
 
  .header-main .header-title-image {
    width: clamp(190px, calc(85vw - 80px), 300px);
    margin: auto 0 0 12px;
  }
  
  .content-header {
    min-height: 76px;
    align-items: center;
    padding: 0 32px;
  }
  .content-header h1 {
    margin: 0;
  }
  .content-header form {
    margin-bottom: 0;
  }
  
  .drugi-nivo-content .members-filter-list {
    column-count: 1;
  }
  .drugi-nivo-content .projekti-two-cols {
    column-count: 1;
  }

  #carouselControls-vesti-XS .col-12 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }



}


/* SUPER SMALL *
@media (max-width: 424px) {

  .header-main-xxs {
    display: flex;
    align-content: center;
    height: 100%;
    min-height: 100px; 
    display: block;
    border-bottom: 2px solid #4A576633;
    padding: 16px 0;
  }
}

*/


/* STARI/NOVI FIX */
@media screen and (min-width: 1600px) {
  .main-container { width: 1600px; }
  
}









