/*Dashboard Redesign | Start*/

.fox-lms-dashboard-main-wrap .ays-settings-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    min-height: 70vh;
}

.fox-lms-dashboard-main-wrap .fox-lms-tab-content fieldset, .ays-settings-wrapper fieldset {
    /*border: 1px solid #626ee3;*/
    border-radius: 16px;
    padding: 22px 36px;
    border: 2px solid #cfd3f6;
    box-shadow: 0 3px 8px 0 #c0c5f34d;
}

.fox-lms-dashboard-main-wrap .ays-settings-wrapper #tab3 fieldset + hr,
.fox-lms-dashboard-main-wrap .fox-lms-tab-content > fieldset + hr {
    border-top: 1px solid transparent;
}

.fox-lms-dashboard-main-wrap .top-menu-buttons-container{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

.fox-lms-dashboard-main-wrap .ays_save_buttons_box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.fox-lms-dashboard-main-wrap .button-primary.ays-top-menu-save-and-close,
.fox-lms-dashboard-main-wrap .button-primary.ays-bottom-menu-save-and-close{
    height: 32px;
    border-radius: 4px;
    border-color:#626ee3;
    padding:4px 18px;
    background-color: white;
    color:#626ee3;
    margin-left:10px;
    line-height: unset;
}

.fox-lms-dashboard-main-wrap .button-primary.ays-top-menu-save-and-close:hover,
.fox-lms-dashboard-main-wrap .button-primary.ays-bottom-menu-save-and-close:hover{
    background-color: #E5EEFF;
    color:#626ee3;
}

.fox-lms-dashboard-main-wrap .button#ays-button-top-apply,
.fox-lms-dashboard-main-wrap .button#ays-button-apply-top,
.fox-lms-dashboard-main-wrap .button#ays-button-apply{
    margin-left: 0;
    margin-right: 0;
}

.fox-lms-dashboard-main-wrap .button#ays-button-apply:focus,
.fox-lms-dashboard-main-wrap .button#ays-button-top-apply:focus,
.fox-lms-dashboard-main-wrap .button#ays-button-apply:hover,
.fox-lms-dashboard-main-wrap .button#ays-button-top-apply:hover{
    /*background-color: #004CBD;*/
}

.fox-lms-dashboard-main-wrap .button {
    margin-right:10px;
}

.fox-lms-dashboard-main-wrap .button:not(.button-primary,.wp-color-result),
.fox-lms-dashboard-main-wrap .button:not(.button-primary,.wp-color-result):active {
    border-radius: 4px;
    border-color:#626ee3;
    padding: 0 10px;
    background-color: white;
    color:#626ee3;
    line-height: 2.15384615 !important;
    transition: all 0.3s;
}

.fox-lms-dashboard-main-wrap button.button.add_media,
.fox-lms-dashboard-main-wrap button.button.add_media:active {
    top: 0;
    margin: 0;
}

.fox-lms-dashboard-main-wrap .button:not(.button-primary,.wp-color-result):focus,
.fox-lms-dashboard-main-wrap .button:not(.button-primary,.wp-color-result):hover {
    background-color: #E5EEFF;
    color:#626ee3;
}

.fox-lms-dashboard-main-wrap .button-primary,
.fox-lms-dashboard-main-wrap .button-primary:active {
    border-radius: 4px;
    border-color:#626ee3;
    padding: 0 10px;
    background-color: #626ee3;
    color: #fff;
    line-height: 2.15384615 !important;
    transition: all 0.3s;
    top: 0;
}

.fox-lms-dashboard-main-wrap .button-primary:focus,
.fox-lms-dashboard-main-wrap .button-primary:hover {
    background-color: #4654d9;
    border-color:#4654d9;
}

.fox-lms-dashboard-main-wrap .button#ays_quiz_cancel_top:focus,
.fox-lms-dashboard-main-wrap .button#ays_quiz_cancel:focus,
.fox-lms-dashboard-main-wrap .button#ays_quiz_cancel_top:hover,
.fox-lms-dashboard-main-wrap .button#ays_quiz_cancel:hover{
    background-color: #E5EEFF;
    color:#626ee3;
}

