@import "_mixins";

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

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

.goals-wrap {
    padding: 75px 0 0;
    .row {
        padding: 0 15px;
    }
    .col-md-6 {
        padding: 0;
    }
    &.section-b {
        position: relative;
        padding: 75px 0;
        &:before {
            content: '';
            display: block;
            width: 50%;
            height: 100%;
            background: none;
            position: absolute;
            top: 0;
            right: 0;
        }
        article {
            background: #f2f2f2;
            padding: 75px 75px 75px 95px;
            min-height: 100%;
            p {
                @include avenir-roman;
                color: $black;
                font-size: 18px;
                line-height: 32px;
                margin: 0 0 25px;
                &:last-child {
                    margin: 0;
                }
            }
            ul {
                padding-left: 0;
                list-style: none;
                width: 220px;
                float: left;
                margin-bottom: 27px;
                li{
                    margin-bottom: 8px;
                    img{
                        display: inline-block;
                        margin-right: 20px;
                    }
                    p{
                        display: inline-block;
                    }
                }
            }
            figure {
                float: right;
                width: 275px;
                img {
                    max-width: 100%;
                }
            }
            .download-btn{
                @include avenir-medium;
                font-size: 14px;
                color: $red;
                padding: 13px 15px 11px 48px;
                line-height: 14px;
                border: 1px solid #a70240;
                display: inline-block;
                background: url(../images/download-btn.png) no-repeat 15px 12px;
                text-transform: uppercase;
            }
            &.alt {
                background: #edeadf;
            }
        }
    }
}

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

    .goals-wrap.section-b article {
        padding: 50px 50px 50px 65px;
    }
    .goals-wrap.section-b article p {
        font-size: 14px;
        line-height: 26px;
    }
    .goals-wrap.section-b article ul li img {
        width: 65px;
    }
    .goals-wrap.section-b article ul {
        width: 190px;
    }
    .goals-wrap.section-b article figure {
        width: 180px;
    }
    .goals-wrap.section-b article .download-btn {
        font-size: 12px;
    }

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

    .goals-wrap {
        &.section-b {
            padding: 45px 0;
            article {
                padding: 30px;
                p {
                    font-size: 12px;
                    line-height: 20px;
                }
                figure {
                    width: 100%;
                    img {
                        max-width: 100%s;
                    }
                }
                .download-btn {
                    font-size: 12px;
                    padding: 13px 20px 11px 60px;
                }
            }
        }
    }

}