/******************************************************
 * @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
*******************************************************/


.wrap-container{
    background: @white;
    padding:0 15px;
}

.page-home,
.page-common-home{
    .wrap-container{
        padding:0;
        background: transparent;
    }
}



/* category */
.category-list {
     
    margin-bottom: 20px;
    ul {
        float: left;
    }
}
.category-info {
     
    margin-bottom: 18px;
    .image {
       margin-bottom: 12px;
    }
    p{
        margin: 0px;
    }
}
.refine {
    margin-bottom: 20px;
    h4{
        margin:0px;
        border-bottom: 2px solid @gray-lighter;
        padding: 0px 10px;
    }
    .category-list{
        padding:10px;
        margin: 0px;
        ul{
            float:none;
            padding: 0;
            margin: 0;
            list-style: none;
            li{
                float:left;
                width: 30%;
                a{
                    color: @gray-light;
                    &:hover{
                        color: @default-color;
                    }
                }
            }
        }
    }
}

/* manufacturer */
.manufacturer-heading {
    background: #F8F8F8;
    font-size: 15px;
    font-weight: bold;
    padding: 5px 8px;
    margin-bottom: 6px;
}
.manufacturer-list {
    border: 1px solid #DBDEE1;
    padding: 5px;
     
    margin-bottom: 20px;
    ul {
        float: left;
        width: 25%;
        margin: 0;
        padding: 0;
        list-style: none;
        margin-bottom: 10px;
    }
}
.manufacturer-content {
    padding: 8px;
    overflow: auto;
}

/* 
 *  LISTING PRODUCTS PAGE 
 */
.product-filter {
    border-bottom: 1px solid #ededed;
    border-top: 3px solid #ededed;
    padding: 3px 0px;
    line-height: 30px;
    margin-bottom: 18px;
    .sort {
        float: right;
        color: #a0a0a0;
    }
    .limit {
        margin-left: 15px;
        float: right;
        color: #a0a0a0;
    }
    .display {
        margin-right: 15px;
        float: left;
        color: #a0a0a0;
        a {
           color: #dbdbdb;
           border:1px solid #dbdbdb;
           width: 28px; height: 28px;line-height: 28px;text-align: center; display: inline-block;
           margin: 0px 3px;
           & > span{
                //margin: 0 3px;

           }
           & > em {
                display: none;
           }
           &.active{
                color:#000;
           }
        }
    }
    select{
        padding: 4px;
        border: 1px solid #dbdbdb;
    }
}

.product-compare {
    float: right;
    line-height: 26px;
    padding:0px 10px;
    background: @default-color;
    border:2px solid darken(@default-color, 15%);
    margin-left: 8px;
    a {
        text-decoration: none;
        color: @white;
        text-transform: uppercase;
    }
}

/* product list mode  */
.product-list {
    .col-fullwidth{
        width: 100%;   
    }
    .product-block{
        overflow: hidden;
    }
    .wishlist-compare{
        margin-top: 10px;
    }
    .compare {
        
    }
    .wishlist {
        
        
    }
    .price-old {
        color: @product-price-old-color;
        text-decoration: line-through;
        margin-right:10px 
    }
    .rating {
        color: #7B7B7B;
    }
    .cart {
        margin-bottom: 3px;
    }
    .price-tax {
        font-size: 12px;
        font-weight: normal;
        color: #BBBBBB;
    }
    .price-new {
        font-weight: bold;
    }
    .name {
        margin-bottom: 3px;
        a {
            font-weight: normal;
            text-decoration: none;
        }
    }
    .image {
        float: left;
        margin-right: 10px;
        width: 200px;
        img {
        }
    }
    .price {
        float: left;
        margin: 3px 20px 0px 0;
        text-align: left;
        color: @product-price-color;
        font-size: 18px;
    }
    .description {
        line-height: 18px;
        margin-bottom: 10px;
        color: @gray-light;
    }
    .right {
        float: right;
        margin-left: 15px;
    }
    & > div {
         
        margin-bottom: 15px;
        + {
            div {
                border-top: 1px solid #EEEEEE;
                padding-top: 16px;
            }
        }
    }
}
.product-list .wishlist, .product-list .compare {
    margin-bottom: 3px;
    margin-right: 10px;
    color: @gray;
}

/* product grid mode */
.product-related,
.product-grid {
    position: relative;  
    
    .description {
        height: 36px;
        line-height: 18px;
        overflow: hidden;
        color: @gray-light;
    }
    .wishlist-compare{
        display: none;
    }
    & > div {
        
    }
}


