@import "_mixins";

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

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

.insight-section {
    padding: 75px 0;
    position: relative;
    .row {
        padding: 0 15px;
    }
    .col-md-6 {
        padding: 0;
    }
    figure {
        overflow: hidden;
        margin: 0;
        height: 100%;
        img {
            max-width: 100%;
            height: 100%;
        }
    }
    article{
        padding: 78px 60px 78px 75px;
        background: #edeadf;
        min-height: 100%;
        h3{
            @include avenir-light;
            font-size: 32px;
            color: $red;
            text-transform: uppercase;
            margin-bottom: 28px;
        }
        p{
            @include avenir-roman;
            font-size: 18px;
            color: $black;
            line-height: 32px;
            margin: 0 0 50px;
        }
        .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;
            }
        }
    }
    &:before {
        content: '';
        display: block;
        width: 50%;
        height: 100%;
        background: none;
        position: absolute;
        top: 0;
        right: 0;
    }
}

.investor-content-wrap {
    padding: 75px 0;
    h2 {
        @include avenir-light;
        font-size: 32px;
        color: $red;
        margin-bottom: 40px;
    }
    .achive-btn {
        display: flex;
        margin-top: 40px;
        .achive-link {
            background: $red;
            font-size: 18px;
            @include avenir-medium;
            color: $white;
            padding: 10px 20px;
        }
    }
    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-roman;
                font-size: 18px;
                color: $black;
                margin: 0;
                line-height: 36px;
            }
            p {
                @include avenir-roman;
                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;
            }
        }
        .btn-loadmore-wrapper {
          text-align: center;
          .btn-loadmore{

            color: #000;
            padding: 5px 15px;
            border: 1px solid #a70240;
            box-shadow: none;
            cursor: pointer;
            font-size: 12px;
            text-transform: uppercase;
            -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{
              background-color: #a70240;
              color: #fff;
            }
            &:focus{
              outline: none;
              border-color: #000;
            }
          }
        }

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

.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 35px;
    }
    .read-more {
        font-size: 18px;
        @include avenir-medium;
        text-transform: uppercase;
        color: $red;
        margin-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;
        }
    }
}

.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);
        }
        .archive-reports {
            margin: 0 auto;
            .year {
                text-align: left;
                p {
                    padding: 0;
                }
            }
        }
    }
}

// RESPONSIVE

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

    .insight-section article {
        padding: 55px;
    }
    .insight-section article h3 {
        font-size: 22px;
    }
    .insight-section article p {
        font-size: 14px;
        line-height: 26px;
        margin: 0 0 35px;
    }
    .insight-section article .read-more {
        font-size: 14px;
    }
    .insight-section figure {

    }
    .insight-section figure img {
        max-width: none;
        height: 381px;
    }

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

    .bottom-blocks-wrap h6 {
        margin-left: 0;
        font-size: 20px;
    }
    .bottom-blocks-wrap img {
        width: 100px;
    }
    .bottom-blocks-wrap .read-more {
        margin: 0;
        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;
    }

}

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

    .insight-section {
        padding: 45px 0;
        article {
            padding: 30px;
            h3 {
                font-size: 22px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
            }
        }
    }

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

}
