@media(max-width:1800px) {
    body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .nav-tabs li a.nav-link {
        font-size: 0.9em;
    }
}

@media(max-width:1600px) {
    body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .nav-tabs li a.nav-link {
        font-size: 0.8em;
    }
}

@media(max-width:1400px) {
    body .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content.chartsVisible {
        height: calc(100% - 50px);
    }

    body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .nav-tabs li a.nav-link {
        font-size: 0.7em;
    }
}

@media (max-width: 1350px) {
    .inner-calculator-content:not(.titleViewTypeTabs) .calc-side-titles {
        display: none !important;
    }

    .inner-calculator-content:not(.titleViewTypeTabs) .calc-tabs,
    .calculator-taskManagement-page .inner-calculator-content .calc-tabs,
    .calculator-taskManagement-page .inner-calculator-content.titleViewTypeTabs .calc-tabs {
        width: 100%;
    }

    .inner-calculator-content.titleViewTypeTabs .calc-tabs {
        width: calc(100% - 190px);
    }

    body .calculator-header .header-text {
        max-width: calc(100% - 135px);
    }

    .calculator-header .header-text h1 {
        font-size: 26px;
    }

    .calculator-header .report-status-wrapper {
        font-size: 0.8em;
    }

    .calculator-header .calc-button button {
        width: 120px;
        padding: 7px 5px;
    }

    body .calculator-header .header-text .icon {
        font-size: 1.6em;
    }
}

@media (max-width: 1200px) {
    body .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content {
        overflow-x: auto;
    }
        body .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content .calc-tabs {
            overflow-x: auto;
        }

    body .calculator-box .editable-name input[type=text] {
        max-width: 200px;
    }

    .calculator-header .report-status-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    body .calculator-header .header-text {
        max-width: calc(100% - 125px);
    }

    body .calculator-header .header-text .calc-title.calc-title-long h1 {
        font-size: 22px;
    }
}


@media (min-width: 1350px) {
    .inner-calculator-content .calc-tabs {
        width: calc(100% - 190px);
    }

    .calculator-taskManagement-page .inner-calculator-content .calc-tabs {
        width: 100%;
    }

    .inner-calculator-content .calc-side-titles {
        width: 180px;
    }
}

@media screen and (min-width: 768px) {
    .trip-report-modal .modal-dialog {
        width: 400px;
    }
}

.handsontableInputHolder .ui-autocomplete li {
    text-align: right;
}

body.calculator .calculator-box.leftMenuOpen {
    width: calc(100% - 300px);
}

.orkot-additional-menu {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
}

.orka-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

    .orka-level .orka-title {
        font-size: 20px;
        font-weight: bold;
    }

    .orka-level .orka-circle {
        display: flex;
        height: 150px;
        width: 150px;
        border-radius: 50%;
        border: 5px solid;
        align-items: center;
        justify-content: center;
    }

        .orka-level .orka-circle .orka-stats {
            display: flex;
            gap: 7px;
            font-size: 18px;
        }

.border-color-green {
    border-color: #4ed54b !important;
}

.border-color-blue {
    border-color: #118dcf !important;
}

.border-color-red {
    border-color: #c70f2b !important;
}

body.calculator .content .left-nav ul {
    list-style-type: none;
    padding-right: 0;
    padding-bottom: 5px;
}

.calculator-box {
    width: 100%;
    height: 100%;
    padding-right: 20px;
    box-shadow: 0 2px 7px rgba(13, 13, 13, 0.18);
    float: right;
    position: relative !important; /* intro js fix */
    /*z-index: 2;  removed so the header will be shown in calc mode */
    z-index: 1;
}

    .calculator-box .frame-wrapper {
        height: calc(100% - 40px);
    }

        .calculator-box .frame-wrapper form {
            height: 100%;
        }

        .calculator-box .frame-wrapper .calculator-inner {
            height: calc(100% - 62px);
            padding-top: 5px;
        }

            .calculator-box .frame-wrapper .calculator-inner .comment {
                font-size: 0.9em;
            }

            .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content {
                height: 100%;
                padding-left: 10px;
                overflow-y: auto;
                overflow-x: hidden;
            }

                .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content::-webkit-scrollbar {
                    width: 6px;
                }

                .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content::-webkit-scrollbar-track {
                    background-color: #eaeaea;
                }

                .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content::-webkit-scrollbar-thumb {
                    background-color: #ccc;
                }

                    .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content::-webkit-scrollbar-thumb:hover {
                        background-color: #aaa;
                    }

                .calculator-box .frame-wrapper .calculator-inner .inner-calculator-content.chartsVisible {
                    height: calc(100% - 95px);
                }

