/* Sofia Sans (variable, self-hosted) */
/*@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-cyrillic-ext-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-cyrillic-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-greek-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sofia-sans/sofia-sans-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/

@font-face {
    font-family: "Sofia Sans";
    src: url(../fonts/Bebas_Neue/BebasNeue-Regular.ttf) format("truetype");
    font-weight: 100 900;
}

@font-face {
    font-family: "Sofia Sans";
    src: url(../fonts/SofiaSans-Regular.ttf) format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Sofia Sans";
    src: url(../fonts/SofiaSans-SemiBold.ttf) format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Sofia Sans";
    src: url(../fonts/SofiaSans-Bold.ttf) format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Sofia Sans";
    src: url(../fonts/SofiaSans-ExtraBold.ttf) format("truetype");
    font-weight: 800;
}
:root {
  --bs-body-font-family: 'Sofia Sans', system-ui, -apple-system, sans-serif;
}

html, body {
  font-family: 'Sofia Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.input-group-append {
    background-color: #f8f9fb;
}

.btn-default {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #444;
}


.form-control {
    padding: 0.375rem 0.75rem;
    height: unset;
}

.form-group {
    margin-bottom: 1rem;
    position: relative !important;
}

.dt-container .dt-paging {
    display: flex;
    justify-content: flex-end;
}

.dt-paging-button {
    margin-left: 5px !important;
}

#toast-container > div {
    opacity: 1 !important;
}


.toast-error {
    background-color: #BD362F !important;
}

.form-control-decimal {
    text-align: right;
}

.icon-20 {
    font-size: 20px;
}

a.nav-item {
    color: #0077cc;
}

.button-150 {
    min-width: 150px;
}

.breadcrumb {
    --bs-breadcrumb-padding-x: 0;
    --bs-breadcrumb-padding-y: 0;
    --bs-breadcrumb-margin-bottom: 1rem;
    --bs-breadcrumb-bg:;
    --bs-breadcrumb-border-radius:;
    --bs-breadcrumb-divider-color: var(--bs-secondary-color);
    --bs-breadcrumb-item-padding-x: .5rem;
    --bs-breadcrumb-item-active-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);
    margin-bottom: var(--bs-breadcrumb-margin-bottom);
    font-size: var(--bs-breadcrumb-font-size);
    list-style: none;
    background-color: var(--bs-breadcrumb-bg);
    border-radius: var(--bs-breadcrumb-border-radius)
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: var(--bs-breadcrumb-item-padding-x)
}

    .breadcrumb-item + .breadcrumb-item:before {
        float: left;
        padding-right: var(--bs-breadcrumb-item-padding-x);
        color: var(--bs-breadcrumb-divider-color);
        content: var(--bs-breadcrumb-divider, "/")
    }

.breadcrumb-item.active {
    color: var(--bs-breadcrumb-item-active-color)
}

.shadow, .page .box {
    box-shadow: var(--bs-box-shadow) !important
}

.shadow-sm {
    box-shadow: var(--bs-box-shadow-sm) !important
}

.shadow-lg {
    box-shadow: var(--bs-box-shadow-lg) !important
}

.shadow-none {
    box-shadow: none !important
}

.padding-box {
    padding: 1rem;
}


.pid-type {
    max-width: 100px;
}


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

.ul-radio-button {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .ul-radio-button li {
        flex: 1;
        margin: 0px;
        /* padding: 2px;*/
        background: var(--buttons-buttons-style1-empty);
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }


    .ul-radio-button input[type="radio"]:checked + label {
        background: var(--buttons-buttons-style1-normal);
        color: var(--text-text-inverted);
    }

    .ul-radio-button label {
        padding: 0.5rem;
        background: var(--buttons-buttons-style1-empty);
        border: none;
        cursor: pointer;
        z-index: 90;
        width: 100%;
        height: 100%;
        text-align: center;
    }

        .ul-radio-button label:hover {
            background: var(--buttons-buttons-style1-empty-hover);
        }

    .ul-radio-button input:disabled + label {
        background: #ccc;
    }

/*.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0;
    margin-right: 0.5rem;
    border: 1px solid #4d7b94;
}

.form-check-input:checked {
    background-color: #4d7b94;
    background-size: 18px;
}
*/


#toast-container > div {
    opacity: 1 !important;
}

:root,
[data-bs-theme=light] {
    --bs-success-bg-subtle: #198754;
}

.toast-error {
    background-color: #BD362F !important;
}

.u-btn--add {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: unset;
    padding: 1rem;
    color: #0077b6;
    background-color: transparent;
    border: 1px solid #0077b6;
}

    .u-btn--add:disabled {
        border: 1px solid #99a3a7;
    }

    .u-btn--add:before {
        content: '';
        display: block;
        margin-right: 1rem;
        width: 18px;
        height: 18px;
        background-image: url(../img/bc/add-blue.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .u-btn--add[aria-label] {
        padding: 1rem;
    }

        .u-btn--add[aria-label]::before {
            margin-right: 0;
        }

        .u-btn--add[aria-label]:hover, .u-btn--add[aria-label]:focus {
            background-color: #99c9e2;
        }

            .u-btn--add[aria-label]:hover:before, .u-btn--add[aria-label]:focus:before {
                background-image: url(../img/bc/add-blue.svg);
            }

    .u-btn--add:hover, .u-btn--add:focus {
        color: #0077b6;
        background-color: #99c9e2;
    }

        .u-btn--add:hover:before, .u-btn--add:focus:before {
            background-image: url(../img/bc/add-blue.svg);
        }

.add-width {
    min-width: 12rem;
}
