/* MAIN */
body {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Calibri', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #535c69;
    margin: 0;
}
a {
    color: #44f;
    outline: none;
    transition: 0.2s;
}
a:hover {
    color: #2067b0;
    color: #44f;
}
h2 {
    font-weight: bold;
    font-size: 200%;
    padding: 30px 30px;
    margin: 0;
}
h3 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 100%;
    margin: 0;
    min-height: 20px;
}
h3 i {
    margin-right: 3px;
}
.transparent {
    background-color: transparent !important;
}
.no-break {
    word-break: normal;
}
.nowrap {
    white-space: nowrap;
}
.hidden, 
.hidden-field {
    display: none;
}
.normal {
    font-weight: normal;
}
.bold {
    font-weight: bold;
}

/* VISIBLE */
#visible {
    position: relative;
    padding: 0 15px;
}
section {
    box-sizing: border-box;
    width: 100%;
    clear: both;
}

/* FONTS */
@font-face {
    font-family: 'Roboto';
    src: local('Roboto'),
	    url('../fonts/roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto'),
	    url('../fonts/roboto/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto'),
	    url('../fonts/roboto/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}


/* NOTIFICATION */
#notification-block {
    padding: 15px;
}
.notification {
    position: relative;
    color: #333;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #fdfaea;
    border-color: #e5e0c4 #f1edd7 #f9f6e4;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    padding: 15px 30px;
}
a.notification-link:hover {
    color: #00f;
}
#notification-block .close {
    padding-top: 17px;
    padding-bottom: 17px;
}

/* MENU */
#menu {
    position: relative;
    line-height: 1em;
    overflow: hidden;
}
#menu-underline {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #f0f2f4;
}
.menu-item {
    position: relative;
    box-sizing: border-box;
    height: 45px;
    padding: 15px 0;
    cursor: pointer;
}
.menu-item:hover {
    color: #000;
    border-bottom: 2px solid #f0f2f4;
}
.menu-item-left {
    float: left;
    margin-right: 45px;
}
.menu-item-right {
    float: right;
    margin-left: 45px;
}
#menu-item-active {
    color: #000;
    border-bottom: 2px solid #9dcf00;
    cursor: inherit;
}
.i-menu-item {
    margin-right: 5px;
}

/* TOP SECTION */
#top {
    position: relative;
    padding: 15px 0 15px 0;
    line-height: 1em;
}
#warning {
    display: none;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 39px;
    padding: 10px 30px;
    margin-right: 20px;
    text-align: center;
    background-color: #ffb833;
    border: 1px solid #ffb833;
    border-radius: 5px;
}
#warning i {
    margin-right: 3px;
    border: 1px solid #f0f2f4;
}
.top-button {
    color: #333;
    padding: 10px 30px;
    border: 1px solid #d5dbdf;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}
.top-button:hover {
    background-color: #f0f2f4;
    border: 1px solid #f0f2f4;
}
.active-top-button {
    background-color: #f0f2f4;
    border: 1px solid #f0f2f4;
    font-weight: normal;
}
#add, #filter {
    margin-right: 15px;
}
#add i.fa-plus, #filter i.fa-filter, .fa-plus {
    padding-right: 3px;
}
#filter i.fa-angle-down {
    padding-left: 5px;
}
#dates-filter {
    color: #535c69;
}
#dates-filter:hover {
    color: #333;
}
#settings, #operation, #user {
    margin-left: 15px;
}

/* ADD PAYMENT */
.not-empty-select {
    color: #333 !important;
}

/* FILTER */
/* CASHBOX BALANCE */
#cashbox-balance {
    float: right;
    margin: 0 30px;
    padding-top: 4px;
}
#cashbox-balance-amount {
    font-weight: normal;
    color: #0b0;
}
/* IMPORT */
#operation {
    position: relative;
    margin-left: auto;
}
#operation:hover .dropdown-content {
    display: block;
}
#import-popup {
    width: 700px;
}
.popup-operation {
    position: fixed;
    left: 0;
    top: 0;
}

/* SORTING */
table#sorting-table {
    border-radius: 5px;
    overflow: hidden;
}
.sorting-name {
    position: relative;
    left: calc(50% - 10px);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    white-space: nowrap;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
tr.sorting-table-thead td {
    vertical-align: bottom;
    border-bottom: 1px solid #d5dbdf;
    background-color: #f0f2f4;
}
table#sorting-table td.sorting-payment-title {
    padding-left: 30px;
}
td.sorting-item, td.sorting-subitem {
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}
td.sorting-subitem {
    font-size: 81%;
}
td.sorting-subitem > div {
    opacity: 0.85;
}
td.sorting-item > input[type="radio"],
td.sorting-subitem > input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}
tr.sorting-table-tbody td.sorting-item,
tr.sorting-table-tbody td.sorting-item input, 
tr.sorting-table-tbody td.sorting-subitem,
tr.sorting-table-tbody td.sorting-subitem input {
    cursor: pointer;
}
table#sorting-table td.sorting-highlighted-lines {
    background-color: #fff4cb;
}
table#sorting-table td.sorting-highlighted, 
table#sorting-table td.sorting-radio-checked {
    background-color: #ffe999;
}
.top-button.over-popup, 
.top-popup.over-popup {
    z-index: 5;
}
#filter.over-popup {
    background-color: #fff;
    box-shadow: 0 0 15px rgb(225 229 230);
}
#sorting-bottom {
    margin: 30px 30px 0 30px;
}
#sorting-total {
    margin: 0;
    padding: 0;
    font-weight: 300;
}
#sorting-total-number {
    font-weight: normal;
}

