/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 3.2.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.dnw-team-grid{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin-right: -5px;
    margin-left: -5px;
    justify-content: center;
}
.dnw-team-grid .team-item{
    margin: 0;
    padding: 0 5px 30px;
    position: relative;
    flex-basis: 20%;
    max-width: 20%;
}
.team-item-wrap {
    padding: 10px;
    border: 1px solid #00000026;
    height: 100%;
}
.team-item-wrap figure,
.team-box-content {
    text-align: center;
}
.team-box-content .team-title{
    color: #007C84;
    font-size: 18px;
    font-family: "Lucida Bright", Sans-serif;
    margin-bottom: 0;
}
.team-box-content .team-title a{
    color: #007C84;
}
.team-box-content .team-title a:hover{
    color: #FF7D45;
}
.team-box-content .team-position{
    color: #626363;
    font-size: 15px;
    line-height: 18px;
    font-weight: 500;
    min-height: 45px;
    border-bottom: 1px solid #00000026;
    padding-bottom: 5px;
    margin-bottom: 7px;
    font-family: "Inter", Sans-serif;
}
.dnw-team-popup .team-content-header .team-social,
.team-box-content .team-social{
    list-style: none;
    margin: 0;
    padding: 0;
}
.dnw-team-popup .team-content-header .team-social li,
.team-box-content .team-social li{
    display: inline-block;
    margin: 0 5px;
}

.fancybox-content.dnw-popup-teamdetail {
    max-width: 1180px;
}
.dnw-popup-teamdetail.fancybox-content{
    background-color: #1e4d51;
    border-radius: 80px 0px 80px 0px;
    padding: 80px 60px;
    color: #fff;
}
.dnw-team-popup {
    display: flex;
    gap: 60px;
}
.dnw-team-popup .team-thumb{
    max-width: 245px;
    flex-basis: 245px;
}
.dnw-team-popup .team-thumb img{
    border: 4px solid #fff;
}
.dnw-team-popup .team-thumb *{
    width: 100%;
    margin: 0;
}
.dnw-team-popup .team-content-wrap{
    max-width: calc(100% - 245px);
    flex-basis: calc(100% - 245px);
}

.dnw-team-popup .team-content-header .team-title{
    color: #fff;
    font-size: 31px;
    font-family: "Lucida Bright", Sans-serif;
    margin-bottom: 0;
}
.dnw-team-popup .team-content-header .team-position{
    font-size: 20px;
    margin-bottom: 0;
    font-family: "Inter", Sans-serif;
    font-weight: 400;
}
.dnw-team-popup .team-content-header .team-info{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    margin-bottom: 35px;
}

.dnw-team-popup .team-content a{
    color: #BABBC5;
}
.fancybox-slide--html .dnw-popup-teamdetail .fancybox-close-small:hover{
    background-color: #FF7D45;
}

.icon-box-line .elementor-icon-box-title{
    min-height: 67px;
    padding-bottom: 15px;
    border-bottom: 4px solid #134449;
}
.icon-box-line2 .elementor-icon-box-title{
    min-height: 55px;
    padding-bottom: 10px;
    border-bottom: 4px solid #134449;
    margin-bottom: 10px;
}

.text-testimonial{
    position: relative;
    margin-top: 43px;
}
.text-testimonial:before{
    content: '';
    width: 53px;
    height: 43px;
    background-image: url("images/nhay.svg");
    background-position: center;
    background-size: cover;
    display: block;
    position: absolute;
    top: -43px;
    left: -53px;
}
.text-testimonial:after{
    content: '';
    width: 53px;
    height: 43px;
    background-image: url("images/nhay.svg");
    background-position: center;
    background-size: cover;
    display: block;
    position: absolute;
    bottom: -20px;
    right: -55px;
    transform: rotate(-180deg);
}

@media (max-width: 1024px){
    .dnw-team-grid .team-item{
        flex-basis: 25%;
        max-width: 25%;
    }
}
@media (max-width: 992px){
    .dnw-popup-teamdetail.fancybox-content {
        border-radius: 80px 0px 80px 0px;
        padding: 60px 30px;
        color: #fff;
    }
    .dnw-team-popup {
        display: block;
    }
    .dnw-team-popup .team-thumb {
        margin: 0 auto 40px;
    }
    .dnw-team-popup .team-content-wrap{
        max-width: 100%;
    }
    .dnw-team-popup .team-content-wrap .team-content-header{
        text-align: center;
    }
    .dnw-team-popup .team-content-header .team-info {
        display: block;
    }
    .dnw-team-popup .team-content-header .team-position{
        margin-bottom: 5px;
    }
    .dnw-team-grid .team-item{
        flex-basis: 33.3333%;
        max-width: 33.3333%;
    }
}
@media (max-width: 767px){
    .text-testimonial:before{
        top: -50px;
        left: 0;
    }
    .text-testimonial:after{
        bottom: -10px;
        right: 0;
    }
    .text-testimonial > .elementor-widget-container{
        padding-bottom: 30px;
    }
    .dnw-team-grid .team-item{
        flex-basis: 50%;
        max-width: 50%;
    }
}
@media (max-width: 459px) {

    .dnw-team-grid .team-item{
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 10px;
    }
    .dnw-team-grid .team-item .team-item-wrap{
        max-width: 227px;
        margin: 0 auto;
    }
}