#header:after,
.heading-holder:after,
.tabs-holder:after,
#nav:after,
.scroll-tabs:after {
    content: '';
    display: table;
    clear: both;
}

body {
    font: 12px/15px 'Roboto', sans-serif;
    color: #58595b;
    min-width: 1230px;
    min-width: 320px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

a {
    color: #68a6dc;
    transition: all 0.2s ease;
}

a:focus,
a:hover {
    color: #1c73bf;
    text-decoration: none;
}

.m0 {
    margin: 0 !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mb5 {
    margin-bottom: 5px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb15 {
    margin-bottom: 15px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb25 {
    margin-bottom: 25px !important;
}

.text-right {
    text-align: right;
}

.mail-title,
h1 {
    color: #000;
    font-size: 30px;
    line-height: 36px;
    margin: 0 0 20px;
    font-weight: normal;
    text-transform: none;
}

h2 {
    text-transform: uppercase;
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
}

.heading-holder {
    margin: 0 0 10px;
}

.heading-holder h2 {
    margin: 0;
    padding: 6px 5px 6px 0;
}

.heading-holder h1 {
    margin: 0;
    padding: 2px 5px 2px 0;
}

.heading-holder .title-section {
    margin: 0 10px 0 0;
}

.heading-holder .btn-group {
    float: right;
}

.layout-fix {
    display: table;
}

.layout-fix:after {
    content: ". .";
    display: block;
    font-size: 0;
    height: 0;
    word-spacing: 99in;
}

.well {
    border-radius: 0;
    border: 1px solid #d1d2d3;
    background: #e6e7e7;
    padding: 30px;
    margin: 0 0 20px;
    box-shadow: none;
}

.well-sm {
    padding: 8px 10px;
}

.btn:active:focus,
.btn:active,
.btn:focus,
.btn:hover,
.btn {
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #808183;
    border: 1px solid #808183;
    padding: 7px 20px;
    box-shadow: none;
}

.btn-primary:active:focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.btn-primary {
    color: #fff;
    background: #808183;
    border-color: #808183;
}

.btn-danger:active:focus,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover,
.btn-danger {
    background: #d73925;
    border-color: #d73925;
    color: #fff;
}

.btn-success:active:focus,
.btn-success:active,
.btn-success:focus,
.btn-success:hover,
.btn-success {
    background: #5cb85c;
    border-color: #5cb85c;
    color: #fff;
}

.btn-info:active:focus,
.btn-info:active,
.btn-info:focus,
.btn-info:hover,
.btn-info {
    background: #5bc0de;
    border-color: #5bc0de;
    color: #fff;
}

.btn:hover {
    opacity: 0.8;
}

.btn-outline-secondary,
.btn-warning {

    font-size: 14px !important;
    padding: 6px 10px !important;
}

.btn-warning {
    font-size: 16px !important;
    color: #555;
}

.bootstrap-dialog-title {
    padding: 10px 3px;
}


.btn+.btn {
    margin: 0 0 0 6px;
}

.btn .fa-print {
    font-size: 21px;
}

.btn-file {
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}

.btn-file input[type="file"] {
    cursor: pointer;
    font-size: 160px;
    right: 0;
    opacity: 0;
    position: absolute;
    top: 0;
}

.btn-file-wrap {
    display: inline-block;
    vertical-align: top;
}

.file-text {
    display: inline-block;
    vertical-align: top;
    margin: 9px 10px 0 0;
    font-size: 16px;
    line-height: 22px;
}

.file-text:empty {
    display: none;
}

.heading-holder .upload-holder {
    overflow: hidden;
    text-align: right;
    padding: 4px 0 0;
}

.upload-holder .btn-file-wrap {
    margin: 0 10px 0 0;
}

.upload-holder .help-block {
    margin: 3px 0 0;
}

.text-right .dropdown-menu {
    left: auto;
    right: 0;
}

.form-select {
    padding: 0.6rem 2rem 0.6rem 0.9rem !important;
    font: 14px / 18px 'Roboto', sans-serif;
    color: #555;
}

.alert-success {
    --bs-alert-color: #3c763d;
    --bs-alert-bg: #dff0d8;
    --bs-alert-border-color: #d6e9c6;
}

.select2-container--krajee .select2-selection,
.form-control {
    font: 14px/18px 'Roboto', sans-serif;
    padding: 10px 15px;
    border-radius: 0.25rem;
    color: #555;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #eee;
    opacity: 1;
}

.select2-container--krajee .select2-selection {
    height: auto;
    min-height: 40px;
}

.select2-container--krajee .select2-selection {
    padding-right: 40px;
}

.select2-container--krajee.select2-container--open .select2-selection,
.select2-container--krajee .select2-selection:focus,
.select2-container--krajee .select2-dropdown,
.select2-container--krajee.select2-container--open.select2-container--below .select2-selection,
.form-control:focus {
    border-color: #aaa;
}

textarea.form-control {
    resize: vertical;
    height: auto;
}

.select2-container--krajee-bs5 .select2-selection--single {
    font-size: 14px !important;
    padding: 0.5rem 2rem 0.5rem 0.9rem !important;
}

.select2-container--krajee .select2-dropdown,
.select2-container--krajee .select2-selection {
    box-shadow: none !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    margin: 0;
}

.select2-container--krajee .select2-selection--single .select2-selection__arrow {
    height: auto;
    bottom: 1px;
    width: 25px;
    border: none;
    border-radius: 0;
    text-align: left;
}

.select2-container--krajee .select2-selection--single .select2-selection__arrow b {
    border: none;
    position: static;
    line-height: 38px;
    margin: 0;
}

.select2-container--krajee .select2-selection__clear {
    font-size: 22px;
    line-height: 22px;
    padding: 9px 5px;
    top: 0;
    margin: 0;
    right: 28px;
}

.select2-container--krajee .select2-selection--single .select2-selection__arrow b:before {
    font-family: fontawesome;
    content: "\f13a";
    font-size: 18px;
    color: #58595b;
    font-weight: normal;
}

.select2-container--krajee .select2-results__option[aria-selected="true"] {
    color: #fff;
    background: #aaa;
}

.select2-container--krajee .select2-results__option--highlighted[aria-selected] {
    background: #666;
}

.select2-container--krajee .select2-search--dropdown .select2-search__field {
    border-radius: 0;
    border-color: #d1d2d3;
    background-position: right 10px top 50%;
    box-shadow: none;
}

.select2-search--dropdown {
    padding: 5px 5px 10px;
}

.select2-container--krajee .select2-selection--multiple .select2-search--inline .select2-search__field {
    height: 22px;
    font-size: 14px;
    line-height: 18px;
    padding: 2px 0;
}

/*.select2-container--krajee.select2-container--disabled .select2-selection,*/
.select2-container--krajee.select2-container--disabled .select2-selection--multiple .select2-selection__choice,
.select2-container--krajee .select2-selection--multiple .select2-selection__choice,
.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice {
    /* margin: 0 10px 5px 0; */
    overflow: hidden;
    padding: 2px 10px;
    background: #808183 !important;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    border: none;
    /*border-radius: 0;*/
}

/* .select2-container .select2-search--inline {
    margin: 0 5px;
} */

/* .select2-selection__rendered .select2-search--inline {
    padding-left: 5px;
} */

.select2-container--krajee-bs5 .select2-selection--multiple .select2-search--inline .select2-search__field {
    font-size: 14px;
    min-width: 300px;
    /* padding: 0.5rem; */
    /* margin: 0.6rem; */
}

.select2-container--krajee .select2-selection.select2-selection--multiple {
    padding: 8px 15px;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove {
    float: right;
    font-size: 0;
    font-weight: normal;
    margin: 0 0 0 6px;
    opacity: 1;
    text-shadow: none;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove:before {
    color: #fff;
    content: '\f00d';
    font-family: fontawesome;
    font-size: 15px;
    line-height: 18px;
    vertical-align: top;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    white-space: normal !important;
}

.select2-container--krajee .select2-results__option[aria-selected="true"] {
    background: none;
    color: #aaa;
    cursor: default;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__rendered {
    margin: 0 0 -5px;
}

.select2-container--krajee .select2-results__option {
    padding: 6px 15px;
}

.form-group.has-success .form-control {
    border-color: #00a65a;
}

.dollar-input {
    position: relative;
}

.dollar-input:before {
    content: '$';
    position: absolute;
    left: 15px;
    top: 11px;
    font-size: 14px;
    line-height: 18px;
}

.dollar-input .form-control {
    padding-left: 24px;
}

label {
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    color: #58595b;
    margin: 0 0 5px 15px;
}

.no-label {
    padding-top: 23px;
}

.no-label-btn {
    padding-top: 23px;
    padding-bottom: 7px;
}

.table-responsive .table {
    margin-bottom: 0;
}

.table-responsive+.summary {
    padding-top: 10px;
}

.table .empty {
    text-align: center;
}

.table-narrow {
    width: auto;
}

#wrapper .table th,
#wrapper .table td {
    border: 1px solid #d1d2d3;
    background: #fff;
    line-height: 16px;
    padding: 9px 10px;
    color: #58595b;
}

#wrapper .table th {
    height: 38px;
    padding: 5px 10px;
    vertical-align: middle;
    color: #404041;
    font-weight: bold;
    background: #e6e7e7;
}

#wrapper .table th a {
    color: #404041;
}

#wrapper .table th a:hover {
    color: #000;
}

#wrapper .table tr:nth-child(odd) td {
    --bs-table-accent-bg: #fff;
}

#wrapper .table tr:nth-child(even) td {
    background: #f4f4f4;
}

#wrapper .table .actions-cell {
    width: 1px;
    white-space: nowrap;
    padding: 6px 10px;
}

