/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.14.4.1642864517
Updated: 2022-01-22 15:15:17

*/

#main-header {
    z-index: 9999 !important;
}

/*Single Page Start*/
body.single-post #main_post_content {
    overflow: hidden;
}

body.single-post #main_post_content > .et_pb_row {
    width: 90%;
    max-width: 1210px;
}

@media only screen and (min-width: 768px) {
    body.single-post #main_post_content > .et_pb_row {
        padding-inline: 50px;
    }
}

@media only screen and (min-width: 1366px) {
    body.single-post #main_post_content > .et_pb_row {
        padding-inline: 150px;
    }
}

body.single-post #main_post_content blockquote {
    font-size: 18px;
    line-height: 1.2em;
    background-color: #904C40;
    color: #FFFDF7;
    padding: 25px;
    margin-block: 30px 65px;
    margin-left: 15px;
    border: none;
    font-family: "dupincel-variable", sans-serif;
    transform-style: preserve-3d;
    max-width: 825px;
}

body.single-post #main_post_content blockquote::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 15px;
    left: -15px;
    background-color: #DDD5C3;
    transform: translateZ(-1px);
}

@media only screen and (min-width: 768px) {
    body.single-post #main_post_content blockquote::before {
        top: 43px;
        left: -43px;
    }
}

body.single-post #main_post_content blockquote > * {
    padding-left: 18px;
}

@media only screen and (min-width: 1366px) {
    body.single-post #main_post_content blockquote > * {
        padding-left: 35px;
    }
}

body.single-post #main_post_content blockquote > :first-child {
    position: relative;
}

body.single-post #main_post_content blockquote > :first-child::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 80%;
    background: #BB7060;
}

@media only screen and (min-width: 768px) {
    body.single-post #main_post_content blockquote {
        font-size: 24px;
        max-width: 100%;
        padding: 50px;
        margin-left: auto;
        margin-right: calc((50px + 5vw) * -1);
    }
}

@media only screen and (min-width: 981px) {
    body.single-post #main_post_content blockquote {
        max-width: 825px;
        margin-block: 45px 100px;
    }
}

@media only screen and (min-width: 1366px) {
    body.single-post #main_post_content blockquote {
        padding: 83px 110px 52px 145px;
        margin-right: -225px;
    }
}

/*Single Page End*/

/*BLOCK Start*/
#the_dream_of > .et_pb_row > .et_pb_column {
    margin-bottom: 0;
}

/* TABLET 980PX */
@media only screen and (max-width: 980px) {
    #the_dream_of > .et_pb_row {
        display: flex;
    }
}

/* MOBILE 767PX */
@media only screen and (max-width: 767px) {
    #the_dream_of > .et_pb_row:nth-child(2n+1) {
        flex-flow: column;
    }

    #the_dream_of > .et_pb_row:nth-child(2n+2) {
        flex-flow: column-reverse;
    }

    #the_dream_of > .et_pb_row {
        padding: 0 !important;
    }

    #the_dream_of > .et_pb_row > .et_pb_column {
        width: 100% !important;
        margin-bottom: 15px;
    }
}

/*BLOCK End*/

/*Classes for vertical alignment*/
.vertical-center {
    align-content: center;
}

.vertical-bottom {
    align-content: end;
}

/*Accordion Custom Start*/
.custom-accordion * {
    margin: 0;
    padding: 0;
}

.custom-accordion-item {
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid #E2DBCD;
    transition: all .3s ease;
}

.custom-accordion-item:has(.custom-accordion-item__heading:hover) {
    border-bottom-color: #904C40;
}

.custom-accordion-item-active.custom-accordion-item {
    padding-bottom: 45px;
    margin-bottom: 60px;
    border-bottom-color: #904C40;
    @media only screen and (max-width: 980px) {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

.custom-accordion-children:last-of-type .custom-accordion-item {
    margin-bottom: 0;
}

.custom-accordion-item__heading {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.custom-accordion-item__heading:hover .custom-accordion-item__btn path {
    fill: #904C40;
}

.custom-accordion-item__subtitle {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: #904C40;
}

.custom-accordion-item__title {
    display: grid;
    grid-template-columns:1fr auto;
    column-gap: 30px;
    font-family: 'Petersburg', serif;
    font-size: 25px;
    font-weight: 400;
    color: #144F76;
}

.custom-accordion-item__btn {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    aspect-ratio: 1;
    transition: all .3s ease;
}

.custom-accordion-item__btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 16px;
    transform: translate(-50%, -50%);
    transition: transform .3s ease;
}

.custom-accordion-item-active .custom-accordion-item__btn svg {
    transform: translate(-50%, -50%) matrix(1, 0, 0, -1, 0, 0);
    transition: transform 0.3s ease;
}

.custom-accordion-item__btn path {
    transition: all .3s ease;
}

.custom-accordion-item-active .custom-accordion-item__btn path {
    fill: #904C40;
}

.custom-accordion-item__content {
    padding-top: 13px;
    max-width: 610px;
    padding-right: 30px;
}

.custom-accordion-item__content > * {
    margin-bottom: 1rem;
}

.custom-accordion-item__content ul,
.custom-accordion-item__content ol {
    margin-left: .7rem;
}

.custom-accordion-item__content ul li:not(:last-of-type),
.custom-accordion-item__content ol li:not(:last-of-type) {
    margin-bottom: .5rem;
}

.custom-accordion-item__content * {
    line-height: 1.8;
}

.custom-accordion-item__content p:has(.fluid-width-video-wrapper),
.custom-accordion-item__content .wp-video {
    margin-top: 25px;
}

.custom-accordion-item__content p:not(:last-child):has(.fluid-width-video-wrapper),
.custom-accordion-item__content .wp-video {
    margin-block: 25px;
}

/*Accordion Custom End*/

