/**
 * Title block style 2
 */

.title-block-2 {
    &.bottom-title .block .block-title:before {
        width: 50px;
        height: 3px;
    }

    .block .block-title {
        padding-bottom: 10px;
        margin-bottom: 30px !important;

        strong {
            font-weight: normal;
            color: #222;
        }
    }

    .cat-slider-home,
    .slider-product-home {
        .block .block-title {
            margin-bottom: 17px !important;
        }
    }
}

/**
 * Navigation style 5
 */

.nav-style-5 {
    .owl-theme .owl-nav {
        margin: 0;
    }

    .owl-theme .owl-nav [class*="owl-"] {
        width: 29px;
        height: 39px;
        line-height: 37px;
        text-align: center;
        padding: 0;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        color: #222;
        margin: 0 3px;
        .transition(.1s);

        &:before {
            font-size: 18px;
        }
    }

    &.nav-position-top {
        .owl-theme .owl-nav {
            position: absolute;
            top: -69px;
            left: -3px;
        }
    }
}

.stagepadding-slider .nav-style-5.nav-position-top .owl-theme .owl-nav {
    left: 11px;
}

.cat-slider-home,
.slider-product-home {
    .nav-style-5.nav-position-top .owl-theme .owl-nav {
        top: -54px;
    }
}

/**
 * Slider categories
 */

.cat-slider-home {
    .content-box {
        text-align: center;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        overflow: hidden;
        .border-radius(10px);

        .item-row .item:not(:last-child) {
            margin-bottom: 30px;
        }

        &:hover {
            border: none;
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.15));

            .image-cat {
                padding: 10px;
            }
        }
    }

    .image-cat {
        padding: 9px;
    }

    .cat-title {
        font-size: 114.285%;

        a {
            border-top: 1px solid #e5e5e5;
            background-color: #fafafa;
            display: block;
            padding: 12px 10px;
        }
    }

    .sub-cats {
        margin: 0;
        padding: 0;
        list-style: none;

        li {
            margin: 0 0 3px;
        }

        .count {
            display: none;
        }
    }
}

/**
 * Product slider list, banner
 */

.product-banner-home {
    position: relative;

    .block-list-products {
        margin-bottom: 0 !important;
    }

    .owl-carousel,
    .owl-carousel .owl-stage-outer,
    .owl-carousel .owl-stage {
        position: static;
    }

    .stagepadding-slider .nav-style-5.nav-position-top .owl-theme .owl-nav {
        top: 7px;
        left: -3px;
    }

    .banner-category {
        float: right;
        width: 290px;
    }

    .product-list-slider {
        float: left;
        width: calc(~'100% - 300px');
    }

    .product-item-info {
        margin-bottom: 10px;
        overflow: hidden;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        .border-radius(10px);

        &:hover {
            border-color: #fff;
            .box-shadow(0 0 10px rgba(0, 0, 0, 0.15));
        }

        .product-item-actions {
            padding-top: 10px;
        }

        .product-item-actions .action {
            display: inline-block;
            vertical-align: top;
            width: 40px;
            height: 40px;
            line-height: 40px;
            padding: 0;
            background-color: #f5f5f5;
            border: none;
            color: #222;
            text-align: center;
            float: right;
            margin-left: 5px;
            .border-radius(3px);
            .transition(.1s);

            &.towishlist:after {
                .icomoon(e93f, 14px);
            }

            &.tocompare:after {
                .icomoon(e953, 14px);
            }

            &.tocart:after {
                .icomoon(e958, 14px);
            }

            span,
            &:before {
                display: none !important;
            }
        }
    }

    .product-item .price-box .price {
        font-size: 116.285%;
    }

    .product-type-list {
        margin-top: -10px;

        .image-product {
            width: 188px;
            position: relative;
        }

        .product-item-details {
            padding: 15px 20px 10px 10px;
        }
    }

    .stagepadding-slider {
        margin-left: -10px;
        margin-right: -10px;

        .owl-carousel .owl-stage {
            padding-top: 10px;
            padding-bottom: 10px;
        }
    }
}

.product-banner-home {
    &.banner-right {
        .banner-category {
            float: left;
        }

        .product-list-slider {
            float: right;
        }
    }
}

/**
 * Service full
 */

.service-full {
    background-color: #fafafa;

    .list-services {
        border: none;
        background: none;
    }

    .list-services .item {
        border: none !important;
        background-color: transparent;
        padding: 24px 15px 27px;
        .transition(.1s);

        &:hover {
            background-color: #fff;
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.15));
        }
    }
}

/**
 * Client say slider
 */

