:root {
    scroll-behavior: smooth;
}

:root,
[data-bs-theme=light] {
    --bs-blue: #657BBC;
    --bs-primary: #657BBC;
    --bs-link-color: #657BBC;
    --bs-link-hover-color: #657BBC;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
}

a {
    color: #657BBC;
    text-decoration: none;
}

a:hover {
    color: #4B62A6;
    text-decoration: underline;
}

.h5, h5 {
    font-size: 1.1rem;
}

#ot-sdk-btn {
    color: #fff !important;
    text-decoration: none !important;
    border: 0 !important;
    padding: 0 !important;
    transition: none !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

#ot-sdk-btn:hover {
    color: #fff !important;
    text-decoration: underline !important;
    background-color: transparent !important;
}

header .container {
    padding-top: 2px;
    padding-bottom: 2px;
}

header .navbar-toggler {
    color: #DEE2E6;
    border-color: #DEE2E6;
    border-radius: 3px;
    padding: 5px 18px 9px 9px;
}

header .navbar-toggler:hover {
    background: #F6F8FF;
    border-color: #657BBC;
    color: #657BBC;
}

header .navbar-toggler:focus {
    box-shadow: none;
}

header .icon-menu {
    font-size: 12px;
    display: inline-block;
}

.header-logo {
    display: block;
    width: 52px;
    height: 32px;
    background: url(../img/bcg-logo-small.svg) no-repeat;
    background-size: auto;
}

.header-sub-logo {
    color: #333;
    font-size: 12px;
    white-space: nowrap;
}

@media only screen and (max-width: 400px) {
    .login-btn .text {
        display: none !important;
    }
}

.language-picker,
.login-btn {
    color: #999;
    padding: 0 8px 0 0 !important;
}

.language-picker a {
    text-decoration: none;
}

.language-picker .icon-globe {
    font-size: 14px;
    display: inline-block;
}

.language-picker .icon-globe:before {
    margin-left: 0;
}

.language-picker .nav-link {
    font-size: 10px;
    width: 50px;
    border: 1px solid #DEE2E6;
    border-radius: 3px;
    padding: 7px 8px 6px 8px;
    text-align: left;
}

.login-btn .nav-link {
    font-size: 12px;
    border: 1px solid #DEE2E6;
    border-radius: 3px;
    padding: 8px;
    text-align: left;
    color: #657BBC;
    height: 36px;
}

.login-btn .nav-link:hover {
    background: #F6F8FF;
}

.login-btn .nav-link span {
    display: flex;
}

.login-image {
    margin-right: 0.5rem;
}

.language-picker .nav-link:hover,
.login-btn .nav-link:hover,
.language-picker .nav-link.show {
    background: #F6F8FF;
    border-color: #657BBC;
    color: #657BBC;
}

.language-picker .nav-link.show {
    border-radius: 3px 3px 0 0;
}

.language-picker .dropdown-toggle::after {
    display: none;
}

.language-picker .dropdown-menu {
    background: #F6F8FF;
    border-color: #657BBC;
    color: #657BBC;
    width: 50px !important;
    min-width: 50px;
    margin-top: -1px;
    padding: 0;
    border-top: none;
    border-radius: 0 0 3px 3px;
}

.language-picker .dropdown-menu li a.dropdown-item {
    font-size: 10px;
    text-align: right;
    padding: 4px 8px 4px 0;
}

.language-picker .dropdown-menu li a.dropdown-item:hover,
.language-picker .dropdown-menu li a.dropdown-item.active_language
{
    background-color: #ECF0FF;
    font-weight: bold;
    color: #000!important;
}

.language-picker .dropdown-menu li a.dropdown-item .icon-check {
    color: #39AE00;
    left: -5px;
    position: relative;
}

@media only screen and (min-width: 300px) {
    .offcanvas-menu {
        max-width: 300px;
    }
}

.main-menu {
    text-align: left;
}

.main-menu .nav-link.active {
    background: #F8F9FA;
}

.main-tabs .nav-link {
    font-size: 14px;
    color: #333;
    padding: 4px 0 5px 0;
    border-bottom: 1px solid #DEE2E6;
}

.main-tabs .nav-link.active {
    font-weight: bold;
    background: none;
    padding: 4px 0 4px 0;
    border-bottom: 2px solid #657BBC;
}

