// YOLO FOOTER
// STYLE 5 COLUMN FOOTER-4
.footer-4-row{
    .vc_col-sm-2 {
        width: 20%;
        position: relative;
        @media( max-width: 991px) and (min-width:768px){
            width: 50%;
            &:nth-last-child(2){
                width: 100%;
                h3{
                    margin-bottom: 10% !important;
                }
            }
        }
        @media( max-width: 767px){
            width: 100%;
        }
    }
}

.footer-4-column-6 {
    visibility: hidden;
    width: 0px;
    padding: 0px;
}
// Footer-1
.yolo-footer-wrapper.footer-1 {
    .wpb_wrapper {
        text-align: center;
        #social-footer {
            display: inline-block;
            list-style: none;
            overflow: hidden;
            margin-bottom: 0;
            padding: 0;
            & li {
                display: inline-block;
                a {
                    display: block;
                    margin: 0 20px;
                    color: @white;
                    .transition(all .3s);
                    &:hover {
                        color: @primary_color;
                    }
                    i {
                        font-size: 16px;
                    }
                     @media(max-width:320px) {
                        margin: 0 15px;
                    }
                }
            }
        }
        .wpb_text_column.wpb_content_element {
            .wpb_wrapper {
                p {
                    color: lighten(@text_color, 10%);
                    i {
                        padding-right: 20px;
                        font-size: 20px;
                    }
                }
            }
        }
        .contact {
            .wpb_wrapper {
                .wpb_wrapper {
                    p {
                        .transition(all .3s ease);
                        cursor: pointer;
                        &:hover {
                            color: @white;
                        }
                    }
                }
            }
        }
        .wpb_wrapper {
            .wpb_wrapper {
                p {
                    a {
                        color: @text_color;
                        .transition(all .3s ease);
                        &:hover {
                            color: @white;
                        }
                    }
                }
                #payment-footer {
                    list-style: none;
                    padding: 0;
                    margin-bottom: 0;
                    li {
                        display: inline-block;
                        i {
                            margin: 0 25px;
                            font-size: 20px;
                            cursor: pointer;
                            .transition(all .3s ease);
                            &:hover {
                                color: @white;
                            }
                        }
                    }
                }
            }
        }
    }
}

// Footer-2
.yolo-footer-wrapper.footer-2 {
    .wpb_wrapper {
        .widget-title-wrapper {
            display: none;
        }
        h3 {
            position: relative;
            &:before {
                position: absolute;
                content: '';
                width: 75px;
                height: 2px;
                background: @primary_color;
                left: 0;
                bottom: 0;
            }
            @media ( min-width: 768px ) and ( max-width:991px ){
                font-size: 18px;
                margin-bottom: 10% !important;
            }
            @media ( max-width: 767px ) {
                margin-bottom: 5% !important;
            }
        }
        .tagcloud {
            overflow: hidden;
            a {
                display: inline-block;
                color: @secondary_color;
                padding: 7px 10px;
                border: none;
                outline: none;
                background: lighten(@text_color, 45%);
                margin: 0 7px 7px 0;
                .transition(all .3s);
                &:hover {
                    background: @primary_color;
                    color: @white;
                }
            }
        }
        .instagram-pics {
            list-style: none;
            padding-left: 0;
            li {
                position: relative;
                float: left;
                width: 31.333333333333332%;
                margin: 0% 3% 3% 0%;
                &:nth-child(3n) {
                    margin-right: 0;
                }
                a {
                    position: relative;
                    display: block;
                    &:before {
                        position: absolute;
                        content: '';
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 50%;
                        background: fade(@primary_color, 50%);
                        .transition(all .3s);
                    }
                    &:after {
                        position: absolute;
                        content: '';
                        bottom: 0;
                        right: 0;
                        width: 100%;
                        height: 50%;
                        background: fade(@primary_color, 50%);
                        .transition(all .3s);
                    }
                }
                &:hover {
                    a {
                        &:before, &:after {
                            width: 0%;
                        }
                    }
                }
            }
        }
        .wpb_wrapper {
            ul {
                padding-left: 0;
                list-style: none;
                li {
                    position: relative;
                    color: @secondary_color;
                    margin-bottom: 25px;
                    a {
                        .transition(all .3s);
                    }
                    i {
                        font-size: 20px;
                    }
                }
                &.contact-list {
                    li {
                        position: relative;
                        padding-left: 40px;
                        margin-bottom: 35px;
                        i {
                            position: absolute;
                            top: 10%;
                            left: 0;
                        }
                        a {
                            color: @secondary_color!important;
                        }
                        &:hover {
                            a {
                                color: @secondary_color!important;
                            }
                        }
                    }
                }
            }
        }
    }
}