.product-grid .wishlist, .product-grid .compare {
    margin-bottom: 3px;
    display: block;
}

/* 
 * PRODUCT INFORMATION PAGE
 */
 .zoomContainer{
    z-index: 9999;
 }
.product-info {
     
    margin-bottom: 20px;
    .price-old {
        color: @product-price-old-color;
        text-decoration: line-through;
        font-weight: normal;
        font-size: @font-size-large;
    }
    .cart {
        border-bottom: 1px solid #E7E7E7;
        padding: 0px 5px 10px 5px;
        margin-bottom: 20px;
        color: #4D4D4D;
        .minimum {
            padding-top: 5px;
            font-size: 11px;
            color: #999;
        }
        .links {
            display: inline-block;
            vertical-align: middle;
        }
        div {
            & > span {
                color: #999;
            }
        }
    }
    .price-tax {
        font-size: 12px;
        font-weight: normal;
        color: #999;
    }
    & > .left {
        float: left;
        margin-right: 15px;
        + {
            .right {
                margin-left: 265px;
            }
        }
    }
    .image {
        //border: 1px solid #E7E7E7;
        position:relative;
        margin-bottom: 4px;
        //padding: 10px;
        text-align: center;
        .product-label-special{
            position:absolute;
            top: 20px;
            right: 20px;
            background: #D9534F;
             z-index: 50;
             width: 50px;
             height: 50px;
             line-height: 40px;
             text-align: center;
             .rounded-corners(25px);
             border: 3px solid #fff;
        }
    }
    .price {
         
        border-bottom: 2px solid #E7E7E7;
        padding: 0px 5px 10px 5px;
        margin-bottom: 10px;
        font-size: 24px;
        font-weight: bold;
        color: @product-price-color;
        font-family: @product-price-font-family;
        .reward {
            font-size: 12px;
            font-weight: normal;
            color: #999;
        }
        .discount {
            font-weight: normal;
            font-size: 12px;
            color: #4D4D4D;
        }
    }
    .description {
        padding: 5px 5px 10px 5px;
        margin-bottom: 10px;
        line-height: 20px;
        color: #4D4D4D;
        a {
            
            text-decoration: none;
        }
        span {
            font-weight: bold;
        }
    }
    .image-additional {
        //width: 260px;
        margin:0 -1%;
        clear: both;
        overflow: hidden;
        a {
            float: left;
            display: block;
            width: 23%;
            margin: 0 1%;
            img{
                max-width: 100% !important;
            }
        }
    }
    .option-image {
        margin-top: 3px;
        margin-bottom: 10px;
        label {
            display: block;
            width: 100%;
            height: 100%;
        }
        img {
            margin-right: 5px;
            border: 1px solid #CCCCCC;
            cursor: pointer;
        }
    }
    .options {
        border-bottom: 1px solid #ededed;
        padding: 0px 5px 10px 5px;
        margin-bottom: 10px;
        color: #000000;
    }
    .review {
        color: #4D4D4D;
        margin-bottom: 10px;
        .share {
             
            line-height: normal;
            a {
                text-decoration: none;
            }
        }
        & > div {
            padding: 8px 0;
            line-height: 20px;
            & > span {
                color: #38B0E3;
            }
        }
    }
    .quantity-adder{
        margin-top: 3px;
        input{
            text-align: center;
            .rounded-corners( 0px );
            border: none;
        }
        .add-action{
            cursor: pointer;
        }
        .wrap-qty{
            border: 1px solid @gray-lighter;
            margin-left: 10px;
            display: inline-block;
            span{
                padding: 2px 5px;
                &.add-down{
                    border-right:  1px solid @gray-lighter;
                }
                &.add-up{
                    border-left:  1px solid @gray-lighter;
                }
            }
        }
    }
    button.button{
        background: @default-color;
        border:2px solid darken(@default-color, 15%);
        color: @white;
        .icon{
            color: @white;
        }
    }
    .compare-wish {
        margin: 6px 0;
        a{
            margin-right: 10px;
            color:@gray;
            &:hover{
                color: @default-color;
            }
        }  
    }
}


/**
 *
 */
.review-list {
    padding: 10px;
  
    margin-bottom: 20px;
    border: 1px solid #EEEEEE;
    .rating {
        float: right;
        margin-bottom: 20px;
    }
    .author {
        float: left;
        margin-bottom: 20px;
    }
    .text {
        clear: both;
    }
}


