﻿body {
    direction: rtl;
    text-align: right;
    font-family: 'shabnam';
    font-size: 90%;
}


.form-login {
    background: aliceblue;
    padding: 12px;
    border: 1px dashed lightblue;
    border-radius: 25px;
    margin-top: 140px;
}

.form-login .form-control,
.form-login .btn {
    border-radius: 25px;
}

.navbar-nav {
    padding-right: 0;
}

.cartable-tickets .btn {
    white-space: nowrap;
}
.cartable-tickets .btn:disabled {
    background-color: #6b6b6b;
    cursor: not-allowed;
}

.vc-pagination {
    direction: ltr;
}
.cartable-title {
    min-width: 326px;
    display: inline-block;
}
.advance-search {
    border: 1px solid white;
    padding: 15px 0;
    margin-bottom: 8px;
    border-radius: 5px;
}
    .advance-search .form-control {
        height: 28px;
        font-size: 0.8rem;
        padding: 0 8px;
    }
.advance-search__button {
    background: #ffa600;
    border-color: #ffa600;
    padding: 3px 35px;
}
.advance-search-btn {
    background: #f0f0f0;
    color: #3a3a3a;
    padding: 2px 20px;
    border-radius: 2px;
}
.cartable-reload-btn {
    background: none;
    border: none;
}

.cartable-reload-btn i {
    color: #d29e00;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    color: #4b4b4b;
}

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background: #9dc248;
        color: white;
        border-radius: 8px 8px 0 0;
    }

        .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active:hover {
            background: #9dc248;
            color: white;
        }

.nav-tabs .nav-item {
    background: #d7d7d7;
    margin-left: 2px;
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    background: #d7d7d7;
    border-radius: 8px 8px 0 0;
}

.card-body table thead tr th {
    font-size: 0.8rem;
    font-weight: normal;
}

.card-body table tbody tr td {
    font-size: 0.8rem;
    font-weight: normal;
}

.orders-summary-area {
    margin-top: -48px;
}
.orders-summary {
    display: none;
    background: #ffd08e;
    padding: 10px 50px;
}

.orders-summary span {
    margin-right: 60px;
}

.orders-summary-area .toggle-summary {
    position: absolute;
    left: 230px;
    top: 95px;
    background: #ffd08e;
    padding: 0 12px;
    border: none;
    z-index: 2;
    border-radius: 0 0 20px 20px;
}

.orders-summary-area .show-summary {
    display: none;
}

.orders-summary-area .toggle-summary.show-summary {
    top: 54px;
}

.side-box-area {
    position: fixed;
    left: -310px;
    min-width: 310px;
    max-width: 310px;
    background: #f7f7f7;
    min-height: 570px;
    z-index: 12;
    top: 152px;
    padding: 0px 0px;
    border-radius: 0 10px 10px 0;
}

.side-box-area.show {
    left: 0;
    -webkit-animation-name: show-side-box;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-box-shadow: 4px 4px 5px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 4px 5px -4px rgba(0,0,0,0.75);
    box-shadow: 4px 4px 5px -4px rgba(0,0,0,0.75);
}

@-webkit-keyframes show-side-box {
    from {
        left: -310px;
    }

    to {
        left: 0;
    }
}

@keyframes show-side-box {
    from {
        left: -310px;
    }

    to {
        left: 0;
    }
}

.side-box-area.hide {
    left: -310px;
    -webkit-animation-name: hide-side-box;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
}

@-webkit-keyframes hide-side-box {
    from {
        left: 0;
    }

    to {
        left: -310px;
    }
}

@keyframes hide-side-box {
    from {
        left: 0;
    }

    to {
        left: -310px;
    }
}

.side-box-area .toggle-side-box.hide-side-box {
    display: none;
}

.side-box-area .toggle-side-box {
    top: 6px;
    left: 310px;
    position: absolute;
    border: none;
    background: #ffd08e;
    padding: 6px 12px 6px 8px;
    border-radius: 0 20px 20px 0;
}

