/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 23-Jan-2022, 15:41:27
    Author     : Jafran Mjm
*/

.banner{
    background: url(../img/banner-board-of-directors.jpg) no-repeat center top;
    background-size: cover;
}

.content.wrapper.main{    
    padding: 80px 50px 50px; 
}

.members{
    margin-left: -30px;
    position: relative;
    .page-common-title-2{    
        position: absolute;
        left: 9px;
        background: none;
        transform-origin: 0 0;
        transform: rotate(-90deg);
        z-index: 5;
    }
    .blks{
        .member{
            float: left;
            margin-left: 30px;
            width: calc((100% / 3) - 30px);
            padding: 30px;
            background: #fff;
            margin-bottom: 30px;
            text-align: center;
            .img{
                width: 200px;
                height: 200px;
                padding: 10px;
                display: inline-block;
                background: url(../img/team-bg.png) no-repeat left top;
                background-size: 50% 100%;
                margin-bottom: 20px;
                .inner{
                    width: 100%;
                    height: 100%;
                    border-radius: 100%;
                    overflow: hidden;
                    img{
                        width: 100%;
                        min-height: 100%;
                    }
                }
            }
            span{
                display: inline-block;
                &.name{
                    font-size: 24px;
                    font-weight: bold;
                    margin-bottom: 5px;
                }
                &.mail{
                    background: #f0f0f0 url(../img/arroba.png) no-repeat 14px center;
                    background-size: 20px;
                    padding: 10px 20px;
                    padding-left: 40px;
                    text-align: left;
                    border-radius: 20px;
                    margin-bottom: 15px;
                }
                &.readmore{ 
                    color: #fff;
                    background: #000;
                    padding: 7px 20px;
                    border-radius: 20px;
                }
            }
        }
    }
    &.members-1 .page-common-title-2{ 
        top: 348px;
    }
    &.members-2 .page-common-title-2{    
        top: 407px;
    }
}

.single{
    .profile-pic{
        width: 300px;
        padding-right: 50px;
        .img{
            width: 200px;
            height: 200px;
            padding: 10px;
            display: inline-block;
            background: url(../img/team-bg.png) no-repeat left top;
            background-size: 50% 100%;
            margin-bottom: 20px;
            .inner{
                width: 100%;
                height: 100%;
                border-radius: 100%;
                overflow: hidden;
                img{
                    width: 100%;
                    min-height: 100%;
                }
            }
        }


        span{
            display: inline-block;
            &.name{
                font-size: 24px;
                font-weight: bold;
                margin-bottom: 5px;
            }
            &.mail{
                background: #fff url(../img/arroba.png) no-repeat 14px center;
                background-size: 20px;
                padding: 10px 20px;
                padding-left: 40px;
                text-align: left;
                border-radius: 20px;
                  margin-top: 15px;
            }
        }
    }
    .details{
        width: calc(100% - 300px);
        p:last-child{
            margin-bottom: 0;
        }
    }
}


@media screen and (max-width: 1000px) {
    .members .blks .member{
       width: calc((100% / 2) - 30px); 
    }
}
@media screen and (max-width: 680px) {
    .members .blks .member{
       width: calc((100% / 1) - 30px); 
    }
}

@media screen and (max-width: 800px) {
    .single .details{       
        margin-top: 15px;
        width: calc(100%);
    }
}