﻿

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --accent-fill-rest: #2b92d0;
    --accent-base-color: #2b92d0;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
    padding-inline: 1.1rem;
    width: 100%;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkg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::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


:root {
    --whiteFont: #eee;
    --blackFont: #333;
    --highContrastFont: #fdfdfd;
    --backgroundDark: #242424;
    --backgroundLight: #fafafa;
    --highContrastDark: #000;
    --pLightGrey: #3d3d41;
    --iconWhite: #fafafa;
    --pIconAccent: #0078d7;
    --pIconWarnning: #c32626;
    --pIconWarnningHover: #a62020;
    --hContrastTxtHighlight: #ffd939;
    --hContrastTxtHover: rgb(104, 87, 8);
    --card: #1b1b1b;
    --text: #eee;
    --padding1: 1rem;
    --padding15: 1.5rem;
    --padding2: 2rem;
    --padding025: .25rem;
    --padding05: .5rem;
    --headerColor: #e1e1e1;
}


body.fabric {
    background-color: var(--backgroundLight) !important;
    color: var(--blackFont);
    --text: var(--blackFont);
    --card: #ffffff;
    --headerColor: #e1e1e1;
}

body.fabricDark {
    background-color: var(--backgroundDark) !important;
    color: var(--whiteFont);
    --text: var(--whiteFont);
    --card: #2d2d2d;
    --headerColor: #2d2d2d;
}

body.highContrast {
    background-color: var(--highContrastDark) !important;
    color: var(--highContrastFont);
    --text: var(--highContrastFont);
    --card: #000000;
    --headerColor: #2d2d2d;
}

/* FluentCard theme-responsive styles */
body.fabric fluent-card,
body.fabric .fluent-card {
    background-color: #ffffff !important;
    color: var(--blackFont) !important;
    --card-background-color: #ffffff;
    --neutral-fill-layer-rest: #ffffff;
}

body.fabricDark fluent-card,
body.fabricDark .fluent-card {
    background-color: #2d2d2d !important;
    color: var(--whiteFont) !important;
    --card-background-color: #2d2d2d;
    --neutral-fill-layer-rest: #2d2d2d;
}

body.highContrast fluent-card,
body.highContrast .fluent-card {
    background-color: #000000 !important;
    color: var(--highContrastFont) !important;
    border: 2px solid #ffffff !important;
    --card-background-color: #000000;
    --neutral-fill-layer-rest: #000000;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: var(--body-font);
    line-height: 1.2em !important;
    font-weight: var(--font-weight);
/*    color: var(--neutral-foreground-rest);
    background: #f7fcff;*/
    /*min-height: calc(100vh - 300px) !important;*/
}


.fieldSetBlank {
    margin-top: var(--padding1);
    padding-bottom: var(--padding1);
    border: none;
}
.formSection {
    display: flex;
    flex-direction: column;
    row-gap: 0.2rem;
    margin-top: var(--padding1);
}
.DialogFormSection {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    margin-top: var(--padding1);
    padding-bottom: 3rem;
}

.inputSizeHalf {
    width: 7rem;
}

.inputSizeOne {
    width: 15rem;
}

.inputSizeOneHalf {
    width: 23rem;
}

.inputSizeTwo {
    width: 31rem;
}

.inputSizeThree {
    width: 47rem;
}

.inputSizeFour {
    width: 69rem;
}

.inputSizeFull {
    width: 100%;
}

.stickyTopShadow {
    position: sticky;
    height: 1rem;
    top: -1.1rem;
    z-index: 1000;
    box-sizing: border-box;
}
.stickyToolbar {
    position: sticky;
    top: 0;
    z-index: 999;
    margin: 0 -1rem;
    padding: 0 1rem;
  /*  background-color: var(--neutral-fill-secondary-rest);*/
    /*box-shadow: var(--elevation-shadow-flyout);*/
}
.pageHeader {
    grid-column: 1 / span 2;
    display: block;
    height: auto;
    padding: var(--padding05) var(--padding05) var(--padding1) var(--padding05);
}
.page {
    display: grid;
    grid-template-columns: minmax(0, max-content) 1fr;
    grid-template-rows: minmax(0, max-content) 1fr;
    min-height: calc(-70px + 100vh);
    width: 100%;
}
.pageWrapper {
    display: block;
    height: 100%;
    width: 100%;
    overflow: auto;
}
.fieldSetRowTop {
    padding-top: var(--padding1);
    margin-top: var(--padding1);
    border-top: 1px solid var(--neutral-stroke-rest);
}
section {
    padding: 0 var(--padding1);
}
article {
    padding-bottom: var(--padding1);
}
.headerTitleWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--padding05);
}
.headerDivider {
    width: 3px;
    height: 80%;
    background-color: var(--accent-base-color);
}
.headerContent {
    display: grid;
    grid-template-columns: minmax(0, max-content) 1fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    column-gap: var(--padding15);
}
.headerIcon {
    align-self: center;
    padding-top: var(--padding025);
}

/*#region Fonts*/
@font-face {
    font-family: 'opendyslexic-regular';
    font-style: normal;
    src: url('../fonts/opendyslexic-regular.otf') format('opentype');
}

