body {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.clearfix {
    clear: both;
}

.success {
    color: green;
}

.error {
    color: red;
}

.header {
    padding: 15px 0;
}

.button {
    margin: 0;
}

.menu-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-top .button {
    margin: 4px 0 0 10px;
}

.main-content {
    margin: 30px 0;
}

textarea {
    box-shadow: none;
    border-radius: 0;
    height: 110px;
    font-size: 13px;
}

.footer {
    font-size: 12px;
    color: #666666;
    text-align: center;
    padding: 20px 10px;
}

.client-sett{
    font-size: 18px;
}

.reveal-overlay-client-settings,
.reveal-overlay-general-settings,
.reveal-overlay-requisites,
.reveal-overlay-report,
.reveal-overlay-info,
.reveal-overlay-pbapi,
.reveal-overlay-fo {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1005;
    display: none;
    background-color: rgba(10, 10, 10, 0.45);
    overflow-y: scroll;
}

.pop-up-cs {
    display: block;
    width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 20px 40px 30px;
    position: relative;
}

.pop-up-cs h1 {
    font-size: 24px;
    margin: 10px 0 20px;
}

.pop-up-cs .client-title-name {
    color: #fefefe;
    background: #586083;
    padding: 5px 10px;
    border-radius: 4px;
}

.pop-up-cs .requisite-title-name {
    color: #fefefe;
    background: #586083;
    padding: 5px 10px;
    border-radius: 4px;
}

.pop-up-cs h3 {
    font-size: 18px;
    color: #666;
}

.pop-up-cs .close-button {
    right: 1rem;
    top: 0.5rem;
    font-size: 2em;
    line-height: 1;
    position: absolute;
    color: #8a8a8a;
    cursor: pointer;
}

.pop-up-cs form.custom input {
    width: auto;
    box-shadow: none;
    border-radius: 0;
    height: 30px;
    font-size: 14px;
    min-width: 200px;
}

.form-checkbox {
    position: relative;
}

.form-checkbox label:before {
    content: '';
    width: 30px;
    height: 30px;
    border: 1px solid #c2c2c2;
}

.form-checkbox label:before, .form-checkbox label:after {
    font-family: FontAwesome;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    color: #278cd8;
}

.form-checkbox .checkbox-text {
    font-size: 16px;
    color: #000000;
    position: relative;
    left: 40px;
}

.form-checkbox label:after {
    content: '\f00c';
    max-width: 0;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.35s;
    text-align: center;
    left: 7px;
}

.pop-up-cs select {
    border-radius: 0px;
    height: 30px;
    font-size: 14px;
    padding: 0 30px 0 10px;
}

.form-checkbox input[type="checkbox"]:checked + label:after {
    max-width: 25px;
    opacity: 1;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.half-row {
    width: 50%;
    float: left;
    padding-left: 20px;
}

.pop-up-cs form.custom input.button {
    height: 40px;
    margin-top: 10px;
}

.table-row {
    margin: 10px 0;
}

.table-row:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.table-col {
    width: 25%;
    padding-right: 5px;
    float: left;
}

.table-col h4 {
    font-size: 14px;
    line-height: 16px;
    min-height: 33px;
}

.pop-up-cs form.custom .table-col input {
    min-width: 1px;
    width: 100%;
}

.reveal-overlay-requisites .pop-up-cs form.custom input {
    width: 100%;
}

.place-signature img, .place-seal img {
    width: 100px;
    margin: 10px 0;
}

.code-edrpou {
    float: left;
    margin-right: 10px;
}

.btn-generate {
    font-size: 12px;
    padding: 8px;
}

.set-info {
    font-size: 20px;
    margin: 0 10px;
    cursor: pointer;
}

.set-pbapi {
    font-size: 19px;
    margin: 0 5px;
    cursor: pointer;
}

.hashtag {
    font-style: italic;
    color: #096c1f;
}

.ui-datepicker table {
    display: none !important;
}

.print-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin: 0 10px;
    border: 1px solid #5f6eae;
    color: #5f6eae;
    border-radius: 4px;
}

.download-csv-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin: 0 10px 0 0;
    border: 1px solid #5f6eae;
    color: #5f6eae;
    border-radius: 4px;
}

.total-table {
    background: #c5cce8;
    font-weight: bold;
}

.send-invoice-btn {
    position: relative;
    top: -3px;
    margin-left: 10px;
}

/* Login */
.login-page {
    background-color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
    color: #333333
}

.login-page .logo img{
    width: 150px;
    margin: 40px 0 50px;
}

#login, #signup, #device {
    width: 400px;
    border: 1px solid #d6d7da;
    padding: 20px;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 16px;
    color: #333333;
    font-size: 14px;
    background: #ffffff;
    margin: 0 auto 30px;
}

.title-auth {
    color: #5f6eae;
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
}

.login-page form label {
    font-weight: bold;
}

.login-page form label, .login-page form input {
    display: block;
    margin-bottom: 5px;
    width: 100%
}

.login-page form input {
    padding: 10px;
    border: solid 1px #BDC7D8;
    margin-bottom: 20px
}

