@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/iransans/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/iransans/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iransans/woff2/IRANSansWeb_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/iransans/woff/IRANSansWeb_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iransans/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

body {
    background-color: #f1f4f6;
    color: #171a1d;
}

a {
    text-decoration: none !important;
    color: #1e1e2d;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'IRANSans';
    font-size: 13px;
    line-height: 22px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANSans';
}

p {
    font-size: 12px;
}

label {
    font-size: 15px;
}

a:hover {
    text-decoration: none;
    color: #328EFE;
}

.ltr {
    direction: ltr;
}

/* Forms */
input[type="text"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder {
    text-align: right;
}

input[type="text"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder {
    text-align: right;
}

input::-moz-placeholder {
    text-align: right;
}

.input-hide-spin::-webkit-outer-spin-button,
.input-hide-spin::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.required {
    color: #ff0000;
    font-weight: bold;
}

label.error {
    color: #FF5722;
    white-space: nowrap;
    font-size: 12px;
}

.input-group-addon:first-child {
    border-right: 1px solid #dfd7ca;
}

.table-text-center td, .table-text-center th {
    text-align: center;
}

/* Icons */
[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("../img/glyphicons-halflings.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
    margin-top: 1px;
}

.icon-circle-arrow-left {
    background-position: -264px -144px;
}

.icon-circle-arrow-right {
    background-position: -240px -144px;
}

a.ui-datepicker-next, a.ui-datepicker-prev {
    padding: 7px 14px;
}

/* Tables */
.table > tbody > tr > .emptyrow {
    border-top: none;
}

.table > thead > tr > .emptyrow {
    border-bottom: none;
}

.table > tbody > tr > .highrow {
    border-top: 3px solid;
}

td.sorted {
    background-color: #f1fced !important;
}

.tooltip {
    font-family: 'IRANSans';
}

.input-sm-filter {
    width: 110px;
}

.count {
    position: absolute;
    top: 11px;
    left: 9px;
    background-color: #FF9800;
    border-radius: 50%;
    text-align: center;
    padding: 3px;
    min-width: 25px;
    min-height: 25px;
    font-size: 11px;
}

.span-time {
    display: inline-flex;
    font-family: IRANSans;
}

.span-date {
    display: inline-flex;
    margin-right: 8px;
    font-family: IRANSans;
}

.select2-container {
    width: 100% !important;
}

.select2-results {
    direction: rtl;
}

.select2-container--default {
    direction: rtl;
}

/* Bootstrap IE10 viewport bug workaround */
@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

/* Bootstrap customization */
.dropdown-menu > li > a {
    font-size: 12px;
}

.modal.in .modal-dialog {
    z-index: 999999;
}

.alert-dismissable .close, .alert-dismissible .close {
    left: -5px;
}

.alert-dismissable .close, .alert-dismissible .close {
    top: -4px;
}

.alert-success {
    background: #65f7d5;
    color: #05755b;
}

#user-menu {
    font-size: 12px;
    background-color: #328efe;
    color: #ffffff;
    border: 0px none;
    margin: 16px 5px 0 0;
    box-shadow: 0 0 0 0;
}

.btn {
    font-family: IRANSans;
    font-size: 13px;
    font-weight: normal;
}

.btn, .btn-xs {
}

.panel-heading .btn {
    padding: 2px 8px;
}

.panel-heading {
    font-family: IRANSans;
    font-size: 13px;
}

.form-control {
    font-size: 13px;
}

.navbar-nav > li > a {
    font-family: IRANSans;
    font-size: 13px;
}

.page-header {
    /* border-bottom: 1px solid #c5c5c5; */
    /* box-shadow: 0px 1px 0px #ecf0f1; */
}

.full-with {
    width: 100% !important;
}

.dropdown-menu > li > a {
    padding: 7px 20px;
}

.page-header {
    margin-top: 0px;
}

.navbar-brand {
    padding: 0 0;
    margin: 13px 0 0 0;
}

.navbar-brand img {
    padding: 0 0 0 13px;
    width: auto;
    height: 49px;
    top: 7px;
    position: relative;
}

@media (min-width: 1500px) {
    .container {
        width: 1400px;
    }
}

@media (max-width: 1499px) and (min-width: 1441px) {
    .container {
        width: 1400px;
    }
}

@media (max-width: 1440px) and (min-width: 1390px) {
    .container {
        width: 1290px;
    }
}

@media (max-width: 1384px) and (min-width: 1300px) {
    .container {
        width: 1290px;
    }
}

@media (max-width: 1199px) and (min-width: 1100px) {
    .container {
        width: 1080px;
    }
}

@media (max-width: 991px) and (min-width: 930px) {
    .container {
        width: 930px;
    }
}

@media (max-width: 929px) and (min-width: 900px) {
    .container {
        width: 890px;
    }
}

@media (max-width: 899px) and (min-width: 850px) {
    .container {
        width: 830px;
    }
}

@media (max-width: 1199px) {
    .navbar-header {
        clear: both;
        width: 100%;
        margin-bottom: 2px;
    }

    a.navbar-brand {
        float: none;
    }

    .navbar-brand img {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    ul.nav.navbar-nav > li > a > .fa {
        display: none !important;
    }

    .navbar-brand img {
        float: right;
    }

    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        border-color: #2768bb;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .caret {
        position: absolute;
        left: 21px;
        top: 18px;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #ffffff;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
        display: none;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover {
        background-color: transparent;
    }

    li.nav-user-credit {
        margin: 0 0 7px 0 !important;
        border-radius: 0 !important;
    }

    .navbar-toggle {
        margin: 14px 0 0 0;
        border-color: #2768bb !important;
    }

    .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
        background-color: #2768bb;
    }
}

@media (max-width: 278px) {
    .navbar-brand img {
        margin: 0 auto;
        float: none;
        padding: 0 0 23px 0;
        clear: both;
    }
}

.table-container {
    width: 100%;
    overflow-y: auto;
    _overflow: auto;
    margin: 0 0 1em;
}

.table-panel {
    border-right: 1px solid #ecf0f1;
    width: 100%;
}

.table-panel tr td {
    border-left: 1px solid #ecf0f1;
    padding: 6px 8px;
    border-bottom: 1px solid #ecf0f1;
}

.table-panel .active td, .table-panel .active th {
    background-color: #f9f9fc;
    padding: 6px 8px;
}

.width-auto {
    width: auto;
}

.panel-heading {
    display: flow-root;
}

.ticket .ticket-replies .avatar {
    padding: 12px 0px 11px 0;
    text-align: center;
}

.ticket .ticket-replies .author {
    float: right;
    border-left: 1px solid #f5f5f5;
    width: 112px;
    margin: 0 0 0 -1px;
    text-align: center;
}

.ticket .ticket-replies .reply {
    border-right: 1px solid #f5f5f5;
    display: flow-root;
    padding: 0 13px 0 0;
    font-size: 14px;
}

.ticket .ticket-replies .date {
    color: #dadbdb;
    text-align: left;
    direction: ltr;
    margin: 0 0 10px 0;
}

.ticket .ticket-replies .avatar img {
    border-radius: 50%;
    width: 80px;
}

.ticket .ticket-replies .attachment {
    margin: 0 6px 4px 0;
}

.ticket .ticket-replies .edit {
    display: inline-block;
    margin-right: 8px;
}

.ticket .ticket-replies .edit a {
    padding: 4px 5px 1px;
    line-height: 16px;
}

.ticket .ticket-replies .role p {
    background-color: #d8dada;
    display: inline-block;
    padding: 0px 7px;
    color: #ffffff;
    border-radius: 5px;
}

.ticket .ticket-replies .role .admin {
    background-color: #1dc9b7 !important;
}

.ticket.panel.admin {
    border-right-color: #18bc9c;
    border-right-width: 5px;
}

.ticket.panel.panel-default {
    border-right-width: 5px;
}

.nowrap {
    white-space: nowrap;
}

.tooltip-inner {
    white-space: nowrap;
}

/**
Ajax Form
 */
.ajax-form .do-upload {
    margin: 21px 6px 0 0;
}

.ajax-form .progress-wrapper {
    position: relative;
    width: 79%;
    display: none;
}

.ajax-form .progress {
    position: relative;
    margin: 20px 0;
    height: 24px;
}

.ajax-form .progress-bar {
    width: 0%;
    -moz-border-radius: 4px;
    line-height: 25px;
    font-size: 13px;
}

ul.nav.navbar-nav > li > a > .fa {
    clear: both;
    display: block;
    text-align: center;
    color: #ecf0f1;
    padding: 0 0 14px 0;
}

tbody a {
    color: #328efe;
}

.order-note {
    max-height: 300px;
    overflow: overlay;
}

.order-note .order-notes {
    position: relative;
    border-bottom: 1px solid #e4e4e4;
    padding: 11px 15px;
}

.order-note .order-notes:last-child {
    border-bottom: 0px none;
}

.order-note .sender {
    float: right;
    width: 100%;
}

.order-note .sender img {
    border-radius: 50%;
    width: 40px;
    float: right;
    margin-left: 10px;
}

.order-note .sender .date {
    display: inline-block;
    font-size: 11px;
    color: #bdbdbd;
    direction: ltr;
}

.order-note .content {
    padding: 12px 0;
    display: inline-block;
}

.order-note .sender .name {
    display: block;
}

.radio label {
    margin-left: 11px;
}

span.badge.badge-ino {
    margin-left: 5px;
    padding: 3px 5px;
    font-size: 11px;
}

.badge-gray {
    background-color: #979898;
}

.badge-confirmed, .badge-accepted {
    background-color: #37a4ff;
}

.badge-rejected {
    background-color: #e74c3c;
}

.badge-pending {
    background-color: #FFC107;
}

.badge-success {
    background-color: #6EBB51;
}

.badge-canceled {
    background-color: #6D5976;
}

.btn.btn-green {
    background-color: #6EBB51;
    color: #ffffff;
}

.btn.btn-red {
    background-color: #E91D2F;
    color: #ffffff;
}

.g-recaptcha {
    display: inline-block;
}

div.tooltip-inner {
    max-width: 550px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    background-color: #328efe;
}

.navbar-nav > li > a {
    padding: 10px 13px;
}

.btn-light {
    background-color: #f1f4f6;
}

.container.theme-showcase {
    padding-top: 90px;
}

.navbar-static-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}