* { direction: rtl; }
.ui.menu .item.no-border:before {
width: 0px;
}
.sidebar a.item {
line-height: 2em !important;
}

body, .pusher {
background-color: #ededed !important;
}
.ui-main {
background-color: #fff;
padding: 10px;
}
.ui-main > .ui.tabular.menu {
border-color: #3395d6;
border-bottom-width: 3px;
}

.ui-main > .ui.tabular.menu .active.item {
background-color: #3395d6;
border-color: #3395d6;
color: #fff;
}

.in-no, .in-f, .in-p{display: block; font-size: 12px; color: red;}
.in-f{color: #06e406;}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.top-filter.fixed{
position: fixed;
top: 0;
background: #fff;
width: 100%;
max-width: 1127px;
padding-left: 25px;
padding-bottom: 10px;
margin-right: -25px;
padding-right: 25px;
z-index: 100;
border-bottom: 2px orange solid;
opacity: 0;
-webkit-animation:fadeIn ease-in 1;
-moz-animation:fadeIn ease-in 1;
animation:fadeIn ease-in 1;
-webkit-animation-fill-mode:forwards;
-moz-animation-fill-mode:forwards;
animation-fill-mode:forwards;
-webkit-animation-duration:0.5s;
-moz-animation-duration:0.5s;
animation-duration:0.5s;
}

.ui.message.top-fixed{
margin-top: 74px;
}

@media only screen and (max-width: 767px) {
.only-desktop {
display: none !important;
}
.ui.tabular.menu+.bottom.attached.segment.today-content {
padding: 0;
}
.ui.tabular.menu+.bottom.attached.segment.today-content > .accordion {
padding: 0;
}
.ui.dropdown .menu>.item {
font-size: 1.2rem;
}
.ui-header-mobile{
position: fixed;
top: 0;
width: 100%;
z-index: 100;
}
.ui.container{
margin-top: 54px;
}
.ui.message{
margin-top: 4px;
border-radius: 0 !important;
border-top: 2px orange solid;
border-right: 0 !important;
border-left: 0 !important;
}
.top-filter.ui.form{
padding: 10px 10px 0;
}
.top-filter.ui.form.fixed{
padding: 10px 0 0;
top: 54px;
margin: 0;
right: 0;
}
.top-filter.ui.form .field>label{
float: right;
width: 20%;
line-height: 34px;
display: none;
}
.top-filter.ui.form .field>.selection.dropdown{
}
.top-filter.ui.form .three.fields>.field{
float: right !important;
width: 33% !important;
padding: 0 5px;
margin-bottom: 8px;
}
.ui.form.top-filter .four.fields>.field{
width: 47% !important;
margin-right: 7px;
float: right;
}


}
@media only screen and (min-width: 768px) {
.only-mobile {
display: none !important;
}
}

.ui.label[class*="right pointing"]::before {
border-width: 0 0 1px 1px;
}
.ui.label[class*="bottom pointing"]::before, .ui.label[class*="pointing below"]::before {
border-width: 0 1px 1px 0;
}

.field .counter {
position: absolute;
left: 20px;
bottom: 14px;
font-size: 11px;
color: #aaa;
opacity: 0;
}

* {}
.picker {font-size:12px;}
.picker__frame {max-width:333px;}

@media (max-width:780px) {
.picker--opened .picker__frame {top:10% !important;}
}


.ui.table.ui-table-default tr.negative > td {
text-decoration: line-through;
}

.modal textarea {
border: 1px solid #000;
border-radius: 5px;
min-height: 150px;
min-width: 300px;
resize: none;
color: #000;
padding: 5px 10px;
}
.only-print { display: none; }

