@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;*/
/*    font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;*/
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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;
}
.mode-btn {
    color: #FFFFFF;
    border-radius: 4px;
    height: 2rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    background-color: rgba(0, 148, 255, 0.3);
    width: 6em;
    align-content: center;
    justify-content: center;
}
a.mode-btn {
    appearance: button;
    border-color: black;
    border-style: outset;
    border-width: 2px;
    text-decoration: none;
    justify-content: center;
}

    .mode-btn button:active, .mode-btn a:active {
        background-color: rgba(0, 148, 255, 0.25) !important;
    }

    .mode-btn:hover  {
        background-color: rgba(0, 148, 255, 0.1) !important;
    }
a:hover {
    color: rgba(0, 148, 255, 0.3) !important;
}
.pdf-embed {
    overflow: hidden !important;
    height: calc(100vh - 15em);
    width: 100%;
    padding-bottom: calc(100vh - 15em);
    position: relative;
    margin: auto;
}

    .pdf-embed embed,
    .pdf-embed iframe,
    .pdf-embed object {
        height: 100%;
        position: absolute;
        margin: auto;
        width: 100%;
    }
.pdf-boards-projects {
    height: calc(100vh - 29em) !important;
    padding-bottom: calc(100vh - 29em) !important;
}
.top-row {
    justify-content: flex-start;
    height: 5rem;
    display: flex;
    align-items: center;
}

    .top-row a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row a:hover, .top-row .btn-link:hover {
            text-decoration: underline;
        }

        .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }
/* For Mobile Devices */
@media (max-width: 890.98px) {
    .html-encoded-description-para{
        font-size:0.7em;
    }
    .page-header{
        display:flex;
        justify-content:center;
    }
    .top-row {
        flex-direction: column;
        padding-left: 2px;
        height: 8rem;
    }
        .top-row h3 {
            font-size: calc(1.5rem + .6vw);
        }

        .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
    .top-row-body {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .content {
    }
    .px-4 {
        padding: 0 !important;
        background-color: white !important;
    }
}

/* For Desktop Devices */
@media (min-width: 891px) {
    .html-encoded-description-para {
        font-size: 0.7em;
    }
    .page {
        flex-direction: column;
    }

    .page-header {
        display: none;
    }



    .top-row {
        flex-direction: row;
        top: 0;
        z-index: 1;
        padding-left: 50px;
        width: 80vw;
        justify-content: center;
    }

        .top-row.auth a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .top-row-body {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .article {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .content {
        min-height: calc(100vh - 15em);
    }

    .navbar-toggler {
        display: none;
    }

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .mode-btn {
        font-size: 1.5em;
        justify-content: center;
        height: 3rem;
    }

    a.mode-btn {
        font-size: 1.5em;
        justify-content: center;
        height: 3rem;
    }
}

.content {
    padding-top: 0rem;
    padding-left: 0rem;
    padding-right: 0rem;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }



.sidenav-large-clickable {
    color: #d7d7d7;
    height: 3rem;
    display: flex;
    align-items: center;
    vertical-align: middle;
    line-height: 3rem;
    border: none;
    width: 100%;
    padding: 0px 65px;
    background-color: transparent;
}
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .sidenav-large-clickable:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .sidenav-large-clickable:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .sidenav-large-clickable button:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .sidenav-large-clickable button:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }

.sidenav-large-clickable-sub {
    color: #d7d7d7;
    height: 3rem;
    display: flex;
    align-items: center;
    vertical-align: middle;
    line-height: 3rem;
    border: none;
    width: 100%;
    padding: 0px 5px;
    background-color: transparent;
}
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .sidenav-large-clickable-sub:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .sidenav-large-clickable-sub:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .sidenav-large-clickable-sub button:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .sidenav-large-clickable-sub button:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
/* Style the collapsible content. Note: hidden by default */
.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}
/* Style the collapsible content. Note: hidden by default */
.collapsible-button {
    display: inline-flex;
    overflow: hidden;
    width: 100% !important;
    padding-left: 1rem;
    border-radius: 4px;
}
    /* When you mouse over the navigation links, change their color */
    .collapsible-button:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-button:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-button button:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-button button:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-button a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-button a:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
/* Style the collapsible content. Note: hidden by default */
.collapsible-content {
    padding: 0 5px 0px 20px;
    display: none;
    overflow: hidden;
}
    /* When you mouse over the navigation links, change their color */
    .collapsible-content:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-content:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-content button:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-content button:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-content a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* When you mouse over the navigation links, change their color */
    .collapsible-content a:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
/* Style the button that is used to open and close the collapsible content */
.collapsible-chevron {
    color: white;
    cursor: pointer;
    vertical-align: middle;
    display: inline-flex;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    background-color: transparent;
    position: relative;
    height: 2.8em;
    padding-left: 0.05rem;
    padding-right: 0;
    padding-top: 1rem;
}

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .collapsible-chevron a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .collapsible-chevron a:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .collapsible-chevron button:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .collapsible-chevron button:active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }

.grid-container {
    display: grid;
    grid-template-columns: auto;
    background-color: #2196F3;
    padding: 10px;
}


.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 20px;
    font-size: 30px;
    text-align: center;
}
    .grid-item img {
        max-width: 200px;
        width:auto;
        max-height:200px;
    }

    .grid-item:hover {
        background-color: rgba(255,255,255,0.1) !important;
        color: rgba(255,255,255,0.5) !important;
    }

/* For Desktop Devices */
@media (min-width: 891px) {
    .grid-container {
        grid-template-columns: auto auto;
    }
    .grid-item img {
        max-width: 250px;
    }
}
@media (min-width: 1280px) {
    .grid-container {
        grid-template-columns: auto auto auto;
    }
    .grid-item img {
        max-width: 250px;
    }
}
