#raspored-timeline .dx-popover-arrow::after {
    background-color: var(--base-theme-color)
}


#raspored-timeline .mbsc-schedule-header-day-today {
    background-color: var(--base-theme-color);
    color: white;
}

#raspored-timeline .mbsc-schedule-time-indicator-time {
    color: var(--base-theme-color);
}

#raspored-timeline .mbsc-schedule-time-indicator-day::before {
    background-color: var(--base-theme-color);
}

#raspored-timeline .mbsc-ios.mbsc-schedule-time-indicator {
    border-color: var(--base-theme-color);
}

#raspored-timeline .radio-button-picker {
    display: flex;
    justify-content: center;
}

    #raspored-timeline .radio-button-picker .md-picker-container {
        display: flex;
        flex-direction: row;
        border-radius: 9999px;
        width: 320px;
    }

    #raspored-timeline .radio-button-picker label {
        margin: 0px 0px;
        border-radius: 9999px;
        padding: 2px 5px;
        background-color: inherit;
        color: black;
        margin: 2px;
        flex: 1 0;
        display: flex;
        justify-content: center;
        transition: background-color 200ms ease-in-out;
    }

        #raspored-timeline .radio-button-picker label:has(input:checked) {
            background-color: white;
        }

#raspored-timeline .md-switching-timeline-view-cont .mbsc-timeline-resource {
    display: flex;
    align-items: center;
}

#raspored-timeline .md-switching-timeline-view-cont .mbsc-timeline-resource-col {
    width: 205px;
}

#raspored-timeline .raspored-timeline-popover .dx-overlay-content {
    border: none;
    background: transparent;
}

#raspored-timeline .mbsc-schedule-item {
    height: 11rem;
}

#raspored-timeline .mbsc-schedule-time-wrapper {
    position: relative;
    width: 4.25em;
    height: 11rem;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    pointer-events: auto;
}

div.div[dx-lookup-box*="'Generacija'"] .dx-texteditor-buttons-container [aria-label=" ms-Icon ms-Icon--Filter"] {
    display: none !important;
}

.md-custom-event-cont {
    font-size: 12px;
    font-weight: 600;
    height: 100%;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    border-radius: 0 10px 10px 0;
    overflow: hidden;
}

.md-custom-event-wrapper {
    position: relative;
    background: rgba(255, 255, 255, .5);
    height: 100%;
    min-height: 135px;
    box-sizing: border-box;
    border-radius: 0 10px 10px 0;
    transition: background .15s ease-in-out;
}

.md-custom-event-details {
    padding: 0 10px;
}

.md-custom-event-title {
    color: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-custom-event-time {
    font-size: 10px;
    color: #404040;
    padding-top: 3px;
}

.md-custom-event-program {
    display: inline-block;
    max-width: calc(100% - 50px);
    color: #eee;
    border-radius: 10px;
    margin: 10px auto 6px 10px;
    padding: 2px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-custom-event-place {
    display: inline-block;
    max-width: 100%;
    color: #eee;
    border-radius: 10px;
    margin: 6px 5px 10px 10px;
    padding: 2px 7px;
    white-space: nowrap;
    overflow: hidden;
}

.md-custom-event-classroom {
    display: inline-block;
    max-width: 100%;
    color: #eee;
    border-radius: 10px;
    margin: 6px 10px 10px 5px;
    padding: 2px 7px;
    white-space: nowrap;
    overflow: hidden;
}

.mbsc-schedule-event-hover .md-custom-event-cont .md-custom-event-wrapper {
    background: rgba(255, 255, 255, .3);
}

.md-custom-event-container {
    display: flex;
}

.md-custom-event-btn.mbsc-button {
    border: 0px;
    position: absolute;
    top: 2px;
    right: 0;
}

.legenda-boja {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    display: inline-block;
}

.legenda-card {
    border: 1px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.details-row {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #fdfdfd;
}

.details-header {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    gap: 10px;
}

.dx-popup-content:has(.details-dogadaj-custom) {
    border-radius: 5px;
    margin: 0px;
    padding: 0px;
}

.details-dogadaj-custom {
    display: flex;
}

.dogadaji-timeline-popover .dx-overlay-content {
    border: none;
    background: transparent;
}

.details-dogadaj-form {
    padding: 10px;
    background: var(--base-bg);
}

hr {
    margin-top: 2px;
    margin-bottom: 10px;
}

#ispit-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

    #ispit-card .card-wrapper {
        width: 400px;
        padding: 10px;
    }

#ispit-card .card {
     margin-bottom: 20px;
     border-radius: 8px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     height: 20rem;
     align-items: center;
     box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.15);
}

