﻿/*
* Copyright 2015 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

.sale-of-the-day-offer {
    margin: 0 0 120px;
    max-width: 100%;
}
.sale-of-the-day-offer .sale-item {
    padding: 0;
    margin: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.sale-of-the-day-offer .title {
    margin: 0 0 30px;
    font-size: 22px;
    letter-spacing: 3.3px;
    text-align: center;
    text-transform: uppercase;
    color: #444;
}
/* we do not want to have the title visible on the home page */
.home-page-body .sale-of-the-day-offer .title {
    display: none;
}
.sale-of-the-day-offer .grid {
    box-shadow: 0 1px 8px 2px rgba(0, 0, 0, 0.12);
}
.sale-of-the-day-offer .item-gallery {
    margin: 0;
    overflow: hidden;
}
.sale-of-the-day-offer .item-picture {
    max-width: 500px;
    margin: 0 auto;
}
.sale-of-the-day-offer .item-picture a {
    display: block;
    position: relative;
}
.sale-of-the-day-offer .item-picture a:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.sale-of-the-day-offer .item-picture a img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    margin: auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}
.sale-of-the-day-offer .overview {
    padding: 20px;
}
.sale-of-the-day-offer .product-name {
    margin: 0;
    border: none;
}
.sale-of-the-day-offer .product-name h4 {
    margin: 15px 0;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3.3px;
    color: #444;
}
.sale-of-the-day-offer .product-name h4:hover {
    color: #cc8a97;
}

.sale-of-the-day-offer .short-description {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px;
}

.sale-of-the-day-offer .prices {
    margin: 30px 0;
}
.sale-of-the-day-offer .prices > span {
    display: inline-block;
    vertical-align: bottom;
}
.sale-of-the-day-offer .price.old-price {
    color: #aaa;
    text-decoration: line-through;
}
.sale-of-the-day-offer .price.actual-price {
    font-size: 16px;
    font-weight: bold;
    color: #cc8a97;
}

.sale-of-the-day-offer .go-to-product-page {
    padding: 10px 40px;
    background-color: #cc8a97;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.sale-of-the-day-offer .go-to-product-page:hover {
    opacity: 0.9;
}

.sale-of-the-day-offer .picture-thumbs {
    max-height: 190px;
    height: auto !important;
    margin: 0 20px 40px;
    overflow: hidden;
}
.sale-of-the-day-offer .picture-thumbs a {
    position: relative;
    display: inline-block;
    width: 95px;
    height: 95px;
    margin: 0;
    overflow: hidden;
    vertical-align: bottom;
}
.sale-of-the-day-offer .picture-thumbs img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    min-width:100%;
    min-height: 100%;
}

/*NAVIGATION*/

.sale-of-the-day-offer .slick-prev,
.sale-of-the-day-offer .slick-next {
    position: absolute;
    top: -76px;
    width: 45px;
    height: 45px;
    border: none;
    font-size: 0;
}
.sale-of-the-day-offer .slick-prev {
    left: 0px;
    background: #eaeaea url(images/slider-arrow-left.png) no-repeat center;
}
.sale-of-the-day-offer .slick-next {
    right: 0px;
    background: #eaeaea url(images/slider-arrow-right.png) no-repeat center;
}

.sale-of-the-day-offer .slick-dots {
    display: none !important;
    margin: 30px 0;
    text-align: center;
}
.sale-of-the-day-offer .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}
.sale-of-the-day-offer .slick-dots button {
    width: 13px; 
    height: 13px;
    border: none;
    background: #eaeaea;
    font-size: 0;
}
.sale-of-the-day-offer li.slick-active button {
    background: #cc8a97;
}


