/*
Theme Name: Talemy
Theme URI: https://talemy.themespirit.com/welcome/
Author: ThemeSpirit
Author URI: https://themespirit.com/
Description: LMS Education WordPress Theme.
Tags: left-sidebar, right-sidebar, two-columns, three-columns, custom-header, custom-colors, post-formats, sticky-post, rtl-language-support, translation-ready
Version: 1.2.14
Requires at least: 4.7
Requires PHP: 5.6
Tested up to: 6.0
License: Themeforest Split Licence
License URI: -
Text Domain: talemy
*/

.navigation-primary {
    background-color: /*green900*/#1b5e20;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    color: white;
    margin-top: .4rem;
    margin-bottom: .4rem;
    padding: .8rem 1.6rem;
    box-shadow: none;
    text-shadow: none;
    flex-shrink: 0;
}

.navigation-text {
    background-color: white;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    /* border-radius: 3px; */
    color: black;
    margin: .4rem 0 .4rem 0.8rem;
    padding: .8rem 1.6rem;
    box-shadow: none;
    text-shadow: none;
}

.exam-cid {
    flex-grow: 1;
    border-color: #ccc !important;
    border-radius: 0 0 0 0 !important;
    border-width: 0 0 1px 0 !important;
    margin: .8rem 0 .8rem .8rem !important;
    padding: 0 0 2px 0 !important;
}

.exam-pin {
    flex-grow: 1;
    border-color: #ccc !important;
    border-radius: 0 0 0 0 !important;
    border-width: 0 0 1px 0 !important;
    margin: .8rem 0 .8rem .8rem !important;
    padding: 0 0 2px 0 !important;
}


.learndash-template-ld30 .navbar-wrapper {
    display: none !important;
}


body.learndash-template-ld30 header#header {
    display: none !important;
}
.layerContainer
{
    width:100% !important;
}

.ques-toggle{
display:none!important;
}
.logout-button{
position:absolute!important;
top:6.3%!important;
	left:-45%!important;
}

button.custom-finish-quiz {
    align-items: center;
    color: #fff;
    background-color: #724472;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .75em;
    font-weight: 800;
    margin: 0;
    opacity: 1;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    transition: opacity .3s ease;
    display: flex;
    height: auto;
    justify-content: center;
    line-height: 1.25em;
    max-width: 385px;
    padding: 1em;
    white-space: normal;
    width: 100%;
    width: auto;
}


#quiz-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

#quiz-preview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#quiz-preview-questions {
    max-height: 300px;
    overflow-y: auto;
}

.preview-question {
    margin-bottom: 15px;
}

#quiz-preview-actions {
    margin-top: 20px;
    text-align: right;
}

#quiz-preview-actions button {
    margin-right: 10px;
    padding: 10px 20px;
    border: none;
    background: #0073aa;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

#quiz-preview-actions button:last-child {
    margin-right: 0;
}
input[name="endQuizSummary"]{
    display: none!important;
}
.layerContainer {
    border: 0;
    background: transparent!important;
}
document.querySelectorAll("p").forEach((p) => {
  if (p.textContent.includes("Questions completed")) {
    p.style.display = "none";
  }
});