#wrapper .table .filters td {
    padding: 5px;
}

#wrapper .table .select2-container--krajee .select2-selection,
#wrapper .table .form-control {
    padding: 8px 10px;
    height: 36px;

}

.actions-cell a {
    font-size: 18px;
    line-height: 1;
    color: #58595b;
}

.actions-cell a+a {
    margin: 0 0 0 5px;
}

form .row.align-top [class^='col-xs'],
form .row.align-top [class^='col-sm'],
form .row.align-top [class^='col-md'],
form .row.align-top [class^='col-lg'] {
    vertical-align: top;
}

.row.align-middle [class^='col-xs'],
.row.align-middle [class^='col-sm'],
.row.align-middle [class^='col-md'],
.row.align-middle [class^='col-lg'] {
    vertical-align: middle;
}

#wrapper {
    width: 100%;
    overflow: hidden;
    min-height: 100%;
}

.w1 {
    margin: 0 auto;
    width: 1210px;
    padding: 40px 0;
}

#header {
    margin: 0 0 25px;
}

.mobile-holder,
.link-logout-mobile {
    display: none;
}

.logo {
    float: left;
    margin: 0 30px 0 0;

    text-indent: -9999px;
    overflow: hidden;
    background: url('../images/logo.png') no-repeat;
    width: 185px;
    height: 80px;
}

