@import "_mixins";

.inner-banner {
    background: #fff url(../images/executive-banner.jpg);
}

.exective-top-section {
    background: #ffffff;
    padding: 70px 0 60px;
    text-align: center;
    p {
        color: $black;
        font-size: 24px;
        margin: 0 0 30px;
        line-height: 32px;
        @include avenir-light;
        &:last-child {
            margin: 0;
        }
    }
}

.exective-section {
    padding: 75px 0;
    position: relative;
    .left-section{
        background: #f7f7f7;
    }
    .right-section{
        background: #f0f3f8;
    }
    .member {
        padding: 60px;
        text-align: center;
        img {
            width: 170px;
            height: 170px;
            border-radius: 50%;
            margin-bottom: 40px;
        }
        h3{
            @include avenir-light;
            font-size: 32px;
            color: $red;
            text-transform: uppercase;
            margin-bottom: 25px;
        }
        h5{
            @include avenir-medium;
            font-size: 18px;
            color: $black;
            margin-bottom: 25px;
        }
        p {
            @include avenir-light;
            font-size: 18px;
            color: $black;
            line-height: 36px;
            margin-bottom: 25px;
            display: none;
            /*&:nth-child(3) {
                display: block;
            }*/
        }
    }
    &:before {
        content: '';
        display: block;
        width: 50%;
        height: 100%;
        background: none;
        position: absolute;
        top: 0;
        right: 0;
    }
}

.bottom-blocks-wrap {
    .block {
        padding: 40px 0;
        background: #f1f1f1;
        &.alt {
            background: #edeadf;
        }
    }
    .col-md-6 {
        padding: 0;
    }
    .col-5 {
        text-align: right;
    }
    h6 {
        color: $red;
        text-transform: uppercase;
        @include avenir-light;
        font-size: 28px;
        margin: 5px 0 28px 0px;
    }
    .read-more {
        font-size: 18px;
        @include avenir-medium;
        text-transform: uppercase;
        color: $red;
        margin-left: 0px;
        &:before {
            content: '\f105';
            font-family: FontAwesome;
            display: inline-block;
            width: 44px;
            height: 44px;
            border: 1px solid $red;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            color: #000;
            vertical-align: middle;
            margin-right: 30px;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
            -ms-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
        }
        &:hover:before {
            background: $red;
            color: #fff;
        }
    }
}

.fancy-bg {
    min-height: 115px;
    background: #fff;
}

.link-blocks-wrap {
    background: #f7f7f7;
    padding: 75px 0;
    .block {
        background: #fff;
        overflow: hidden;
        img {
            float: left;
            margin-right: 40px;
        }
        h5 {
            font-size: 24px;
            color: $black;
            @include avenir-roman;
            text-transform: uppercase;
            margin: 40px 0 40px;
        }
        .read-more {
            font-size: 18px;
            @include avenir-medium;
            text-transform: uppercase;
            color: $red;
            &:before {
                content: '\f105';
                font-family: FontAwesome;
                display: inline-block;
                width: 44px;
                height: 44px;
                border: 1px solid $red;
                border-radius: 50%;
                text-align: center;
                line-height: 40px;
                color: #000;
                vertical-align: middle;
                margin-right: 30px;
                -webkit-transition: all 0.5s;
                -moz-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -o-transition: all 0.5s;
                transition: all 0.5s;
            }
            &:hover:before {
                background: $red;
                color: #fff;
            }
        }
    }
}

.popup-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    overflow: auto;
    .popup-inner {
        text-align: center;
        background: #fff;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        padding-bottom: 80px;
        .head {
            background: $red;
            height: 100px;
            img {
                display: none;
            }
        }
        .avatar {
            width: 180px;
            height: 180px;
            margin: -30px auto 70px;
            img {
                max-width: 100%;
                border-radius: 50%;
            }
        }
        h3 {
            color: $red;
            font-size: 32px;
            text-transform: uppercase;
            @include avenir-light;
            margin: 0;
        }
        h5 {
            font-size: 20px;
            color: #000;
            @include avenir-medium;
            margin: 0 0 35px;
        }
        p {
            padding: 0 150px;
            font-size: 18px;
            color: #000;
            @include avenir-roman;
            margin: 0 0 30px;
            &:last-child {
                margin: 0;
            }
        }
        .close-btn {
            position: absolute;
            top: 0;
            right: 0;
            display: block;
            width: 60px;
            height: 60px;
            background: url(../images/close-btn.png);
        }
    }
}

@media screen and (min-width: 1024px) and (max-width: 1441px) {

    .exective-top-section p {
        font-size: 18px;
    }

    .exective-section .member h3 {
        font-size: 26px;
        margin: 0 0 15px;
    }
    .exective-section .member h5 {
        font-size: 15px;
    }
    .exective-section .member p {
        font-size: 14px;
        line-height: 28px;
    }
    .exective-section .member .read-more {
        font-size: 14px;
    }

    .bottom-blocks-wrap h6 {
        font-size: 18px;
        margin: 0 0 15px;
    }
    .bottom-blocks-wrap p {
        font-size: 14px;
    }
    .bottom-blocks-wrap img {
        width: 100px;
    }
    .bottom-blocks-wrap .read-more {
        font-size: 14px;
    }

    .popup-wrap .popup-inner {
        max-width: 800px;
    }
    .popup-wrap .popup-inner .avatar {
        margin-bottom: 50px;
    }
    .popup-wrap .popup-inner h5 {
        font-size: 18px;
    }
    .popup-wrap .popup-inner p {
        font-size: 14px;
        padding: 0 80px;
    }

    .link-blocks-wrap .block img {
        width: 110px;
        margin-right: 30px;
    }
    .link-blocks-wrap .block h5 {
        font-size: 18px;
        margin: 30px 0;
    }
    .link-blocks-wrap .block .read-more {
        font-size: 14px;
    }
    .link-blocks-wrap .block .read-more:before {
        margin-right: 15px;
        line-height: 28px;
        width: 32px;
        height: 32px;
    }

}

@media screen and (max-width: 768px) {

    .exective-top-section {
        padding: 40px 0;
        p {
            font-size: 16px;
            line-height: 24px;
        }
    }

    .exective-section {
        padding: 45px 0;
        .member {
            padding: 30px 15px;
            h3 {
                font-size: 22px;
                margin: 0 0 10px;
            }
            h5 {
                font-size: 14px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
                br {
                    display: none;
                }
            }
        }
    }

    .bottom-blocks-wrap {
        .block {
            h6 {
                margin-bottom: 10px;
            }
            p {
                font-size: 12px !important;
            }
        }
    }

    .popup-wrap {
        .popup-inner {
            padding-bottom: 40px;
            .avatar {
                width: 80px;
                height: 80px;
                margin-bottom: 30px;
            }
            h3 {
                font-size: 22px;
            }
            h5 {
                font-size: 14px;
                margin: 0 0 20px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
                padding: 0 30px;
            }
            .close-btn {
                width: 30px;
                height: 30px;
                background-size: cover;
            }
        }
    }

}