@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*dev express fonts*/
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*minglehealth.com fonts*/
    /* font-family: 'Avenir',Helvetica,Arial,sans-serif;*/
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: "Avenir", Helvetica, Arial, sans-serif !important;
    font-size: 15px;
}

* {
    font-family: "Avenir", Helvetica, Arial, sans-serif !important;
}

a {
}

.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;
    }

a {
    font-weight: 550;
}

.footer-razor {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

/*From header.razor.css, moved here to be shared with the auth pages*/
.header-navbar .navbar-toggler {
    outline: none;
    border-radius: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    box-shadow: none;
    align-self: stretch;
    line-height: 2.25;
}

.navbar.header-navbar {
    flex-grow: 0;
    flex-wrap: nowrap;
    border: none;
    background-color: inherit;
    border-radius: 0;
    height: 3.5rem;
    min-height: 3.5rem;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
    justify-content: flex-start;
}

.header-navbar .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    background-color: transparent !important;
    height: 2rem;
    width: 2rem;
}

.inset-effect {
    box-shadow: inset 0px 0px 3px #000000;
    padding: 0;
}

.side-container {
    /*background-color: red;*/ /* Light background */
    border-radius: 8px; /* Rounded corners */
    position: relative;
    width: 305px; /* or any specific width */
    /*padding-top: 56.25%;*/ /* 16:9 Aspect Ratio */
    padding: 0px;
    overflow: hidden;
}

.side-content {
    overflow-y: hidden !important;
}

.resources .card {
    margin-left: 5px;
    margin-right: 5px;
}

.resource-container {
    width: 310px;
    max-width: 310px;
    height: auto;
    overflow: hidden;
    position: relative;
}

    .resource-container a img {
        width: 100%;
        height: auto;
        object-fit: cover;
        This ensures the image covers the area, cropping if necessary
    }

@media (min-width: 768px) { /* targeting medium devices and up */
    .list-group-horizontal-md {
        flex-wrap: wrap; /* this allows items to wrap onto the next line */
    }
}

.highlighted-content-card {
    background-color: #E5B738; /* Light background */
    border-radius: 8px; /* Rounded corners */
    position: relative;
    width: 100%; /* or any specific width */
    /*padding-top: 56.25%;*/ /* 16:9 Aspect Ratio */
    overflow: hidden;
    color: black;
}

.thumbnail-container {
    background-color: #f9f9f9; /* Light background */
    border-radius: 8px; /* Rounded corners */
    position: relative;
    width: 100%; /* or any specific width */
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

    .thumbnail-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* This will cover the area without stretching the image */
    }

.navmenu {
    list-style-type: none
}

    .navmenu .menu-item-level-1 {
        font-size: 18px;
        font-weight: 400;
        padding-top: 5px;
    }

    .navmenu .menu-item-level-2 {
        font-size: 17px;
        font-weight: 400;
        border-bottom-style: solid;
        border-bottom-width: 1px;
    }

    .navmenu a {
        text-decoration: none;
    }

    .navmenu .menu-item-level-3 {
        font-size: 15px;
        font-weight: 400;
        border-bottom-style: none;
        font-style: normal;
    }

    .navmenu .link-button {
        background: none !important;
        border: none;
        padding: 0 !important;
        color: #84C318;
        text-decoration: none;
        cursor: pointer;
        font-weight: 550;
    }

.bg-image-blend {
    background-image: url('/images/bg-image-blend.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: multiply;
    /*opacity: 0.8;*/
    mix-blend-mode: normal;
}

.title {
    font-size: 1.1rem;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media (max-width: 350px) {
    .title {
        font-size: inherit;
    }
}

.font-size-larger {
    font-size: larger;
}

.margin-left-0 {
    margin-left: 0;
}

.margin-left-15px {
    margin-left: 15px;
}

.height-10vh {
    height: 10vh;
}

.height-80px {
    height: 80px;
}

.content-height-adjustment {
    height: calc(90vh - 150px);
    overflow-y: hidden;
}

.manage-account-height {
    height: calc(80vh - 234px);
    overflow-y: auto;
}

// SPINNER

.loading-container {
    z-index: 5000;
    width: 100vw;
    height: 100vh;
    color: white;
}

.loading-icon {
    position: fixed;
    top: 30%;
    left: 50%;
    margin-left: -55px; /* Negative half of width. */
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 4000;
    width: 100%;
    height: 100%;
}

@-webkit-keyframes infiniteRotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}
/* Standard syntax */
@keyframes infinite-rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

.spin {
    -webkit-animation: infiniteRotate 2s linear infinite; /* Safari */
    animation: infiniteRotate 2s linear infinite;
}

/* #22306 idle timeout warning */
#timeoutWarningBar {
    background-color: rgba(255, 204, 0, 0.75);
    color: #000;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: none;
}


/*FileUpload*/
/*Hide the Remove all button on file upload*/
button[title="Remove all"] {
    display: none !important;
}

.file-upload-type-list {
    height: 260px !important
}

/*New! For new features, etc*/
.new-badge {
    background-color: #ff4d4d;
    color: white;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-size: 0.9em;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}