.calculator-header {
    overflow: hidden;
    height: 50px;
    width: 100%;
}

    .calculator-header .header-text {
        float: right;
        color: black;
        max-width: calc(100% - 175px);
    }

        .calculator-header .header-text .calc-title {
            width: calc(100% - 75px);
            display: inline-block;
            white-space: nowrap;
            overflow: hidden !important;
        }

        .calculator-header .header-text h1 {
            direction: rtl;
            vertical-align: middle;
            margin: 0;
            padding: 0;
        }

        .calculator-header .header-text .calc-title .report-name {
            padding: 5px 0 5px 10px;
            margin-right: 10px;
        }

        .calculator-header .header-text .calc-title.calc-title-long h1 {
            font-size: 28px;
            white-space: nowrap;
        }

        .calculator-header .header-text .calc-title:not(.calc-title-long) .editable-name {
            display: inline-block;
        }

        .calculator-header .header-text .calc-title.calc-title-long .editable-name {
            display: block;
        }

        .calculator-header .header-text .calc-title.calc-title-long .report-name {
            margin-right: 0;
            padding: 2px 0 0 0;
            font-size: 0.85em;
        }

        .calculator-header .header-text .icon {
            height: 40px;
            width: 70px;
            display: inline-block;
            font-size: 2em;
            vertical-align: top;
            text-align: center;
        }

            .calculator-header .header-text .icon img {
                margin-top: 20px;
            }

    .calculator-header .report-status-wrapper {
        float: left;
        position: relative;
        margin-left: 10px;
    }

    .calculator-header .calc-button {
        float: left;
        position: relative;
        height: 40px;
        margin-left: 15px;
    }

        .calculator-header .calc-button button {
            padding: 8px 5px;
        }

        .calculator-header .calc-button .calcbtn-caret {
            position: absolute;
            top: 0;
            right: -28px;
        }

            .calculator-header .calc-button .calcbtn-caret button {
                width: 23px;
                background-color: #118dcf;
                padding: 10px 10px 11px 16px;
                border-radius: 0;
                color: #fff;
            }

                .calculator-header .calc-button .calcbtn-caret button:active {
                    outline: 0;
                }

.calculator-box .frame-wrapper .calculator-inner .document-wrapper {
    overflow: hidden;
}

    .calculator-box .frame-wrapper .calculator-inner .document-wrapper .page {
        width: 800px;
        margin: 10px auto;
        border: 1px solid silver;
        position: relative;
    }

        .calculator-box .frame-wrapper .calculator-inner .document-wrapper .page textarea {
            resize: none;
        }

        .calculator-box .frame-wrapper .calculator-inner .document-wrapper .page img {
            width: 100%;
            -ms-user-select: none;
            -moz-user-select: none;
            -webkit-user-select: none;
            user-select: none;
        }

body .calculator-inner {
    direction: rtl;
    text-align: right;
}

    body .calculator-inner .title {
        font-size: 1.2em;
        padding-bottom: 15px;
    }

.calc-section {
    margin-bottom: 40px;
}

.inner-calculator-content .calc-side-titles {
    height: 100%;
    vertical-align: top;
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding-left: 20px;
}

.inner-calculator-content .calc-tabs {
    padding-bottom: 40px;
    display: inline-block;
    height: calc(100% - 10px);
}

    .inner-calculator-content .calc-tabs.original-tabs {
        height: calc(100% - 7px);
        padding-bottom: 0;
    }

        .inner-calculator-content .calc-tabs.original-tabs .tab-content {
            height: calc(100% - 100px);
            overflow-y: auto;
            overflow-x: hidden;
            padding-left: 3px;
        }

        .inner-calculator-content .calc-tabs.original-tabs .orkot .tab-content .tab-pane {
            height: 100%;
        }

        .inner-calculator-content .calc-tabs.original-tabs .orkot .tab-content {
            height: calc(100% - 40px);
        }

.orkot .tab-content {
    height: calc(100% - 45px);
}

.inner-calculator-content .calc-tabs.original-tabs .nav-tabs li a.nav-link {
    background-color: #118dcf;
    color: white;
    border-radius: 0;
    border-color: #ddd;
    border-bottom: none;
    padding: 7px;
}

.inner-calculator-content .calc-tabs.orkot-tabs.original-tabs .nav-tabs .active a.nav-link {
    background-color: #118dcf;
    color: white;
    border-radius: 0;
    border-color: #ddd;
    border-bottom: none;
    padding: 7px;
}

.inner-calculator-content .calc-tabs.orkot-tabs.original-tabs .nav-tabs a.nav-link {
    background-color: #f0f8ff;
    color: #118dcf;
    border-radius: 0;
    border-color: #ddd;
    border-bottom: none;
    padding: 7px;
}

.inner-calculator-content .calc-tabs.original-tabs .nav-tabs li a.nav-link:hover {
    background-color: #2e6da4;
    /*color: white;*/
}

.inner-calculator-content .calc-tabs.original-tabs .nav-tabs .active a.nav-link {
    color: #118dcf;
}

.inner-calculator-content .calc-side-titles.original-tabs {
    height: calc(100% - 5px);
}

.inner-calculator-content .form-control {
    font-size: inherit;
    border-radius: inherit;
}