/* SETTINGS */
#settings:hover .dropdown-content {
    display: block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f7f9fa;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1;
    right: -1px;
    top: 37px;
}
.dropdown-content a {
    display: block;
    position: relative;
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}
.dropdown-content a:first-child {
    border-radius: 5px 5px 0 0;
}
.dropdown-content a:last-child {
    border-radius:  0 0 5px 5px;
}
.dropdown-content a:hover {
    background-color: #f0f2f4;
}
a.premium-version-link {
    color: #c00;
}

/* USER */
#user {
    position: relative;
    display: inline-block;
}
#user:hover .dropdown-content {
    display: block;
}
table#user-profile-table {
    margin-top: 30px;
}
table#user-profile-table td.profile-user-photo-td {
    padding-right: 30px;
}
.user-photo {
    width: 127px;
    height: 127px;
    border-radius: 15px;
    cursor: pointer;
}
.user-photo-mini {
    float: left;
    width: 38px;
    height: 38px;
    border-radius: 19px;
    margin-right: 15px;
}
#user-menu-userinfo {
    min-width: 160px;
    cursor: default;
}
#user-menu-userinfo:hover {
    background-color: transparent;
}
.user-menu-userinfo-name {
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
}
.user-menu-userinfo-role {
    font-size: 81%;
    opacity: 0.85;
    padding-top: 2px;
    padding-bottom: 2px;
}
#logout-user-menu {
    text-align: center;
    color: #c00;
    transition: 0.2s;
}
#logout-user-menu i.fa-sign-out-alt {
    padding-right: 5px;
}
table#user-profile-table td {
    border-bottom: 0;
    padding: 0;
}
table#user-profile-table input {
    color: #535c69;
}
table#user-profile-table input.profile-input {
    font-weight: bold;
    margin-bottom: 10px;
}
table#user-profile-table input.profile-input-last {
    margin-bottom: 0;
}
#profile-submit {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* REPORT BY ITEMS */
#report-by-items h2 {
    float: left;
}
#report-by-items-period {
    float: right;
    clear: none;
    width: auto;
    margin-top: 40px;
    padding-right: 60px;
    border: 1px dashed #d5dbdf;
    color: #535c69;
}
#report-by-items-period:hover {
    border: 1px dashed #acb6bf;
    color: #333;
}
#report-by-items-table td {
    text-align: center;
}
#report-by-items-types > td {
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}
.report-by-items-types-name {
    padding-left: 30px;
}
.report-by-items-types-name.report-by-items-types-income {
    padding-left: 0;
}
.report-by-items-types-income {
    border-bottom: 2px solid #0b0;
}
.report-by-items-types-costs {
    border-bottom: 2px solid #ef3124;
}
.report-by-items-types-profit {
    border-bottom: 2px solid #b0b;
}
tr.report-by-items-tr-item-names > td,
tr.report-by-items-tr-subitem-names > td,
tr.report-by-items-tr-item > td, 
tr.report-by-items-tr-subitem > td {
    padding-top: 5px;
    padding-bottom: 5px;
}
tr.report-by-items-tr-item-names > td.report-by-items-topnames {
    border-bottom: none;
}
.report-by-items-arrowtd {
    padding: 0;
}
.report-by-items-arrowdiv {
    box-sizing: border-box;
    width: 50%;
    height: 15px;
}
.report-by-items-arrowdiv-1,
.report-by-items-arrowdiv-3 {
    float: left;
}
.report-by-items-arrowdiv-2,
.report-by-items-arrowdiv-4 {
    float: right;
}
.report-by-items-arrowdiv-3 {
    border-top: 1px solid #f0f2f4;
    border-right: 1px solid #f0f2f4;
}
td.report-by-items-settings .report-by-items-arrowdiv-3 {
    border-right: none;
}
.report-by-items-arrowdiv-4 {
    border-top: 1px solid #f0f2f4;
}
.report-by-items-rollout {
    font-size: 75%;
    width: 20px;
    padding-right: 0;
    text-align: left;
}
.report-by-items-arrowtd-last > .report-by-items-arrowdiv-3 {
    border-top-right-radius: 5px;
}
.report-by-items-arrowtd-last > .report-by-items-arrowdiv-4 {
    border-top: none;
}
tr.report-by-items-tr-subitem-names > td.report-by-items-topnames {
    border-bottom: none;
}
td.report-by-items-firsttd {
    border-left: 1px solid #d5dbdf;
    border-bottom: 0;
    width: 0;
}
#report-by-items-table td.report-by-items-name, 
#report-by-items-table td.report-by-items-mainnumber {
    text-align: left;
}
td.report-by-items-mainnumber {
    padding-left: 30px;
    padding-right: 30px;
}
#report-by-items-table td.report-by-items-mainnumber-percent {
    font-weight: normal;
}
#report-by-items-table td.report-by-items-name {
    padding-left: 0;
}
tr.report-by-items-tr-subitem-names > td {
    font-size: 81%;
}
tr.report-by-items-tr-subitem > td {
    font-size: 81%;
    opacity: 0.85;
    padding-top: 3px;
    padding-bottom: 3px;
}
td.report-by-items-tritemtdsubitem {
    font-size: 81%;
    opacity: 0.85;
}
#report-by-items-table tr.report-by-items-tr-subitem > td.report-by-items-name {
    padding-left: 45px;
}
tr.report-by-items-tr-subitem > td.report-by-items-mainnumber {
    padding-left: 75px;
}
#report-by-items-table td.td-whitespace {
    border-bottom: none;
}
td.report-by-items-good {
    font-weight: bold;
    color: #080;
}
td.report-by-items-bad {
    font-weight: bold;
    color: #c00;
}
#report-by-items-table tr.report-by-items-tr-item-last td {
    border-bottom: 1px solid #d5dbdf;
}
#report-by-items-table tr.report-by-items-tr-item-last td.td-whitespace {
    border-bottom: none;
}
tr.report-by-items-tr-item-last > td.report-by-items-firsttd {
    border-bottom-left-radius: 5px;
}
tr.report-by-items-tr-item-last > td.report-by-items-lasttd {
    border-bottom-right-radius: 5px;
}
.report-by-items-lasttd {
    border-right: 1px solid #d5dbdf;
    border-bottom: 0;
    width: 0;
}
tr.report-by-items-tr-total > td, 
td.report-by-items-tr-total {
    font-weight: bold;
    border-bottom: 0;
}
tr.report-by-items-tr-total-item > td, 
td.report-by-items-tr-total-item {
    font-size: 81%;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 0;
}
tr.report-by-items-tr-total-subitem > td, 
td.report-by-items-tr-total-subitem {
    font-size: 81%;
    opacity: 0.85;
    padding-top: 3px;
    padding-bottom: 3px;
    border-bottom: 0;
}
tr.report-by-items-tr-item-names > td, 
tr.report-by-items-tr-subitem-names > td, 
td.report-by-items-itemcol, 
td.report-by-items-subitemcol {
    display: none;
}
    /* open cost items */
