/* “Font: Roboto, © Google, licenza Apache 2.0, fonte: Google Fonts”. */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

:root {
    /* famiglia base */
    --font-base: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

    /* pesi “preset” */
    --font-roboto-light: 300;
    --font-roboto-medium: 400;
    --font-roboto-black: 700;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-results__option,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-selection__rendered,
.select2-search--dropdown .select2-search__field
{
    font-family: var(--font-base), serif;
    font-weight: var( --font-roboto-medium);
}

/* Testo selezionato nel box */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--font-base), serif;
    font-weight: var( --font-roboto-medium);
}

/* Testo delle opzioni nel dropdown */
.select2-container--default .select2-results__option {
    font-family: var(--font-base), serif;
    font-weight: var( --font-roboto-medium);
}

/* Placeholder */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-family: var(--font-base), serif;
    font-weight: var( --font-roboto-medium);
}

.roboto_black {
    font-family: var(--font-roboto-black), serif;
    font-weight: 700; /* Bold */
}

.roboto_medium {
    font-family: var( --font-roboto-medium), serif;
    font-weight: 400; /* Regular */
}

.roboto_light {
    font-family: var(--font-roboto-light), serif;
    font-weight: 300; /* Light (se lo usi) */
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base), serif;
    font-size: 14px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }
}

