/******************************************************
 * @package Pav Opencart Theme Framework for Opencart 1.5.x
 * @version 1.1
 * @author http://www.pavothemes.com
 * @copyright	Copyright (C) Augus 2013 PavoThemes.com <@emai:pavothemes@gmail.com>.All rights reserved.
 * @license		GNU General Public License version 2
*******************************************************/

/* language */
#language {
   
    color: @gray;
     line-height: 10px;
    img {
        cursor: pointer;
        margin-right: 5px;
    }
}

/* currency */
#currency {

    color: @gray;
    line-height: 10px;
    a {
        display: inline-block;
        padding: 2px 4px;
        border: 1px solid @gray;
        color: @gray;
        text-decoration: none;
        margin-right: 2px;
        margin-bottom: 2px;
        cursor: pointer;
        &:hover{
            border-color:@gray-light;
            color: @gray-lighter;
        }
        b {
            color: @gray-lighter;
            text-decoration: none;
        }
    }
}


/* cart info */
#header {
    #cart {
        position: absolute;
        top: 0px;
        right: 5px;
        z-index: 9999;
        min-width: 300px;
        .content {
            clear: both;
            display: none;
            position: relative;
            top: -1px;
            padding: 8px;
            min-height: 150px;
            border: 1px solid @gray-lighter;
            .rounded-corners( 0px 7px 7px 7px ); 
            .box-shadow(  0px 2px 2px @gray-lighter );
            background: @white;
        }
        .heading {
            float: right;
            margin-right: 0px;
            margin-top: 25px;
            padding-left: 14px;
            padding-right: 14px;
            .border-exclude-bottom( 1px; solid; @white );
            background: @white;
            position: relative;
            z-index: 1;
            a {
                text-decoration: none;
                span {
                    background: @white url('../image/arrow-down.png') 100% 50% no-repeat;
                    padding-right: 15px;
                }
            }
            h4 {
                font-size: @font-size-base + 2;
                font-weight: bold;
                margin-top: 0px;
                margin-bottom: 3px;
            }
        }
    }
    #cart.active {
        .content {
            display: block;
        }
        .heading {
            padding-top: 10px;
            padding-bottom: 6px;
            .border-exclude-bottom( 1px; solid; @gray-lighter );
            .rounded-corners( 7px 7px 0px 0px );
        }
    }
}

#header {
    #cart {
        .checkout {
            text-align: right;
            clear: both;
        }
        .empty {
            padding-top: 50px;
            text-align: center;
        }
    }
}


.mini-cart-total {
    text-align: right;
    td {
        color: #000;
        padding: 4px;
    }
    table {
        border-collapse: collapse;
        display: inline-block;
        margin-bottom: 5px;
    }
}
.mini-cart-info {
    .quantity {
        text-align: right;
    }
    .name {
        small {
            color: #666;
        }
    }
    td {
        color: #000;
        vertical-align: top;
        padding: 10px 5px;
        border-bottom: 1px solid #EEEEEE;
    }
    table {
        border-collapse: collapse;
        width: 100%;
        margin-bottom: 5px;
    }
    .image {
        width: 1px;
        img {
            border: 1px solid #EEEEEE;
            text-align: left;
        }
    }
    .remove {
        text-align: right;
        img {
            cursor: pointer;
        }
    }
    td.total {
        text-align: right;
    }
}


/* 
 * search module 
 */

#search{
    padding: 13px 2px
}	

/* 
 * box products 
 */

