body {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
}

hr {
    height: 0;
    box-shadow: 0 0 10px 1px lightgrey;
}

.modal-title-plate {
    background-image: url('../templates/default/i/clear_plates.png');
    background-size: 150px 30px;
    background-repeat: no-repeat;
    height: 30px;
    width: 150px;
    border: 0px solid;
    padding-left: 25px;
    padding-top: 4px;
    font-weight: bold;
}


.title-plate {
    background-image: url('../templates/default/i/clear_plates.png');
    background-size: 150px 20px;
    background-repeat: no-repeat;
    height: 30px;
    width: 150px;
    border: 0px solid;
    padding-left: 25px;
    padding-top: 4px;
    font-weight: bold;
}


/*
Klawiatura numeryczna do logowania
 */
.keypad {
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.5rem;
}

.keypad-key {
    width: 100%;
    height: 3rem;
    font-size: 1.5rem;
    transition: all 0.1s ease;
    margin-bottom: 0.5rem;
}

.keypad-key:active {
    background-color: grey !important;
    color: white;
    transform: scale(0.9);
}

.keypad-key:focus {
    outline: none !important;
}

.keypad-key.btn:hover {
    background-color: lightgray;
}


[dir=rtl] .floating-label > input + label,
[dir=rtl] .floating-label > textarea + label {
    right: 0;
    left: auto !important;
}
[dir=rtl] .floating-label > input:not([placeholder]):not([value]) + label,
[dir=rtl] .floating-label > textarea:not([placeholder]):empty + label, [dir=rtl] .floating-label > input[placeholder]:not(:placeholder-shown) + label,
[dir=rtl] .floating-label > textarea[placeholder]:not(:placeholder-shown) + label, [dir=rtl] .floating-label > input:-webkit-autofill + label,
[dir=rtl] .floating-label > textarea:-webkit-autofill + label, [dir=rtl] .floating-label > input:focus + label,
[dir=rtl] .floating-label > textarea:focus + label, [dir=rtl] .floating-label > select + label {
    right: 0.5rem;
    left: auto !important;
}

