html {
    font-family: Tahoma, Geneva, sans-serif !important;
    background-color: rgb(238, 238, 238);

}

body {
    margin: 15px;
    min-width: 1200px;

}

h1 {
    font-size: 130%;
    color: rgb(224, 40, 52);
    text-shadow: 0px 0px 3px rgb(200, 200, 200);
}

h2 {
    margin: 0;
    padding: 0;
    font-size: 110%;
    color: rgb(9, 76, 144);
    text-shadow: 0px 0px 3px rgb(200, 200, 200);
    text-align: center;
}

h3 {
    margin: 8px;
    padding: 8px;
    font-size: 110%;
    color: rgb(224, 40, 52);
    text-shadow: 0px 0px 3px rgb(200, 200, 200);
    text-align: left;
}


a {
    text-decoration: none;
    color: rgb(9, 76, 144);
}

a:hover {
    color: rgb(224, 40, 52)
}


input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-moz-number-spin-box {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}


select:disabled {
    /* CSS styles for disabled select element */
    cursor: not-allowed;
    background: #dddddd !important;
  }
.bordiRotondi {
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

.bordiRotondiLeft {
    border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -webkit-border-radius: 5px 0px 0px 5px;
}

.ombra {
    -webkit-box-shadow: 0px 0px 5px 1px rgba(136, 136, 136, 0.85);
    -moz-box-shadow: 0px 0px 5px 1px rgba(136, 136, 136, 0.85);
    box-shadow: 0px 0px 5px 1px rgba(136, 136, 136, 0.85);
}

#intestazione {

    width: 100%;
    height: 100px;
    background-color: rgb(9, 76, 144);

}

#centro {
    margin-top: 20px;
    width: 100%;
    min-height: calc(100% - 210px);
    display: table;
}

#menuLeft {
    border-top: rgb(224, 40, 52) solid 3px;
    width: 300px;
    display: table-cell;
    background: rgba(255, 255, 255, 1);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(221, 221, 221, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(17%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(221, 221, 221, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(221, 221, 221, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(221, 221, 221, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(221, 221, 221, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(221, 221, 221, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd', GradientType=0);
    vertical-align: top;

    color: rgb(9, 76, 144);
}

#separatore {
    display: table-cell;
    width: 20px;
}

#corpo {
    vertical-align: top;
    margin-left: 20px;
    display: table-cell;
    background-color: #FFFFFF;
}

#footer {
    margin-top: 20px;
    width: 100%;
    height: 60px;
    border-bottom: 3px solid rgb(9, 76, 144);
}

.margin20 {
    margin: 20px;
}
.marginTop20 {
    margin-top: 20px;
}
.margin5 {
    margin: 5px;
}

.file {
    list-style-type: none;
    /* //list-style-image: url('img/file.png'); */
}

.dir {
    list-style-type: none;
    /* //list-style-image: url('img/folder2.png'); */
}

.sfumaturaBlu {

    background: rgba(221, 221, 221, 1);
    background: -moz-linear-gradient(top, rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(221, 221, 221, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
    background: -webkit-linear-gradient(top, rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(top, rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(top, rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#ffffff', GradientType=0);
}

.sfumaturaBlu2 {

    background: rgba(255, 255, 255, 1);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.94) 17%, rgba(9, 77, 144, 0.67) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(17%, rgba(255, 255, 255, 0.94)), color-stop(100%, rgba(9, 77, 144, 0.67)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.94) 17%, rgba(9, 77, 144, 0.67) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.94) 17%, rgba(9, 77, 144, 0.67) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.94) 17%, rgba(9, 77, 144, 0.67) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.94) 17%, rgba(9, 77, 144, 0.67) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#094d90', GradientType=0);

}

.sfumaturaRossa1 {
    background: rgba(255, 255, 255, 1);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(224, 40, 53, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(17%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(224, 40, 53, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(224, 40, 53, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(224, 40, 53, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(224, 40, 53, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 17%, rgba(224, 40, 53, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e02835', GradientType=0);
}

#menuLeft li {
    font-size: 110%;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: -40px;
    list-style-type: none;
    /* //list-style-type: none; */
}

.imageMenu {
    margin-right: 6px;
    margin-top: 2px;
    vertical-align: bottom;
}

#dpcToRegioni li,
#regioniToDPC li,
#amministrazione li {
    font-size: 100%;
    margin-left: -35px;
    list-style: square url(img/puntielenco.png);
}

#footer {
    text-align: center;
    font-size: 80%;

}

#footer p {
    padding-top: 6px !important;
    margin-top: 5px !important;
    margin-bottom: 2px;
}

#footer a {
    color: #bbbbbb;
}

#footer a:hover {
    color: rgb(224, 40, 52);
}

.piccolo {
    font-size: 80%;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
}

#creaZipButton {
    margin-right: 10px;
}

#creaZipButton:disabled {
    -webkit-box-shadow: 0px 0px 0px 0px rgba(136, 136, 136, 0.85);
    -moz-box-shadow: 0px 0px 0px 0px rgba(136, 136, 136, 0.85);
    box-shadow: 0px 0px 0px 0px rgba(136, 136, 136, 0.85);

}

#creaZipButton:disabled img {
    opacity: 0.5;
    cursor: default;
}

#creaZipButton img {

    cursor: pointer;
}

#pFooter {
    color: rgb(9, 76, 144);
}

