div#page {
    background: url('/wp-content/uploads/2020/09/page-bg-light.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.header-wrap {
    display: none;
    margin: 0 -15px;
}

.single-featured-image-header {
	background-position: center;
	background-size: cover;
	min-height: 350px;
}

.site-content {
    padding: 0px;
}

.single-featured-image-header div {
    color: #fff;
    margin-top: 320px;
    position: absolute;
    padding: 4px 10px;
    background: #E01A4F;
    border-radius: 5px;
    line-height: 1;
}

.single-completed {
    right: 10px;
}

.published_date {
    left: 10px;
}

h1.page-title {
    margin: 0px;
    font-size: large;
    text-transform: none;
    padding: 0px;
}

.after-image {
    padding: 10px 15px;
    display: flex;
}
.after-image >* {
    margin: auto;
}

.single-cat {
    margin-right: 0;
}
.single-featured-image-header div.single-cat {
    background: #F15946;
    margin-top: 10px!important;
    right: 10px;
}
footer.entry-footer {
    display: none;
}

.quiz-btn-div button,
.action-btn-container button#take-quiz-btn {
    background-color: #50b148;
}
div#myModal-questions .modal-footer {
    display: none;
}
.well>label:first-child:before {
    background: url(https://mynutshell.in/wp-content/themes/twentyseventeen-child/img/question.svg);
    height: 30px;
    width: 30px;
    content: ' ';
    display: block;
    margin: auto;
    background-size: contain;
}

.well>label:first-child {
    font-size: 0px;
    height: 0px;
    margin: auto;
}

.entry-header .entry-title {
    font-size: 25px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.wrap {
    padding-left: 15px;
    padding-right: 15px;
}
img.nuticon {
    margin-left: 5px;
}

div#content {
    min-height: 500px;
    background: #fff;
    border-radius: 20px;
    padding: 40px !important;
}


/* SINGLE */
div#primary {
    min-width: 100%;
}
.entry-content {
    padding: 20px;
    margin-bottom: 24px;
}
.entry-content .wpb_column *,
.entry-content p {
    font-size: 16px !important;
    color: #000;
    /* font-weight: 500; */
}
.single-featured-image-header {
    min-height: 450px;
}
.single-featured-image-header div,
.single-featured-image-header div.single-cat {
    font-size: 1.6rem;
}

.single-featured-image-header div {
    margin-top: 400px;
}

.single-featured-image-header div.single-cat {
    margin-top: 20px!important;
}


.action-btn-container {
    position: absolute;
    left: calc((100% - 65%)/2);
    bottom: 40px;
    width: 65%;
    margin: auto;
}


/* MOBILE CSS */
@media (max-width: 767px) {
    div#content {
        padding: 30px 15px !important;
    }

    .entry-header .entry-title {
        text-align: left;
    }

    .entry-content {
        padding: 0;
    }

    .action-btn-container {
        position: initial;
        width: 100%;
    }
}
/* /MOBILE CSS */



/* MODAL */
.modal {
    padding: 0 !important;
}

.modal .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
}

.modal-content {
    max-width: 90vw;
    min-width: 50vw;
    max-height: 600px;
    height: calc(100vh - 60px);
    border-radius: 20px;
    border: 0;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    padding: 40px;
}

.modal-body h2 {
    font-family: 'KG Inimitable Original Regular';
    font-size: 25px !important;
    font-weight: normal !important;
    color: #5207a1 !important;
    padding-top: 10px;
    margin-bottom: 20px !important;
}

.modal-body h2:not(:first-of-type) {
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600 !important;
    margin-top: -20px;
}

.modal-footer {
    border: none;
    padding: 0 40px 40px; 
    margin-top: -40px;
    z-index: 1;
}

.modal-content .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: calc(60% + 30px);
    height: 40px;
    text-transform: uppercase;
    background-color: #5207A1 !important;
    color: #fff !important;
    border: 0;
    border-radius: 30px;
    padding: 10px 20px;
    margin: 10px auto !important;
    text-decoration: none!important;
    outline: none !important;
    box-shadow: none !important;
}