#header .logout {
    text-align: right;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 10px;
}

#header .logout a {
    color: #939496;
}

#header .logout a:hover {
    color: #444;
}

#header .logout .fa {
    margin: 0 10px 0 0;
}

.main-footer,
.control-sidebar,
.main-sidebar {
    display: none !important;
}

#nav ul {
    float: right;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 20px;
}

#nav li {
    float: left;
    margin: 0 0 0 -1px;
}

#nav a {
    display: block;
    color: #808183;
    border: 1px solid #808183;
    padding: 15px 10px;
}

#nav a:hover {
    color: #444;
}

#nav .active a {
    background: #808183;
    color: #fff;
}

.breadcrumb {
    margin-bottom: 20px;
    list-style: none;
    /* background-color: #f5f5f5; */
    /* border-radius: 4px; */

    font-size: 18px;
    line-height: 22px;
    color: #58595b;
}

.breadcrumb li+li:before {
    padding: 8px;
    font-family: fontawesome;
    content: '\f178';
    color: #000;
    font-size: 14px;
}

.breadcrumb .active {
    font-size: 14px;
    color: #58595b;
}

.tabs-holder {
    border-bottom: 1px solid #d1d2d3;
    margin: 0 0 20px;
}

.tabs-holder .btn {
    /*margin-top: -6px;*/
    margin: -13px 0 15px 15px;
}

.tabs {
    font-size: 16px;
    line-height: 24px;
    color: #58595b;
    font-weight: bold;
    list-style: none;
    padding: 0 0 0 10px;
    margin: 0;
    float: left;
}

.tabs li {
    float: left;
    margin: 0 -1px -1px 0;
    position: relative;
}

.tabs a {
    display: block;
    background: #e6e7e7;
    border: 1px solid #d1d2d3;
    height: 42px;
    padding: 8px 20px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
    position: relative;
}

.tabs a:hover {
    /*border-color: #ccc;*/
    text-decoration: none;
    background: #e1e1e1;
}

.tabs a.active {
    background: #fff;
    padding-top: 14px;
    margin: -6px 0 0;
    height: 48px;
}

.tabs a.active:after {
    content: '';
    left: 0;
    right: 0;
    bottom: -1px;
    background: #fff;
    height: 1px;
    position: absolute;
}

.title-section {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    line-height: 26px;
    background: #e6e7e7;
    border: 1px solid #d1d2d3;
    padding: 10px 15px;
    margin: 0 0 20px;
}

.title-section strong {
    font-weight: bold;
    font-size: 21px;
    line-height: 26px;
    color: #221f20;
}

.partners-table {
    width: 100%;
    table-layout: fixed;
    margin: 0 0 20px;
}

.partners-table td {
    padding: 8px 10px;
    vertical-align: top;
}

.partners-table td:first-child {
    padding-left: 0;
}

.partners-table td:last-child {
    padding-right: 0;
}

.partners-table .main-cell {
    width: 270px;
}

