/*
Theme Name: 16Personalities
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.flex-auto {
    flex: auto;
}
section.tests {
    background-image: url("./assets/img/8887481.jpg");
    padding: 15px 0;
    min-height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
section.tests .col-inner {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
section.tests h1 {
    padding: 15px 15px;
    text-align: center;
    margin: 0
}
section.tests .question {
    padding: 20px 12px 40px
}
section.tests .question {
    border-top: 1px solid #cfe9df
}
.question__title {
    font-size: 20px;
}
section.tests .question ul {
    list-style: none;
}
section.tests .question ul li {
    margin-left: 0;
    padding-left: 30px;
    cursor: pointer;
}

section.tests .question .select {
    background-color: #fefefe;
    border: 1px solid #444;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 99px;
}
section.tests .question ul li.active .select {
    background: #01997a;
    border-color: #01997a
}
section.tests .question .check-again {
    padding-left: 30px;
    position: absolute;
    right: 15px;
    bottom: 20px;
    cursor: pointer;
}
section.tests .question .check-again.active .select {
    background-color: orange;
    border-color: orange
}
.question__wrap {
    padding: 0 12px;
    text-align: center;
}
section.tests .question__numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
section.tests .question__number {
    margin-left: 0;
    width: 14.286%;
    text-align: center;
}
section.tests .question__number .check,
section.tests .question__notes ul li .select {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 99px;
    border: 1px solid #777;
    line-height: 1.8;
    font-size: 20px;
    color: #777
}
section.tests .question__number.active .check {
    background: #01997a;
    color: #fff;
    border-color: #01997a
}
section.tests .question__number.recheck .check {
    background: orange;
    border-color: orange;
    color: #fff
}
.test__wrap {
    border-bottom: 1px solid #0d6341;
    margin-bottom: 20px
}
.test__wrap p {
    margin-bottom: 0;
    font-size: 20px;
}
.test__time, .test__number {
    padding: 12px 12px
}
.test__time {
    border-left: 1px solid #0d6341
}
.test__wrap p span {
    font-size: 30px;
    font-weight: bold;
}
.test__time span {
    color: #b8b8b8
}
.question__notes ul {
    list-style: none;
}
section.tests .question__notes ul li {
    margin-left: 0;
    padding-left: 70px;
    margin-bottom: 20px;
}
section.tests .question__notes ul li .select {
    position: absolute;
    top: 13px;
    left: 20px;
    transform: translateY(-50%);
}
section.tests .question__notes ul li .select.done {
    background: #01997a;
    border-color: #01997a
}
section.tests .question__notes ul li .select.pending {
    background: orange;
    border-color: orange
}
#submit-check {
    margin-right: 0;
    background-color: #01997a;
    color: #fff;
    border-radius: 5px;
}
#submit-check:hover {
    background-color: #0d6341;
}
#password-form {
    margin-bottom: 0
}
#passSubmit {
    margin-right: 0
}
#swal2-input {
    margin: 0
}
.swal2-html-container {
    order: 1
}
.swal2-title {
    padding-bottom: 15px
}
.bar {
    display: flex;
    flex-flow: wrap row;
    justify-content: space-between;
    margin: 15px 0;
    gap: 10px
}
.bar__select {
    flex: 0 1 auto;
    height: 10px;
    width: 100%;
    background: #dddddd;
}
.bar__fill {
    position: absolute;
    top: 0;
    height: 10px;
    background: #01997a;
}
.ids-title__bg:after,
.ids-about__bg:after {
    content: "";
    display: block;
    height: 140px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 85% calc(100% - 7px), 64% calc(100% - 15px), 24% 100%, 0 calc(100% - 30px));
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4298b4;
}
.ids-about__bg:after {
    background-color: #f0f0f0;
    height: 350px;
}
.mbti__avatar {
    max-width: 230px;
    margin: 0 auto;
    padding-top: 35px;
}
.mbti.row .col {
    padding-bottom: 0
}
.ids-about p {
    font-size: 16px
}
.stack.ids-button {
    padding: 15px 15px
}
/* IQ */
.iq-question {
    display: flex;
    flex-flow: wrap row;
}
.iq-question > li {
    display: inline-block;
    max-width: 33.333333%;
    flex-basis: 33.333333%;
}
#iq-question .question {
    display: none;
}
#iq-question .question.active {
    display: block;
    min-height: 300px;
}
ul.eq-question {
    display: flex;
    flex-flow: wrap row;
    margin-bottom: 0;
}
#eq-question ul.eq-question li {
    flex: 1 1 auto;
    min-height: 45px;
}
#eq-question ul.eq-question li .select {
    border-radius: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    
}
#eq-question ul.eq-question li:not(:first-child) .select {
    border-left: 0
}
#eq-question ul.eq-question li .answer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#eq-question ul.eq-question li.active {
    background: #01997a;
    color: #fff
}
#eq-question .question {
    padding: 20px 12px 60px;
}

