#intro {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

#intro-wrapper-image {
    position: relative;
}

#intro .container {
    position: relative;
    padding: 110px 0;
}

#intro-container {
    padding: 40px 15px;
    background-color: var(--blue);
    width: 940px;
    flex-basis: 940px;
    max-width: 100%;
    margin-left: 22px;
    position: relative;
}

#intro-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -22px;
    width: 22px;
    height: 100%;
    background-color: var(--orange);
    border-bottom-left-radius: 30px;
}

#intro-container .row {
    align-items: center;
}

#intro-container .intro-logo {
    width: 340px;
    flex-basis: 340px;
    max-width: 100%;
    padding: 10px 30px;
}

#intro-container .intro-text {
    width: calc(100% - 340px);
    flex-basis: calc(100% - 340px);
    max-width: 100%;
    padding: 15px 45px;
    position: relative;
}

#intro-container .intro-text::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, .1);
}

.intro-text p {
    color: var(--creme);
}

.intro-text a,
.intro-text a:hover {
    color: var(--orange);
}

.intro-text p:last-of-type {
    margin-bottom: 0;
}

.intro-wrapper-image {
    position: absolute;
    top: 0;
    left: 22px;
    width: calc(200vw - 1230px);
    height: 100%;
    border-bottom-left-radius: 30px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 1279.9px) {
    .intro-wrapper-image {
        width: calc(200vw - 960px);
    }
}

@media (max-width: 991.8px) {
    .intro-wrapper-image {
        width: calc(200vw - 720px);
    }
}

@media (max-width: 767.8px) {
    #intro .container {
        padding: 0 15px;
    }

    .intro-logo {
        margin: 30px auto;
    }

    .intro-text p {
        color: var(--grey);
    }

    .intro-text p:last-of-type {
        margin-bottom: 30px;
    }

    .intro-wrapper-image {
        position: relative;
        width: 100%;
        height: 350px;
        border-radius: 0;
        left: auto;
    }
}

/*
=====================
departments
=====================
 */
#accordionDepartments .row {
    align-items: flex-start;
}

#departments-left {
    margin-left: 22px;
    width: 260px;
    flex-basis: 260px;
    max-width: 100%;
    background-color: var(--blue);
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 33px 0;
    display: flex;
    flex-wrap: wrap;
}

#departments-left button {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 50px;
    width: calc(100% + 22px);
    flex-basis: calc(100% + 22px);
    margin-left: -22px;
    outline: none;
    border: none;
    border-bottom-left-radius: 20px;
    color: var(--creme);
    text-decoration-line: none;
    font-size: 16px;
    line-height: 20px;
    background-color: var(--orange);
    outline: none;
    box-shadow: none;
    min-height: 50px;
}

#departments-left button.collapsed {
    background-color: rgba(255, 255, 255, 0);
}

#departments-left button .dep-logo {
    width: 45px;
    flex-basis: 45px;
    max-width: 100%;
    padding-right: 10px;
}

#departments-left button.collapsed .dep-logo .icon {
    width: 35px;
    height: 35px;
    background-color: var(--orange);
}

#departments-left button .dep-logo .icon {
    width: 35px;
    height: 35px;
    background-color: var(--white);
}

#departments-left button .dep-title {
    width: calc(100% - 45px);
    flex-basis: calc(100% - 45px);
    max-width: 100%;
    text-align: left;
}

#departments-right {
    width: calc(100% - 282px);
    flex-basis: calc(100% - 282px);
    max-width: 100%;
    padding-left: 60px;
}

#departments-right .card {
    background: rgba(255, 255, 255, 0);
    border: none;
    border-radius: 0;
}

.dep-card-body.card-body {
    padding: 0;
}

.card-body .department-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.card-body .department-title h2 {
    margin-bottom: 0;
    width: calc(100% - 86px);
    flex-basis: calc(100% - 86px);
    max-width: 100%;
    text-align: left;
}

.dep-big-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--orange);
    margin-right: 20px;
}

.dep-big-icon .icon {
    width: 35px;
    height: 35px;
    background-color: var(--orange);
}

.department-members {
    position: relative;
    padding-top: 35px;
    padding-bottom: 5px;
}

.department-members::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: url("../../images/dept-text-before.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-repeat: repeat-x;
}

.department-members::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: url("../../images/dept-text-before.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-repeat: repeat-x;
}

#departments-right .department-member {
    width: 33.33%;
    flex-basis: 33.33%;
    max-width: 100%;
    padding-right: 20px;
}

.department-member p,
.department-member a {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 2px;
}

p.member-name {
    font-weight: 700;
    color: var(--blue);
}

.department-member a:hover {
    color: var(--orange);
    text-decoration-line: none;
}