.modal-content .modal-footer .btn {
    width: 30%;
    margin: 0 7.5px !important;
}

.modal-content #start-quiz,
.modal-content #mixed-bag-start-quiz {
    background-color: #50b148 !important;
}


/* Quiz Modal */
#myModal-questions .modal-content,
#mixed-bag-myModal-questions .modal-content {
    overflow: hidden;
}

#quiz-ans-form {
    overflow-y: scroll;
}

/* width */
#quiz-ans-form::-webkit-scrollbar {
    width: 5px;
}

/* Track */
#quiz-ans-form::-webkit-scrollbar-track {
    background: #E8EEFF;
}

/* Handle */
#quiz-ans-form::-webkit-scrollbar-thumb {
    background: #5207a1;
}

/* Handle on hover */
#quiz-ans-form::-webkit-scrollbar-thumb:hover {
    background: #350057;
}

.modal-body span.read {
    display: block;
    width: calc(60% + 30px);
    background-color: #e8eeff;
    border-radius: 30px;
    padding: 10px;
    margin: 0 auto 30px;
}

.quiz-modal {
    margin-bottom: 30px;
}

.quiz-modal.q-time img {
    max-height: 215px;
    height: calc(90vh - 74px - 50px - 60px - 80px - 115px);
}

.success-wrapper {
    width: calc(60% + 30px);
    background-color: #5207A1;
    color: #fff;
    border-radius: 20px;
    padding: 15px 20px;
    margin: 30px auto;
}

.success-wrapper p {
    margin-bottom: 0;
}

.success-wrapper * {
    font-weight: 500;
}

.success-wrapper span#points,
.success-wrapper span#mixed-bag-points {
    font-family: 'KG Inimitable Original Regular';
    font-size: 22px !important;
}

.modal-content .btn.view-answers {
    background-color: #50b148 !important;
}

.modal-content .btn#completed-quiz,
.modal-content .btn#completed-quiz-mixed-bag {
    background-color: #f0553a !important;
}

.modal-content .btn#go-homepage {
    background-color: #e8eeff !important;
    color: #262626;
}

.modal-content .btn#go-homepage span {
    color: #75777E;
}

.modal-questions-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#timer-clock {
    height: 50px;
    background: url(/wp-content/uploads/2020/09/timer-watch.svg);
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    color: #5207A1;
    font-family: 'KG Inimitable Original Regular';
    font-size: 25px;
    line-height: 55px;
    text-align: right;
    padding-top: 0;
    margin-bottom: 20px;
}

.modal-questions-header #timer-clock {
    width: calc(50% - 10px);
    padding-right: 40px;
    margin-right: 10px;
}

.modal-body > #timer-clock {
    background-position: center;
    text-align: center;
    padding-left: 30px;
}

#timer-clock #ms_timer {
    font-family: 'KG Inimitable Original Regular';
    font-size: 25px;
    line-height: 55px;
    font-weight: 300;
    background: none;
    color: #5207A1;
    border: 0;
}

#timer-clock #ms_timer_live {
    font-family: 'KG Inimitable Original Regular';
    font-size: 25px;
    line-height: 55px;
    font-weight: 300;
    background: none;
    color: #5207A1;
    border: 0;
}


.steps-count {
    width: calc(40% - 10px);
    text-align: left;
    color: #5207A1;
    font-family: 'KG Inimitable Original Regular';
    font-size: 25px;
    line-height: 55px;
    text-transform: uppercase;
    margin-left: 10px;
}

.progressbar {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0 auto 30px;
}

.progressbar li {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 50%;
    font-size: 0;
    text-align: center;
    cursor: pointer;
}

.progressbar li:last-child {
    width: 15px;
}

.progressbar li:before {
    content: "";
    display: block;
    position: relative;
    width: 15px;
    height: 15px;
    background-image: url('/wp-content/uploads/2020/09/progress-dot.svg');
    background-repeat: no-repeat;
    background-position: center;
    z-index : 2;
}

