@font-face {
    font-family: 'fontawesome';
    src: url('/Fonts/Fontawesome/fontawesome.eot?#') format('eot'), url('/Fonts/Fontawesome/fontawesome.woff') format('woff'), url('/Fonts/Fontawesome/fontawesome.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir_FaNum';
    src: url('/Fonts/Vazir_FaNum/Vazir_FaNum.eot?#') format('eot'), url('/Fonts/Vazir_FaNum/Vazir_FaNum.woff') format('woff'), url('/Fonts/Vazir_FaNum/Vazir_FaNum.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: #c4caca;
    color: #000;
    font-family: Vazir_FaNum;
}

input {
    color: #000;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.panel-info > .panel-heading {
    color: #fff;
    background-color: #008fd5;
    border-color: #008fd5;
}

.panel-info {
    border-color: #008fd5;
}

.master-wrapper-content {
    min-height: 300px;
}

.thumbnail .caption {
    direction: rtl;
}

    .thumbnail .caption .book_link_title {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: block;
    }

.gooddetail-container .description {
    background: #f5f5f5;
    padding: 20px;
    box-shadow: 0 1px 1px #ccc;
    border-radius: 3px;
}
    .gooddetail-container .description ul li {
        margin: 10px 0;
        color: grey;
    }

.gooddetail-container .image-wrapper {
    text-align: center;
}
    .gooddetail-container .image-wrapper .buttons {
        margin: 10px 0;
    }

/* ENAMAD */
.enamad {
    text-align: center;
}

    .enamad img {
        background-color: #fff;
        margin: 0 0 20px 0;
        padding: 5px;
    }
/* SUBSCRIPTION */
.newsletter-subscribe-text {
    color: #000 !important;
}
/* header */
.admin-header-links {
    background-color: #333;
    text-align: center;
    color: #eee;
}

    .admin-header-links * {
        display: inline-block;
        margin: 0 10px;
        line-height: 35px;
        font-size: 12px;
        font-weight: bold;
    }

    .admin-header-links .impersonate {
        display: inline-block;
    }

        .admin-header-links .impersonate a {
            background-color: #555;
            padding: 0 15px;
        }

            .admin-header-links .impersonate a:hover {
                background-color: #666;
            }

.header, .footer {
    background-color: #008fd5;
    color: #fff;
}

    .header a {
        color: #fff;
    }

.footer {
    padding: 20px;
    margin: 20px 0 0 0;
}

    .footer .footer-lower {
        background-color: #000;
        padding: 10px;
        text-align: center;
        margin: 15px 0 0 0;
    }

    .footer a {
        color: #fff;
    }

.header-menu {
    background-color: #0f4ba1;
}

.navbar {
    margin-bottom: 0 !important;
    border: none;
}

.navbar-nav {
    padding: 0;
}

    .navbar-nav > li {
        list-style: none;
        padding: 0 10px;
        border-left: 2px solid #008fd5;
        text-align: center;
    }

        .navbar-nav > li:first-child {
            border-right: 2px solid #008fd5;
        }

        .navbar-nav > li:last-child {
        }

.navbar .navbar-nav > li > a {
    color: inherit;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 3px;
    color: #fff;
    display: block;
}

.navbar .navbar-toggle .icon-bar {
    background-color: inherit;
    border: 1px solid;
    color: #fff;
}

.navbar a {
    color: #fff;
}

/* AJAX LOADING INDICATOR */
/*.ajax-loading-block-window {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    overflow: hidden;
    z-index: 1104;
    background-image: url('/Themes/Elmpub/Content/images/loading.gif');
}*/
.ajax-loading-block-window {
    margin: 0 auto;
    background-color: rgba(0,0,0,.5);
    padding: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1104;
    height: 65px;
    border-radius: 5px;
}

    .ajax-loading-block-window .x-rtl {
        direction: rtl;
    }

    .ajax-loading-block-window .inner {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-left-color: transparent;
        border-right-color: transparent;
        border-radius: 50%;
        width: 27px;
        height: 27px;
        position: relative;
        top: -36px;
        margin: 0 auto;
        -webkit-animation: spin-right 1s linear infinite normal;
        -moz-animation: spin-right 1s linear infinite normal;
        -ms-animation: spin-right 1s linear infinite normal;
        animation: spin-right 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

    .ajax-loading-block-window .outer {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-right-color: transparent;
        border-left-color: transparent;
        width: 44px;
        height: 44px;
        margin: 0 auto;
        border-radius: 50%;
        -webkit-animation: spin-pulse 1s linear infinite normal;
        -moz-animation: spin-pulse 1s linear infinite normal;
        -ms-animation: spin-pulse 1s linear infinite normal;
        animation: spin-pulse 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

@-moz-keyframes spin-right {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin-right {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin-right {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin-pulse {
    from {
        -moz-transform: rotate(360deg);
    }

    to {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes spin-pulse {
    from {
        -webkit-transform: rotate(360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes spin-pulse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Common */
.button-1 {
    color: #fff;
    background-color: #008fd5;
    border-color: #008fd5;
}

    .button-1.active.focus, .button-1.active:focus, .button-1.active:hover, .button-1:active.focus, .button-1:active:focus, .button-1:active:hover, .open > .dropdown-toggle.button-1.focus, .open > .dropdown-toggle.button-1:focus, .open > .dropdown-toggle.button-1:hover {
        background-color: #09aeff;
        border-color: #09aeff;
    }
/* searchbox */
.search-box {
    margin: 20px auto;
    text-align: center;
}
/* bootstrap */
.collapse {
    display: none;
}

    .collapse.in {
        display: block;
    }
/* SEARCHPAGE */
.item-box img {
    width: 100%;
}
/* LOGO */
.header-logo a img {
    width: 100%;
}
/* GROUPNAVUGATION */
.block-category-navigation {
    background-color: #fff;
}

    .block-category-navigation .listbox {
        padding: 10px;
    }

    .block-category-navigation .title {
        padding: 15px;
        background-color: #008fd5;
    }

    .block-category-navigation .close {
        float: left;
        opacity: 1;
        margin: 6px 0 0 10px;
        display: block;
    }

    .block-category-navigation ul {
        list-style: none;
        padding: 0 10px 0 0;
    }

        .block-category-navigation ul li {
            margin: 4px 0;
            padding: 0 5px 10px 10px;
            border-bottom: 1px solid #f5f5f5;
        }

            .block-category-navigation ul li:last-child {
                border-bottom: none;
            }

    .block-category-navigation span.close {
        background-image: url(/Themes/Elmpub/Content/images/rtl-treeview-black-e.gif);
        background-repeat: no-repeat;
        background-size: 16px;
        width: 16px;
        height: 16px;
    }

    .block-category-navigation .close.expanded {
        background-image: url(/Themes/Elmpub/Content/images/rtl-treeview-black-c.gif);
    }
/* PAGER */
.pagination > li > a, .pagination > li > span {
    border-radius: 0 !important;
}
/* LOGIN PAGE */
.login-page .form-fields .inputs {
    margin: 10px 0;
}

/* PRODUCTGRID */
.item-box .thumbnail {
    min-height: 460px;
    position: relative;
}

    .item-box .thumbnail .buttons {
        position: absolute;
        bottom: 10px;
        left: 10px;
    }

    .item-box .thumbnail .price-value {
        color: green;
    }
/* BREADCRUMBS */
.breadcrumb li {
    list-style: none;
    display: inline-block;
}

    .breadcrumb li a {
        margin: 0 5px;
    }
/* CHECKOUT */
.shopping-cart-page .page-title {
    margin: 0 0 -1px;
    padding: 10px;
}

.shopping-cart-page .message-error {
    margin: 20px 0;
}

.shopping-cart-page td .message-error {
    margin: 10px 0 0;
    text-align: right;
}

.shopping-cart-page .checkout-attributes a {
    color: #4ab3f1;
}

    .shopping-cart-page .checkout-attributes a:hover {
        text-decoration: underline;
    }

.shopping-cart-page .tax-shipping-info {
    margin: 20px 0;
    text-align: center;
}

    .shopping-cart-page .tax-shipping-info a {
        color: #4ab3f1;
    }

        .shopping-cart-page .tax-shipping-info a:hover {
            text-decoration: underline;
        }

.shopping-cart-page .common-buttons {
    margin: 0 0 60px;
    background-color: #f6f6f6;
    padding: 20px;
    font-size: 0;
}

    .shopping-cart-page .common-buttons input {
        display: inline-block;
        min-width: 180px;
        margin: 5px;
        border: none;
        background-color: #aaa;
        padding: 10px 20px;
        font-size: 15px;
        color: #fff;
    }

        .shopping-cart-page .common-buttons input:hover {
            background-color: #999;
        }

        .shopping-cart-page .common-buttons input:first-child {
            background-color: #4ab2f1;
        }

            .shopping-cart-page .common-buttons input:first-child:hover {
                background-color: #248ece;
            }

.checkout-attributes {
    margin: -30px 0 30px;
    color: #444;
}

    .checkout-attributes dt {
        margin: 0 0 5px;
        font-weight: bold;
    }

    .checkout-attributes dd {
        margin: 0 0 20px;
    }

    .checkout-attributes input[type="text"],
    .checkout-attributes select {
        min-width: 170px;
    }

    .checkout-attributes ul {
        font-size: 0;
    }

    .checkout-attributes li {
        display: inline-block;
        margin: 5px;
        border: 1px solid #ddd;
        background-color: #fff;
        padding: 8px 10px;
        font-size: 14px; /*reset zeroing*/
    }

    .checkout-attributes .color-squares li {
        border: none;
        padding: 0;
        line-height: 0;
    }

    .checkout-attributes li label {
        display: inline-block;
        margin: 0 5px 0 0;
    }

.selected-checkout-attributes {
    margin: 30px 0;
    color: #444;
}

    .selected-checkout-attributes br {
        content: "";
        display: block;
        margin: 3px;
    }

.cart-footer {
    margin: 0 0 50px;
    border-top: 1px solid #ddd;
}

    .cart-footer:after {
        content: "";
        display: block;
        clear: both;
    }

    .cart-footer .totals {
        width: 350px;
        max-width: 100%;
        margin: 0 auto 50px;
        background-color: #f9f9f9;
        padding: 10px;
        color: #444;
    }

    .cart-footer .total-info {
        margin: 0 0 20px;
        border-bottom: 1px solid #ddd;
        padding: 5px 30px 15px;
    }

.cart-total td {
    width: 50%;
    padding: 5px 0;
    text-align: left;
}

    .cart-total td:first-child {
        text-align: right;
    }

.cart-total .giftcard-summary label {
    display: inline-block;
}

.cart-total .giftcard-remaining {
    display: block;
    font-style: italic;
}

.cart-total .order-total {
    font-size: 20px;
    color: #4ab2f1;
}

    .cart-total .order-total strong {
        font-weight: normal;
    }

.cart-total .earn-reward-points {
    font-style: italic;
}

.min-amount-warning {
    margin: 0 0 20px;
    padding: 0 30px;
    color: #e4434b;
}

.terms-of-service {
    margin: 0 0 20px;
    padding: 0 30px;
}

    .terms-of-service label {
        cursor: pointer;
    }

    .terms-of-service a {
        display: inline-block;
        margin: 0 3px 0 0;
        color: #4ab2f1;
    }

.cart-footer .checkout-buttons {
    padding: 0 10px;
}

.cart-footer .checkout-button {
    display: inline-block;
    min-width: 160px;
    border: none;
    background-color: #4ab2f1;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
}

    .cart-footer .checkout-button:hover {
        background-color: #248ece;
    }

.cart-footer .addon-buttons {
    margin: 20px 0 0;
    padding: 0 10px;
}

.cart-collaterals {
    width: 350px;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 25px;
    background-color: #fff;
}

    .cart-collaterals > div {
        max-width: 400px;
        margin: 0 0 50px;
    }

    .cart-collaterals .button-2 {
        display: inline-block;
        border: none;
        background-color: #aaa;
        padding: 10px 15px;
        color: #fff;
        text-transform: uppercase;
    }

        .cart-collaterals .button-2:hover {
            background-color: #999;
        }

    .cart-collaterals .title {
        margin: 0 0 5px;
        font-size: 18px;
        color: #444;
    }

        .cart-collaterals .title strong {
            font-weight: normal;
        }

    .cart-collaterals .hint {
        margin: 0 0 10px;
    }

    .cart-collaterals .deals > div {
        margin: 0 0 20px;
    }

    .cart-collaterals .coupon-code {
        overflow: hidden;
    }

        .cart-collaterals .coupon-code input[type="text"] {
            float: right;
            width: 60%;
            height: 36px; /*safari padding fix*/
            margin: 0 0 0 -1px;
        }

        .cart-collaterals .coupon-code input[type="submit"] {
            float: right;
            width: 40%;
            height: 36px; /*safari padding fix*/
            padding: 0;
        }

    .cart-collaterals .message-failure {
        margin: 5px 0 0;
        font-size: 12px;
        color: #e4434b;
    }

    .cart-collaterals .message-success {
        margin: 5px 0 0;
        font-size: 12px;
        color: #4cb17c;
    }

    .cart-collaterals .current-code {
        margin: 5px 0 0;
        color: #4cb17c;
    }

.remove-discount-button,
.remove-gift-card-button {
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    background: #fff url('../images/close.png') center no-repeat;
    cursor: pointer;
}

.cart-collaterals .shipping select {
    height: 36px;
}

.cart-collaterals .shipping-results {
    margin: 30px 0 0;
}

    .cart-collaterals .shipping-results li {
        margin: 20px 0;
    }

        .cart-collaterals .shipping-results li strong {
            display: block;
            margin: 0 0 5px;
            color: #444;
        }

.shopping-cart-page .no-data {
    margin: 25px 0 0;
}
/*********** GLOBAL TABLES ***********/



.table-wrapper {
    overflow-x: auto;
}

.cart th,
.data-table th,
.forum-table th {
    border-width: 1px 1px 0;
    border-style: solid;
    border-color: #ddd;
    background-color: #f6f6f6;
    padding: 10px;
    white-space: nowrap;
    font-weight: normal;
}

    .forum-table th.replies,
    .forum-table th.views,
    .forum-table th.votes,
    .forum-table th.latest-post,
    .forum-table th.topics,
    .forum-table th.posts,
    .forum-table td.replies,
    .forum-table td.views,
    .forum-table td.votes,
    .forum-table td.latest-post,
    .forum-table td.topics,
    .forum-table td.posts {
        display: none;
    }

.forum-table td.image {
    min-width: 0;
}

.cart td,
.data-table td,
.forum-table td {
    min-width: 50px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent #ddd #ddd;
    background-color: #fff;
    padding: 20px;
    color: #444;
}

.forum-table td {
    min-width: 90px;
    padding: 10px;
}

.cart a,
.data-table a,
.forum-table a {
    font-weight: normal;
    color: #4ab2f1;
}

    .cart a:hover,
    .data-table a:hover,
    .forum-table a:hover {
        text-decoration: underline;
    }

.cart .product,
.data-table .product,
.data-table .message,
.data-table .info,
.data-table .name {
    min-width: 225px;
    text-align: right;
}

.forum-table .forum-details,
.forum-table .topic-details {
    text-align: right;
}

.cart .product a,
.data-table .product a,
.data-table .info a {
    font-weight: bold;
    color: #444;
}

    .cart .product a:hover,
    .data-table .product a:hover,
    .data-table .info a:hover {
        color: #4ab2f1;
        text-decoration: none;
    }

.cart .product .edit-item {
    margin: 10px 0 0;
}

    .cart .product .edit-item a {
        font-weight: normal;
        color: #4ab2f1;
    }

        .cart .product .edit-item a:hover {
            text-decoration: underline;
        }

.cart .remove-from-cart,
.cart .add-to-cart,
.data-table .select-boxes,
.data-table .order {
    text-align: center;
}

.cart td.unit-price,
.data-table td.unit-price {
    white-space: nowrap;
}

.cart td.quantity input {
    width: 50px;
    text-align: center;
}

.cart td.subtotal,
.data-table td.total {
    white-space: nowrap;
    color: #444;
}

    .cart td.subtotal .discount {
        font-style: italic;
        color: #4ab2f1;
    }

.data-table em a {
    font-weight: bold;
    color: #444;
}

.data-table div.download {
    margin: 10px 0 0;
}
/* SHOPPINGCART */
.order-summary-content table.cart {
    width: 100%;
}
/* ACOUNT PAGES */
.page .title strong {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 0;
}

.page .form-fields .inputs {
    margin: 10px 0;
}

.page .fieldset {
    background-color: #f5f5f5;
    padding: 5px;
    margin: 10px 0;
}
/* MODAL */
.eu-cookie-bar-notification {
    position: fixed;
    top: 50%;
    right: 50%;
    z-index: 1050;
    width: 320px;
    height: 180px;
    margin: -90px -160px 0 0;
    border: 1px solid #ccc;
    box-shadow: 0 0 2px rgba(0,0,0,0.15);
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

    .eu-cookie-bar-notification .text {
        margin-bottom: 20px;
        line-height: 20px;
    }

    .eu-cookie-bar-notification button {
        min-width: 60px;
        margin: 5px 0 10px;
        border: none;
        background-color: #4ab2f1;
        padding: 8px 12px;
        font-size: 14px;
        color: #fff;
    }

        .eu-cookie-bar-notification button:hover {
            background-color: #248ece;
        }

    .eu-cookie-bar-notification a {
        display: block;
        color: #4ab2f1;
    }

        .eu-cookie-bar-notification a:hover {
            text-decoration: underline;
        }
/* HOMEPAGENEWS*/
.news-list-homepage {
    background-color: #fff;
    margin: 14px;
    padding: 20px;
    border-radius: 5px;
}

    .news-list-homepage .title {
        border-bottom: 1px solid #ccc;
        padding: 0 0 10px 0;
        font-size: 1.2em;
    }

    .news-list-homepage .news-items {
        background-color: #f5f5f5;
        margin: 10px 0;
        padding: 20px;
    }
/* OWLCAROUSEL */
.owl-carousel-wrapper .title {
    margin: 10px 0;
    border-bottom: 1px solid #fff;
}

    .owl-carousel-wrapper .title a.fleft {
        padding: 10px;
    }

.owl-item .thumbnail {
    min-height: 340px;
    text-align: right;
    position: relative;
}

    .owl-item .thumbnail .product-box-add-to-cart-button {
        position: absolute;
        bottom: 10px;
        left: 10px;
    }

    .owl-item .thumbnail .old-price {
        color: red;
        text-decoration: line-through;
    }

    .owl-item .thumbnail .price {
        color: green;
    }

@media (min-width: 1001px) {
    .theme-custom {
        margin: 0 !important;
    }
}

#sortingcatalogview .navbar-form {
    background-color: #f5f5f5;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    border-radius: 5px;
}

@media only screen and (max-width: 768px) {
    .navbar-nav > li {
        border: none !important;
    }

    .navbar .navbar-collapse, .navbar .navbar-form {
        width: 100%;
    }

    .nav {
        margin: 7.5px auto;
        text-align: center;
    }

    .header-links-wrapper, .header-selectors-wrapper {
        float: right !important;
    }

    .search-box .form-control {
        width: 80%;
        display: inline-block;
    }

    .search-box .btn {
        display: inline-block;
        width: 18%;
    }
}

.fright {
    float: right;
}

.fleft {
    float: left;
}


.bar-notification {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 15px 10px 15px 25px;
    line-height: 16px;
    color: #fff;
    opacity: 0.95;
}

    .bar-notification.success {
        background-color: #4bb07a;
    }

    .bar-notification.error {
        background-color: #e4444c;
    }

    .bar-notification .content {
        margin: 0 0 0 10px;
    }

        .bar-notification .content a {
            color: #fff;
            text-decoration: underline;
        }

    .bar-notification .close {
        position: absolute;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        margin: 7px;
        background: #fff url('../images/close.png') center no-repeat;
        cursor: pointer;
    }