.calc-header {
    width: calc(100% - 5px);
    display: inline-block;
    zoom: 1;
    *display: inline;
    color: #89898C;
}

    .calc-header .input-field {
        font-size: .9em;
        color: #89898C;
    }

        .calc-header .input-field input {
            border: 1px solid #CDCDCF;
        }

            .calc-header .input-field input:hover {
                border: 1px solid #717171;
            }

    .calc-header .text-field {
        color: #89898C;
        line-height: 28px;
    }

    .calc-header .double-split {
        max-width: 380px;
    }

    .calc-header .label-field {
        height: 20px;
        margin-top: 7px;
    }

        .calc-header .label-field label {
            font-weight: normal;
            font-size: .7em;
            vertical-align: top;
        }

.switch-yesno-field {
    justify-content: space-between;
}

.switch-document150,
.switch-yesno-field {
    width: 100%;
    zoom: 1;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    gap: 10px;
}

.switch-document150-label {
    min-width: 50%;
}

.switch-document150 .switch-document150-answers,
.switch-yesno-field .switch-yesno-field-items {
    display: flex;
    gap: 1px;
}

    .switch-document150 .switch-document150-answers .switch-document150-answer-bool,
    .switch-yesno-field .switch-yesno-field-items div {
        padding: 5px 10px;
        color: #118dcf;
        background-color: white;
        cursor: pointer;
        border: 1px solid #118dcf;
        user-select: none;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        min-width: 45px;
        text-align: center;
    }

        .switch-document150 .switch-document150-answers .switch-document150-answer-bool.active,
        .switch-yesno-field .switch-yesno-field-items div.active {
            color: white;
            background-color: #118dcf;
            box-shadow: 0px 0px 0.5px 0.5px #c9ddef;
        }

    .switch-document150 .switch-document150-answers.answer-input {
        flex: 1;
    }

.switch-document150 .switch-document150-answer-input {
    width: 100%;
}

.switch-document150 .switch-document150-subanswers {
    flex: 1;
}

.info-sign {
    position: absolute;
    left: 23px;
    bottom: 11px;
    font-size: 1.2em;
    color: #118dcf;
}

.ui-input-with-subcalc .info-sign {
    left: 40px;
    top: 5px;
}

