.macro-attivita-container,
.sotto-attivita {
    display: flex;
    flex-wrap: wrap;
}

.macroattivita {
    background-color: #fff;
    color: black;
    padding: 5px 8px 4px 3px;
    margin: 2px 5px;
    border-radius: 5px;
    cursor: pointer;
    border: solid 1px var(--main_red)
}

.macroattivita input {
    cursor: pointer;
}

.highlight {
    background-color: var(--main_red);
    color: white;
    transition: 0.2s;
}

.titolo-input required {
    display: flex;
}

input required {
    margin-top: 0px !important;
    padding-left: 4px;
    width: auto;
    flex: auto;
}

.main-content {
    min-height: 30vh;
}

.registration-message {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
}

.registration-message h1 {
    font-size: 3em;
}

.numeri-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.numeri-scheda {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    color: var(--main_red);
    align-items: center;
    margin: 0px 10px;
    max-width: 40%;
    flex-grow: 1;
}

.numeri-scheda img {
    max-height: 120px;
    padding: 35px;
}

.numeri-scheda span {
    font-size: 2em;
}

.numeri {
    font-size: 5em !important;
}

h1 {
    color: var(--main_red);
}

form h4 {
    color: var(--main_red);
}

.form-row {
    display: flex;
    border: 1px solid var(--main_red);
    margin-bottom: 4px;
    position: relative;
    border-radius: 5px 0 0 5px;
    flex-wrap: wrap;
}

.form-label {
    background: var(--main_red);
    color: white;
    width: 150px;
    padding: 2px;
    flex: 1;
    padding-left: 5px;
    min-width: 150px;
    max-width: 150px;
}

.input-row {
    display: flex;
    flex: 4;
    position: relative;
    min-width: 90%;
    flex-wrap: wrap;
}

.form-row input {
    border-radius: 0;
    border: none;
    border-left: solid 1px grey;
    flex: 1;
}

.form-registrazione {
    max-width: 800px;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10px;
}

.titolo-sezione {
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 10px;
}

#error {
    text-align: center;
    background: #fffe;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    justify-content: center;
    align-items: center;
    display: flex;
}

#error div {
    background: #fff;
    border: 3px solid var(--main_red);
    padding: 20px;
    border-radius: 20px;
}

#scelta-modulo {
    width: 100%;
    max-width: 800px;
}

.azienda-tipoCliente {
    margin-right: 20px;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    height: 100%;
}

.campi-richiesti-mex {
    color: red;
    font-size: 0.7em;
}

.hidden {
    display: none !important;
}

@media only screen and (max-width: 1001px), screen and (max-device-width: 1001px) {
    .form-row {
        border: none;
    }

    .form-label {
        border-radius: 10px 10px 0px 0;
        box-shadow: 0px 0px 5px #0003;
        min-height: 24px;
    }

    .input-row {
        border-radius:  0px 10px 10px 10px;
        box-shadow: 0px 0px 5px #0003;
        min-height: 24px;
        gap: 1px 1px;
        background-color: var(--main_red);
        overflow: hidden;
    }

    .input-row input { 
        border-left: 0;
        min-height: 24px;
        padding: 2px;
        /*border-radius: 10px;*/
        padding-left: 5px;
    }

    .footer_wrapper {
        padding-bottom: 0 !important;
    }

    div.width-container.bread-crumb-container {
        display: none;
    }
}