#ReportTable {
    margin: 20px;
    width: auto;
}

#contenitoreOrdinanze {
    display: grid;
}

#reportDownloadTable p {
    margin: 0;
    padding: 0;
}

#reportDownloadTable {

    font-size: 80%;
    text-align: left !important;
}

#reportDownloadTable td {
    vertical-align: top !important;
}

a img {
    opacity: 0.9;
    border: 0 none;
}

a img:hover {
    opacity: 1;
    border: 0 none;
}

#filesAndFolders ul {
    padding-left: 20px;
}

#contenuti {
    display: block;

    margin-top: 10px;

}

.links {
    width: 23%;
    display: inline-block;
    margin-left: 1%;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

.links h2,
.links p,
.links img {
    margin: 12px;

}

.contenutiRow {
    /* //background-color: #dddddd; */
    padding: 1%;
    padding-top: 5px;
    margin-bottom: 20px;
    border-top: solid 3px #dddddd;
}


.links:hover {
    border: solid 1px rgb(9, 76, 144);
    background-color: #dddddd;
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px 0px;
    box-shadow: 0px 0px 0px 0px;
}



.offuscato {
    background-color: #dddddd;

    opacity: 0.6;
}

.offuscato:hover {
    border: solid 1px rgb(255, 255, 255);
    cursor: default;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(136, 136, 136, 0.85);
    -moz-box-shadow: 0px 0px 5px 1px rgba(136, 136, 136, 0.85);
    box-shadow: 0px 0px 5px 1px rgba(136, 136, 136, 0.85);
}



/* switch */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: rgb(9, 76, 144);
}

input:focus+.slider {
    box-shadow: 0 0 1px rgb(9, 76, 144);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
input:disabled {
    background: #dddddd !important;
    color: rgb(116, 114, 114) !important;
  }

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.form_art {
    padding: 20px;
}


.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x))
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y)
}

.p-0 {
    padding: 0 !important
}

.reset-form {
    margin: 1em;
    width: 100px;
}

#myform-addComune {
    display: grid;
}

.error {
    color: red;
}

.ui-dialog-content {
    min-width: 800px;
}

.ui-dialog {
    min-width: 825px;
    z-index: 999;
}

.notdisplay {
    display: none;
}


.choices__list--multiple .choices__item {

    background-color: rgb(9, 76, 144) !important;
}

.ui-dform-table {
    color: rgb(9, 76, 144);
}

.ui-dform-table tr {
    padding: 5px;
}

.tabulator-header-filter input {
    display: none;
}

.filter-icon {
    width: 12px;
}

.modify-icon {
    width: 13px;
}

.group_headerMS {
    background-color: #A9D08E;
}

.group_headerCLE {
    background-color: #9BC2E6;
}

.group_contributo {
    background-color: #FF8080;
}

.buttonxls {
    white-space: nowrap !important;
    padding: 4px 12px !important;
    margin-right: 20px !important;
    font-size: 0.9em !important;
}

.cursor-pointer {
    cursor: pointer
}

#loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#flash-message {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    z-index: 9999;
    text-align: center;

}

.alert {
    padding: 20px;
    font-size: 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    color: white;
}

/* colori messaggi  */
.alert-success {
    background-color: #4CAF50;
}

.alert-error {
    background-color: #f44336;
}

.alert-info {
    background-color: #2196F3;
}

.alert-warning {
    background-color: #FFC107;
}

#eliminacomuni {
    float: right;
}

.tabulator-col-title,
.tabulator-cell {
    text-align: center !important;
    border: 0px !important;
    /* padding-right: 3px !important; */
}

.tabulator-row.tabulator-selected,
div.tabulator-row:focus,
div.tabulator-row:hover {
    /* background-color: #c5c5c568 !important; */
    background-color: rgba(9, 77, 144, 0.293) !important;
}

.tabulator-row-even {
    background-color: #c5c5c526 !important;
    border-radius: 0px !important;
}

.tabulator-row-odd {
    background-color: white !important;
    padding-left: 0px !important;
}

.tabulator-col-resize-handle {
    display: none !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    padding: 0px !important;
}

.tabulator .tabulator-footer .tabulator-page:disabled,
.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover,
.tabulator .tabulator-footer .tabulator-page.active {
    color: black !important;
}

.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
    border-top: 0px solid #dee2e6 !important;
}

.tabulator .tabulator-header {
    border-top: 0px solid #dee2e6 !important;
    border-bottom: 0px solid #dee2e6 !important;
}