.partners-table .main-cell label {
    font-size: 18px;
    line-height: 18px;
    color: #221f20;
    margin: 0 0 5px;
}

.date-cell {
    width: 140px;
}

.phone-cell {
    width: 155px;
}

.email-cell {
    width: 240px;
}

.percent-cell {
    background: #f4f4f4;
}

.form-group .help-block {
    margin: 2px 0 -10px;
    color: #e5142a;
}

.form-group .help-block:empty {
    min-height: 15px;
}

.partners-table .form-group {
    margin: 0;
}

.form-control.date-control {
    display: inline-block;
    vertical-align: top;
    padding-right: 35px;
}

.ui-datepicker-trigger {
    border: none;
    background: none;
    color: #58595b;
    font-size: 18px;
    line-height: 24px;
    height: 24px;
    margin: 9px 0 0 -27px;
    padding: 0;
}

.view-buttons .btn {
    margin: 0 0 10px 15px;
}

.view-holder {
    width: 625px;
}

#wrapper .view-holder .table th,
#wrapper .view-holder .table td {
    height: auto;
    padding: 9px 10px;
}

#wrapper .view-holder .table th {
    text-align: right;
    background: #e6e7e7;
    width: 220px;
}

#wrapper .view-holder .table tr:nth-child(even) th {
    background: #dcdddd;
}

#wrapper .view-holder .table tr:nth-child(even) td {
    background: #f4f4f4;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 2px 5px;
}