.ids-disc__text p {
    margin-bottom: 0;
    text-transform: uppercase;
}
:root {
      --neon-text-color: #f40;
  --neon-border-color: #08f;
}
.ids-disc__result {
    font-size: 128px;
    color: #01997a;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1;
    background: -webkit-linear-gradient(#11bda5, #fac30d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ids-disc__define {
    margin-bottom: 0;
    font-size: 24px;
    font-weight: bold;
    color: #f0aa0b;
    text-transform: uppercase;
}
section.ids-disc .section-content > .row {
    box-shadow: 0 9px 20px rgba(0, 0, 0, .3);
}
section.tests #iq-question .question span.select {
    left: 5px;
}

/* FIXED MENU */
.hide-for-medium.flex-right, [data-show=hide-for-medium].flex-right {
    display: none !important;
}
.medium-logo-center .flex-right {
    flex: 1 1 0;
    order: 3;
}
#swal2-html-container {
    text-align: left;
}
#changePostBtn {
    margin: 0
}
#swal2-html-container p {
    margin-bottom: 10px;
    font-weight: bold;
}
#swal2-html-container p:nth-child(6) img.size-full {
    margin-bottom: 0;
    border: 2px solid red
}
#swal2-html-container p:last-child {
    text-align: center;
}
@media only screen and (max-width: 850px) {
    .row:not(#iq-question) .test__wrap {
        position: fixed;
        top: 70px;
        background: #cfe9e0;
        width: 100vw;
        left: 0;
        right: 0;
        border-top: 1px solid #01997a;
        z-index: 999;
        display: none;
    }
    .row:not(#iq-question) .test__wrap p {
        font-size: 16px;
    }
    .row:not(#iq-question) .question__wrap {
        padding: 15px 12px 0;
    }
}
@media only screen and (min-width: 540px) {
    section.tests .question__number {
        width: 10%;
    }
}
@media only screen and (min-width: 850px) {
    section.tests .question__number {
        width: 16.667%;
    }
    .question__wrap > .scroll {
        overflow: scroll;
        max-height: 200px;
    }
    .iq-question > li {
        display: inline-block;
        max-width: 25%;
        flex-basis: 25%;
    }
    section.tests {
        padding: 30px 0;
    }
    /* FIX MENU */
    .show-for-medium, [data-show=show-for-medium] {
        display: block !important;
    }
    .medium-logo-center .logo {
        order: 2;
    }
}
@media only screen and (min-width: 1024px) {
    .mbti__avatar {
        max-width: 75%;
    }
    
}
@media only screen and (min-width: 1140px) {
    section.tests .question__number {
        width: 14.286%;
    }
    .medium-logo-center .flex-right {
        flex: none;
    }  
    .medium-logo-center .logo {
        order: inherit;
    }
    .show-for-medium, [data-show=show-for-medium] {
        display: none !important;
    }
    .hide-for-medium.flex-right, [data-show=hide-for-medium].flex-right {
        display: block !important;
    }
}