@font-face {
    font-family: 'opendyslexic-bold';
    font-style: oblique;
    src: url('../fonts/opendyslexic-bold.otf') format('opentype');
}

@font-face {
    font-family: 'opendyslexic-italic';
    font-style: italic;
    src: url('../fonts/opendyslexic-italic.otf') format('opentype');
}

@font-face {
    font-family: 'opendyslexic-bolditalic';
    font-style: italic oblique;
    src: url('../fonts/opendyslexic-bolditalic.otf') format('opentype');
}

@font-face {
    font-family: 'Material Symbols Outlined';
    src: local('Material Icons'), url('../fonts/MaterialSymbolsOutlined.woff2') format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: 200;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /*Support for all WebKit browsers.*/
    -webkit-font-smoothing: antialiased;
    /*Support for Safari and Chrome.*/
    text-rendering: optimizeLegibility;
    /*Support for Firefox.*/
    -moz-osx-font-smoothing: grayscale;
    /*Support for IE.*/
    font-feature-settings: 'liga';
}

/*#endregion Fonts*/


/*#region Icons*/

.cloudDoneIcon::before {
    content: '\e2bf';
    font-size: 24px;
    color: var(--presence-available);
}

.e-bigger .cloudDoneIcon::before {
    font-size: 28px;
}

.fabricDark .cloudDoneIcon::before {
    color: var(--hContrastTxtHighlight);
}

.highContrast .cloudDoneIcon::before {
    color: var(--hContrastTxtHighlight);
}

.cloudOffIcon::before {
    content: '\e2c1';
    padding: 0.25rem;
    font-size: 24px;
    color: var(--pIconWarnning);
}

.e-bigger .cloudOffIcon::before {
    font-size: 28px;
}

.fabricDark .cloudOffIcon::before {
    color: var(--pIconWarnning);
}

.highContrast .cloudOffIcon::before {
    color: var(--hContrastTxtHighlight);
}

.syncSaveIcon {
    animation: rotation .5s infinite linear;
}

    .syncSaveIcon::before {
        content: '\e627';
        padding: 0.25rem;
        font-size: 24px;
        color: var(--pIconAccent);
    }

.e-bigger .syncSaveIcon::before {
    font-size: 28px;
}

.fabricDark .syncSaveIcon::before {
    color: var(--hContrastTxtHighlight);
}

.highContrast .syncSaveIcon::before {
    color: var(--hContrastTxtHighlight);
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}


.smallIcon1::before {
    content: '1';
    font-size: 12px;
    color: black;
    margin-right: -0.5rem;
    z-index: 999;
    position: fixed;
}

.smallIcon2::before {
    content: '2';
    font-size: 12px;
    color: black;
    margin-right: -0.5rem;
    z-index: 999;
    position: fixed;
}
/*#endregion Icons*/

/*#region MenuBar*/

.menuBar {
    /*display: flex;
    flex-direction: column;
    justify-content: flex-start;*/
    -webkit-align-items: flex-start;
    /*align-items: start;*/
    position: relative;
    width: auto;
    height: 100%;
/*    background-color: whitesmoke;*/
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
}

.hamby {
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    background-color: whitesmoke;
    
    border: none;
    -moz-transition: background-color .1s;
    -o-transition: background-color .1s;
    -webkit-transition: background-color .1s;
    transition: background-color .1s;
}

    .hamby:hover {
        background-color: var(--neutral-layer-1);
    }

.navMenu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: start;
    position: relative;
    width: 44px;
    transition: all 0.1s ease-in-out;
}

    .navMenu.expanded {
        width: 251px;
    }

.navButonsGroup {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: start;
    position: relative;
    width: 100%;
}

.navButton {
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: start;
    height: 44px;
    width: 100%;
    padding-left: 12px;
    background-color: whitesmoke;
    
    border: none;
    -moz-transition: background-color .1s;
    -o-transition: background-color .1s;
    -webkit-transition: background-color .1s;
    transition: background-color .1s;
}

    .navButton:hover {
        background-color: var(--neutral-layer-1);
    }

#marker {
    position: absolute;
    width: 4px;
    height: 44px;
    background-color: var(--accent-base-color);
    transition: all 0.15s ease-in-out;
}
.basicCard {
    height: 200px;
    width: 100%;
    padding: 1rem;
    background-color: var(--neutral-layer-2);
    box-shadow: var(--elevation-shadow-card-rest);
    transition: all 0.2s;
}

    .basicCard:hover {
        background-color: var(--neutral-layer-1);
        box-shadow: var(--elevation-shadow-card-hover);
    }

.position1 {
    top: 0;
}

.position2 {
    top: 44px;
}

.position3 {
    top: 88px;
}

.position4 {
    top: 132px;
}

.position5 {
    top: 176px;
}

.position6 {
    top: 220px;
}

.position7 {
    top: 264px;
}

.position8 {
    top: 308px;
}

.position9 {
    top: 352px;
}

.position10 {
    top: 396px;
}

.position11 {
    top: 440px;
}

.position12 {
    top: 484px;
}

