@import "_mixins";

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

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

.goals-wrap {
    padding: 75px 0;
    position: relative;
    .fraud-sec-top{
        //background: #edeadf;
        background: #f7f7f7;
        padding: 80px 100px;
        text-align: justify;
        h2{
            @include avenir-light;
            font-size: 32px;
            color: $red;
            text-transform: uppercase;
            margin-bottom: 30px;
        }
        p{
            @include avenir-roman;
            font-size: 18px;
            line-height: 36px;
            color: $black;
            display: inline-block;
            margin-bottom: 40px;
            a{
                color: $red;
            }
            &:last-child {
                margin: 0;
            }
        }
    }
    &:before {
        content: '';
        display: block;
        width: 50%;
        height: 100%;
        background: none;
        position: absolute;
        top: 0;
        right: 0;
    }
    &.fraud-sec-botom{
        padding: 0;
        .dis-section-a{
            background: #edeadf;
            padding: 80px 100px;
            padding-right: 150px;
            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: 80px;
                    margin: 0 0 30px;
                    strong {
                        @include avenir-medium;
                    }
                    a {
                        color: $red;
                    }
                    //&: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 {
            display: none;
        }
    }
}

.fraud-advice-sec {
    article {
        padding: 70px 70px 70px 80px;
        background: #f1f1f1;
        min-height: 100%;
        h2{
            @include avenir-light;
            font-size: 32px;
            color: $red;
            text-transform: uppercase;
            margin-bottom: 20px;
        }
        h3{
            @include avenir-light;
            font-size: 24px;
            color: $black;
            text-transform: uppercase;
            margin-bottom: 20px;
        }
        p {
            @include avenir-roman;
            font-size: 18px;
            line-height: 36px;
            color: $black;
            display: inline-block;
            margin-bottom: 25px;
            &:last-child{
                margin: 0;
            }
        }
    }
    figure {
        margin-bottom: 0;
        min-height: 100%;
        overflow: hidden;
        img {
            height: 620px;
            width: auto;
            max-width: none;
        }
    }
}

.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 .fraud-sec-top h2 {
        font-size: 26px;
    }
    .goals-wrap .fraud-sec-top p {
        font-size: 14px;
        line-height: 28px;
        margin: 0 0 30px;
    }

    .fraud-advice-sec article h2 {
        font-size: 26px;
    }
    .fraud-advice-sec article h3 {
        font-size: 20px;
    }
    .fraud-advice-sec article p {
        font-size: 14px;
        line-height: 28px;
    }
    .fraud-advice-sec figure img {
        height: 535px;
        width: 100%;
    }

    .goals-wrap.fraud-sec-botom .dis-section-a {
        padding: 80px 150px 80px 80px;
    }
    .goals-wrap.fraud-sec-botom .dis-section-a h3 {
        font-size: 20px;
        margin: 0 0 30px;
    }
    .goals-wrap.fraud-sec-botom .dis-section-a ul li {
        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;
        .fraud-sec-top {
            padding: 30px;
            h2 {
                font-size: 22px;
                margin-bottom: 20px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
                margin-bottom: 20px;
            }
        }
        &.fraud-sec-botom {
            .dis-section-a {
                padding: 30px;
                h3 {
                    font-size: 18px;
                    margin-bottom: 20px;
                }
                ul li {
                    font-size: 12px;
                    line-height: 20px;
                }
            }
        }
    }

    .fraud-advice-sec {
        article {
            padding: 30px;
            h2 {
                font-size: 22px;
            }
            h3 {
                font-size: 18px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
            }
        }
    }

}