/* ============================
   Alerts
============================ */
#lw-alert{
    display: none;
    background: rgba(53, 157, 35, 0.8);
    border: #18911b;
    color: #00540b;
    position: fixed;
    bottom:50px;
    right:20px;
    padding:20px;
}

/* ============================
   Buttons
============================ */
.btn-dark {
    background-color: #1a1f3c !important;
    border-color: #1a1f3c !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover,
.btn-dark:focus {
    background-color: #242a52 !important;
    border-color: #242a52 !important;
    color: #ffffff !important;
}

.btn-dark:active {
    background-color: #11152b !important;
    border-color: #11152b !important;
    color: #ffffff !important;
}

/* ============================
   Text Utilities
============================ */
b {
    font-weight: 800 !important;
    color: inherit;
}

/* ============================
   Custom Alert Cards
============================ */
.alert-soft {
    position: relative;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
}

.alert-soft::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.alert-soft strong {
    color: inherit;
}

.alert-soft-success {
    background-color: rgba(25, 135, 84, 0.10);
    color: #0f5132;
    border-color: #198754;
}

.alert-soft-success::before {
    background: #198754;
}

.alert-soft-info {
    background-color: rgba(13, 202, 240, 0.10);
    color: #055160;
    border-color: #0dcaf0;
}

.alert-soft-info::before {
    background: #0dcaf0;
}

.alert-soft-primary {
    background-color: rgba(13, 110, 253, 0.10);
    color: #052c65;
    border-color: #0d6efd;
}

.alert-soft-primary::before {
    background: #0d6efd;
}

.alert-soft-warning {
    background-color: rgba(255, 193, 7, 0.14);
    color: #664d03;
    border-color: #ffc107;
}

.alert-soft-warning::before {
    background: #ffc107;
}

.alert-soft-danger {
    background-color: rgba(220, 53, 69, 0.10);
    color: #842029;
    border-color: #dc3545;
}

.alert-soft-danger::before {
    background: #dc3545;
}

.alert-soft-secondary {
    background-color: rgba(108, 117, 125, 0.10);
    color: #41464b;
    border-color: #6c757d;
}

.alert-soft-secondary::before {
    background: #6c757d;
}

.alert-soft-light {
    background-color: rgba(248, 249, 250, 0.75);
    color: #495057;
    border-color: #f8f9fa;
}

.alert-soft-light::before {
    background: #f8f9fa;
}

.alert-soft-dark {
    background-color: rgba(33, 37, 41, 0.10);
    color: #1a1d20;
    border-color: #212529;
}

.alert-soft-dark::before {
    background: #212529;
}

/* ============================
   Reso Form
============================ */
#reso-form,
.contact-from-area {
    scroll-margin-top: 120px;
}

#reso-form .contact-form-style input,
#reso-form .contact-form-style select,
#reso-form .contact-form-style textarea,
.contact-from-area .reso-control {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: none;
    color: #253D4E;
    font-size: 16px;
    width: 100%;
    transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

#reso-form .contact-form-style .row {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

#reso-form .contact-form-style .row > [class*="col-"] {
    margin-bottom: 0;
}

#reso-form .contact-form-style input,
#reso-form .contact-form-style select,
#reso-form .contact-form-style textarea,
.contact-from-area .input-style .reso-control,
.contact-from-area .textarea-style .reso-control {
    padding: 15px 20px;
    margin-bottom: unset!important;
}

#reso-form .contact-form-style input,
#reso-form .contact-form-style select,
.contact-from-area .input-style .reso-control,
.contact-from-area .input-style select.reso-control {
    height: 64px;
}

#reso-form .contact-form-style textarea,
.contact-from-area .textarea-style .reso-control {
    min-height: 200px;
    resize: vertical;
}

#reso-form .contact-form-style select,
.contact-from-area select.reso-control {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #838383 50%), linear-gradient(135deg, #838383 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
    min-width: 0;
    box-sizing: border-box;
}

#reso-form .contact-form-style input[type="file"],
.contact-from-area input[type="file"].reso-control {
    padding: 13px 15px;
    height: auto;
}

#reso-form .contact-form-style input[type="file"]::file-selector-button,
.contact-from-area input[type="file"].reso-control::file-selector-button {
    border: 1px solid #253D4E;
    background: #253D4E;
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    margin-right: 14px;
    cursor: pointer;
}

#reso-form .contact-form-style input[type="file"]::-webkit-file-upload-button,
.contact-from-area input[type="file"].reso-control::-webkit-file-upload-button {
    border: 1px solid #253D4E;
    background: #253D4E;
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    margin-right: 14px;
    cursor: pointer;
}

#reso-form .contact-form-style input[readonly],
#reso-form .contact-form-style select:disabled,
#reso-form .contact-form-style textarea[readonly],
#reso-form .contact-form-style input[type="file"]:disabled,
.contact-from-area .reso-control[readonly],
.contact-from-area .reso-control:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 1;
}

#reso-form .contact-form-style input[type="file"]:disabled::file-selector-button,
#reso-form .contact-form-style input[type="file"]:disabled::-webkit-file-upload-button,
.contact-from-area .reso-control:disabled::file-selector-button,
.contact-from-area .reso-control:disabled::-webkit-file-upload-button {
    background: #6c757d;
    border-color: #6c757d;
}

#reso-form .is-readonly,
.contact-from-area .is-readonly {
    opacity: .92;
}

@media (min-width: 768px) {
    #reso-form #rs_or_codice_feedback {
        margin-top: 0.5rem!important;
        line-height: 1.35;
    }
}

#reso-form #rs_file_wrap small {
    display: block;
    margin-top: 8px;
    line-height: 1.45;
}

#reso-form .contact-form-style .col-lg-12 label {
    display: inline;
    line-height: 1.5;
    margin-left: 6px;
    vertical-align: top;
}

#reso-form .contact-form-style .col-lg-12 input[type="checkbox"] {
    margin-top: 2px;
    vertical-align: top;
}

#reso-form .reso-submit:disabled,
.contact-from-area .reso-submit:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed;
    opacity: .75;
}

#reso-form .form-messege {
    margin-top: 12px;
    min-height: 1px;
}

#reso-form .contact-form-style .reso-submit {
    margin-top: 14px;
}
