@font-face {
    font-family: PoiretOne;
    src: url('PoiretOne-Regular.ttf');
    font-style: normal;
    font-weight: normal;
}

/******* OMOTAC SADRZAJA ******/
#glavni_omotac{
    width: 1000px;
    margin: auto;
    min-height:100%;
    position: relative;
}

/****** DEKORACIJA *********/
#dekoracija{
    /*
    background-image: url("../images/sarica.gif");
    */
    /*
    background-image: url("../images/Personae_logo.jpg");
    */
    background-image: url("../images/Personae_project_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /*
    background-image: url("../images/dots.png");    
    height: 56px;
    */
    
    height: 150px;
    width: 100%;
    
    /*
    background-repeat: repeat-x;
    */
}


/****** NASLOV *********/
#naslov{
    text-align: center;
    font-weight: bold;
    font-family: 'PoiretOne', cursive;
    letter-spacing: 2px;
    font-size: 60px;
    color: #444444;
}

/****** NASLOV MALI *********/
/*
#naslov2{
    text-align: center;
    font-weight: bold;
    font-family: 'PoiretOne', cursive;
    letter-spacing: 2px;
    font-size: 30px;
    color: #444444;
}
*/

/****** NAVIGACIJA ******/
.ui-corner-all{
    border-width: 0px;
    padding: 0px;
}
.ui-tabs .ui-tabs-nav {
    border-width:0px;
    background-color: #FFFFFF;
    border-bottom-width: 6px;
    border-bottom-color: #1D656E;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding:0px;
}

.ui-tabs .ui-tabs-nav li{
    text-transform: uppercase;
    font-size: 14px;
    border-top-right-radius: 20px;
    border-color: #1D656E;
    margin-right: 5px;
}

/* za postavljanje boje jednog tab-a */
.ui-tabs .ui-tabs-nav li:nth-child(1){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li:nth-child(2){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li:nth-child(3){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li:nth-child(4){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li:nth-child(5){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li:nth-child(6){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li:nth-child(7){
    background-color: #1D656E;
}

.ui-tabs .ui-tabs-nav li a{
    color: #FFFFFF;
}

/******** PODESAVANJA SVIH KARTICA */
#kartice{
    padding-bottom: 50px;
}

#o_kursu, #obaveze_studenata, #predavanja, #vezbe, #vezbel, #obavestenja,
#kutak_dobre_namere, #about, #participants, #organization, #program, #events  {
    border: 2px dotted #1D656E;
    border-top-width: 0px;
    /*height: 3600px;*/
    height: 6000px;
    font-size: 15px;
    color: #444444;
}

/*** promeniti height svojstvo za promenu velicine kartica ***/
#vezbe, #vezbel, #obavestenja{
    height: 2500px;
}


/*** promeniti height svojstvo za promenu velicine kartica ***/
#obavestenja{
    height: 9000px;
}

/*** dodala Jovana: promeniti height svojstvo za promenu velicine kartica ***/
#vezbe{
    height: 3600px;
}

/******** O KURSU ***************/
#o_kursu ul{
    list-style-type: square;
}

#o_kursu ul a{
    text-decoration: none;
}

#o_kursu ul a:hover{
    cursor: pointer;
    text-decoration: underline;
}

/*****  OBAVESTENJA ***********/
.obavestenje{
    border-bottom: 1px solid #1D656E;
    color: #444444;
    padding: 10px;
}

.obavestenje .datum_objavljivanja{
    padding:0px;
    margin:0px;
    font-size: 10px;
    text-align:right;
}


/******* POJEDINACNI CASOVI VEZBI I PRAKTIKUMA *******/
.cas{
}

.cas h4.naslov{
    font-weight: bold;
    margin-bottom: 0px;
}
.cas ul{
    margin-top: 0px;
}
.cas ul li{
    list-style-type: square;
}

.cas a:link, .cas:visited, .cas:active{
    text-decoration: none;
}
.cas a:hover{
    cursor: pointer;
    text-decoration: underline;
}


/********* DNO STRANE *******/
#podnozje{
    text-align: center;
    height: 45px;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-top: 5px;
}

#podnozje .matf{
    font-family: 'Tahoma', sans-serif;
    font-size: 15px;
    text-align: center;
    color: #444444;
}


.mali_naslov_sekcije{
    font-weight: bold;
}

ul li{
    list-style-type:square;
}

ul li a{
    text-decoration: none;
}

ul li a:hover{
    text-decoration: underline;
    cursor: pointer;
}

/********* UPUTSTVA *******/

#uputstva{
	border: 2px dotted #1D656E;
    font-size: 15px;
    color: #444444;
    font-family: 'Tahoma', sans-serif;
    padding-bottom: 50px;

}
.uputstvo{

  padding: 0px 20px 0px;
}

.uputstvo h4, .uputstvo h2{
	color: #1D656E;
}

.uputstvo p{
    text-align: justify;
}

/* image grid za personae stranicu */

.image-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-gap: 20px;
            max-width: 800px;
            margin: 0 auto;            
        }

.image-container {

            text-align: center;
/*
            position: relative;
            width: 100%;
            padding-bottom: 100%; 
            text-align: center;
 */           
        }
.image-wrapper {
            width: 100%;
            padding-top: 100%; /* Makes the height the same as the width */
            position: relative;
            max-width: 250px;
            margin: 0 auto;
        }
.image-wrapper img {

            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            
            height: 100%;
            /*
            padding-bottom: 100%; 
            
            aspect-ratio: 1 / 1; 
            */
            object-fit: cover; 
            
            border-radius: 8px;
            
        }                
 .caption {
            font-size: 14px;
            color: #555;
            margin-top: 10px;
        }                

.container {
    display: flex;
    align-items: stretch;
    /*
    height: 100%;
    */
}

.images {
    display: flex;
    flex-direction: row; 
    flex-basis: 50%; 
    margin-right: 20px; /* Space between images and the list */
    height: 100%; /* Stretch to fill container height */
    /*
    justify-content: flex-start;
    */
    justify-content: center;
}


/* Make images responsive */
.images img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Make sure images fit within the max width */
}

.list {
    flex-basis: 50%; /* Take up 50% of the row width */
    list-style-type: disc; /* Default bullet style */
    padding-left: 20px; /* Indent the list items */
    height: 100%; /* Stretch to fill container height */
    overflow-y: auto; /* Add scrolling if the list is too long */
}
        
/* Responsive layout for smaller screens */
        @media (max-width: 600px) {
            .image-grid {
                grid-template-columns: repeat(2, 1fr); /* Two images per row on mobile */
            }
        }
        @media (max-width: 400px) {
            .image-grid {
                grid-template-columns: 1fr; /* One image per row on very small screens */
            }        

