/*
IRAN Sans-serif fonts are considered a proprietary software. To gain information about the laws regarding the use of these fonts, please visit www.fontiran.com
--------------------------------------------------------------------------------------
This set of fonts are used in this project under the license: 3D3V2D
--------------------------------------------------------------------------------------
*/
@font-face {
font-family:'OpenSans';
    src:url('../fonts/OpenSans-Regular.eot?#iefix') format('eot'),  /* IE6–8 */
        url('../fonts/OpenSans-Regular.woff2') format('woff2'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/OpenSans-Regular.ttf') format('truetype'),  /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
        local('OpenSans-Regular');
    font-weight: 300;
}

@font-face {
font-family:'OpenSans-bold';
    src:url('../fonts/OpenSans-Semibold.eot?#iefix') format('eot'),  /* IE6–8 */
        url('../fonts/OpenSans-Semibold.woff2') format('woff2'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/OpenSans-Semibold.ttf') format('truetype'),  /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
        local('OpenSans-Semibold');
    font-weight: 600;
}

@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/eot/IRANSansWeb_Bold.eot');
	src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/eot/IRANSansWeb.eot');
	src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/woff/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}

@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/eot/IRANSansWeb_Medium.eot');
	src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/eot/IRANSansWeb_Light.eot');
	src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

::-webkit-input-placeholder {
    position: relative;
    top: 0px;
    font-size: 13px;
}

:-moz-placeholder { /* Firefox 18- */
    position: relative;
    top: 0px;
    font-size: 13px;
}

::-moz-placeholder {  /* Firefox 19+ */
    position: relative;
    top: 0px;
    font-size: 13px;
}

:-ms-input-placeholder {
    position: relative;
    /*top: 4p0;*/
    font-size: 13px;
}

/* Bootstrap fix */

* {
    font-family: IRANSans, 'Iran Sans', 'BYekan', 'B Yekan', Tahoma;
}

a:hover, .btn, a:focus {
	text-decoration: none !important
}

.navbar {
	border-radius: 0 !important
}

.control-label {
	text-align: left;
}

.alert {
	margin-bottom: 30px;
    line-height: 200% !important;
}

.well {
	background: #f5f5f5 !important
}

.help-block {
    font-size: 12px !important;
    font-weight: 400;
}

.nav-tabs a {
	color: #666;
}

.badge {
    min-width: 30px !important;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -o-border-radius: 3px !important;
    font-weight: 400 !important;
}

.list-group-item:hover {
    background: #f5f5f5
}

.panel-heading button, .panel-heading a.pull-left {
    position: relative !important;
	top: -6px !important
}

.responsive-visibility() {
  display: block !important;
  tr& { display: table-row !important; }
  th&,
  td& { display: table-cell !important; }
}

.responsive-invisibility() {
  display: none !important;
  tr& { display: none !important; }
  th&,
  td& { display: none !important; }
}

.form-horizontal .checkbox, .form-horizontal .checkbox-inline, .form-horizontal .radio, .form-horizontal .radio-inline {
    padding-top: 4px;
}

.help-block {
    margin-bottom: 0px;
}

.panel-body {
    padding-top: 15px !important;
}

th {
    font-weight: 600 !important
}

th:hover {
    cursor: url('../images/sorting.png'), auto;
}

table {
    margin-top: 10px !important
}

.btn {
    font-size: 13px !important;
    margin-bottom: 10px !important
}

.btn-sm {
    font-size: 12px !important;
}

.h4, h4 {
    font-size: 16px !important;
}

.h3, h3 {
    font-size: 20px !important;
}

h3.popover-title {
    font-size: 12px !important;
}

.dropdown-menu>li>a {
    font-size: 13px !important;
}

canvas {
    margin: 0 auto;
    height: 100%;
    width: 100%;
    max-width: 100%;
    max-height: 100%
}

/* Custom responsive */
@media screen and (max-width:1024px) {
    .center-li {
        min-width:70px !important
    }
    
    .navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav>li>a {
        font-size:11px
    }
}

@media screen and (max-width: 767px) {
    .vertical-divider {
        border-left: 0px !important
    }
    
    .dropdown-menu>li>a {
        text-align: center !important
    }
}

.table-responsive {
    border: 0px !important
}

.form-control {
    font-size: 13px !important;
    font-weight: normal
}

select.form-control option,select.form-control {
    font-size: 12px !important
}

.tooltip-inner {
    font-size: 10px !important;
    padding: 5px 10px !important;
}

.dropdown-menu li a {
    font-size: 12px !important
}

#reports .input-group-addon {
    font-size: 12px;
    font-weight: 300 !important;
    min-width: 150px
}

#reports .input-group {
    margin-left: 10px
}

#reports .form-group {
    margin-bottom: 15px
}

optgroup {
    font-size: 10px !important;
    font-weight: 100;
    color: gray
}

optgroup option {
    font-size: 12px !important;
    color: #333;
}

.addon-sm {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important
}

html, body {
    background: #f8f8f8;
    height: 100%;
    font-size: 13px;
    direction: rtl;
    line-height: 150%;
    font-weight: 500
}