.unpaid-sum-block {
    background: #F8F9FA;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

.unpaid-sum-total {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin: 0 4px 0 6px;
}

.unpaid-sum-view-link i {
    color: #ddd!important;
}

.unpaid-sum-view-link a.mini-link {
    font-size: 12px;
    color: #657BBC;
}

.unpaid-sum-view-link a.btn-primary {
    margin-left: 15px;
}

.client-info {
    background-color: #F3FAFF;
}

.client-balance {
    background-color: #E6EFF5;
    height: 70px;
}

.line {
    height: 2px;
    width: 100%;
    background-color: #657BBC;
}

main {
    font-size: 14px;
}

nav .btn {
    padding: 9px;
    height: 46px;
    width: 201px;
    border-radius: 24px;
    color: #999;
    border: 1px solid #DDD;
}

nav .btn:hover, nav .btn.active  {
    background-color: #F3FAFF;
    color: #196EAF;
    border: 1px solid #196EAF;
}


.btn.btn-primary {
    background-color: #196EAF;
}

.invoice-sum {
    font-size: 14px;
}

.sticky-bottom {
    display: none;
}

.sticky-bottom-active {
    display: block;
}

.sticky-bottom .invoice-sum {
    font-size: 16px;
}

.invoice-info {
    color: #999999;
    font-size: 12px;
    word-break: break-word;
}

.invoice-paid {
    color: #339900;
    font-size: 12px;
}

footer.bcg-footer {
    margin-top: 3rem;
    background-color: #657BBC;
}

footer.bcg-footer, footer.bcg-footer a {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 18px;
    text-decoration: none;
}

footer.bcg-footer a:hover {
    text-decoration: underline!important;
}

footer.bcg-footer .copyright {
    font-size: 14px;
    white-space: nowrap;
}

.footer-logo {
    display: block;
    width: 160px;
    height: 50px;
    background: url(../img/bcg_white.svg) no-repeat;
    background-size: auto;
}

.form-group {
    margin-bottom: 1rem;
    font-size: .875rem;
}

.filter .form-control {
    font-size: .875rem;
}

.form-group label {
    display: inline-block;
    color: #999;
    height: 19px;
    width: 119px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 19px;
}

.light-label {
    color: #999999;
    font-size: 14px;
}

.child-doc {
    background-color: #F3FAFF;
}

.nav-link.active {
    background-color: #F2F2F2;
}

.form-group label {
    width: 150px;
}

i.fa.light, i.fab.light, i.fal.light, i.far.light, i.fas.light {
    color: #A0A0A0;
}

.btn-light {
    color: #6C757D;
    background-color: #EDEDED;
    border-color: #E0E0E0;
    font-weight: normal;
}

.btn-light:hover {
    color: #6C757D !important;
    background-color: #F7F7F7;
    border-color: #E0E0E0;
}

.client-top-name b {
    color: #657BBC;
}

.client-top-name .icon-edit {
    color: #657BBC;
    cursor: pointer;
    font-size: 12px;
}

.client-top-name .icon-edit:hover {
    text-decoration: underline;
}

.client-top-name .icon-edit:before {
    text-decoration: none!important;
    font-size: 14px;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #657BBC;
}

.btn.btn-primary {
    background-color: #657BBC;
    border-color: #657BBC;
}

.btn.btn-primary:hover {
    background-color: #4B62A6;
    border-color: #4B62A6;
}

.btn {
    border-radius: 3px;
    font-size: 14px;
}

.form-control {
    font-size: 14px;
}

.invoice-modal-data label {
    color: #999;
}

.breakable-text {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.managers-block h6 {
    font-weight: normal;
    font-size: 14px;
}

.managers-block-photo {
    width: 70px;
}

.managers-block-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 50% !important;
}

.managers-block-project-logos {
    text-align: left;
    margin-left: -10px;
}

.managers-block-project-logos img {
    height: 32px;
    width: auto;
    max-width: 100px;
}

.managers-block .light-label {
    font-size: 12px;
}

.icon-copy {
    color: #657BBC;
    font-size: 12px;
    position: relative;
    top: -1px;
    cursor: pointer;
}

.tooltip {
    font-size: 12px;
    --bs-tooltip-bg: #6c757d;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-color: #f1f1f1;
}

.pointer-link {
    cursor: pointer;
}

.pointer-link:hover {
    text-decoration: underline;
}

.small-label {
    font-size: 11px;
    color: #333;
}

.filter-checkboxes {
    padding-top: 28px;
}

.btn-outline-primary {
    --bs-btn-color: #657BBC;
    --bs-btn-border-color: #657BBC;
    --bs-btn-hover-color: #657BBC;
    --bs-btn-hover-bg: #F6F8FF;
    --bs-btn-hover-border-color: #657BBC;
    --bs-btn-active-color: #657BBC;
    --bs-btn-active-bg: #F6F8FF;
    --bs-btn-active-border-color: #657BBC;
    --bs-btn-disabled-color: #657BBC;
    --bs-btn-disabled-border-color: #657BBC;
}

.filter-button {
    background: url(../img/filter.svg) no-repeat 40px 0;
    background-size: auto;
    padding: 8px 40px 8px 85px;
}

.filter-downloads-button {
    background: url(../img/download.svg) no-repeat 30px 0;
    background-size: auto;
    padding: 8px 40px 8px 75px;
}

.download-invoice-icon {
    background: url(../img/download.svg) no-repeat;
    display: inline-block;
    height: 21px;
    width: 21px;
    background-position-x: -9px;
    background-position-y: -9px;
    scale: 80%;
}

.download-invoice-button-text {
    margin-left: 12px;
}

.download-invoice-btn {
    display: inline-flex;
    vertical-align: middle;
}

.filters-block, .filter-downloads-block {
    display: none;
}

.filters-block-active, .filter-downloads-block-active {
    display: block;
}

.bank-button input[type="radio"] {
    display: none;
}

.bank-button img {
    max-width: 160px;
    width: 100%;
    border: 1px solid #F1F1F1;
    border-radius: 3px;
    height: auto;
    display: block;
    cursor: pointer;
    box-sizing: border-box;
}

.bank-button input[type="radio"]:hover + img {
    border-color: #657BBC;
}

.bank-button input[type="radio"]:checked + img {
    border-color: #657BBC;
    box-shadow: 0 0 0 1px #657BBC;
}

.payment-sum-total {
    text-align: right;
    vertical-align: middle;
}

.payment-sum-total span {
    font-size: 16px;
    color: #999;
    margin-right: 25px;
}

.payment-sum-total b {
    font-size: 22px;
    margin-right: 25px;
}

.payment-invoices-list {
    background: #F5F5F5;
    padding: 15px;
}

.payment-invoices-list-header {
    color: #999;
    font-size: 12px;
}

.form-check-input {
    border-radius: 3px;
    border: 1px solid #ccc;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-check-input:checked::before {
    font-size: 1.25em;
}

.form-check-input:checked {
    background-color: #657BBC;
    border-color: #657BBC;
}

.form-check-input:checked:hover {
    background-color: #4B62A6;
    border-color: #4B62A6;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    padding: 5px 0 5px 0;
}

.sticky-bottom::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 10px;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: -1;
}