.radio,
.checkbox {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.radio label,
.checkbox label {
    margin: 0;
}

form .row {
    font-size: 0;
    flex-wrap: nowrap;
}
.row {
    flex-wrap: nowrap;
    height: 100%;
    display: flex;
    align-items: flex-end;
    /* justify-content: flex-end; */
}
.row-top {
    height: 100%;
    display: flex;
    align-items: flex-start;
}
.others-contract, .contract-tabs{
    height: auto !important;
}

form .row [class^='col-xs'],
form .row [class^='col-sm'],
form .row [class^='col-md'],
form .row [class^='col-lg'] {
    display: inline-block;
    vertical-align: bottom;
    font-size: 12px;
    float: none;
}

.add-nav {
    text-align: right;
    font-size: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.add-nav li {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 0 2px;
}

.add-nav a {
    color: #808183;
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    transition: none;
}

.add-nav a:hover {
    background: #ababab;
    color: #fff;
}

.add-nav .active {
    background: #808183;
    color: #fff;
}

.extra-tools {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 0 0;
    position: relative;
}

.extra-tools li {
    position: relative;
}

.extra-tools ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.extra-tools .top-drop {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin: 5px 0 0;
    z-index: 5;
    width: 250px;
}

.extra-tools.open .top-drop,
.extra-tools .open>.drop {
    display: block;
}

.extra-tools .drop {
    background: #f4f4f4;
    border: 1px solid #d1d2d3;
    text-align: left;
    display: none;
}

.extra-tools .drop .drop li:first-child,
.extra-tools .drop li {
    border-top: 1px solid #d1d2d3;
}

.extra-tools .drop li:first-child,
.extra-tools .drop .drop {
    border: none;
}

.extra-tools .drop .tools-opener,
.extra-tools .drop a {
    display: block;
    padding: 5px 20px 5px 5px;
    cursor: pointer;
}

.extra-tools .drop .tools-opener,
.extra-tools .drop a,
.extra-tools-opener {
    color: #939496;
    transition: all 0.2s ease;
}

.extra-tools.open .extra-tools-opener,
.extra-tools .open>a,
.extra-tools .open>.tools-opener,
.extra-tools-opener:hover,
.extra-tools .drop .tools-opener:hover,
.extra-tools .drop a:hover {
    color: #444;
}

.extra-tools .drop .drop .tools-opener,
.extra-tools .drop .drop a {
    padding-left: 20px;
}

.extra-tools .drop .drop .drop .tools-opener,
.extra-tools .drop .drop .drop a {
    padding-left: 30px;
}

.extra-tools-opener {
    cursor: pointer;
}

.extra-tools-opener:after,
.tools-opener:after {
    position: absolute;
    right: 5px;
    top: 5px;
    content: '\f107';
    font-size: 18px;
    font-family: fontawesome;
}

.extra-tools-opener:after {
    position: static;
    margin: 0 0 0 4px;
}

.open>.extra-tools-opener:after,
.open>.tools-opener:after {
    content: '\f106';
}

.summary {
    padding: 0 0 5px;
    /*text-align: right;*/
}

.radio-inline+.radio-inline,
.radio-inline,
.checkbox-inline+.checkbox-inline,
.checkbox-inline {
    margin: 0 10px 2px 0;
    font-weight: normal;
}

.checkbox-inline-wrap label {
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    margin: 0 10px 0 0;
    padding-left: 20px;
    position: relative;
    vertical-align: middle;
}

/*.checkbox-inline-wrap label+label{*/
/*margin-left: 10px;*/
/*margin-top: 0;*/
/*}*/
.building-chk {
    font-size: 0;
}

.building-chk label {
    width: 33.33%;
    padding-right: 10px;
    margin: 0 0 5px;
}

.checkbox-inline-wrap input[type="checkbox"],
.radio-inline-wrap input[type="radio"] {
    margin-left: -20px;
    position: absolute;
}

.radio-wrap,
.check-wrap {
    margin: 10px 0;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.radio-wrap label {
    font-weight: normal;
}

.alert {
    border-radius: 0;
}

.login-page {
    background: #fff;
}

.login-page .logo {
    float: none;
    display: inline-block;
    vertical-align: top;
    margin: 0;
}

.login-box {
    margin: 0 auto;
    width: 340px;
    padding: 70px 0 0;
}

.login-box h1 {
    text-align: center;
    margin: 0 0 15px;
}

.login-form {
    background: #f2f2f2;
    border: 1px solid #d7d7d7;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    padding: 25px;
}

.has-feedback .fa {
    position: absolute;
    font-size: 20px;
    right: 0;
    width: 30px;
    height: 100%;
    text-align: center;
    top: 0;
    line-height: 40px;
    color: #bbb;
}

.field-loginform-rememberme {
    overflow: hidden;
    margin: 0;
}

.title-section .text {
    float: left;
    margin: 7px 10px 0 0;
}

.title-section.with-form .form-control {
    /*width: 250px;*/
    /*float: left;*/
}

.year-form {
    width: 280px;
    float: left;
}

.hor-table {
    overflow-y: auto;
    margin: 0 0 20px;
}

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

.partnership-welist {
    border: 1px solid #d1d2d3;

}

.partnership-welist .checkbox {
    margin: 0;
    border-top: 1px solid #d1d2d3;
}

.partnership-welist .checkbox:first-child {
    border: none;
}

.partnership-welist .checkbox:nth-child(even) {
    background: #f4f4f4;
}

.partnership-welist .checkbox label {
    display: block;
    padding: 10px 10px 10px 30px;
}

.partnership-welist .form-check {
    margin: 0;
    border-top: 1px solid #d1d2d3;
}

.partnership-welist .form-check:first-child {
    border: none;
}

.partnership-welist .form-check:nth-child(even) {
    background: #f4f4f4;
}

.partnership-welist .form-check label {
    display: block;
    padding: 10px 10px 10px 30px;
    margin: 0;
    font-weight: normal;
}

.partnership-welist .form-check .form-check-input {
    float: left;
    margin-left: 0;
    margin-top: 12px;
}
#w1-cols,
#w0-cols {
    display: none;
}

/* modal */

.modal-open {
    overflow: hidden;
}

.close-modal {
    background: url('../images/ta-times.svg') no-repeat 0 0 / 100% 100%;
    height: 14px;
    position: absolute;
    right: 0;
    top: -25px;
    width: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.close-modal:hover {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* .modal-dialog {
    margin: 0;
    height: 100%;
    left: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 201;
} */

.modal-table {
    display: table;
    height: 100%;
    width: 100%;
    table-layout: fixed;
}

.modal-cell {
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
}

.modal-main {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    background: #fff;
    padding: 25px 30px 30px;
    position: relative;
}

.modal-sm {
    max-width: 450px;
}

.modal-md {
    max-width: 680px;
}

.modal-lg {
    max-width: 880px;
}

.modal-dialog.modal-centered {
    margin-top: 100px;
    margin-left: calc(50% - 225px);  /* modal-sm / 2 */
}

.modal-dialog.modal-long {
    margin-top: 0 !important;
}

.modal-title {
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
    margin: 10px;
}

.litebox-modal {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    text-align: center;
    position: fixed;
    left: 0;
    z-index: 200;
}

.div-existed {
    color: red;
    font-weight: bold;
    font-size: 125%;
}

.div-unique {
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.table.table-status {
    max-width: none;
    margin: 0;
}

.table-status th {
    white-space: normal;
    min-width: 84px;
    position: sticky;
    top: 0;
    z-index: 3;
    /*box-shadow: 0 -1px 0 #d1d2d3 inset;*/
}

/*.table-status th:after,*/
.table-status .cell-fixed:before,
.table-status th:before {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    right: -1px;
    bottom: -1px;
    /*height: 1px;*/
    /*background: #d1d2d3;*/
    border: 1px solid #d1d2d3;
    background: none;
    pointer-events: none;
}

.table-status th:after {
    top: auto;
    bottom: -1px;
}

.table-status td {
    vertical-align: middle;
}

.table-status .date-control {
    width: 120px;
}

.table-status .date-control+.ui-datepicker-trigger {
    margin: 6px 10px 0 -27px;
}

.table-status textarea.form-control {
    width: 180px;
}

.table-status .cell-fixed {
    min-width: 150px;
    position: sticky;
    left: 0;
    z-index: 2;
}

.table-status th.cell-fixed {
    z-index: 4;
}

/*.table-status th.cell-fixed:first-child{*/
/*    border-left: 0 !important;*/
/*    box-shadow: -1px 0 0 #d1d2d3 inset, 2px 0 0 #d1d2d3 inset;*/
/*}*/
/*.table-status th.cell-fixed:after{*/
/*    content: '';*/
/*    position: absolute;*/
/*    right: -1px;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    width: 1px;*/
/*    background: #d1d2d3;*/
/*}*/
/*.table-status .cell-fixed + .cell-fixed:after,*/
/*.table-status .cell-fixed:before{*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: -1px;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    width: 1px;*/
/*    background: #d1d2d3;*/
/*}*/
/*.table-status .cell-fixed + .cell-fixed:after{*/
/*    left: auto;*/
/*    right: -1px;*/
/*}*/
.table-status .cell-fixed+.cell-fixed {
    left: 150px;
}

.kv-checkbox-list .checkbox {
    margin: 3px 0;
    /*padding: 0 10px;*/
}

.kv-checkbox-list .checkbox label {
    min-height: 18px;
}

.filling-actions {
    float: right;
    margin: 0 0 10px;
}

.filling-actions .btn .ui-button-text {
    display: inline;
    padding: 0;
}

.filling-actions .btn.ui-state-default {
    background: none;
}

.filling-actions .btn.ui-state-default:hover {
    background: #e6e6e6;
}

.table-status-container {
    clear: both;
}

.table-status-container .table-responsive {
    overflow: auto;
    max-height: calc(100vh - 150px);
}

/* LPA */
.lpa-title {
    font-weight: bold;
    font-size: 14px;
    color: #58595b;
    /*display: block;*/
    /*padding-top: 12px;*/
}

.lpa-title-red {
    color: red !important;
}

.lpa-note {
    font-size: 110%;
    font-weight: bold;
    font-style: italic;
}

div.field-partnershiplpa-is_lp_approval,
div.field-partnershiplpa-is_refinance {
    padding-top: 12px;
}

.table-books-responsive {
    overflow: hidden;
    overflow-x: auto;
    margin-bottom: 20px;
}

.books-table {
    width: 60%;
    margin-top: 10px;
    margin-left: 10%;
}

.books-table .form-group {
    margin-bottom: -17px;
}

.books-table th {
    font-weight: bold;
    font-size: 14px;
    color: #58595b;
    border: 2px solid #d1d2d3;
    text-align: center;
    padding: 10px;
}

.books-table td {
    border: 1px solid #d1d2d3;
}

.profit-table {
    border: 1px solid #d1d2d3;
    padding: 3px !important;
}

.div-left-block {
    float: left;
    display: block;
    width: 100%;
}

.div-left-inline {
    float: left;
    display: inline;
}

/* \LPA */

/* SMD */
.duty-ul ul {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
    line-height: 12px;
}

.duty-ul ul li a {
    padding: 10.5px 11px;
    display: block;
    border: 1px solid #d1d2d3;
    text-align: center;
    background: #e6e7e7 none repeat scroll 0 0;
    color: #333;
}

.duty-ul ul li a:hover,
.duty-ul ul li a.active::after,
.duty-ul ul li.current {
    color: #333;
    background: #fff none repeat scroll 0 0;

}

.duty-ul li {
    position: relative;
}

.duty-ul li button.close {
    position: absolute;
    right: 0;
    text-align: center;
    top: 7px;
    width: 20px;
    z-index: 2;
}

.complete {
    text-align: center;
    padding: 5px;
}

.incomplete,
.incomplete a {
    color: #e62727 !important;
    background-color: #f7cdcd;
    padding: 7px 7px;
}

.empty-box,
.empty-box a {
    color: #e62727 !important;
}

.is-note,
.is-note a {
    color: #F1BB49 !important;
}

.small-font {
    font-size: 12px;
}

/* \SMD */

#ui-datepicker-div {
    z-index: 999 !important;
}

.readonly-input {
    background-color: #F2F4F4 !important;
    border: 1px inset #E5E7E9 !important;
    text-align: right;
}

/* Questionnaire */
.sub-header {
    background-color: #4C5DD3;
    color: #fff;
    font-weight: bold;
    font-size: 14px !important;
    line-height: 40px;
    margin: 0 0 20px;
    padding: 0 15px;
}

.sub-title {
    font-weight: bold;
    font-size: 14px !important;
    line-height: 30px;
    margin: 0;
    vertical-align: top !important;
    padding-top: 5px;
    padding-left: 16px;
}

.pr30 {
    padding-right: 30px;
}

.pl10 {
    padding: 10px;
}

.pl20 {
    padding: 10px 20px;
}

.sigWrapper {
    text-align: center;
}

.inline-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.inline-row>.form-group {
    margin: 0 30px 0 0;
}

.table-dynamic-responsive,
.table-partners-responsive {
    overflow: hidden;
    overflow-x: auto;
}

.partners-row {
    display: -ms-flexbox;
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
}

.partners-row .col {
    -ms-flex: 0 0 12%;
    flex: 0 0 12%;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

.partners-row .col-partner {
    -ms-flex: 1;
    flex: 1;
}

.partners-row .col-percent {
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    background: #f4f4f4;
}

.partners-row .col-manager {
    -ms-flex: 0 0 18%;
    flex: 0 0 18%;
}

.partners-row .percent-total {
    padding-bottom: 10px;
    font-weight: bold;
}

.partners-row .percent-total-point {
    font-size: 16px;
}

.contracts-row {
    display: -ms-flexbox;
    display: flex;
}

.contracts-row .col-left {
    width: 15%;
}

.contracts-row .col-center {
    width: 55%;
    border: 1px solid #d1d2d3;
    padding: 10px;
}

.contracts-row .col-right {
    width: 30%;
    min-height: 350px;
}

.duties-box {
    display: -ms-flexbox;
    display: flex;
}

.duties-box .left {
    -ms-flex: 0 0 100px;
    flex: 0 0 100px;
}

.duties-box .right {
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    font: 12px / 15px 'Roboto', sans-serif;
}

.pagination>li {
    display: inline;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    z-index: 3;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination>li>a,
.pagination>li>span {
    font: 12px / 15px 'Roboto', sans-serif;
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}




/* media queries */
@media(max-width: 1269px) {
    .w1 {
        width: auto;
        padding: 40px 30px;
    }

    #nav ul {
        font-size: 14px;
    }
}

@media(max-width: 1199px) {
    .mb-md-15 {
        margin-bottom: 15px !important;
    }

    label {
        margin: 0 0 5px 5px;
    }

    .w1 {
        padding: 25px 30px;
    }

    /* header */
    #header {
        display: -ms-flexbox;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #header:after {
        content: none;
    }

    .mobile-holder {
        display: -ms-flexbox;
        display: flex;
        align-items: center;
        margin-right: -6px;
    }

    .btn-hamburger {
        display: block;
        width: 44px;
        height: 44px;
        padding: 7px;
        margin-left: 15px;
        cursor: pointer;
        position: relative;
        z-index: 10;
    }

    .btn-hamburger>span {
        display: block;
        margin: 14px 0 0;
        width: 100%;
        height: 2px;
        background-color: #808183;
        position: relative;
        transition: all 0.4s ease;
    }

    .btn-hamburger>span::before,
    .btn-hamburger>span::after {
        content: "";
        position: absolute;
        z-index: 1;
        top: -10px;
        width: 100%;
        height: 2px;
        background: inherit;
        transition: all 0.4s ease;
    }

    .btn-hamburger>span::after {
        top: 10px;
    }

    .menu-open {
        overflow: hidden;
    }

    .menu-open .mobile-menu {
        left: 0;
        visibility: visible;
        opacity: 1;
    }

    .menu-open .btn-hamburger>span {
        transform: rotate(135deg);
    }

    .menu-open .btn-hamburger>span::before,
    .menu-open .btn-hamburger>span::after {
        top: 0;
        transform: rotate(90deg);
    }

    .mobile-link a {
        color: #808183;
        font-size: 16px;
        line-height: 20px;
        display: block;
        padding: 4px 5px;
        border-radius: 4px;
        border: 1px solid #808183;
        transition: none;
    }

    .mobile-link.active a {
        background: #808183;
        color: #fff;
    }

    .mobile-link a:hover {
        background: #ababab;
        color: #fff;
    }

    .mobile-menu {
        display: block;
        padding: 100px 30px 0;
        background: #fff;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 100%;
        z-index: 5;
        transition: 500ms;
        visibility: hidden;
        opacity: 0;
    }

    .mobile-menu-holder {
        max-height: 100%;
        overflow-y: auto;
    }

    .mobile-menu-frame {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 20px;
    }

    #nav ul {
        float: none;
        font-size: 16px;
        border-top: 1px solid #808183;
    }

    #nav li {
        float: none;
        margin: 0;
    }

    #nav a {
        border-width: 0 0 1px;
    }

    #header .logout {
        margin: 0;
        text-align: left;
    }

    #header .logout .link-logout {
        display: none;
    }

    .extra-tools {
        display: block;
        margin: 0;
    }

    .extra-tools-opener {
        display: block;
        border-bottom: 1px solid #808183;
        padding: 15px 10px;
    }

    .extra-tools .top-drop {
        position: static;
        margin: 0;
        width: auto;
    }

    .link-logout-mobile {
        display: block;
        font-size: 16px;
        line-height: 20px;
        color: #808183;
        border: 1px solid #808183;
        border-width: 1px 0;
        padding: 15px 10px;
    }

    .link-logout-mobile .fa {
        margin: 0 10px 0 0;
    }

    .view-holder {
        width: 100%;
        overflow: hidden;
    }

    .partners-row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .partners-row .col {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
    }

    .partners-row .col-partner {
        -ms-flex: 0 0 65%;
        flex: 0 0 65%;
    }

    .partners-row .col-percent {
        -ms-flex: 0 0 15%;
        flex: 0 0 15%;
    }

    .partners-row .col-manager {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
    }

    .partners-row .col-date {
        -ms-flex: 0 0 15%;
        flex: 0 0 15%;
    }
}