.login-page .button {
    background-color: #5fcf80 !important;
    border-color: #3ac162 !important;
    font-weight: bold;
    padding: 12px 15px;
    max-width: 150px;
    color: #ffffff;
}

.login-page .errorMsg {
    color: #cc0000;
    margin-bottom: 10px
}

.login-page .app {
    width: 150px
}
.qr-code-url{
    text-align: center;
}

/* End Login */

@media print {
    @page landscape {
        size: landscape;
    }

    body {
        page: landscape;
    }

    @page rotated {
        size: landscape
    }

    .report-page table.stack td:nth-of-type(2),
    .report-page table.stack th:nth-of-type(2) {
        width: 60px;
    }

    table thead th, table thead td, table tfoot th, table tfoot td,
    table tbody th, table tbody td {
        padding: 2px 5px;
        line-height: 12px;
        font-size: 12px;
    }

    .report-page table.stack td:nth-of-type(9),
    .report-page table.stack th:nth-of-type(9) {
        width: 93px;
    }

    table tbody tr, table tbody tr:nth-child(even) {
        border-bottom: 1px solid #f1f1f1;
    }

}

@media screen and (max-width: 1070px) {
    .report-page table {
        width: 1170px;
    }

    .report-page table.stack td:nth-of-type(1),
    .report-page table.stack th:nth-of-type(1) {
        width: 92px;
    }

    .report-page table.stack td:nth-of-type(2),
    .report-page table.stack th:nth-of-type(2) {
        width: 317px;
    }

    .report-page table.stack td:nth-of-type(3),
    .report-page table.stack th:nth-of-type(3) {
        width: 78px;
    }

    .report-page table.stack td:nth-of-type(4),
    .report-page table.stack th:nth-of-type(4) {
        width: 120px;
    }

    .report-page table.stack td:nth-of-type(5),
    .report-page table.stack th:nth-of-type(5) {
        width: 102px;
    }

    .report-page table.stack td:nth-of-type(6),
    .report-page table.stack th:nth-of-type(6) {
        width: 68px;
    }

    .report-page table.stack td:nth-of-type(7),
    .report-page table.stack th:nth-of-type(7) {
        width: 118px;
    }

    .report-page table.stack td:nth-of-type(8),
    .report-page table.stack th:nth-of-type(8) {
        width: 150px;
    }

    .report-page table.stack td:nth-of-type(9),
    .report-page table.stack th:nth-of-type(9) {
        width: 123px;
    }
}

@media screen and (max-width: 1023px) {
    table.stack td:nth-of-type(1), table.stack th:nth-of-type(1) {
        width: 38px;
    }

    table.stack td:nth-of-type(2), table.stack th:nth-of-type(2) {
        width: 311px;
    }

    table.stack td:nth-of-type(3), table.stack th:nth-of-type(3) {
        width: 78px;
    }

    table.stack td:nth-of-type(4), table.stack th:nth-of-type(4) {
        width: 97px;
    }

    table.stack td:nth-of-type(5), table.stack th:nth-of-type(5) {
        width: 69px;
    }

    table.stack td:nth-of-type(6), table.stack th:nth-of-type(6) {
        width: 104px;
    }

    table.stack td:nth-of-type(7), table.stack th:nth-of-type(7) {
        width: 141px;
    }

    table.stack td:nth-of-type(8), table.stack th:nth-of-type(8) {
        width: 131px;
    }

    .header {
        text-align: center;
    }

    .menu-top .button {
        margin: 15px auto 0;
    }

    .button.report-period {
        margin-right: 5px;
    }

    .button.general-sett {
        margin-left: 5px;
    }

    table {
        width: 970px;
    }

    .main-content .row {
        padding: 0 15px;
    }

    .main-content .columns {
        width: 100%;
        overflow: scroll;
        padding: 0;
    }

    table.stack td, table.stack th, table.stack thead {
        display: table-cell;
        vertical-align: inherit;
    }
}

@media screen and (max-width: 890px) {
    .pop-up-cs {
        width: 90%;
    }

}

@media screen and (max-width: 768px) {
    .reveal-overlay-client-settings .pop-up-cs form.custom input {
        min-width: inherit;
    }

    .pop-up-cs h3 {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .half-row {
        width: 100%;
        padding-left: 0;
    }

    .pop-up-cs form.custom input {
        width: 100%;
    }

    .table-col {
        width: 100%;
        padding-right: 0;
        padding-bottom: 5px;
    }

    .table-col:first-of-type {
        padding-bottom: 10px;
    }

    .table-col h4 {
        min-height: 20px;
    }

    .pop-up-cs .requisite-title-name,
    .pop-up-cs .client-title-name {
        display: block;
        text-align: center;
    }

    .button.requisites-btn {
        margin-bottom: 5px;
    }

    textarea {
        margin-bottom: 5px;
    }

    [type='checkbox'] + label[for], [type='radio'] + label[for] {
        width: calc(100% - 48px);
    }

}

@media screen and (max-width: 425px) {
    .pop-up-cs {
        padding: 20px 20px 30px;
    }

    .pop-up-cs {
        width: 100%;
        margin: 0;
    }
}