/* ---------- Configuration ---------- */

.portlet-configuration {

    .fc-block-labels {
        
        .aui-field-label {
            display: block;
        }
    }
    
    .fc-field-wrapper {
        margin: 10px 0;
        
        .aui-field-wrapper-content {
            margin: 0;
        }
    }
    
    .fc-submit-buttons {
        margin: 0;
        padding: 10px 0 0;
    }
}

/* ---------- lfr-pagination ---------- */

.aui .forgecart-portlet-admin,
.aui .forgecart-portlet-mall-admin {
    
    .lfr-pagination .lfr-pagination-delta-selector {
        float: none;
    }
  
}

/* ---------- Portal ---------- */

.signed-out .portlet-borderless-bar {
    display: none;
}

.top-navigation-portlet{
    font-size: 12px;
    
    .fc-hidden {
       display: none;
    }
    
    .fc-disabled {
        background-color: #DDDDDD; 
    }
    
    .fl {
        float: left;
    }
    
    .aui-field-inline {
        display: inline-block;
    }
    
    .aui-fieldset {
        padding: 0;
        
        .lfr-search-container {
            
            .aui-field-content {
                margin: 0;
            }
        }
    }
    
    .aui-tagselector-content {
        margin-bottom: 0;
    }
    
    .lfr-panel-container {
        border-width: 0;
    }
    
    .taglib-page-iterator {
        
        .search-pages {
            
            .page-links {
                padding-top: 5px;
            }
        }
        
        .search-results {
            padding-top: 6px;
        }
    }
    
    .taglib-ratings.stars {
        margin: 15px 0 0;
        padding: 0;
    }
    
    .top-links-container {
        margin: 0 0 15px 0;
    }
    
    .links {
        color: #0B5EAD;
        font-weight: normal;
        text-decoration: none;
    }
    
    .links:HOVER {
        text-decoration: underline;
        color: #FFA500;
    }
}

/* ---------- Portlet ---------- */

