/* 
    Created on : 17.8.2019, 11:12:38
    Author     : Jakub
*/

.gift {
    position: relative;
    background:#e7f8ff;
    padding:1rem;
}

    .gift:hover {
        background:#fff;
        -webkit-box-shadow: 0px 0px 30px 0px rgba(161,86,64,0.4);
        -moz-box-shadow: 0px 0px 30px 0px rgba(161,86,64,0.4);
        box-shadow: 0px 0px 30px 0px rgba(161,86,64,0.4);
    }

    .gift .top {
        position: absolute;
        left:-1rem;
        top:-2rem;
        z-index: 2;
    }
    
    .gift .auction {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
        padding: 0.2rem 1rem;
        font-size: 0.9rem;
        color: #fff;
        margin: 1rem;
    }
    
    .gift .h2 {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.6rem 1rem;
        
    }
    
        .gift .h2 span {
            height: 2.8rem;
            overflow: hidden;
            display: block;
        }
    
        .gift:hover .h2 {
            background:#f5d7ce;
            color:#d3481f;
            text-decoration: none;
            margin-left:-0.6rem;
            margin-right:-0.6rem;
            padding: 0.6rem 1.6rem;
        }
    
    .gift p {
        font-size: 0.9rem;
        line-height: 1.1rem;
        height:4.2rem;
        overflow: hidden;
        padding: 0 1rem;
    }
    
        .gift:hover p {
            color:#d3481f;
        }
    
    .gift .price {
        background:#fff;
        color:#d3481f;
        font-weight: 600;
        font-size:1.8rem;
        line-height: 3rem;
        height:3rem;
        letter-spacing: -2px;
    }
    
    .gift .show-more {
        color: #fff;
        line-height: 3rem;
        height:3rem;
        font-size: 1.1rem;   
        cursor:pointer;
    }
    
        .gift .show-more a {
            color:#fff;
        }
    
            .gift .show-more a:hover {
                color:#fff;
                text-decoration: none;
            }
    
            .gift:hover .show-more {
                background:#d3481f;
            }
            
    .gift .image {
        position: relative;
    }
            
    .gift .social {
        position: absolute;
        bottom:0;
        left:0;
        right:0;
        width:100%;
    }
    
        .gift .like-it-btn, .gift .famouse-it-btn {
            background-repeat: no-repeat;
            background-color: rgba(255, 255, 255, 0.7);
            width:3.6rem;
            height:3.6rem;
            cursor:pointer;
        }
        
            .gift .like-it-btn:hover, .gift:hover .famouse-it-btn:hover {
                background-color: rgba(255, 255, 255, 1);
            }
        
        .gift .like-it-btn {
            background-image:url('/images/thumbs_up.svg');
            background-position: 0.4rem 1rem;
            background-size: 34px 34px;
            -webkit-border-top-right-radius: 52px;
            -moz-border-radius-topright: 52px;
            border-top-right-radius: 52px;
            line-height: 5.7rem;
            font-size: 1rem;
            font-weight: 600;
            padding-left: 2.6rem;
            color: #58a0d8;
        }

            .gift .like-it-btn.active {
                background-image:url('/images/thumbs_up_active.svg');
            }

        .gift .famouse-it-btn {
            background-image:url('/images/favorited.svg');
            background-position: 1.3rem 1.3rem;
            background-size: 27px 25px;
            -webkit-border-top-left-radius: 52px;
            -moz-border-radius-topleft: 52px;
            border-top-left-radius: 52px;
        }

            .gift .famouse-it-btn.active {
                background-image:url('/images/favorited_active.svg');
            }

    .gift .erotic-product {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #e7f8ff;
        text-align: center;
        padding: 16px;
    }

        .gift .erotic-product:hover {
            background: #fff;
        }

        .gift .erotic-product p {
            padding: 0;
            height: auto;
            font-size: 1rem;
        }

        .gift .erotic-product div {
            position: absolute;
            padding: 16px;
            left: 0;
            right: 0;
            bottom: 0;
        }

