#philosophy-talent {
    padding: 80px 0;
}

#talent-slider {
    margin-top: 80px;
    padding: 0 180px;
    position: relative;
}

#philosophy-talent .container {
    position: relative;
}

.talent-slider-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 25px auto;
}

.talent-slider-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-name {
    font-size: 17px;
    line-height: 19px;
    color: #3d3d3d;
    font-weight: 400;
}

.talent-position {
    font-size: 12px;
    line-height: 19px;
    text-transform: uppercase;
    color: #717171;
    font-weight: 400;
}

.slide-image-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 2;
    opacity: 0;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.slide-image-link-inner {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #b0b0b0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.plus {
    mask: url('../../images/plus-sign.svg') no-repeat center;
    -webkit-mask: url('../../images/plus-sign.svg') no-repeat center;
    width: 17px;
    height: 17px;
    background: var(--white);
}

.details {
    font-size: 15px;
    line-height: 13px;
    text-transform: uppercase;
    color: #292929;
    font-weight: bold;
}

.talent-slide a:hover {
    text-decoration-line: none;
}

.talent-slide a:hover .slide-image-link {
    opacity: 1;
}

#talent-slider-buttons {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.talent-slider-button {
    position: absolute;
    top: calc(50% - 55px);
    border-radius: 50%;
    filter: drop-shadow(0px 23px 18px rgba(0, 0, 0, 0.06));
    background-color: #dfdfdf;
    width: 60px;
    height: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.talent-slider-button.talent-left {
    left: 50px;
    right: auto;
}

.talent-slider-button.talent-right {
    right: 50px;
    left: auto;
}

.talent-left .arrow {
    mask: url('../../images/left-slider-arrow.svg') no-repeat center;
    -webkit-mask: url('../../images/left-slider-arrow.svg') no-repeat center;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    background-color: #3d3d3d;

}

.talent-right .arrow {
    mask: url('../../images/right-slider-arrow.svg') no-repeat center;
    -webkit-mask: url('../../images/right-slider-arrow.svg') no-repeat center;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;

    background-color: #3d3d3d;
}

.talent-slider-button:hover {
    background-color: var(--dark-grey);
}

.talent-slider-button:hover .arrow {
    background-color: var(--whtie);
    background: var(--white);
}

/*
==========================
MODAL
==========================
 */
.modal-content {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 0;
}

.modal-body {
    padding: 120px 20px;
}

.talent-modal-inner {
    padding: 40px 20px 40px 60px;
    border-radius: 10px;
    background-color: #dfdfdf;
    border-top: 17px solid #989898;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.talent-modal-image {
    width: 248px;
    height: 248px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin-top: -130px;
    margin-bottom: 30px;
}

.talent-modal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-modal-name {
    width: 100%;
    flex-basis: 100%;
}

.modal-talent-name {
    font-size: 36px;
    line-height: 40px;
    color: #292929;
    font-weight: 500;
    margin-bottom: 0;
}

.modal-talent-position {
    font-size: 16px;
    line-height: 26px;
    color: #808080;
    font-weight: 400;
}

.talent-modal-text {
    max-height: 390px;
    overflow-y: scroll;
    display: block !important;
    z-index: 2;
    padding-right: 50px;
}

.talent-modal-text p {
    font-size: 18px;
    line-height: 26px;
    color: #3d3d3d;
    font-weight: 400;
}

.talent-modal {
    display: block;
    z-index: -99;
}

.talent-modal.show {
    z-index: 1050;
}

.talent-modal-text {
    scrollbar-width: 0;
    scrollbar-color: #989898 #dfdfdf;
    border: none; /* Remove border */
    box-shadow: none; /* Remove box shadow */
    outline: none;

}

/* Define the appearance of the handle on hover */
.talent-modal-text:hover {
    scrollbar-color: #000 #dfdfdf;
    border: none; /* Remove border on hover */
    box-shadow: none; /* Remove box shadow on hover */
}

/* Set the width and color of the scrollbar for Firefox */
.talent-modal-text {
    scrollbar-width: thin;
    scrollbar-color: #989898 #dfdfdf;
    border: none; /* Remove border */
    box-shadow: none; /* Remove box shadow */
}

/* Define the appearance of the handle on hover */
.talent-modal-text:hover {
    scrollbar-color: #000 #dfdfdf;
    border: none; /* Remove border */
    box-shadow: none; /* Remove box shadow */
}

/* For older versions of Firefox */
.talent-modal-text {
    scrollbar-width: thin;
    border: none; /* Remove border */
    box-shadow: none; /* Remove box shadow */
}

.talent-modal-text:hover {
    scrollbar-color: #000 #dfdfdf;
}

/* Set the width of the scrollbar */
.talent-modal-text::-webkit-scrollbar {
    width: 9px;
    border: none; /* Remove border */
    box-shadow: none; /* Remove box shadow */
}

/* Define the track (background) of the scrollbar */
.talent-modal-text::-webkit-scrollbar-track {
    background: #dfdfdf;
    border: none; /* Remove border */
    box-shadow: none; /* Remove box shadow */
}

/* Define the appearance of the handle (thumb) of the scrollbar */
.talent-modal-text::-webkit-scrollbar-thumb {
    background: #989898;
}

/* Define the appearance of the handle on hover */
.talent-modal-text::-webkit-scrollbar-thumb:hover {
    background: #000;
}

.close-talent {
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    border: 1px solid #dfdfdf;
    right: -37px;
    top: -17px;
}

.close-talent span {
    mask: url('../../images/close-modal.svg') no-repeat center;
    -webkit-mask: url('../../images/close-modal.svg') no-repeat center;
    width: 17px;
    height: 17px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    background-color: #dfdfdf;
}

.close-talent:hover {
    border-color: var(--white);
}

.close-talent:hover span {
    background-color: var(--white);
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 680px;
    }
}

@media (max-width: 1400px) {
    #talent-slider {
        padding: 0 100px;
    }

    .talent-slider-button.talent-left {
        left: 20px;
    }

    .talent-slider-button.talent-right {
        right: 20px;
    }
}

@media (max-width: 991.8px) {
    #talent-slider {
        padding: 0;
    }

    #talent-slider-buttons {
        display: none;
    }

    /*#philosophy-roots {*/
    /*    padding-top: 40px;*/
    /*}*/
    #philosophy-talent{
        padding: 40px 0 10px 0;
    }
}

@media (max-width: 575.8px) {
    .talent-slider-image {
        width: 200px;
        height: 200px;
    }

    #talent-slider {
        margin-top: 20px;
    }

    #roots-image {
        width: 180%;
        max-width: 180%;
        margin-left: -40%;
    }
    .modal-body{
        padding: 150px 10px;
    }
    .talent-modal-image{
        width: 200px;
        height: 200px;
        margin-top: -140px;
    }
    .close-talent{
        right: 0;
        top: -95px;
    }
    .talent-modal-inner{
        padding: 20px 10px 30px 30px;
        border-top: 10px solid #989898;
    }
    .talent-modal-text{
        padding-right: 20px;
        max-height: 350px;
    }
    .modal-talent-name{
        font-size: 30px;
        line-height: 34px;
    }
}

@media (max-width: 360px) {
    .talent-slider-image {
        width: 150px;
        height: 150px;
    }

    .slide-image-link-inner {
        width: 100px;
        height: 100px;
    }
}