@import "custom-variables/variables";
@import "../../bootstrap-4.0.0/scss/functions";
@import "../../bootstrap-4.0.0/scss/variables";
@import "../../bootstrap-4.0.0/scss/mixins";

@import "custom/pagination";
@import "custom/breadcrumbs";

.leadership-listing{
  .bg-h2{
    background: $primary;
  }
  .leadership-sliding-area{
   background: #e7f0ed;
   padding: 35px 50px;
   @include media-breakpoint-down(sm) {
     padding: 35px 20px;
   }
   .content{
    width: 615px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
   p{
    font-size: rem(19);
    font-weight: $font-weight-light;
   }
   @include media-breakpoint-down(md) {
    width: 100%;
    text-align: center;
   }
   @include media-breakpoint-down(sm) {
       position: static;
       transform: none;
    }
 }
  }
  .img-tag{
      width: 200px;
      // height: 200px;
      overflow: hidden;
      margin: 0 auto;
    img{
      width: 200px;
      height: 200px;
    }
    figcaption{
      h4{
        color: #424644;
        font-size: 18px;
        padding: 15px 0 0;
      }
    }
  }
}
.leadership-listing{
  .img-section{
    figure{
      // width: 200px;
       height: 200px;
      overflow: hidden;
    }
    img{
      width: 135px;
      height: 135px;
      transition: box-shadow .3s;
     margin-top: 5px;

      &:hover{
          box-shadow: 0 0 11px rgba(33,33,33,.2); 
      }
    }
  }
  figcaption{
    padding: 12px 0;
    a{
      font-size: 17.5px;
      color: #424644;
      font-weight: $font-weight-medium;
      &:hover{
        color: $primary;
      }
    }
    p{
      text-transform: capitalize;
      font-size: 14px;
      color: #888;
      line-height: 0;
      padding-top: 7px;
    }
  }
}
 .listing-sec{
   @include media-breakpoint-up(lg) {
   flex: 0 0 20%;
    max-width: 20%;
  }
 }
/*.....leadership-details.............*/

.ladership-details{
  .cnt_blk{
  background: $white;
  width: 750px;
  margin: 0 auto;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
     @include media-breakpoint-down(md) {
       width: 100%;
       text-align: center;
     }
  }
  .img_pane{
    img{
      width: 200px;
      height: 200px;
    }
  }
  .det-cnt{
    h3{
      font-size: 20px;
      margin: 0;

    }
    p{
      padding-top: 10px;
    }
  }
}