.progressbar li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #E8EEFF;
    top: 7.5px;
    left: 0;
    z-index : 1;
}

.progressbar li:last-child:after {
    display: none;
}

.progressbar li.active:before {
    background-image: url('/wp-content/uploads/2020/09/progress-dot-selected.svg');
}

.modal-body .navbar {
    display: none;
}

.modal-body .well .question,
.modal-body .well .quiz-inc-ques,
.modal-body .well .quiz-cor-ans {    
    width: calc(80% - 30px);
    color: #fff;
    background-color: #5207a1;
    font-weight: 500;
    padding: 15px;
    border-radius: 17px;
    margin: 0 auto 25px;
}

.modal-body .well .quiz-inc-ques i.fa,
.modal-body .well .quiz-cor-ans i.fa {
    margin-right: 8px;
}

.modal-body .well label.answer {
    display: none;
}

.modal-body .well table {
    max-width: 55%;
    text-align: left;
    margin: 0 auto 40px;
}

.modal-body .well table tr {
    border-bottom: 0;
}

.modal-body .well table td {
    font-weight: 600;
}

.modal-body .well table td input {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.modal-body .well table td input:after {
    content: '';
    width: 14px;
    height: 14px;
    position: absolute;
    top: calc(-14px + 4px);
    left: 0;
    border: 2px solid #b6b6b6;
    border-radius: 50%;
}

.modal-body .well table td input:checked:after {
    background-color: #50b148;
    border-color: #50b148;
}

.modal-body .well .explanation {
    /* display: none; */
    max-width: calc(80% - 30px);
    text-align: left;
    margin: 0 auto 40px;
}

.modal-body .well .explanation:not(.show) {
    display: none;
}

.tab-content.quiz-inner .active .well {
    display: flex;
    flex-direction: column;
}

.tab-content.quiz-inner .active .well > * {
    order: 1;
}

.tab-content.quiz-inner .active .well > [id^="display_ans-"] {
    order: 2;
}

.tab-content.quiz-inner .active .well > [id^="explanation-"] {
    order: 3;
}

.tab-content.quiz-inner .active .well > input[type="text"] {
    max-width: calc(80% - 30px);
    margin: auto auto 40px;
    border: 2px solid;
}


.quiz-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(80% - 30px);
    margin: 0 auto 30px;
}

.quiz-modal-btn .btn {
    width: calc(50% - 20px);
    text-align: center;
    margin: 0 10px !important;
}

.quiz-modal-btn .btn.next-skip {
    background-color: #f0553a !important; 
}

.quiz-modal-btn .btn.quiz-next {
    background-color: #50b148 !important;
}

.modal-content .well .btn-success {
    width: calc(80% - 30px);
    background-color: #f0553a !important;
}

.modal-content .well #quiz-submit {
    width: calc(80% - 30px);
    background-color: #50b148 !important;
    float: none;
    margin-bottom: 0 !important;
}

.modal-content #back_to_single {
    width: calc(80% - 30px);
}
/* /Quiz Modal */

/* /MODAL */



/* QUIZ ANSWERS */
#correct-answers {
    text-align: center;
    margin-bottom: 50px;
}

#correct-answers h2 {
    display: inline-block;
    color: #5207A1;
    background-color: #e8eeff;
    border-radius: 10px;
    font-family: 'KG Inimitable Original Regular';
    font-size: 22px;
    padding: 12.5px 30px;
    margin-bottom: 50px;
}

.answers-inner {
    display: flex;
    flex-wrap: wrap;
}

.answers-inner .review-ans {
    max-width: calc(50% - 25px);
    flex: 0 0 calc(50% - 25px);
    margin: 0 5px 180px 20px;
}

.answers-inner .review-ans .well {
    position: relative;
    height: calc(100% + 150px);
    border: 3px solid #5207A1;
    border-radius: 20px;
}

.answers-inner .review-ans .well::after {
    content: '';
    width: 100%;
    height: 150px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #e8eeff;
    border-radius: 17px;
}

.answers-inner .review-ans.ans-red .well {
    border-color: #F1553A;
}