/* attribute */

.attribute thead td, .attribute thead tr td:first-child {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    background: #F7F7F7;
    text-align: left;
}
.attribute {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid @table-border-color;
    border-left: 1px solid @table-border-color;
    margin-bottom: 20px;
    td {
        padding: 7px;
        color: #4D4D4D;
        text-align: center;
        vertical-align: top;
        border-right: 1px solid @table-border-color;
        border-bottom: 1px solid @table-border-color;
    }
    tr {
        td:first-child {
            color: #000000;
            font-weight: bold;
            text-align: right;
            width: 20%;
        }
    }
}


.compare-info {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid @table-border-color;
    border-left: 1px solid @table-border-color;
    margin-bottom: 20px;
    .price-old {
        font-weight: bold;
        color: @product-price-old-color;
        text-decoration: line-through;
    }
    .price-new {
        font-weight: bold;
    }
    .name {
        a {
            font-weight: bold;
        }
    }
    td {
        padding: 7px;
        width: 20%;
        color: #4D4D4D;
        text-align: center;
        vertical-align: top;
        border-right: 1px solid @table-border-color;
        border-bottom: 1px solid @table-border-color;
    }
    tr {
        td:first-child {
            color: @table-border-color;
            font-weight: bold;
            text-align: right;
        }
    }
}
.compare-info thead td, .compare-info thead tr td:first-child {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    background: #F7F7F7;
    text-align: left;
}

/* 
 * WISHTLIST PAGE 
 */


.wishlist-info tbody .quantity, .wishlist-info tbody .price, .wishlist-info tbody .total, .wishlist-info tbody .action {
    text-align: right;
}
.wishlist-info thead .name, .wishlist-info thead .model, .wishlist-info thead .stock {
    text-align: left;
}
.wishlist-info thead .quantity, .wishlist-info thead .price, .wishlist-info thead .total, .wishlist-info thead .action {
    text-align: right;
}
.wishlist-info tbody .name, .wishlist-info tbody .model, .wishlist-info tbody .stock {
    text-align: left;
}
.wishlist-info {
    thead {
        td {
            color: #4D4D4D;
            font-weight: bold;
            background-color: #F7F7F7;
            border-bottom: 1px solid @table-border-color;
        }
        .image {
            text-align: center;
        }
    }
    tbody {
        td {
            vertical-align: top;
            border-bottom: 1px solid @table-border-color;
        }
        .action {
            img {
                cursor: pointer;
            }
        }
        .image {
            text-align: center;
            img {
                border: 1px solid @table-border-color;
            }
        }
        .price {
            s {
                color: #F00;
            }
        }
    }
    td {
        padding: 7px;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        border-top: 1px solid @table-border-color;
        border-left: 1px solid @table-border-color;
        border-right: 1px solid @table-border-color;
        margin-bottom: 20px;
    }
}


/**
 * LOGIN PAGE
 */
.login-content {
 
}
 
/* 
 * ORDERS PAGE 
 */
.order-list {
    margin-bottom: 10px;
    .order-status {
        width: 49%;
        float: right;
        text-align: right;
        margin-bottom: 2px;
    }
    .order-content {
        padding: 10px 0px;
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        border-top: 1px solid #EEEEEE;
        border-bottom: 1px solid #EEEEEE;
        div {
            float: left;
            width: 33.3%;
        }
    }
    .order-info {
        text-align: right;
    }
    .order-id {
        width: 49%;
        float: left;
        margin-bottom: 2px;
    }
}
.order-detail {
    background: #EFEFEF;
    font-weight: bold;
}

/* RETURN PAGE
 *
 */
.return-list {
    margin-bottom: 10px;
    .return-content {
        padding: 10px 0px;
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        border-top: 1px solid #EEEEEE;
        border-bottom: 1px solid #EEEEEE;
        div {
            float: left;
            width: 33.3%;
        }
    }
    .return-id {
        width: 49%;
        float: left;
        margin-bottom: 2px;
    }
    .return-status {
        width: 49%;
        float: right;
        text-align: right;
        margin-bottom: 2px;
    }
    .return-info {
        text-align: right;
    }
}

