@import "_mixins";

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

.investor-content-wrap {
    padding-bottom: 75px;
    article {
        padding: 80px 42px 110px;
        min-height: 100%;
        background: #f2f2f2;
        position: relative;
        h5 {
            @include avenir-light;
            font-size: 24px;
            color: $black;
            margin-bottom: 35px;
            text-transform: uppercase;
        }
        .year{
            margin-bottom: 50px;
            position: relative;
            padding-left: 40px;
            background: url("../images/tick.png") no-repeat 0 6px;
            h6 {
                @include avenir-light;
                font-size: 18px;
                color: $black;
                margin: 0;
                line-height: 36px;
            }
            p {
                @include avenir-light;
                font-size: 14px;
                color: $red;
                text-transform: uppercase;
                margin: 0 0 10px;
            }
            a {
                background: url("../images/download-btn.png");
                width: 16px;
                height: 14px;
                position: absolute;
                top: 4px;
                right: 0;
            }
        }
        &.alt {
            background: #edeadf;
        }
        .read-more {
            font-size: 18px;
            @include avenir-medium;
            text-transform: uppercase;
            color: $red;
            position: absolute;
            bottom: 80px;
            left: 35px;
            &: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;
            }
        }

    }
    .latest {
        padding: 75px 60px 75px 80px;
        h5 {
            font-size: 32px;
            text-transform: none;
            line-height: 44px;
            margin: 0 0 30px;
        }
        p {
            @include avenir-medium;
            font-size: 14px;
            color: $red;
            text-transform: uppercase;
            margin: 0 0 30px;
        }
        a {
            @include avenir-medium;
            font-size: 14px;
            color: $red;
            padding: 13px 15px 11px 48px;
            line-height: 14px;
            border: 1px solid $red;
            display: inline-block;
            background: url("../images/download-btn.png") no-repeat 12px 12px;
        }
        &.article-left {
            margin-right: 30px;
        }
        &.article-right {
            margin-left: 30px;
        }
    }
    &.section-a {
        position: relative;
        padding: 75px 0;
        &:before {
            content: '';
            display: block;
            width: 50%;
            height: 100%;
            background: none;
            position: absolute;
            top: 0;
            right: 0;
        }
    }
}

// RESPONSIVE

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

    .investor-content-wrap article {
        padding: 60px 32px 90px;
    }
    .investor-content-wrap article h5 {
        font-size: 14px;
    }
    .investor-content-wrap article .read-more {
        font-size: 14px;
        bottom: 50px;
    }
    .investor-content-wrap article .year {
        margin-bottom: 30px;
    }
    .investor-content-wrap article .year p {
        font-size: 12px;
    }
    .investor-content-wrap article .year h6 {
        font-size: 14px;
        line-height: 20px;
    }

    .investor-content-wrap .latest {
        padding: 75px 50px 75px 70px;
    }
    .investor-content-wrap .latest h5 {
        font-size: 24px;
        line-height: 32px;
        margin: 0 0 20px;
    }
    .investor-content-wrap .latest p {
        font-size: 12px;
        margin: 0 0 20px;
    }
    .investor-content-wrap .latest a {
        font-size: 12px;
        line-height: 12px;
    }

}

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

    .investor-content-wrap {
        padding: 45px 0;
        article {
            padding: 60px 30px !important;
            margin: 0 !important;
            h5 {
                font-size: 18px !important;
                line-height: 26px !important;
            }
            p {
                margin: 0 0 20px !important;
            }
            a {
                font-size: 12px !important;
            }
            .year {
                margin-bottom: 30px;
                h6 {
                    font-size: 16px;
                    line-height: 24px;
                }
                p {
                    font-size: 12px;
                    margin: 0 !important;
                }
            }
            .read-more {
                bottom: 30px;
            }
        }
        &.section-a {
            padding: 40px 0;
        }
    }

}