#header {
	height: 70px;
	background: white
}

#menu {
	height: 70px
}

.center-li {
	text-align: center;
	min-width: 105px;
	border-left: 1px solid #424242;
    font-family: IRANSans;
}

li.first {
	border-right: 1px solid #424242 !important
}

.center-li i {
	margin-bottom: 5px
}

.gray-box {
    color: #666;
    background-color: #f8f8f8;
    border-color: #eee;
    padding-bottom: 5px;
    text-align: justify
}

.success-box {
    background-color: #e9f5e5bf;
    border-color: #deeada;
    color: #666;
    padding-bottom: 5px;
    text-align: justify
}

#talks {
	padding-top: 14px;
}

.talks-holder {
	margin-top: 14px
}

.talks-holder h3 {
	margin-top: 0;
}

.box-title {
	padding-bottom: 5px;
	font-size: 12px
}

.gray-des {
	color: #ADADAD;
}

.danger-des {
    color: white;
    background: #D54C48;
    padding: 3px 5px;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -o-border-radius: 3px !important;
}

footer {
    color: #ccc !important;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
    height: 50px;
    direction: ltr;
    font-family: 'OpenSans' !important;
}

footer a, footer {
	color: #999;
	text-decoration: none;
	font-size: 12px;
    font-family: 'OpenSans' !important;
}

footer div a {
    font-family: IRANSans !important;
    font-weight: 300 !important;
    font-size: 11px !important 
}

#copyright {
    font-family: 'OpenSans' !important;
    font-size: 10px;
}

footer a:hover {
	color: #999;
}

.flip {
	transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	-ms-transform: scaleX(-1);
}

.link {
	padding: 5px 8px 5px 8px
}

#new-ticket,#new-department,#new-staff,#new-customer,#new-kb,#new-kb-cat,#new-invoice,#new-ticket-cat {
	position: relative;
	top: -4px
}

small {
	font-weight: 400;
    font-size: 12px;
    line-height: 150%
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #EEE;
    margin: 1em 0;
    padding: 0;
}

hr.dotted {
    border-top: 1px dotted #dadada;
}

.code {
	font-family: 'Courier New', Courier;
	font-size: 12px
}

.more-height {
    line-height: 200% !important;
}

.panel-heading i, panel-heading glyphicon {
    margin-left: 5px
}

.panel-body {
    padding-top: 30px
}

#dashboard > div.panel {
    padding-right: 0;
    padding-left: 0;
}

.message {
    padding: 5px 14px 5px 14px;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -o-border-radius: 3px !important;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px !important;
}

.message a {
    font-weight: bold
}

.btn-icon {
    padding: 3px;
    color: #666
}

.btn-icon:hover {
    color: #333
}

#main {
	min-height: 100%;
	height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
	height: 100%;
	margin: 0 auto -85px; /* the bottom margin is the negative value of the footer's height */
}

.push {
    height: 50px;
    margin-top: 20px
}

.drag {
    cursor: move
}

#logo {
    max-width: 200px;
    max-height: 50px;
    position: relative;
    top: 10px
}

#submit-search {
    cursor: pointer;
}

#search {
    background: #f9f9f9
}

#search-bar {
    position: relative;
    top: 18px;
}

#responsive-search {
    position: relative;
    float: left;
    margin-left: 15px;
    right: 5px;
}

.center {
    text-align: center
}

.vertical-divider {
    border-left: 1px solid #e1e1e1
}

.abbr-link {
    cursor: pointer !important;
    border-bottom: 0px !important
}

#reply-ticket,#transfer-ticket {
    display: none
}

strong {
    font-weight: 600;
}

.star {
    color: #518DC1 !important
}

.score-star {
    cursor: pointer;
}

.customer-info {
    display: block;
}

#ticket-status-des {
    position: relative;
    top: 6px
}

.ticket-title {
    text-align:right;
    padding-bottom: 10px;
    position:relative;
    left: 43px;
    top:7px;
    overflow: hidden;
    line-height: 200%;
}

.email-down {
    position: relative;
    top: 1px
}

.info-box {
    background: #d9eff9ad;
    color: #666;
    border-color: #cdebf1;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: justify
}

.btn-black {
    background: #999
}

