/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 div.ays-main {
    margin-top: 11px;
    padding: 0 17px;
}

div.ays-main * {
    cursor: pointer;
    /* display: flex; */
}

[id^="faq_"] {
    min-width: 300px;

}

.ays-faq-main{
    max-width: 98%;
    width:100%;
}

/*Default CSS*/
.ays-faq-default {
    background-color: #f0f0f06e;
    max-width: 100%;
}

.ays-faq hr {
    margin: 0 !important;
    margin-bottom: 5px !important;
    height: 1px !important;
    max-width: 100% !important;
}

.ays-title-default {
    font-size: 25px;
    text-align: center;
}

.ays-description-default {
    font-size: 23px;
    text-align: center;
}

div.ays-border-default:not(:last-child) {
    margin-bottom: 5px;
}

.ays-question-default {
    padding: 9px;
}

.ays-main .ays-border-default:nth-of-type(odd) .ays-question-default {
    background-color: #dfdddd;
}

.ays-main .ays-border-default:nth-of-type(even) .ays-question-default {
    background-color: #EEEEEE;
}

.ays-sub-question {
    padding: 5px;
} 

 .ays-answer-default { 
    overflow: hidden;
    padding: 0 11px; 
    max-height: 0;
    transition: max-height .3s ease-out;
}

.ays-answer-default .ays_modal_element{
    font-size: 16px;
    text-align: justify;
    white-space: pre-wrap !important;
}

.ays-question-default .ays-sub-question .ays_faq_label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.ays-question-plusminus .ays-sub-question .ays_faq_label {
    margin-bottom: 0;
}

.ays-question-default .ays-sub-question .ays_faq_label:hover {
    color: #7EB1D3;
}

/*PlusMinus CSS*/
.ays-faq-plusminus {
    box-sizing: border-box;
    border: 1px solid #F8CFCB;
    max-width: 100%;
}

.ays-title-plusminus {
    background-color: #F8CFCB;
    padding-left: 10px;
    color: white;
    font-weight: bold;
}

.ays-description-plusminus {
    text-align: center;
    background-color: #F3F3F5;
    padding: 15px;
    color: #747373;
}

.ays-border-plusminus:not(:last-child) {
    margin-bottom: 7px;
}

.ays-question-plusminus {
    color: #747373;
}

/* .ays-question-plusminus-opened, .ays-question-plusminus-opened label {
    color: #db8e87 !important;
} */

.ays-sub-question .ays_faq_label {
    display: inline;
}

.ays-answer-plusminus {
    overflow: hidden;
    padding: 0 11px; 
    max-height: 0;
    transition: max-height .3s ease-out;
}

.ays-answer-plusminus .ays_modal_element, .ays-answer-open-plusminus .ays_modal_element {
    text-align: justify;
    font-size: 16px;
    white-space: pre-wrap !important;
}

/*For all reasons*/
.ays-description img {
    display: inline !important;
} 

.ays-description blockquote{
    margin-left: 0px !important;
}

.ays-faq {
    padding-bottom: 15px;
}

.ays-faq-main{
    margin: 10px;
}

.ays-faq *:not(div.ays-title) {
    /* font-family: Merriweather, Georgia, serif !important; */
    text-transform: unset !important;
}

.ays-title {
    padding-bottom: 5px;
    font-size: 21px;
    font-weight: bold;
}

.ays-description div, .ays-description p {
    font-size: 16px;
    font-weight: bold;
}

.ays-question {
    font-size: 18px;
}

.ays-answer {
    display: none;
    font-size: 16px;
}

.ays-description {
    padding-left: 10px;
}


.ays-faq{
    overflow:hidden;
}

/* simple theme */
.ays-answer-simple {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease-out;
}

.ays-answer-simple .ays_modal_element, .ays-answer-open-simple .ays_modal_element {
    padding: 0 11px; 
    text-align: justify;
    font-size: 16px;
    white-space: pre-wrap !important;
}
.ays-title-simple, .ays-description-simple{
    padding: 0 25px;
}
.ays-description-simple p{
    padding: 8px 0 10px;
}
.ays-question-simple {
    padding: 9px;
}
.ays-question-simple .ays_faq_label {
    margin-bottom: 0;
}
.ays-description-simple img {
    margin-top: 10px;
}
.ays-description-simple p {
    margin-bottom: 0;
}
.ays-border-simple:first-child {
    border-top: 1px solid #000;
}
.ays-border-simple {
    border-bottom: 1px solid #000;
}
.ays-add-question {
    margin-top: 10px;
}
.ays-add-question input[type="text"] {
    display: block;
    border-radius: 5px;
    padding: 9px 10px;
    width: 100%;
    font-size: 15px;
    line-height: 1;
    margin: 0;
    border: 1px solid;
    outline: none;
}
.ays-add-question form {
    position: relative;
}
.ays-add-question .ays-add-question-submit {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    position: absolute;
    height: auto;
    margin: 0;
    right: 0;
    line-height: 1;
    font-size: 17px;
    top: 0;
    padding: 10px 15px;
    border: 1px solid transparent;
    outline: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.ays-add-question-submit.on-load::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/loader.svg);
    top: 0px;
    left: 0;
    position: absolute;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.ays-add-question .ays-add-question-text {
    font-size: 18px;
    color: #39ac08;
    text-align: center;
}
/*.previous-answer {
    display: none;
}*/