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

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

body, .button, .button:visited, input, select, textarea, p, .tooltip, .datepicker-plot-area, .redactor-styles,
input[type="submit"], input[type="reset"], input[type="button"], .action-button, .button,
.pdp-default .rows, .pdp-default .days, .pdp-default .pdp-footer, .pdp-default .dow, .thread-body,
h1, h2, h3, h4, h5, h6 {
    font-family: iranyekanweb, iranyekanwebfa !important;
}

.redactor-styles {
    direction: rtl !important;
}

.redactor-styles ul li, .redactor-styles ol li {
    text-align: right !important;
}

.thread-event {
    padding: 0 2px 15px;
    margin-left: 60px;
}

.redactor-styles ul, .redactor-styles ul ul, .redactor-styles ul ol, .redactor-styles ol,
.redactor-styles ol ul, .redactor-styles ol ol {
    margin: 0 1.5em 0 0 !important;
}

.ticket_info th, .infoTable th {
    text-align: right !important;
}

.ticket_info td, .infoTable td {
    width: 50% !important;
}

#thread-items::before, #ticketThread::before {
    border-right: 2px dotted #ddd;
    border-left: none;
    margin-right: 74px;
    margin-left: auto;
}

.thread-event {
    margin-right: 60px;
    margin-left: auto;;
}

.type-icon {
    margin-left: 5px;
    margin-right: auto;
}

.thread-entry.avatar {
    margin-right: 60px;
    margin-left: auto;
}

.thread-entry > .avatar {
    margin-right: -60px;
    margin-left: auto;
}

.muted-button {
    margin: -1px 5px -1px 0;
}

.table tr.header td, .table tr.header th, .table > thead th {
    text-align: right;
}

label.checkbox {
    padding-right: 1.3em;
    padding-left: 0;
    text-indent: -1.3em;
}

#nav .inactive li a {
    padding: 0 34px 0 10px;
}

.configureQ > .noclick-dropdown:before {
    right: 9px;
    left: auto;
}

.configureQ > .noclick-dropdown:after {
    right: 10px;
    left: auto;
}

.action-dropdown ul, .noclick-dropdown ul {
    text-align: right;
}

#footer {
    display: none;
}

.rtl #nav .inactive li, .rtl #sub_nav li {
    padding-left: 5px;
    padding-right: 5px;
}

.customQ-dropdown ul li > a {
    margin-right: 0px;
}

.input.attached {
    margin-left: 5px;
    margin-right: 0;
}

.input.attached input {
    border-right: 1px solid #999;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.button.attached {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 1px solid #999;
    border-right: none;
}

.pull-right.avatar {
    float: right;
}

.redactor-box {
    direction: rtl;
}

.thread-entry .header .title {
    margin-right: 15px;
    margin-left: 0;
}

.rtl #sub_nav li + li > a {
    margin-left: 10px;
    margin-right: 0;
}

[class^="icon-"].pull-right, [class*=" icon-"].pull-right {
    margin-right: 0.3em;
    margin-left: 0;
}

.jb-overflowmenu-menu-primary div.customQ-dropdown {
    right: -1px;
    left: auto;
}

.thread-entry.avatar .header:before, .thread-entry.avatar.note .header:before,
.thread-entry.avatar .header:after, .thread-entry.avatar.note .header:after {
    display: none !important;
}

#poweredBy, #loginBody #company {
    display: none;
}

input {
    text-align: right;
}

/* .preview {
    height: 200px;
    width: auto;
} */

#ticketTable caption, #ticketTable th {
    text-align: right;
}

#ticketForm input[name="reset"] {
    display: none;
}

.filedrop .dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    color: #999;
}