// Footer-default
.yolo-footer-wrapper.footer-default {
    .wpb_wrapper {
        .wpb_wrapper {
            h3 {
                position: relative;
                &:before {
                    position: absolute;
                    content: '';
                    width: 75px;
                    height: 2px;
                    background: @primary_color;
                    left: 0;
                    margin-top: 40px;
                }
                @media ( min-width: 768px ) and ( max-width:991px ){
                    font-size: 18px;
                }
                @media ( max-width: 767px ) {
                    margin-bottom: 10% !important;
                }
            }
            .wpb_wrapper {
                p {
                    &:nth-child(3) {
                        font-weight: bold;
                    }
                    a {
                        .transition(all .3s);
                        &:hover, &:focus {
                            color: @white!important;
                        }
                    }
                }
                ul.custom-list {
                    list-style: none;
                    padding-left: 0;
                    li {
                        a {
                            position: relative;
                            display: block;
                            padding: 5% 0;
                            color: @text_color;
                            border-bottom: 1px solid @text_color;
                            .transition(all .3s);
                            &:after {
                                position: absolute;
                                content: '\f105';
                                font-family: 'FontAwesome';
                                top: 30%;
                                right: 10%;
                                opacity: 0;
                                visibility: hidden;
                                color: @white;
                                .transition(all .5s);
                            }
                            &:hover:after {
                                right: 5%;
                                opacity: 1;
                                visibility: visible;
                            }
                            &:hover {
                                color: @white;
                            }
                        }
                        &:first-child {
                            a {
                                padding-top: 0;
                            }
                        }
                        &:last-child {
                            a {
                                border-bottom: none;
                            }
                        }
                    }
                }
                ul.contact-list {
                    list-style: none;
                    padding-left: 0;
                    li {
                        position: relative;
                        padding: 0px 0px 30px 40px;
                        cursor: pointer;
                        .transition(all .3s);
                        i {
                            position: absolute;
                            left: 0px;
                            top: 5px;
                            font-size: 18px;
                        }
                        &:last-child {
                            a {
                                display: inline-block;
                                padding: 0;
                                color: @text_color;
                            }
                        }
                        &:hover {
                            color: @white;
                            i {
                                color: @primary_color;
                            }
                        }
                        &:hover, &:active {
                            a {
                                color: @white;
                            }
                        }
                    }
                }
                .icon-btt{
                    height: 50px;
                    width: 50px;
                    border-radius: 100%;
                    right: 0; 
                    background-color: #3d3d3d;
                    border: 1px solid #4c4c4c;
                    cursor: pointer;
                    i{
                        position: absolute;
                        width: 34px;
                        height: 34px;
                        line-height: 34px;
                        border-radius: 100%;
                        text-align: center;
                        background-color: @primary_color;
                        color: @white;
                        left: 50%;
                        top: 50%;
                        .translate(-50%,-50%);
                        &:after{
                            content: '';
                            width: 100%;
                            height: 100%;
                            border: 1px solid @primary_color;
                            left: 0;
                            top: 0;
                            position: absolute;
                            border-radius: 100%;
                            .transition( all 0.5s ease);
                        }
                    }
                    &:hover{
                        i{
                            &:after{
                                .scale(1.5);
                            }
                        }
                    }
                }
            }
        }
    }
}

