/*
=====================
departments
=====================
 */
#departments .container {
    position: relative;
}

#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-radius: 0;
    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-section {
    position: relative;
    padding: 25px 0;
}

.department-section h2,
.department-section h3,
.department-section h4,
.department-section h5 {
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
}

.department-text a,
.faq-collapse .card-body a {
    color: var(--orange);
}

.department-text a:hover,
.faq-collapse .card-body a:hover {
    text-decoration-line: underline;
    color: var(--orange);
}

.department-section.department-text {
    padding-top: 0;
}

.help-link {
    margin-bottom: 5px;
    display: block;
    width: 100%;
    text-align: left;
}

.help-link a {
    color: var(--orange);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;

}

.help-link a:hover {
    color: var(--orange);
    text-decoration-line: underline;
}

.help-link a span {
    display: inline-flex;
    width: 19px;
    height: 15px;
    background-color: var(--orange);
    padding-left: 5px;
}

.help-link a span {
    mask: url('../../images/links-right.svg') no-repeat center;
    -webkit-mask: url('../../images/links-right.svg') no-repeat center;
}

.department-text ul,
.card-body ul,
.department-text ol,
.card-body ol {
    list-style: inherit;
}

.department-text ul li,
.card-body ul li,
.department-text ol li,
.card-body ol li {
    margin-bottom: 10px;
}

.department-section::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: inherit;
    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: 25px;
}

.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);
}

.department-text a.my-orange-button {
	margin-block: 1rem;
	text-decoration: none;
	display: inline-block;
	color: var(--blue);
}

.department-text a.my-orange-button: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;
    }


    #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 .show-md .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);
    }

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

    #departments-right .show-md 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 .show-md 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: var(--orange);
    }

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

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


/*
======================
FAQ SECTION
======================
 */

#departments .accordion {
    margin-top: 30px;
}

#departments .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 .accordion .card-header {
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0);
}

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

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

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

#departments .accordion {

    border-radius: 20px;
}

#departments .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;
}

#departments .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 .accordion .card-header button:before {
    content: "\f068";
    float: right;
}

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

#departments .accordion .card-header button span {
    text-align: left;
    padding-right: 20px;
}

/*
===================
SERVICES
==================
 */
.service-wrapper {
    width: 33.33%;
    flex-basis: 33.33%;
    max-width: 100%;
    margin-bottom: 40px;
}

.service-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.service-logo {
    width: 50px;
    flex-basis: 50px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding-right: ;
}

.service-logo .logo {
    width: 35px;
    height: 40px;
    background-color: var(--orange);
    -webkit-mask-size: 85% !important;
    mask-size: 85% !important;
}

.service-title {
    width: calc(100% - 50px);
    flex-basis: calc(100% - 50px);
    max-width: 100%;
}

.department-section .service-title h5 {
    margin-bottom: 0;
}

.department-section .service-text {
    width: 100%;
    max-width: 100%;
    padding-left: 50px;
    overflow: visible;
}

.department-section .service-text p {
    font-size: 16px;
    line-height: 23px;
    color: #808080;
    font-weight: 500;
    margin-bottom: 0;
}
@media(max-width: 1199.9px){
    .service-wrapper {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
        margin-bottom: 40px;
    }
}
@media(max-width: 991.8px){
    .service-wrapper {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }
}
@media(max-width: 767.9px){
    .service-wrapper {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
        margin-bottom: 40px;
    }
}
@media(max-width: 479.9px){
    .service-wrapper {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}