.return-product {
	 
	margin-bottom: 20px;
    clear:both;
    overflow: auto;
}
.return-name {
	float: left;
	width: 31%;
	margin-right: 15px;
}
.return-model {
	float: left;
	width: 31%;
	margin-right: 15px;
}
.return-quantity {
	float: left;
	width: 31%;
}
.return-detail {
	overflow: auto;
	margin-bottom: 20px;
}
.return-reason {
	float: left;
	width: 31%;
	margin-right: 15px;
}
.return-opened {
	float: left;
	width: 31%;
	margin-right: 15px;
}
.return-opened textarea {
	width: 98%;
	vertical-align: top;
}
.return-captcha {
	float: left;
}


.download-list {
    margin-bottom: 10px;
    .download-status {
        width: 49%;
        float: right;
        text-align: right;
        margin-bottom: 2px;
    }
    .download-id {
        width: 49%;
        float: left;
        margin-bottom: 2px;
    }
    .download-content {
        padding: 10px 0px;
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        border-top: 1px solid #EEEEEE;
        border-bottom: 1px solid #EEEEEE;
        div {
            float: left;
            width: 33.3%;
        }
    }
    .download-info {
        text-align: right;
    }
}

/* 
 * CART PAGE
 */
.cart-module {
    & > div {
        display: none;
    }
}
.cart-info tbody .name, .cart-info tbody .model, .cart-info tbody .quantity {
    text-align: left;
}
.cart-info thead .name, .cart-info thead .model, .cart-info thead .quantity {
    text-align: left;
}
.cart-info tbody .quantity input[type='image'], .cart-info tbody .quantity img {
    position: relative;
    top: 4px;
    cursor: pointer;
}
.cart-info tbody .price, .cart-info tbody .total {
    text-align: right;
}
.cart-info {
    thead {
        td {
            color: #4D4D4D;
            font-weight: bold;
            background-color: #F7F7F7;
            border-bottom: 1px solid @table-border-color;
        }
        .image {
            text-align: center;
        }
    }
    tbody {
        td {
            vertical-align: top;
            border-bottom: 1px solid @table-border-color;
        }
        .image {
            text-align: center;
            img {
                border: 1px solid @table-border-color;
            }
        }
        span.stock {
            color: #F00;
            font-weight: bold;
        }
    }
    td {
        padding: 7px;
    }
    table {
        width: 100%;
        margin-bottom: 15px;
        border-collapse: collapse;
        border-top: 1px solid @table-border-color;
        border-left: 1px solid @table-border-color;
        border-right: 1px solid @table-border-color;
    }
}
.cart-total {
    border-top: 1px solid @table-border-color;
    overflow: auto;
    padding-top: 8px;
    margin-top: 10px;
    margin-bottom: 15px;
    td {
        padding: 3px;
        text-align: right;
    }
    table {
        float: right;
    }
}
.cart-info thead .price, .cart-info thead .total {
    text-align: right;
}

/* 
 * CHECKOUT PAGE
 */
.checkout-heading {
    background: @gray-lighter;
    border: 1px solid @gray-lighter;
    padding: 8px;
    font-weight: bold;
    font-size: @baseFontSize + 1;
    color: #555555;
    margin-bottom: 15px;
    a {
        float: right;
        margin-top: 1px;
        font-weight: normal;
        text-decoration: none;
    }
}

.checkout-content {
    padding: 0px 0px 15px 0px;
    display: none;

    .buttons {
        clear: both;
    }
}

.checkout-product tbody .name, .checkout-product tbody .model {
    text-align: left;
}
.checkout-product thead .name, .checkout-product thead .model {
    text-align: left;
}
.checkout-product {
    thead {
        td {
            color: #4D4D4D;
            font-weight: bold;
            background-color: #F7F7F7;
            border-bottom: 1px solid @table-border-color;
        }
    }
    tfoot {
        td {
            text-align: right;
            border-bottom: 1px solid @table-border-color;
        }
    }
    tbody {
        td {
            vertical-align: top;
            border-bottom: 1px solid @table-border-color;
        }
    }
    td {
        padding: 7px;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        border-top: 1px solid @table-border-color;
        border-left: 1px solid @table-border-color;
        border-right: 1px solid @table-border-color;
        margin-bottom: 20px;
    }
}
.checkout-product tbody .quantity, .checkout-product tbody .price, .checkout-product tbody .total {
    text-align: right;
}
.checkout-product thead .quantity, .checkout-product thead .price, .checkout-product thead .total {
    text-align: right;
}

/*
 * CONTENT INFOMATION
 */
.sitemap-info {
    overflow: auto;
    margin-bottom: 40px;
}
.contact-info {
    overflow: auto;
}
