/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/
*, *::after, *::before {
    box-sizing: border-box;
}

html {
    box-sizing: inherit;
}

html, body {
    /* Clear inherited margin. */
    margin: 0;
    /* Clear inherited padding. */
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    background-color: rgb(12, 12, 12);
    color: rgb(192, 192, 192);
}

body {
    /*background: url("../images/large.png") top center;*/
    /*background: url("../images/large_cosmic.jpg") top center;*/
    background-size: cover;
    height: 100%;
}

/* Clear inherited element styles. */
h1, h2, h3, div, ul, label, img, li, button {
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    padding-top: 1.5em;
    padding-bottom: 0.5em;
}

h2 {
    padding-top: 1.0em;
    padding-bottom: 0.5em;
}

h3 {
    padding-top: 1.0em;
    padding-bottom: 0.5em;
}

select, input {
    width: 85%;
    height: 2.8rem;
    /*height: 34px; original*/
    color: rgb(199, 199, 199);
    border-radius: 3px;
    font-size: inherit;
    padding: 5px 5px 5px 10px !important;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: rgba(27, 27, 27, 0.7);
    border: 1px solid gray;
    vertical-align: middle;
}

select:focus, input:focus {
    color: rgb(151, 151, 151);
    background-color: rgb(36, 36, 36);
    border: 1px solid black;
    outline: none;
}

/* Start: Bootstrap Overrides */

.card {
     background-color: rgba(26, 26, 26, .7);
}

.btn {
    height: 3.2rem;
    background-color: rgb(117,0,0) !important;
    /*background-color: rgb(43, 43, 43) !important;*/
    color: rgb(175, 175, 175);
    border: 0px;
}

.btn:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(174, 10, 14) !important;
}

.btn .active 
{
    background-color: purple !important;
}

.sidebar {
    background: rgb(46, 46, 46, .7) !important;
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
}

.main .top-row {
    background-color: rgba(20, 20, 20, .7) !important;
    border: none !important;    
}

/* End: Bootstrap Overrides */

.confirmation {
    width: 70%;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3%;
}

.score 
{
    font-size: 1.5em;
    font-weight: bold;
}

/* Start: Score Report Chart Styles (Radzen currently)*/
.chart-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 15px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.chart-content {
    width: 100%;
    min-width: 550px;
}

/* Score Report - Outer Spacing */

.score-report-container {
    width: 100%;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.score-report-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 30px !important;
    box-sizing: border-box;
}

/* Hide the Score Report chart legend on mobile devices */

@media (max-width: 576px) {
    .score-report-chart .rz-legend {
        display: none;
    }
}

/* End: Score Report Chart Styles (Radzen currently) */

.outer {
    width: 100%;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3%;
}

/* https://www.w3schools.com/howto/howto_css_loader.asp */
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid red; /*#3498db Blue */
    border-radius: 50%;
    width: 80px; /*120px original*/
    height: 80px; /*120px original*/
    animation: spin 2s linear infinite;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

/* https://www.w3schools.com/howto/howto_css_loader.asp */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

button {
    border-radius: 3px;
    margin-top: -1px;
    border: none;
    background-color: rgb(43, 43, 43) !important;
    color: rgb(175, 175, 175);
    /* width: 70px; */
    width: fit-content;
    height: 36px;
    vertical-align: top;
    padding: 0 15px;
    font-size: 1.1em;
}

    button:hover {
        color: rgb(255, 255, 255);
        background-color: rgb(174, 10, 14) !important;
    }

    button img {
        margin-top: 2px;
    }

.col1 {
    width: 70px;
    min-width: 15px;
    height: 100%;
    display: inline-block;
    vertical-align: top;
}

.col2 {
    width: 90%;
    height: 100%;
    display: inline-block
}

.prev {
    /* display: inline-block; */
    /* width: 15px             */
}

.next {
    /* display: inline-block; */
    /* width: 15px */
}

.save {
    /* width: 15px; */
    float: right;
}

