@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 "award.scss";
//Team listing
.teamlist-banner {
    @include media-breakpoint-up(lg) {
        .banner-img-section {
            padding: 60px 25px 0 0;
            text-align: right;
              html[dir="rtl"] &{
               text-align: left;
              }
        }

        .banner-content {
            top: 50px;
            right: 15px;
            left: 50px;
            position: absolute;
        }

        .quated-msg {
            padding-left: 88px;
        }

        img.quts.start {
            left: -45px;
            top: -15px;
             html[dir="rtl"] &{
               right: -31px;
                left: inherit;
                top: 5px;
                transform: rotate( 
            180deg
             );
             }
        }

        img.quts.end {
            bottom: -9px;
            margin-left: 20px;
            html[dir="rtl"] &{
               right: inherit;
    transform: rotate( 
179deg
 );
    margin-right: 8px;
                
             }
        }

        h2 {
            font-size: 2rem;
            line-height: 1.2;
        }
    }

    @include media-breakpoint-down(md) {
        .banner-img-section {
            padding: 15px 0 0 0;
            text-align: center;
        }

        h2 {
            font-size: 1.5rem;
            line-height: 1.2;
        }

        .banner-content {
            padding-top: 20px;
            padding-left: 50px;
        }

        .quated-msg {
            padding: 0 88px;
        }

        img.quts {
            width: 25px;
            height: auto;
        }

        img.quts.start {
            right: -31px;
                left: inherit;
                top: 5px;
                transform: rotate( 
            180deg
             );
        }

        img.quts.end {
                bottom: -2px;
    right: inherit;
    transform: rotate( 
179deg
 );
    margin-right: 8px;
        }
    }

    @include media-breakpoint-down(sm) {
        .banner-content {
            padding-left: 0;
        }

        .quated-msg {
            padding: 0 20px 0 35px;
        }

        img.quts.end {
            bottom: -9px;
            right: 0;
        }
    }
}

.team-listing {
   
    @include media-breakpoint-down(lg) {
        max-width: 594px;
        margin: 0 auto;
    }

    figure {

        &:after,
        &:before {
            position: absolute;
            content: "";
            transition: all .5s ease;
            width: 62px;
            height: 62px;
            opacity: 0;
        }

        &:after {
            border-left: 20px solid $primary;
            border-bottom: 20px solid $primary;
            bottom: 0;
            left: 0;
            transform: translate(50px, -50px);
        }

        &:before {
            border-top: 20px solid $primary;
            border-right: 20px solid $primary;
            top: 0;
            right: 0;
            transform: translate(-50px, 50px);

        }
    }

    

    @include media-breakpoint-up(lg) {
        .hover {
            opacity: 0;
            transition: all .5s ease;
            transform: translate(0, 50px);
        }
    }

    .team-list-clmn {
        &:hover {
            figure {

                &:after,
                &:before {
                    opacity: 1;
                    transform: translate(0, 0);
                }
            }

            .hover {
                opacity: 1;
                transform: translate(0, 0);
            }
        }
    }

}
.teamdetailgpage,.teamlistingpage{
    .btn-sm {
        line-height: 33px;
        height: 34px;
        font-size: 14px;
        border-color:#c5c5c5;
        &:hover {
            background: $primary;
            border-color: $primary;
            color: #fff;
        }

        &.icon {
            width: 34px;
        }

        &.icon-facebook {
            font-size: 18px;
            line-height: 31px;
        }

        &.icon-linkedin {
            font-size: 15px;
            line-height: 29px;
        }

        &.icon-twitter {
            font-size: 16px;
        }
    }
}
.teamdetailgpage{
    .btn-outline-light{
        color: #69706e;
        &:hover{
            color: #fff;
        }
    }
    .header-block{
       @include media-breakpoint-up(lg) {
           height: 306px;
       }
    }
    .profile-img{
        z-index: 1;
        img{max-width: 427px;}
    }
    .profile-description{
       @include media-breakpoint-up(lg) {
           position: relative;
           top:-53px;
           min-height: 380px;
       }
    }
}
.video-box-figure{
    height: 195px;
    background: url(../images/ajax-loader.gif) no-repeat center;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    img{
        height: 189px;
    }
    .icon-youtube{
        left: 50%;
        top: 50%;
        font-size: 64px;
        color: rgba(0, 0, 0, 0.64);
        margin: -32px;
        &:after {
            background: #fff;
            content: "";
            left: 50%;
            top: 50%;
            width: 20px;
            height: 20px;
            position: absolute;
            margin: -10px;
        }
        &:before {
            z-index: 1;
            position: relative;
        }
    }
    &:hover{
        .icon-youtube{
            color: #ff0000;
        }
    }
        
        
}

.row.gutter-30{
    @include media-breakpoint-up(lg){
        .col-12{
            padding-left: 30px ;
            padding-right: 30px ;
        }
    }
}
.video-box-figcaption h6{
    @include media-breakpoint-up(md){ height: 42px;}
    line-height: 1.2;
}
.century-card-count .img_pane{
    height: 246px;
    @include media-breakpoint-only(sm){
        height: 180px;
    }
}