// Footer-4, Footer-3
.yolo-footer-wrapper.footer-4, .yolo-footer-wrapper.footer-3 {
    .wpb_wrapper {
        .wpb_wrapper {
            h3 {
                position: relative;
                &:before {
                    position: absolute;
                    content: '';
                    width: 75px;
                    height: 2px;
                    background: @primary_color;
                    left: 0;
                    bottom: 0;
                }
                @media (max-width: 767px){
                    margin-top: 5% !important;
                    margin-bottom: 5% !important;
                }
            }
            .wpb_single_image,.wpb_text_column{
                 @media (max-width: 767px){
                    margin-bottom: 5% !important;
                }
            }
            ul {
                list-style: none;
                padding-left: 0;
            }
            .instagram-col-4 {
                .widget-title-wrapper {
                    .widget-title.heading-title {
                        display: none;
                    }
                }
                .instagram-pics {
                    list-style: none;
                    padding-left: 0;
                    li {
                        position: relative;
                        float: left;
                        width: 31.333333333333332%;
                        margin: 0% 3% 3% 0%;
                        &:nth-child(3n) {
                            margin-right: 0;
                        }
                        a {
                            position: relative;
                            display: block;
                            &:before {
                                position: absolute;
                                content: '';
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 50%;
                                background: fade(@primary_color, 50%);
                                .transition(all .3s);
                            }
                            &:after {
                                position: absolute;
                                content: '';
                                bottom: 0;
                                right: 0;
                                width: 100%;
                                height: 50%;
                                background: fade(@primary_color, 50%);
                                .transition(all .3s);
                            }
                        }
                        &:hover {
                            a {
                                &:before, &:after {
                                    width: 0%;
                                }
                            }
                        }
                    }
                }
            }
            h3 {
                margin: 0;
            }
            .wpb_wrapper {
                ul.social-footer {
                    li {
                        float: left;
                        padding: 0 12px;
                        &:first-child {
                            padding-left: 0;
                        }
                        a {
                            color: @secondary_color;
                            .transition(all .3s);
                            &:hover {
                                color: @primary_color;
                            }
                        }
                    }
                }
                ul.custom-list {
                    li {
                        a {
                            position: relative;
                            display: block;
                            padding: 5% 0;
                            color: @secondary_color;
                            border-bottom: 1px solid @border_color;
                            .transition(all .3s);
                            &:after {
                                position: absolute;
                                content: '\f105';
                                font-family: 'FontAwesome';
                                top: 30%;
                                right: 10%;
                                opacity: 0;
                                visibility: hidden;
                                color: @secondary_color;
                                .transition(all .5s);
                            }
                            &:hover:after {
                                right: 5%;
                                opacity: 1;
                                visibility: visible;
                            }
                            &:hover {
                                color: @primary_color;
                            }
                        }
                        &:last-child {
                            a {
                                border-bottom: none;
                            }
                        }
                    }
                }
                ul.contact-list {
                    li {
                        position: relative;
                        padding: 0 0 30px 40px;
                        color: @secondary_color;
                        i {
                            position: absolute;
                            left: 0;
                            top: 5%;
                            font-size: 18px;
                            color: @secondary_color;
                        }
                        a {
                            color: @secondary_color!important;
                            .transition(all .3s);
                        }
                        &:hover, &:active {
                            a {
                                color: @secondary_color!important;
                            }
                        }
                    }
                }
            }
        }
    }
}
// Footer-7
.yolo-footer-wrapper.footer-5 {
    .wpb_wrapper {
        .widget-title-wrapper {
            display: none;
        }
        h3 {
            position: relative;
            &:before {
                position: absolute;
                content: '';
                width: 75px;
                height: 2px;
                background: @secondary_color;
                left: 0;
                bottom: 0;
            }
            @media ( min-width: 768px ) and ( max-width:991px ){
                font-size: 18px;
                margin-bottom: 10% !important;
            }
            @media ( max-width: 767px ) {
                margin-bottom: 5% !important;
            }
        }
        .null-instagram-feed{
            .clear{
                display: none;
            }
        }
        .instagram-pics {
            list-style: none;
            padding-left: 0;
            li {
                position: relative;
                float: left;
                width: 17%;
                margin: 0% 3% 3% 0%;
                &:nth-child(5n) {
                    margin-right: 0;
                    @media(max-width:479px){
                        margin-right: 3%;
                    }

                }
                a {
                    position: relative;
                    display: block;
                    &:before {
                        position: absolute;
                        content: '';
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 50%;
                        background: fade(@primary_color, 50%);
                        .transition(all .3s);
                    }
                    &:after {
                        position: absolute;
                        content: '';
                        bottom: 0;
                        right: 0;
                        width: 100%;
                        height: 50%;
                        background: fade(@primary_color, 50%);
                        .transition(all .3s);
                    }
                }
                &:hover {
                    a {
                        &:before, &:after {
                            width: 0%;
                        }
                    }
                }
                @media(max-width:479px){
                    width: 22%;
                }
            }
        }
        .wpb_wrapper {
            ul {
                padding-left: 0;
                list-style: none;
                li {
                    position: relative;
                    color: @secondary_color;
                    margin-bottom: 25px;
                    a {
                        .transition(all .3s);
                    }
                    i {
                        font-size: 20px;
                    }
                }
                &.contact-list {
                    li {
                        position: relative;
                        padding-left: 40px;
                        margin-bottom: 35px;
                        i {
                            position: absolute;
                            top: 10%;
                            left: 0;
                        }
                        a {
                            color: @secondary_color!important;
                        }
                        &:hover {
                            a {
                                color: @secondary_color!important;
                            }
                        }
                    }
                }
            }
        }
        .widget-social-profile {
            .social-profile{
                li{
                    display: inline-block;
                    text-transform: uppercase;
                    text-align: center;
                    color: transparent;
                    margin: 0 5px;
                    &:first-child{
                        margin-left: 0;
                         @media(max-width:479px){
                            margin-left: 5px;
                         }
                    }
                    .transition( all 0.35s ease);
                    a{
                        .transition( all 0.35s ease);
                        i{
                            color: @border_color;
                            display: block;
                            opacity: 1;
                            line-height: 98px;
                            font-size: 36px;
                            text-align: center;
                            width: 100px;
                            height: 100px;
                            border: 1px solid @border_color;
                            margin-bottom: 10px;
                            .transition( all 0.35s ease);
                            @media(min-width:768px) and (max-width:991px){
                                width: 90px;
                                height: 90px;
                                line-height: 89px;
                            }
                        }
                    }
                    &:hover{
                        a{
                            color: @secondary_color !important;
                            i{
                                color: @secondary_color;
                                border-color: @secondary_color;
                            }
                        }
                    }
                }
            }
        }
    }
}