.fox-lms-dashboard-main-wrap div.ays-top-menu-container-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.fox-lms-dashboard-main-wrap div.ays-top-menu-wrapper div.ays-top-menu div.ays-top-tab-wrapper {
    border-bottom: none;
}

.fox-lms-dashboard-main-wrap div.ays-top-menu-wrapper div.ays-top-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fox-lms-dashboard-main-wrap .ays-settings-wrapper-tabs .nav-tab,
.fox-lms-dashboard-main-wrap.fox-lms-dashboard-main-wrap .ays-top-menu-wrapper .nav-tab{
    border-top: none;
    border-right: none;
    border-left: none;
    margin-left: 0px;
    padding-bottom: 12px;
    background-color: transparent;
    border-bottom: 1px solid #c7c3c3;
    color: black;
    margin-bottom: 0;
    text-decoration: none;
}

div.fox-lms-dashboard-main-wrap .ays-settings-wrapper-tabs .nav-tab {
    border: unset !important;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.fox-lms-dashboard-main-wrap .ays-top-menu-wrapper .nav-tab:hover{
    border-bottom:1px solid #626ee3 !important;
    text-decoration: none;
}

.fox-lms-dashboard-main-wrap .nav-tab-active{
    border-bottom:1px solid #626ee3 !important;
    color: #626ee3 !important;
    /*background-color: #626ee3 !important;*/
}

.fox-lms-dashboard-main-wrap .ays-settings-wrapper-tabs .nav-tab:hover:not(.nav-tab-active) {
    color: #626ee3 !important;
    background-color: #eef1f7 !important;
}

.fox-lms-dashboard-main-wrap .ays-settings-wrapper-tabs .nav-tab-active{
    border-bottom:1px solid #626ee3 !important;
    color: #fff !important;
    background-color: #626ee3 !important;
}

.fox-lms-dashboard-main-wrap .ays_quiz_fa-info-circle:before{
    color: #626ee3;
}

.fox-lms-dashboard-main-wrap input[type="text"]:focus{
    border-color: #626ee3;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.fox-lms-dashboard-main-wrap #tab1 .add-option-top-container .ays-add-answer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 34px;
    border-radius: 4px;
    border-color:#ADC6FF;
    padding:4px 15px 4px 10px;
    background-color: #F0F5FF;
    color:#626ee3;
    border: 1px solid;
    font-size: 16px;
}

.fox-lms-dashboard-main-wrap #tab1 .add-option-top-container .ays-add-answer:hover{
    background-color: #d1def5 !important;
    cursor: pointer;
}

.fox-lms-dashboard-main-wrap #tab1 .plus-sign{
    height: 17px;
    margin-right: 7px;
}

/*.fox-lms-dashboard-main-wrap .ays-text-input{*/
/*    border-color: #cfd3f6;*/
/*}*/

/*.fox-lms-dashboard-main-wrap #fox-lms-settings-form .ays-text-input {*/
/*    background-color: #f0f0f1;*/
/*}*/

/*.fox-lms-dashboard-main-wrap .ays-text-input:focus,*/
/*.fox-lms-dashboard-main-wrap .ays-text-input:active {*/
/*    border-color: #626ee3;*/
/*}*/

/* pics */

.fox-lms-dashboard-main-wrap #tab1 .fox-lms-answer-image-container img {
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
}

.fox-lms-dashboard-main-wrap #tab1 .fox-lms-answer-image-container{
    width: 60px;
    height: 60px;
    margin:5px auto;
}

.fox-lms-dashboard-main-wrap .ays-top-menu{
    background-color: transparent;
}

.fox-lms-dashboard-main-wrap div.ays-top-menu-container-wrapper,
    /*.fox-lms-dashboard-main-wrap .fox-lms-top-actions-container-wrapper,*/
.fox-lms-dashboard-main-wrap .ays_save_buttons_content,
.fox-lms-dashboard-main-wrap .fox-lms-tab-content {
    /*width: 95%;*/
    width: 100%;
    max-width: 100%;
}

.fox-lms-dashboard-main-wrap .fox-lms-top-actions-container-wrapper {
    margin: 0 auto;
}

.fox-lms-dashboard-main-wrap .fox-lms-top-actions-container-wrapper > div {
    padding: 0;
}