.top-navigation-portlet{
    
    .fix-clear:AFTER {
        content: "";
        display: block;
        clear: both;
    }
    
    .fc-product-breadcrumbs {
        margin: 0 5px 10px;
    }
    
    .fc-product-icons {
        
        .taglib-workflow-status {
            
            span {
                margin-right: 0;
                padding-right: 7px;
            }
        }
        
        .taglib-workflow-status {
            
            .taglib-icon-help {
                display: none;
            }
        }
    }
    
    .fc-product-siblings {
        border: 1px solid #CCC;
        margin: 15px -7px 0;
        
        .fc-element-body {
            margin: 0 0 0 20px;
            
            .fc-product-icons {
                padding: 4px 0;
            }
        }
        
        .fc-element-header {
            margin: 8px 0 0;
            
            a {
                display: block;
                font-weight: bold;
            }
        }
        
        .fc-elements {
            margin: 8px;
        }
    }
    
    .fc-assets {
        margin: 5px 0 0;
        
        .fc-asset-name {
            width: 200px;
        }
        
        .fc-asset-type {
            word-break: break-all;
        }
    }
    
    .fc-block-labels {
        
        .aui-field-label {
            display: block;
        }
    }
    
    .fc-column-no-wrap {
        white-space: nowrap;
    }
    
    .fc-column-score {
        width: 85px;
    }
    
    .fc-edit-link {
        margin: 5px 0 0;
    }
    
    .fc-entity-body {
        padding: 0 7px;
        
        .fc-product-asset-entries {
            margin: 15px 0 0;
            
            .fc-info {
                color: #7D7D7D;
                padding-left: 5px;
            }
            
            .fc-most-popular-column {
                padding: 0 0 0 20px;
                width: 40%;
                
                .fc-header {
                    border-bottom: 1px solid #CCC;
                    color: #555;
                    font-weight: bold;
                    margin: 0 -7px 0 -27px;
                    padding: 0 7px;
                }
            }
            
            .fc-most-recent-column {
                padding: 0 20px;
                width: 60%;
                
                .fc-header {
                    border-bottom: 1px solid #CCC;
                    color: #555;
                    font-weight: bold;
                    margin: 0 0 0 -27px;
                    padding: 0 7px;
                }
            }
            
            .fc-title {
                margin: 5px 0 0;
                
                a {
                    font-weight: bold;
                    margin: 0 0 0 -20px;
                }
            }
        }
        
        .fc-product-assets {
            color: #7D7D7D;
            margin: 10px 0 0;
        }
        
        .fc-product-comments,
        .fc-template-comments {
            margin: 15px -7px 0;
        }
        
        .fc-product-comments .aui-field-content,
        .fc-template-comments .aui-field-content {
            margin: 0;
        }
        
        .fc-product-comments .fc-all-comments,
        .fc-template-comments .fc-all-comments {
            color: #7D7D7D;
            font-weight: bold;
            margin: 0 10px 10px;
        }
        
        .fc-product-comments .fc-helpful-inputs,
        .fc-template-comments .fc-helpful-inputs {
            margin: 4px 0 0;
        }
        
        .fc-product-comments .fc-helpful-inputs label,
        .fc-template-comments .fc-helpful-inputs label {
            font-weight: normal;
        }
        
        .fc-product-comments .fc-helpful-text,
        .fc-template-comments .fc-helpful-text {
            margin: 0 10px 0 0;
        }
        
        .fc-product-comments .fc-no,
        .fc-template-comments .fc-no {
            color: red;
        }
        
        .fc-product-comments .fc-question,
        .fc-template-comments .fc-question {
            color: #999;
        }
        
        .fc-product-comments .fc-yes,
        .fc-template-comments .fc-yes {
            color: green;
        }
        
        .fc-product-icons,
        .fc-template-icons {
            padding: 0 0 5px;
        }
    }
    
    .fc-entity-footer {
        margin: 10px 0 0;
    }
    
    .fc-entity-header {
        padding: 5px 20px;
        
        .fc-title {
            float: left;
            font-size: 1.6em;
            color: orange;
        }
        
        .fc-tools {
            float: right;
            
            .fc-buttons {
                padding: 0px;
            }
        }
    }
    
    .fc-field-wrapper {
        margin: 10px 0;
        
        .aui-field-wrapper-content {
            margin: 0;
        }
    }
    
    .fc-panel-separator {
        margin-bottom: 15px;
    }
    
    .fc-priority {
        padding-left: 10px;
    }
    
    .fc-select-product-breadcrumbs {
        margin: 0 0 5px;
    }
    
    .fc-submit-buttons {
        margin-top: 0;
        padding-top: 10px;
    }
    
    .fc-admin-edit-event {
    	.fc-submit-buttons {
    		text-align: center;
    		
    		.btn {
    			width: 80px;
    			margin: 0 30px;
    		}
	    }
    }
    
    .clearboth {
        clear: both;
    }
    
    .fc-list {
        margin: 0;
        list-style: none;
        
        li {
            text-transform: none;
            padding: 5px;
            font-size: 12px;
        }
    }
    
    .fc-odd {
        background-color: #FFFFFF;
    }
    
    .fc-even {
        background-color: #F5F8FB;
    }
    
    .dashed-line {
        border-bottom: 1px dashed #999999;
        margin: 10px 0;
        clear: both;
    }
    
    .title {
        color: #FFA500;
        font-weight: bold;
        font-size: 16px;
    }
    
    .fc-asset {
        font-weight: bold;
        
        span {
            color: #FFA500;
            font-weight: bold;
        }
    }
    
    a.button {
        text-decoration: none;
    }
    
    .fc-generic-button {
        padding: 10px 20px;
        text-align: center;
        font-size: 14px;
        color: #FFFFFF;
    }
    
    .highlight {
        color: orange;
        background-color: transparent;
    }
    
    .seperator,
    .seperator-row {
        height: 5px;
    }
    
    .buttons,
    .fc-buttons {
        padding: 5px 0;
    }
    
    .error-message {
        font-size: 12px;
        color: #900;
    }
    
    .fc-product-icon {
        max-height: 32px;
        max-width: 32px;
    }
    
    .fc-indicator {
        color: orange;
        font-size: 12px;
    }
    
    table.fc-entity-view {
        width: 100%;
        border: 1px solid #CCC;
        
        th {
            text-align: right;
            background-color: #E6E8E9;
            border: 1px solid #CCC;
            width: 20%;
            padding: 5px;
        }
        
        td {
            text-align: left;
            width: 80%;
            padding: 5px;
        }
        
        tr:nth-child(odd) {
            background-color: #FFFFFF;
        }
        
        tr:nth-child(even) {
            background-color: #F5F8FB;
        }
    }
    
    .fc-review-entry .fc-avatar,
    .fc-review-comment .fc-avatar {
        max-width: 65px;
        max-height: 65px;
        padding-right: 12px;
        width: 48px;
        height: 48px;
    }
    
    .fc-inactive {
        background: red;
        padding: 5px;
        border-radius: 4px;
        color: #FFF;
    }
}

/* ---------- fancybox ---------- */

#fancybox-content {
    border-radius: 6px;
}

.fancybox-skin{
    padding:0 !important;
}

/* ---------- order ---------- */

