﻿@import (reference) "bootstrap.less";
@import (reference) "Onestop.Common.Variables.less";
@import (reference) "Onestop.Common.Mixins.less";

/*.widget-socialmenu {
    .make-md-column(6);

    ul {
        list-style-type: none;

        li {
            .make-md-column(6);
            height: 65px;
        }
    }
 
}*/

.os-main-footer {
    .os-footer-quad.first {
        .make-xs-column(12);
        margin-bottom: 40px;

        .widget-toolsmenu {
            padding: 10px 0 20px 0;
            margin-bottom: 20px;

            .os-menu {
                padding-left: 0;
            }

            ul {
                list-style: none;

                li {
                    .make-sm-column(3);
                    .make-xs-column(6);
                    text-align: center;
                    height: 80px;
                    font-size: 11px;
                    color: #666;

                    a:hover {
                        color: #666;
                    }

                    @media (max-width:@screen-xs) {
                        /*min-height:140px;*/
                        margin-bottom:20px;
                    }


                    .icon-warranty {
                        background: url(/Themes/PEBA/Content/Images/guarantee-sprite.png) no-repeat 0 0;
                        width: 49px;
                        height: 49px;
                        display: block;
                        margin: 0 auto;
                        margin-bottom: 1em;
                    }

                        .icon-warranty.delivery {
                            background-position: -180px -153px; //0 -52px;

                            &:hover {
                                background-position: -180px -102px; //0 0;
                            }
                        }

                        .icon-warranty.satisfied {
                            background-position: -60px -52px;

                            &:hover {
                                background-position: -60px 0;
                            }
                        }

                        .icon-warranty.exchange {
                            background-position: -120px -52px;

                            &:hover {
                                background-position: -120px 0;
                            }
                        }

                        .icon-warranty.monitoring {
                            background-position: -180px -52px;

                            &:hover {
                                background-position: -180px 0;
                            }
                        }

                        .icon-warranty.payment {
                            background-position: -240px -52px;

                            &:hover {
                                background-position: -240px 0;
                            }
                        }

                        .icon-warranty.loyalty {
                            background-position: -301px -52px;

                            &:hover {
                                background-position: -301px 0;
                            }
                        }
                }

                    li:hover {
                        .hover {
                            opacity: 0;
                            position: absolute;
                            top: 83%;
                            left: 0;
                            padding: 3em 0 0;
                            transition: all 1s ease;
                            z-index: 1;
                            -webkit-transition: all 1s ease;

                            &:before {
                                top: 19px;
                                width: 0;
                                height: 0;
                                border-style: solid;
                                border-width: 0 12px 13px 12px;
                                border-color: transparent transparent #e6e6e6 transparent;
                                content: '';
                                position: absolute;
                                left: 50%;
                                margin-left: -16px;
                            }

                            &:after {
                                top: 21px;
                                width: 0;
                                height: 0;
                                border-style: solid;
                                border-width: 0 12px 13px 12px;
                                border-color: transparent transparent #fff transparent;
                                content: '';
                                position: absolute;
                                left: 50%;
                                margin-left: -16px;
                            }

                            p {
                                box-shadow: 0 0 16px -5px rgba(0,0,0,0.2);
                                background: #fff;
                                border: 1px solid #e6e6e6;
                                padding: 1em;
                                border-radius: 5px;
                                color: #666;
                            }
                        }
                    }
            }
        }
    }

    .os-footer-quad.second {
        padding: 0;

        .social-network-menu {
            border-left: 0;
            list-style-type: none;
            margin: 0;


            /*@media (max-width: 320px) {
                li {
                    width: 20%;
                }
            }

            @media (max-width: @screen-xs) {
                li {
                    width: 20%;
                }
            }*/

            li {
                //.make-sm-column(6);
                width: 20%;
                margin: 0 auto;
                //line-height: 1em;
                text-align: center;
                float: left;

                &:nth-child(4n+1) {
                    background: #f2f2f2;
                }

                @media (min-width:@screen-md) {
                    &:nth-child(3n+1) {
                        background: #f2f2f2;
                    }
                }

                @media(max-width:@screen-md) {
                    &:nth-child(odd) {
                        background: #f2f2f2;
                    }
                }

                a {
                    display: block;
                    color: #666;
                    line-height: 1;
                    padding: 1.8em 0;
                    font-size: .92em;
                    min-height: 70px;

                }

                    a:hover {
                        color: #666;
                    }
            }

            i {
                display: inline-block;
                //margin: 0 15px 0 0;
                margin: 0 auto;
                vertical-align: middle;
            }

            .icon-facebook {
                background: url(/Themes/PEBA/Content/Images/facebook.png);
                width: 23px;
                height: 22px;
            }

            .icon-google-plus {
                background: url(/Themes/PEBA/Content/Images/google.png);
                width: 24px;
                height: 21px;
            }

            .icon-instagram {
                background: url(/Themes/PEBA/Content/Images/instagram.png);
                width: 23px;
                height: 23px;
            }

            .icon-pinterest {
                background: url(/Themes/PEBA/Content/Images/pinterest.png);
                width: 24px;
                height: 23px;
            }

            .icon-twitter {
                background: url(/Themes/PEBA/Content/Images/twitter.png);
                width: 24px;
                height: 20px;
            }

            .icon-youtube {
                background: url(/Themes/PEBA/Content/Images/youtube.png);
                width: 25px;
                height: 30px;
            }
        }
    }

    .os-footer-quad.third {
        border-top: 1px solid #ececec;
        padding-top: 30px;
        padding-left: 30px;
        padding-bottom: 0;
        background: #fafafa;

        i {
            color: #002d5f;
            margin-bottom: 10px;
        }
    }

    .os-footer-quad.fourth {
        border-bottom: 1px solid #ececec;
        background: #fafafa;

        #mail-list-subscribe {
            display: none;
        }

        .os-subscribe {
            .make-md-column(8);
            input[name=email] {
                border-radius: 4px;
            }

            .os-cta-submit {
                margin-left: 10px;
                border-radius: 4px;
            }
        }
    }

    .os-footer-layout {
        text-align: center;
        background-color: white !important;
        padding: 40px 0 30px 0;
        border: 0;

        .widget-footer {
            span {
                font-size: 12px !important;
                font-family: Arial !important;
            }
        }
    }

    .os-footer-meta {
        .make-md-column(12);
        background-color: #002d5f;
        font-size: 10px;

        a {
            font-weight: bold;
            color: white;
        }

        .widget-footermenuaccount {
            .make-md-column(5);
        }

        .widget-footermenuanxillary {
            .make-md-column(4);
        }

        .widget-termsprivacy {
            .make-md-column(3);
        }

        .widget-sizechartmodal {
            float: none;

            p {
                display: none;
            }
        }
    }

    .footer-box {
        background: #fafafa;
        color: #666;
        border-left: 1px solid #ececec;
        padding: 1em 4em;
        min-height: 204px;

        @media (max-width:@screen-sm) {
            padding:2em;
        }

        img {
            width: auto;
            margin: 0 1em .5em 0;
        }

        p {
            font-size: .92em;
        }

        .title-blog {
            color: #719eb9;
            text-transform: uppercase;
            margin: 0 0 1em;
        }

        .title-content {
            margin: 0 0 .5em;
            color: @peba-blue;
            text-transform: uppercase;
        }

        .description {
            margin: 0 0 .5em;
        }

        .blog-button {
            display: inline-block;
            background: @peba-blue;
            color: #fff;
            border-radius: .3em;
            padding: .7em 1em;
            text-transform: uppercase;

            &:hover {
                text-decoration: none;
            }
        }
    }

    .footer-table {
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
        margin: 2em 0;
    }
}

