﻿
$primaryColor: black;
$blue4Color: #002359;
$redColor: red;
$twoColor: black;

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import "../lib/bootstrap/scss/bootstrap";




html, body {
    font-family: Calibri, Helvetica, Arial, sans-serif;
    font-size: 1.2em;
}

[aria-invalid] {
    border-color: red;
    border-right: 5px;
}

input[type=checkbox] {
    transform: scale(1.5);
    margin-right:5px;
}

app {
    display: flex;
    flex-direction: column;
}

.top-row {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f8f9fa;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }



.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;
    }





#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    background-color: $blue4Color;
}

    #sidebar-wrapper .sidebar-heading {
        padding: 0.875rem 1.25rem;
        font-size: 1.2rem;
        color: white;
        font-weight: bold;
        background-color: $blue4Color;
    }

    #sidebar-wrapper .list-group {
        width: 15rem;
    }



#page-content-wrapper {
    min-width: 100vw;
    
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 320px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

.mctest-box-header {
    background-color: white;
    color: navy;
    border:solid;
    border-width:2px;
    border-color: #003366;
}

.mctest-questionbox {
    background-color: #003366;
    color: white;
}

.mctest-questiontext {
    padding-left:10px;
}

.mctest-pretext {
    font-size: 1.2em;
    padding: 10px;
    border-bottom-color: white;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.mctestresult-row {
    padding: 10px;
    border-bottom: solid 1px;
}

    .mctestresult-row a {
        color: #96c3ea;
        font-weight: bold;
    }
    .mctestresult-row a:hover {
        color: white;
    } 

.mcquestionresult-row {
    padding: 10px;
}

    .mcquestionresult-row a {
        color: #96c3ea;
        font-weight: bold;
    }
    .mcquestionresult-row a:hover {
        color: white;
    } 

.mctest-answer-list {
    list-style-type: none;
}

.mctest-answer-text {
    font-size: 1.3em;
    display: inline;
}

.mctest-totalscore {
    margin-left:20px;
    font-size: 20pt;
}

.mctestresult-listitem {
    border-top : solid white 1px;
}

.mctestresult-questiontext {
    background-color: darkred;
}

.mctestresult-questionscore {
    font-weight: bold;
}

.default-list {
    list-style-type: none;
    padding: 10px;    
}
    .default-list li {
        margin: 10px;
        padding: 5px;
        background-color: #f8f9fa;    
        vertical-align:middle;
    }
        .default-list li a {
            display: block;
            text-decoration:none;
        }
            .default-list li a:hover {
                background-color: #d8d9da;                
            }            

.mr5 {
    margin-right: 5px;
}