.tabulator .tabulator-header .tabulator-col {
    padding-right: 2px !important;
}

/* input form */
.ui-dform-select,
.choices__inner {
    border: 2px solid #ddd;
    border-radius: 4px !important;
    height: 30px !important;
    margin-bottom: 15px;
    width: 380px !important;
    display: block !important;
}

.choices__inner {
    padding: 0px !important;
    min-height: 0px !important;
    border: 1px solid #ddd;
    width: 185px !important;
}
.big_choices__inner {
    padding: 0px !important;
    min-height: 0px !important;
    border: 1px solid #ddd;
    width: 300px !important;
    border: 2px solid #ddd;
    border-radius: 4px !important;
    height: 30px !important;
    margin-bottom: 15px;
    width: 380px !important;
    display: block !important;
}

.small_choices_inner {
    width: 150px !important;
    display: block !important;
    border: 1px solid #ddd;
    border-radius: 4px !important;
    height: 30px !important;
    margin-bottom: 15px;
    background-color: #f9f9f9 !important;
}

div.tabulator-row {
    border-radius: 0px !important;
    border: 0px !important;
}

.flex {
    display: flex;
}

.space-between {
    justify-content: space-between;
}

.mx-auto {
    margin: 0 auto;
}

.w-max {
    width: 396px !important;
}
.w-maxAdd {
    width: 450px !important;
}

.div-child {
    width: 193px !important;
}
.div-child_ordinanze{
    dwidth: 250px !important;
}

.div-child label,
.div-child select,
.div-child input {
    width: 95% !important;
}

.bolder {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.input-group {
    position: relative;
}

.input-group-addon-gruppo {
    position: relative;
    top: -24px;
    right: -114px;
    padding: 7px 7px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;;
}
.input-group-addon {
    position: absolute;
    top: 16px;
    right: 8px;
    padding: 7px 12px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;;
}




/* stile widget custom  */
.ui-widget{
    font-family: Tahoma, Geneva, sans-serif !important;
}
.ui-widget.ui-widget-content{

 color: rgb(9, 76, 144) !important;
 border: 1px solid #a69b9b !important;
 border-top: rgb(224, 40, 52) solid 3px !important;
}

.ui-widget-header{
    border: 0px !important;
    background:none !important;
    color: rgb(9, 76, 144) !important;
}

.ui-widget-content{
    color: rgb(9, 76, 144) !important;
    border:none !important;
    /* background: none  !important; */
}
.ui-dialog .ui-dialog-buttonpane button{
    color: rgb(9, 76, 144) !important;
}


.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button{
    color: rgb(9, 76, 144) !important;
}

.ui-dialog .ui-dialog-title{
    color: rgb(224, 40, 52)
}

.red{
    color: rgb(224, 40, 52)
}

.ui-button:disabled {
    opacity: 0.5 !important;
    cursor: default !important;
    pointer-events: none !important;
    color: #999 !important;
    background-color: #f5f5f5 !important;
    border-color: #ccc !important;
  }

.select_comunegruppo {
width: 100% !important;
height: auto !important;
  }
  
  .select_comune_add{
    width: 200px !important;
    /* font-size: 60% !important; */
  }
  .select_gruppi_add{
    width: 240px !important;
    /* font-size: 60% !important; */
  }
.choices__item--choice{
    font-size: 80% !important;
}
.classDropdown{
    width: 100% !important;
    font-size: 80% !important;
}
.buttons {
    display: flex;
    justify-content: flex-end;
}
.right25{
    margin-right:25px
}
.firsttd{
    min-width: 181px;
}
.spacetd{
    min-width: 130px;
}
.choicesselect{
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    height: 30px;
    width: 100%;
}

.altritd, .input-contrcofi, .input-contrfondo {
    max-width: 135px!important;
    margin-bottom: 0px!important;
}

.selecttd{
text-align: center;
font-size:  80%;
}

.input-contrfondo, .input-contrcofi{
    margin-bottom: 0px !important;
}
.alignleft{
    text-align: left;
}


#dati_info_db {
    font-size: small;
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 350px;
    margin-top: 16px;
    font-weight: bold;
}

#dati_info_db ul {
    list-style: none;
    padding: 0;
}

#dati_info_db li {
    margin-bottom: 10px;
}

#dati_info_db label {
    font-weight: normal;
}

#dati_info_db span {
    font-weight: bold;
    margin-left: 10px;
}

/* #progress_bar .ui-progressbar-value {
    background-color: #515ddf !important;
    height: 100%;
    text-align: center;
    color: white;
    line-height: 30px;
} */

#progress_bar {
    width: 100%;
    height: 20px;
    background-color: rgba(9, 76, 144, 0.35);
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
}

#progress_fill {
    height: 100%;
    width: 0;
    background-color: rgb(9, 76, 144);
    border-radius: 3px 0 0 3px;
    transition: width 0.4s ease;
}

#progress_text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
}