﻿input[type='radio'] {
    width: 18px;
    height: 18px;
}

input[type='checkbox'] {
    width: 18px;
    height: 18px;
}

select {
    font-size: 14pt;
}

P {
    font-size: 13pt;
    font-family: "Times New Roman", Times, serif;
    margin-top: 1px;
    margin-bottom: 1px;
    word-wrap: break-word;
}

    P SPAN {
        font-size: 13pt;
        font-family: "Times New Roman", Times, serif;
        word-wrap: break-word;
    }

        P SPAN SPAN {
            font-size: 13pt;
            font-family: "Times New Roman", Times, serif;
            word-wrap: break-word;
        }
/* Tooltip container */
#statusNetWork {
    z-index: 1000;
}

    /* Tooltip text */
    #statusNetWork .tooltiptext {
        visibility: hidden;
        width: 200px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -10px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        #statusNetWork .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -50px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    #statusNetWork:active .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

    #statusNetWork img {
        display: block;
        opacity: 1;
        visibility: visible;
    }

.confirm-modal {
    width: 400px;
    max-width: 100%;
    min-height: 100px;
    margin: auto;
    background-color: #006fe5;
    padding: 10px;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
}
.clock-timer-countdown {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: auto;
    font-weight: bold;
    font-size: 18pt;
    color: #007cff
}
.answer-info {
    float: left;
    display: block;
    width: 86px;
    height: 20px;
    border-radius: 4px;
    border: solid 1px #d4d4d4;
    font-size: 8pt;
}

.answer-circle {
    display: inline-block;
    width: 28px;
    text-align: center;
    height: 28px;
    border-radius: 50%;
    border: #d4d4d4;
    background-color: #fff;
    font-size: 8pt;
    text-decoration: none;
    margin: 2px
}

    .answer-circle a {
        text-decoration: none;
    }

.answered-circle {
    color: #fff !important;
    background-color: #006fe5 !important;
}

.notanswer-circle {
    color: #007cff;
    background-color: #fff;
}

.mark-question {
    display: block;
    width: 20px;
    height: 20px;
    right: 0px;
    padding: 2px;
    text-align: center;
    float: right;
    cursor: pointer;
    border: 1px solid #ffffff;
    position: relative;
    border-radius: 50%;
    background-color: #999999;
    color: #fff !important;
    z-index: 1;
}

.marked-question {
    background-color: #f40 !important;
    color: #fff !important;
}

.pinButton {
    display: block;
    width: 20px;
    height: 20px;
    right: -24px;
    padding: 2px;
    text-align: center;
    top: -80px;
    float: right;
    cursor: pointer;
    border: 1px solid #ffffff;
    background-color: #999999;
    color: #fff !important;
    position: relative;
    border-radius: 50%;
    z-index: 1;
}
#pnlNopBai a{
    width:136px;
    height:46px;
}

.pinParagraph p {
    width: 98%;
}
/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
#sidebar {
    z-index: 999999999;
    display: none;
}

    #sidebar.active {
        width: 200px !important;
        min-width: 200px !important;
        text-align: center;
        display: block;
    }

        /* Changing the arrow position to bottom center position, 
           translateX(50%) works with right: 50% 
           to accurately  center the arrow */
        #sidebar.active .dropdown-toggle::after {
            top: auto;
            bottom: 10px;
            right: 50%;
            -webkit-transform: translateX(50%);
            -ms-transform: translateX(50%);
            transform: translateX(50%);
        }

#tdNavigation {
    width: 200px;
    bottom: 0px;
    position: fixed;
    top: 0px;
    left: 0px;
    text-align: center;
    background-color: #00539c;
}

.right-button-holder {
    z-index: 99999;
    position: fixed;
    top: 60px;
    right: 7px;
    width: 140px;
    display: flex;
    flex-flow: row-reverse;
}

    .right-button-holder > a {
        width: 140px;
    }

    .right-button-holder > div {
        margin: 1px;
    }

.button-holder {
    text-align: center;
    position: fixed;
    left: 0px;
    bottom: 0px;
    right: 0px;
    height: 60px;
    background-color: #e1e1e1;
    display: block;
    padding-top: 4px;
    text-align: center;
    z-index: 99999999999;
}
    .button-holder .progress {
        background-color: #ffffff !important;
    }
    .button-holder .progress-bar {
        background: #007ab5 !important;
    }
        .button-holder .progress-bar.progress-0 {
            background: #3d9c01 !important;
        }
        .button-holder .progress-bar.progress-1 {
            background: #509c01 !important;
        }
        .button-holder .progress-bar.progress-2 {
            background: #74ac00 !important;
        }
        .button-holder .progress-bar.progress-3 {
            background: #a0a000 !important;
        }
        .button-holder .progress-bar.progress-4 {
            background: #af8800 !important;
        }
        .button-holder .progress-bar.progress-5 {
            background: #c40000 !important;
        }
.right-button-holder-2{
    display:block;
}

#btn-prev-question {
    margin-left: auto;
    margin-right: auto;
}

#btn-next-question {
    margin-left: auto;
    margin-right: auto;
}

.clock-countdown {
    width: 135px;
    height: 50px;
    background-color: #ffbd9e;
    border: 1px solid #ff5300;
    z-index: 999999;
    border-radius: 4px;
    position: fixed;
    top: 5px;
    right: 10px;
}

    .clock-countdown span {
        line-height: 60px;
    }