tbody.report-by-items-tr-item-names-show > tr.report-by-items-tr-item-first > td {
    border-top: 1px solid #d5dbdf;
}
tbody.report-by-items-tr-item-names-show > tr.report-by-items-tr-item-first > td.td-whitespace {
    border-top: none;
}
tbody.report-by-items-tr-item-names-show > tr.report-by-items-tr-item-first > td.report-by-items-firsttd {
    border-top-left-radius: 5px;
}
tbody.report-by-items-tr-item-names-show > tr.report-by-items-tr-item-first > td.report-by-items-lasttd {
    border-top-right-radius: 5px;
}
/* */
td.report-by-items-cost-link, 
td.report-by-items-costitem-link {
    cursor: pointer;
    transition: 0.2s;
}
td.report-by-items-cost-link:hover, 
td.report-by-items-costitem-link:hover {
    color: #000;
}
td.report-by-items-topnames i.fa-cog, 
td.report-by-subitems-topnames i.fa-cog {
    font-size: 81%;
    opacity: 0.85;
}
td.report-by-items-settings {
    padding-top: 1px;
    padding-bottom: 1px;
}
input[type="number"].report-by-items-settings-input {
    width: 70px;
    height: 16px;
    margin-bottom: 0;
    padding: 3px 15px;
    text-align: center;
    background-color: #eef2f4;
}
tr.report-by-items-tr-item input[type="number"].report-by-items-settings-input {
    font-size: 81%;
    opacity: 0.85;
}
tr.report-by-items-tr-subitem input[type="number"].report-by-items-settings-input {
    font-size: 100%;
}