.os-footer-quad-panel {
    .os-panel-body {
        .row {
            overflow: hidden;
            border-bottom: 1px solid #ececec;

            .os-footer-quad.fourth {
                padding-bottom: 500px;
                margin-bottom: -500px;
            }

            .os-footer-quad.second, .os-footer-quad.third {
                border-top: 1px solid #ececec;
            }
        }
    }
}


/*@media (max-width: 1200px) {
    .os-footer-quad.second, .os-footer-quad.third, .os-footer-quad-fourth {
        width: 50%;
    }
}

@media (max-width: 992px) {
.os-main-footer {
        .os-footer-quad.second, .os-footer-quad.third, .os-footer-quad-fourth {
            width: 50%;
        }
    }
}*/

@media (max-width: 767px) {
    .os-main-footer {
        .os-footer-quad.second {
            padding-top: 0;
            border: 0;
            width: 100%;

            .social-network-menu {
                li:last-child {
                    height: 70px;
                }

                li {
                    a {
                        span {
                            display: none;
                        }
                    }
                }


            }
        }

        .os-footer-quad.third, .os-footer-quad.fourth {
            width: 100%;
        }

        .os-footer-quad.fourth {
            .os-cta-submit {
                margin-bottom: 30px;
            }
        }
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .os-main-footer {
        .os-footer-quad.first {
            .widget-toolsmenu {
                ul{
                    li{
                        width: 25%;
                    }
                }
            }
        }


        .os-footer-quad.second {
            padding-top: 0;
            border: 0;
            width: 50%;

            .social-network-menu {
                li {
                    width: 33.33333333333333%;

                    a {
                        span {
                            display: block;
                            padding-top: 7px;
                        }
                    }
                }
            }
        }

        .os-footer-quad.third, .os-footer-quad.fourth {
            width: 50%;
        }

        .os-footer-quad.third {
            padding-top: 20px;
        }
    }

    .product-list-page {
        .os-product-list-panel {
            .os-products {
                .product-list-item {
                    width: 33.33333333333333%;

                    /*.os-item-media {
                        li {
                            width: 100%;
                        }
                    }*/
                }
            }
        }
    }
}

@media (min-width: 992px) {
    .os-main-footer {
        .os-footer-quad.second {
            padding-top: 0;
            border: 0;
            width: 50%;

            .social-network-menu {
                li {
                    width: 50%;

                    a {
                        span {
                            padding-left: 20px;
                        }
                    }
                }
            }
        }

        .os-footer-quad.third, .os-footer-quad.fourth {
            width: 50%;
        }
    }
}

