﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 0px;
    margin: 0px;
    height: 100vh;
}

h1:focus {
    outline: none;
}

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

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

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.user-avatar {
    color: white !important;
    border-color: white !important;
    margin-right: 5px;
}


#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkw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0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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


/* Allow complex items in navbar */
.nav > li > div.navGroup {
    position: relative;
    display: block;
    padding: 10px 15px;
}

    .nav > li > div.navGroup:hover,
    .nav > li > div.navGroup:focus {
        text-decoration: none;
        background-color: #eeeeee;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.deadline-glyphicon {
    font-size: 25px;
}

/*.table .row-middle td {
    vertical-align: middle;
}*/

#deleteModalLabel {
    color: white;
}

.modal-header-danger {
    background: #cf2127;
    color: white;
}

modal-footer-secondary {
    background: #ddd;
}

/*@media screen and (min-width: 768px) {
    .modal-dialog {
        position: absolute;
        left: 50%;
        margin-left: -312px;
        right: auto;
        width: 624px;
    }
}*/
.overflow-ellipsis {
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.col-md-1-max {
    max-width: 78px;
}

.col-md-2-max {
    max-width: 156px;
}

.col-md-3-max {
    max-width: 234px;
}

.thead-gray-bg {
    background-color: gainsboro;
}

.gly-spin {
    -webkit-animation: spin 2s infinite linear;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.en {
    color: blueviolet;
}

.small-button {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

/*.large-modal {
    width: 800px;
    margin-left: -400px;
}*/

.padding-right-15 {
    padding-right: 15px;
}

.padding-right-10 {
    padding-right: 10px;
}

.checkbox {
    padding-left: 20px;
}

    .checkbox label {
        display: inline-block;
        position: relative;
        padding-left: 5px;
    }

        .checkbox label::before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 17px;
            height: 17px;
            left: 0;
            margin-left: -20px;
            border: 1px solid #cccccc;
            border-radius: 3px;
            background-color: #fff;
            -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        }

        .checkbox label::after {
            display: inline-block;
            position: absolute;
            width: 16px;
            height: 16px;
            left: 0;
            top: 0;
            margin-left: -20px;
            padding-left: 3px;
            padding-top: 1px;
            font-size: 11px;
            color: #555555;
        }

    .checkbox input[type="checkbox"] {
        opacity: 0;
    }

        .checkbox input[type="checkbox"]:focus + label::before {
            outline: thin dotted;
            outline: 5px auto -webkit-focus-ring-color;
            outline-offset: -2px;
        }

        .checkbox input[type="checkbox"]:checked + label::after {
            font-family: 'FontAwesome';
            content: "\f00c";
        }

        .checkbox input[type="checkbox"]:disabled + label {
            opacity: 0.65;
        }

            .checkbox input[type="checkbox"]:disabled + label::before {
                background-color: #eeeeee;
                cursor: not-allowed;
            }

    .checkbox.checkbox-circle label::before {
        border-radius: 50%;
    }

    .checkbox.checkbox-inline {
        margin-top: 0;
    }

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #428bca;
    border-color: #428bca;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-danger input[type="checkbox"]:checked + label::before {
    background-color: #d9534f;
    border-color: #d9534f;
}

.checkbox-danger input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.checkbox-info input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-warning input[type="checkbox"]:checked + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}

