/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 18, 2019, 12:06:25 PM
    Author     : soha
*/

.sfwd_options .learndash-section-field-number.-medium, .sfwd_options .learndash-section-field-text.-medium, .sfwd_options .learndash-section-field-url.-medium {
    width: 70% !important;
}

.sfwd_option_div {
    width: 103% !important;
    margin-bottom: 10px !important;
}

.sfwd_option_input_percentage {
    float: left !important;
    width: 16% !important;
    /* margin: 5px; */
    /* min-width: 320px; */
    /* max-width: 900px; */
}

/*  */

.mycred-metabox .widget-content .hook-instance .specific-hook-actions {
	margin-bottom: 12px !important;
}

.mycred-metabox .widget-content .hook-instance:last-child .specific-hook-actions {
	margin-bottom: 0px !important;
}

.mycred-metabox .widget-content .hook-instance:last-child .specific-hook-actions .mycred-add-specific-hook {
	display: initial;
}

.inside {
    clear: both;
}

input.ld-quiz-score-field {
    width: 90%;
}

input.count {
    width: 90%;
}

h2.learndash-mycred-settings-header {
    margin-bottom: 20px !important;
}

.wp-admin .custom-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.wp-admin .custom-option > label {
    flex-basis: 20%;    
    display: flex;
    align-items: center;
    color: #5F5F5F;
    font-weight: 700;
    line-height: 19px;
    padding: 11px 3% 10px 0;
}

.wp-admin .custom-option > label img {
    margin-right: 30px;

}

.wp-admin .custom-option .option-wrapper {
    padding: 18px 0 10px;
    flex-basis: 77%;    
}

.wp-admin .custom-option .option-wrapper .form-element {
    display: flex;
    align-items: center;
}

.wp-admin .custom-option .option-wrapper .form-element > input:not([type='checkbox']):not([type='radio']),
.wp-admin .custom-option .option-wrapper .form-element > select,
.wp-admin .custom-option .option-wrapper .form-element > textarea,
.wp-admin .custom-option .option-wrapper .show-pag input:not([type='checkbox']):not([type='radio']),
.wp-admin .custom-option .option-wrapper .show-pag select,
.wp-admin .custom-option .option-wrapper .show-pag textarea,
.wp-admin .custom-option .option-wrapper .timing-wrapper input:not([type='checkbox']):not([type='radio']),
.wp-admin .custom-option .option-wrapper .timing-wrapper select,
.wp-admin .custom-option .option-wrapper .timing-wrapper textarea,
.wp-admin .custom-option .option-wrapper .user-count input:not([type='checkbox']):not([type='radio']),
.wp-admin .custom-option .option-wrapper .user-count select,
.wp-admin .custom-option .option-wrapper .user-count textarea {    
    color: #515151;
    height: 35px;
    font-size: 14px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
    background-color: #fff;
    color: #32373c;
    outline: 0;
    transition: 50ms border-color ease-in-out;
    margin: 1px;
    padding: 3px 5px;
    border-radius: 0;
}

.wp-admin .custom-option .option-wrapper .form-element > * {
    min-width: 80%;
}

.wp-admin .custom-option .option-wrapper .form-element.two-cols > * {
    min-width: 40%;
    margin-right: 1%;    
}

.wp-admin .custom-option .option-wrapper .form-element input[type=checkbox] {
    border: 1px solid #b4b9be;
    background: #fff;
    color: #555;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 16px;
    margin: 0 4px 0 1px;
    outline: 0;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
    width: 16px;
    min-width: 16px;
    -webkit-appearance: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    transition: .05s border-color ease-in-out;
}

.wp-admin .custom-option .option-wrapper .help-text {
    font-size: 12px;
    color: #797979;
    line-height: 15px;
    font-style: italic;
    margin: 10px 0;
}

#leaderboard h2 span {
    font-size: 16px;
}

.wp-admin .custom-option .option-wrapper .based-option {
    margin-top: 15px;
}

.wp-admin .custom-option .option-wrapper .based-option {
    max-width: 80%;
}

.wp-admin .custom-option .option-wrapper .based-option input:not([type='checkbox']):not([type='radio']),
.wp-admin .custom-option .option-wrapper .based-option select,
.wp-admin .custom-option .option-wrapper .based-option textarea {
    width: 100%;
    color: #515151;
    height: 35px;
    font-size: 14px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
    background-color: #fff;
    color: #32373c;
    outline: 0;
    transition: 50ms border-color ease-in-out;
    margin: 1px;
    padding: 3px 5px;
    border-radius: 0;
}