@media(max-width: 1023px) {
    .w1 {
        padding: 25px 20px;
    }

    /* header */
    .mobile-menu {
        padding: 100px 20px 0;
    }

    .well {
        padding: 30px 20px;
    }

    .tabs-holder {
        margin: 0 -15px 20px;
    }

    .tabs-holder .btn {
        margin: -6px 15px 15px 0
    }

    .tabs {
        display: -ms-flexbox;
        display: flex;
        padding: 10px 10px 0;
        float: none;
        width: 100%;
        overflow: hidden;
        overflow-x: auto;
    }

    .tabs li {
        float: none;
    }

    .partners-row .col-manager {
        -ms-flex: 0 0 85%;
        flex: 0 0 85%;
    }

    .partners-row .col-phone,
    .partners-row .col-email {
        -ms-flex: 0 0 32%;
        flex: 0 0 32%;
    }

    .partners-row .col-date {
        -ms-flex: 0 0 21%;
        flex: 0 0 21%;
    }

    .contracts-row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .contracts-row .col-left,
    .contracts-row .col-center,
    .contracts-row .col-right {
        width: 100%;
        min-height: auto !important;
    }

    .contracts-row .contract_ul ul {
        display: -ms-flexbox;
        display: flex;
        white-space: nowrap;
        overflow: hidden;
        overflow-x: auto;
    }

    .books-table {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }
}

