/* Global */
:root {
	--wtm-color-white: #fff;
	--wtm-color-red : #D00000;
	--wtm-color-yellow: #ffba08;
	--wtm-color-light_blue: #3F88C5;
	--wtm-color-dark_blue: #032B43;
	--wtm-color-green: #136F63;
	--wtm-color-black:#000000;
}

/* grid style*/
.dwl-team-layout-list .team-member-info-content {
    display: flex;
    justify-content: space-between;
}

.dwl-team-layout-list .team-member-info-content header{
    width: 30%;
    margin-right: 2.5%;
    text-align: center;
}

.dwl-team-layout-list .team-member-desc {
    width: 66.5%;
}

.team-member-info-content header img {
    display: inline-block;
    height: auto;
    max-width: 95%;
    padding: 4px;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #ddd;
    margin: 5px;
}

.team-member-title {
    margin: 0;
}

.team-position {
    padding-bottom: 10px;
    margin: 10px 0px 10px 0px;
}

.dwl-team-layout-list  .team-member-info-content{
    width: 100%;
    list-style: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
    margin-left: 0px;
}

.dwl-team-layout-list .team-member-info-content header a img {
    display: inline-block;
    height: auto;
    max-width: 95%;
    padding: 4px;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #ddd;
}

.dwl-team-layout-list .team-member-other-info {
    margin: 16px 0;
}
.dwl-team-layout-list .team-member-other-info .team-member-info {
    padding-top: 3px;
    padding-bottom: 3px;
}

.team-member-socials a {
    background-color: rgb(8, 129, 235);
    font-size: 14px;
    color: #fff;
    margin: 1px;
    opacity: 0.5;
}
.team-member-socials a:hover{
    opacity: 1;
}
.team-member-socials a .fa-facebook-f {
    background-color:#1c2bd5;
    padding: 5px 7px 5px 6px !important;
    border-radius: 3px;
}

.team-member-socials a .fab {
    padding: 5px 5px 5px 4px;
    background-color: #1c2bd5;
    border-radius: 4px;
}

.team-member-socials a .fa-envelope{
    padding: 5px 5px 5px 5px;
    background-color: #1c2bd5;
    border-radius: 4px;
}

.dwl-team-image-style-circle header img{
    border: solid 1px #ddd;
    border-radius: 50% !important;
    background-color:#fff; 
  }

.dwl-team-image-style-boxed header img {
    border: solid 1px #ddd;
    border-radius: 5px !important;
    background-color: #fff;
}

/* list style*/

.dwl-team-layout-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dwl-team-layout-grid .team-member-info-wrap {
    width: 47%;
    border: 1px solid #eee;
    padding: 10px;
    margin: 0px 5px 0px 5px;
    margin-bottom: 20px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.dwl-team-layout-grid .team-member-info-content header{
    text-align: center;
}

.dwl-team-layout-grid .team-member-other-info .team-member-info{
    border: none;
    box-shadow:none;
    padding: 3px;
    margin-bottom: 0px;
}

.dwl-team-layout-grid .team-member-socials{
    margin-top: 10px;
}

@media only screen and (max-width: 1269px){
    .dwl-team-layout-grid .team-member-info{
        width: 45%;
    }
}
@media only screen and (max-width: 767px){
    .dwl-team-layout-grid .team-member-info{
        width: 100%;
    }
}

/* slider style */
.dwl-team-layout-slider .team-member-info.slick-slide{
    padding: 10px;
}
.dwl-team-layout-slider .team-member-info-wrap .team-member-desc {
    padding-bottom: 20px;
    text-align: center;
}
.dwl-team-layout-slider .team-member-socials{
    justify-content: center;
}

.dwl-team-layout-slider .team-member-info-wrap img{
    max-width: 100%;
    padding:4px;
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: block;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    height: auto;
}

.dwl-slide-arrow {
    position: absolute;
    top: -40px;
    right: 9px;
    z-index: 99;
    display: block;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid var(--wp--preset--color--contrast);
    transition: all 0.3s ease;
    color: var(--wp--preset--color--contrast);
    cursor: pointer;
  }
  
  .dwl-slide-arrow:hover{
    background-color: var(--wtm-color-light_blue);
    color: #fff;
    border-color: var(--wtm-color-light_blue);
  }
  
  .dwl-slide-arrow.slick-disabled {
      opacity: 0.2;
      pointer-events: none;
  }
  
  .dwl-slide-arrow.dwl-slide-next {
    right: 50px;
  }
  
  .slick-dots li button::before {
    opacity: 1;
    font-size: 14px;
    color: #aaa;
    transition: all 0.3s ease;
  }
  
  .slick-dots li button:hover::before{
    color: var(--wtm-color-light_blue);
  }
  
  .slick-dots li.slick-active button::before {
    color: var(--wtm-color-light_blue);
  }