.department-member {
    margin-bottom: 30px;
}

.dep-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
}

.dep-banner .banner-text {
    margin-bottom: 0;
    width: calc(100% - 300px);
    flex-basis: calc(100% - 300px);
    max-width: 100%;
}

.dep-banner .banner-text h3 {
    margin-bottom: 5px;
}

.dep-banner .banner-text p {
    margin-bottom: 0;
}

.dep-banner .banner-button {
    width: 300px;
    flex-basis: 300px;
    max-width: 100%;
    justify-content: flex-end;
    display: flex;
    flex-wrap: wrap;
}

.dep-banner .banner-button a {
    padding-left: 30px;
    padding-right: 30px;
}

.dep-banner .banner-button a:hover {
    color: var(--orange);
}

@media (max-width: 1199.9px) {
    #departments-right .department-member {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
        padding-right: 20px;
    }
}

@media (max-width: 991.8px) {
    #departments-right {
        padding-left: 20px;
    }

    .department-members {
        padding-top: 10px;
    }

    #departments-right .department-member {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        padding-right: 20px;
        margin-bottom: 15px;
    }

    .dep-banner .banner-text {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        justify-content: center;
        text-align-all: center;
    }

    .dep-banner .banner-button {
        width: 100%;
        flex-basis: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .dep-banner .banner-text h3,
    .dep-banner .banner-text p {
        text-align: center;
    }
}

@media (max-width: 767.8px) {
    #departments {
        padding-top: 0;
        padding-bottom: 0;
    }

    #departments-left {
        display: none;
    }

    #departments-right {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        padding: 0;
    }

    #departments-right .card-header {
        padding: 0;
        max-width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
    }

    #departments-right .show-md .card-header button {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        padding: 20px;
        width: 100%;
        flex-basis: 100%;
        outline: none;
        border: none;
        color: var(--creme);
        text-decoration-line: none;
        font-size: 16px;
        line-height: 20px;
        background-color: var(--orange);
        outline: none;
        box-shadow: none;
        min-height: 50px;
        border-radius: 0;

    }

    #departments-right .show-md .card-header button.collapsed {
        background-color: var(--blue);
        border-bottom: 1px solid rgba(0, 0, 0, .2);
    }

    #departments-right button .dep-logo {
        width: 45px;
        flex-basis: 45px;
        max-width: 100%;
        padding-right: 10px;
    }

    #departments-right button.collapsed .dep-logo .icon {
        width: 35px;
        height: 35px;
        background-color: var(--orange);
    }

    #departments-right button .dep-logo .icon {
        width: 35px;
        height: 35px;
        background-color: var(--white);
    }

    #departments-right button .dep-title {
        width: calc(100% - 85px);
        flex-basis: calc(100% - 85px);
        max-width: 100%;
        text-align: left;
    }

    #departments-right button .arrow {
        width: 40px;
        flex-basis: 40px;
        height: 40px;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    #departments-right button .arrow span {
        width: 35px;
        height: 35px;
        display: block;
        background-color: var(--white);
        mask: url('../../images/department-arrow.svg') no-repeat center;
        -webkit-mask: url('../../images/department-arrow.svg') no-repeat center;
        -webkit-transition: all .4s ease-out;
        -moz-transition: all .4s ease-out;
        -o-transition: all .4s ease-out;
        transition: all .4s ease-out;
    }

    #departments-right button.collapsed .arrow span {
        transform: rotate(180deg);
        background-color: var(--orange);
    }

    .dep-card-body.card-body {
        padding: 30px 15px;
    }
}

/*
=======================
VISION MISSION
======================
 */
#vision-mission {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#vision-mission .container {
    position: relative;
}

#vision-mission::after {
    content: "";
    z-index: 2;
    width: 148px;
    height: 7px;
    background-color: var(--orange);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

#vision-mission::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(43, 61, 80);
    background: -moz-linear-gradient(180deg, rgba(43, 61, 80, 0.5606836484593838) 0%, rgba(43, 61, 80, 0.8856136204481793) 46%, rgba(43, 61, 80, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(43, 61, 80, 0.5606836484593838) 0%, rgba(43, 61, 80, 0.8856136204481793) 46%, rgba(43, 61, 80, 1) 100%);
    background: linear-gradient(180deg, rgba(43, 61, 80, 0.5606836484593838) 0%, rgba(43, 61, 80, 0.8856136204481793) 46%, rgba(43, 61, 80, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2b3d50", endColorstr="#2b3d50", GradientType=1);
}

.vision-text {
    width: 820px;
    max-width: 100%;
    margin: 0 auto 50px auto;
}

.vision-text p {
    opacity: .7;
}

#vision-mission .mission-wrapper {
    width: 25%;
    flex-basis: 25%;
    max-width: 100%;
    margin-top: 20px;

}

.mission-inner {
    padding-top: 25px;
    border-top: 2px solid var(--orange);
}

.mission-inner p {
    opacity: .7;
    margin-bottom: 0;
}

@media (max-width: 991.8px) {

    #vision-mission .mission-wrapper {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;

    }
}