.answers-inner .review-ans.ans-green .well {
    border-color: #50b148;
}

.answers-inner .review-ans .well .question {
    color: #fff;
    background-color: #5207a1;
    font-weight: 500;
    padding: 15px;
    border-radius: 17px;
    margin-bottom: 25px;
}

.answers-inner .review-ans .well label.answer {
    display: none;
}

.answers-inner .review-ans .well table {
    max-width: 60%;
    text-align: left;
    margin: 0 auto 25px;
}

.answers-inner .review-ans .well table tr {
    border-bottom: 0;
}

.answers-inner .review-ans .well table td {
    font-weight: 600;
}

.answers-inner .review-ans .well table td input {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.answers-inner .review-ans .well table td input:after {
    content: '';
    width: 14px;
    height: 14px;
    position: absolute;
    top: calc(-14px + 4px);
    left: 0;
    border: 2px solid #b6b6b6;
    border-radius: 50%;
}

.answers-inner .review-ans .well table td input:checked:after {
    background-color: #50b148;
    border-color: #50b148;
}
/* /QUIZ ANSWERS */


/* IPAD CSS */
@media (max-width: 1000px) and (min-width: 768px) {
    div#content {
        padding: 40px 0 !important;
    }

    .answers-inner .review-ans .well table,
    .modal-body .well table {
        max-width: 70%;
    }

    .modal-body span.read,
    .success-wrapper {
        width: calc(80% + 30px);
    }

    .modal-content .modal-footer .btn {
        width: 40%;
    }
}
/* IPAD CSS */


/* MOBILE CSS */
@media (max-width: 767px) {
    #correct-answers {
        margin-top: 50px;
        margin-bottom: -30px;
    }

    .modal-body {
        padding: 30px;
    }

    .modal-body span.read,
    .success-wrapper,
    .modal-content .modal-footer .btn,
    .modal-body .well .question,
    .modal-body .well .quiz-inc-ques,
    .modal-body .well .quiz-cor-ans,
    .modal-body .well .explanation,
    .modal-content .btn,
    .quiz-modal-btn,
    .modal-content .well .btn-success,
    .modal-content .well #quiz-submit,
    .modal-content #back_to_single {
        width: 100%;
    }

    .answers-inner .review-ans .well table,
    .modal-body .well table {
        max-width: 80%;
    }

    .answers-inner .review-ans .well {
        height: calc(100% + 100px);
    }

    .answers-inner .review-ans .well::after {
        height: 100px;
    }

    .answers-inner .review-ans {
        max-width: 100%;
        flex: 0 0 100%;
        margin: 0 0 130px 0;
    }

    .modal-questions-header #timer-clock {
        padding-right: 20px;
    }
}
/* /MOBILE CSS */

header.entry-header {
    display: none;
}

.page-wrapper {
    margin-top: 0;
}

.page-inner {
    width: 90%;
    margin: auto;
}

.leaderboard-img {
    text-align: center;
    margin-bottom: 30px;
}

.leaderboard-img img {
    width: auto;
    max-height: 300px;
}

.tab-content {
    padding: 35px 0 0 !important;
}

.nav-tabs {
    width: 90%;
    border: none;
    margin: auto;
}

.nav-tabs .nav-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #5207A1;
    color: #fff;
    border-radius: 30px;
    border: 0;
    padding: 8px 20px;
    margin: 0 10px;
}

.nav-tabs .nav-link.active {
    background-color: #FF560B;
    color: #fff;
}

.tab-content>.active {
    padding-left: 30px;
}

div#nav-tabContent table tbody,
div#nav-tabContent table tr {
    display: flex;
    flex-wrap: wrap;
    border: none;
}

div#nav-tabContent table tr {
    width: 100%;
    background: #00B8D3;
    border-radius: 20px;
    padding: 7.5px 20px;
    margin: 5px 0;
}

div#nav-tabContent table tr:nth-child(even) {
    background: #B6E3F8;
}

div#nav-tabContent table tr.tr-you {
    background: #DB1D5D;
}