.product-block  {
 	position:relative;
    margin-bottom: 30px;
	 .compare {
        a {
            color: @product-link-color;
            cursor: pointer;
            text-decoration: none;
            padding-left: 18px;
            display: block;
            background: url('@{theme-image-path}add.png') left center no-repeat;
        }
    }
    .wishlist {
        a {
            color: @product-link-color;
            cursor: pointer;
            text-decoration: none;
            padding-left: 18px;
            display: block;
            background: url('@{theme-image-path}add.png') left center no-repeat;
        }
    }
    a:hover{
         color: @link-hover-color;
    };
    .price-old {
        color: @product-price-old-color;
        text-decoration: line-through;
    }
    .rating {
        display: block;
        margin-bottom: 4px;
    }
    .cart {
        margin-bottom: 3px;
    }
    .price-new {
        font-weight: bold;
    }
    .name {
        a {
            color: @product-name-color;
            font-size: @product-name-font-size;
            font-weight: bold;
            text-decoration: none;
            display: block;
            margin-bottom: 4px;
        }
    }
    .image {
        display: block;
        margin-bottom: 0px;
        position: relative;
        img {
            padding: 3px;
            border: 1px solid #E7E7E7;
        }
        .product-label-special{
            position:absolute;
            top: 6px;
            right: 6px;
            background: #D9534F;
             z-index: 10
        }
        .product-zoom{
            position:absolute;
            bottom: 6px;
            right: 6px;
            display: none;
            z-index: 10
        }
        &:hover .product-zoom{
            display: block;
        }
    }

    .price {
        display: block;
        font-weight: bold;
        color: @product-price-color;
        margin-bottom: 4px;
        .price-tax {
            display: none;
        }
    }
}
.sidebar {
    .product-block {
        .image {
            float: left;
            margin-right: 12px; 
            width: 80px;
        }
        & .wishlist , & .compare{
            display: none;
        }
        .description{
            display: none
        }
    }
}
/* 
 * box category 
 */
ul.box-category, ul.box-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.box-category {
    & > li:first-child {
        padding: 0px 8px 8px 0px;
    }
    & > li {
        padding: 8px 8px 8px 0px;
        + {
            li {
                border-top: 1px solid @gray-lighter;
            }
        }
        ul {
            display: none;
            & > li {
                padding: 5px 5px 0px 10px;
                & > a {
                    text-decoration: none;
                    display: block;
                }
                & > a.active {
                    font-weight: bold;
                }
            }
        }
        & > a {
            text-decoration: none;
            color: #333;
        }
        a.active {
            font-weight: bold;
            + {
                ul {
                    display: block;
                }
            }
        }
    }
}

/* box filter */
ul.box-filter, ul.box-filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.box-filter {
    & > li {
        ul {
            padding-bottom: 10px;
        }
    }
    span {
        font-weight: bold;
        border-bottom: 1px solid @gray-lighter;
        display: block;
        padding-bottom: 5px;
        margin-bottom: 8px;
    }
}
/* popup */
#colorbox *:before, #colorbox *:after {
  -moz-box-sizing:inherit;
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;

}
/* zoom function in product page */
.zoomContainer { 
    .zoomLens{
        border-color:@gray-light !important;
    }
    .zoomWindow{
        border:4px solid @gray-lighter !important;
    }
}

/* 
 *
 */
 .social-links {
    
 }

 #scrollUp {
  bottom: 0px;
  right: 30px;
  width: 70px;
  height: 70px;
  margin-bottom: -10px;
  padding: 10px 5px;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  color: #828282;
  -webkit-box-shadow: 0 0px 2px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0px 2px 1px rgba(0,0,0,0.2);
  box-shadow: 0 0px 2px 1px rgba(0,0,0,0.2);
  background-color: #E6E6E6;
  background-image: -moz-linear-gradient(top,#EBEBEB,#DEDEDE);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#EBEBEB),to(#DEDEDE));
  background-image: -webkit-linear-gradient(top,#EBEBEB,#DEDEDE);
  background-image: -o-linear-gradient(top,#EBEBEB,#DEDEDE);
  background-image: linear-gradient(to bottom,#EBEBEB,#DEDEDE);
  background-repeat: repeat-x;
  -webkit-transition: margin-bottom 150ms linear;
  -moz-transition: margin-bottom 150ms linear;
  transition: margin-bottom 150ms linear;
}
#scrollUp:hover {
  margin-bottom: 0px;
}