.client-say-slider {
    padding: 40px 40px 50px;
    text-align: center;
    .border-radius(10px);

    .client-image {
        width: 110px;
        height: 110px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.15);
        margin: 0 auto 20px;
        overflow: hidden;
        .border-radius(50%);

        img {
            .border-radius(50%);
        }
    }

    .client-name {
        font-size: 171.428%;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .client-description {
        font-size: 114.285%;
        margin-bottom: 20px;
    }

    .dot-style-1.dot-white .owl-theme .owl-dots .owl-dot {
        span {
            background-color: #fff !important;
            opacity: .5;
        }

        &.active,
        &:hover {
            span {
                opacity: 1;
            }
        }
    }
}

/**
 * Sidebar home
 */

.sidebar-home {
    .block .block-content {
        border: none !important;
    }

    .block .block-title {
        margin: 0 !important;

        &:before {
            display: none !important;
        }

        strong {
            font-size: 128.571% !important;
            font-weight: 400 !important;
            text-transform: capitalize !important;
        }
    }
}

/**
 * Navigation style sidebar
 */
.sidebar {
    .nav-style-sidebar {
        .owl-theme .owl-nav {
            margin: 0;
            position: absolute;
            top: -62px;
            left: -2px;
        }

        .owl-theme .owl-nav [class*="owl-"] {
            width: 22px;
            height: 30px;
            line-height: 28px;
            text-align: center;
            padding: 0;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.3);
            margin: 0 2px;
            .transition(.1s);
            .border-radius(3px);

            &:hover {
                border-color: #fff;
            }

            &:before {
                font-size: 18px;
            }
        }
    }
}

/**
 * Deal home page
 */

.deal-homepage {
    .quickview-handler {
        display: none;
    }

    .quickview-container {
        position: relative;

        .quickview-handler {
            display: block;
            width: 60px;
            height: 60px;
            text-align: center;
            line-height: 60px;
            background-color: #fff;
            color: #222;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -30px;
            margin-top: -30px;
            z-index: 20;
            opacity: 0;
            visibility: hidden;
            transition: background-color .1s ease-out, color .1s ease-out, opacity .1s ease-out, visibility .1s ease-out;
            -webkit-transition: background-color .1s ease-out, color .1s ease-out, opacity .1s ease-out, visibility .1s ease-out;
            .box-shadow(0 0 10px rgba(0, 0, 0, 0.15));
            .border-radius(50%);

            &:before {
                .icomoon(e954, 18px);
            }
        }

        .quickview-handler span {
            display: none;
        }
    }

    .product-item-photo {
        display: block;
    }

    .product-item-info {
        width: unset;
        max-width: unset;
        .clearfix();

        &:hover {
            .quickview-container .quickview-handler {
                opacity: 1;
                visibility: visible;
            }
        }
    }

    .image-container {
        float: right;
        width: 373px;
    }

    .product-item-details {
        float: left;
        width: calc(~'100% - 373px');
        padding-right: 30px;
        padding-top: 10px;
    }

    .product-reviews-summary .reviews-actions {
        display: none;
    }

    .product-item .price-box {
        margin-bottom: 20px;
    }

    .product-item-description {
        font-size: 92.857%;
        margin: 0 0 30px;
    }

    .product-item-actions {
        margin-bottom: 40px;
        .clearfix();

        .actions-primary {
            float: right;
        }

        .actions-primary .tocart {
            height: 40px;
            line-height: 40px;
            padding: 0 20px;
            background-color: #f5f5f5;
            color: #222;
            text-transform: uppercase;
            .border-radius(3px);
            .transition(.1s);
        }

        .actions-secondary {
            float: right;
        }

        .actions-secondary .action {
            background-color: #f5f5f5;
            display: block;
            float: right;
            margin-right: 5px;
            width: 40px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            color: #222;
            .border-radius(3px);
            .transition(.1s);

            &:before {
                display: none;
            }

            &.towishlist:after {
                .icomoon(e93f, 14px);
            }

            &.tocompare:after {
                .icomoon(e953, 14px);
            }
        }
    }

    .deals-countdown {
        margin: 0;
        .clearfix();

        .deals-time {
            float: right;
            min-width: 60px;
            margin-left: 5px;
            border: none;
            padding: 0;
        }

        .deals-time .num-time {
            height: 46px;
            line-height: 46px;
            font-size: 171.428%;
            font-weight: 400;
            margin-bottom: 3px;
            .border-radius(3px);
        }

        .deals-time .title-time {
            text-transform: uppercase;
            font-size: 85.714%;
            color: #222;
        }
    }

    .product-item .price-box .price {
        font-size: 157.142%;
    }

    .price-box .old-price .price {
        font-size: 128.571%;
        position: relative;
        top: 3px;
    }

    .product-item-name {
        font-size: 128.571%;
    }
}

/**
 * Layout boxed
 */

.layout-boxed {
    .service-full,
    .full-block-center {
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