@media (max-width: 575.8px) {
    #vision-mission .mission-wrapper {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        position: relative;
        margin-bottom: 20px;
        margin-top: 0;

    }

    .mission-inner {
        border: none;
    }

    #vision-mission .mission-wrapper::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: 82px;
        height: 2px;
        background-color: var(--orange);
    }

    #vision-mission .mission-wrapper p {
        text-align: center;
    }
}

/*
===================
DLRM TEAM
===================
 */
#dlrm-team {
    position: relative;
}

#dlrm-team::before {
    content: "";
    z-index: 2;
    width: 148px;
    height: 7px;
    background-color: var(--orange);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

#dlrm-team .department-member {
    width: 33.33%;
    flex-basis: 33.33%;
    max-width: 100%;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

#dlrm-team .department-member p,
#dlrm-team .department-member a {
    text-align: center;
}

@media (max-width: 767.8px) {
    #dlrm-team::before {
        display: none;
    }

    #dlrm-team .department-member {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 575.8px) {


    #dlrm-team .department-member {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

/*
======================
FAQ SECTION
======================
 */
.faq-content {
    margin-bottom: 35px;
}

.faq-content:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: url('/wp-content/themes/acfn/assets/css/dlrm/../../images/dept-text-before.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-repeat: repeat-x;
}

#faqs {
    padding-top: 0;
}

#departments-right .accordion .card,
#faq-accordion .card {
    border-radius: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 0);
    border-top: 1px solid #e8d3af;
    border-left: 2px solid #e8d3af;
    border-right: 2px solid #e8d3af;
    border-bottom: 1px solid #e8d3af;

}

#departments-right .accordion .card-header,
#faq-accordion .card-header {
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0);
}

#departments-right .accordion .card:first-of-type,
#faq-accordion .card:first-of-type {
    border-top: 2px solid #e8d3af;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#departments-right .accordion .card:last-of-type,
#faq-accordion .card:last-of-type {
    border-bottom: 2px solid #e8d3af;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#departments-right .accordion .card:first-of-type .card-header,
#faq-accordion .card:first-of-type .card-header {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#departments-right .accordion,
#faq-accordion {
    border-radius: 20px;
}

#departments-right .accordion .card-header button,
#faq-accordion .card-header button {
    padding: 20px;
    border: none;
    border-top: 0;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    outline: none;
    box-shadow: none;
    text-decoration-line: none;
    font-size: 20px;
    line-height: 24px;
    color: var(--blue);
    font-weight: 500;
    width: 100%;
    padding-right: 40px;
    text-align: left;
}

#departments-right .accordion .card-header button:before,
#faq-accordion .card-header button:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 20px;
    color: var(--orange);
}

#departments-right .accordion .card-header button:before,
#faq-accordion .card-header button:before {
    content: "\f068";
    float: right;
}

#departments-right .accordion .card-header button:before,
#faq-accordion .card-header button:before {
    /* symbol for "collapsed" panels */
    content: "\f067";
}

#departments-right .accordion .card-header button span,
#faq-accordion .card-header button span {
    padding-right: 20px;
}

.card-body a {
    color: var(--orange);
}

.card-body a:hover {
    color: var(--orange);
}

.card-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.card-button .my-button {
    padding: 12px 35px;
}

.card-button .my-button:hover, .card-button .my-button:focus-within {
    color: var(--orange);
}

/*
====================
COLUMNS SECTION
====================
 */
.department-text-2 {
    position: relative;
    padding-top: 35px;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.department-text-2:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: url('/wp-content/themes/acfn/assets/css/dlrm/../../images/dept-text-before.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-repeat: repeat-x;
}

.department-text-2:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: url('/wp-content/themes/acfn/assets/css/dlrm/../../images/dept-text-before.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-repeat: repeat-x;
}

.columns-row .section-column-wrapper {
    width: 25%;
    flex-basis: 25%;
    max-width: 100%;
}
@media(max-width: 1199.9px){
    .columns-row .section-column-wrapper{
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
    }
}
@media(max-width: 991.9px){
    .columns-row .section-column-wrapper{
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}
@media(max-width: 767.9px){
    .columns-row .section-column-wrapper{
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
    }
}
@media(max-width: 480px){
    .columns-row .section-column-wrapper{
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}