/* TABLE SECTIONS */
.payment-list {
    border: 1px solid #d5dbdf;
}
.table-section {
    border-radius: 5px;
    margin-bottom: 30px;
}
.list-table-head {
    padding: 15px 30px;
    font-size: 200%;
    font-weight: 300;
    color: #c6c9ce;
    border-bottom: 1px solid #d5dbdf;
    overflow: hidden;
}
.table-sum-numbers {
    float: right;
}
table {
    box-sizing: border-box;
    width: 100%;
    font-size: 100%;
    font-weight: normal;
    border-spacing: 0;
}
.list-table {
    border-bottom: 1px solid #d5dbdf;
}
.list-table tr {
    cursor: pointer;
    transition: 0.2s;
}
#payment-list-table tr:hover {
    background-color: #f7f9fa;
}
td {
    padding: 15px 15px;
}
/* thead td {
    font-weight: normal;
    border-bottom: 2px solid #d5dbdf;
    padding-bottom: 1px;
    background-color: #eef2f4;
} */
tbody td {
    border-bottom: 1px dashed #d5dbdf;
    word-break: break-word;
}
.left-td {
    text-align: left;
    padding-left: 0;
}
.right-td {
    padding-right: 0;
}
.list-table td {
    vertical-align: top;
}
.list-table a:hover {
    color: #44f;
}
.list-last-tr td {
    border-bottom: none;
}
.expired-table-tr td.date-td,
.expired-table-tr .payment-first-line, 
.expired-table-tr .payment-first-line a, 
.expired-table-tr td.table-payment-sum {
    color: #ef3124;
}
.list-table-padding-td {
    width: 30px;
    padding: 0;
    border-top: none !important;
    border-bottom: none;
}
.date-td {
    color: #535c69;
}
.cost-sum-red {
    color: #ef3124;
}
.table-period {
    color: #c6c9ce;
}
.payment-details {
    font-size: 81%;
    font-weight: 300;
    color: #c6c9ce;
}
.table-payment-sum {
    text-align: right;
    font-weight: normal;
}
.income-icon,
.income-sum, 
.positive-profit {
    color: #0b0;
}
.cost-icon,
.cost-sum {
    color: #535c69;
}
td.plan-action-td {
    position: relative;
    text-align: right;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    white-space: nowrap;
}
.percent-action-icon, 
.transfer-icon {
    color: #c6c9ce;
    padding: 10px 10px;
    transition: 0.2s;
}
.percent-action-icon:hover, 
.transfer-icon:hover {
    color: #0b0;
}
.reject-plan-payment-icon {
    color: #c6c9ce;
    padding: 10px 0 10px 10px;
    transition: 0.2s;
}
.reject-plan-payment-icon:hover {
    color: #ef3124;
}
#payment-list-plan {
    display: none;
}

    /* PAGINATION */
.pagination {
    display: table;
    padding: 20px 30px;
    box-sizing: border-box;
    width: 100%;
    color: #535c69;
    overflow: hidden;
}
.pages {
    display: table-cell;
    padding-right: 60px;
}
.page {
    padding: 1px 9px;
    cursor: pointer;
    transition: 0.2s;
}
.page:hover {
    color: #333;
}
.page-arrow-left {
    padding-left: 0;
}
.page-arrow-right {
    padding-right: 0;
}
.page-number {
    border-radius: 5px;
    border: 1px solid #fff;
    transition: 0.2s;
}
.active-page {
    background-color: #eef2f4;
    border: 1px solid #eef2f4;
    cursor: text;
}
.pages-quantity {
    display: table-cell;
    text-align: right;
    transition: 0.2s;
}
.pages-quantity-select {
    width: 100px;
    margin: 0 5px;
    border: 1px solid #d5dbdf;
    color: #535c69;
    transition: 0.2s;
}
.pages-quantity-select:hover {
    border: 1px solid #acb6bf;
    color: #333;
}

#in {
    border: 2px solid #9dcf00;
    min-width: 820px;
}
#in h2 {
    background-color: #9dcf00;
    border-bottom-color: #9dcf00;
}
#out {
    border: 2px solid #c4c9cd;
    min-width: 820px;
}
#out h2 {
    background-color: #c4c9cd;
    border-bottom-color: #c4c9cd;
}

/* REPORTS */
#report-table {
    position: relative;
    border: 1px solid #d5dbdf;
    border-radius: 5px;
    text-align: right;
}
#report-table tr {
    cursor: inherit;
}
#report-table td {
    padding-top: 5px;
    padding-bottom: 5px;
}
.report-title {
    text-align: left;
}
.report-title td {
    border-bottom: none;
}
.report-title-incomes {
    background-color: #0b0;
}
.report-title-costs {
    background-color: #ef3124;
}
.report-title-profit {
    background-color: #b0b;
}
.report-title-h3 {
    color: #fff;
}
.report-thead {
    text-align: right;
    font-weight: bold;
    background-color: #fff;
}
.report-thead td {
    border-bottom: 1px solid #d5dbdf;
}
.report-tbody {
    position: relative;
}
.report-line {
    position: absolute;
    height: 100%;
    max-height: 50px;
    top: 0;
    left: 0;
    background-color: #f7f9fa;
    z-index: -1;
}
.report-line-income {
    background: url(../img/report-line-bg-incomes.jpg) repeat #f7f9fa;
}
.report-line-cost {
    background: url(../img/report-line-bg-costs.jpg) repeat #f7f9fa;
}
.report-line-profit {
    background: url(../img/report-line-bg-profit.jpg) repeat #f7f9fa;
}
.report-total-tr {
    font-weight: bold;
}
.report-total-tr td {
    border-top: 1px solid #d5dbdf;
    border-bottom: none;
}
.report-total-tr-profit td {
    border-top: none;
}
.report-td-title-state, .report-td-title-total {
    padding-left: 30px;
}


/* BOTTOM SECTION */
#total {
    padding: 5px 12px;
    font-weight: 300;
}
#total .table-cal {
    padding: 0 20px;
}
.table-type {
    float: left;
}
a.table-type-link {
    color: #c6c9ce;
    cursor: pointer;
    transition: 0.2s;
}
a.table-type-link:hover {
    color: #535c69;
}
a.table-type-active {
    color: #535c69;
    font-weight: bold;
    cursor: text;
}
.sum-additional-info {
    font-weight: 300;
    color: #c6c9ce;
}
.hundredths {
    font-size: 81%;
}
.currency {
    /* font-family: 'Roboto'; */
    font-size: 81%;
}
.table-sum-numbers-span {
    margin-left: 30px;
}
.total-sum {
    margin: 0;
    font-weight: 300;
}
.total-sum-number {
    font-size: 36px;
    line-height: 1em;
}
.total-sum-rub {
    font-size: 24px;
    color: #535c69;
}