#ispit-card .card:hover {
     transform: translateY(-5px);
     box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

    #ispit-card .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: /* #90A4B2 - sivo plava  #A9C8B0 - zelene  #D6D6D6 - siva  #A3C8D8 - nek druga plava */ #F0F0F0;
        color: #333333;
        width: 100%;
        padding-top: 10px;
        min-height: 160px;
        max-height: 160px;
    }

    #ispit-card .card-header {
        font-size: 16px;
        background-color: /*#4B647A- sivo plava #3A5F41 -zenela #5A5A5A -siva  #2C5364 */ #555555;
        width: 100%;
        border-radius: 8px 8px 0px 0px;
        color: white;
        text-align: center;
        padding-bottom: 10px;
        padding-top: 10px;
    }



#ispit-card .card-footer {
    justify-items: center;
    background-color: white;
    width: 100%;
    border-radius: 0px 0px 8px 8px;
}

.card-footer-dates {
    font-weight:bold;
}

#generacija-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#generacija-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

#generacija-card .card-wrapper {
    width: 400px;
    padding: 10px;
}

    #generacija-card .card {
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        height: 14rem;
        align-items: center;
        box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.15);
    }

    #generacija-card .card-header {
        font-size: 16px;
        background-color: #555555;
        width: 100%;
        border-radius: 8px 8px 0px 0px;
        color: white;
        text-align: center;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    #generacija-card .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: #F0F0F0;
        color: #333333;
        width: 100%;
        padding-top: 10px;
        height: 100px;
    }

#generacija-card .card-footer {
    display: flex;
    background-color: white;
    width: 100%;
    border-radius: 0px 0px 8px 8px;
    justify-content: space-between;
    padding: 10px;
    gap: 20px;
}

    #generacija-card .card-footer .btn-footer-left {
        margin-left: 10px;
        width: 100px !important;
        background-color: #b63f33;
    }

    #generacija-card .card-footer .btn-footer-center {
        text-align: center;
        width: 100px !important;
        background-color: #555555;
    }

    #generacija-card .card-footer .btn-footer-right {
        margin-right: 10px;
        width: 100px !important;
        background-color: #b63f33;
    }

#opis-modul .header {
    font-size: 16px;
    background-color: #2580db;
    width: 100%;
    border-radius: 8px;
    color: white;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

#opis-modul .text-card {
    border: 1px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
    justify-content: center;
}

#literatura-modal .literatura-card {
    border: 2px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
}

#literatura-modal .literatura-card .literatura-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

#literatura-modal .literatura-card .literatura-body .btn-download {
     margin-left: auto;
     height: 40px;
}

#ocjena-modal .ocjena-card {
    border: 2px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
}

#ocjena-modal .ocjena-card .ocjena-body {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

#ocjena-modal .ocjena-card .ocjena-body .ocjena-field {
    margin-left: auto;
}

#ocjena-modal .ocjena-card .ocjena-body .ocjena-naziv {
    width: 70%;
}

#predmet-modal .predmet-card {
    border: 2px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
}

#predmet-modal .predmet-card .predmet-body .predmet-naziv {
    text-align: center;
}

#predmet-modal .predmet-card .predmet-body .sati-field {
     display: flex;        
}

#predmet-modal .predmet-card .predmet-body .ishod-card{
    border: 1px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
}