.wp-admin .custom-option .option-wrapper #based_type > div {
    display: flex;
    flex-wrap: wrap;    
    align-items: center;    
    margin-top: 15px;
}

.wp-admin .custom-option .option-wrapper .based-option #course_selection {
    margin-top: 15px;
}

.wp-admin .custom-option .option-wrapper .based-option #leaderboard_based_on_lessons,
.wp-admin .custom-option .option-wrapper #leaderboard_based_courses,
.wp-admin .custom-option .option-wrapper #leaderboard_based_lessons,
.wp-admin .custom-option .option-wrapper #leaderboard_based_on_topics,
.wp-admin .custom-option .option-wrapper #lesson_topic #leaderboard_based_on_topics,
.wp-admin .custom-option .option-wrapper #lesson_topic #learndash_quiz,
.wp-admin .custom-option .option-wrapper #leaderboard_based_on_quizes {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.wp-admin .custom-option .option-wrapper .based-option #leaderboard_based_on_lessons > div,
.wp-admin .custom-option .option-wrapper .based-option #leaderboard_based_on_course > div,
.wp-admin .custom-option .option-wrapper #based_type > div > div,
.wp-admin .custom-option .option-wrapper #leaderboard_based_on_topics > div,
.wp-admin .custom-option .option-wrapper #lesson_topic #leaderboard_based_on_topics > div,
.wp-admin .custom-option .option-wrapper #lesson_topic #learndash_quiz > div,
.wp-admin .custom-option .option-wrapper #leaderboard_based_on_quizes > div {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.wp-admin .custom-option .option-wrapper .based-option #leaderboard_based_on_lessons > div input,
.wp-admin .custom-option .option-wrapper .based-option #leaderboard_based_on_course > div input,
.wp-admin .custom-option .option-wrapper #based_type > div input,
.wp-admin .custom-option .option-wrapper #lesson_topic #leaderboard_based_on_topics > div input,
.wp-admin .custom-option .option-wrapper #lesson_topic #learndash_quiz > div input,
.wp-admin .custom-option .option-wrapper #leaderboard_based_on_quizes > div input {
    margin-top: 0;
}

.wp-admin .custom-option .option-wrapper #leaderboard_based_courses,
.wp-admin .custom-option .option-wrapper #lesson_topic > *,
.wp-admin .custom-option .option-wrapper #lesson_quiz > * {
    margin-top: 15px;
}

.wp-admin .custom-option .option-wrapper #leaderboard_based_courses,
.wp-admin .custom-option .option-wrapper #leaderboard_based_lessons {
    margin-right: 0;
}
.wp-admin .custom-option .option-wrapper #leaderboard_based_courses label,
.wp-admin .custom-option .option-wrapper #leaderboard_based_lessons label {
    margin-right: 15px;
    margin-bottom: 15px;
}

.wp-admin .custom-option .option-wrapper #leaderboard_based_topics_cat,
.wp-admin .custom-option .option-wrapper #leaderboard_based_topics,
.wp-admin .custom-option .option-wrapper #leaderboard_based_quizes_cat,
.wp-admin .custom-option .option-wrapper #leaderboard_based_quizes {
    flex-basis: 100%;
    margin-top: 15px;
}

.show-pag {
    line-height: 37px;       
}

.show-pag #pagination-number {
    margin-left: 20px;
    white-space: nowrap;
}

.show-pag #pagination-number,
.show-pag #pagination-number input  {
    width: 100%;
}

.show-pag #pagination-number input {
    margin-right: 20px !important;
}

.timing-filter {
    text-transform: capitalize;
}

.timing-filter select,
.user-count input {
    width: 100%;
    margin-right: 20px !important;
}

.timing-wrapper #custom-picker {
    text-transform: capitalize;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.timing-wrapper #custom-picker input {
    width: 100%;
    margin-left: 20px;
}

.timing-wrapper #custom-picker input:first-of-type {
    margin-right: 20px;
}

.which-point, .points-wrapper, .points-wrapper .type-point,
.user-count, .label-text, .timing-filter, #pagination-number, .show-pag {
    display: flex;
    align-items: center;    
}

.points-wrapper .type-point {
    margin-right: 30px !important;
}

.leaderboard-settings {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #ccc;
}

.label-text input[type="checkbox"] {
    margin-top: 0;
}

.based-title {
    flex-basis: 100%;
    margin-bottom: 10px;
    font-weight: 500;
}

.no-lesson {
    display: block;
    color: #a00;
    font-style: italic;
}