.fox-lms-dashboard-main-wrap div.ays-top-menu-wrapper {
    width: 75%;
}

.fox-lms-dashboard-main-wrap.fox-lms-dashboard-main-nowrap div.ays-top-menu-wrapper {
    width: 40%;
}

.fox-lms-dashboard-main-wrap .ays_save_buttons_content {
    margin: 0 auto;
}

.fox-lms-dashboard-main-wrap .ays_save_buttons_content.ays_save_buttons_bottom_content {
    flex-direction: row-reverse;
}

.fox-lms-dashboard-main-wrap .ays_save_buttons_bottom_content p.submit {
    margin: 0;
    padding: 0;
}

.fox-lms-dashboard-main-wrap .ays_quiz_loader_box {
    margin-right: 10px;
}

.fox-lms-dashboard-main-wrap .fox-lms-tab-content{
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    margin-top: 20px;
    margin: 20px auto 0;
}

.fox-lms-dashboard-main-wrap #fox-lms-settings-form .fox-lms-tab-content{
    padding: 0;
}

.fox-lms-dashboard-main-wrap .ays-settings-wrapper .fox-lms-tabs-wrapper {
    border: unset;
}

.fox-lms-dashboard-main-wrap input[type=checkbox] {
    accent-color: #626ee3;
}

.fox-lms-dashboard-main-wrap input[type="checkbox"]:checked::before {
    filter: brightness(0) saturate(100%) invert(20%) sepia(95%) saturate(6593%) hue-rotate(211deg) brightness(98%) contrast(103%);
}

.fox-lms-dashboard-main-wrap input[type="radio"]:checked::before {
    background-color: #626ee3;
}

.fox-lms-dashboard-main-wrap .only_pro input[type="radio"]:checked::before {
    opacity: 0.5;
}

.fox-lms-dashboard-main-wrap input[type="checkbox"]:focus {
    border-color: #626ee3;
    box-shadow: 0 0 0 1px #626ee3;
}

.fox-lms-dashboard-main-wrap label.ays_switch_toggle:after {
    background: #626ee3;
}