@media only print {
.no-print,
.ui-top-tabs,
.ui-footer,
.ui-footer-2{ display: none !important; }
.only-print { display: inherit !important; }
.ui.styled.accordion, .ui.styled.accordion .accordion {box-shadow:none !important;}
.today-content .order-segment .ui.active.title {background-color:#eee !important;}
}

.ui.pointing.menu .item:after {
border-bottom: 1px solid #D4D4D5;
border-right: 1px solid #D4D4D5;
border-left: none;
}


img.ui-logo {
width: auto;
height:25px;
margin-top:0px;
margin-right:25px;
}

/* MOBILE */
.ui-header-mobile {
display: none !important;
border-radius: 0 !important;
}
@media only screen and (max-width: 767px) {
.ui-header-mobile {
display: flex !important;
}
}
.ui-header-mobile img.ui-logo {
margin: 0 auto;
margin-top:13px;
}

/* DESKTOP */
.ui-header {
display: none !important;
border-radius: 0 !important;
}
@media only screen and (min-width: 768px) {
.ui-header {
display: flex !important;
}
}

.ui.menu .header.item{
font-weight: normal;
}

.ui.menu .header.item span.welcome-name{
color: #fff;
}

.ui-header img.ui-logo {
margin: 7px 57px 0 57px;
}

.ui-header div#ui-messages:before {
left: 2em;
right: initial;
}
.ui-header div#ui-messages table td {
font-size:0.8em;
}
.ui-header div#ui-messages table tr {
cursor:pointer;
}
.ui-header div#ui-messages table td:first-child {
text-align: center;
font-size: 0.6em;
}
.ui-header div#ui-messages table td:first-child b {
font-size: 1.2em;
}

#ui-header div#ui-messages table td:last-child {
width: 200px;
}

/*
POPUP MESSAGES
*/
.ui-header div.ui-messages:before {
left: 2em !important;
right: initial !important;
}
.ui-header div.ui-messages table td {
font-size:0.8em;
}
.ui-header div.ui-messages table tr {
cursor:pointer;
}
.ui-header div.ui-messages table td:first-child {
text-align: center;
font-size: 0.6em;
}
.ui-header div.ui-messages table td:first-child b {
font-size: 1.2em;
}

.ui-header div.ui-messages table td:last-child {
width: 200px;
}

.ui-top-tabs {
list-style: none;
margin: 0;
padding: 0;
display: block;
}

.ui-top-tabs li.ui-tab-item {
display: inline-block;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
background-color: #f3f3f3;
width: 95px;
text-align: center;
height: 70px;
margin-left: 1px;
vertical-align: top;
}

.ui-top-tabs li.ui-tab-item.active {
background-color: #fff;
}

