@import "_mixins";

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

.inner-banner {
    height: auto !important;
}

.message-wrap {
    position: relative;
    padding: 75px 0 0;
    .chairmen-msg-section {
        background: #f1f1f1;
        padding: 80px 0;
        margin-bottom: 75px;
        figure {
            text-align: center;
            img {
                width: 226px;
                height: 226px;
                border-radius: 50%;
                display: inline-block;
                margin-bottom: 35px;
            }
            h2{
                @include avenir-light;
                font-size: 32px;
                color: $red;
                text-transform: uppercase;
                margin-bottom: 35px;
            }
            p{
                @include avenir-light;
                font-size: 18px;
                line-height: 36px;
                color: $black;
            }
        }
        article {
            padding: 0 90px;
            position: relative;
            p{
                @include avenir-roman;
                font-size: 18px;
                line-height: 36px;
                color: $black;
                margin-bottom: 45px;
            }
            span{
                width: 42px;
                height: 39px;
                display: block;
            }
            .quote-1 {
                position: absolute;
                top: 0px;
                left: 0px;
                background: url("../images/quote-1.png");
            }
            .quote-2 {
                position: absolute;
                bottom: 0px;
                right: 0px;
                background: url("../images/quote-2.png");
            }
        }
    }
    &:before {
        content: '';
        display: block;
        width: calc(50% - 35px);
        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;
        }
    }
}

.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;
            }
        }
    }
}

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

    .message-wrap .chairmen-msg-section article {
        padding: 0 50px;
    }
    .message-wrap .chairmen-msg-section article p {
        font-size: 14px;
        line-height: 28px;
        margin: 0 0 30px;
    }
    .message-wrap .chairmen-msg-section article span {
        transform: scale(.75);
    }
    .message-wrap .chairmen-msg-section figure h2 {
        font-size: 26px;
        margin: 0 0 20px;
    }
    .message-wrap .chairmen-msg-section figure p {
        font-size: 14px;
        line-height: 26px;
    }

    .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;
    }

    .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) {

    .message-wrap .chairmen-msg-section {
        padding: 45px 0 15px;
        margin: 0 0 45px;
        figure {
            img {
                width: 125px;
                height: 125px;
            }
            h2 {
                font-size: 22px;
                margin: 0 0 15px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
            }
        }
        article {
            padding: 0 20px;
            span {
                display: none;
            }
            p {
                font-size: 12px;
                line-height: 20px;
                text-align: center;
                margin: 0 0 25px;
            }
        }
    }

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

}