@media all and (min-width: 769px) {

    .sale-of-the-day-offer .item-gallery {
        width: 45%;
        float: left;
    }
    .sale-of-the-day-offer .overview {
        width: 55%;
        float: right;
        margin: 0;
        padding: 50px 15px 0;
    }
    .sale-of-the-day-offer .product-name h4 {   
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sale-of-the-day-offer .picture-thumbs {
        position: absolute;
        right: 20px;
        bottom: 60px;
        left: 47%;
        height: 95px;
        overflow: hidden;
        font-size: 0;
    }
    
}

@media all and (min-width: 769px) and (max-width: 1024px) {
    
    .sale-of-the-day-offer .overview {
        text-align: left;
    }
    .sale-of-the-day-offer .title {
        padding: 15px 55px;
    }
    .sale-of-the-day-offer .product-name h4 {
        margin: 10px 0;
        font-size: 26px;
        height: 30px;
    }
    .sale-of-the-day-offer .short-description {
        font-size: 14px;
        line-height: 20px;
        max-height: 60px;
        overflow: hidden;
    }
    .sale-of-the-day-offer .prices {
        margin: 20px 0;
    }
    .sale-of-the-day-offer .price.actual-price {
        font-size: 28px;
    }
    .sale-of-the-day-offer .price.old-price {
        font-size: 26px;
    }
    .sale-of-the-day-offer .go-to-product-page{
        padding: 10px 20px;
    }
    .sale-of-the-day-offer .picture-thumbs {
        display: none;
    }
    .sale-of-the-day-offer .picture-thumbs a {
        width: 80px;
        height: 80px;
    }

}

@media all and (min-width: 1025px) {

    .sale-of-the-day-offer .sale-item {
        min-height: 401px;
    }
    .sale-of-the-day-offer .slick-slide {
        box-shadow: 0 1px 8px 2px rgba(0, 0, 0, 0.12);
    }
    .sale-of-the-day-offer .item-gallery {
        width: 55%;
    }
    .sale-of-the-day-offer .overview {
        width: 45%;
        padding: 20px 10px 110px;
    }
    .sale-of-the-day-offer .go-to-product-page {
        white-space: nowrap;
    }
    .sale-of-the-day-offer .item-gallery .item-picture {
        max-width: none;
    }
    .sale-of-the-day-offer .item-gallery .item-picture a {
        left: 2px; /* keep it 2 pixels left else there is problem with the shadow between the slides */
    }
    .sale-of-the-day-offer .short-description {
        height: 100px;
        overflow: hidden;
        line-height: 24px;
    }
    .sale-of-the-day-offer .prices {
        margin: 20px 0;
        height: 50px;
    }
    .sale-of-the-day-offer .go-to-product-page {
        padding: 10px;
    }
    .sale-of-the-day-offer .picture-thumbs {
        left: 55%;
        bottom: 20px;
        height: 70px !important;
        margin: 0 0 0 10px;
    }
    .sale-of-the-day-offer .picture-thumbs a {
        height: 69px;
        width: 69px;
    }
    .sale-of-the-day-offer .picture-thumbs img {
        width: auto;
        max-width: 100%;
        min-height: 0;
    }
    .home-page-body .master-wrapper-content {
        width: 100%;
    }      
    .home-page-body .nop-jcarousel,
    .home-page-body .topic-block,
    .home-page-body .category-grid,
    .home-page-body .product-grid,
    .home-page-body .news-list-homepage,
    .home-page-body .home-page-polls,
    .home-page-body .rich-blog-homepage {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    .center-2 .sale-of-the-day-offer .picture-thumbs {
        display: none;
    }
}

@media all and (min-width: 1281px) {

    .sale-of-the-day-offer {
        max-width: none;
    }    
    .sale-of-the-day-offer .item-gallery {
        width: 60%;
    }
    .sale-of-the-day-offer .overview {
        width: 40%;
        padding: 80px 20px 130px;
    }
    .sale-of-the-day-offer .short-description {
        margin-bottom: 50px;
        height: 116px;
        line-height: 30px;
    }
    .sale-of-the-day-offer .go-to-product-page {
        padding: 10px 30px;
    }
    .sale-of-the-day-offer .picture-thumbs {
        display: block;   /* uncomment this in case you want to show the thumbs */
        height: 85px !important;
        margin: 0 0 0 20px;
        left: 60%;
    }
    .sale-of-the-day-offer .picture-thumbs a {
        height: 82px;
        width: 82px;
        margin: 1px;
    }
    /*on category page*/
    .center-2 .sale-of-the-day-offer .sale-item {
        min-height: 0;
    }
    .center-2 .sale-of-the-day-offer .item-gallery,
    .center-2 .sale-of-the-day-offer .overview {
        width: 48%;
        padding: 0 1%; 
    }
    .center-2 .sale-of-the-day-offer .overview {
        margin-bottom: 20px;
    }
    .center-2 .sale-of-the-day-offer .short-description {
        margin-bottom: 0;
    }
    .center-2 .sale-of-the-day-offer .go-to-product-page {
        display: inline-block;
        max-width: 90%;
        padding: 10px;
    }   
    .center-2 .sale-of-the-day-offer .picture-thumbs {
        display: none;
    }
}