.questiondesc {
    font-weight: bold;
    margin-bottom: 1.5em;
}

.questionanswers {
    margin: 15px;
}

.answer {
    padding: 1.2em;
    margin-bottom: 1.0em;
    width: 100%;
    border-radius: 5px;
}

    .answer:hover {
        border: 1px solid rgb(236, 38, 38);
        background-color: rgb(255, 255, 255, .3);
        color: white;
    }

.standard {
    border: 1px solid rgb(158, 158, 158);
    background-color: rgb(24, 24, 24, .5);
}

.selected {
    border: 1px solid rgb(158, 158, 158);
    background-color: rgb(255, 255, 255, .3);
    color: white;
}

.avatar {
    padding: 8px;
    vertical-align: middle;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.avatarbox {
    padding: 8px;
    vertical-align: middle;
    text-align: center;
    border-radius: 2px;
    color: white;
    font-size: 1.2em;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid;
    font-weight: bold;
}

.chosen {
    background-color: rgb(255, 255, 255) !important;
    color: black;
    border-width: 0;
}

.blueviolet {
    background-color: blueviolet;
}

.redorange {
    background-color: rgb(226, 70, 43);
}

.pink {
    background-color: rgb(221, 4, 123);
}

.reallydark {
    background-color: rgb(0, 0, 0);
}

.avatar-advanced {
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
    /*margin: 0px 0px 0px 1rem;*/ /*original code with left margin*/
    min-width: 0px;
    width: 5rem;
    height: 5rem;
    background-color: rgb(66, 66, 66);
    border-radius: 100%;
    color: rgb(255, 255, 255);
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 200; /*700;*/
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    flex-shrink: 0;
}

.profile-image {
    clip-path: circle();
}

.timer {
    float: right;
    margin-left: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.2em;
    border-radius: 2px;
    border: 1px solid gray;
    padding: 4px 11px 4px 11px;
    background-color: rgb(253, 253, 253, .2);
}

.warning {
    color: yellow !important;
}

.severewarning {
    background-color: red !important;
}

.hide {
    display: none;
    visibility: hidden;
}

.correct {
    color: white;
    background-color: green;
}

.incorrect {
    color: white;
    background-color: red;
}


/*Start: QandA Index Classes.*/
.indexrow {
    /*border: 1px solid rgb(158, 158, 158);*/
    padding: 15px 12px 15px 12px;
    width: 100%;
}

    .indexrow:nth-child(even) {
        background-color: rgba(26, 26, 26, .7);
    }

    .indexrow:nth-child(odd) {
        background-color: rgba(46, 46, 46, .7);
    }

    .indexrow:hover {
        border: 1px solid rgb(236, 38, 38);
        background-color: rgb(255, 255, 255, .3);
        color: white;
    }

.row .indexrow {
    padding-top: 15px;
}

.qandatitle {
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: .2em !important;
}

.privacylevel {
    float: right;
    margin-left: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.2em;
    border-radius: 2px;
    border: 1px solid gray;
    padding: 4px 11px 4px 11px;
    background-color: rgb(253, 253, 253, .2);
}

    .privacylevel:hover {
        color: rgb(255, 255, 255);
        background-color: rgb(174, 10, 14) !important;
    }

.qandadesc {
    font-weight: bold;
}

.qandastats {
    padding-top: 5px;
    margin-top: 5px;
    font-weight: bold;
}
/*End: QandA Index Classes.*/

/*Start: Leaderboard Index Classes*/

/* Question Management Index section */
.question-layout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.question-number {
    flex-shrink: 0;
}

.question-body {
    flex: 1;
    min-width: 0;
}

.privacylevel,
.timer {
    flex-shrink: 0;
}
/* Question Management index section */

/*Start: QandA Index Classes.*/

.headerrow {
    padding: 15px 12px 15px 12px;
    width: 100%;
    background-color: darkred !important;
}

.leaderrow {
    /*border: 1px solid rgb(158, 158, 158);*/
    padding: 15px 12px 15px 12px;
    width: 100%;
}


.tabrow {
    /*border: 1px solid rgb(158, 158, 158);*/
    padding: 0px 0px 0px 0px;
    width: 100%;
}
    .leaderrow:nth-child(even) {
        background-color: rgba(26, 26, 26, .7);
    }

    .leaderrow:nth-child(odd) {
        background-color: rgba(46, 46, 46, .7);
    }

    .leaderrow:hover {
        border: 1px solid rgb(236, 38, 38);
        background-color: rgb(255, 255, 255, .3);
        color: white;
    }

.row .leaderrow {
    padding-top: 15px;
}

.firstitem {
    background-color: rgba(117,0,0, .7) !important;
}

/*End: Leaderboard Index Classes*/

/*Form controls styles*/

.controlrow {
    /*border: 1px solid rgb(158, 158, 158);*/
    padding: 15px 12px 15px 12px;
    width: 100%;
}

    .controlrow:nth-child(even) {
        background-color: rgba(40, 40, 40, .7);
    }

    .controlrow:nth-child(odd) {
        background-color: rgba(46, 46, 46, .7);
    }

.controlrow textarea, .controlrow input, .controlrow select, .controlrow label {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

textarea, input[type=checkbox], input[type=radio] {
    background-color: rgba(27, 27, 27, 0.7) !important;
    border: 1px solid gray !important;
}

textarea {
    color: rgb(199, 199, 199) !important;
}

.timepart {
    width: 100px;
    margin-left: 25px;
}

.timepartleft-m-0 {
    width: 100px;    
}

.custom-btn-extended-anchor {
    padding: .75em 0 1em 0;
    margin-bottom: 4px;
    margin-top: 15px;
    vertical-align: center
}

/* Manage Question Index */
.question-rationale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-top: 8px;
    background-color: #f1f3f5;
    color: #333333;
    border: 1px solid #d6dce2;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

    .question-rationale-header:hover {
        background-color: #e5e9ed;
    }

.rationale-arrow {
    color: #333333;
    font-size: 14px;
    margin-left: 12px;
}

.question-rationale-content {
    padding: 14px;
    color: #f1f1f1;
    border: 1px solid #d6dce2;
    border-top: none;
    border-radius: 0 0 5px 5px;
    line-height: 1.6;
}

/*Form controls styles*/

/* Responsive iframe */
/* Helps with YouTube, Vimeo and more */

/* Vid Title:  Embed a YouTube Video in HTML and Make it Responsive (CSS included) */
/* Vid URL: https://www.youtube.com/watch?v=9YffrCViTVk*/
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% 
}

/* Custom extender Bootstrap classes */
.container-green-100, .container-blue-100,
.container-gray-100, .container-lightgray-100 {
    width: 100%;
}

.container-green-100 {
    background-color: rgb(1, 107, 1);
    min-height: 7px;
}

.container-blue-100 {
    background-color: rgb(1, 1, 44);
}

/*start: new classes*/
.container-darkred-100 {
    background-color: rgb(1, 1, 44);
}
.container-darkmode-100 {
    background-color: rgb(12, 12, 12);    
}
/*end: new classes*/

.container-gray-100 {
    background-color: rgb(136, 136, 136);
}

.container-lightgray-100 {
    background-color: rgb(221, 221, 221);
}

.container-extralightgray-100 {
    background-color: rgb(243, 243, 243);
}

/********************************************/
/*Tooltip Styles Start*/
/********************************************/

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    cursor: help;
    float:left;
}

#spanText {
    visibility: hidden;
    position: absolute;
    /*width: 120px;*/
    width: 220px !important;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 12px 5px 5px 5px;
    /*padding: 5px 0;*/
    border-radius: 6px;
    z-index: 1;
    font-size: .8em;
}

    #spanText::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.tooltip-wrapper:hover #spanText {
    visibility: visible;
}

/********************************************/
/*Tooltip Styles End*/
/********************************************/