.top-navigation-portlet{
    
    .viewOrder {
        position: relative;
        min-width: 700px;
        
        .fc-tools {
            float: right;
            top: 0px;
            right: 1px;
            position: absolute;
        }
        
        .fc-barcode {
            float: right;
            top: 2px;
            position: absolute;
            right: 0px;
        }
        
        .address {
            float: left;
            padding-left:15px;
            word-break: break-all;
            width: 24%;
        }
        
        .billing {
            padding-bottom: 5px;
            
            img {
                vertical-align: middle;
            }
        }
        
        .shipping-payment .links {
            text-decoration: underline;
        }
    }
    
    .order-wrapper {
        border: 1px solid #D0D0D0;
    }
    
    .fc-order-items {
        background-color: #FFFFFF;
        
        table {
            border-top: 1px solid #E1D893;
            width: 100%;
        }
        
        th {
            text-align: center;
            padding: 5px;
        }
        
        td {
            padding: 5px;
        }
        
        td.product {
            text-align: left;
        }
        
        th.quantity,
        th.fc-unit-price,
        th.total {
            width: 100px;
            color: #000000;
        }
        
        th.fc-unit-price,
        th.total,
        .item-price {
            text-align: right;
        }
        
        .fc-asset-table {
            
            th {
                text-align: left;
                padding: 5px;
                border: 1px solid;
                border-color: #D7D7D7 #E7E7E7;
            }
            
            td {
                border: 1px solid;
                border-color: #D7D7D7 #E7E7E7;
            }
        }
    }
    
    .shipping-payment {
        
        .fc-order-summary {
            float: right;
            right: 20px;
            background-color: #FFFFFF;
            border: 1px solid #D0D0D0;
            padding: 8px;
        }
    }
    
    .fc-order-summary {
        position: relative;
        max-width: 200px;
        min-width: 175px;
        
        .fc-order-summary-totals {
            position: relative;
            
            .fc-order-summary-title {
                text-align: center;
                padding: 5px 0;
                border-bottom: 1px dashed #D0D0D0;
            }
            
            .fc-order-summary-messages {
                padding: 15px 5px;
            
                .fc-order-summary-total {
                    clear: both;
                    
                    .fc-order-information-gray {
                        float: left;
                    }
                    
                    .fc-order-information-red {
                        float: right;
                    }
                }
            }
        }
    }
}

.ie7 .top-navigation-portlet.shipping-payment .fc-order-summary {
    width: 190px;    
}
/*----------  order items ----------*/

.top-navigation-portlet{

    .fc-order-items {
        
        table {
            width: 100%;
        }
        
        td {
            vertical-align: middle;
        }
        
        tr {
            border: 1px solid #E7ECED;
        }
        
        .picture {
            text-align: center;
            padding: 10px;
            width: 100px;
        }
        
        .title {
            font-size: 14px;
            font-weight: bold;
        }
        
        .desc {
            color: #999999;
        }
        
        .price {
            position: relative;
            float: right;
        }
        
        input.quantity {
            background: none;
            border: 1px solid #CCC;
            padding: 4px;
            text-align: center;
            width: 20px;
        }
        
        div.fc-quantity {
            min-width: 100px;
            padding: 5px 18px 5px 5px;
            text-align: right;
        }
        
        .fc-subtotal {
            text-align: right;
            width: 100px;
        }
        
        .orderInfo {
            text-align: left;
            background-color: #D3EBF8; 
            position: relative;
            
            .buttons {
                float: right;
                position: absolute;
                top: 1px;
                right: 1px;
            }
        }
        
        .header {
            background-color: #D3EBF8;
        }
        
        tr.seperator-row {
            border: none;
        }
        
        .portlet-msg-info {
            font-size: 13px;
            margin: 10px auto;
        }
    }
    
    .fc-selected-option {
        color: #999999;
        padding-right: 10px;
    }
    
    .portlet-msg-info {
        
        .taglib-categorization-filter {
            margin: 0px;
            font-size: 13px;
            
            em {
                color: orange;
            }
        }
    }
}

/*----------------- product -------------------*/
.top-navigation-portlet{
    
    .fc-product-image {
        width: 64px;
        height: 64px;
    }
    
    .fc-product-image-1 {
        width: 64px;
        height: 64px;
    }
    
    .fc-product-image-2 {
        width: 128px;
        height: 128px;
    }
    
    .fc-product-image-3 {
        width: 256px;
        height: 256px;
    }
    
    .fc-product-image-4 {
        width: 512px;
        height: 512px;
    }
    
    .fc-product-image-12 {
        width: 320px;
        height: 320px;
    }
    
    .fc-product-image-13 {
        width: 384px;
        height: 384px;
    }
    
    div.fc-product-image,
    div.fc-product-image-1,
    div.fc-product-image-2,
    div.fc-product-image-3,
    div.fc-product-image-4,
    div.fc-product-image-12,
    div.fc-product-image-13 {
        overflow: hidden;
    }
    
    .products-icons {
        
        table {
            width: 100%;
        }
        
        div.product-entry {
            border: 4px solid transparent;
            margin: 0 10px 10px 0;
        }
        
        div.product-entry:HOVER {
            border: 4px solid #E0E0E0;
            background: #F9F9F9;
        }
    }
    
    .product-content {
        vertical-align: top;
        padding: 0px 10px;
    }
    
    .product-desc {
        color: #7F6A0C;
        font-size: 12px;
        padding: 10px 0 15px;
        clear: both;
    }
}

/****** product list ******/

.top-navigation-portlet.products-list {
    
    .product-entry {
        background: #FFFFFF;
        border: 1px solid #DCD9A4;
        border-radius: 4px;
        padding: 10px 20px 0px;    
        margin: 10px 0;
        -moz-box-shadow: 2px 2px 8px 1px #DBD6BB;
        -webkit-box-shadow: 2px 2px 8px 1px #DBD6BB;
        box-shadow: 2px 2px 8px 1px #DBD6BB;
    }
    
    table {
        width: 100%;
        height: 100%;
    }
    
    .product-rating,
    .signed-in-product-rating {
        float: left;
        margin-right: 10px;
    }
    
    .product-price-button {
        width: 120px;
        text-align: center;
        vertical-align: top;
    }
    
    .product-price {
        font-size: 22px;
        font-weight: bold;
        margin: 5px 0;
    }
}