.ui-top-tabs li.ui-tab-item a {
display: block;
padding: 0;
margin: 0;
color: #000;
height: 70px;
}
.ui-top-tabs li.ui-tab-item a i {
display: block;
margin: 0 auto;
padding-top: 12px;
text-align: center;
color: #bbb;
height: auto;
margin-bottom: 5px;
}
.ui-top-tabs li.ui-tab-item.active a i {
color: #3494d7;
}
.ui-top-tabs li.ui-tab-item.search{display: none;}
@media only screen and (max-width: 767px) {
.ui-top-tabs{
padding-top: 5px;
}
.ui-top-tabs li.ui-tab-item {
margin-bottom: 5px;
width: 80px;
height: 30px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
.ui-top-tabs li.ui-tab-item a{
height: 30px;
text-align: right;
}
.ui-top-tabs li.ui-tab-item a i {
padding-top: 7px;
font-size: 1.2em;
margin-left: 3px;
margin-right: 3px;
display: inline-block;
}
.ui-top-tabs li.ui-tab-item.search{
display: inline-block;
width: auto;
padding: 0 5px;
}
.ui-top-tabs li.ui-tab-item.search a i{
color: #3494d7;
}
}

/* MOBILE */
.ui-search-mobile {
width: 100%;
display: none;
}
@media only screen and (max-width: 1199px) {
.ui-search-mobile {
display: initial !important;
}
}
.ui-search-mobile > div {
width: 100%;
}
/* DESKTOP */
.ui-search {
background-color: transparent;
width: calc(100% - 700px);
margin-left: 0px;
border-radius: 0;
text-align: initial;
padding-top: 10px;
float: left;
display: none;
}
@media only screen and (min-width: 1200px) {
.ui-search {
display: initial;
}
}

.ui-search > div {
width: 100%;
}

.ui-search > div input {
width: calc(100% - 115px);
}
.ui-search > div .button  {
padding: 0 7px;
}
.ui-search > div i.dropdown  {
margin-right: 6px !important;
}

.ui-search a {
display: inline-flex;
height: auto;
width: auto;
font-size: 0.8em;
}

@media only screen and (max-width: 767px) {
.ui-search{
float: none;
width: 100%;
margin-top: 0;
margin-bottom: 5px;
padding-top: 0;
}
.ui-search .ui.action.input{
width: 100%;
}
.ui-search .ui.action.input>.button.dropdown{
display: none;
}
}
/* TABLE */
.ui-table-menu { min-height:initial !important; margin-left: 0 !important; margin-right: 0 !important; }
.ui-table-menu button { height: 31px !important; }
.ui-table-menu button:last-child { margin-left: 0 !important; }

.ui-table thead th { background-color: #3494d7 !important; }
.ui-table thead th { color: #fff !important; }

.ui-table tbody td,
.ui-table-default tbody td { position: relative; }

.ui-table tbody td div.number,
.ui-table-default tbody td div.number{ direction: ltr; }

.ui-table tbody td div.negative,
.ui-table-default tbody td div.negative{ color: red; font-weight: bold; }

.ui-table thead th a { color: #ccc !important; }
.ui-table-default thead th a { color: #eee !important; }

.ui-table thead th div,
.ui-table-default thead th div { margin-right: 0 !important; margin-left: -8px !important; margin-top: 2px; }

.ui-table thead th.ui-check-all-on-page,
.ui-table-default thead th.ui-check-all-on-page { width: 13px;  }

.ui-table thead th.ui-check-all-on-page div,
.ui-table-default thead th.ui-check-all-on-page div { position: relative; }

.ui-table thead th.ui-check-all-on-page > div > .label,
.ui-table-default thead th.ui-check-all-on-page > div > .label {
position: absolute;
right: -3px;
top: -29px;
width: auto;
line-height: 15px;
padding: 3px 7px;
white-space: nowrap;
}

.ui-table thead th.ui-check-all-on-page > div > .label::before,
.ui-table-default thead th.ui-check-all-on-page > div > .label::before {
left: auto;
right: 9px;
}

.ui-table thead th.ui-check-all-on-page > div > .label > button,
.ui-table-default thead th.ui-check-all-on-page > div > .label > button {
margin-left: 0;
padding: 0.65em;
font-size: 0.8em;
margin-right: 1em;
}
.ui-table-default.green-color thead th {
background-color: #21ba45 !important;
color: #fff !important;
}
.ui-table-default.teal-color thead th {
background-color: #00b5ad !important;
color: #fff !important;
}
.ui-table-default.blue-color thead th {
background-color: #2185d0 !important;
color: #fff !important;
}
.ui-table-default.red-color thead th {
background-color: #db2828 !important;
color: #fff !important;
}

.ui-table-default.violet-color thead th {
background-color: #6435c9 !important;
color: #fff !important;
}
.ui-table-default.purple-color thead th {
background-color: #a333c8 !important;
color: #fff !important;
}
@media only screen and (max-width: 767px) {
.ui-table tfoot th,
.ui-table-default tfoot th { height: 48px !important; }

.ui-table thead th,
.ui-table-default thead th { border-radius: 0 !important; }
}
.in-no, .in-f, .in-p{display: inline-block; font-size: 12px; color: red; margin-right: 5px;}
.in-f{color: #06e406;}
/*
FOOTER
*/
.ui-footer {
position: relative;
padding-right: 80px;
margin-top: 40px;
height: 50px;
background-color: #dfdfdf;
}
.ui-footer img {
position: absolute;
height: unset;
position: absolute;
right: -80px;
top: -20px;
width: auto !important;
height: auto !important;
}
.ui-footer i {
margin: 0;
}

@media only screen and (max-width: 767px) {
.ui-footer, .ui-footer-2 { display: none !important; }
}


.ui-footer-2 {
color: #5e5e5e;
}
.ui-footer-2 ul {
display: block;
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
.ui-footer-2 ul li {
display: inline-block;
vertical-align: bottom;
width: 33%;
text-align: center;
}
.ui-footer-2 ul li:first-child {
text-align: right;
}
.ui-footer-2 ul li:last-child {
text-align: left;
}
.ui-footer-2 ul li:last-child a {
display: inline-block;
line-height: 28px;
}
.ui-footer-2 ul li:last-child a:first-child {
margin-left: 20px;
direction: ltr;
}
.ui-footer-2 ul li:last-child a > span {
display: block;
height: 28px;
float: left;
margin-right: 10px;
}

* {
-webkit-font-smoothing: antialiased;
}
.ui.striped.table tbody tr:nth-child(2n), .ui.striped.table > tr:nth-child(2n) {
background: none !important;
}
.ui.striped.table tbody tr:nth-child(2n) > td, .ui.striped.table > tr:nth-child(2n) > td {
background-color: rgba(0, 0, 50, 0.02);
}

.ui.selectable.table tbody tr:hover, .ui.table tbody tr td.selectable:hover {
background: none !important;
color: inherit !important;
}
.ui.selectable.table tbody tr:hover > td, .ui.table tbody tr td.selectable:hover > td {
background: rgba(0, 0, 0, 0.05) none repeat scroll 0 0;
color: rgba(0, 0, 0, 0.95);
}

.ui.table tr.positive,
.ui.selectable.table tr.positive:hover {
background: none !important;
color: inherit !important;
}

.ui.table tr.negative,
.ui.selectable.table tr.negative:hover {
background: none !important;
color: inherit !important;
text-decoration: line-through;
}

.ui.selectable.table tr.positive:hover > td {
background: #f7ffe6 !important;
color: #275b28 !important;
}

.ui.selectable.table tr.negative:hover > td {
background: #ffe7e7 !important;
color: #943634 !important;
}

.ui.table tr.positive > td {
background: #FCFFF5 !important;
color: #2C662D !important;
}
.clients-content .ui.table tr.positive > td{
background: #fff4d5 !important;
}


.ui.table tr.negative > td {
background: #FFF6F6 !important;
color: #9F3A38 !important;
}

@keyframes blink {
50% { border-color: #ff0000; }
}

td.form.error input,
td.form.error select,
td.form.error > .dropdown,
.ui.input.error input
{
background: #FFF6F6 !important;
border-color: #E0B4B4 !important;
color: #9F3A38 !important;
border-radius: 0 !important;
box-shadow: none !important;
animation: blink .5s step-end infinite alternate;
}

.ui.form .field.error input:not([type]), .ui.form .field.error input[type=text], .ui.form .field.error input[type=email], .ui.form .field.error input[type=search], .ui.form .field.error input[type=password], .ui.form .field.error input[type=date], .ui.form .field.error input[type=datetime-local], .ui.form .field.error input[type=tel], .ui.form .field.error input[type=time], .ui.form .field.error input[type=url], .ui.form .field.error input[type=number], .ui.form .field.error select, .ui.form .field.error textarea, .ui.form .fields.error .field input:not([type]), .ui.form .fields.error .field input[type=text], .ui.form .fields.error .field input[type=email], .ui.form .fields.error .field input[type=search], .ui.form .fields.error .field input[type=password], .ui.form .fields.error .field input[type=date], .ui.form .fields.error .field input[type=datetime-local], .ui.form .fields.error .field input[type=tel], .ui.form .fields.error .field input[type=time], .ui.form .fields.error .field input[type=url], .ui.form .fields.error .field input[type=number], .ui.form .fields.error .field select, .ui.form .fields.error .field textarea {
animation: blink .5s step-end infinite alternate;
}

.ui.form .field.error .ui.dropdown, .ui.form .field.error .ui.dropdown:hover, .ui.form .fields.error .field .ui.dropdown, .ui.form .fields.error .field .ui.dropdown:hover {
animation: blink .5s step-end infinite alternate;
}

td.form > .input,
td.form > .dropdown {
width: 100%;
}

.datepicker-default, .datepicker-dd, .numeric, .numeric-minus, .numeric-string, .numeric-readonly, .datepicker-custom {
direction: ltr;
text-align: right;
}
.ui.form input[type=text].numeric-readonly{
background:#f8f8f8
}

@media (max-width:780px) {
.ui.menu, .ui.menu > .container, .ui.menu > .grid, .ui.input, .ui.menu:not(.vertical) .left.item, .ui.menu:not(.vertical) .left.menu {
flex-wrap: wrap !important;
}

.ui-top-tabs, .ui.menu:not(.vertical) .left.item, .ui.menu:not(.vertical) .left.menu {
text-align: center;
}
.ui.input > * {margin:2px 0 !important;}
.ui.button {white-space:nowrap;}
}
.dropdown.optgroup .divider {
border-top: none !important;
}

button.calendar-button {
position: absolute;
bottom: 6px;
left: 15px;
width: 28px;
height: 28px;
background: none;
display: block;
border: none;
padding: 0;
font-size: 15px;
text-align: left;
box-sizing: inherit;
}
button.calendar-button:hover i {
border-color: #85B7D9;
background: #85B7D9;
color: #FFF;
}
.ui.form .fields .field:last-child button.calendar-button {
margin-left: -.5em;
}
.picker__select--month {
padding: 0;
font-size: 14px;
}
.picker__select--year {
padding: 0;
font-size: 14px;
}
.ui.tabular.menu .item {
    padding: 5px 12px;
}