.floating-label {
    position: relative;
}
.floating-label > select + label {
    position: absolute;
    max-width: calc(100% - $input-border-width * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 0.5rem;
    padding: 0 0.3rem;
    line-height: 1.25;
    color: inherit;
    background-color: var(--bs-body-bg);
    border-radius: 0.375rem;
}
.floating-label > select + label,
.floating-label > select + label.label-sm {
    top: -0.65625rem;
    font-size: 0.875rem;
}
.floating-label > select + label.label-md {
    top: -0.75rem;
    font-size: 1rem;
}
.floating-label > select + label.label-lg {
    top: -0.9375rem;
    font-size: 1.25rem;
}
.floating-label > input + label,
.floating-label > textarea + label {
    position: absolute;
    z-index: 5;
    /*max-width: calc(100% - $input-border-width * 2);*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    top: var(--bs-border-width);
    left: var(--bs-border-width);
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    color: var(--bs-secondary-color);
    pointer-events: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-label > input.form-control-sm + label,
.floating-label > textarea.form-control-sm + label {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}
.floating-label > input.form-control-lg + label,
.floating-label > textarea.form-control-lg + label {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
}
.floating-label > input::placeholder,
.floating-label > textarea::placeholder {
    color: transparent;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-label > label + input::placeholder,
.floating-label > label + textarea::placeholder {
    color: var(--bs-secondary-color);
}
.floating-label > input:focus::placeholder,
.floating-label > textarea:focus::placeholder {
    color: var(--bs-secondary-color);
}
.floating-label > input:focus + label,
.floating-label > textarea:focus + label {
    position: absolute;
    z-index: 5;
    max-width: calc(100% - $input-border-width * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 0.5rem;
    padding: 0 0.3rem;
    line-height: 1.25;
    color: inherit;
    background-color: var(--bs-body-bg);
    border-radius: 0.375rem;
}

.floating-label > input:focus + label,
.floating-label > input:focus + label.label-sm,
.floating-label > textarea:focus + label,
.floating-label > textarea:focus + label.label-sm {
    top: -0.65625rem;
    font-size: 0.875rem;
}
.floating-label > input:focus + label.label-md,
.floating-label > textarea:focus + label.label-md {
    top: -0.75rem;
    font-size: 1rem;
}
.floating-label > input:focus + label.label-lg,
.floating-label > textarea:focus + label.label-lg {
    top: -0.9375rem;
    font-size: 1.25rem;
}

.floating-label > input:-webkit-autofill + label,
.floating-label > textarea:-webkit-autofill + label {
    position: absolute;
    z-index: 5;
    max-width: calc(100% - $input-border-width * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 0.5rem;
    padding: 0 0.3rem;
    line-height: 1.25;
    color: inherit;
    background-color: var(--bs-body-bg);
    border-radius: 0.375rem;
}
.floating-label > input:-webkit-autofill + label,
.floating-label > input:-webkit-autofill + label.label-sm,
.floating-label > textarea:-webkit-autofill + label,
.floating-label > textarea:-webkit-autofill + label.label-sm {
    top: -0.65625rem;
    font-size: 0.875rem;
}
.floating-label > input:-webkit-autofill + label.label-md,
.floating-label > textarea:-webkit-autofill + label.label-md {
    top: -0.75rem;
    font-size: 1rem;
}
.floating-label > input:-webkit-autofill + label.label-lg,
.floating-label > textarea:-webkit-autofill + label.label-lg {
    top: -0.9375rem;
    font-size: 1.25rem;
}

.floating-label > input[placeholder]:not(:placeholder-shown) + label,
.floating-label > textarea[placeholder]:not(:placeholder-shown) + label {
    position: absolute;
    z-index: 5;
    max-width: calc(100% - $input-border-width * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 0.5rem;
    padding: 0 0.3rem;
    line-height: 1.25;
    color: inherit;
    background-color: var(--bs-body-bg);
    border-radius: 0.375rem;
}
.floating-label > input[placeholder]:not(:placeholder-shown) + label,
.floating-label > input[placeholder]:not(:placeholder-shown) + label.label-sm,
.floating-label > textarea[placeholder]:not(:placeholder-shown) + label,
.floating-label > textarea[placeholder]:not(:placeholder-shown) + label.label-sm {
    top: -0.65625rem;
    font-size: 0.875rem;
}
.floating-label > input[placeholder]:not(:placeholder-shown) + label.label-md,
.floating-label > textarea[placeholder]:not(:placeholder-shown) + label.label-md {
    top: -0.75rem;
    font-size: 1rem;
}
.floating-label > input[placeholder]:not(:placeholder-shown) + label.label-lg,
.floating-label > textarea[placeholder]:not(:placeholder-shown) + label.label-lg {
    top: -0.9375rem;
    font-size: 1.25rem;
}
.floating-label > input:not([placeholder]):not([value]) + label,
.floating-label > textarea:not([placeholder]):empty + label {
    position: absolute;
    z-index: 5;
    max-width: calc(100% - $input-border-width * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 0.5rem;
    padding: 0 0.3rem;
    line-height: 1.25;
    color: inherit;
    background-color: var(--bs-body-bg);
    border-radius: 0.375rem;
}
.floating-label > input:not([placeholder]):not([value]) + label,
.floating-label > input:not([placeholder]):not([value]) + label.label-sm,
.floating-label > textarea:not([placeholder]):empty + label,
.floating-label > textarea:not([placeholder]):empty + label.label-sm {
    top: -0.65625rem;
    font-size: 0.875rem;
}
.floating-label > input:not([placeholder]):not([value]) + label.label-md,
.floating-label > textarea:not([placeholder]):empty + label.label-md {
    top: -0.75rem;
    font-size: 1rem;
}
.floating-label > input:not([placeholder]):not([value]) + label.label-lg,
.floating-label > textarea:not([placeholder]):empty + label.label-lg {
    top: -0.9375rem;
    font-size: 1.25rem;
}

.input-group > .floating-label {
    flex: 1;
}
.input-group > .floating-label > .form-control,
.input-group > .floating-label > .form-select {
    position: relative;
}
.input-group > .floating-label > .form-control:focus,
.input-group > .floating-label > .form-select:focus {
    z-index: 3;
}
.input-group > .floating-label:not(:first-child) > .form-control,
.input-group > .floating-label:not(:first-child) > .form-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > .floating-label:not(:last-child) > .form-control,
.input-group > .floating-label:not(:last-child) > .form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}