@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css?family=Oswald:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

html, body {
    font-family: 'Oswald',  sans-serif;
}

.fa, .fas {
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
}

.sidebar {
    font-family: 'Open Sans', sans-serif;
    background: #EBEBEB;
}

.content-block {
    font-family: 'Open Sans', sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #034899;
    border-color: #034899;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1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4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.header-block {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2em;
    padding: 15px;
    color: #034899;
}

.content-block {
    min-height: 75vh;
}

.exists-1, .color-1, .status-1 {
    background: #FFA500;
}
.exists-2, .color-2, .status-2 {
    background: yellow;
}
.exists-3, .color-3, .status-3 {
    background: #561D5E;
    color: white;
}

.exists-3:hover {
    color: white !important;
}
.exists-4, .color-4, .status-4 {
    background: #72CC50;
}
.exists-5, .color-5, .status-5 {
    background: grey;
}
.exists-6, .color-6, .status-6 {
    background: #ffa5a1;
}
.exists-7, .color-7, .status-7, .exists-7:hover, .color-7:hover, .status-7:hover, .exists-7:hover td {
    background: blue;
    color: white !important;
}

.exists-99, .color-99, .status-99 {
    background-image: linear-gradient(45deg, #f2f2f2 25%, transparent 25%), linear-gradient(-45deg, #f2f2f2 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f2f2f2 75%), linear-gradient(-45deg, transparent 75%, #f2f2f2 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    font-style: italic;
}

.exists-100, .color-100, .status-100 {
    background-color: lightgreen;
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    font-style: italic;
}

/* Quote suggestions - orange with diagonal stripes to distinguish from regular courses */
.exists-101, .color-101, .status-101 {
    background: repeating-linear-gradient(
        45deg,
        #FFA500,
        #FFA500 10px,
        #FFB733 10px,
        #FFB733 20px
    );
    font-style: italic;
    border-left: 4px solid #cc8400;
}

.status-101 .fc-event-title {
    font-weight: bold;
}

.status-5{
    color: white;
}

.exists-1 td, .exists-2 td, .exists-3 td, .exists-4 td, .exists-5 td, .exists-6 td {
    box-shadow: none;
}

.fc-event-main-frame{
    width: 100%;
    padding: 5px;
}

.attendee-list {
    list-style: none;
    padding-left: 0px !important;
}

.attendee-list li {
    list-style-position: inside;
    border-bottom: 1px dotted black;
    padding-bottom: 5px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

    .attendee-list li > div.content {
        display: block;
        flex: 1;
    }

    .attendee-list li > input, .attendee-list li > span {
        flex: 0 0 40px;
    }

    .attendee-list li input.date {
        width: 175px;
        display: inline-block;
        margin-top: 5px;
    }

    .attendee-list li input.text, .attendee-list li select, .attendee-list span.header {
        width: 275px;
        display: inline-block;
        margin-top: 5px;
    }

        .attendee-list li input[type="checkbox"], .attendee-list span.buffer {
            width: 15px;
            height: 15px;
            display: inline-block;
            margin-right: 5px;
        }

span.header{
    font-weight: bold;
}

.course-list {
    margin: 15px;
}

    .course-list a {
        text-decoration: none;
        font-weight: bold;
    }

.customer-participants{
    min-width: 700px;
    margin: 10px;
}

.customer-participants td {
    padding: 5px;
}

.customer-participants th {
    text-align: center;
}

.certificate-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.certificate-actions .certificate-downloads {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.certificate-actions .certificate-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.certificate-actions .extra-language-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.certificate-actions .extra-language-group .form-select {
    width: auto;
}

.certificate-actions .certificate-row-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.certificate-actions .certificate-row-icons .oi-pencil {
    color: #044899;
    cursor: pointer;
}

.certificate-actions .certificate-row-icons .oi-trash {
    color: red;
    cursor: pointer;
}

.timepicker > select, .timepicker > div {
    display: inline-block;
}
.timepicker > div {
}

    .timepicker > select {
        width: 200px;
    }

.timepicker input {
    width: 200px;
    display: inline-block;
}

.link {
    cursor: pointer;
    margin-left: 10px;
}


.customrow {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

    .customrow > div {
        flex: 1;
    }


.file-input-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0066bb;
    background-color: white;
    color: #0066bb;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    width: auto;
    padding: 10px;
    /*border-radius: 5px;*/
    /*height: 38px;*/
}

    .file-input-zone:hover {
        background-color: #0066bb;
        color: white;
        cursor: pointer;
    }

    .file-input-zone > input {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.oi-trash{
    color: red;
    cursor: pointer;
}

.calendar {
    margin: 10px;
}

.legend {
    display: flex;
    width: 100%;
}

.legend > div {
    flex:1;
    text-align: center;
}

.legend > div > span.square {
    padding-left: 20px;
    margin: 10px 5vw;
    border: 1px solid black;
    display: block;
}

.static-table {
    width: 100%;
    margin: 0;
}

    .static-table th {
        background-color: #034899;
        color: white;
        font-weight: bold;
        padding: 5px;
    }

    .static-table td {
        padding: 5px;
    }

    .static-table tr.even > td {
        background-color: whitesmoke;
    }


table.table th, table.table thead, table.table thead > tr, table.table tbody, table.table td {
    border: none !important;
}

table.table tr {
    border-top: 2px solid whitesmoke;
    border-bottom: 2px solid whitesmoke;
}

table.table th {
    color: gray;
    font-family: 'Open Sans', sans-serif;
}

table.table thead input {
    width: 400px !important;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
}


.ora-btn {
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    -webkit-appearance: none;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    margin-left: 5px;
    background-color: #fce900;
    color: #034899;
    cursor: pointer;
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 100%;
    padding: 9px 22px;
    text-transform: uppercase;
    transition: all .1s ease;
}

    .ora-btn:hover {
        background-color: #fff;
        color: #034899;
    }

    .static-table > thead:first-child th {
        background-color: transparent;
    }
.static-table > thead.header th {
    background-color: #034899 !important;
}


.ui-datepicker {
    z-index: 10000 !important;
}

.validation-errors {
    background: red;
    padding: 15px;
    border: 1px solid #dc3545; /* Add a red border for better visibility */
    border-radius: 4px; /* Rounded corners */
    list-style-type: none; /* Remove the default bullet points */
    margin: 0; /* Remove any default margin */
    margin-bottom: 10px; /* Add some space between error messages */
}

.validation-message {
    color: red; 
    font-weight: bold;
}

.validation-errors > .validation-message {
    color: white;
    font-weight: normal;
}

.practical-exam-table {
    width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.practical-exam-table td {
    border: 1px solid black;
    padding: 3px;
}


    .practical-exam-table td:last-child {
        text-align: right;
        cursor: pointer;
    }

    .keyboard > button {
        padding: 10px 15px;
    }

.keyboard > button.active {
    background-color: green;
}

.grey {
    background-color: grey;
}

.red {
    color: red;
}

.green {
    color: green;
}

.black {
    color: black;
}

.abscent {
    text-decoration: line-through;
}

.tox-promotion, .tox-statusbar__branding {
    display: none !important;
}

/* Custom Blazor reconnection modal styles - COMMENTED OUT to use default Blazor behavior */
/*
.components-reconnect-hide {
    display: none !important;
}

.components-reconnect-show {
    display: block !important;
}

.components-reconnect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9998;
}

.components-reconnect-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-align: center;
    min-width: 300px;
}

.components-reconnect-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #034899;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.components-reconnect-title {
    color: #034899;
    margin: 0 0 0.5rem 0;
    font-family: 'Oswald', sans-serif;
}

.components-reconnect-message {
    color: #666;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}
*/