/* POPUP BG */
.popup-bg {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    top: 0;
    padding: 15px;
    background-color: rgba(225, 229, 230, 0.50);
    cursor: pointer;
    transition: 0.2s;
    z-index: 2;
}
.popup-bg.over-popup {
    z-index: 4;
}
.hidden {
    display: none;
}
.top-popup {
    position: absolute;
    top: 68px;
    z-index: 3;
}
.top-popup-left {
    left: 0;
}
.top-popup-right {
    right: 0;
}
.window {
    box-sizing: border-box;
    overflow: visible;
    padding-left: 15px;
    padding-right: 15px;
}
.window-hidden {
    display: none !important;
}
.window-block {
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    padding: 30px 30px 45px 30px;
    background-color: #fff;
    border-radius: 5px;
    width: auto;
    box-shadow: 0 0 15px rgba(225, 229, 230, 1.00);
    cursor: auto;
}
.close, 
.close-over {
    position: absolute;
    top: 0;
    right: 0;
    color: #535c69;
    padding: 30px;
    cursor: pointer;
    transition: 0.2s;
}
.close:hover, 
.close-over:hover {
    color: #000;
}
h4 {
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    color: #535c69;
    width: 100%;
    margin: 15px auto;
    overflow: hidden;
}
form {
    margin: 0;
}

/* ADD POPUP */
#add-popup {
    width: 360px;
}
#add-form {
    box-sizing: border-box;
    width: 300px;
}
.add-form-switch {
    position: relative;
    box-sizing: border-box;
    width: 300px;
    height: 36px;
    border: 1px solid #eef2f4;
    border-radius: 5px;
    margin-bottom: 7px;
}
.add-form-switch-slider {
    position: absolute;
    top: 0;
    width: 50%;
    height: 36px;
    background-color: #fff4cb;
    border-radius: 5px;
    transition: 0.2s;
}
.add-form-switch-slider-left {
    left: 0;
}
.add-form-switch-slider-right {
    left: 50%;
}
.add-form-switch-button {
    position: relative;
    box-sizing: border-box;
    width: 50%;
    float: left;
    color: #aaa;
    padding: 9px 30px 6px 30px;
    border-radius: 5px;
} 
.add-form-switch-button-active {
    color: #535c69;
    transition: 0.2s;
}
.add-form-switch-button-inactive {
    cursor: pointer;
    transition: 0.2s;
}
.add-form-switch-button-inactive:hover {
    color: #535c69;
}
input[type="text"], 
input[type="number"], 
input[type="date"], 
input[type="submit"],
select {
    box-sizing: border-box;
    width: 300px;
    height: 36px;
    border: 1px solid #eef2f4;
    border-radius: 5px;
    margin-bottom: 7px;
    padding: 10px 30px 7px 30px;
    font-family: 'Calibri', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1em;
    color: #333;
    background-color: transparent;
    clear: both;
    outline: none;
}
input.error_require, select.error_require {
    border: 1px solid #f40b07;
}
input::-moz-placeholder {
    color: #aaa;
    font-weight: 300;
}
input::-webkit-input-placeholder {
    color: #aaa;
    font-weight: 300;
}
input:-ms-input-placeholder {
    color: #aaa;
    font-weight: 300;
}
input::-ms-input-placeholder {
    color: #aaa;
    font-weight: 300;
}
input::placeholder {
    color: #aaa;
    font-weight: 300;
}
select {
    background: url(../img/down.png) no-repeat right center;
    color: #aaa;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
/*select:focus {*/
/*    color: #000;*/
/*}*/
.required-field {
    border-right: 1px solid #ef3124 !important;
}
.not-empty {
    color: #555 !important;
}
#add-form select[name="item-in"],
#add-form select[name="item-out"] {
    /*display: none;*/
}
input[type="submit"].submit {
    background-color: #3bc8f5;
    font-weight: normal;
    color: #fff;
    height: 42px;
    text-transform: uppercase;
    margin-top: 7px;
    margin-bottom: 0;
    border-color: #3bc8f5;
    cursor: pointer;
    transition: 0.2s;
}
input[type="submit"].submit:hover {
    background-color: #00b2ed;
    border-color: #00b2ed;
}
#new td {
    background-color: #ffff00;
}
#add-form input::-webkit-calendar-picker-indicator {
    opacity: 0.25;
    cursor: pointer;
    transition: 0.2s;
}
#add-form input::-webkit-calendar-picker-indicator:hover {
    opacity: 0.65;
}


/* FILTER POPUP */
#filter-popup {
    width: 360px;
}
#filter-form {
    box-sizing: border-box;
    width: 300px;
}
.input-clear {
    box-sizing: border-box;
    margin-left: -25px;
    padding: 5px 5px;
    color: #aaa;
    cursor: pointer;
    transition: 0.2s;
}
.input-clear:hover {
    color: #535c69;
}
#settings-popup, #cashbox-popup {
    width: 745px;
    float: right;
}

