* {
    box-sizing: border-box;
    font-family: "roboto", sans-serif;
    font-size: 16px;
}

body {
    background-color: #435165;
    margin: 0;
}

.register {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}

.register h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}

.register form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}

.register form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
}

.register form input[type="password"],
.register form input[type="text"],
.register form input[type="email"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}

.register form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.register form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}

.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}

.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}

.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}

.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
}

.login form input[type="password"],
.login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}

.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.login form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}

.navtop {
    background-color: #2f3947;
    height: 60px;
    width: 100%;
    border: 0;
}

.navtop div {
    display: flex;
    margin: 0 auto;
    width: 1000px;
    height: 100%;
}

.navtop div h1,
.navtop div a {
    display: inline-flex;
    align-items: center;
}

.navtop div h1 {
    flex: 1;
    font-size: 24px;
    padding: 0;
    margin: 0;
    color: #eaebed;
    font-weight: normal;
}

.navtop div a {
    padding: 0 20px;
    text-decoration: none;
    color: #c1c4c8;
    font-weight: bold;
}

.navtop div a i {
    padding: 2px 8px 0 0;
}

.navtop div a:hover {
    color: #eaebed;
}

body.loggedin {
    background-color: #f3f4f7;
}

.content {
    width: 1000px;
    margin: 0 auto;
}

.content h2 {
    margin: 0;
    padding: 25px 0;
    font-size: 22px;
    border-bottom: 1px solid #e0e0e3;
    color: #4a536e;
}

.content>p {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    margin: 25px 0;
    padding: 25px;
    background-color: #fff;
}

.content>p table td,
.content>table td {
    padding: 5px;
}

.content>p table td:first-child,
.content>table td:first-child {
    font-weight: bold;
    color: #4a536e;
    padding-right: 15px;
}

.content>p {
    padding: 5px;
    margin: 0 0 10px 0;
}

.page {
    margin: 50px;
    text-align: center;
}

.container-age {
    max-width: 1200px;
    position: relative;
    transform: translatex(-50%);
    left: 50%;
}

.agenzia {
    padding: 20px;
    margin: 10px;
    text-align: center;
    border: 1px solid lightgray;
    background-color: white;
}

.agenzia>p {
    color: #5b6574;
    font-family: "Roboto", sans-serif;

}

.cover {
    min-width: 100%;
}

.logo {
    position: relative;
    display: block;
    z-index: 100;
    top: -50px;
    transform: translatex(-50%);
    left: 50%;
}

.quadrato {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-left: 10px;
}

.icone {
    font-size: 1.3em;
    margin-left: 10px;
    margin-right: 10px;
}