/*----------------- price -------------------*/

.top-navigation-portlet{
    
    .fc-product {
        position: relative;
    }
    
    .fc-product-name {
        font-size: 14px;
        font-weight: bold;
        margin-top: 5px;
        color: #333333;
        height: 38px;
        min-width: 110px;
        overflow: hidden;
    }
    
    .fc-unit-price,
    .fc-your-price,
    .fc-discount,
    .fc-you-save,
    .fc-discount-amount,
    .fc-unit {
        color: #C92E2E;
        font-size: 14px;
    }
    
    .fc-stat-number {
        color: #1A68B2;
    }
    
    .fc-stat-number,
    .fc-unit {
        font-size: 12px;
    }
    
    .fc-you-save-amount {
        padding: 0 8px;
    }
    
    .fc-product-price {
       th{
           vertical-align: bottom;
       }
    }
    
    .fc-your-price {
        font-weight: bold;
    }
    
    .fc-list-price,
    .fc-apply-discount {
        color: #999999;
        text-decoration: line-through;
    }
}

.fc-green,
.top-navigation-portlet.fc-green {
    color: green;
    font-weight: bold;
}

.fc-orange,
.top-navigation-portlet.fc-orange {
    color: orange;
    font-weight: bold;
}

.fc-red,
.top-navigation-portlet.fc-red {
    color: red;
    font-weight: bold;
}

/*----------------- related-list -------------------*/
.top-navigation-portlet{
    
    .related-list {
        position: relative;
        
        li {
            float: left;
            padding: 5px 20px;
            margin: 5px;
        }
        
        li:HOVER {
            -webkit-box-shadow:1px 1px 6px #292929;
            -moz-box-shadow:1px 1px 6px #292929;
            box-shadow:1px 1px 6px #292929;
        }
    }
}

/* ---------- rating ---------- */

.top-navigation-portlet{
    
    .fc-star-rating{
        float: left;
        
        .fc-text {
            color: #333333;
            display: inline;
            padding: 0 10px;
            position: relative;
        }
        
        .taglib-ratings {
            float: left;    
        }
        
        .fc-stars {
            display: inline;
        }
        
        .fc-list li {
            clear: both;
            height: 20px;
            padding: 0px;
            
            .fc-star-count {
                color: #999999;
                font-size: 11px;
                line-height: normal;
            }
        }
        
        .fc-see-all {
            clear: both;
            padding-top: 10px;
            display: inline;
            position: relative;
            top: -3px;
        }
    }
    
    .fc-star-progress {
        background-color: #F4F4CF;
        border: 1px solid #FFFFFF;
        width: 132px;
        margin: 0 10px 0 20px;
        
        .fc-star-progress-position {
            height: 14px;
            background-color: #FF9B10;
            display: block;
        }
    }
    
    .fc-reviews {
        
        .fc-star-rating-list {
            padding-right: 42px;
            
            .fc-x-reviews {
                text-align: center;
                font-weight: bold;
            }
        }
    }
    
    .fc-review-comment {
        
        .fc-body.fc-has-avatar {
            margin-left: 60px;
        }

        .fc-body {

            .fc-sub-comments {

                .fl {

                    .fc-avatar {
                        width: 28px;
                        height: 28px;
                    }
                }

                .fc-body {
                    margin-left: 0px;
                }
            }
        }
    }

    .fc-review-entry{
        clear: both;
        padding: 10px 20px;
        position: relative;
        
        .fc-body.fc-has-avatar {
            margin-left: 75px;
            
            .fc-review-row1 {
                padding-bottom: 10px;
            }
            
            .fc-review-row2 {
                float: left;
            }
            
            .fc-review-row3 {
                float: right;
                
                .fc-feedbacks {
                    margin:0 15px;
                }
            }
        }
        
        .taglib-ratings {
            float: left;
        }
        
        .fc-subject {
            font-weight: bold;
            padding: 5px;
        }
        
        .fc-user-name {
        
            .links {
               font-weight: bold;
            }
        }
        
        .fc-date {
            margin-left: 5px;
        }
        
        .fc-buttons {
            padding: 0 10px;
        }
        
        .fc-body {
            padding: 0;
        }
    }
}

.forgecart-portlet-shopping-cart .fc-review-entry .fc-review-content,
.forgecart-portlet-shopping-cart .fc-review-comment .fc-review-content {
    margin-left: 15px;
    font-weight: bold;
    line-height: 20px;
}

