@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic-ext');

a:visited, a:link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: inherit;
}

time {
    font-size: .875em;
}

h3 {
    padding: 5px;
}

input, input[type="submit"], .button, textarea, select, .input-like {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    margin-bottom: 3px;
    font: 0.875em Open Sans;
    border: 1px solid #9c9c9c;
    color: #000;
    border-radius: 5px;
    min-height: 35px;
}

.input-like, .autocomplete-placeholder {
    border-color: #fff;
}

.tooltip-like {
    font-size: .875rem;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    color: inherit;
    text-align: left;
    font-weight: 400;
    line-height: initial;
    border-style: solid;
    border-width: 1px;
    min-height: 35px;
    align-items: center;
}

.hidden-autocomplete {
    display: none
}

a .input-like:hover,
a.input-like:hover,
.row a:hover {
    color: #004e9e
}

input[type="date"] {
    padding: 0.75% 1% !important;
}

textarea, select {
    padding: 0 5px;
    resize: vertical;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* remove default arrow */
    background-image: url('../images/arrow-gray.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 30px;
    padding: 5px;
}

input[type="submit"], .button, a.button {
    -webkit-appearance: none;
    text-align: center;
    text-transform: uppercase;
    background-color: #fff;
    cursor: pointer;
    color: #9c9c9c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button.button-small {
    font-size: .75rem;
    padding: 2px 0;
    min-height: 30px;
}

.accent {
    color: #004e9e
}

.cancell, input[type=button], a.button {
    border: 1px solid #9c9c9c;
    color: #9c9c9c !important;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

input[type="submit"]:hover,
.button:hover,
.red-button:hover,
.cancell:hover,
a.button:hover {
    border-color: #004e9e !important;
    color: #004e9e !important;
    background-color: #fff;
}

.red-button, .button-red, input.button-red, a.button-red {
    color: #ED1C24 !important;
    border-color: #ED1C24 !important;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #004e9e !important;
    box-shadow: 0 0 2px #004e9e;
}

input[type="number"].hide-number-type::-webkit-outer-spin-button,
input[type="number"].hide-number-type::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].hide-number-type {
    -moz-appearance: textfield;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

input:disabled,
textarea:disabled,
select:disabled {
    background-color: transparent !important;
    border-color: transparent !important;
    -webkit-text-fill-color: #000;
    color: #000;
}

textarea:read-only {
    background-color: #fff !important;
    border-color: #fff !important;
    -webkit-text-fill-color: #000;
    color: #000;
}

input:read-only:not([type=button]):not([type=submit]){
    background-color: #fff !important;
    border-color: #fff !important;
    -webkit-text-fill-color: #000;
    color: #000;
}

input:read-only:focus, textarea:read-only:focus {
    box-shadow: none;
}

input.subtitle {
    color: #000 !important;
}

input[type=checkbox]:checked ~ label:before,
input[type=radio]:checked ~ label:before {
    color: #004e9e;
}

select:disabled {
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background-image: none;
}

.exception {
    padding: 20px;
}

/*
.hidden,
.hidden-msg,
.m-hidden,
.m-hidden-label{
	display: none !important;
}
.hidden-status,
.hidden-block,
.hidden-remove,
.hidden-password,
#hidden-secondary-responsible-user,
#hidden-responsible-user, #end-block,
.hidden-submit{
	display: none;
}*/
.title-message {
    font-size: .750em !important
}

.selected {
    color: #004e9e !important;
}

.hint-col {
    position: absolute;
    width: 40% !important;
    left: 58%;
}

.message {
    font-size: .813em;
    width: 100%;
    color: #9c9c9c
}

.message a:hover {
    text-decoration: underline;
}

.ui-autocomplete {
    z-index: 1000 !important;
}

.padding-left {
    padding-left: 20px;
}

/* End of common */
/* INDEX  - LOGIN PAGE*/
.small-wrap {
    width: 30%;
    margin: 12% auto;
}

.form-wrap {
    width: 85%;
    margin-left: 15%;
}

.forgotten {
    margin-bottom: 2%;
    font: 0.875em Open Sans;
    color: #9c9c9c;
    text-decoration: underline;
    text-align: right;
    cursor: pointer;
}

.forgotten:hover {
    color: #003D7B;
}

.failed-login {
    font: 0.875em Open Sans;
    color: #9c9c9c;
    margin-bottom: 3%;

}

/* End of index*/
/*HEADER*/
header {
    height: 60px;
    width: 100%;
    border-bottom: 1px solid #9c9c9c;
    background: -webkit-linear-gradient(#fff, #ececec);
    background: -o-linear-gradient(#fff, #ececec);
    background: -moz-linear-gradient(#fff, #ececec);
    background: linear-gradient(#fff, #ececec);
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 666;
}

header .inner {
    margin: 0 auto;
    height: 100%;
    max-height: 100%;
}

header .sign {
    height: 100%;
    position: relative;
}

header .sign img {
    height: 81%;
    width: auto;
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
}

header.fixed {
    height: 40px;
}

.greeting {
    font-size: .813em;
    display: block;
    text-align: right;
    margin-top: 1%;
    position: relative;
}

nav {
    display: table;
    height: 60px;
    width: 100%;
}

header.fixed nav {
    height: 43px;
}

nav ul {
    list-style-type: none;
    display: table-cell;
    vertical-align: bottom;
}

nav ul li {
    float: left;
    margin: 0 .5%;
    border-radius: 10px;
    border: 1px solid #9c9c9c;
    font: 0.625rem Open Sans;
    text-transform: uppercase;
    height: 50px;
    text-align: center;
    font-weight: 700;
    color: #9c9c9c;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;

    width: 100px;
    margin-bottom: 5px;
}

nav ul li a {
    padding: 0 15px;
}

nav ul li .icon {
    font-size: 2em;
    padding-top: 5px;
}

nav ul li span {
    display: block;
    padding-bottom: 13%;
}

nav ul li:first-child {
    margin-left: 0;
}

.current-page {
    background: -webkit-linear-gradient(#fff, #ececec);
    background: -o-linear-gradient(#fff, #ececec);
    background: -moz-linear-gradient(#fff, #ececec);
    background: linear-gradient(#fff, #ececec);
    border-color: #9c9c9c;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 55px;
    margin-bottom: -5px;
}

nav ul li:hover,
.current-page:hover {
    background: #003D7B;
    color: #fff;
    border-color: #003D7B;
}

header.fixed nav ul li {
    height: 33px;
    margin-bottom: 7px;
}

header.fixed nav ul li.current-page {
    margin-bottom: -7px;
    height: 37px;
}

header.fixed nav ul li span {
    display: none;
}

header.fixed nav ul li .icon {

}

.user-menu-wrap {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.moved-top {
    margin-top: 0;
}

.moved-down {
    margin-top: 10px;
}

.dropdown-trigger:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: relative;
    z-index: 100
}

.dropdown li {
    float: none;
    width: 150%;
    margin-left: -29%;
    background-color: #fff;
    height: 20px;
    padding: 6%;
    border-radius: 0;
    border-bottom: none;
    font-size: .875em
}

.dropdown li:hover {
    background-color: #fff !important;
    border-color: #9c9c9c;
}

.dropdown li:hover span {
    color: #003d7b;
}

.dropdown li:nth-child(1) {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.dropdown li:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 1px solid #9c9c9c
}

.dropdown li img {
    margin: initial;
    float: left;
    margin-right: 5%;
    width: 20px;
    height: 20px;
}

.dropdown li span {
    text-align: left;
    display: block;
    margin-top: 3%;
}

.dropbtn {
    background: url('../images/menu.png') center no-repeat;
    background-size: contain;
    color: white;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    outline: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.show {
    display: block !important
}

.system-menu {
    position: relative;
    margin-left: 10px;
}

#system-menu-wrap {
    top: 100%;
    padding: 30%;
    list-style-type: none;
    z-index: 1;
    border-radius: 8px;
}

#system-menu-wrap li {
    display: block;
    height: 25px;
    white-space: nowrap;
    text-align: left;
}

#system-menu-wrap li:hover a span {
    color: #003D7B !important;
}

#system-menu-wrap li a img {
    width: 20px;
    float: left;
    margin-right: 10px;
}

/* End of header */

/*  */
.search-field {
    width: 100%;
    margin-bottom: 4%;
    display: block;
    background: url('../images/search.svg') no-repeat;
    background-position: 5px;
    padding-left: 30px
}

.list {
    list-style-type: none;
    margin-left: 3%;
}

.list li {
    padding: 2% 0;
    color: #9c9c9c;
    font-size: .938em
}

.list li a:hover {
    color: #004e9e
}

.scroll-height {
    height: 350px;
    overflow-y: scroll;
}


.input-title, label {
    margin-bottom: 5px;
    margin-left: 5px;
    font-size: 0.813rem;
    color: #000;
    display: block;
}

label {
    min-width: 1px;
    min-height: 17px;
}

.view-wrap label {
    color: #9c9c9c !important;
}

span.count {
    margin-left: 0.5%;
}

.invoices-all-number {
    cursor: pointer;
    padding-bottom: 1%;
}

.payments-number {
    position: relative;
}

.status-block, .method-block {
    padding: 1%;
}

.status-block img, .method-block img {
    width: 32px;
    height: 32px;
    margin-right: 2%;
    margin-bottom: 2%;
    float: left;
}

.status-block span, .method-block img {
    display: inline-block;
    padding-top: 1%;
    padding-bottom: 1.25%;
    font: 0.750em Open Sans;
    text-transform: uppercase;
}

.module {
    width: 100%;
    font-size: 0.875em;
    padding: 2% 1.25%;
    box-sizing: border-box;
}

#photo-input, .status-select, .method-select {
    display: none;
}

#photo {
    width: 100%;
    margin-bottom: 1%;
}

#photo img {
    max-width: 50%;
}

.message {
    margin: 5px;
    width: 90%;
}

.breath {
    margin: 2% 0
}

.sub-title {
    text-transform: uppercase;
    font-weight: bolder;
    font-size: .850em;
}

.actions {
    list-style-type: none;
}

.actions li {
    float: left;
    margin-right: 10%;
}

.actions li a img {
    width: 25px;
}

.right-floated {
    float: right;
}

.add-new-item-icon {
    width: 25px;
    padding: .5%;
    border: 1px solid #9c9c9c;
    border-radius: 9px;
}

.search-dates {
    margin: 0 0 2% 0;
}

.date-input {
    margin-top: 5%;
    width: 77%;
    float: left;
    font-size: 0.750em
}

.date-arrow {
    margin-top: 5%;
    float: left;
    border: 1px solid #b3b3b3;
    width: 24px;
    border-left: none
}

.hasDatepicker {

}

.datepicker-label {
    height: 40px;
}

.blue-lined-header {
    border: 1px solid #004e9e;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 1em;
    color: #004e9e;
    font-weight: bolder;
    display: table;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
}

.blue-lined-header .clearfix {
    display: table-cell;
    vertical-align: middle;
    height: inherit;
}

.blue-lined-header [class*="col-"]:nth-child(1),
.row [class*="col-"]:nth-child(1) {
    padding-left: 1%;
    box-sizing: border-box;
}

.invoice-item-wrap:last-child {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px
}

.invoice-item-wrap {
    padding: 1% 0;
    border: 1px solid #b3b3b3;
    border-top: none;
}

.invoice-item-wrap input {
    width: 90%;
}

.invoice-item-wrap input[type=number] {
    float: right;
}

#invoice-totals {
    margin: 1% 0;
}

#invoice-totals label {
    color: #000;
    font-size: 0.938em
}

.invoice-table {
    margin: 2% 0 0 0;
}

label.blue-label {
    color: #004e9e !important;
    font-size: 1.250em !important;
    font-weight: bolder;
}

.shortcuts {
    float: right;
    min-width: 20%;
    margin-bottom: 1%;
}

.shortcut {
    cursor: pointer;
    padding: 6px 10px;
    color: #ccc;
    border: 1px solid #ccc;
    border-radius: 5px;
    float: right;
    position: relative;
    margin-right: 20px;
}

.shortcut:hover, .shortcut:hover span.counter {
    border-color: #007CBC;
    color: #007CBC
}

span.counter {
    background-color: #fff;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    position: absolute;
    top: -14px;
    right: -11px;
    font-size: .750em;
    font-weight: bolder;
    text-align: center;
}

.counter:empty {
    display: none;
}

.module-menu {
    width: 2%;
    float: right;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.module-menu img {
    width: 80%;
    display: block;
    margin: auto;
    padding: 10% 0
}

/*
.table-submenu .menu-button{
	margin-right: 10%;
}*/
.inactive {
    color: #9c9c9c
}

.error {
    color: #ED1C24;
    font-size: .750em;
    margin: 0 5px 5px 5px
}

.no-error {
    color: #00A651;
    font-size: .750em;
    margin: 0 5px 5px 5px
}

.vertical-inner {
    min-height: 50px;
    height: inherit;
    display: table;
}

.vertical-inner span {
    display: table-cell;
    vertical-align: middle;
}

.vertical-inner .submenu {
    float: none !important;
}

.vertical-inner .submenu .menu-button {
    margin-right: 12px;
    margin-bottom: 0
}

.vertical-inner .submenu span {
    font-size: .688em
}

.number-sign {
    text-align: center;
}

.user-photo {
    position: relative;
    height: 150px;
    margin-bottom: 15px;
}

.user-photo img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    margin: auto;
}

.centered {
    display: block;
    margin: 0 auto;
    float: none;
}

.centered-text {
    text-align: center;
}

/*NO-PERMISSION PAGE*/
.no-permission-wrap {
    height: 316px;
    margin: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.no-permission-img img {
    width: 100%;
}

.no-permission-wrap .title {
    height: 316px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-list label {
    margin-bottom: 0
}

.error-title {
    font-size: 2em;
    font-weight: bolder;
    margin-bottom: 5%;
    color: #004e9e;
}

.error-wrap {
    margin-top: 10%;
}

.error-image img {
    display: block;
    margin: auto;
    width: 100%;
}

.existing-list {
    display: block;
    width: 65%;
    margin: 7px auto;
    text-align: left
}

.existing-list [class*="action-"] {
    float: right !important;
}

.size {
    font-style: italic;
}

.counter-items {
    font-size: .750em;
    color: #9c9c9c;
}

.to-lowercase {
    text-transform: lowercase;
}

ul.two-cols-list {
    padding: 0;
    list-style-type: none;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

.module-group {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #9c9c9c;
}

.alarm, .alarm-inactive {
    float: right;
    width: 30px;
    height: 30px;
    position: relative;
    margin-left: 5px;
    margin-top: -5px;
    background: url('../images/alarm-active.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.alarm-inactive {
    background: url('../images/alarm.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.alarm-counter {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    height: 20px;
    border-radius: 13px;
    border: 1px solid #004e9e;
    text-align: center;
    background-color: #004e9e;
    color: #fff;
    line-height: 1.500em;
    font-size: .75rem
}

.alarm-counter:empty {
    display: none;
}

.alarm-dropdown {
    position: absolute;
    background-color: #fff;
    top: 35px;
    width: 350px;
    border: 1px solid #004e9e;
    right: 0;
    box-sizing: border-box;
    padding: 5px;
    text-align: left;
    height: 350px;
    overflow-y: scroll;
}

.triangle-up {
    width: 20px;
    height: 10px;
    background: url('../images/triangle-up.svg');
    position: absolute;
    top: -10px;
    right: 8px;
    background-size: 20px;
}

.alert-item {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.alert-item:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.alert-item:hover {
    color: #004e9e
}

.seen-no {
    font-weight: 700
}

.settings-wrap .col-3 {
    width: 24%;
}

.settings-wrap .col-3:nth-child(4n-2) {
    margin: 0 1.25%;
}

.settings-wrap .col-3:nth-child(4n-1) {
    margin-right: 1.5%;
}

.see-all {
    font-size: .813rem;
    text-align: right;
}


.flash {
    position: fixed;
/ / top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #f27474;
    padding: 10px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.yellow-flash {
    background-color: #f3d819;
    color: #000;
}

.report-header {
    margin-bottom: 20px;
}

.report-props {
    font-size: 1em;
    margin-top: -5px;
}

.report-props label {
    margin-left: 0;
    margin-top: 5px;
}

.report-header .col-6:nth-child(2) input,
.report-header .col-6:nth-child(2) label {
    width: initial;
    float: initial;
}

.search-result:hover {
    color: #004e9e
}

.top-up {
    margin-top: -10px;
}

.client-connection {
    margin-bottom: 5px;
}

.scrollbar {
    overflow-y: scroll;
}

.scrollbar-f::-webkit-scrollbar-track {
    background-color: #ebebeb
}

.scrollbar-f::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}

.scrollbar-f::-webkit-scrollbar-thumb {
    background-color: #004e9e;
}


.category-color {
    width: 17px;
    height: 17px;
    float: left;
    margin-top: 2px;
    margin-right: 5px;
    margin-left: 5px;
}

.category-option {
    font: 0.875em Open Sans;
    display: table-cell;
    vertical-align: middle;
}

.popup {
    width: 400px;
    border: 1px solid #004e9e;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #9c9c9c;
    font-size: .813em;
    background-color: #fff;
    position: absolute;
    z-index: 200;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.popup .row {
    margin-bottom: 10px;
}

.popup .icon {
    color: #004e9e;
    font-size: 1.750em;
}

.popup-close {
    position: absolute;
    right: -11px;
    background-color: #fff;
    top: -11px;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
}

.popup-title {
    color: #000;
    display: block;
    font-weight: 700;
    padding-bottom: 15px;
}

.popup .strong {
    color: #000;
}

.calendar-delete-task:hover {
    color: #ED1C24;
    cursor: pointer;
}

.birthday-wrap {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 3px;
    background-color: #ebebeb;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 3px;
}

.birthday-wrap .birthday {
    position: relative;
    width: 25px;
    height: 25px;
    float: left;
}

.birthday-wrap span {
    display: block;
    font-size: 1.125em;
    margin-left: 5px;
    float: left;
    padding-top: 3px;
}

.birthday:after {
    font-family: "forsys" !important;
    content: "\35";
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 1.250em;
    background-color: #004e9e;
    padding: 3px;
    color: #fff;
}

.birthday-wrap .birthday:after {
    top: 0;
    right: 0;
}

.prev, .next {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #9c9c9c;
}

.prev:focus, .next:focus {
    border: none;
    outline: none;
}

.prev:hover, .next:hover {
    color: #004e9e;
}

.today-button {
    padding: 5px 30px;
}

.calendar-see-as {
    width: 95%;
    margin-top: -5px;
    padding-left: 70px;
    font-size: .813em;
}

.calendar-see-as-after {
    display: block;
    margin-left: 5px;
    margin-top: -27px;
    font-size: .813em;
}

#delete-calendar-see-as {
    position: absolute;
    top: -10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    color: #ED1C24;
    cursor: pointer;
}

#calendar-views {
    margin-top: -5px;
}

.calendar-header {
    font-weight: 700;
    color: #004e9e;
}

.calendar-header-date {
    float: left;
    padding-bottom: 10px;
}

.calendar-header-control {
    float: right;
}

.calendar-table {
    border-collapse: collapse;
    table-layout: fixed;
    height: 100%;
}

.calendar-table tr,
.calendar-table td,
.calendar-table th {
    border: 1px solid #ebebeb;
    padding: 0;
}

.calendar-table th {
    font-weight: 400;
    font-size: .750em;
    color: #9c9c9c;
}

.calendar-table .active {
    font-weight: 700;
}

/*monthly-small*/
.calendar-table-monthly-small tr,
.calendar-table-monthly-small td,
.calendar-table-monthly-small th {
    border-color: #fff;
    border-bottom-color: #ebebeb;
    text-align: center;
}

.calendar-table-monthly-small th {
    font-weight: 700;
}

.calendar-table-monthly-small td .calendar-date-content {
    height: 35px;
    display: table;
    text-align: center;
    width: 100%;
}

.calendar-table-monthly-small td .active {
    background-color: #004e9e;
    color: #fff;
}

.calendar-table-monthly-small td .date {
    display: table-cell;
    vertical-align: middle;
}

.calendar-table-monthly-small td .task-available {
    width: 5px;
    height: 5px;
    margin: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.calendar-table-monthly-small td .active .task-available {
    background-color: #fff;
}

.calendar-table-monthly-small td .task-available {
    background-color: #004e9e;
}

/*monthly-big*/
.calendar-table-monthly-big th {
    border-bottom-color: #fff;
}

.calendar-table-monthly-big th,
.calendar-table-monthly-big td {
    padding: 5px;
    vertical-align: top;
    position: relative;
/ / overflow: hidden;
}

.calendar-table-monthly-big .date {
    font-size: 1.50em;
    color: #9c9c9c;
}

.calendar-table-monthly-big td .active .date {
    color: #004e9e;
}

.calendar-table-monthly-big .calendar-date-content a.button {
    display: block;
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    width: 95%;
    color: #9c9c9c;
}

.calendar-table-monthly-big .calendar-task {
    cursor: pointer;
    background-color: #ebebeb;
    font-weight: 400;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    padding-left: 7px;
    margin-bottom: 2px;
}

.calendar-table-monthly-big .calendar-task .calendar-task-title {
    font-size: .875em;
}

.calendar-table-monthly-big .calendar-task .calendar-task-time {
    font-size: .75em;
}

.calendar-table-monthly-big .calendar-task-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    content: ' ';
    width: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

/*weekly calendar*/
.calendar-table-weekly td:first-child,
.calendar-table-weekly th:first-child {
    color: #9c9c9c;
    text-align: center;
}

.calendar-table-weekly thead tr {
    display: block;
    position: relative;
    border-bottom: none;
}

.calendar-table-weekly thead th {
    border: none;
    border-bottom: 1px solid #ebebeb;
}

.calendar-table-weekly thead th .calendar-task,
.calendar-table-weekly thead th .calendar-date {
    height: 30px;
}

.calendar-table-weekly thead th .calendar-task {
    width: 85%;
}

.calendar-table-weekly thead th .calendar-task .popup {
    font-size: .875em;
}

.calendar-table-weekly tbody {
    display: block;
    overflow: auto;
}

.calendar-table-weekly tbody tr:first-child {
    border-top: none;
}

.calendar-table-weekly th .date {
    font-size: 1.75em;
    font-weight: 700;
}

.calendar-table-weekly .calendar-date {
    position: relative;
    height: 60px;
}

.calendar-table-weekly tr.current-hour {
    background-color: #F5F5F5;
}

.calendar-table-weekly .calendar-task {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    cursor: pointer;
    background-color: #ebebeb;
    font-weight: 400;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding-left: 7px;
    z-index: 110;
}

.calendar-table-weekly .calendar-task:nth-child(2n) {
    left: 15px;
    z-index: 111;
}

.calendar-table-weekly .calendar-task:nth-child(3n) {
    left: 30px;
    z-index: 112;
}

.calendar-table-weekly .calendar-task:nth-child(4n) {
    left: 45px;
    z-index: 113;
}

.calendar-table-weekly .calendar-task:nth-child(5n) {
    left: 60px;
    z-index: 114;
}

.calendar-table-weekly .calendar-task .calendar-task-title {
    font-size: .875em;
}

.calendar-table-weekly .calendar-task .calendar-task-time {
    font-size: .75em;
}

.calendar-table-weekly .calendar-task-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    content: ' ';
    width: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.calendar-table-weekly .calendar-task-title {
    max-height: 15px;
    overflow: hidden;
}

.calendar-table-weekly .calendar-task:nth-child(2n) .calendar-task-title:after {
    content: '...';
    position: absolute;
    top: 0;
    right: 5px;
}

/*calendar-table-daily*/
.calendar-table-daily td:first-child,
.calendar-table-daily th:first-child {
/ / width: 5.5 %;
    color: #9c9c9c;
    text-align: center;
    vertical-align: middle;
}

.calendar-table-daily th .date {
    font-size: 1.75em;
    font-weight: 700;
}

.calendar-table-daily th {
    position: relative;
    font-size: .875em;
    color: #000;
}

.calendar-table-daily tr.current-hour {
    background-color: #F5F5F5;
}

.calendar-table-daily thead tr {
    display: block;
    position: relative;
}

.calendar-table-daily thead th {
    height: 60px;
    border: none;
}

.calendar-table-daily tbody {
    display: block;
    overflow: auto;
}

.calendar-table-weekly tbody tr:first-child {
    border-top: none;
}

.calendar-table-daily .calendar-date {
    position: relative;
    height: 60px;
    padding: 0;
}

.calendar-table-daily .calendar-task {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    cursor: pointer;
    background-color: #ebebeb;
    font-weight: 400;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding-left: 7px;
    z-index: 110;
    border: 1px solid #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.calendar-table-daily .calendar-task:nth-child(2n) {
    left: 15px;
    z-index: 111;
}

.calendar-table-daily .calendar-task:nth-child(3n) {
    left: 30px;
    z-index: 112;
}

.calendar-table-daily .calendar-task:nth-child(4n) {
    left: 45px;
    z-index: 113;
}

.calendar-table-daily .calendar-task:nth-child(5n) {
    left: 60px;
    z-index: 114;
}

.calendar-table-daily .calendar-task .calendar-task-title {
    font-size: .875em;
}

.calendar-table-daily .calendar-task .calendar-task-time {
    font-size: .75em;
}

.calendar-table-daily .calendar-task-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    content: ' ';
    width: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.calendar-task-add-no-time {
    margin-top: 10px;
    margin-left: -5px;
}

#dashboard .today-button {
    display: none;
}

#dashboard td.calendar-weekly-cell {
    border-left: none;
}

#dashboard .calendar-weekly-hour {
    border-right: none;
    font-size: .750em;
    padding: 0 5px;
}

.pt-15 {
    padding-top: 15px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.pl-10 {
    padding-left: 10px;
}

.pt-5 {
    padding-top: 5px;
}

.pl-5 {
    padding-left: 5px;
}

.icon.document-yes,
.icon.document-no {
    font-size: 1.5em;
    text-align: center;
    color: #ccc;
}

.document-no {
    color: #ED1C24 !important;
}

.scroll-to-top {
    background-color: #004e9e;
    opacity: .3;
    width: 35px;
    height: 35px !important;
}

.scroll-to-top:before {
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-link {
    color: #ED1C24 !important;
    font-size: .750rem;
}

.delete-link:hover {
    color: #003d78 !important;
}

.status-wrap {
    font-size: 1.25rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    position: relative;
    margin: 0 10px;
}

.status-history {
    margin-top: 8px;
}

.status-centered {
    float: none;
    margin: auto;
}

.notification {
    position: absolute;
    right: -15px;
    top: -10px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid #fff;
    text-align: center;
    color: #fff;
    font-size: .75rem;
    line-height: 1.25rem;
}

.notification:empty {
    width: 0;
    height: 0;
    display: none;
}

.red, .counter-obligations {
    background-color: #C32329;
    border-color: #C32329;
}

.blue, .counter-blue {
    background-color: #004e9e;
    border-color: #004e9e
}

.orange, .counter-processing {
    background-color: #f3d819;
    border-color: #f3d819;
}

.color-obligations,
.color-forbidden,
.color-sue,
.not-available, .transfer-0,
.color-cc, .color-cu {
    border-color: #ED1C24 !important;
    color: #ED1C24 !important;
}

.color-processing,
.almost-available,
.color-ac, .color-amc {
    border-color: #f3d819 !important;
    color: #f3d819 !important;
}

.available, .transfer-1, .color-d {
    border-color: #5fc134 !important;
    color: #5fc134 !important;
}

.not-enough, .color-w {
    border-color: #004e9e !important;
    color: #004e9e !important;
}

.p-15 {
    padding: 15px;
}

.pb-15 {
    padding-bottom: 15px !important;
}

.divider-dashboard {
    height: 40px;
    width: 1px;
    background-color: #9c9c9c;
}

.a-block {
    display: block;
}


html, body {
    position: relative;
    min-height: 100vh;
}

.selectize-control .selectize-input.disabled {
    opacity: 1;
    border-color: transparent !important;
}

.selectize-control.single .selectize-input.disabled:after {
    display: none;
}

.login-wrap {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    margin: auto;
}

.login-wrap .block {
    background-color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.login-wrap .block .sign img {
    margin: 15px auto;
    display: block;
}

.login-wrap input {
    padding-left: 10px;
}

.login-wrap .sign img {
    width: 50%;
}

.pad {
    width: 100%;
    border: 1px solid #004e9e;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    cursor: pointer;
    color: #004e9e;
    height: 35px;
    position: relative;
}

.pad .title {
    padding: 0 10px;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
}

.dropdown-header:after {
    font-family: 'forsys' !important;
    content: '\7b';
    font-size: 1.5rem;
    position: absolute;
    top: 5px;
    right: 10px;
}

.dropdown-active:after {
    font-family: 'forsys' !important;
    content: '\e008';
    font-size: 1.5rem;
    position: absolute;
    top: 5px;
    right: 10px;
}

.dropdown-content.block {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

.dropdown-wrap .dropdown-content {
    display: block;
}

header .dropdown-content {
    display: none;
    position: absolute;
    right: 1%;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

header .dropdown-content a {
    color: black;
    text-decoration: none;
    font-size: .813em;
    display: block !important;
}

header .dropdown-content span {
}

input.autocomplete {
    visibility: hidden;
    display: none;
}

.autocomplete-placeholder {
    font-size: .875rem !important;
    padding: 5px;
}

input[type=submit].hidden-submit,
.hidden-submit,
.hidden-menu {
    display: none;
}

ul {
    padding: 0;
    margin: 0;
}

.p-5 {
    padding: 5px !important;
}

.tooltip:hover:after {
    border-color: #004e9e;
    min-width: 100px;
}

.see-all:hover {
    color: #004e9e;
}

.inner {
    width: 98%;
    margin: 75px auto;
}

.fm-visible {
    display: none;
}

.title {
    font-weight: 700;
    text-transform: uppercase;
    color: #004e9e;
    font-size: 1.1rem;
    margin-top: 5px;
}

.pad .title {
    font-size: 1.125rem;
}

label {
    color: #9c9c9c;
    padding-left: 0;
}

legend {
    color: #9c9c9c;
    font-weight: 700;
}

fieldset {
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-left: 1px solid #9c9c9c;
    position: relative;
}

.fieldset-actions {
    position: absolute;
    top: 0;
    right: 15px;
}

.subtitle {
    color: #9c9c9c;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
}

input.subtitle {
    text-transform: initial;
}

main {
    width: 82.5%;
    float: right;
    padding-left: 15px;
}

.h-100 {
    height: 100%;
}

.dropdown-active {
    background-color: transparent !important;
}

table {
    width: 100%;
    padding: 0;
    border-collapse: collapse;
}

table thead tr {
    border: 1px solid #004e9e;
    background-color: #fff !important;
}

table tbody tr {
    border: 1px solid #ccc;
    border-bottom: none;
    border-top: none;
}

table tbody tr:last-child {
    border-bottom: 1px solid #ccc;
}

table thead tr th:first-child {
    border-top-left-radius: 5px;
}

table thead tr th:last-child {
    border-top-right-radius: 5px;
}

table thead tr th {
    vertical-align: middle;
    font-size: 1rem;
    color: #004e9e;
    font-weight: 700;
    height: 50px;
    white-space: nowrap;
    text-align: left;
}

table td input, table td .error {
    width: 90%;
    margin: 5px 0;
}

table td .error {
    padding: 5px;
}

table tr td {
    vertical-align: middle;
    font-size: 0.875em;
}

table tbody tr:nth-child(even) {
    background-color: #ebebeb
}

table tr td a:hover {
    color: #003D7B;
}

.bread-menu {
    margin: 0 !important;
}

.bread-menu li a {
    font-size: .75rem;
    display: inline-block;
}

ul.bread-menu li:last-child,
ul.bread-menu li a:hover {
    color: #004e9e;
}

.block {
    border: 1px solid #b3b3b3;
    padding: 8px;
    width: 100%;
    border-radius: 5px;
}

aside {
    word-break: break-word;
    width: 17%;
    float: left;
    overflow: auto;
    margin-left: -.5%;
    padding-left: .5%;
}

aside label {
    font-size: .75rem;
    padding-left: 0;
    margin-left: 0;
}

.aside-drop-down {
    height: 30px;
    cursor: pointer;
    border-bottom: 1px solid #9c9c9c
}

.aside-panel + .aside-drop-down {
    margin-top: 5%;
}

.aside-wrap {
    width: 100%;
}

.aside-panel {
    padding-bottom: 3px;
    margin-bottom: 5px;
}

.aside-title {
    font-size: .875em;
}

aside .aside-arrow {
    float: right;
}

.action {
    width: 25px;
    height: 25px !important;
    font-size: .875rem;
    color: #9c9c9c !important;
    border: 1px solid #9c9c9c;
    padding: 5px;
    display: flex;
    border-radius: 5px;
    cursor: pointer;
}

.delete-structure,
.delete-item,
.delete-structure-value,
.action.delete-no-refresh,
.button.delete-no-refresh,
.action.delete-block {
    color: #bf171e !important;
    border-color: #bf171e !important;
}

.action.delete-structure-value {
    margin-top: 27px;
}

.action:hover {
    color: #004e9e !important;
    border-color: #004e9e !important;
}

.menu-button {
    width: 35px;
    height: 35px;
    border: 1px solid #9c9c9c;
    border-radius: 5px;
    float: right;
    color: #9c9c9c;
    font-size: 1.250rem;
    text-align: center;
    line-height: 2rem;
}

.menu-button:after {
    font-family: "forsys" !important;
    content: "\e03a";
}

.menu-button:hover {
    border-color: #004e9e;
    color: #004e9e;
}

.submenu {
    position: relative;
    cursor: pointer;
}

.submenu ul {
    display: none;
    position: absolute;
    z-index: 15;
    top: 37px;
    padding: 0;
    background-color: #fff;
    list-style-type: none;
    border-radius: 5px;
    right: 0;
    min-width: 245px;
    -webkit-box-shadow: 0 0 25px -5px rgba(0, 0, 0, .7);
    -moz-box-shadow: 0 0 25px -5px rgba(0, 0, 0, .7);
    box-shadow: 0 0 25px -5px rgba(0, 0, 0, .7);
}

.submenu ul li {
    font-weight: 400;
    font-size: .875rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #9c9c9c;
}

.submenu .action {
    float: left;
}

.submenu ul li span {
    margin-left: 10px;
    margin-top: 1px;
    display: inline-block;
    color: #9c9c9c;
}

.submenu ul li a,
.submenu ul li div.submenu-div {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
}

.submenu ul li:hover span,
.submenu ul li:hover {
    color: #004e9e;
}

.submenu ul li:hover .action {
    color: #004e9e !important;
    border-color: #004e9e;
}

.submenu-down {
    margin-top: 21px;
}

[class*="color-"] {
    padding: 0;
}

#ui-datepicker-div {
    margin-top: -75px;
    padding: 0;
}

.ui-datepicker-header,
.ui-datepicker-calendar .ui-state-hover {
    background-color: #004e9e;
}

.ui-datepicker-next, .ui-datepicker-prev {
    line-height: initial;
}

.ui-datepicker-next span, .ui-datepicker-prev span {
    display: none;
}

.ui-datepicker-next {
    float: right;
}

.ui-datepicker-prev {
    float: left;
}

.ui-datepicker-prev:before {
    font-family: 'forsys' !important;
    content: '\e009'
}

.ui-datepicker-next:before {
    font-family: 'forsys' !important;
    content: '\7c'
}

.selectize-input {
    padding: 7px
}

.status {
    width: 35px;
    height: 35px;
    background-size: 35px !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.status-deliveries-active {
    border-color: #ccc;
    color: #ccc;
}

.status-deliveries-delayed, .status-vies-0 {
    border-color: #ED1C24;
    color: #ED1C24;
}

.status-deliveries-processing, .status-vies-1 {
    border-color: #f3d819;
    color: #f3d819;
}

.status-vies-2 {
    border-color: #2cbf4b;
    color: #2cbf4b;
}

.status-deliveries-processing:after,
.status-deliveries-active:after,
.status-deliveries-delayed:after {
    font-family: 'forsys' !important;
    content: '\e0cb';
}

.ui-datepicker-title select.ui-datepicker-month,
.ui-datepicker-title select.ui-datepicker-year {
    min-height: initial;
    padding: 3px;
}

.ui-datepicker-header::after,
.ui-datepicker-calendar .ui-state-hover::after {
    content: "";
    display: block;
    clear: both;
}

.ui-datepicker-header {
    padding: 10px;
    padding-bottom: 2px;
}

.ui-datepicker-prev:before,
.ui-datepicker-next:before {
    display: flex;
    align-items: center;
}

.ui-datepicker-next:before {
    justify-content: flex-end;
}

.ui-datepicker-prev:before, .ui-datepicker-next:before {
    top: initial;
}

.ui-datepicker-prev:hover:before, .ui-datepicker-next:hover:before {
    color: #3f97f1;
}

.ui-datepicker tbody td.ui-datepicker-week-end {
    background-color: #ebebeb;
}

table.ui-datepicker-calendar tbody tr:nth-child(even) {
    background-color: #fff;
}

.ui-datepicker-calendar .ui-state-active {
    border-color: #004e9e;
}

hr {
    background-color: #004e9e;
}

.strong {
    font-weight: 700 !important;
}

::selection {
    background: rgba(0, 78, 158, 0.4);
    color: #fff;
}

.file-icon {
    font-size: 3rem;
}

.attention {
    width: 20px;
    height: 20px;
    background-color: #ED1C24;
    color: #fff;
    display: inline-block;
    text-align: center;
    margin: 0 5px;
    font-size: .875rem;
    line-height: 24px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.hint-error {
    background-color: #ED1C24;
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.alert-error {
    padding: 5px !important;
    font-size: .875rem;
    background-color: #ED1C24;
    color: #fff;
    border-color: #ED1C24;
}

a .file-icon:hover {
    color: #004e9e;
}

.table-c-1 {
    width: 8.33%;
}

.table-c-2 {
    width: 16.66%;
}

.table-c-3 {
    width: 25%;
}

.table-c-4 {
    width: 33.33%;
}

.table-c-5 {
    width: 41.66%;
}

.table-c-6 {
    width: 50%;
}

.table-c-7 {
    width: 58.33%;
}

.table-c-8 {
    width: 66.66%;
}

.table-c-9 {
    width: 75%;
}

.table-c-10 {
    width: 83.33%;
}

.table-c-11 {
    width: 91.66%;
}

.table-c-12 {
    width: 100%;
}

table.table-no-borders thead tr,
table.table-no-borders tbody tr,
table.table-no-borders tbody tr:last-child {
    border-color: transparent !important;
}

table thead.thead-sm th {
    font-size: .875rem;
}

h2, h3, h4, h5 {
    color: #9c9c9c;
}

h4 {
    font-size: 1.125rem;
}

.light {
    font-weight: 300 !important;
}

.normal {
    font-weight: 400 !important;
}

.display-inline {
    display: inline-block;
    width: initial;
}

.label-tag {
    background-color: transparent;
    border: 1px solid #9c9c9c;
}

.task-title {
    font-weight: 700;
    font-size: .875rem;
}

.task-title:hover {
    color: #004e9e;
}

.table-like-rows-wrap .table-like-row:nth-child(even) {
    background-color: #ebebeb;
}

.table-like-rows-wrap .table-like-row {
    padding: 15px !important;
    border: 1px solid #ccc;
    border-bottom: none;
}

.table-like-rows-wrap .table-like-row:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.table-like-rows-wrap .table-like-row:last-child {
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.table-like-row input:disabled,
.table-like-row select:disabled,
.table-like-row textarea:disabled {
    border-bottom: 1px solid #ccc !important;
    border-radius: 0;
}

.table-like-row .input-like,
.table-like-row .autocomplete-placeholder {
    border-color: transparent;
}

.products-menu-wrap > a,
.products-menu-wrap .table-submenu {
    display: inline-block;
}

.products-menu-wrap > a {
    position: relative;
    top: -12px;
}

.hint-left .hint {
    left: 0;
}

.hint {
    border-color: #004e9e;
    border-width: 2px;
}

.hint:before {
    border-color: #004e9e transparent;
}

.hint-left .hint:before,
.hint-left .hint:after {
    left: 0;
}

table.table-sortable th:not(.no-sort):after {
/ / content: '	\02195';
}

table.table-sortable th:not(.no-sort) {
    cursor: pointer;
}

table.table-sortable th.sorted.ascending:after {
    content: "  \2191";
}

table.table-sortable th.sorted.descending:after {
    content: " \2193";
}

table.table-sortable-v2 th.tablesorter-headerAsc div:after {
    content: "  \2191";
}

table.table-sortable-v2 th.tablesorter-headerDesc div:after {
    content: " \2193";
}

table.table-sortable-v2 .tablesorter-header-inner, table th[data-sort-url] {
    cursor: pointer;
}

@media only screen and (max-width: 414px) {
    aside, main {
        width: 100%;
    }

    table tr td input {
        width: 100%
    }

    table tbody tr {
        border-color: transparent;
    }

    .table-fm td:before {
        color: #004e9e;
        text-align: right;
        padding-right: 10px;
        width: 7em;
    }

    .table-fm th, .table-fm td {
        padding: 0;
        font-size: .813rem;
        position: relative;
        padding-right: 15%;
    }

    .table-fm th input, .table-fm td input, .table-fm td select,
    .table-fm .selectize-control.single .selectize-input, .selectize-control.single .selectize-input input {
        width: 16rem;
        margin: 5px 0;
        min-height: 25px;
        padding: 0 0 0 5px;
    }

    .table-fm .selectize-control {
        float: right;
    }

    .table-fm td:first-child {
        padding-top: 10px;
    }

    table tr td a:hover {
        color: inherit;
    }

    .table-submenu {
        top: -30px !important;
        right: 5px !important;
    }

    .tooltip:hover:after {
        display: none;
    }

    .icon.document-yes, .icon.document-no {
        margin-top: 10px;
        display: inline-block;
    }

    legend {
        font-size: .875rem !important;
    }

    label {
        font-size: .875rem !important;
    }

    .mb-table {
        margin-bottom: 30px;
    }

    .products-menu-wrap .submenu.table-submenu {
        position: unset !important;
    }

    .products-menu-wrap {
        text-align: right;
    }

    .fm-buttons-fix .table-submenu {
        top: -30px !important;
    }
}

.clear-padding {
    padding: 0px !important;
}

.clear-left-padding {
    padding-left: 0px !important;
}

.margin-10 {
    margin: 10px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

@media screen and (max-width: 414px) {
    .show-on-mobile {
        display: inline !important;
    }

    .submenu {
        padding: 0px 5px;
    }

    [class*='payment-'] {
        display: inline-block;
    }

    .table-fm th, .table-fm td {
      text-align: left !important;
    }
}


/* Позициониране на съдържанието в падащото меню */
.selectize-dropdown .option-lot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
}

/* Предотвратяване на хоризонтален скрол в Selectize падащото меню */
.option-lot-item,
.selectize-dropdown,
.selectize-dropdown-content {
    overflow-x: hidden !important;
}

/* Изглед на кръглата икона */
.lot-status-badge {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Настройки за Bootstrap / Native CSS Tooltip */
.lot-status-badge[data-toggle="tooltip"]::after,
.tooltip-inner {
    max-width: 250px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
}

/* Принудително преместване на tooltip съобщението, за да не излиза от екрана */
.selectize-dropdown-content .lot-status-badge[title]:hover::after {
    right: 0;
    left: auto;
    transform: none;
}

/* Професионална приглушена палитра за ERP */
.lot-status-badge.status-ok { 
    background-color: #2e7d32; 
}
.lot-status-badge.status-warn { 
    background-color: #c62828; 
}
.lot-status-badge.status-info { 
    background-color: #546e7a; 
}