.clock-countdown-2 {
    width: 135px;
    height: 40px;
    background-color: #ffbd9e;
    border: 1px solid #ff5300;
    z-index: 999999;
    border-radius: 4px;
    position: fixed;
    top: 5px;
    right: 10px;
}

    .clock-countdown-2 span {
        line-height: 40px;
    }

.header-div {
    position: fixed;
    left: 0px;
    height: 120px;
    right: 0px;
    z-index: 99999;
    background-color: #005eac;
    color: white;
    padding-left: 10px;
}

    .header-div > div {
        padding-right: 180px
    }

.hiden-small {
}

.show-small {
    display: none;
}

.incorrect-label {
    float: left;
    display: block;
    width: 66px;
    height: 20px;
    border-radius: 4px;
    border: solid 1px #d4d4d4;
    background-color: #f40;
    font-size: 8pt;
    margin-left: 1px;
    color: white
}

.correct-label {
    float: left;
    display: block;
    width: 66px;
    height: 20px;
    border-radius: 4px;
    border: solid 1px #d4d4d4;
    color: #fff;
    background-color: #006fe5;
    font-size: 8pt;
    margin-left: 2px;
}
#toggleSlideBarBtn {
    position: fixed;
    z-index: 999999999;
    color: white;
    top: 10px;
    font-size: 18pt;
    margin-left: 10px;
}

    #toggleSlideBarBtn.active {
        position: fixed;
        z-index: 9999999999;
        color: white;
        top: 10px;
        margin-left: -30px;
    }

.user-avatar {
    border-radius: 50%;
    border: #ffffff 2px solid !important;
    z-index: 9999;
    position: relative;
    right: 0px;
    height: 160px;
    width:160px;
    object-fit:cover;
}

.avatar-box {
    left: 10px;
    top: 5px;
    margin-left: 10px;
    z-index: 9999;
    position: absolute;
}

.q-nav-list {
    background-color: #e6e6e6;
    position: absolute;
    top: 119px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    padding-top: 70px;
}

.main-question-list {
    margin-top: 130px;
    margin-bottom: 80px;
    width: 99%;
}

@media (max-width: 768px) {
    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    */
    body {
        font-size: large !important;
        overflow-x:auto;
    }
    .main-question-list {
        margin-top: 80px;
        width: 99%;
    }
    .main-question-list img {
        max-width: 100%;
    }
    .main-question-list table {
        max-width: 100%;
    }
    .q-nav-list {
        top: 80px;
        padding-top: 70px;
    }

    .mark-question {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    #toggleSlideBarBtn.active {
        margin-left: 10px;
    }

    .avatar-box {
        margin: auto;
        right: 0px;
        left: 0px;
    }

    .user-avatar {
        float: right;
        height: 100px;
        width: 100px;
    }

    .hiden-small {
        display: none;
    }

    .show-small {
        display: inherit;
    }

    .header-div {
        height: 60px;
    }

        .header-div > div {
            padding-left: 32px;
            padding-right: 400px;
        }

    .clock-countdown {
        height: 44px;
        width: 120px;
        top: 5px;
        right: 10px
    }

        .clock-countdown span {
            line-height: 46px;
        }

    .right-button-holder {
        display: flex;
        top: 5px;
        right: 150px;
        height: 40px;
        width: 180px;
    }

        .right-button-holder a {
            height: 38px !important;
            line-height: 38px !important;
            text-align: center;
            padding: 0px 10px 0px 10px !important;
            display: block;
            width: 140px;
        }

    .answer-info {
        font-size: 14pt;
        width: 49%;
        height: 40px;
    }

    .answer-circle {
        width: 50px;
        text-align: center;
        height: 50px;
        border-radius: 50%;
        border: #d4d4d4;
        background-color: #fff;
        font-size: 20pt;
        text-decoration: none;
    }

    #sidebar.active {
        width: 100%;
        text-align: center;
        z-index: 999999999
    }

    #tdNavigation {
        width: 100%;
        bottom: 0px;
        right: 0px;
        position: fixed;
        top: 0px;
        left: 0px;
        text-align: center;
    }

    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        width: 0;
        position: fixed;
    }

        /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    */
        #sidebar .sidebar-header strong {
            display: none;
        }

        #sidebar.active .sidebar-header h3 {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;
        }

        /* Downsize the navigation links font size */
        #sidebar.active ul li a {
            padding: 20px 10px;
            font-size: 0.85em;
        }

            #sidebar.active ul li a i {
                margin-right: 0;
                display: block;
                font-size: 1.8em;
                margin-bottom: 5px;
            }

        /* Adjust the dropdown links padding*/
        #sidebar.active ul ul a {
            padding: 10px !important;
        }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
}
.btn-upload {
    width: 120px;
}
.pin-bottom{
    position:fixed;
    max-height:50%;
    bottom:0px;
    right:0px;
}

.student-answer-content img {
    max-width: 100% !important
}

.mobile-image-item {
    position: relative;
}
.pids-wrapper {
    width: 100%;
}

.pid {
    width: calc(10% - 14px);
    height: 10px;
    display: inline-block;
    margin: 5px;
}
.rowqs-alt {
    background-color: #f7f7f7;
}

.row-answers {
    border-bottom: #e0e0e0 solid 0.5px;
}

.rowqs-alt .rowsqs.row-answers {
    border-bottom: #c3c3c3 solid 0.5px;
}