#predmet-modal .predmet-card .predmet-body .ishod-card .ishod-naziv {
    text-align: center;
}

#predmet-modal .predmet-card .predmet-body .ishod-card .sati-ishod-field {
     display: flex;        
}

#predavaci-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 10px;
}

#predavaci-card .card-wrapper {
    width: 400px;
    padding: 10px;
}

#predavaci-card .card {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 14rem;
    align-items: center;
    box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.15);
}

    #predavaci-card .card-header {
        font-size: 16px;
        background-color: #555555;
        width: 100%;
        border-radius: 8px 8px 0px 0px;
        color: white;
        text-align: center;
        padding-bottom: 10px;
        padding-top: 10px;
        min-height: 68px;
        display: flex;
        justify-content: center; /* Horzintalno */
        align-items: center; /* Vertikalno */
    }

#predavaci-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 10px;
    height: 100px;
    background-color: #F0F0F0;
   color: #333333;
}

#predavaci-card .card-footer {
    display: flex;
    background-color: white;
    width: 100%;
    border-radius: 0px 0px 8px 8px;
    justify-content: space-between;
    padding: 10px;
    gap: 20px;
}

#predavaci-card .card-footer .btn-footer-left {
    padding: 5px 10px 5px 10px;
    margin-left: 10px;
    width: 100px !important;
    background-color: #b63f33;
}

#predavaci-card .card-footer .btn-footer-center {
    text-align: center;
    width: 100px !important;
    background-color: #555555;
}

#predavaci-card .card-footer .btn-footer-right {
    margin-right: 10px;
    width: 100px !important;
    background-color: #b63f33;
}

#prisutnost-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

#prisutnost-card .card-wrapper {
    width: 400px;
    height: 8rem;
}

#prisutnost-card .card {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 7rem;
    align-items: center;
    box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.15);
}

#prisutnost-card .card-header {
    font-size: 16px;
    background-color: #b63f33;
    width: 100%;
    border-radius: 8px 8px 0px 0px;
    color: white;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

#prisutnost-card .card-header .prisutnost-edit-btn {
     border-radius: 8px;
     border: 1px solid #ddd;

}

#prisutnost-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 10px;
    height: 100px;
}

#prisutnost-card .card .card-body .sati-field {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

#prisutnost-card .card .card-body .sati-field div {
    flex: 1; /*jednaka sirina za svaki div*/
    display: flex;
    flex-direction: column; 
    align-items: center; 
}


#ocjena-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

#ocjena-card .card-wrapper {
    width: 400px;
    height: 7rem;
}

#ocjena-card .card {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 6rem;
    align-items: center;
    box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.15);
}

#ocjena-card .card-header {
    font-size: 16px;
    background-color: #b63f33;
    width: 100%;
    border-radius: 8px 8px 0px 0px;
    color: white;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

#ocjena-card .card-header .ocjena-edit-btn {
     border-radius: 8px;
     border: 1px solid #ddd;

}

#ocjena-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 10px;
    height: 100px;
}

#ocjena-card .card .card-body .sati-field {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

#ocjena-card .card .card-body .sati-field div {
    flex: 1; /*jednaka sirina za svaki div*/
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

#literatura-predavac-modal {
    position: relative;
    padding-top: 35px;
}

#literatura-predavac-modal .literatura-predavac-card {
    border: 2px solid #ddd;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
}

#literatura-predavac-modal .literatura-predavac-card .literatura-predavac-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

#literatura-predavac-modal .literatura-predavac-card .literatura-predavac-body .literatura-predavac-buttons .btn-download  {
     margin-left: auto;
}

#literatura-predavac-modal .literatura-predavac-card .literatura-predavac-body .literatura-predavac-buttons {
    flex: 1;
    display:flex;
    gap: 10px;
}

.upload-predavaci-literatura-button {
    right: 10px;
    top: 0px;
    padding: 10px;
    position: absolute;
    z-index: 2000;
}