.top-navigation-portlet{
    
    .fc-review-feedbacks-text {
        padding-bottom: 12px;
        color: #666666;
    }
    
    .fc-add-to-cart-box,
    .fc-add-to-wishlist {
        float: left;
        border: 1px solid #4080BA;
        margin-right: 10px;
        margin-top: 5px;
        
        a.add-to-cart {
            display: block;
            margin: 0;
            font-size: 16px;
            text-align: center;
            line-height: 36px;
            padding: 0px 20px;
            
            img {
                position: relative;
                right: 3px;
            }
        }
    }
    
    .fc-slides-container {
        
        .fc-slides{
            
            a.add-to-cart,
            a.add-to-cart:LINK,
            a.add-to-cart:HOVER {
                color: #FFFFFF;
            }
        }
    }
    
    .fc-add-to-cart-box:hover,
    .fc-add-to-wishlist:hover {
        border: 1px solid #0F60AD;
    }
    
    .fc-continue-shopping {
        background: #939393;
        color: #FFFFFF;
        font-size: 12px;
        text-shadow: none;
        padding: 0.5em 1em;
        text-decoration: none;
    }
    
    .fc-continue-shopping:hover {
        color: #FFFFFF;
        background: #3177BA;
        text-decoration: none;
    }
    
    .fc-continue-shopping:active {
        color: #FFFFFF;
        background: #175DA0;
    }
    
    .button {
        background: #1C81D1;
        color: #FFFFFF;
        font-size: 12px;
        font-weight: bold;
        text-shadow: none;
        padding: 0.5em 1em;
    }
    
    .button:hover {
        color: #FFFFFF;
        background: #0B5EAD;
        background: -moz-linear-gradient(top, #1766B1 0%, #0B5AA5 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1766B1),
            color-stop(100%, #0B5AA5) );
        background: -webkit-linear-gradient(top, #1766B1 0%, #0B5AA5 100%);
        background: -o-linear-gradient(top, #1766B1 0%, #0B5AA5 100%);
        background: -ms-linear-gradient(top, #1766B1 0%, #0B5AA5 100%);
        background: linear-gradient(top, #1766B1 0%, #0B5AA5 100%);
    }
    
    .forward-button {
        border-radius: 4px 30px 30px 4px / 4px 20px 20px 4px;
    }
    
    .fc-buttons .back-button,
    .fc-buttons .forward-button {
        margin: 10px;
    }
    
    .fc-product-discount {
        color: #000000;
        height: 64px;
        width: 64px;
        font-weight: bold;
        float: left;
        position: absolute;
        top: 0px;
        left: 0px;
        background: url('./images/discount.png') no-repeat 0 0;
        
        .discount-value {
            padding: 20px;
            color: #FFF;
            font-size: 12px;
            
            .off {
                top: -4px;
                position: relative;
            }
        }
    }
    
    .fc-product-discount-package {
        
        .discount-package-text {
            padding: 1px 5px;
            color: #FFF;
        }
    }
    
    .fc-product-discount-small {
        height: 32px;
        width: 32px;
        bottom: -10px;
        left: -10px;
        background: url('./images/discount_32.png') no-repeat 0 0;
        
        .discount-value {
            padding: 8px;
            font-size: 8px;
        }
    }
    
    .fc-product-discount-package {
        height: 18px;
        width: 76px;
        font-weight: bold;
        position: absolute;
        bottom: 0px;
        left: 0px;
        background: url('./images/discount_package.png') no-repeat 0 0;
        
        .discount-value {
            padding: 20px;
            
            .off {
                top: -4px;
                position: relative;
            }
        }
    }
    
    .fc-product-discount-package-small {
        height: 32px;
        width: 32px;
        bottom: -10px;
        left: -10px;
        background: url('./images/discount_package_32.png') no-repeat 0 0;
        
        .discount-value {
            padding: 8px;
            font-size: 8px;
        }
    }
    
    .forgecart-msg-info {
        background: #DFF4FF url("./images/info.png") no-repeat 6px 50%;
        border: 1px solid #A7CEDF;
        color: #34404F;
        display: block;
        font-weight: bold;
        margin: 2px auto 2px;
        padding: 6px 6px 6px 30px;
        text-align: left;
        font-size: 12px;
    }
    
    .fc-loading {
        background: url('./images/loading.gif') no-repeat 50% 50%;
        padding-left: 20px;
        min-height: 20px;
        min-width: 100px;
    }
    
    .jqtree-tree {
        
        .jqtree-loading {
            
            > div .jqtree-title:after {
                content: url('./images/loading.gif');
                margin-left: 8px;
            }
        }
    }

    .fc-timer,
    .fc-buyer {
        color: #999999;
        font-size: 14px;
        text-align: left;
        line-height: 34px;
        height: 34px;
        
        .fc-number {
            color: #2F6DB3;
            font-size: 14px;
            font-weight: bold;
        }
    }
    
    .fc-buyer {
        background: url('./images/special-offer.png') no-repeat;
        padding-left: 50px;
    }
}

.ie7 .top-navigation-portlet.fc-star-rating {
    font-size: 0px;
}

/* ---------- jqTree ---------- */

.top-navigation-portlet{
    
    ul.jqtree-tree {
        margin: 0;
        margin-left: 15px;
        
        ul {
            margin-top: 0;
        }
        
        .jqtree-title {
            font-size: 14px;
            font-weight: bold;
            color: #000;
        }
    }
    
    ul.jqtree-tree > li > div,
    ul.jqtree-tree ul > li > div {
        padding: 5px 0;
        border-radius: 4px;
    }
}

/* ---------- popup dialog box ---------- */

.fc-dialog-header {
    background-color: #F0F0F0;
    padding: 10px;
    border-radius: 4px 4px 0 0;
    
    .fc-title {
        font-size: 14px;
        font-weight: bold;
    }
}

.fc-dialog-content {
    padding: 10px;
    background-color: #FFF;
}

.fc-dialog-footer {
    padding: 10px;
    position: relative;
    border-top: 1px solid #CCC;
}

.top-navigation-portlet{
    
    input.fc-quantity {
        width: 30px;
    }
    
    input.fc-price {
        width: 60px;
    }
}

.top-navigation-portletinput.quantity,
.fc-dialog-content input.quantity {
    background: none;
    border: 1px solid #CCC;
    padding: 4px;
    text-align: center;
    width: 20px;
    margin: 0px;
}

.fc-dialog-content input[type="button"],
.fc-result input[type="button"] {
    padding: 5px;
}

.fc-dialog{
    position: relative;
    
    .fc-member-box{
        color:gray;
        padding:10px 10px 10px 10px;
        form{
            margin:0;
            
            .fc-member-button{
                text-align:right;
                
                input{
                    padding:4px;
                    background:#1C81D1;
                    border:none;
                    color:#FFFFFF;
                    border:solid 1px #EEDCDC;
                }
                
                input:hover{
                    background:#0077B3;
                }
            }
            
            .points-tip{
                color:red;
            }
        }
        
        .fc-member-exit-button{
            margin-top:20px;
            text-align:right;
            
            input{
                padding:4px;
                background:#1C81D1;
                border:none;
                color:#FFFFFF;
                border:solid 1px #EEDCDC;
            }
            
            input:hover{
                background:#0077B3;
            }
        }
    }
    
    .fc-modify-box{
    
        table{
            margin:10px 0 0 10px;
            
            tr td{
            
                input{
                    width:50px;
                    margin:0;
                }
                
                .control-group{
                    margin:0;
                }
            }
        }
        
        input[type='button']{
            margin:0 0 10px 10px;
        }
    }
    
}

/* ---------- options ---------- */

.fc-product-options ul,
.fc-dialog-content .fc-shoppingcart-warehouse {
    margin: 5px 0;
    list-style: none;
    white-space: nowrap;
    word-break: keep-all;
}

.fc-product-options li.fc-option-item,
.fc-product-options li.fc-nosku-option,
.fc-shoppingcart-warehouse li.fc-warehouse-li{
    display: inline;
    padding: 5px;
    border: 2px solid #A5CDEC;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 4px;
    
    .addprice{
        color:orange;
        font-weight:bold;
    }
}

.fc-product-options {
    padding-bottom: 10px;
    margin-bottom: 5px;
    position: relative;
    
    li.fc-option-item:last-child {
        margin-right: 0;
    }
    
    li.fc-option-item-selected,
    li.fc-option-item:hover {
        border: 2px solid orange;
    }
    
    li.fc-warehouse-li:hover {
        border: 2px solid orange;
    }
    
    li.fc-option-item {
        
        .fc-option-item-stock {
            float: left;
            position: absolute;
            left: 0;
            bottom: 0;
        }
    }
    
    li.fc-option-item-selected {
        background: url('./images/option-selected.png') no-repeat 100% 100%;
    }
}

.fc-shoppingcart-warehouse li.fc-option-item-selected {
    background: url('./images/option-selected.png') no-repeat 100% 100%;
    border: 2px solid orange;
}

.top-navigation-portlet.lfr-tree {
    margin-left: 10px;
    list-style: none;
}

/* ---------- tabs ---------- */

.top-navigation-portlet{
    
    .fc-tabs-container {
        background-color: #F9F9F9;
        height: 36px;
        position: relative;
    }
    
    ul.fc-tabs {
        margin: 0;
        list-style: none;
        float: left;
        
        li {
            display: inline-block;
            line-height: 36px;
            font-weight: bold;
            color: #F34A07;
            padding: 0px 10px;
        }
        
        li.fc-current {
            border-top: 2px solid #F34A07; 
            border-left: 1px solid #DDD; 
            border-right: 1px solid #DDD;
        }
    }
}

.ie6 .top-navigation-portletul.fc-tabs li,
.ie7 .top-navigation-portletul.fc-tabs li {
    display: inline;
    zoom: 1;
}

@media only print
{
    .top-navigation-portlet.fc-tools {
        display: none;
    }
}


/* product detail rebuild 2014-04-28 */

.clearfix:before, 
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
} /* IE < 8 */

.top-navigation-portlet.fc-product-related {
    border:solid 1px #D0D0D0;
    margin-top:10px;
    clear: both;

    p {
        margin:0;
    }

    .fc-product-related-head {
        border-top:solid 1px #D0D0D0;
        height:36ppx;
        line-height:36px;
        padding-left:20px;
        background:#F9F9F9;
        color:#A3A3A3;
    }
    
    .portlet-msg-info{
        border:none;
        margin:0;
        padding:0 0 0 40px;
        height:36px;
        line-height:36px;
        background-position:20px center;
    }
    
    .fc-related-list {
        background:#FFFFFF;
        position:relative;
        overflow:hidden;
        
        a.prev{
            display:block;
            width:46px;
            height:46px;
            position:absolute;
            left:0;
            background-repeat:no-repeat;
            background-position:center;
            background-color:#E0E0E0;
            background-image:url("./images/product-related-prev.png");   
            text-indent:-9999px;
            overflow:hidden;
            z-index:6;
        }
        
        a.next {
            display:block;
            width:46px;
            height:46px;
            position:absolute;
            background-repeat:no-repeat;
            background-position:center;
            background-color:#E0E0E0;
            background-image:url("./images/product-related-next.png");    
            text-indent:-9999px;
            overflow:hidden;
            z-index:6;
        }
        
        a.prev:hover,
        a.next:hover {
            background-color:#236EB5;
        }
        
        ul.pagination {
            display:none;
        }
        
        .related-list {
            overflow:hidden;
        }
        
        .related-list-li {
            padding:10px;
            margin:10px;
            border:solid 1px #FFFFFF;
            
            .fc-product-image {
                width:100%;
                height:128px;
                
                img {
                    max-height:128px;
                }
            }
            
            .fc-product-title {
                margin-top:5px;
                height:32px;
                font-size:12px;
                line-height:16px;
                overflow:hidden;
                font-weight:bold;
                
                a {
                    color:#0B5EAD;
                    text-decoration:none;
                }
            }
            
            .fc-product-price {
                margin-top:5px;
                line-height:16px;
                
                .fc-your-price {
                    color:#FF9604;
                    margin-right:10px;
                    font-size:12px;
                    font-weight:bold;
                }
                
                .fc-list-price {
                    color:#CDCDCD;
                    font-size:12px;
                    font-weight:bold;
                }
            }
        }
        
        .related-list-li:hover {
            background:#F0F0F0;
            border:solid 1px #D0D0D0;
        }
    }
}   

/* ---------- slides ---------- */

.top-navigation-portlet.fc-slides-container {
    margin: 0 auto;
    position: relative;
    
    .fc-slides:hover {
    
        a.slidesjs-previous,
        a.slidesjs-next{
            display: block;
        }
    }
    
    .fc-slides {
        display: none;
    
        .slidesjs-navigation {
            position: absolute;
            margin: 0;
            top: 29px;
            display: none;
        }
        
        a.slidesjs-next,
        a.slidesjs-previous,
        a.slidesjs-play,
        a.slidesjs-stop {
            background-image: url("./images/btns-next-prev.png");
            background-repeat: no-repeat;
            width: 12px;
            height: 18px;
            overflow: hidden;
            text-indent: -9999px;
            float: left;
            z-index: 10;
        }
        
        a.slidesjs-next {
            right: 0px;
            background-position: -12px 0;
        }
        
        a:hover.slidesjs-next {
            background-position: -12px -18px;
        }
        
        a.slidesjs-previous {
            background-position: 0 0;
        }
        
        a:hover.slidesjs-previous {
            background-position: 0 -18px;
        }
        
        a.slidesjs-play {
            width: 15px;
            background-position: -25px 0;
        }
        
        a:hover.slidesjs-play {
            background-position: -25px -18px;
        }
        
        a.slidesjs-stop {
            width: 18px;
            background-position: -41px 0;
        }
        
        a:hover.slidesjs-stop {
            background-position: -41px -18px;
        }
        
        .slidesjs-pagination {
            margin: 0 auto;
            list-style: none; 
            clear: both;
            
            li {
                float : left;
                margin: 0 1px;
                
                a {
                    display: block;
                    width: 13px;
                    height: 0;
                    padding-top: 13px;
                    background-image: url("./images/pagination.png");
                    background-position: 0 0;
                    float: left;
                    overflow: hidden;
                    line-height: normal;
                }
                
                a.active,
                a:hover.active {
                    background-position: 0 -13px
                }
                
                a:hover {
                    background-position: 0 -26px
                }
            }
        }
        
        .fc-slidesjs-pagination-number {
            margin: 0 auto;
        
            li {
            
                a {
                    padding: 2px;
                    background-image: none;
                    height: auto;
                    background-color: #1061AF;
                    text-align: center;
                    text-shadow: none;
                    color: #FFF;
                    text-decoration: none;
                }
                
                a.active,
                a:hover,
                a:hover.active {
                    color: #F5AE00;
                }
            }
        }
        
        a:link,
        a:visited {
          color: #000000;
        }
    }
}

/* ---------- tab list ---------- */

.fc-sub-tabs {

    ul.aui-tabview-list {
        border-top: 2px solid #D0D0D0;
        border-radius: 0;
        padding: 0;
        background: #F9F9F9;
        border-left: 1px solid #D0D0D0;
        border-right: 1px solid #D0D0D0;
        border-bottom: 1px solid #D0D0D0;
        position: relative;
        height: 36px;
        
        li {
            
            a {
                color: #333333;
                font-weight: bold;
                text-shadow: none;
                padding: 10px 45px 10px 0;
    
                .fc-separator {
                    padding-left: 45px;
                    border-left: 1px solid #D0D0D0;
                }
                
                .fc-stat-number {
                    color: #333333;
                }
            }
            
            span {
                background: none;
                border: none;
            }
            
            span:hover a {
                color: #0B5EAD;
            
                .fc-stat-number {
                    color: #0B5EAD;
                }
            }
        }
        
        li.aui-state-default {
            background: none;
            border: none;
        }
        
        li.aui-tab-active+li.aui-state-default span .fc-separator {
            border-left: none;
        }
        
        li.aui-tab-active {
            border-top: 2px solid #0B5EAD;
            position: relative;
            bottom: 2px;
            border-left: 1px solid #D0D0D0;
            border-right: 1px solid #D0D0D0;
            height: 37px;
            
            span {
                -moz-box-shadow: none;
                -webkit-box-shadow: none;
                box-shadow: none;
                border-color: #D0D0D0;
                background: #FFFFFF;
                top: 1px;
                position: relative;
                                
                .fc-separator {
                    border-left: none;
                }
            }
            
            a {
                text-shadow: none;
            }
            
            strong {
                font-weight: bold;    
            }
        }
        
        li.first {
            border-left: none;
            
            .aui-tab-content .fc-separator {
                border-left: none;
            }    
        }
        
        li.aui-tab-active:after {
            border-color: transparent transparent transparent;
            bottom: -10px;
        }
    }
}

/* ---------- search paginator ---------- */

div.taglib-page-iterator {
    background-color: #F9F9F9;
    padding: 5px 10px;
    
    .search-results {
        color: #333333;
    }
    
    div.search-pages {
        
        label {
            font-weight: normal;
        }
        
        .page-links {
            
            span, a {
                border: none;
            }
            
            a {
                text-decoration: none;
                color: #333333;
            }
            
            a:hover {
                text-decoration: underline;
                color: #FFA500;
            }
        }
    }
}

/* ---------- categories select ---------- */
div.autocomplete-content div.toolbar {
    position: inherit;
}

/* ---------- fancybox popup message ---------- */

.fc-popup-message {

    .fc-text {
        padding: 5px;
        font-weight: bold;
    }
}

/* ---------- tree structure style---------- */
.fc-treeview {

    ul {
        margin: 0 0 0 15px;
        
        li {
            padding: 3px 0px;
            
            div {
            
                span {
                    font-size: 14px;
                    color: #1A6FC1;
                }
                
                .tree-hitarea {
                    font-size: 12px;
                }
                
                .tree-hitarea~span a {
                    color: #1A6FC1;
                }
            }
            
            div .icon-minus:before {
                content: "\f0d7";
            }
            
            div .icon-plus:before {
                content: "\f0da";
            }
            
            ul li {
                 
                div {
                    
                    span,
                    a {
                        font-size: 12px;
                        font-weight: normal;
                        color: #222;
                    }
                    
                    a:hover {
                        color: #1C81D1;
                    }
                }
            }
            
            .tree-node-leaf {
                margin-left: 10px
            }
        }
    }
}

/* ---------- video-js ---------- */

.top-navigation-portlet.video-js {
    margin: 0 auto;
}

/* ---------- jplayer ---------- */

.top-navigation-portlet.jp-audio {
    margin: 0 auto;
}

.aui .jp-audio {
    .jp-stop {
        margin: 6px 0 0 10px;
    }
}

.top-navigation-portlet.fc-DnDUpload {
    width: 180px;
    min-height: 240px;
    border: dashed 2px #ccc;
    background-color: #fefefe;
    float: left;
    color: #000;
    padding: 20px 20px 20px 20px;
    display: block;
    position: relative;
    overflow: auto;
    -moz-box-shadow: 0 0 20px #ccc;
    
    li {
        margin: 0;
        padding: 2px 0;
        margin: 0;
        overflow: auto;
        border-bottom: solid 1px #DDD;
        font-size: 14px;
        position: relative;
        list-style: none;
        
        p {
            margin: 0 5px 0 0;
        }
        
        p.hint {
            font-weight: bold;
        }
        
        img {
            width: auto;
            max-width: 174px;
            max-height: 108px;
            border: solid 1px #999;
            padding: 2px;
            margin: 0 2px 0 0;
            background-color: #F9F9F9;
            display: block;
            float: left;
            text-decoration: none;
        }
        
        .loadingIndicator {
            background-color: #0F0;
            -webkit-appearance: none;
            appearance: none;
            height: 24px;
            width: 70%;
        }
        
        progress[value]::-webkit-progress-bar {
          background-color: #EEE;
          border-radius: 6px;
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
        }
        
        progress[value]::-webkit-progress-value {
            background-color: #38B1E8;
            border-radius: 6px;
            -webkit-animation: animate-stripes 5s linear infinite;
            animation: animate-stripes 5s linear infinite;
        }

        @-webkit-keyframes animate-stripes {
           100% { background-position: -100px 0px; }
        }
        
        @keyframes animate-stripes {
           100% { background-position: -100px 0px; }
        }
        
        .percentValue {
            font-size: 18px;
            position: relative;
            top: -5px;
            left: 5px;
        }
    }
}