.ays-bottom-menu-buttons{
    max-height: 30px !important;
    min-height: 30px !important;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    margin-top: 4px !important;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.fox-lms-dashboard-main-wrap .ays-loader-img {
    width: 16px;
    height: 16px;
}

@media screen and (max-width: 1550px){
    div.fox-lms-dashboard-main-wrap:not(.fox-lms-dashboard-main-nowrap) div.ays-top-menu-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 1270px) {
    .fox-lms-dashboard-main-wrap .top-menu-buttons-container{
        justify-content: flex-start;
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
    .fox-lms-answer-image-container {
        width: 48px;
    }

    .fox-lms-answer-image-container img {
        min-width: 48px;
    }

    div.fox-lms-dashboard-main-wrap div.ays-top-menu-wrapper,
    div.fox-lms-dashboard-main-wrap.fox-lms-dashboard-main-nowrap div.ays-top-menu-wrapper {
        width: 100%;
    }

    div.fox-lms-dashboard-main-wrap div.ays-top-menu-container-wrapper,
    div.fox-lms-dashboard-main-wrap .ays_save_buttons_content,
    div.fox-lms-dashboard-main-wrap .fox-lms-tab-content {
        width: 100%;
    }

    div.fox-lms-dashboard-main-wrap .fox-lms-tab-content {
        padding: 20px 15px;
    }

    div.fox-lms-dashboard-main-wrap div.ays-top-menu-container-wrapper {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    div.fox-lms-dashboard-main-wrap .ays_save_buttons_content.ays_save_buttons_bottom_content .fox-lms-add-new-button-quiz-edit-box,
    div.fox-lms-dashboard-main-wrap .ays_save_buttons_content.ays_save_buttons_bottom_content .ays-question-button-first-row{
        margin-bottom: 10px;
    }

    div.fox-lms-dashboard-main-wrap .button#ays-button-top-apply,
    div.fox-lms-dashboard-main-wrap #ays-button-apply-top,
    div.fox-lms-dashboard-main-wrap .button#ays-button-apply{
        margin-left: 0 !important;
    }

    div.fox-lms-dashboard-main-wrap .ays-settings-wrapper fieldset {
        padding: 10px;
    }

    div.fox-lms-dashboard-main-wrap .ays-settings-wrapper .fox-lms-tabs-wrapper {
        padding-left: 0;
    }
}

/*Dashboard Redesign | End*/

/* Display none some sections | Start */

.fox-lms-dashboard-main-wrap .fox-lms-open-question-editor,
.fox-lms-dashboard-main-wrap .fox-lms-answers-conteiner,
.fox-lms-dashboard-main-wrap .fox-lms-actions-answers-bulk-add,
.fox-lms-dashboard-main-wrap .fox-lms-question-row .fox-lms-question-type-box,
.fox-lms-dashboard-main-wrap .fox-lms-other-answer-and-actions-row {
    /*display: none !important;*/
}

.fox-lms-dashboard-main-wrap .fox-lms-section-title-conteiner .fox-lms-input-underline,
.fox-lms-dashboard-main-wrap .fox-lms-section-title-conteiner .fox-lms-input-underline-animation,
.fox-lms-dashboard-main-wrap .fox-lms-section-head-top,
.fox-lms-dashboard-main-wrap .fox-lms-answers-conteiner,
.fox-lms-dashboard-main-wrap .fox-lms-question-answer-conteiner .fox-lms-row-divider,
.fox-lms-dashboard-main-wrap .fox-lms-actions-row .fox-lms-action-delete-question,
.fox-lms-dashboard-main-wrap .fox-lms-question-row-wrap .fox-lms-add-question-image,
.fox-lms-dashboard-main-wrap .fox-lms-question-row-wrap .fox-lms-open-question-editor,
.fox-lms-dashboard-main-wrap .fox-lms-question-row-wrap .fox-lms-action-collapse-question,
.fox-lms-dashboard-main-wrap .fox-lms-actions-row .fox-lms-vertical-divider,
.fox-lms-dashboard-main-wrap .fox-lms-question-row .fox-lms-question-type-box,
.fox-lms-dashboard-main-wrap .fox-lms-actions-row .fox-lms-answer-elem-box,
.fox-lms-dashboard-main-wrap .fox-lms-answer-icon-box.fox-lms-question-more-actions,
.fox-lms-dashboard-main-wrap .fox-lms-action-duplicate-question,
.fox-lms-dashboard-main-wrap .fox-lms-description-box {
    display: none !important;
}

.fox-lms-dashboard-main-wrap .fox-lms-question-dlg-dragHandle .fox-lms-icons-hidden {
    visibility: visible;
}

.fox-lms-dashboard-main-wrap .fox-lms-question-dlg-dragHandle .fox-lms-icons-hidden img {
    transform: rotate(90deg);
}

/* Display none some sections | End */

/* FoxLMS design | Start */

.fox-lms-section-box {
    background-color: #fff;
    border: 2px solid #cfd3f6;
    border-radius: 16px;
    box-shadow: 0 3px 8px 0 rgba(var(--foxlms--primary-color--rgb),.15);
    padding: 20px;
    margin-bottom: 20px;
}

.fox-lms-dashboard-main-wrap .fox-lms-question-input-textarea {
    border: 2px solid rgb(var(--foxlms--primary-color--rgb)) !important;
    border-radius: 6px;
    box-shadow: unset;
    height: 20px;
    outline: unset;
    background-color: #f9f9f9;
    width: 100%;
    padding: 10px;
    line-height: 2;
    min-height: 20px;
    color: #2c3338;
}

.fox-lms-dashboard-main-wrap #tab1.m2 .fox-lms-sections-conteiner .fox-lms-section-title.fox-lms-input {
    font-size: 24px;
    background-color: #f9f9f9;
    border: 2px solid rgb(var(--foxlms--primary-color--rgb)) !important;
    border-radius: 6px;
}

.fox-lms-dashboard-main-wrap .fox-lms-question-row .fox-lms-question-input-box textarea.fox-lms-question-input-textarea.fox-lms-question-input.fox-lms-input {
    height: 20px;
}

/* {
    border: 1px solid #ccc;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    border-radius: 4px;
    background-color: #fff;
    resize: none;
    overflow-x: auto;
    white-space: nowrap;
    height: 40px !important;
} */

/* FoxLMS design | End */