.checkbox-field {
    margin-left: 20px;
    width: 100%;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

    .checkbox-field:not(.no-top-margin) {
        margin-top: 18px;
    }

    .checkbox-field label {
        margin-bottom: 2px;
        font-weight: normal;
        font-size: .9em;
    }

        .checkbox-field label i,
        .checkbox-field label span {
            vertical-align: middle;
        }

        .checkbox-field label i {
            font-size: 1.2em;
        }

.calc-header .checkbox-field span:last-child {
    display: inline-block;
    margin-right: 5px;
}

/*.calc-header input[type='text'],
.calc-header input[type='number'],
.calc-header select {
    width: 100%;
}*/

.calc-header input[type='checkbox'] {
    margin: 0 5px;
}

.calc-header .double-input div {
    width: 49%;
}

.calc-header .triple-input div {
    width: 24.5%;
    min-width: 150px;
}

.calc-header input[type='button'] {
    background-color: #118dcf;
    color: white;
    padding: 3px 10px;
}

.calc-header button.inner-button {
    font-size: .9em;
    background-color: #118dcf;
    color: white;
    padding: 3px 15px;
    box-shadow: 0 0 5px silver;
    border: none;
}

    .calc-header button.inner-button:active {
        background-color: #01115a;
        border-color: #204d74;
    }

.calc-header .result-input {
    background-color: #E7F3FA;
}

.tabs-calc {
    width: calc(100% - 240px);
}

.search-field {
    width: 100%;
}

    .search-field input {
        display: inline-block;
    }

        .search-field input[type='button'] {
            margin-right: 5px;
            padding: 3px 6px;
            box-shadow: 0 0 5px silver;
            background-color: #118dcf;
            text-align: center;
            color: white;
            border: none;
        }

        .search-field input[type='search'] {
            width: calc(100% - 60px);
            max-width: 290px;
        }

input[type='text'].datepicker:not(.doc-item),
input[type='text'].currency,
input[type='text'].percent,
input[type='number'].percent {
    padding-left: 30px;
}

input[type='text'].datepicker,
input[type='text'].currency,
input[type='text'].percent,
input[type='number'].percent,
select.select-numbers option {
    direction: ltr;
    text-align: right;
}

    input[type='text'].datepicker:not(.doc-item):not([disabled]):not(.without-icon) {
        background: url(/images/datepicker.png) white no-repeat left 3px center;
    }

    input[type='text'].datepicker.bg-blue-light {
        background: #E7F3FA url(/images/datepicker.png) no-repeat left 3px center;
    }

    .datepicker[disabled],
    input[type='text'].datepicker.bg-grey {
        background: #ebebe4 url(/images/datepicker.png) no-repeat left 3px center;
    }

    input[type='text'].datepicker.grey {
        color: #89898C;
    }

    input[type='text'].currency:not([disabled]) {
        background: white url(/images/nis.png) no-repeat left 10px center;
    }

    input[type='text'].currency.bg-blue-light {
        background: #E7F3FA url(/images/nis.png) no-repeat left 10px center;
    }

    .currency[disabled],
    input[type='text'].currency.bg-grey {
        background: #ebebe4 url(/images/nis.png) no-repeat left 10px center;
    }

.ui-control .ui-input label .fa-percent,
.ui-control .custom-checkbox .fa-percent {
    position: absolute;
    left: 10px;
    top: 8px;
    font-size: 14px;
}

.input-fonticon:before {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: 10px;
    top: 5px;
    color: grey;
}

.input-fonticon.icon-phone:before {
    content: "\f095";
    font-weight: 900;
}

.input-fonticon.icon-mail:before {
    content: "\f1fa";
    font-weight: 900;
}

.ui-input-subcalc .input-fonticon.icon-phone:before,
.ui-input-subcalc .input-fonticon.icon-mail:before {
    margin-left: 35px;
}


button.lockable[disabled]:not(.regular-bg),
button.lockable[disabled]:active,
select[disabled]:not(.regular-bg),
input[disabled]:not(.regular-bg) {
    background-color: #ebebe4;
}

button.lockable[disabled]:not(.regular-bg),
button.lockable[disabled]:active {
    color: #118dcf;
}

hot-table.status-lock th:not(.unlockable),
hot-table.status-lock td:not(.unlockable) {
    cursor: default;
    pointer-events: none;
    opacity: .7;
}

input[type='number'].grey {
    color: #89898C;
}

.switch-title .section-title-container {
    display: inline-block;
}

.switch-title .section-title {
    vertical-align: middle !important;
}

.section-title-container {
    font-size: 24px;
    margin: 15px 0 5px 0;
    background-repeat: repeat-x;
}

.section-title {
    padding-left: 5px;
    color: #393939;
}

.inline {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.flex {
    display: flex;
}

.items-baseline {
    align-items: baseline;
}

.gap-10 {
    gap: 10px;
}

.saveas-input {
    width: 90%;
    padding: 3px;
    margin: 0 auto;
}

.row-header-right .handsontable tbody th div {
    text-align: right;
}

.wide-rowheader-100 .handsontable col.rowHeader {
    width: 100px;
}

.wide-rowheader-150 .handsontable col.rowHeader {
    width: 150px;
}

.wide-rowheader-180 .handsontable col.rowHeader {
    width: 170px;
}

.wide-rowheader-200 .handsontable col.rowHeader {
    width: 200px;
}

.wide-rowheader-300 .handsontable col.rowHeader {
    width: 300px;
}

div:not(.is-disabled) .blue-rowheader .handsontable th {
    background-color: #118dcf;
    border-color: #118dcf;
    border: 1px solid #118dcf !important;
    color: white;
}

body .table-bordered th, body .table-bordered td {
    text-align: center;
}

body .table-bordered th, body .table-bordered td {
    padding: 1px;
}

body .table-h-35 th, body .table-h-35 td {
    height: 35px;
}

body table.table-pad-5 th, body .table-pad-5 td {
    padding: 5px !important;
}

.text-rowheader .handsontable tbody th {
    color: #333333;
    font-weight: normal;
}

.bold-rowheader .handsontable th {
    font-weight: normal;
}

body .same-color-buttons button {
    background-color: #118dcf !important;
    border-color: #204d74 !important;
    color: #fff !important;
}

    body .same-color-buttons button:hover {
        color: #fff !important;
        background-color: #204d74 !important;
        border-color: #122b40 !important;
    }

body .modal.broadcast-download-modal .modal-dialog .btn-primary:focus {
    background-color: inherit;
    color: #118dcf;
}

.trip-report-modal .modal-dialog .modal-content {
    overflow: hidden;
}

.trip-report-modal .modal-dialog .grid-container {
    width: 380px;
    margin: 0 25px;
}

.trip-report-modal .modal-dialog .actions {
    padding: 20px 25px;
    width: 100%;
    text-align: left;
}

body .ui-control .input-icon {
    font-size: 20px;
    position: absolute;
    top: 6px;
}

    body .ui-control .input-icon.fa-times {
        left: 6px;
        cursor: pointer;
    }

    body .ui-control .input-icon.fa-refresh {
        left: 10px;
    }

.subcalc-report .modal-dialog {
    width: 900px;
}

.subcalc .modal-dialog, .subcalc-gambling-income .modal-dialog {
    width: 490px;
}

.sub-calculator-dual .modal-dialog {
    width: 1010px;
    max-width: 95vw;
}

.sub-calculator-dual .modal-body {
    max-width: 100%;
    overflow-x: auto;
}

.sub-calculator-dual.subcalc-house-revenue .modal-dialog {
    width: 1010px;
}

.sub-calculator-dual.subcalc-rd-companies-1301 .modal-dialog {
    width: 1145px;
}

.sub-calculator-dual.subcalc-social-differences .modal-dialog {
    width: 800px;
}

/* Intro.js styling for last year data feature */
.intro-last-year-data.introjs-tooltip {
    max-width: 400px;
}

.intro-last-year-data .introjs-tooltiptext {
    padding: 20px;
}

.calc-title .report-name.introjs-fixParent {
    visibility: hidden !important;
}

.subcalc.subcalc-wide .modal-dialog {
    width: 980px;
}

.subcalc-depreciation .modal-dialog {
    width: 1000px;
}

.subcalc-depreciation .sub-calculator-body {
    padding-left: 10px;
}

.subcalc-house-revenue .modal-dialog {
    width: 510px;
}

.subcalc-disability-insurance-expenditure .modal-dialog {
    width: 800px;
}

.subcalc-tax-appendix .modal-dialog {
    width: 1450px;
}

.subcalc-pension-single .modal-dialog {
    width: 600px;
}

    .subcalc-pension-single .modal-dialog .sub-calculator-body {
        min-height: inherit;
        height: 250px;
    }

.subcalc-social-differences .modal-dialog {
    width: 400px;
}

    .subcalc-social-differences .modal-dialog .sub-calculator-content {
        padding-top: 0;
    }

body .sub-calculator-content .grid.center {
    text-align: center;
}

.cumulative-tax-modal .modal-dialog, .company-tax-modal .modal-dialog {
    height: 700px;
}

    .cumulative-tax-modal .modal-dialog .modal-body, .company-tax-modal .modal-dialog .modal-body {
        height: 650px;
        overflow: auto;
    }

.sub-calculator .modal-content {
    overflow-x: hidden;
}

.sub-calculator-body {
    margin-top: 10px;
    max-height: 700px;
    min-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.fast-spin.fa-spin {
    -webkit-animation: fa-spin 1s infinite linear;
    animation: fa-spin 1s infinite linear;
}
/* Turn off number spinner */
input[type=number].no-spin::-webkit-inner-spin-button, input[type=number].no-spin::-webkit-outer-spin-button {
    -moz-appearance: none;
    -webkit-appearance: none;
    margin: 0;
}
/* LTR */
body.ltr .calculator-inner {
    direction: ltr;
    text-align: left;
}

body.ltr.calculator .left-nav {
    text-align: left;
    direction: ltr;
}

body.ltr .calculator-box {
    clear: both;
    float: left;
}

.modal.modal-width-1400 .modal-content, .modal.modal-width-1400 .modal-dialog {
    width: 1400px;
}

/* Status colors for advance payments import */
.status-red {
    color: #d32f2f;
}

.status-gray {
    color: #757575;
}

.status-dark-green {
    color: #2e7d32;
}

.status-light-green {
    color: #66bb6a;
}

/* Separator lines for advance payments import table - make them full height */
.table-control .row-body {
    display: flex;
    align-items: stretch;
}

.table-control .row-body .inline {
    display: flex;
    align-items: stretch;
}

.table-control .row-body .separator-thin,
.table-control .row-body .separator-thick {
    align-self: stretch;
    height: 100%;
    min-height: 33px;
}

.table-control .headers {
    display: flex;
    align-items: stretch;
}

.table-control .headers .inline {
    display: flex;
    align-items: stretch;
}

.table-control .headers .separator-thin,
.table-control .headers .separator-thick {
    align-self: stretch;
    height: 100%;
}

.modal.modal-width-1200 .modal-content, .modal.modal-width-1200 .modal-dialog {
    width: 1200px;
}

/* Status filter dropdown styling */
.status-filter-dropdown {
    direction: rtl;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 5px center;
    background-size: 12px;
    padding-right: 5px;
    padding-left: 20px;
}

.modal.modal-width-700 .modal-content, .modal.modal-width-700 .modal-content .modal-dialog {
    width: 700px;
}

.modal.modal-width-500 .modal-content, .modal.modal-width-500 .modal-content .modal-dialog {
    width: 500px;
}

.modal.modal-width-350 .modal-content, .modal.modal-width-350 .modal-content .modal-dialog {
    width: 350px;
}

/* scrollableContainer */
.scrollable-full-height .scrollableContainer {
    height: 100%;
}

.modal .modal-body .scrollable-full-height .scrollableContainer {
    height: 100%;
}

.scrollable-height-100 .scrollableContainer .th-inner {
    width: 70px !important;
}
/* Wizard */
.modal.capital-gain-import .modal-content {
    height: 350px;
    overflow: hidden;
}
/*.modal.broadcast-wizard .modal-content,*/
.modal.import-data-wizard .modal-content,
.modal.client-messages-wizard .modal-content {
    height: 550px;
    overflow: hidden;
}

.modal.in.broadcast-wizard .modal-dialog .modal-content .modal-body,
.modal.in.import-data-wizard .modal-dialog .modal-content .modal-body,
.modal.in.client-messages-wizard .modal-dialog .modal-content .modal-body {
    height: 505px;
    padding: 0;
}

.modal.import-data-wizard .data-wizard-help {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 900px;
    height: 505px;
    background-color: white;
    font-size: .9em;
}

    .modal.import-data-wizard .data-wizard-help .help-content {
        width: 100%;
        height: 100%;
        padding: 20px;
        margin: 0 auto;
    }

    .modal.import-data-wizard .data-wizard-help button {
        position: absolute;
        left: 15px;
        bottom: 15px;
        min-width: 100px;
        font-size: .9em;
        padding: 7px 5px;
        margin: 2px 3px;
    }

.modal.broadcast-wizard .modal-body .loading {
    width: 570px;
}

.modal.broadcast-wizard .scrollableContainer {
    font-size: 0.8em;
}

.modal .modal-content .wizard > h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.modal.broadcast-wizard .modal-content .wizard .steps,
.modal.import-data-wizard .modal-content .wizard .steps,
.modal.client-messages-wizard .modal-content .wizard .steps {
    height: 100%;
    padding-top: 80px;
}

    .modal.broadcast-wizard .modal-content .wizard .steps section,
    .modal.import-data-wizard .modal-content .wizard .steps section,
    .modal.client-messages-wizard .modal-content .wizard .steps section {
        height: calc(100% - 30px);
    }

.modal.broadcast-wizard .modal-content .wizard,
.modal.broadcast-wizard .modal-content .broadcast-files,
.modal.import-data-wizard .modal-content .wizard,
.modal.client-messages-wizard .modal-content .wizard {
    padding: 0 15px;
}

    .modal.import-data-wizard .modal-content .wizard .table.wizard-table {
        margin-bottom: 0;
    }

    .modal.import-data-wizard .modal-content .wizard .wizard-navigation {
        padding: 10px 0;
        overflow: hidden;
        width: 100%;
    }

    .modal.import-data-wizard .modal-content .wizard .scrollableContainer {
        height: 250px;
    }

.modal.import-data-wizard .modal-content .modal-body.customers-import .wizard .scrollableContainer {
    height: 260px;
}

.modal.broadcast-wizard .modal-content .wizard .steps-indicator,
.modal.import-data-wizard .modal-content .wizard .steps-indicator,
.modal.client-messages-wizard .modal-content .wizard .steps-indicator {
    padding: 0;
    top: 45px;
    padding-top: 30px;
    width: calc(100% - 20px);
    padding-right: 20px;
    height: 60px;
    position: fixed;
    overflow: hidden;
}

    .modal.broadcast-wizard .modal-content .wizard .steps-indicator li,
    .modal.import-data-wizard .modal-content .wizard .steps-indicator li,
    .modal.client-messages-wizard .modal-content .wizard .steps-indicator li {
        float: right;
    }

        .modal.broadcast-wizard .modal-content .wizard .steps-indicator li a,
        .modal.import-data-wizard .modal-content .wizard .steps-indicator li a,
        .modal.client-messages-wizard .modal-content .wizard .steps-indicator li a {
            font-weight: normal;
            font-size: 0.9em;
        }

        .modal.broadcast-wizard .modal-content .wizard .steps-indicator li.current a:before,
        .modal.import-data-wizard .modal-content .wizard .steps-indicator li.current a:before,
        .modal.client-messages-wizard .modal-content .wizard .steps-indicator li.current a:before {
            top: -11px;
            width: 20px;
            height: 20px;
        }

        .modal.broadcast-wizard .modal-content .wizard .steps-indicator li a:before,
        .modal.import-data-wizard .modal-content .wizard .steps-indicator li a:before,
        .modal.client-messages-wizard .modal-content .wizard .steps-indicator li a:before {
            background-color: #82bbeb;
        }

        .modal.broadcast-wizard .modal-content .wizard .steps-indicator li.done a:before,
        .modal.import-data-wizard .modal-content .wizard .steps-indicator li.done a:before,
        .modal.client-messages-wizard .modal-content .wizard .steps-indicator li.done a:before {
            background-color: #6CBD2D;
        }

        .modal.broadcast-wizard .modal-content .wizard .steps-indicator li.editing a:before,
        .modal.import-data-wizard .modal-content .wizard .steps-indicator li.editing a:before,
        .modal.client-messages-wizard .modal-content .wizard .steps-indicator li.editing a:before {
            background-color: #eec231;
            top: -11px;
            width: 20px;
            height: 20px;
        }

.modal.import-data-wizard .modal-content .wizard .fa-check {
    color: #6CBD2D;
    font-size: 6em;
}

.modal.import-data-wizard .modal-content .wizard .fa-times {
    color: #bd2b2b;
    font-size: 6em;
}

.modal.broadcast-wizard .modal-content .broadcast-files section {
    height: calc(100% - 45px);
}

.modal.import-data-wizard .progress-box {
    background-color: silver;
    height: 20px;
}

.modal.import-data-wizard .progress-bar {
    float: left;
}

.modal.import-data-wizard .table table {
    border-top: 1px solid silver;
}

.modal.import-data-wizard .table tr th {
    font-size: 1em;
}

.modal.import-data-wizard .table tr.selected td {
    background-color: #E7F3FA;
    font-size: .7em;
}

    .modal.import-data-wizard .table tr.selected td.error, .modal.report-import .table tr.error {
        background-color: #ff4c42;
    }

.modal.import-data-wizard .table tr td, .modal.import-data-wizard .table tr th {
    border: 1px solid silver;
}

    .modal.import-data-wizard .table tr th select {
        width: 100%;
        border: none;
        height: 60%;
        font-size: .8em;
        color: black;
    }

        .modal.import-data-wizard .table tr th select option.required {
            color: red;
        }

            .modal.import-data-wizard .table tr th select option.required:disabled {
                color: gray;
            }

.modal.load-report-modal h3, .load-customer h3 {
    margin: 0;
}

.modal.load-report-modal h1, .load-customer h1 {
    text-align: center;
    color: silver;
}

.modal.load-report-modal {
    width: 1000px;
    margin: 0 auto;
}

.load-customer-modal {
    width: 850px;
    margin: 0 auto;
}

.modal.load-report-modal .table, .load-customer .table {
    font-size: 0.8em;
}

.modal.load-report-modal .modal-dialog, .load-customer .modal-dialog {
    width: 100%;
}

.modal.load-report-modal table tr:hover, .load-customer table tr:hover, .modal.report-import table tr:hover {
    background-color: rgba(51, 122, 183, 0.25);
    cursor: pointer;
}

.load-customer .load-customer-filters {
    height: 62px;
}

.load-customer.programs-customers {
    height: calc(100% - 50px);
}

    .load-customer.programs-customers .load-customer-table {
        height: calc(100% - 80px);
    }

        .load-customer.programs-customers .load-customer-table .table-control {
            height: 100%;
        }

.load-customer.load-customer-modal .load-customer-table {
    height: calc(100% - 80px);
}

.load-customer .calc-list .row-body.active {
    background-color: #cae6ff;
}

.ui-control .ui-input-subcalc.float-right button.copy-button {
    padding: 1px 7px 1px 8px;
}

.hot-button {
    background-color: white;
    color: #118dcf;
    padding: 3px 0;
    font-size: 20px;
    border: none;
}

    .hot-button.locked {
        background-color: #F4F4F4;
        color: #CCCCCC;
        cursor: initial;
    }

    .hot-button .fa {
        margin-right: 2px;
    }

.sub-calculator .sub-calculator-actions {
    text-align: left;
    direction: ltr;
    font-size: 1.3em;
    margin-bottom: 15px;
}

    .sub-calculator .sub-calculator-actions i {
        cursor: pointer;
        transition: font-size .1s linear;
        color: #7D7D7D;
        padding: 0 5px;
    }

.sub-calculator .sub-calculator-header {
    padding-bottom: 15px;
    min-height: 35px;
}

    .sub-calculator .sub-calculator-header div {
        display: inline-block;
    }

.sub-calculator .sub-calculator-title {
    font-size: 1.4em;
}

.sub-calculator-btn button {
    min-width: 140px;
    margin-left: 10px;
    padding: 5px;
}

body .qtip-calculator {
    background-color: #ffffff;
    border: 1px solid #ccc;
    max-width: 500px;
    font-size: 1.3em;
    line-height: 26px;
    color: #706d6d;
    padding: 10px 15px;
    direction: rtl;
    box-shadow: 0 0 40px #eee inset;
}

    body .qtip-calculator .qtip-content {
        text-align: center;
    }

        body .qtip-calculator .qtip-content i {
            color: orange;
            text-align: center;
            font-size: 1.5em;
            margin-bottom: 6px;
            display: block;
        }

body .help-tooltip {
    display: inline-block;
    margin: 0 5px;
}

body calc-map-title .help-tooltip {
    font-size: 20px;
}

body .help-tooltip-popover {
    font-size: 16px;
    max-width: 550px;
    max-height: 500px;
    overflow: auto;
}

.sendbymail-modal input.error {
    border-color: #FF6565;
}

.img-layout {
    text-align: center;
}

    .img-layout label {
        margin-left: 15px;
        text-align: center;
    }

        .img-layout label .layout-icons {
            background-color: #f1f1f7;
            padding: 8px 10px;
            height: 100px;
            width: 75px;
            color: grey;
        }

#printf {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 99999;
    background-color: white;
    top: 0;
    left: 0;
}

.calc-help-wrapper {
    position: absolute;
    left: 0;
    top: 17px;
}

.calc-help-btn {
    border: 1px solid #118dcf;
    color: #118dcf;
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
    z-index: 9999;
}

.calc-help-popup {
    min-width: 600px;
    max-height: 500px;
    overflow: auto;
}

.handsontable-container button.hot-button.black {
    color: #8a8a8a;
}

.dropdown-menu-scroll .dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
}

.calculator-tripReportContacts-page .calc-list.list .trip-report-action {
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    font-size: 1.2em;
    padding: 2px 0;
    text-align: center;
    color: white;
}

    .calculator-tripReportContacts-page .calc-list.list .trip-report-action .trip-report-action-loading {
        position: absolute;
        top: 13px;
        left: 33px;
        font-size: 1em;
        color: #1090d0;
    }

        .calculator-tripReportContacts-page .calc-list.list .trip-report-action .trip-report-action-loading.active {
            top: 13px;
            left: 18px;
        }

.accounting-depreciation-import .modal-dialog {
    height: 700px;
    width: 1000px;
}

    .accounting-depreciation-import .modal-dialog .modal-body {
        height: 650px;
        overflow: auto;
    }

.accounting-depreciation-import .scrollableContainer {
    height: 450px;
}

.subcalc-rd-companies-1301 .modal-dialog {
    width: 575px;
}

.subcalc-rd-companies-1214 .modal-dialog {
    width: 450px;
}

.subcalc-document-6111 .modal-dialog {
    width: 975px;
}

.adjustment-types-modal .modal-dialog {
    width: 800px;
}

/* TEMPORARY */
body .handsontable-container.handsontable[style] {
    overflow: visible !important;
}

body .wizard-table th {
    font-size: .7em;
}

body .wizard-table td {
    font-size: .7em;
}

body .wizard-table:not(.rtl) td {
    direction: ltr;
}


table.hotlike-table {
    border: 1px solid #ddd;
    width: 100%;
    max-width: 100%;
    font-size: 12.16px;
    margin-right: 1px;
    min-height: 32px;
    table-layout: fixed;
}

    table.hotlike-table thead td,
    table.hotlike-table thead th,
    table.hotlike-table tbody td,
    table.hotlike-table tbody th {
        line-height: 21px;
        padding: 5px 4px;
        font-weight: normal;
        border: 1px solid #000;
        background-color: rgb(225, 235, 255);
    }

    table.hotlike-table thead td,
    table.hotlike-table thead th,
    table.hotlike-table tbody td {
        text-align: center;
    }

    table.hotlike-table.with-border thead tr {
        border: 1px solid #000;
    }

    table.hotlike-table.with-border thead tr th.blue-title {
        border: none;
    }

    table.hotlike-table tbody th {
        text-align: right;
    }

    table.hotlike-table th.blue-title {
        color: white;
        background-color: #118dcf;
    }

    table.hotlike-table thead th.blue-title {
        border: 1px solid #4062ab;
    }

    table.hotlike-table tbody th {
        vertical-align: top;
    }

.hotlike-table-wrapper-1219 {
    margin-top: -12px;
}

body .modal:not(.sub-calculator) table.hotlike-table .hot-button-wrapper {
    background-color: white;
    padding: 0;
}

body.calculator-documents-page .table-control .calc-list {
    max-height: 235px;
}


body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .tab-content {
    height: calc(100% - 50px);
}

body.calculator-calcDocument6111-page .inner-calculator-content .calc-tabs.original-tabs .tab-content,
body.calculator-calcDocument6111Accountant-page .inner-calculator-content .calc-tabs.original-tabs .tab-content {
    height: calc(100% - 110px);
}

body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .tab-content,
body.calculator-calcDocument6111-page .inner-calculator-content .calc-tabs.original-tabs .tab-content,
body.calculator-calcDocument6111Accountant-page .inner-calculator-content .calc-tabs.original-tabs .tab-content {
    overflow-x: auto;
    padding-left: 0;
    padding-right: 15px;
}

    body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .tab-content .tab-pane,
    body.calculator-calcDocument6111-page .inner-calculator-content .calc-tabs.original-tabs .tab-content .tab-pane,
    body.calculator-calcDocument6111Accountant-page .inner-calculator-content .calc-tabs.original-tabs .tab-content .tab-pane {
        height: 100%;
    }

    body.calculator-calcDocument1219-page .inner-calculator-content .calc-tabs.original-tabs .tab-content .row,
    body.calculator-calcDocument6111-page .inner-calculator-content .calc-tabs.original-tabs .row,
    body.calculator-calcDocument6111Accountant-page .inner-calculator-content .calc-tabs.original-tabs .row {
        margin-right: -15px;
        margin-left: 0;
    }

.calc-tabs.original-tabs .uib-tab {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Sub-calculator button styles */
.ui-control .ui-input-with-subcalc {
    position: relative;
    display: flex;
    align-items: stretch;
}

.ui-control .ui-input-with-subcalc label {
    flex: 1;
}

.ui-control .ui-input-with-subcalc .btn-subcalc {
    width: 32px;
    height: 31px;
    padding: 0;
    margin: 0;
    border: 1px solid #000;
    border-right: none;
    border-radius: 0px;
    background-color: #fff;
    color: #118dcf;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
}

.ui-control .ui-input-with-subcalc .btn-subcalc:hover {
    background-color: #f0f0f0;
}

.ui-control .ui-input-with-subcalc .btn-subcalc i {
    font-size: 20px;
}

.ui-control .ui-input-with-subcalc input {
    outline: none;
}

.ui-control .ui-input-with-subcalc .ui-labelify {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.popover-content {
    direction: rtl;
}

.popover-wide {
    max-width: 500px;
}

.popover-wide .popover-content {
    width: 500px;
}