.checkbox-warning input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-success input[type="checkbox"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

.checkbox-success input[type="checkbox"]:checked + label::after {
    color: #fff;
}


.padding-0 {
    padding: 0 !important;
}

.search-box form {
    text-align: right;
    padding: 2em;
}

.articles-index .title {
    color: #313131;
}

.articles-index .bold {
    font-weight: bold;
}

.questions-index .title {
    color: #313131;
}

.questions-index .bold {
    font-weight: bold;
}

.questions-index .subtitle {
    display: inline-block;
    font-size: 16px;
}

.questions-index .anchor {
    display: block;
    height: 90px;
    margin-top: -90px;
    visibility: hidden;
}

.questions-index .nav-item {
    display: inline-block;
    padding-right: 2em;
    font-size: 16px;
}

.questions-index .glyphicon {
    padding-right: 5px;
}

.questions-index .collapsed:before {
    content: "\25BA" !important;
}

.questions-index .wrapper {
    padding-bottom: 10px;
}

.questions-index .toggle {
    cursor: pointer;
}

    .questions-index .toggle:before {
        content: "\25BC";
    }

.search-index .title {
    color: #313131;
}

.search-index .bold {
    font-weight: bold;
}

.search-index .preview {
    white-space: nowrap;
    margin-bottom: 2em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper {
    width: 100% !important;
}

.mud-tooltip-root {
    width: 100% !important;
}

.mud-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.mud-main-content {
    padding-top: 12px !important;
}


.mud-tab.mud-tab-active {
    color: white !important;
    background-color: var(--mud-palette-secondary);
}

.mud-tab:hover {
    color: var(--mud-palette-primary) !important;
}

.md-editor {
    height: 80vh !important;
    overflow: scroll;
}

.mud-nav-link-text{
    word-wrap: anywhere !important;
}


.mud-alert-icon{
    align-items: center;
}

.mud-alert-message {
    justify-content: space-between;
    display: flex;
    width: 100%;
    align-items: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #DCDCDC;
    border-bottom-color: #052a4b;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
} 

.column-header{
    font-weight: bold;
}

.mud-nav-item:hover .mud-nav-link-text {
    color: var(--mud-palette-primary);
}

.mud-popover .mud-grid-spacing-xs-6 {
    width: 250px;
}

.disabled-fields-display .mud-input-slot {
    color: var(--mud-palette-text-primary) !important;
}

.disabled-fields-display .mud-input-label {
    color: var(--mud-palette-text-primary) !important;
}

.internship-file-upload div{
    gap: 0 !important;
}

.internship-public-page-layout{
    max-width: 1300px;
    margin: auto;
}

.card {
    border: 1px solid var(--mud-palette-text-primary) !important;
}

.aufinfradatagrid-content .mud-table-container {
    height: 78vh !important; /*TODO*/
    overflow: scroll;
}

.aufinfradatagrid-content-smaller .mud-table-container {
    height: 75vh !important; /*TODO*/
    overflow: scroll;
}

.company-topic-grid .mud-table-container {
    max-height: 200px !important; /*TODO*/
    overflow: scroll;
}

.mud-nav-link{
    padding: 8px 8px 8px 8px;
}

.mud-alert-position{
    align-items: center;
}

/* USED IN PREMIUM PARTNERS PAGE */
.premium-partner-item {
    max-width: 100%;
}

@media (min-width: 600px) {
    .premium-partner-item {
        max-width: 26rem;
    }
}

.premium-partner-card {
    height: 100%;
    transition: all 0.1s ease-in-out;
    border-radius: 2%;
    display: flex;
    flex-direction: column;
}

    .premium-partner-card:hover {
        transform: translateY(-0.5rem);
        box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1) !important;
    }

.premium-partner-media {
    background-color: #f5f5f5;
    padding: 1rem;
    height: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .premium-partner-media.primary-bg {
        background-color: var(--mud-palette-primary);
    }

.primary-bg img {
    filter: brightness(0) invert(1);
}

.selected-navbar-link {
    background-color: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* For absolute positioning of img if needed */
}

    .image-container img {
        max-width: 90%;
        max-height: 10rem;
        object-fit: contain;
        transition: all 0.3s ease-in-out;
    }

.premium-partner-card:hover .image-container img {
    transform: scale(1.1);
}

.premium-partner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: var(--mud-palette-background) !important;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

/* USED IN MARKDOWNS */
details summary {
    margin-left: 15px;
    margin-bottom: 10px; /* Adjust spacing as needed */
}

details p {
    margin-bottom: 10px;
    margin-left: 45px;
}

.faq-table .table-striped > tbody > tr:nth-of-type(2n+1) {
    color: var(--mud-text-color) !important
}


.company-detail-cards {
   border: 3px solid var(--mud-palette-lines-default)
}

.school-union-details-cards {
    border: 3px solid var(--mud-palette-lines-default)
}

.company-contact-assigner-cards {
    border: 3px solid var(--mud-palette-lines-default);
    width: 100%
}

.school-union-contact-assigner-cards {
    border: 3px solid var(--mud-palette-lines-default);
    width: 100%
}

.mud-button{
    text-transform: none;
}

.mud-expand-panel-border {
    border: 1px solid var(--mud-palette-lines-default);
}

.mud-nav-item:hover .mud-nav-link-text {
    color: var(--mud-palette-text-primary);
}

.mud-input{
    padding-left:10px;
}

.topic-title-with-bottom {
    border-bottom: 1px solid var(--mud-palette-text-primary)
}

.semester-picker-max-width-200{
    max-width:200px;
}

.document-row-grid {
    padding-left: 15px;
    padding-right: 15px;
}
