body {
    background-color: #ebecf0;
}

.navbar-default {
}

.nopadding {
    padding: 0 !important;
}

.box_login {
    padding: 0;

    /* background-color: #ffffff; */
    background-color: rgba(235, 236, 240, 0.72);
    position: relative;
    box-shadow: 1px 1px 8px 2px #b0b0b0 , -4px -4px 7px 0px #ffffff;
    margin-top: 14px;
    border: 0px solid #ffffff;
    border-radius: 20px;
}

.campiform {
    position: relative;
    width: 90%;
    font-family: 'AR One Sans', sans-serif;
    font-size: 20px;
    margin-top: 17px;
    margin-bottom: 10px;
    padding: 0px 10px;
    line-height: 16px;
    font-weight: 600;
    border-radius: 67px;
    float: none;
    height: 40px;
    border: 2px solid #fafafa;
    outline: none;
    box-shadow: inset -3px -3px 5px 0px #ffffff, -1px -1px 4px 0px #ffffff, inset 5px 5px 10px 0px rgba(0, 0, 0, 0.12), inset 2px 2px 3px 0px rgba(0, 0, 0, 0.07), 1px 2px 3px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.campiform_comm {
    position: relative;
    width: 100%;
    font-family: 'Akatab', sans-serif;
    font-size: 14px;
    margin-top: 2px;
    margin-bottom: 0;
    padding: 4px 8px;
    /* line-height: 16px; */
    font-weight: 800;
    /* height: 24px; */
    border: 1px solid #ffffff;
    outline: none;
    box-shadow: inset -1px -1px 2px 0px #ffffff , inset 1px 1px 3px 0px rgba(0, 0, 0, 0.12) , inset 1px 1px 2px 0px rgba(0, 0, 0, 0.07) , 1px 2px 3px 0px rgba(0, 0, 0, 0.1);
    text-align: left;
    border-radius: 6px;
}

.testata_box_login {
    background-color: #2fb2aa;
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding-left: 15px;
    padding-top: 8px;
    padding-bottom: 7px;
    color: #ffffff;
    font-family: Actor;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    /* background: linear-gradient(90deg, #22ff82, #21bdff, #5433ff); */
    background: linear-gradient(90deg, rgb(100, 135, 252) 46%, rgb(70, 242, 166) 100%);
}

.link_form_login {
    text-align: center;
    font-family: Amiko;
    font-weight: normal;
    font-size: 14px;
    color: #0a5f78;
}

ph.html {
    margin-bottom: 0px;
    background-color: #cccccc;
    border-radius: 142px;
    border: 3px solid #ebebeb;
    box-shadow: inset 8px 0px 10px -3px #757575 , 2px 0px 7px #9b9b9b;
}

th {
    font-family: 'Actor', sans-serif;
    font-size: 12px;
    text-align: center;
    background-color: #e2e2f7;
}

td {
    font-family: 'Akatab', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

table,
th,
td {
    border: 1px solid #6487fc;
    border-collapse: collapse;
    line-height: 120%;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #d8d8d8;
}

.btn-morph {
    width: 200px;
    font-size: 22px;
    padding: 4px;
    border-radius: 10px;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 6px;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 0px;
    padding-top: 0px;
}

.control-label {
    text-align: left;
    font-family: 'Actor', sans-serif;
    font-size: 12px;
    margin: 2px 2px 0 5px;
    white-space: nowrap;
}

.control-label input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.control-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

/* Stile delle versioni personalizzate */
.custom-control {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    margin-right: 4px;
    position: relative;
    vertical-align: middle;
}

/* Radio button personalizzato */
.custom-radio {
    border-radius: 50%;
}

/* Checkbox personalizzato */
.custom-checkbox {
    border-radius: 3px;
}

/* Stile quando selezionato */
.custom-input:checked + .custom-radio::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    background: #6487fc;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-input:checked + .custom-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -44%);
    font-size: 24px;
    font-weight: 900;
    color: #6487fc;
    line-height: 1;
}

/* Stile per lo stato "checked" disabilitato */
.custom-input:disabled:checked + .custom-radio::after {
    background: #555;
}

.custom-input:disabled:checked + .custom-checkbox::after {
    color: #555;
}
/**/

h4 {
    font-weight: 600;
    font-family: 'Actor', sans-serif;
    text-align: left;
}

.titoli_sez {
    padding-bottom: 6px;
    padding-top: 5px;
    padding-left: 7px;
    color: #6487fc;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    font-family: 'AR One Sans', sans-serif;
    background-color: #ffffff;
    border-top: 2px solid #6487fc;
    border-bottom: 2px none #6487fc;

    /* background: linear-gradient(90deg, rgb(100, 135, 252) 46%, rgb(70, 242, 166) 100%) */
}

label {
    margin-bottom: 0;
    margin-left: 5px;
    font-family: 'Actor', sans-serif;
    font-weight: 400;
}

.subtotali {
    display: inline-block;
    text-align: left;
    width: 32%;
}

.totali {
    display: inline-block;
    text-align: left;
    width: 13%;
}

.contenitore-grid p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 768px) {
    .contenitore {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .contenitore {
        width: 970px;
    }
}

.contenitore {
    width: 1140px;
    margin-right: auto;
    margin-left: auto;
}

#montatore1_scelta.campiform_comm,
#montatore2_scelta.campiform_comm {
    font-size: 13px;
    padding: 0px;
    height: 25px;
    width: 140px;
}

.btn_standard {
    font-family: 'Actor', sans-serif;
    font-size: 14px;
    font-weight: 700;
    width: 83%;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 10px !important;
    padding: 2px 4px;
    height: 27px;
    outline: none;
}

.btn_standard:hover {
    outline: none;
    box-shadow: inset -1px -1px 1px 0px #fff , -1px -1px 4px 0px #fff , inset 2px 2px 5px 0px rgba(0, 0, 0, 0.12) , inset 2px 2px 3px 0px rgba(0, 0, 0, 0.07) , 1px 2px 3px 0px rgba(0, 0, 0, 0.1);
    padding-top: 4px;
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(237, 237, 237) 100%);
    color: #6487fc;
}

/* .btn_standard:active {
    border: 2px none #fafafa;
    outline: none;
    box-shadow: inset -1px -1px 1px 0px #fff , -1px -1px 4px 0px #fff , inset 2px 2px 5px 0px rgba(0, 0, 0, 0.12) , inset 2px 2px 3px 0px rgba(0, 0, 0, 0.07) , 1px 2px 3px 0px rgba(0, 0, 0, 0.1);
} */

/* .btn_standard:active {
    border: 2px none #fafafa;
    outline: none;
    box-shadow: unset;
} */

button:active,
.btn:active {
    background-color: inherit; /* Ripristina il colore di sfondo */
    box-shadow: none; /* Rimuove l’ombreggiatura */
    transform: none; /* Rimuove eventuali effetti di riduzione */
}


#dati_committ h4,
#dati_committ h5 {
    margin: 5px 10px;
}

#dati_committ>div {
    padding: 3px 0px 0px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    box-shadow: 3px 3px 6px #b4b4b4;
}

#dati_committ {
    padding: 5px;
}

#cerca_bar_avanzata div.form-group {
    width: 140px;
    margin-right: 8px !important;
}

.label_committ {
    width: 100px !important;
    text-align: left;
    font-family: 'Actor', sans-serif;
    font-size: 12px;
    margin: 5px 2px 0 5px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    line-height: 1.2;
}
