@import "_mixins";

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

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

.goals-wrap {
    padding: 75px 0;
    position: relative;
    .dis-section-a{
        background: #edeadf;
        padding: 80px 100px 90px;
        h3{
            @include avenir-light;
            font-size: 24px;
            color: $black;
            text-transform: uppercase;
            margin-bottom: 40px;
        }
        ul{
            list-style-type: decimal;
            padding: 0 0 0 20px;
            margin: 0;
            counter-reset: section;
            li {
                @include avenir-roman;
                font-size: 18px;
                line-height: 36px;
                color: $black;
                position: relative;
                //padding-left: 85px;
                margin: 0 0 30px;
                //&:before {
                //    width: 48px;
                //    height: 48px;
                //    background: $red;
                //    border-radius: 50%;
                //    @include avenir-light;
                //    font-size: 21px;
                //    color: #ffffff;
                //    text-align: center;
                //    line-height: 54px;
                //    counter-increment: section;
                //    content: counter(section);
                //    display: inline-block;
                //    position: absolute;
                //    top: 5px;
                //    left: 0;
                //}
                &:last-child {
                    margin: 0;
                }
            }
        }
    }
    &:before {
        content: '';
        display: block;
        width: 50%;
        height: 100%;
        background: none;
        position: absolute;
        top: 0;
        right: 0;
    }
}

.dis-section-b {
    padding: 80px 100px 40px;
    background: #f0f3f8;
    margin: 0 0 80px;
    .dis-section-b-top {
        text-align: center;
        h3 {
            @include avenir-light;
            font-size: 32px;
            color: $red;
            margin-bottom: 50px;
            text-transform: uppercase;
        }
        p {
            @include avenir-roman;
            font-size: 18px;
            line-height: 36px;
            color: $black;
            display: inline-block;
            margin-bottom: 90px;
        }
    }
    ul {
        list-style: none;
        padding: 0;
        margin: 0 0 25px;
        li{
            padding-left: 50px;
            background: url("../images/tick.png") no-repeat 0 10px;
            margin-bottom: 25px;
            @include avenir-roman;
            font-size: 18px;
            line-height: 36px;
            color: $black;
            display: inline-block;
        }

    }
    p {
        @include avenir-roman;
        font-size: 18px;
        line-height: 36px;
        color: $black;
        display: inline-block;
        margin: 0 0 40px;
    }
    h5{
        @include avenir-light;
        font-size: 24px;
        line-height: 24px;
        color: $black;
        text-transform: uppercase;
        margin-bottom: 10px;
    }
}


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

// RESPONSIVE

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

    .goals-wrap .dis-section-a {
        padding: 70px 80px 80px;
    }
    .goals-wrap .dis-section-a h3 {
        font-size: 20px;
        margin: 0 0 30px;
    }
    .goals-wrap .dis-section-a ul li {
        font-size: 14px;
        line-height: 28px;
    }

    .dis-section-b {
        padding: 80px 80px 40px;
    }
    .dis-section-b .dis-section-b-top h3 {
        font-size: 26px;
        margin: 0 0 35px;
    }
    .dis-section-b .dis-section-b-top p {
        font-size: 14px;
        line-height: 28px;
        margin: 0 0 50px;
    }
    .dis-section-b h5 {
        font-size: 20px;
        line-height: 20px;
    }
    .dis-section-b ul li,
    .dis-section-b p {
        font-size: 14px;
        line-height: 28px;
    }

    .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 {
        padding: 45px 0;
        .dis-section-a {
            padding: 30px;
            h3 {
                font-size: 16px;
                margin-bottom: 25px;
            }
            ul li {
                font-size: 12px;
                line-height: 20px;
                margin-bottom: 20px;
            }
        }
    }

    .dis-section-b {
        padding: 30px;
        margin-bottom: 45px;
        .dis-section-b-top {
            h3 {
                font-size: 22px;
                margin-bottom: 25px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
                margin-bottom: 40px;
            }
        }
        ul li {
            font-size: 12px;
            line-height: 20px;
        }
        p {
            font-size: 12px;
            line-height: 20px;
            margin-bottom: 20px;
        }
        h5 {
            font-size: 18px;
        }
    }

}