#category-header {
    color:#fff;
    background: url('/images/backgrounds/01-top-subpage.jpg') no-repeat;
    background-size: auto 446px;
    background-position: center -60px; 
}        

    #category-header.category-header-client {
        background: #1e56a1 url('/images/backgrounds/01-top-client.jpg') no-repeat;
        background-size: auto 576px;
        background-position: center bottom -70px;
    }

    #category-header .h1 {
        color:#fff;
        font-size:1.6rem;
        font-weight: 600;
        padding: 1.4rem;
        height: 13rem;
        display: flex;
        padding-bottom: 4rem;
        position: relative;
    }

        #category-header .h1 div {
            margin:auto 0;
        }
        
        #category-header img {
            position: absolute;
            bottom: 0;
            left: 4rem;
        }

        #category-header.category-header-client .img {
            bottom: 2.2rem;
            position: relative;
        }
        
        #category-header.category-header-client .h1 {
            padding:2rem 0 1rem 0;
            height:auto;
        }

    #category-header .category-text {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    
        #category-header .category-text a {
            color:#fff;
        }
        
#category-header.category-header-client #ordering {
    position: absolute;
    bottom: 0;
}

#quick-search-form {
    background:#e7f8ff;
    text-align: left;
    height:3.6rem;
}

    #quick-search-form select, #quick-search-form span {
        width:auto;
        float: left;
        color:#58a0d8;
        height:3.6rem;
        line-height:3.6rem;
    }
    
    #quick-search-form span {
        background: url(/images/filter.png) no-repeat left center;
        padding-left: 2.3rem;
        font-weight: 600;
        margin: 0 1.2rem;
    }
    
    #quick-search-form .form-control {
        background: transparent;
        border-color: #e7f8ff;
        border-right: 1px solid #fff;
        height: 2.4rem;
        margin: 0.6rem 0;
        padding-right: 1rem;
    }
    
    #quick-search-form .form-control:last-child {
        border-right-color:#e7f8ff;
    }
    
    #quick-search-form .btn {
        height: 3.6rem;
        font-weight: 600;
        padding: 0 2rem;
        font-size: 1.2rem;
    }
    
/* xl */
@media (max-width: 1200px) {
    .gift .price {
        font-size: 1.4rem;
    }
    
    #category-header.category-header-client .img {
        
    }
}

@media (max-width: 992px) {
    #category-header.category-header-client .h1 {
        padding: 1rem 0;
    }
    
    #category-header.category-header-client #ordering {
        position: relative;
        text-align: center;
    }
    
    #category-text {
        padding-bottom:3rem;        
    }
    
    #category-header.category-header-client .img {
        right: 0;
        position: absolute;
        left: auto;
        bottom: 0.6rem;
    }
}

@media (max-width: 960px) {
    .gift .price {
        font-size: 1.4rem;
    }
}

/* md */
@media (max-width: 767px) {
    .gift .price {
        font-size: 1.1rem;
    }
    
    #bg-footer {
        margin-top: 0 !important;
    }
    
    #category-header .h1 {
        height:12rem;
    }
    
    #category-header img {
        bottom:-1rem;
    }
    
    #category-header #ordering {
        display:flex;
        flex-wrap: wrap;
    }
    
        #category-header #ordering span, #category-header #ordering a {
            flex-grow:1;
        }

        #category-header #ordering span {
            border-bottom: 1px solid #d4effa;
        }
}

@media (max-width: 575px) {
    .gift .price {
        font-size: 1.8rem;
    }
}

@media (max-width: 540px) {
    .gift .price {
        font-size: 1.4rem;
    }
    
    .gift .top {
        left:-0.6rem;
    }
}    

@media (max-width: 420px) {
    #category-header img {
        left:1rem;
        width:250px;
    }
    
    
}