/* IMPORT */
#import-settings-table {
    padding-top: 15px;
}
#import-popup {
    overflow: hidden;
    width: unset;
}
#import-popup .window-block {
    min-width: 800px;
    padding-left: 45px;
    padding-right: 45px;
}
#import-popup .close {
    padding-right: 45px;
}
#import-settings-table td {
    padding: 0;
    border-bottom: none;
}
#import-settings-table td:first-child {
    padding-right: 30px;
}
#import-settings-table td:last-child {
    text-align: right;
}
.form-title {
    font-size: 24px;
    font-weight: bold;
}
h5 {
    text-align: center;
    font-weight: normal;
    font-size: 100%;
    color: #535c69;
    width: 250px;
    margin: 15px 0;
    overflow: hidden;
}
h5.h5-import {
    font-weight: 300;
    font-size: 1.5rem;
    width: auto;
    margin: 0;
    padding: 15px 0;
}
input[type="file"] {
    cursor: pointer;
}
#import-fields-names td {
    font-weight: bold;
    text-align: center;
    padding: 15px 0;
}
#import-fields-names td:last-child {
    text-align: center;
}
.import-td-select {
    width: 345px;
}
#import-settings-table-buttons td.import-settings-table-button-td {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: none;
    width: 50%;
}
td.import-settings-table-button-td-left {
    padding-left: 0;
}
td.import-settings-table-button-td-right {
    padding-right: 0;
}
button.import-settings-table-btn {
    width: 100%;
}
#import-popup .errors {
    overflow-y: auto;
}
.import-settings-error {
    text-align: center;
}

/* SORTING POPUP */
#sorting-popup {
    width: 100%;
}
#sorting-popup .window-block {
    width: 100%;
}

/* ITEMS SETTINGS POPUP */
#items-settings-popup .window-block, #user-popup .window-block, #cashbox-popup .window-block {
    float: right;
}
#items-settings-popup .window-block {
    padding: 45px 35px 60px 35px;
}
#set-forms {
    box-sizing: border-box;
    width: 665px;
    display: flex;
    justify-content: space-between;
}
.set-form {
    box-sizing: border-box;
    width: 330px;
}
.set-form input {
    margin-bottom: 10px;
    width: 200px;
}
.set-forms-subitems {
    padding-left: 50px;
}
input[type="text"].set-forms-input-item {
    background-color: #fff;
}
input[type="text"].set-forms-input-subitem {
    background-color: #fff;
}
.set-form-move-icon, 
.set-form-delete-icon {
    color: #535c69;
    padding: 10px;
    transition: 0.2s;
}
.set-form-move-icon {
    cursor: move;
}
.set-form-plus-subitem-icon {
    cursor: pointer;
    padding: 0 10px;
}
.set-form-delete-icon {
    cursor: pointer;
    float: right;
}
.set-form-move-icon:hover {
    color: #000;
}
.set-form-plus-subitem-icon:hover {
    color: #080;
}
.set-form-delete-icon:hover {
    color: #ef3124;
}
#items-in-settings {
    margin-right: 30px;
}
.add-item {
    text-align: center;
    width: 300px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0 0 7px 0;
    color: #535c69;
    cursor: pointer;
    transition: 0.2s;
}
.add-item:hover {
    color: #000;
}
#set-forms-item-sample, 
#set-forms-subitem-sample {
    display: none;
}
#settings-message {
    position: absolute;
    top: 30px;
    left: 30px;
    display: none;
    box-sizing: border-box;
    width: 630px;
    padding: 10px 30px 7px 30px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    background-color: #9dcf00;
}
.list-table a, #access-popup a, #settings-popup a, .base-link {
    cursor: pointer;
    color: #535c69;
    text-decoration: none;
    transition: 0.2s;
}
.list-table .color_red a {
    color: red;
}
#access-popup a:hover, #settings-popup a:hover, .base-link:hover {
    color: #2067b0;
}
.fa-trash-alt:hover {
    color: #ed0e2d;
}
.edit_task:hover, .fa-eye:hover {
    color: #e8a00e;
}
.last-td {
    width: 37px;
}
.new_status {
    background-color: #ffff00;
}
.hide {
    display: none !important;
}
#settings {
    /*display: none;*/
}
.color_red {
    color: red !important;
}
#error_pay {
    padding: 5px;
    display: block;
    color: red;
}
#footer {
    padding-top: 30px;
    padding-bottom: 0;
    text-align: center;
    color: #c4c9cd;
}
#footer p {
    padding-top: 15px;
    border-top: 2px solid #eef2f4;
    text-align: center;
    color: #535c69;
    color: #c4c9cd;
}
#footer a {
    cursor: pointer;
    color: #c4c9cd;
    text-decoration: underline;
    transition: 0.2s;
}
#footer a:hover {
    color: #44f;
}
.container-center {
    text-align: center;
    width: 100%;
    margin-top: 15px;
}
#edit-task, #delete-payment {
    cursor: pointer;
    color: #c4c9cd;
    text-decoration: none;
    transition: 0.2s;
    display: block;
    line-height: 20px;
}
#edit-task:hover, #delete-payment:hover {
    color: #3bc8f5;
}
.option__image {
    height: 22px;
}
.option__desc {
    display: inline-block;
    margin-left: 5px;
}
.multiselect {
    width: 60px !important;
    position: absolute !important;
    right: 0;
    top: 0;
    cursor: pointer;
}
#label-language {
    color: rgb(83, 92, 105);
}
#save-button {
    text-align: center;
    position: relative;
    margin-top: 15px;
}
.submit.settings-input {
    width: 300px;
}
#language-settings {
    margin-top: 15px;
}
#settings {
    position: relative;
    display: inline-block;
}