body {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.contenitore_principale {
    width: 100%;
    height: 100%;
    position: absolute;
    text-align: center;
    min-height: 550px;
    overflow: auto;
    background: #fff;

     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
    color: #000;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a:visited {
    text-decoration: none;
}

form {
    padding: 0;
    margin: 0;
    display: inline;
}

button,
select,
input,
textarea {
    outline: 0;
    -webkit-border-radius: 0;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #000;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #000;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #000;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #000;
}

select:disabled {
    -moz-appearance: none;
    -webkit-appearance: none;
}

.testo {
    height: 40px;
    width: 50%;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    display: inline-block;
    max-width: 260px;
    min-width: 205px;
}

.testo_verde {
    color: #2cc20e;
}

.testo_giallo {
    color: #e3d320;
}

.testo_rosso {
    color: #eb1313;
}

.casella_login {
    width: 90%;
    margin-left: 5%;
    background: none;
    height: 100%;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: #000;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    text-align: center;
}

.contenitore_puls_login {
    height: 40px;
    width: 50%;
    border-radius: 5px;
    display: inline-block;
    max-width: 260px;
    min-width: 205px;
}

.pulsante_login {
    width: 100%;
    background: #3d3bee;
    height: 100%;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: #fff;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    border-radius: 5px;
}

.margine {
    margin-bottom: 60px;
}

.etichetta {
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
    text-align: left;
    margin-bottom: 5px;
}

select {
    height: 34px !important;
}

.casella_testo {
    height: 30px;
    width: 100%;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    text-indent: 5px;
}

input[type=file].casella_testo {    
    text-indent: 0px;
}

.sfondo_verde {
    background-color: #2cc20e;
    color: #fff;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
}

.sfondo_giallo {
    background-color: #e3d320;
    color: #fff;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
}

.sfondo_rosso {
    background-color: #eb1313;
    color: #fff;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
}

.file_upload {
    display: inline-block;
    height: auto;
    width: 150px;
    border: 0;
    background-size: contain;
    background-repeat: no-repeat;
}

.img_up {
    height: 35px;
}

@media screen and (max-width: 580px) {

    .margine {
        margin-bottom: 70px;
    }

    .intestazione {
        font-size: 25px;
    }

    .img_up {
        height: 25px;
    }

    .file_upload {
        width: 80%;
        word-break: break-all;
    }

}

.primo {
    height: 45%;
    background: #3d3bee;
}

.contenitore_sinistra {
    height: 35%;
    width: 30%;
    float: left;
    margin-left: 7.5%;
    text-align: left;
}

.contenitore_destra {
    height: 35%;
    width: 50%;
    float: left;
    margin-left: 5%;
    overflow: auto;
}

.testo_contenitore_destra {
    height: auto;
    width: 80%;
    margin-left: 20%;
    font-size: 18px;
    text-align: right;
}

.bordo_sotto {
    height: 1px;
    width: 80%;
    margin-left: 20%;
    border-bottom: 1px solid #fff;
}

.contenitore_logout {
    height: auto;
    width: 80%;
    margin-left: 20%;
    text-align: right;
}

.testo_logout {
    font-size: 12px;
    opacity: 0.5;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.primo_font {
    color: #fff;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
}

.font_light {
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
}

.blocco_sezione {
    width: 85%;
    margin-left: 7.5%;
    background: #fff;
    height: auto;
    position: absolute;
    -moz-box-shadow: 0 0 13px 0px #00000052;
    -webkit-box-shadow: 0 0 13px 0px #00000052;
    box-shadow: 0 0 13px 0px #00000052;
}

.blocco_intestazione {
    height: auto;
    margin-top: 30px;
    width: 85%;
	
	margin-left: 7.5%;
	
    display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}

.blocco_secondo_titolo {
    height: auto;
    margin-left: 7.5%;
    margin-top: 15px;
    width: 85%;
}

.blocco_secondo_titolo .messaggio_errore {
    text-align: left;
    font-size: 15px;

    margin-top: 10px;
}


.blocco_indietro {
    display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.freccia_indietro {
    margin-right: 20px;
}

.sezione_intestazione {
    color: #000;
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
    font-size: 25px;
   
    opacity: 0.7;
	
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	
	border-left:1px solid rgba(0,0,0,0.7);
}

.pulsante-nuovo {
	height: 34px;
	
    background: #3d3bee;
	
    border-radius: 5px;
    border: 0;
	
    font-size: 11px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
	
    width: 80px;
	
    color: #fff;
}

.secondo_font {
    font-family: var(--font-base);
    font-weight: var(--font-roboto-black);
    color: #000;
}

.intestazione {
    font-size: 14px;
    opacity: 0.5;
    display: table-cell;
    vertical-align: middle;
}

.info_guida {
    text-align: left;
    font-size: 14px;
    color: #000;
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
}

.sottotitolo {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	
	width: 85%;
	margin-left: 7.5%;
	
	padding: 15px 0;
	
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
	
    font-size: 20px;
	color: #3d3bee;    
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
  
}

.blocco_form {
    display: block;
    height: auto;
    width: 85%;
    margin-left: 7.5%;
}

.messaggio_errore {
    margin-top: 5px;
    text-align: center;
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
    font-size: 13px;
    color: #3d3bee;
}

.pulsante {
    height: 40px;
    width: 70%;
    max-width: 250px;
    font-size: 14px;
    border-radius: 5px;
    background: #3d3bee;
    border: 0;
    color: #fff;
}

.margine_basso {
    height: 120px;
    clear: both;
}

.testo_password {
    color: #000;
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
    font-size: 11px;
    font-weight: 900;
}

.spiegazione {
    width: 80%;
    margin-left: 10%;
    font-size: 14px;
    font-weight: 900;
}

.messaggio_benvenuto {
    font-size: 13px;
    opacity: 0.5;
    text-align: left;
    margin-top: 120px;
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
}

.titolo_pagina_menu {
    color: #000;
    text-align: center;
    font-size: 45px;
    opacity: 0.5;
     font-family: var(--font-base);
    font-weight: var(--font-roboto-light);
    background: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 90px;
    line-height: 90px;
    margin-top: 80px;
    margin-bottom: 40px;

    position: relative;
}

.titolo_pagina_menu.utenti::after {
    content: "";
    background: url(../img/workers_b.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.titolo_pagina_menu.contatti::after {
    content: "";
    background: url(../img/agenda_b.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.titolo_pagina_menu.articoli::after {
    content: "";
    background: url(../img/trolley_b.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.titolo_pagina_menu.progetti::after {
    content: "";
    background: url(../img/project_b.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.contenuto_home {
    width: 180px;
    height: 120px;
    display: inline-block;
    margin-left: 7.5px;
    margin-right: 7.5px;
    margin-bottom: 19px;
    border: 1px solid #3b3bee;
    border-radius: 16px;
    /* just to show box-shadow still works fine */
    box-shadow: 0 0 50px 10px #eae9e9;
    background: #fff;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    font-size: 16px;
    color: #000;
    text-align: center;
}

.contenuto_home:hover {
    background: #3d3bee;
}

.blocco_home {
    display: inline-block;
    text-decoration: none;
    height: 100%;
    width: 100%;
    color: #000;
}

.blocco_immagine_home {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 26.5px;
}

.blocco_immagine_home.hover {
    display: none;
}

.testo_interazione_home {
    margin-top: 10px;
    opacity: 0.6;
}

.contenuto_home:hover .blocco_immagine_home {
    display: none;
}

.contenuto_home:hover .blocco_immagine_home.hover {
    display: block;
}

.contenuto_home:hover .testo_interazione_home {
    color: #fff;
    opacity: 1;
}



.puls_piu {
    height: 25px;
    text-align: center;
    margin-top: 75px;
}

.testoarea {
    resize: none;
    height: 80px;
}

.blocco_filtri {
    width: 85%;
    height: auto;
    display: inline-block;
    padding-bottom: 20px;
}

.contenitore-filtro-ricerca {
   display: flex;
   flex-direction: row;
  /* align-items: center; */
   justify-content: space-between;	
	
   width:85%;	
   padding-bottom: 20px;
	
	margin-left: 7.5%; 
}

.contenitore_filtri_pratica {
    width: 75%;
    display: inline-block;
}

.casella_fitro {
    height: 30px;
    width: 100%;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    text-indent: 5px;
}

.contenitore_pul {
    display: inline-block;
    height: auto;
}

.stile_pulsanti_filtro {
    height: 34px;
    background: #3d3bee;
    border-radius: 5px;
    border: 0;
    font-size: 11px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    width: 80px;
    color: #fff;
}

.margine_filtri {
    margin-left: 5px;
    margin-right: 5px;
}

/* contenitore di tutta la tabella */

.table-wrapper {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 25px;
}

/* titolo tabella */

.table-title {
    padding-bottom: 3px;
    border-bottom: 2px solid #333333;
    margin-bottom: 5px;
    font-size: 1.4em;
    text-align: left;
    color: #3d3bee;
}

/* campi instestazione */

.table-header {
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: #000;
    font-size: 14px;
    font-weight: 900;
}

/* intestazioni responsive */

.table-responsive-header {
    margin-right: 2px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: #000;
    font-size: 14px;
    font-weight: 900;
    display: none;
}

.table-responsive-header-fixed {
    margin-right: 2px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: #000;
    font-size: 14px;
    font-weight: 900;
}

/* intestazioni responsive */

.table-responsive-header::after {
    content: ":";
}

.table-responsive-header-fixed::after {
    content: ":";
}

/* riga tabella section=riga */

.section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 5px;
}

/* contenuti cella */

.box {
    flex-basis: 0;
    flex-grow: 5;
    padding: 4px 3px;
    text-align: left;
}

/* campo bottoni */

.table-button-wrapper {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.margine-alto {
    margin-top: 5px;
}

/* Campi full responsive */

.section-responsive {
    display: none;
    flex-direction: column;

    text-align: left;
    margin-bottom: 5px;
}

.section-responsive:nth-of-type(odd) {
    background-color: #00000017;
}

.section-responsive:nth-of-type(even) {
    background-color: #3d3bee2e;
}

.box-responsive {
    width: 100%;
    flex-basis: unset;
    flex-grow: unset;
    padding: 8px 0px;
}

@media only screen and (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .box {
        width: 100%;
        flex-basis: unset;
        flex-grow: unset;
        padding: 8px 0px;
    }

    .table-header {
        display: none;
    }

    .table-responsive-header {
        display: inline;
    }

    .margine-alto {
        margin-top: 0px;
    }
}

@media only screen and (max-width: 424px) {
    .margine-alto {
        margin-top: 10px;
    }
}

.data:nth-of-type(odd) {
    background-color: #00000017;
}

.data:nth-of-type(even) {
    background-color: #3d3bee2e;
}

.pulsante_tabella {
    letter-spacing: 0.5px;
    height: 30px;
    width: 100px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
    background: #3d3bee;
    border: 0;
    font-weight: 900;

    margin: 5px;
}

/* fine tabella */

.messaggio_vuoto {
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    word-break: break-word;
    opacity: 0.5;
    font-size: 14px;
    text-align: center;
}

.pulsante_info {
    width: 30px;
    height: 30px;
    background: url(../img/info.png);
    background-size: cover;
    border: 0;

    margin: 3px;
}

.b_pdf {
    width: 30px;
    height: 30px;
    background: url(../img/icon_pdf.svg);
    background-size: cover;
    border: 0;

    margin: 3px;
}

.pulsante_vai {
    width: 30px;
    height: 30px;
    background: url(../img/go.png);
    background-size: cover;
    border: 0;

    margin: 3px;
}

.pulsante_aggiungi {
    height: 30px;
    width: 30px;
    background: url(../img/add.png);
    background-size: contain;
    border: 0;
}

.pulsante_aggiungi.disabilitato {
    background: url(../img/add_grey.png);
    background-size: contain;
}

.sottomenu {
    height: 200px;
    width: 200px;
    display: inline-block;
    border-radius: 0;
    border: 1px solid #3d3bee;
    margin-right: 7.5px;
    margin-left: 7.5px;
    margin-bottom: 15px;
}

.sottomenu:hover,
.sottomenu.hover {
    background: #3d3bee;
}

.sottomenu:hover .immagine_sottomenu,
.sottomenu.hover .immagine_sottomenu {
    visibility: hidden;
}

.sottomenu:hover .testo_sottomenu,
.sottomenu.hover .testo_sottomenu {
    color: #fff;
    opacity: 1;
}

.link {
    text-decoration: none;
    display: inline-block;
    height: 100%;
    width: 100%;
}

.testo_sottomenu {
    color: #000;
    font-size: 16px;
    opacity: 0.6;
    margin-top: 70px;
    margin-left: 15px;
    text-align: left;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
}

.immagine_sottomenu {
    height: 50px;
    margin-left: 15px;
}

.filtri_radio {
    display: inline-block;
    margin-right: 5px;
}

.dropzone{
    padding-top:25px;
    padding-bottom:25px;
    
    width: 100%;
    
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-style: dashed;
    
    font-size: 16px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.dropzone.dropon{
    background-color: rgba(61, 59, 238, 0.44);;
}

.allegati_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.file_allegato_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    margin: 5px;
}

.file_allegato_wrapper img {
    height: 28px;
    width: auto;
    
    margin: 5px;
}

.file_allegato_wrapper span {
    width: 100px;
    height: 30px;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    //overflow: hidden;

    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    font-size: 12px;
    text-align: center;

    word-break: break-all;

}

/* automplete box */

.autocomplete-result, .autocomplete-result-f {
	height: 34px;
    width: 100%;
    
    background: none;
    
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    text-indent: 7px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.autocomplete-result:hover, .autocomplete-result-f:hover {
	background-color: #3d3bee;
    color:white;
	font-weight: 900;
}

.autocomplete-box, .autocomplete-box-f {
    width: 100%;
    
    background: none;
    
    border: 1px solid rgba(0, 0, 0, 0.3);
    
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
    font-family: var(--font-base);
    font-weight: var(--font-roboto-medium);
    text-indent: 7px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.filtro-box {
    display: flex;
    flex-direction: column;
    flex-grow:1;
}

.filtro-box input{
    width: auto;    
}