.bottom-margin {
    margin-bottom: 10px
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: left;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

small.attachment_link {
    position: relative;
    top: -15px;
}

small.attachment_link a {
    color: #EC8A0C;
    text-decoration: none;
}

.eng {
    font-family: 'OpenSans'
}

select {
    padding-bottom: 2px !important;
    padding-top: 2px !important;
    font-size: 13px;
}

.photo {
    -webkit-box-shadow: 0px 0px 8px 0px #999;
    -moz-box-shadow: 0px 0px 8px 0px #999;
    box-shadow: 0px 0px 8px 0px #999;
    border-radius: 50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    height: 100px;
    border:1px solid white
}

.small_photo {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    position:relative; height:60px; float:right; left:-2px; top: -14px; border: 3px solid #fff;  
}

.form-control:focus {
    border: 1px solid #bbb;
    box-shadow: 0px 0px 10px #ddd;
}

textarea.form-control {
    line-height: 150% !important
}

.input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group, .input-group-btn:first-child>.btn, .input-group-btn:first-child>.btn-group {
    padding-top: 7px;
    padding-bottom: 7px
}

.btn {   
    outline: none !important;
}

a.message-link {
    color: #333;
    direction: ltr !important;
}

div.datepicker {
    max-width: 210px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.more-btn {
    color: #666
}

.more_row {
    display: none
}

.red_highlight {
    background: rgba(255, 0, 0, 0.08) !important
}

#sla_setting {
    display: none
}

span.fa-badge {
    font-family: IRANSans !important;
    font-weight: normal;
    font-size: 11px;
    padding: 4px 8px;
    width: 90px
}

div.panel-body {
    line-height: 200% !important;
    font-weight: normal
}

.btn-group {
    position: relative;
    top: -1px
}

.pe {
    font-family: IRANSans !important;
}

.btn-group a i.single {
    position: relative;
    left: -2px
}

#print,#inside-search-btn, .inside-btn {
    position: relative;
    top: -4px
}

#inside-search-bar {
    position: relative;
    top: 0px;
    margin-bottom: 10px;
    display: none
}

img.satisfaction {
    position: relative;
    top: -2px;
    margin-left: 3px;
    margin-right: 3px;
    opacity: .2;
    transition: all 0.3s;
    width: 32px
}

img.satisfaction.active {
    opacity: 0.8 !important
}

img.satisfaction2 {
    width: 16px;
}

#satisfaction-msg {
    position: relative;
    top: -1px;
    left: 3px;
    color: #666
}

.remove-left {
    padding-left: 0;
}

.remove-right {
    padding-right: 0
}

.form-inline .form-control {
    margin-left: 10px
}

label {
    font-weight: normal;
}

#report-area div {
    margin-bottom: 50px !important;
}

.hidden-form {
    display: none
}

.table-responsive {
  direction: rtl;
}
.table-responsive > table {
  direction: rtl;
}

button.dropdown-toggle.btn-default {
    background: #fff;
    direction: rtl
}

.bootstrap-select .dropdown-toggle .caret {
    right: auto !important;
    left: 12px !important;
}

.bootstrap-select .dropdown-toggle .filter-option {
    text-align: right !important;
    padding-right: 5px !important;
}

.input-group .bootstrap-select.form-control .dropdown-toggle {
    padding-top: 8px;
    min-width: 150px;
}

.input-group .bootstrap-select.form-control {
    z-index: inherit;
}

#refresh-captcha {
    cursor: pointer
}

#captcha-image {
    width: 90px
}

.table-responsive .table {
    max-width: none;
}

.external_link {
    position: relative;
    top: 3px;
    color: #666;
}

#back-to-top, #back-to-top:visited, #back-to-top:focus {
	position: fixed;
	display: none;
    background:rgba(0,0,0,0.4);
    bottom:20px;
    left:20px;
    text-align:center;
    border-radius:0px;
    z-index:100;
    opacity: 1;
    transition: opacity 0.4s;
    -webkit-transition: opacity 0.4s;
    border-radius: 5px;
    transition: all 0.3s
}

#back-to-top i {
    color:#fff !important;
    display:block;
    line-height:40px;
    width:40px;
    height:40px;
}

#back-to-top:hover {
    opacity:1;
    filter:alpha(opacity=100);
    background:rgba(0,0,0,0.7);
}

.btn:focus, img:focus, a:focus {
  outline: none !important;
}

.hidden {
    display:none;
}

.dot-label {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    position:relative;
    top:2px;
}

@media print {
    a:link:after, a:visited:after {
        content: "" !important;
        display: none !important;
    }
    
    .sla, tr.more_row {
        display: table-row
    }
    
    table>tr>td.hidden-xs {
        display: table-cell !important
    }
    
    .visible-xs {
        .responsive-invisibility();
    }

    .hidden-xs {
        .responsive-visibility();
    }

    .hidden-xs.hidden-print {
        .responsive-invisibility();
    }

    .hidden-sm {
        .responsive-invisibility();
    }

    .visible-sm {
        .responsive-visibility();
    }
    
    #tc {
        display: table-cell
    }
    
    .red_highlight {
        background: #eee !important
    }
    
    td.hidden-xs, th.hidden-xs {
        display: table-cell !important
    }
    
    small.hidden-xs, span.hidden-xs {
        display: inline-block !important
    }
    
    img {
        display: none !important
    }
    
    .ticket-title {
        left: 0 !important
    }
    
    a.btn {
        display: none !important
    }
}

@media screen and (max-width: 992px) {
    .remove-left {
        padding-right: 0
    }
    .remove-right {
        padding-left: 0
    }
    .table-responsive > table {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .ticket-title {
        left: 0 !important;
    }
    .btn {
        padding: 6px 9px 4px 9px !important;
    }
}

@media screen and (max-width: 350px) {
    .small_photo {
        display: none !important;
    }
    .ticket-title {
        left: 0 !important;
        top: 0 !important;
    }
}