span.tariff-lock,
a.tariff-lock::before {
    position: absolute;
    display: inline-block;
    min-height: 12px;
    height: 16px;
    width: 9px;
    top: 12px;
    left: 14px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%2010%22%3E%3Cpath%20fill%3D%22%23828B95%22%20fill-rule%3D%22evenodd%22%20d%3D%22M4.344%207.346v1.472c0%20.184-.152.335-.337.335h-.074c-.185%200-.337-.15-.337-.335V7.346c-.334-.145-.57-.473-.57-.858%200-.52.423-.937.944-.937.52%200%20.944.42.944.938%200%20.385-.236.713-.57.858zM2.02%202.984C2.025%202.78%202.093.982%203.97.982s1.946%201.797%201.948%202v.982H2.02v-.98zm4.888.98v-.982C6.908%201.95%206.294%200%203.97%200%201.646%200%201.032%201.95%201.032%202.982v.982H0v6.01h8v-6.01H6.908z%22%20opacity%3D%22.636%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}
a.tariff-lock {
    padding-left: 32px;
}
a.tariff-lock::before {
    content: ' ';
}
.p-relative {
    position: relative;
}
.not-allowed {
    cursor: not-allowed;
}
/*.menu-popup-item-icon {
    display: inline-block;
    height: 16px;
    margin-left: 15px;
    vertical-align: middle;
}
.tariff-lock.menu-popup-item-icon {
    min-height: 12px;
    width: 9px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%2010%22%3E%3Cpath%20fill%3D%22%23828B95%22%20fill-rule%3D%22evenodd%22%20d%3D%22M4.344%207.346v1.472c0%20.184-.152.335-.337.335h-.074c-.185%200-.337-.15-.337-.335V7.346c-.334-.145-.57-.473-.57-.858%200-.52.423-.937.944-.937.52%200%20.944.42.944.938%200%20.385-.236.713-.57.858zM2.02%202.984C2.025%202.78%202.093.982%203.97.982s1.946%201.797%201.948%202v.982H2.02v-.98zm4.888.98v-.982C6.908%201.95%206.294%200%203.97%200%201.646%200%201.032%201.95%201.032%202.982v.982H0v6.01h8v-6.01H6.908z%22%20opacity%3D%22.636%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}*/
#top {
    display: flex;
}
.popup-window-delimiter {
    background-color: #f0f1f2;
    display: block;
    height: 1px;
    line-height: 1px;
}
.container-but {
    display: flex;
    margin-top: 15px;
}
.btn {
    padding: 10px 30px;
    border: 1px solid #f0f2f4;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
    background-color: #fff;
    margin: 0;
    text-transform: uppercase;
    height: 42px;
    font-weight: normal;
    width: 105px;
}
.next-but {
    margin-left: auto;
    color: #fff;
    background-color: #3bc8f5;
    border-color: #3bc8f5;
}
.next-but:hover {
    background-color: #00b2ed;
    border-color: #00b2ed;
}
.prev-but {
    margin-right: auto;
    background-color: #adb7b7;
    border-color: #adb7b7;
    color: #fff;
}
.prev-but:hover {
    background-color: #919999;
    border-color: #919999;
}
input.typefile {
    border: 0;
    height: auto;
    padding: 10px;
}
#preview-content {
    padding: 15px 0;
}
.set-columns {
    display: flex;
    justify-content: center;
}
.name-col {
    min-width: 100px;
}
.label-col {
    line-height: 36px;
}
.errors {
    margin-top: 15px;
}
.progress {
    text-align: center;
    
}
input[type="checkbox"] {
    width: auto;
    margin: 0;
}
#access-popup .window-block {
    padding: 45px;
}
#access-table {
    margin-bottom: 15px;
}
#access-table th {
    padding: 0 15px;
    word-break: break-all;
}
#access-table .group {
    text-align: left;
    font-weight: 800;
    padding-left: 0;
}
td.elem-access {
    font-weight: 300;
    text-align: center;
    padding: 0 15px;
}
.delete-access {
    color: #535c69;
    cursor: pointer;
}
.delete-access:hover {
    color: #000;
}
#add-right {
    font-weight: bold;
    padding: 10px 0;
}
#currency, .decoupling {
    display: flex;
    align-items: center;
}
#currency div {
    margin-right: 30px;
    width: 300px;
    padding: 15px 30px;
    box-sizing: border-box;
}
#currency select {
    margin-bottom: 0;
    width: 250px;
}
#preview-table td {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.not-active {
    opacity: 0.4;
}
#description {
    width: 560px;
}
.view-div {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 300px;
    height: 36px;
    border: 1px solid #eef2f4;
    border-radius: 5px;
    margin-bottom: 7px;
    padding: 10px 30px 7px 30px;
    font-family: 'Calibri', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1em;
    color: #535c69;
    background-color: transparent;
    clear: both;
    outline: none;
}
.small-label {
    color: #a9adb2;
    display: inline-block;
    width: 100%;
    font: 13px "Helvetica Neue", Arial, Helvetica, sans-serif;
    opacity: .7;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.progress-bar {
    width: auto !important;
}
.button-block {
    display: flex;
    justify-content: space-between;
}
#search-but {
    margin-right: 10px;
    padding: 0;
}
input[type="submit"].reset-but {
    background-color: #adb7b7;
    border-color: #adb7b7;
    padding: 0;
}
input[type="submit"].reset-but:hover {
    background-color: #919999;
    border-color: #919999;
}