tr.tr-you:before {
    content: attr(data-rank);
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    font-size: 10px;
    line-height: 25px;
    text-align: center;
    font-weight: bold;
    background: #DB1D5D;
    color: #fff;
    border-radius: 50%;
    margin-left: calc(-20px - 25px - 5px);
    margin-top: 5px;
}

div#nav-tabContent table td {
    width: 25%;
    color: #fff;
    padding: 0px;
    margin: auto;
}

div#nav-tabContent table tr:nth-child(even) td {
    color: #75777E;
}

div#nav-tabContent table td:nth-child(1) {
    width: 40px;
}

div#nav-tabContent table td:nth-child(2) {
    width: 35%;
}

div#nav-tabContent table td:nth-child(2) a:after {
    content: '\f0da';
    font-family: FontAwesome;
    padding-left: 5px;
}

div#nav-tabContent table td:nth-child(3) {
    width: 120px;
    text-align: right;
    padding-right: 20px;
    background: url(/wp-content/uploads/2020/09/nuticon.svg);
    background-size: 15px;
    background-position: right;
    background-repeat:no-repeat;
}

div#nav-tabContent table td:nth-child(4) {
    width: calc(100% - 35% - 100px - 70px);
    text-align: center;
    padding-left: 10px;
}

.td-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.rank-1:before,
.rank-2:before,
.rank-3:before {
    content: ' ';
    position: absolute;
    height: 25px;
    width: 25px;
    background-image: url('/wp-content/themes/twentyseventeen-child/img/best.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: calc(-20px - 25px - 5px);
    margin-top: 5px;
}

.rank-2:before {
    background-image: url('/wp-content/themes/twentyseventeen-child/img/second.svg');
}

.rank-3:before {
    background-image: url('/wp-content/themes/twentyseventeen-child/img/third.svg');
}

.leader_msg {
    display: flex;
    align-items: center;
    min-height: 40px;
    font-size: 22px;
    font-weight: 600;
    background: #eee;
    background-image: url(/wp-content/themes/twentyseventeen-child/img/idea.svg);
    background-position: 20px;
    background-size: 30px;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 5px 20px 5px 60px;
    margin-bottom: 40px;
}

.action-btn-container {
    width: 65%;
    justify-content: center;
    margin: auto;
}

body.teacher div#nav-tabContent table tr:nth-child(n+4):before {
    content: attr(data-rank);
    position: absolute;
    background: #E01A4F;
    margin-left: -30px;
    color: #fff;
    line-height: 1;
    margin-top: 6px;
    padding: 5px 0;
    height: 20px;
    display: block;
    vertical-align: middle;
    width: 20px;
    font-size: 10px;
    border-radius: 50%;
}


/* IPAD PRO CSS */
@media (max-width: 1200px) and (min-width: 1024px) {
    .action-btn-container {
        width: 75%;
    }
}
/* /IPAD PRO CSS */


/* IPAD CSS */
@media(max-width: 1023px) and (min-width: 768px) {
    .page-inner {
        width: 100%;
    }

    .page-wrapper {
        padding: 30px;
    }

    div#nav-tabContent table td {
        font-size: 14px;
    }

    .action-btn-container {
        width: 85%;
    }
}
/* /IPAD CSS */


/* MOBILE CSS */
@media (max-width: 767px) {
    .nav-tabs,
    .page-inner {
        width: 100%;
    }

    .page-wrapper {
        padding: 30px;
    }

    .nav-tabs .nav-link {
        width: 100%;
    }

    .nav-tabs .nav-link:not(:last-child) {
        margin-bottom: 10px;
    }

    div#nav-tabContent table tr {
        position: relative;
        min-height: 60px;
    }

    div#nav-tabContent table td {
        width: calc(100% - 30px) !important;
        font-size: 13px;
        text-align: right !important;
        margin: 2.5px 0;
    }

    div#nav-tabContent table td.img-td {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px !important;
    }

    div#nav-tabContent table td:nth-child(4) {
        padding-left: 0;
    }

    .action-btn-container {
        width: 100%;
    }
}
/* /MOBILE CSS */





