/**
Theme Name: Wiki Child
Author: Err
Author URI: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiki-child
Template: astra
*/

/* menu */

.main-header-menu .sub-menu {
	background-color: rgb(0,114,163)
}

.main-header-menu .sub-menu {
    border: 0;
}

.main-header-menu .sub-menu .menu-link {
    padding: 5px 15px !important;
}

/* container */

body.single .site-content > .ast-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-content > .ast-container {
    min-height: 77vh;
}

body.single .entry-content ol,
body.single .entry-content ul {
    margin: 0 0 1.5em 3em;
}

/* sat hach */

body.single .hdq_quiz_start.hdq_button {
    border-radius: 50px;
}

body.single .hdq_question {
    margin: 1.5rem 0;
    background: #f8f9fa;
    border-left: 5px solid #007bff;
    border-bottom: 0;
    border-radius: 8px;
}

body.single h3.hdq_question_heading {
    color: #34495e;
    font-size: 18px;
    line-height: 1.5;
}

body.single .hdq_quiz .hdq_row {
    margin: 10px;
    border-radius: 7px;
}

body.single .hdq_quiz .hdq_row:not(.hdq_correct_not_selected):not(.hdq_wrong) {
    background-color: #fff;
    border: thin solid #f1f1f1;
}

body.single .hdq_quiz .hdq_row:hover:not(.hdq_correct_not_selected):not(.hdq_wrong) {
    background-color: #cacaca;
}

body.single .hdq_row.hdq_correct_not_selected {
    border: thin solid green;
}

body.single .hdq_row.hdq_wrong {
    background-color: #f8d7da;
    border: thin solid red;
}

body.single .hdq_label_answer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
    font-size: 15px;
    line-height: 1.5;
}

/* toggle */

body.single .hdq-options-check .hdq_toggle {
    width: 25px;
    height: 18px;
}

body.single .hdq-options-check .hdq_toggle::before {
    width: 18px;
    height: 18px;
}

body.single .hdq-options-check .hdq_toggle::before {
    background: #fff;
    border: thin solid #818181;
}

body.single .hdq-options-check input[type="checkbox"]:checked + .hdq_toggle:before {
    background: #fff;
    border: thin solid #17b326;
}

body.single .hdq-options-check .hdq_toggle::after {
    top: 3px;
    left: 5px;
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: unset;
    animation: unset;
}

body.single .hdq-options-check input[type="checkbox"]:checked + .hdq_toggle:after {
    left: 5px;
    background: #00ec00;
    animation: unset;
}

/* results */

body.single .hdq_results_wrapper {
    margin: 2rem 0 0;
    background: unset;
    border-top: 3px dashed #d6d6d6;
    border-bottom: 0;
}

.hdq_quiz_wrapper .hdq_button {
    border-radius: 8px;
}

body.single .hdq_results_inner .hdq_results_title {
    margin-bottom: 1rem;
    font-size: 22px;
    line-height: 1.5;
    text-align: center;
}

body.single .hdq_results_inner .hdq_result_percent {
    color: #8f8f8f;
    font-size: 28px;
    font-weight: 400;
}

body.single .hdq_results_inner .hdq_result {
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 45px;
    line-height: 1.2;
    text-align: center;
}


body.single .hdq_results_inner h3 {
    margin-bottom: 10px;
}

/* button */

body.single .forminator-button-submit {
    display: block !important;
    margin: 0 auto !important;
    width: 100% !important;
}

body.single .reload {
    background-color: unset;
    color: #000;
    font-size: 12px;
    text-decoration: underline;
}

/* list post */

.pt-cv-wrapper .h1, .pt-cv-wrapper .h2, .pt-cv-wrapper .h3, .pt-cv-wrapper .h4, .pt-cv-wrapper .h5, .pt-cv-wrapper .h6, .pt-cv-wrapper h1, .pt-cv-wrapper h2, .pt-cv-wrapper h3, .pt-cv-wrapper h4, .pt-cv-wrapper h5, .pt-cv-wrapper h6 {
	line-height: 0.8;
}