.order-form .order-form-header {    
    height: 30px;
    padding: 4px;
    margin-top: 0;
    margin-bottom: 8px;
    border-radius: 25px;
}

.order-form .form-group {
    margin-bottom: 0.5rem;
}

.order-form .form-group .form-control,
.order-form .input-group-text,
.filters-form .form-group .form-control,
.filters-form .input-group-text {
    height: 28px;
    font-size: 0.8rem;
    padding: 0 8px;
}

.order-form textarea.form-control {
    min-height: 50px;
}

.order-form .input-group .form-control,
.order-form .input-group .input-group-text,
.filters-form .input-group .form-control,
.filters-form .input-group .input-group-text {
    height: 28px;
    font-size: 0.8rem;
}

.order-form .input-group .input-group-append {
    height: 38px;
}

.add-to-list-btn {
    font-size: 12px;
}

.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child), .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-radius: .25rem 0 0 .25rem;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-radius: 0 .25rem .25rem 0;
}

.shipping-details-area {
    background: #ffe9a9;
    padding: 10px 0;
    margin-bottom: 8px;
}

.modal-footer {
    display: block;
}

.select2,
.select2-ajax,
.chosen,
.chosen-ajax,
.chosen-container {
    min-width: 100%;
    max-width: 100%;
}


.order-content .remove-product-item {
    color: darkred;
    padding: 0;
}

.order-content .remove-product-item:focus {
    box-shadow: none;
}

.order-content .edit-product-item {
    color: darkorange;
    padding: 0;
}

.order-content .edit-product-item:focus {
    box-shadow: none;
}

.bg-edit {
    background-color: #ffda6c !important;
}

.modal-open .modal {
    background: rgba(0,0,0,0.5);
}

table th a {
    cursor: pointer;
}

.search-box {
    border: 1px solid #ccc;
    padding: 10px 0;
    margin-bottom: 20px;
}

.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
    padding: 2px;
    vertical-align: middle;
}

.product-property-selector-wrapper {
    position: relative;
}

.product-property-selector {
    display: none;
    position: absolute;
    z-index: 9;
    background: #6c757d;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    top: 60px;
    right: 0;
    width: 100%;
}

.product-property-selector.active {
    display: block;
}

.product-property-selector-closer {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #999;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.custom-tooltip {
    cursor: help;
    position: relative;
}

.custom-tooltip::before,
.custom-tooltip::after {
    left: 50%;
    opacity: 0;
    position: absolute;
    z-index: -100;
}

.custom-tooltip:hover::before,
.custom-tooltip:focus::before,
.custom-tooltip:hover::after,
.custom-tooltip:focus::after {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 100;
}

.custom-tooltip::before {
    border-style: solid;
    border-width: 1em 0.75em 0 0.75em;
    border-color: #3E474F transparent transparent transparent;
    bottom: 100%;
    content: "";
    margin-left: -0.5em;
    transition: all .25s cubic-bezier(.84,-0.18,.31,1.26), opacity .65s .5s;
    transform: scale(.6) translateY(-90%);
}

.custom-tooltip:hover::before,
.custom-tooltip:focus::before {
    transition: all .35s cubic-bezier(.84,-0.18,.31,1.26) .2s;
}

.custom-tooltip::after {
    background: #3E474F;
    border-radius: .25em;
    bottom: 180%;
    color: #EDEFF0;
    content: attr(data-tip);
    margin-left: -8.75em;
    padding: 1em;
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
    transform: scale(.6) translateY(50%);
    width: 17.5em;
}

.custom-tooltip:hover::after,
.custom-tooltip:focus::after {
    transition: all .25s cubic-bezier(.84,-0.18,.31,1.26);
}

@media (max-width: 760px) {
    .custom-tooltip::after {
        font-size: .75em;
        margin-left: -5em;
        width: 10em;
    }
}

.dont-show {
    display: none;
}