/* CASHBOX */
#cashbox-popup .window-block {
    padding: 45px 45px 60px 45px;
}
#cashbox-list-popup {
    position: absolute;
    z-index: 3;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(225, 229, 230, 1.00);
    padding: 20px;
    border-radius: 5px;
    width: auto;
    cursor: auto;
    box-sizing: border-box;
    max-width: 400px;
    display: none;
}
#cashbox-form {
    width: 945px;
}
.container {
    /*    display: flex;
        flex-wrap: wrap;*/
}
.row {
    width: 100%;
    display: flex;
    align-items: center;
}
#cashbox-list-popup input[type="submit"] {
    padding: 5px;
    width: auto;
    height: auto;
}
#cashbox-list-popup label {
    margin-left: 15px;
}
.row.bottom {
    margin-top: 15px;
    justify-content: space-around;
    min-width: 200px;
}
#cashbox-list-popup h3 {
    width: 100%;
    text-align: center;
    max-width: 250px;
    margin: 0 0 10px 0;
}
.read-th {
    min-width: 116px;
}
#cashbox-list-popup input[type="checkbox"] {
    height: 25px;
}
.form {
    width: 650px;
}
.cash-box-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.cash-box-title {
    width: 240px;
}
.cash-box-sum {
    width: 180px;
}
.cash-box-responsible {
    width: 210px;
}
.cash-box-item input {
    width: 100%;
    margin: 0;
}
.cash-box-item > div {
    /*padding: 15px;*/
}
.cash-box-delete {
    width: 12px;
    color: #535c69;
    cursor: pointer;
}
.cash-box-delete:hover {
    color: #ef3124;
}
.cash-box-add {
    width: 100%;
    display: flex;
    justify-content: center;
    color: #535c69;
    cursor: pointer;
}
.cash-box-add:hover {
    color: #000;
}
.cash-box-save {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ACCESS */
.access-select {
    width: auto;
    padding: 5px;
    margin-bottom: 4px;
    background: unset;
    height: auto;
    text-align-last: center;
}
.access-read {
    cursor: pointer;
    line-height: 27px;
    display: block;
}
.access-read:hover {
    color: #000;
}

/* CURRANCY */
#currency-popup .window-block {
    padding: 45px;
}
#main-currency-select {
    color: #535c69;
}

/* OTHER SETTINGS */
#other-settings-popup .window-block {
    padding: 45px;
}
#decoupling-checkbox {
    margin-top: -2px;
    margin-right: 20px;
}
i.help-icon {
    cursor: help;
    padding: 5px;
    vertical-align: super;
    font-size: 81%;
}

/* PARTIAL PAYMENT POPUP */
.partial-payment-data {
    width: 600px;
    text-align: left;
}
.partial-payment-popup {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}
input[type="number"].partial-payment-input {
    width: 150px;
}
input[type="date"].partial-payment-input {
    width: 180px;
}
input[type="submit"].partial-payment-input {
    width: 100%;
}

/* PREMIUM */
.premium-link {
    cursor: pointer;
    color: #535c69;
    text-decoration: none;
}
.premium-link span {
    color: #3bc8f5;
}
.premium-info {
    padding: 1rem 2rem;
    border: 1px solid #f0f2f4;
    border-radius: .25rem;
    margin-top: 10px;
    color: #535c69;
}
.premium-app {
    display: table;
    font-weight: bold;
    font-size: 100%;
    text-transform: uppercase;
    padding: 11px 32px;
    margin-top: 12px;
    line-height: 1em;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #fff;
    background-color: #9dcf00;
    text-decoration: none;
}
#premium-app:hover {
    background-color: #93bf00;
}
.vuejs-progress-bar {
    display: block !important;
}
.help-container {
    padding: 15px 30px;
}

.state-deleted {
    text-decoration: line-through;
}
.fas.fa-exclamation-triangle {
    color: #e2e242;
    font-size: 14px;
}
.m-0 {
    margin: 0 !important;
}
@media screen and (max-width: 900px) {
    #dates-filter {
        display: none;
    }
    #top {
        /*display: none;*/
    }
    .table-section .section-body .table-cal {
        /*width: 100%;*/
    }
    .table-section .section-body .table-cal.hidden-m {
        display: none;
    }
    #visible,
    #state,
    #in,
    #out,
    .app-update-avail {
        min-width: auto;
    }
}