@media(max-width: 767px) {
    .mb-xs-5 {
        margin-bottom: 5px !important;
    }

    .mb-xs-15 {
        margin-bottom: 15px !important;
    }

    .hide-xs {
        display: none;
    }

    .w1 {
        padding: 20px 15px;
    }

    /**/
    .mobile-menu {
        padding: 70px 15px 0;
    }

    .well {
        padding: 30px 15px;
    }

    .login-box {
        width: auto;
        max-width: 340px;
    }

    /**/
    .tabs-holder {
        margin: 0 -15px 20px;
    }

    .tabs {
        display: -ms-flexbox;
        display: flex;
        padding: 10px 10px 0;
        float: none;
        overflow: hidden;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tabs li {
        float: none;
    }

    .building-chk label {
        width: 50%;
    }

    .heading-holder {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .heading-holder h1,
    .heading-holder h2 {
        width: 100%;
    }

    .heading-holder .btn {
        margin-bottom: 5px;
    }

    .modal-main {
        padding: 20px 15px;
    }

    .partners-row {
        position: relative;
    }

    .partners-row .col {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .partners-row .col-parent {
        -ms-flex: 0 0 calc(100% - 120px);
        flex: 0 0 calc(100% - 120px);
    }

    .partners-row .col-percent {
        width: 120px;
        min-height: 95px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .partners-row .col .form-group {
        margin-bottom: 5px;
    }

    .duties-box {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .duties-box .left {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .duty-ul {
        overflow-x: auto;
    }

    .duty-ul ul {
        display: -ms-flexbox;
        display: flex;
        white-space: nowrap;
    }
}

@media(max-width: 479px) {
    #header {
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .logo {
        margin: 15px 0 0;
    }

    .mobile-holder {
        width: 100%;
        justify-content: space-between;
    }

    .building-chk label {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {

    .kv-table-wrap th,
    .kv-table-wrap td {
        display: table-cell;
        width: auto important;
        text-align: left;
        font-size: 12px
    }

    .kv-table-wrap tr>td:first-child {
        border-top: 1px double #ccc;
        margin-top: 0;
        font-size: 12px;
    }
}