.sticky-bottom .check-all {
    position: relative;
    left: 8px;
}

.invoices-total-text {
    color: #999;
    font-size: 12px;
}

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

.grey-icon {
    color: #ddd;
}

.grey-icon:hover {
    color: #C6C6C6;
}

.green-icon {
    color: green;
}

.table {
    vertical-align: middle;
}

.table th {
    color: #999!important;
    font-weight: normal!important;
    font-size: 12px;
}

@media only screen and (max-width: 992px) {
    .table {
        font-size: 12px;
    }

    .table .btn-primary {
        font-size: 12px;
    }

    .table .form-check-input {
        width: 24px;
        height: 24px;
    }

    .sticky-bottom .check-all {
        top: -3px;
    }

    .action-buttons {
        width: 120px;
    }
}

@media only screen and (max-width: 500px) {
    .filter-button {
        background: url(../img/filter.svg) no-repeat 23px 0;
        padding: 8px 26px 8px 67px;
    }

    .filter-downloads-button {
        background: url(../img/download.svg) no-repeat 8px 0;
        padding: 8px 20px 8px 50px;
    }
}

.active>.page-link, .page-link.active {
    background-color: #657BBC;
    border-color: #657BBC;
}

.icon-pdf {
    font-size: 15px;
    position: relative;
    left: -3px;
}

.table-light-yellow,
.table-light-yellow > th,
.table-light-yellow > td {
    background-color: #FFF6E0;
}

.table-hover .table-light-yellow:hover {
    background-color: #FFECC1;
}

.table-hover .table-light-yellow:hover > td,
.table-hover .table-light-yellow:hover > th {
    background-color: #FFECC1;
}

.bg-green-warning {
    background-color: rgb(165 205 58 / 31%) !important;
}

.input-group.date-picker {
    width: 160px;
}

td .action-button {
    min-width: 120px;
    margin: 2px;
}

.login-form .form-group label {
    width: 300px;
}

.filter_badges {
    display: inline;
}

.filter_badges .badge {
    font-size: 12px !important;
    font-weight: normal;
    background: #f1f3f6 !important;
    border: 1px solid #e5e6e9;
    color: #333333 !important;
}

.filter-badge {
    cursor: pointer;
}

.apple-pay-button {
    display: inline-block;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: buy;
}
.apple-pay-button-black {
    -apple-pay-button-style: black;
}
.apple-pay-button-white {
    -apple-pay-button-style: white;
}
.apple-pay-button-white-with-line {
    -apple-pay-button-style: white-outline;
}