.gallery {
    max-width: 128px;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.agenzia-compressed {
    display: block;
    text-align: center;
    position: relative;
    transform: translatex(-50%);
    left: 50%;
    padding: 20px;
    background-color: white;
    border: 1px solid lightgray;
    max-width: auto;
}

.agenzia-compressed:hover {
    background-color: #b6cef1;
}

.logo-compressed {
    max-width: 128px;
    display: inline-block;
    margin: 10px;
}

.info-compressed {
    display: inline-block;
    vertical-align: middle;
    margin: 30px;
}

.corto {
    max-width: 500px;
    position: relative;
    transform: translatex(-50%);
    left: 50%;
}

.form-group {
    margin-top: 20px;
}

.mb-3 {
    margin-top: 20px;
}

.bottone_next {
    width: 30%;
    margin-top: 20px;
    margin-bottom: 40px;
    background-color: rgb(41, 111, 27);
    color: white;
    padding: 15px;
    border: none;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 8px;
}

.bottone_next:hover {
    background-color: #2dc728;
}

.bottone_previous {
    width: 30%;
    margin-top: 20px;
    margin-bottom: 40px;
    background-color: rgb(111, 105, 27);
    color: white;
    padding: 15px;
    border: none;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 8px;
}

.bottone_previous:hover {
    background-color: #bcc728;
}

.a_hidden {
    display: none;
}

small {
    font-style: italic;
}

.rowbottone {
    display: block;
    /*width: 100%;*/
    position: relative;
    transform: translateX(-50%);
    left: 50%;
}

@media only screen and (max-width:576px) {
    body {
        /*max-width: 576px;*/
        width: 100%;
    }

    .header_agenzia {
        height: auto;
    }

    small {
        color: rgb(99, 99, 99);
    }

    .page_denuncia {
        max-width: 1200px;
        padding: 20px;
    }

    .h1_form_denuncia {
        margin: 0;
        padding: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 2em;

    }

    .row_selettore {
        display: flex;
        margin: auto;
        justify-content: center;
        margin-bottom: 45px;
    }

    .tasto_selezione_sinistro {
        margin: 5px;
        padding: 15px;
        background-color: #3274d6;
        border: none;
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

    .tasto_selezione_sinistro:hover {
        background-color: #5193f5;
    }

    .row_form_denuncia {
        display: flex;
        justify-content: left;
        width: 100%;
    }

    .row_form_denuncia_center {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .form-group-denuncia {
        width: auto;
        display: inline-block;
        margin-right: 5px;
    }

    .form-control-corto {
        width: 100%;
    }

    .label_denuncia {
        font-weight: 400;
    }

    input.cb_denuncia {
        width: 25px;
        height: 25px;
        margin-right: 15px;
    }

    .label_privacy {
        padding-bottom: 25px;
    }

    .bottone_submit_denuncia_auto {
        background-color: #3274d6;
        padding: 15px;
        font-size: 1.3em;
        font-weight: bold;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: white;
        border: none;
    }

    .bottone_submit_denuncia_auto:hover {
        background-color: #5193f5;

    }

    .bottone_submit_denuncia_nonauto {
        background-color: #3274d6;
        padding: 15px;
        font-size: 1.3em;
        font-weight: bold;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: white;
        border: none;
    }

    .bottone_submit_denuncia_nonauto:hover {
        background-color: #5193f5;

    }

    .rowbottone {
        display: flex;
        width: 100%;
        justify-content: center;

    }

    .errore {
        margin: 15px;
        padding: 15px;
        border: 2px solid rgb(137, 0, 0);
        background-color: rgb(255, 214, 221);
        text-align: center;
    }

    .delac-body {
        background-color: lightgrey;
        padding: 20px!important;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }
    
    .delac-container {
        background-color: white;
        /* padding: 20px; */
        margin: 20px!important;
        max-width: 90%!important;
        border-radius: 10px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
        width: 400px;
    }
    
    .delac-head {
        background-color: #2f3947;
        color: white;
        padding: 20px;
        text-align: center;
        width: 100%;
        border-radius: 10px 10px 0 0;
        margin-bottom: 20px;
        font-weight: bold;
    }
    
    .delac-intro {
        padding: 20px;
        text-align: center;
    }
    
    .delac-button {
        border-radius: 0 0 10px 10px!important;
        font-weight: bold!important;
        text-transform: uppercase!important;
        letter-spacing: 2px!important;
    }
    
    .delac-padding {
        padding: 0 20px 0 20px;
    }
    
    .delac-padding > label {
        font-weight: bold;
    }
}

.delac-body {
    background-color: lightgrey;
    padding: 20px!important;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.delac-container {
    background-color: white;
    /* padding: 20px; */
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    width: 400px;
}

.delac-head {
    background-color: #2f3947;
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
    font-weight: bold;
}

.delac-intro {
    padding: 20px;
    text-align: center;
}

.delac-button {
    border-radius: 0 0 10px 10px!important;
    font-weight: bold!important;
    text-transform: uppercase!important;
    letter-spacing: 2px!important;
}

.delac-padding {
    padding: 0 20px 0 20px;
}

.delac-padding > label {
    font-weight: bold;
}