.position13 {
    top: 528px;
}

.position14 {
    top: 572px;
}

.position15 {
    top: 616px;
}

.position16 {
    top: 660px;
}

.position17 {
    top: 704px;
}

.position18 {
    top: 748px;
}

.position19 {
    top: 792px;
}

.position20 {
    top: 836px;
}

.position21 {
    top: 880px;
}

.position22 {
    top: 924px;
}

.position23 {
    top: 968px;
}

.position24 {
    top: 1012px;
}

.position25 {
    top: 1056px;
}

.position26 {
    top: 1100px;
}

.position27 {
    top: 1144px;
}

.position28 {
    top: 1188px;
}

.position29 {
    top: 1232px;
}

.position30 {
    top: 1276px;
}

.position31 {
    top: 1320px;
}

.position32 {
    top: 1364px;
}

.position33 {
    top: 1408px;
}

.position34 {
    top: 1452px;
}

.position35 {
    top: 1496px;
}

.position36 {
    top: 1540px;
}

.position37 {
    top: 1584px;
}

/*#endregion MenuBar*/

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.auto-grid-2-col {
    /* user setting */
    --min-column-size: 150px;
    --column-count: 2;
    --gap: 2rem;
    /* calculations */
    --breakpoint: calc(var(--min-column-size) * var(--column-count) + (var(--gap) * (var(--column-count) - 1)) );
    --column-size: calc((100% / var(--column-count)) - var(--gap));
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat( auto-fit, minmax( min(max(var(--column-size), (100% - var(--breakpoint)) * -999 ), 100%), 1fr) );
}

.profileSection{
    padding-inline: 1rem;
    display: flex;
    gap: 1rem;
}
@media(max-width: 800px){
    .profileSection{
        flex-direction: column;
    }
}
/* Edit dialog od syncfusion grida*/
/*.wide-dialog.e-editing .e-table tbody {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-evenly;
}*/
.e-dialog.e-draggable > .e-dlg-header-content {
    cursor: move;
    width: inherit;
}
.uploaderIcons {
    width: 2rem;
}
.wide-dialog{
    
}

/* Hero section */
/*Otkomentirati ako se koristi stari HeroSection*/
/*.HeroSection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}*/

.hero-item {
    position: relative;
    color: #fff;
    overflow: hidden;
    /*border-radius: 8px;*/
    background-size: 100%;
    background-position: center;
    transition: background-size 0.5s ease;
}
.hero-item:hover {
    background-size: 110%;  /* Slight zoom effect */
}
.hero-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: inherit;
    background-position: inherit;
    transition: transform 0.5s ease;
    z-index: 0;
}
.hero-item:hover::before {
    transform: scale(1.1); /* Background image zoom effect */
}
    .hero-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-item:nth-child(2) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .hero-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-item:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .hero-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

.hero-filter {
   /* position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.filter-1 {
    background: rgb(31 0 53 / 70%); /* Indigo overlay */
    height: 100%;
}

.filter-2 {
    background: rgb(123 33 0 / 70%); /* OrangeRed overlay */
    height: 100%;
}

.filter-3 {
    background: rgb(111 30 0 / 70%); /* DodgerBlue overlay */
    height: 100%;
}

.filter-4 {
    background: rgb(53 71 16 / 70%); /* YellowGreen overlay */
    height: 100%;
}

.filter-5 {
    background: rgb(0 56 57 / 70%); /* DarkTurquoise overlay */
    height: 100%;
}

.filter-6 {
    background: rgb(88 8 24 / 70%); /* Crimson overlay */
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.category {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
}

h2 {
    margin: 10px 0;
}

.author {
/*    font-size: 14px;
    color: #bbb;*/
}

@media (max-width: 768px) {
    .HeroSection {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
    }

    .hero-item {
        grid-column: span 1;
        grid-row: span 1;
    }
}
.seeMoreBtn {
    border-radius: 4px;
    padding: 0.4rem;
    margin-block: 0.2rem;
    color: var(--accent-base-color);
    background-color: var(--neutral-fill-stealth-rest);
    cursor: pointer;
}

    .seeMoreBtn:hover {
        background-color: var(--neutral-fill-stealth-hover);
        color: var(--accent-foreground-hover);
    }


/* End hero section */


/*.e-readonly, .e-readonly .e-multi-select-wrapper .e-delim-values {
    -webkit-text-fill-color: initial !important;
    color: gray !important;
    font-weight: 600 !important;
}
*/



/*  
*/



.TooltipLabel {
    display: flex !important;
    gap: 0.3rem !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.TooltipLabelCourse {
    display: flex !important;
    /*gap: 0.3rem !important;*/
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    /*white-space: nowrap;*/
/*    max-width: 40%;*/
}

.gridButtons{
    display: flex !important;
    align-items: center;
    padding-inline: 8px;
}

.accentColor {
    color: #2b92d0;
}

.NewIcon{
    width: 40px;
    object-fit: contain;
    margin-right: 10px;
}

.e-grid .e-icon-filter.e-filtered::before {
    color: red !important;
}
.e-grid .e-filtered::before {
    color: red !important;
}