html {
  font-size: 14px;
}

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

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

body {
  margin-bottom: 60px;
}

.custom-btn-size {
    width: 40px;
    height: 38px;
}

.btn-primary-custom {
    color: #fff !important;
    background-color: #45709E !important;
    border-color: #45709E !important;
}

    .btn-primary-custom:hover {
        color: #fff !important;
        background-color: #2e5681 !important;
        border-color: #2e5681 !important;
    }

.btn-outline-primary-custom {
    color: #45709E !important;
    border-color: #45709E !important;
}

    .btn-outline-primary-custom:hover {
        color: #fff !important;
        background-color: #45709E !important;
        border-color: #45709E !important;
    }

    .btn-check:focus + .btn-outline-primary-custom, .btn-outline-primary-custom:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5) !important;
    }

    .btn-check:checked + .btn-outline-primary-custom, .btn-check:active + .btn-outline-primary-custom, .btn-outline-primary-custom:active, .btn-outline-primary-custom.active, .btn-outline-primary-custom.dropdown-toggle.show {
        color: #fff !important;
        background-color: #45709E !important;
        border-color: #45709E !important;
    }

        .btn-check:checked + .btn-outline-primary-custom:focus, .btn-check:active + .btn-outline-primary-custom:focus, .btn-outline-primary-custom:active:focus, .btn-outline-primary-custom.active:focus, .btn-outline-primary-custom.dropdown-toggle.show:focus {
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5) !important;
        }

    .btn-outline-primary-custom:disabled, .btn-outline-primary-custom.disabled {
        color: #0d6efd !important;
        background-color: transparent !important;
    }

.btn-outline-pln {
    color: #ffa700 !important;
    border-color: #ffa700 !important;
}

    .btn-outline-pln:hover {
        color: #fff !important;
        background-color: #ffa700 !important;
        border-color: #ffa700 !important;
    }

    .btn-check:focus + .btn-outline-pln, .btn-outline-pln:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 167, 0, 0.5) !important;
    }

    .btn-check:checked + .btn-outline-pln, .btn-check:active + .btn-outline-pln, .btn-outline-pln:active, .btn-outline-pln.active, .btn-outline-pln.dropdown-toggle.show {
        color: #fff !important;
        background-color: #ffa700 !important;
        border-color: #ffa700 !important;
    }

        .btn-check:checked + .btn-outline-pln:focus, .btn-check:active + .btn-outline-pln:focus, .btn-outline-pln:active:focus, .btn-outline-pln.active:focus, .btn-outline-pln.dropdown-toggle.show:focus {
            box-shadow: 0 0 0 0.25rem rgba(255, 167, 0, 0.5) !important;
        }

    .btn-outline-pln:disabled, .btn-outline-pln.disabled {
        color: #0d6efd !important;
        background-color: transparent !important;
    }

.nav-link-custom, .nav-link-custom-admin {
    display: block;
    padding: 0.5rem 1rem;
    color: #15309b;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

    .nav-link-custom:hover, .nav-link-custom:focus {
        color: #F27D21;
        border-bottom: 2px solid #F27D21;
    }

    .nav-link-custom-admin:hover, .nav-link-custom-admin:focus {
        color: #7e972c;
        border-bottom: 2px solid #7e972c;
    }

.form-switch.form-switch-md .form-check-input {
    height: 1.5rem !important;
    width: calc(2rem + 0.75rem) !important;
    border-radius: 3rem !important;
}

.mode {
    padding: 4px 10px;
    line-height: 13px;
    color: #fff;
    font-weight: 400;
    border-radius: 1rem;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
    font-size: 11px;
    letter-spacing: 0.4px;
}

.mode_on {
    background-color: #09922d;
}

.mode_off {
    background-color: #8b9096;
}

.mode_process{
    background-color: #ff8000;
}

.mode_done {
    background-color: #03a9f3;
}
.mode_pln {
    background-color: #ffa700;
}
.mode_eur {
    background-color: #45709E;
}

.btn-group i {
    color:#8e8e8e;
    margin: 2px;
}

.custom-ico {
    display: inline-block;
    color: #8a8a8a;
    font-size: 12px;
    border: 1px solid #d4d4d4;
    padding: 10px 11px;
    margin: -9px 3px; 
    border-radius: 50%;
    cursor: pointer;

}
.form-check-input {
    --bs-form-check-bg: var(--bs-body-bg);
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: ffa700;
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact
}

    .form-check-input[type=checkbox] {
        border-radius: .25em
    }

    .form-check-input:active {
        filter: brightness(90%)
    }

    .form-check-input:focus {
        border-color: #ffa700;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(255,167,0,.25)
    }

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

        .form-check-input:checked[type=checkbox] {
            --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")
        }

    .form-check-input[type=checkbox]:indeterminate {
        background-color: #ffa700;
        border-color: #ffa700;
        --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")
    }

    .form-check-input:disabled {
        pointer-events: none;
        filter: none;
        opacity: .5;
        background-color: #ffa700;
        border-color: #ffa700;
    }

        .form-check-input:disabled ~ .form-check-label, .form-check-input[disabled] ~ .form-check-label {
            cursor: default;
            opacity: .5
        }

.form-switch {
    padding-left: 2.5em
}

    .form-switch .form-check-input {
        --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
        width: 2em;
        margin-left: -2.5em;
        background-image: var(--bs-form-switch-bg);
        background-position: left center;
        border-radius: 2em;
        transition: background-position .15s ease-in-out
    }

@media (prefers-reduced-motion:reduce) {
    .form-switch .form-check-input {
        transition: none
    }
}

.form-switch .form-check-input:focus {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffa700'/%3e%3c/svg%3e")
}

.form-switch .form-check-input:checked {
    background-position: right center;
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")
}

.form-switch.form-check-reverse {
    padding-right: 2.5em;
    padding-left: 0
}

    .form-switch.form-check-reverse .form-check-input {
        margin-right: -2.5em;
        margin-left: 0
    }