@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,600italic,400,300,700,600);

body {
    color: #036;
    height: 100%;
    margin: 0;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1.5;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(25, 25, 26, 0);
    display: flex;
    flex-direction: column;

}

.col-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
    color: #036;
}

.header-container {
    background-color: #003366;
    width: 1350px;
    height: 80PX;
    margin-left: auto;
    margin-right: auto;
}
#header {
    /* background: transparent url(../images/sfondo_body.jpg) 50% 50% no-repeat; */
    position: relative;
    height: 80px;
    /* border-bottom: 1px solid #D0D0D0; */
    overflow: hidden;
    background-color: #003366;
}

#governo {
    text-decoration: none;
    border: none;
    display: block;
    margin: 0px 0 0 0px;
    padding: 0;
    z-index: 10;
    float: left;
    width: auto;
}
#governo a {
    color: #FFF;
    text-decoration: none;
}
#governo a img {
    border: none;
    display: block;
    margin: 0px 0 0 0px;
    padding: 10px;
    height: 65px;
    position: absolute;
}
#governo a span {
    font-size: 22px;
    margin: 10px 0 8px 60px;
    display: block;
    font-weight: 600;
    line-height: 19px;
}
#governo a h3 {
    font-size: 16px;
    margin: 0px 0 0 60px;
    display: block;
    font-weight: normal;
    line-height: 19px;
    background: none;
    padding: 0 0 0 0;
    color: #FFF;
}


/*WHITE LIST HEADER*/

/* Mobile styles */
@media (max-width: 767px) {
  /* Stack logos vertically and reduce size */
  .fixed-header .row.align-items-center .col:first-child {

    align-items: flex-start;
  }

  /* Reduce logo size and adjust spacing */
  .fixed-header .row.align-items-center img {
    max-height: 28px !important; /* Reduced from 50px */
    width: auto;
  }

  /* Adjust EU logo positioning */
  .fixed-header .row.align-items-center img[alt="Logo Europa"] {
    margin-left: 0 !important;
    margin-top: 8px; /* Reduced spacing between logos */
  }

  /* Position the button */
  .fixed-header .row.align-items-center .col.col-md-auto {
    position: absolute;
    right: 10px;
    
  }

  /* Make button more compact */
  .btn-accedi {
    padding: 6px 10px !important;
    font-size: 16px !important;
  }

  .fixed-header {
	left:0px !important;
    padding: 0.4rem !important;
  }
}



/* Optional: Adjust for very small screens */
@media (max-width: 480px) {
  .fixed-header .row.align-items-center .col.col-md-auto {
    position: static;
    margin-top: 10px;
    justify-content: flex-end;
  }
  
  .btn-accedi {
    width: 100%;
    text-align: center;
  }
}


.btn-accedi{
    width: auto;
    justify-content: center;
    text-transform: uppercase;
    padding: 8px 10px !important;
    text-decoration: none !important;
    font-size: 1rem;
    display: flex;
    color: white !important;
    background-color: #036 !important;
    align-items: center;
    font-weight: 700;
    border-radius: 6px;
}
.btn-accedi:hover{
    text-decoration: underline;
}
.icon-btn-accedi{
    color: white;
    margin-right: 0.5rem;
}
.py-custom{
    padding-bottom: 1rem;
    padding-top: 5rem;
	
}
@media (min-width: 1200px) {
.container {
	max-width: 1350px !important;
}
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 12px;
    width: 100%;
    padding: 0.4rem;
    z-index: 1000;
    background-color: #fff; 
    box-shadow: 0 2px 5px rgba(0, 20, 40, 0.1);
}
.titolo-header{
    border-left: 1px solid #036;
}


#container{
	width: 1350px;
	padding-top: 50px;
	margin: 0 auto;
	border: 0px solid #D0D0D0;
	/*-webkit-box-shadow: 0 8px 0 8px #F8F8F8;
	-moz-box-shadow: 0 8px 0 8px #F8F8F8;
	box-shadow: 0 8px 0 8px #F8F8F8;*/
}


form .field {
	position: relative;
	width: 100%;
	float: left;
	margin: 2px 0 10px 0%;
	padding: 1px 1% 5px;
	
}

form table.elenco.admin .smallbox .field {
  background: transparent;
}

form .field label, form .field div.label{
	display:block;
	font-size: 18px;
}

ul {
	/*font-size: 0.875em;*/
	font-size: 16px;
	font-weight: normal;
}

form .field input[type=text], form .field input[type=password] {
  
  border: 1px solid #ccc;
  display: block;
  width: 100%;
  padding: 0 1%;
  margin: 0 0 0 0;
  height: 50px !important;
  font-size: 20px !important;
  padding: 6px 12px;
  line-height: 1.42857143;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
}
.numero_anagrafiche {
	width: 55px !important;
    text-align: center;
}

textarea.form-control {
    white-space: pre-wrap;
    height: 200px !important;
	color: #000;
	font-size: 20px !important;
}

textarea.modifica_art85 {
    white-space: pre-wrap;
    height: 130px !important;
	color: #000;
	font-size: 20px !important;
	
}


form .field select {
	font-size: 1em;
  	border: 1px solid #ccc;
	display: block;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 50px !important;
	border-radius: 4px;
	font-size: 20px !important;
	padding: 6px 12px;
	line-height: 1.42857143;
}

form .field.checkbox label {
	margin-left: 20px;
}

form .field.checkbox input {
	position: absolute;
	width: 22px;
    height: 22px !important;
	top: 5px;
	left: 5px;
	text-align: left;
	padding: 0;
	margin: 0;
	border: 0;
}

.submit {
	clear: both;
	text-align: center;
	padding: 20px 0;
}

h2, h4, h3 {
	display: block;
	clear: both;
	margin: 5px 1% 0;
	padding: 15px 0 5px;
	font-weight: 600;
}

h2 {
	font-size: 1.125em;
}

h4 {
	text-transform: uppercase;
	border-bottom: 0px solid #F2F2F2;
	padding-bottom: 0;
	margin-bottom: 3px;
	font-size: 0.875em;
}



a {
	color: #003399;
	background-color: transparent;
	font-weight: normal;
}

p {
	font-size:16px;
}
code {
	font-family: Consolas, Monaco, Courier New, Courier, monospace;
	font-size: 0.750em;
	background-color: #f9f9f9;
	border: 1px solid #D0D0D0;
	color: #002166;
	display: block;
	margin: 14px 0 14px 0;
	padding: 12px 10px 12px 10px;
}

body{
	margin:0;
	
}

p.footer{
	text-align: right;
	font-size: 0.688em;
	border-top: 1px solid #D0D0D0;
	line-height: 2.000em;
	padding: 0 10px 0 10px;
	margin: 20px 0 0 0;
}

table {
	margin: 10px 1%;
	border-collapse: collapse;
	width: 98%;
}

form .field.due {width: 46.5%;}
.tre {width: 28%;}

/*SEARCH FORM*/

/* Responsive styles for the search form */
@media (max-width: 768px) {
  #search-form {
    padding: 15px;
  }
  
  #search-form h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  label {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  select.form-control, 
  input.form-control {
    height: 40px;
    font-size: 14px;
  }
  
  .submit {
    padding: 15px 0 !important;
    font-size: 20px !important;
  }
  
  .btn-accedi {
    padding: 8px 15px;
    font-size: 16px;
  }
  
  /* Modal adjustments */
  .modal-dialog {
    margin: 20px auto;
    max-width: 95%;
  }
  
  .modal-content {
    padding: 15px;
  }
  
  .modal-title {
    font-size: 1.2rem;
  }
  
  .modal-body {
    font-size: 14px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  #search-form h2 {
    font-size: 1.3rem;
  }
  
  .submit {
    font-size: 18px !important;
  }
  
  .btn-accedi {
    width: 100%;
  }
  
  /* Stack form elements vertically */
  .form-group {
    display: block;
    width: 100%;
  }
  
  /* Adjust modal for very small screens */
  .modal-body {
    padding: 10px;
  }
}

/* Make sure selects don't overflow on mobile */
select {
  max-width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
}


/*DASHBOARD OE*/



/* Base styles for all devices */
.ar_menu-sticky.ar_sticky {
    width: 100%;
    bottom: inherit;
}

#ar_sidebar-menu-mobile {
    position: relative;
    display: block;
    top: 0;
    z-index: 0;
    overflow: inherit;
    background-color: #fff;
    margin: 0;
    overflow: auto;
    padding-bottom: 2rem;
}

.navbar-nav.ar_bacheca {
    margin-bottom: 3rem;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

#ar_sidebar-menu li {
    list-style: none;
    position: relative;
}

#ar_sidebar-menu>li:first-child>a {
    border-top: 1px solid #d9e4f7;
}

#ar_sidebar-menu a {
    padding: 1rem 3.5rem 1rem 0.75rem;
    text-decoration: none;
    display: block;
    border: 0;
    border-bottom: 1px solid #d9e4f7;
    background-color: transparent;
    border-left: 4px solid transparent;
    font-size: 1.125rem !important;
    text-align: left;
    position: relative;
    color: #454d56;
    font-weight: 600;
    border-radius: 0;
}

#ar_sidebar-menu a.active {
    color: #00368f;
    border-left-color: #00368f;
    background-color: #d9e4f7;
    font-weight: 600;
}

.ar_area-riservata-contenuto {
    padding-bottom: 0.625rem;
}

.ar_bg-primary-light-40 {
    background-color: #f2f6fc !important;
}

.border {
    border: 1px solid #d9e4f7 !important;
}

.h4, h4 {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
}

.notification-count {
    position: absolute;
    top: 4.25rem;
    right: 0.5rem;
    color: white;
    font-size: 0.875rem;
    padding: 0.0625rem 0.375rem;
    border-radius: 50%;
}

/* Mobile-first responsive approach */
@media (max-width: 991.98px) {
    .col-lg-2, .col-xl-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .ar_area-riservata-contenuto {
        padding: 0.5rem;
    }
    
    #ar_sidebar-menu-mobile {
        padding: 0.5rem;
    }
    
    #ar_sidebar-menu a {
        padding: 0.75rem;
        font-size: 1rem !important;
    }
    
    .h4, h4 {
        font-size: 1.125rem;
    }
    
    .notification-count {
        top: 7.3rem;
        right: 0.25rem;
    }
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
    .p-4 {
        padding: 1rem !important;
    }
    
    .mb-3, .my-4 {
        margin-bottom: 1rem !important;
    }
}

/* Large desktop styles */
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    
    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
    
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    
    .pb-lg-2, .py-lg-2 {
        padding-top: 0 !important;
        padding-bottom: 0.5rem !important;
    }
    
    .d-lg-none {
        display: none !important;
    }
    
    .d-lg-block {
        display: block !important;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .p-4 {
        padding: 1.5rem !important;
    }
    
    .mb-3, .my-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* Utility classes */
.m-0 {
    margin: 0 !important;
}

.rounded {
    border-radius: 0.25rem !important;
}

/* Notification styles */
.notification-box {
    position: relative;
    display: inline-block;
    padding: 0.625rem;
    background-color: #f0f0f0;
    border-radius: 0.3125rem;
    cursor: pointer;
}

.notification-icon {
    font-size: 1.5rem;
}

td .notification-count {
    position: relative;
    top: 0.125rem;
    right: 0;
    color: white;
    font-size: 0.875rem;
    padding: 0.0625rem 0.5rem;
    border-radius: 50%;
}

/* Form styles */
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    opacity: 0.5 !important;
}

/* Heading styles */
h3 {
    font-size: 1em;
    background: #d9e4f7;
    padding: 0.9375rem;
    margin: 0;
}

/* Message container */
.message_container {
    max-width: 33.75rem;
    min-width: 16.875rem;
    margin-top: 0.625rem;
}

/* Feedback box */
.feedback_box {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    position: relative;
    margin-bottom: 4.7em;
    height: 100%;
}

.feedback_box_informazione_forte_icon {
    background-color: #004766;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -0.8125rem;
    width: 1.625rem;
    height: 1.625rem;
    text-align: center;
    color: #ffffff;
    border-radius: 100%;
    font-size: 0.9em;
    line-height: 1.9em;
}

.fa {
    display: inline-block;
    font: normal normal normal 0.875rem/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-info:before {
    content: "\f129";
}

.feedback_box_informazione_forte_text {
    color: #ffffff;
    border-color: #004766;
    line-height: 1.7em;
    border-left-width: 0.25rem;
    border-left-style: solid;
    padding: 1em;
    padding-left: 2em;
    background-color: #0066cc;
    font-size: 0.875rem;
}

/* Alert styles */
.sirio-alert.lg-alert {
    max-width: inherit !important;
}

.sirio-alert[data-sirio-visible=true] {
    display: block;
    opacity: 1;
}

.sirio-alert.sirio-alert-info {
    border-color: #004766;
}

.sirio-alert {
    max-width: inherit;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #00173d;
    color: #fff;
    opacity: 0;
    display: none;
    padding: 1.5rem 2.5rem 1.5rem 1.5rem;
    position: relative;
    border-left: 1.125rem solid #00173d;
}

.mb-3, .my-3 {
    margin-bottom: 1rem !important;
}

.sirio-alert .sirio-sent-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sirio-alert-info .sirio-sent-body:before {
    background-image: url('/assets/images/like.png');
}

.sirio-alert .sirio-sent-body:before {
    content: "";
    width: 3.625rem;
    align-self: stretch;
    flex: 0 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0.5rem;
}

.sirio-alert .sirio-sent-body .sirio-alert-message {
    flex-basis: 0;
    width: 100%;
    flex-grow: 1;
    max-width: 100%;
    padding: 1.5rem 0.5rem 1.5rem 1.5rem;
}

.sirio-alert .sirio-sent-body>* {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 0;
}

.sirio-alert .sirio-sent-body .sirio-alert-message p {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 700;
    color: white;
}

.sirio-alert .sirio-alert-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sirio-alert-info .sirio-alert-body:before {
    background-image: url('/assets/images/exclamation.png');
}

.sirio-alert .sirio-alert-body:before {
    content: "";
    width: 3.625rem;
    align-self: stretch;
    flex: 0 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0.5rem;
}

.sirio-alert .sirio-alert-body .sirio-alert-message {
    flex-basis: 0;
    width: 100%;
    flex-grow: 1;
    max-width: 100%;
    padding: 1.5rem 0.5rem 1.5rem 1.5rem;
}

.sirio-alert .sirio-alert-body>* {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 0;
}

.sirio-alert {
    max-width: 17rem;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #0066cc;
    color: #fff;
    opacity: 0;
    display: none;
    padding: 1.5rem 2.5rem 1.5rem 1.5rem;
    position: relative;
    border-left: 1.125rem solid #0066cc;
}

.sirio-alert .sirio-alert-body .sirio-alert-message p {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 700;
    color: white;
}
/* Button container/layout */
.col-lg-2.col-xl-3.d-lg-block:last-child {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .col-lg-2.col-xl-3.d-lg-block:last-child {
        flex: 0 0 100%;
        max-width: 100%;
        order: 3; /* Move buttons below main content on mobile */
        padding: 0.75rem 1rem;
        margin-top: 1rem;
        border-top: 1px solid #d9e4f7;
    }
    
    .btn-accedi {
        width: 100%;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .icon-btn-accedi {
        font-size: 1.25rem;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-accedi {
        font-size: 0.9375rem;
        padding: 0.625rem 0.75rem !important;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .col-lg-2.col-xl-3.d-lg-block:last-child {
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }
    
    .btn-accedi {
        min-width: auto;
    }
}

/* Large desktop styles */
@media (min-width: 1200px) {
    .btn-accedi {
        min-width: auto;
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
    }
}

/* Modal responsive adjustments */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0.5rem auto;
    }
    
    .modal-content {
        border-radius: 0;
    }
    
    .modal-body, .modal-footer {
        padding: 1rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/*FORM RULES FIRST TWO PAGES*/
/* Save Progress Button Responsive Styles */
#saveBozzaButton {
    display: inline-block;
    margin: 0.5rem 0;
}

#saveBozzaButton button {
    font-size: 1rem;
    padding: 0.75rem 1rem !important;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

/* Form submit section responsive styles */
.submit {
   /* display: flex;
    flex-wrap: wrap;*/
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem !important;
    margin-top: 2rem;
}

.submit .btn-accedi {
    margin: 0;
    order: 1;
}

.submit #saveBozzaButton {
    order: 2;
}

.submit button[type="submit"] {
    order: 3;
}

/* Mobile styles */
@media (max-width: 767.98px) {
    .submit {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0 !important;
    }
    
    .submit .btn-accedi,
    .submit #saveBozzaButton,
    .submit button[type="submit"] {
        width: 100%;
        margin: 0 0 0.5rem 0 !important;
        order: initial;
    }
    
    #saveBozzaButton button {
        width: 100%;
        font-size: 0.9375rem;
        padding: 0.75rem !important;
    }
    
    .btn-accedi {
        text-align: center;
        justify-content: center;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .submit {
        padding: 1.5rem 0 !important;
    }
    
    #saveBozzaButton button {
        font-size: 0.9375rem;
        padding: 0.625rem 0.75rem !important;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .submit {
        padding: 1.5rem 0 !important;
    }
    
    #saveBozzaButton button {
        min-width: 12rem;
    }
}

/* Loading modal responsive adjustments */
@media (max-width: 575.98px) {
    #loadingModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #loadingModal .modal-content {
        border-radius: 0;
    }
    
    #loadingModal .modal-body {
        padding: 1rem;
        font-size: 1rem;
    }
}


/*FORM RULES LAST TWO PAGES*/


/* Art.85 Section - Responsive Styles */
#elenco_anagrafiche {
    /*overflow-x: auto;*/
    margin-bottom: 1.5rem;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}


/* Modal responsive styles */
.cth_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    
    display: none;
}

.cth_modal .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    max-height: 90vh;
    overflow-y: auto;
}

/* Multi-select qualifica styles */
.multi-select-container {
    position: relative;
    margin-bottom: 1rem;
}

.multi-select-input {
    width: 100%;
    padding: 0.5rem;
}

.suggestions-container {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 0.5rem;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.selected-option {
    background-color: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-option {
    background: none;
    border: none;
    cursor: pointer;
    color: #dc3545;
    padding: 0;
}

/* Form row and field styles */
.m-row {
    display: flex;
    flex-wrap: wrap;

}

.m-field {
    margin-bottom: 1rem;
}



/* Button styles in modals */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    
    .cth_modal .inner {
        width: 90%;
        padding: 1rem;
    }
    
    .modhalf {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Hide less important columns on mobile */
    .table td:nth-child(5),
    .table th:nth-child(5),
    .table td:nth-child(6),
    .table th:nth-child(6),
    .table td:nth-child(7),
    .table th:nth-child(7) {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet-specific adjustments */
    .table td, 
    .table th {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .cth_modal .inner {
        width: 80%;
    }
}

@media (min-width: 992px) {
    /* Desktop-specific adjustments */
    .cth_modal .inner {
        width: 100%;
    }
}

/* Notification count in table */
td .notification-count {
    display: table;
    width: 23px;
    height: 23px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Icons in table */
.table img, 
.table svg {
    max-width: 25px;
    height: auto;
    vertical-align: middle;
}

/* Add button at bottom of table */
.btn-primary[data-action="add_anpr"] {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Loading spinner */
.loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.loading .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Error message styling */
#anpr-content {
    padding: 1rem;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

/* Form textarea styles */
.modifica_art85 {
    min-height: 100px;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Responsive form elements */
@media (max-width: 575.98px) {
    .form-control {
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }
    
    .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .table td, 
    .table th {
        padding: 0.3rem;
        font-size: 0.8rem;
    }
}

/* Integrate with previous button styles */
.btn-accedi {
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    .submit {
        flex-direction: column;
    }
    
    .submit .btn-accedi,
    .submit #saveBozzaButton,
    .submit button[type="submit"] {
        width: 100%;
        margin: 0 0 0.5rem 0 !important;
    }
}

/* Mobile-only styles (max-width: 991.98px) */
@media (max-width: 991.98px) {
    /* Main table adjustments */
    #elenco_anagrafiche {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1rem;
    }

    .table {
        font-size: 0.85rem;
        display: block;
        width: 100%;
    }

    .table th,
    .table td {
        padding: 0.5rem;
        white-space: nowrap;
        display: table-cell;
    }

    /* Hide less important columns on mobile */
    .table td:nth-child(4),
    .table th:nth-child(4),
    .table td:nth-child(5),
    .table th:nth-child(5),
    .table td:nth-child(6),
    .table th:nth-child(6) {
        display: none;
    }

    /* Accordion styles */
    .accordion-content {
        display: none;
    }

    .accordion-content.show {
        display: block;
    }

    /* Nested table adjustments */
    .accordion-content .table {
        font-size: 0.8rem;
    }

    .accordion-content th,
    .accordion-content td {
        padding: 0.3rem;
    }

    /* Button adjustments */
    .btn-primary[data-action="add_anpr_sg"],
    .btn-primary[data-action="add_associato_pf"],
    .btn-primary[data-action="add_associato_pg"] {
        width: 100%;
        margin: 0.5rem 0;
        font-size: 0.9rem;
        padding: 0.6rem;
        float: none !important;
    }

	/* Mobile styles */
@media (max-width: 767px) {
  .btn-primary[data-action="add_associato_pf"], 
  .btn-primary[data-action="add_associato_pg"] {
    display: block; /* Makes each button take full width and stack vertically */
    width: 100%;    /* Full width of their container */
    margin-bottom: 10px; /* Adds space between stacked buttons */
  }
  
  /* Remove margin from last button to avoid extra space */
  .btn-primary[data-action="add_associato_pf"]:last-child, 
  .btn-primary[data-action="add_associato_pg"]:last-child {
    margin-bottom: 0;
  }
}

    /* Modal adjustments */
    .cth_modal .inner {
        width: 95%;
        padding: 1rem;
        max-height: 85vh;
    }

    /* Form elements in modals */
    .m-field {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0.25rem;
    }

    /* Submit section */
    .submit {
        padding: 1rem 0 !important;
        flex-direction: column;
    }

    .submit .btn-accedi,
    .submit #saveBozzaButton,
    .submit button[type="submit"] {
        width: 100%;
        margin: 0 0 0.5rem 0 !important;
        float: none !important;
    }

    /* Notification count */
    td .notification-count {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 0.7rem;
    }

    /* Icons in table */
    .table img,
    .table svg {
        max-width: 20px;
    }

    /* Form controls */
    .form-control {
        font-size: 0.9rem !important;
        padding: 0.5rem !important;
    }

    /* Textareas */
    textarea.modifica_art85 {
        min-height: 80px;
        font-size: 0.9rem !important;
    }

    /* Multi-select qualifica */
    .multi-select-container {
        margin-bottom: 0.5rem;
    }

    .selected-options {
        gap: 0.3rem;
    }

    .selected-option {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .table {
        font-size: 0.8rem;
    }

    .table th,
    .table td {
        padding: 0.3rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    /* Further simplify nested tables */
    .accordion-content .table td:nth-child(4),
    .accordion-content .table th:nth-child(4),
    .accordion-content .table td:nth-child(5),
    .accordion-content .table th:nth-child(5),
    .accordion-content .table td:nth-child(6),
    .accordion-content .table th:nth-child(6) {
        display: none;
    }
}



/* stile delle notifiche di errore validazione */
.errors {
	position: relative;
	width: 96%;
	float: left;
	margin: 10px 0 10px 1%;
	padding: 5px 1% 5px;
	background: #F0F0F0;
	border: 1px solid red;

}

.no_errors {
	position: relative;
	width: 96%;
	float: left;
	margin: 10px 0 10px 1%;
	padding: 5px 1% 5px;
	background: #F0F0F0;
	border: 1px solid blue;

}

.errors p {
	margin: 2px 0;
}

.errors p em {
	text-transform: uppercase;
	font-weight: 600;
	font-style: normal;
}

.no_errors p {
	margin: 2px 0;
}

.no_errors p em {
	text-transform: uppercase;
	font-weight: 600;
	font-style: normal;
}

label.errormsg {
	font-size: 20px;
	/*text-transform: uppercase;*/
	font-weight: 600;
    margin-top: 8px;
	line-height: 0.625em;
	color: red;
}

label.errormsg p {
	line-height: 1.1em;
	color: red;
	margin: 5px 3px 3px;
  	font-size: 20px;
}

input.errormsg {
	background: #CCC !important;
}

/* fine stile notifiche */

#operativa {
	cursor: pointer;
	text-decoration: underline;
}

/*
 * sezione privacy */

.field.fixed {
	height: 100px;
	overflow-y: scroll;
	font-size: 0.8em;
}

.field.fixed p {
	margin: 0 0 5px;
}

.field.fixed h1 {
	font-size: 1.1em;
	margin: 5px 0 0;
}

.field.fixed h2 {
	font-size: 1em;
	margin: 0 0 5px;
}

/* fine sezione privacy */

/*.hide, input.errormsg.hide {
	background: #F2F2F2;
	border: 0;
	height: 0px;
	visibility: hidden;
}*/

table.elenco {
	/*font-size: 0.8em;*/
	font-size:18px;
}
table.elenco a {
	/*font-size: 0.8em;*/
	color:#fff;
}

table.elenco tr td {
	vertical-align:top;
	border-bottom: 2px solid #ccc;
	padding: 10px 20px 10px 0;

}
table.elenco tr td:last-child {
	padding: 10px 0px 10px 0;
}

table.elenco tr td.left {
	text-align: right;
	max-width: 225px;
}

table.elenco tr td.smallbox {
    width: 35%;
	/*padding: 8px;
	/*text-align: center;*/
	/*background-color: #F0F0F0;*/
	background-color: #e6e6e6;
}

table.elenco tr td.smallbox textarea {
	width:100%;
	height:100px !important;
	font-size:15px;
	
	}

  table.elenco tr td.smallbox-stranieri {
    width: 35%;
	/*padding: 8px;
	/*text-align: center;*/
	/*background-color: #F0F0F0;*/
	background-color: #e6e6e6;
}

table.elenco tr td.smallbox-stranieri textarea {
	width:100%;
	height:100px !important;
	font-size:15px;
	
	}

table.elenco tr .smallbox-left,.smallbox-right  {

	/*text-align: center;*/

	width:50%;
	float:left;
}


table.elenco tr .smallbox-left .field, .smallbox-right .field {
	width: auto;
	float: none;
	margin: 0;
	padding: 3px;
}

table.elenco tr .smallbox-left .field label, .smallbox-right .field label, td.smallbox label, td.smallbox-stranieri label{
	text-align: left;
	font-weight:bold;
	font-size: 0.85em;
}

.smallbox .smallbox-inner{
  float: left;
  width: 50%;
}

.smallbox .smallbox-notes{
  clear: both;
}
.smallbox .smallbox-notes label{
  display: block;
}
.smallbox .smallbox-notes textarea{
  width: 100%;
  height: 30px;
}


table.elenco tr td.smallbox input[type=checkbox]{
	margin: 0;
}

table.elenco tr td.smallbox .field {
	width: auto;
	float: none;
	margin: 0;
	padding: 3px;
}

table.elenco tr td.smallbox .field label {
	text-align: left;
	color: #000;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 600;
    font-size: 13px;
}
table.elenco tr td.smallbox-stranieri input[type=checkbox]{
	margin: 0;
}

table.elenco tr td.smallbox-stranieri .field {
	width: auto;
	float: none;
	margin: 0;
	padding: 3px;
}
table.elenco tr td.smallbox-stranieri .field label {
	text-align: left;
	color: #000;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 600;
    font-size: 13px;
}


/*
table.elenco tr td.smallbox .field label a {
	color: #000;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 600;
    font-size: 0.85em;
}

*/

a.safetrigger {
	color:#000 !important;
}

table.elenco tr td a {
	/*color: #000;*/
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 600;
}

table.elenco tr td a.btn.btn-primary, a.btn.btn-danger, a.btn.btn-success, a.btn.btn-info, a.btn.btn-warning,a.btn.btn-primary{
    white-space: normal !important;
    margin: 3px 10px 10px 0;
    
    font-size: 16px;
}

table.elenco tr td.id a.btn.btn-primary, a.btn.btn-danger,a.btn.btn-success {
width:165px;
}

table.elenco tr td.smallbox .field label a.selected, table.elenco tr td a.selected {
	background: #000;
	color: #FFF;
	padding: 0 3px;
}

table.elenco tr td.smallbox .field select {
	height:35px !important;
	font-size:15px !important;
}

table.elenco tr td.smallbox-stranieri .field label a.selected, table.elenco tr td a.selected {
	background: #000;
	color: #FFF;
	padding: 0 3px;
}

table.elenco tr td.smallbox-stranieri .field select {
	height:35px !important;
	font-size:15px !important;
}


table.elenco tr td.smallbox-stranieri .field select {
	height:35px !important;
	font-size:15px !important;
  width: 50px;
}

table.elenco tr td.smallbox .field input {
	/*display: block;*/
	height:35px !important;
	font-size:15px !important;
}

table.elenco tr th.smallbox {
	text-align: center;
	font-size: 0.8em;
}


table.elenco tr th {
	border-bottom: 2px solid #ccc;
	text-transform: uppercase;
	font-weight: 600;
	text-align: left;

}

table.elenco ul {
	margin: 0px;
	font-size: 1em;
	padding-left: 0;
	list-style-type: none;
}

table.elenco strong {
	font-weight: normal;
	color: #000;
	font-weight: 600;
	text-transform: uppercase;
}

table.elenco th a {
	color: #000;
	text-decoration: none;
	font-weight: 600;
	margin-bottom: 0;
}

table.elenco th a.selected {
	/*text-decoration: underline;*/
	background-color: #000;
	color: #fff;
	padding: 0 5px;

}

.fieldarea {
	width: 98%;
	margin: 10px 1%;
	overflow: auto;
}

.fieldarea .field {
	width: auto;
	float: left;
	background: #fff;
	margin-left: 0;
	padding-left: 0;
}

.fieldarea .field label {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 18px;
}
.col-sm-6 .fieldarea .field {

   
    width: 100%;
    font-size: 14px;

}


#paginazione {
	margin: 10px 1%;
	text-transform: uppercase;
}
#headbar {
	/*position: relative;
	display: block;
	margin: 10px 0;
	padding: 0 3px 0;
	background: #F5F5F5;
	/*border-bottom: 6px solid #036615;*/
	/*border-bottom: 6px solid #00264D;
	font-size: 0.9em;*/
	
		position: relative;
		display: block;
		background: #0066cc;
		font-size: 0.9em;
	
}

#headbar .menu {
    max-width: 1350px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/*#headbar ul {
	list-style-type: none;
	padding: 0 0 0 5px;
	margin : 0;
	overflow: auto;
	display: block;
	font-size:1.5rem !important;
}*/

#headbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: auto;
    display: block;
}

/*#headbar ul li {
	float: left;
	margin: 0 5px 0 0;
	padding: 0 0 0 0;
}*/

#headbar ul li {
    float: left;
    margin: 0 0 0 0;
    padding: 30px 20px 30px 0px;
}

#headbar ul li:last-child {
}


/*#headbar ul li a {
	font-weight: 600;
	color: #FFF;
	text-decoration: none;
	display: block;
	padding: 5px 15px;
	border-bottom: 5px solid #F5F5F5;
	background: #0066CC;
}*/

#headbar ul li a {
    font-weight: 700;
    color: #FFF;
    text-decoration: none;
  
    padding: 2px 4px;
    font-size: 20px;
    /* background: #01901A; */
}



#headbar ul li a.selected {
    border-bottom: 5px solid #fff;
}

#headbar ul li a:hover , #headbar ul li a:active {
    border-bottom: 5px solid #fff;
}
a:focus {
	/*outline: 2px dotted red;
	*/
}
/*

#headbar ul li a:hover{
	background: #E3E3E3;
	color: #000;
}

#headbar ul li a.selected {

	background: #00264D;
	border-bottom: 5px solid #00264D;

}

#headbar ul li a.selected:hover {
	color: #fff;
}*/

#logout {
	position: absolute;
	top: 5px;
	right: 5px;
}

#logout a {
	text-decoration: none;
	/*color: #036615;*/
	color:#00264D;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 0.8em;
}
button.button {
  border: 1px solid #ccc;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}
a.button, table.elenco tr td a.button, button.button {
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 2px 3px;
	/*background: #006311;*/
	background:#00264D;
	text-align: center;
	font-size: 0.8em;
	margin: 3px 10px 10px 0;
	-webkit-box-shadow: 2px 2px 0 #F8F8F8;
	-moz-box-shadow: 2px 2px 0 #F8F8F8;
	box-shadow: 2px 2px 0 #CCC;
	cursor: pointer;
}

a.button.red,  table.elenco tr td a.button.red {
	background-color: #F74500;
}

a.button.blue,  table.elenco tr td a.button.blue {
	background-color: #3300FF;
}


a.button.orange,  table.elenco tr td a.button.orange{
	background-color: orange;
}
a.button.green,  table.elenco tr td a.button.green{
	background-color: #009933;
}

a.button.hidden,  table.elenco tr td a.button.hidden{
	visibility: hidden;
}


a.button.unlock, table.elenco tr td a.button.unlock {
	background-color: red;
}

a.button.lock,  table.elenco tr td a.button.lock{
	background-color: #0066CC;
}

a.button.spec,  table.elenco tr td a.button.spec{
	background-color: red;
}

a.button.pecnp,  table.elenco tr td a.button.pecnp{
	background-color: red;
}

ul.submenu {
	display: block;
	overflow: auto;
	margin: 20px 0;
	padding: 0 15px;
	list-style-type: none;
	background: whiteSmoke;
	text-transform: uppercase;
}

ul.submenu li {
	float: left;
	border-right: 2px solid #fff;
	border-left: 2px solid #fff;
	margin: 0;
	padding: 0 5px;
	font-size:15px;
}

ul.submenu li a {
	color: #000;
	text-decoration: none;
}

ul.submenu li a:hover {
	text-decoration: underline;
}

ul.submenu li.selected {
	background: #CCC;
}

ul.sub_submenu {
	display: block;
	overflow: auto;
	margin: 25px 175px;
	padding: 0 15px;
	list-style-type: none;
	background: whiteSmoke;



	text-transform: uppercase;



}

ul.sub_submenu li {
	float: left;
	border-right: 2px solid #fff;
	border-left: 2px solid #fff;
	margin: 0;
	padding: 0 5px;





}

ul.sub_submenu li a {
	color: #000;
	text-decoration: none;





}

ul.sub_submenu li.selected {
	background: #CCC;


}


div.olabel {
	border-bottom: 1px solid #CCC;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.8em;
	display:block;
}

form .field label.inline {
	display: inline;
	text-transform: none;
	font-weight: 400;
	font-size: 1em;
}

.20pc {
	width: 2%;
}
.21pc th {
	width: 2%;
}

.25pc {
	width: 45%;
}

.soas {
width:308px;
}

.atecos{
width:auto;
}

.riferimento{
width:100px;
word-wrap: break-word;
}
.azienda {
width:125px;
word-wrap: break-word;
}

.tipologia {
width:200px;
word-wrap: break-word;
}

.curriculum {
width:100px;
}


.scadenza_azienda{
width:300px;
}
.scadenza_cf{
width:150px;
}




table.riepilogo {
font-size:0.7em;
}

table.riepilogo th {
border:1px solid;
}

table.riepilogo td {
border:1px solid;
text-align:center;
}

form .field_antimafia {
margin-top:40px;
margin-bottom:60px;
position:relative;
float:left;
width:100%;
}


.tooltip {
    display:none;
    background:transparent url('../images/black_very_big.png');
    font-size:12px;
    height:900px;
    width:995px;
    padding:55px;
    color:#eee;
  }

.tooltip p {
color:white;
margin-top:50px;
margin-left:10px;
margin-right:10px;
}

.tooltip td {
border:solid 2px;
padding:4px;
}

#open_data {
padding-left:10px;
padding-bottom:8px;
}

#open_data_details {
padding-left:10px;
padding-bottom:15px;
font-size:13px;
}



.hidden{
  display: none;
}

.resizer{
  clear: both;
}

form .field.w50{
  width: 46%;
  margin-left: 1%;
  margin-right: 1%;
}


.office.container{
  margin-bottom: 17px;
}

.box-familiare{
  border-style: dashed;
  border-color: #DDDDDD;
  border-width: 0px 0px 2px 0px;
  margin: 10px 0px;
  padding: 10px 10px 10px 50px;
}

.box-familiare:last-child{
  border-width: 0px 0px 0px 0px;
}

.anagrafica-box:last-child{
  border-bottom-width: 0px;
}
.anagrafica-box{
  border-style: dashed;
  border-color: #DDDDDD;
  border-width: 0px 0px 4px 0px;
  margin-bottom: 17px;
  padding-bottom: 25px;
}


.indent.field{
  margin-left: 40px;
  width: 93%;
}

.important_message{
  font-size: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  padding: 10px;
  display: inline-block;
  background-color:#EFEFEF;

}







.doc_code{
  font-size: 26px;
  border: 2px solid #ccc;
  border-radius: 3px;
  padding: 10px;
  display: inline-block;
  font-weight: bold;
}


ul.highlight{
  font-size: 16px;
}

.padded{
  padding: 0px 15px 0px 15px;
}

.resizer{
  clear: both;
}
.labelhidden label{
  display: none !important;
}
.labelhidden label.errormsg{
  display: block !important;
}

form.preview label{
  font-size: 18px;

}


form.preview .field.checkbox label{
  font-size: 1.1em;
  text-transform: none;
  margin-left: 40px;
}

/*
.preview-field{
  font-size: 1.2em;
  display: block;
  width: 100%;
  padding: 2px 1%;
  margin: 0 0 0 0;

  border: 1px solid #ccc;
  min-height: 27px;
}*/

.preview-field{
	font-size: 17px;
	display: block;
	width: 100%;
	padding: 6px 12px;
	margin: 0 0 0 0;
	border: 1px solid #ccc;
	height: 50px;
	line-height: 1.42857143;
}

form .field input[type="checkbox"].preview-field {
  width: 30px;
  height: 30px;
}

form .field input[type="radio"].preview-field {
  width: 30px;
  height: 30px;
}

div.preview-field{
  background-color: #E4E4E4;
}
form.preview .field {
  font-size: 1.2em;
  display: block;
  width: 100%;
  padding: 2px 1%;
  margin: 2px 0;
 
  min-height: 32px;
}

.preview-field.readonly  {
	background-color: #E4E4E4;
}

form.preview a.add{
  float: left;
  font-weight: bold;
  border: 1px solid #65DDE0;
  padding: 3px 5px;
  border-radius: 1px;
  background-color: #65DDE0;
  color: #004A4D;
  font-style: normal;
  text-decoration: none;
  display: inline-block;
}
form.preview a.rm{
  float: right;
  font-weight: bold;
  border: 1px solid #004A4D;
  padding: 3px 5px;
  border-radius: 1px;
  background-color: #004A4D;
  color: #65DDE0;
  font-style: normal;
  text-decoration: none;
  display: inline-block;
}
form.preview a.reset{
  font-weight: bold;
  border: 1px solid #5A6772;
  padding: 3px 5px;
  border-radius: 1px;
  background-color: #fff;
  color: #5A6772;
  font-style: normal;
  text-decoration: none;
  display: inline-block;
}

form.preview input[type="submit"] {
  font-size: 2em;
}


form.preview .field.privacy {
  font-size: 0.8em;
  border-style: dashed;
  border-color: #ddd;
  border-width: 1px 0px 1px 0px;
 
  height: 200px;
}

.preview-textarea, form.preview textarea{
  white-space: pre-wrap;
  font-size: 1em;
  height: auto;
}

form hr{
  border-width: 0px 0px 4px 1px;
  border-style: dashed;
  border-color: #ddd;
  padding: 10px 0px;
}


.preview h3 {
	
		background: #d9e4f7;
		padding: 15px;
		margin: 0px;
	
}


form .inpreview-chk label{
  font-size: 1.1em;
  text-transform: none;
  float: left;
  margin-left: 10px;
}
form .inpreview-chk .fake-checkbox{
  width: 25px;
  height: 25px;
  background-color: #fff;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 1.7em;
  font-weight: bold;
  line-height: 24px;
  float: left;
  padding: 4px 5px;
}
form .inpreview-chk .fake-checkbox.size-2{
  width: 70px;
  text-align: right;
  padding: 4px 5px;
}
form .inpreview-chk .fake-checkbox.size-3{
  width: auto;
  text-align: left;
  padding: 4px 10px;
  display: inline-block;
}
.impresa{
  margin-bottom: 15px;
  padding: 5px 0px;
}
.warning{
  background-color: #fff3b1;
  color: #846017;
  border: 2px solid #846017;
}
.warning em{
  font-size: 1.6em;
  font-weight: bold;
}

.error{
  font-weight:700;
  color: #8A4C3B;

}
.error em{
  font-size: 1.3em;
  font-weight: bold;
}

.half .field.inpreview{
  width: 50%;
}

.half-button{
  /*width: 436px;*/
  width: 535px;
  float:left;
  text-align: center;
}

.preview-anagrafica.odd{
	background-color: #FFF;
}
.preview-anagrafica.odd .field{
	background-color: #FFF;
}
.preview-anagrafica.even{
  background-color: #fff;
}
.preview-anagrafica.even .field{
  background-color: #fff;
}

.preview-anagrafica .fake-checkbox {
  display: none;
}

.preview-familiari{
  border: 1px solid #dbdbdb;
  margin-left: 25px;
  border-width: 1px 0px 1px 0px;
}
.preview-familiari hr.resizer{
  border-width: 1px;
}

.preview-familiari .preview-familiare{
  border-width: 0px 0px 1px 0px;
  border-style: dashed;
  border-color: #dbdbdb;
  margin-bottom: 15px;
}
.preview-familiari .preview-familiare:last-child{
  border-width: 0 !important;
}


a.modifica{
  cursor: pointer;
  font-weight: bold;
  border: 1px solid #65DDE0;
  padding: 10px 20px;
  border-radius: 3px;
  background-color: #65DDE0;
  color: #004A4D;
  font-style: normal;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
}
a.conferma, input.conferma{
  cursor: pointer;
  font-weight: bold;
  border: 1px solid #004A4D;
  padding: 10px 20px;
  border-radius: 3px;
  background-color: #004A4D;
  color: #65DDE0;
  font-style: normal;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
}

form.preview label.errormsg{
  font-size: 0.9em;
  line-height:20px;
}

.odder:nth-child(odd){
  border-width: 0 0 0px 0;
  border-style: dashed;
  border-color: #ddd;
  margin-bottom:30px;
}
.odder:nth-child(odd) .field, .odder:nth-child(odd){

  background-color: #FFF;
}
.odder:nth-child(even) .field, .:nth-child(even){
  background-color: #fff;
}

.smallpls{
  font-size: 0.7em;
  font-weight: 100;
}

.helplink {
  font-weight: bold;
  font-style: italic;
  padding: 8px;
  display: inline-block;
  font-size: 1.2em;
}

/*.familiar_roles{
  display: none !important;
}*/

.hint {
  text-align: center;
  border-radius: 2px;
  font-size: 1.5em;
  padding: 5px 5px;
  margin: 5px 15px;
}


.dashed{
  border-width: 2px 0;
  border-style: dashed;
  border-color: #ddd;
}


.warning-cfsoft{
  background-color: #fff3b1;
  color: #846017;
  border: 2px solid #846017;
  padding: 10px;
}

.field.textbox input{
  width: 55px !important;
  float: left;
}
.field.textbox label{
  float: left;
  text-transform: none !important;
  font-size: 1.1em;
  text-indent: 15px;
}

.offices-wrapper{
  padding-left: 50px;
}


.statofieldwrapper{
  margin-bottom:20px;
}

select.stato{
  width: 120px;
}

td.middlebox{}

.sl_wrapper{
  /*width: auto;*/
  width: 400px;
}


.soa-desc{
  display: block;
  width: 525px;
  overflow: hidden;
  float: left;
  font-size: 14px;
}
.soa-val{
  float: right;
  margin-top: -62px;
}


#soas_list .field.inpreview.checkbox {
  height: 57px;
}

table.elenco tr td.id{
  width: 20px;
}


#paginazione{
  font-size: 1em;
}
#paginazione strong{
  display: inline-block;
  margin: 0 5px;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 3px 5px;
  border-radius: 3px;
  background-color: #fafafa;
}
#paginazione a{
  display: inline-block;
  margin: 0 5px;
  font-size: 1em;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 3px 5px;
  border-radius: 3px;
}
#paginazione a:hover{
  background-color: #ccc;
}

.esito{
  background-color: #fff;
}
.protocollo_num{
  background-color: #fff;
}


.killer{
  position: absolute;
  top: -27px;
  right: 21px;
  background-color: #FAFAFA;
  border-radius: 3px 3px 0 0;
  border-style: solid;
  border-color: #666;
  border-width: 1px 1px 0px 1px;
  padding: 2px 6px;
  cursor: pointer;
  color: #a80000;
}

/*Chat*/
.form-wrapper{
    border-radius: 7px;
  }
  .form-wrapper label{
    font-weight: bold;
  }
  .errors li{
    list-style: none;
    width: 100%;
    text-align: center;
  }
  .errors ul{
    padding-left: 0;
    margin-bottom: 0;
  }
  .message-holder {
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 400px;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .msg-item {
    overflow: hidden;
    clear: both;
    margin-bottom: 12px;
    padding-top: 10px;
    border-radius: 4px;
    padding-bottom: 10px;
  }
  .msg-text {
    padding-left: 70px;
    padding-top: 5px;
    line-height: 19px;
    padding-right: 70px;
  }
  .msg-img {
    width: 60px;
    margin: 0 10px;
  }
  .author{
    font-weight: bold;
  }
  
  .msg-item p{
    margin:0;
  }
  
  .msg-item .time {
    font-size: 10px;
  }
  .msg-item.left-msg {
    background: #0e85a0;
    color: #fff;
  }
  .msg-item.right-msg {
    background: #444;
    color: #fff;
  }
  .time {
    color: #fff;
    opacity: 0.8;;
  
  }
  .left-msg .msg-img{
    float: left;
  }
  .right-msg{
    text-align: right;
  }
  .right-msg .msg-img{
    float: right;
  }
.faq {
		box-shadow: 0 2px 8px rgba(35, 35, 35, 0.3);
		margin: 10px;
		transition: all 0.3s ease;
		cursor: pointer;
		background-color: #ffffff;
		z-index: 1;
	  }
	  .faq:hover {
		box-shadow: 0 4px 14px rgba(35, 35, 35, 0.3);
	  }
	  .faq_question {
		font-size: 15px;
		font-weight: 600;
		padding: 20px;
		position: relative;
	  }
	  .faq .to-bottom::before {
		content: "";
		position: absolute;
		top: 50%;
		right: 1rem;
		transform: translateY(-50%);
		border-right: 8px solid transparent;
		border-left: 8px solid transparent;
		border-top: 10px solid #707070;
	  }
	  .faq .to-bottom::after {
		content: "";
		position: absolute;
		top: 50%;
		right: calc(1rem + 1px);
		border-right: 7px solid transparent;
		border-left: 7px solid transparent;
		transform: translateY(calc(-50% - 2px));
		border-top: 9px solid #ffffff;
	  }
	  .faq .to-top::before {
		content: "";
		position: absolute;
		top: 50%;
		right: 1rem;
		transform: translateY(-50%);
		border-right: 8px solid transparent;
		border-left: 8px solid transparent;
		border-bottom: 10px solid #707070;
	  }
	  .faq .to-top::after {
		content: "";
		position: absolute;
		top: 50%;
		right: calc(1rem + 1px);
		border-right: 7px solid transparent;
		border-left: 7px solid transparent;
		transform: translateY(calc(-50% + 1px));
		border-bottom: 9px solid #ffffff;
	  }
	  .faq_answer {
		display: none;
		padding: 30px;
		border-top: 1px solid #bcbcbc;
	  }
	  #return-to-top em {
		color: #fff;
		margin: 0;
		position: relative;
		left: 16px;
		top: 13px;
		font-size: 19px;
		-webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-ms-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

.trumbowyg-editor {
  min-height: 165px !important;
}
.trumbowyg-box.trumbowyg-editor-visible {
  min-height: 165px !important;
}
/*NUOVA INTERFACCIA*/
	
.portletHomepageWrapper {
	padding:10px;
}

dl.portlet.rtCollectionPortlet.HomepageNOTitlePortlet {
	margin-bottom:0px;
	border:0 none;
	background-color:transparent;
}
.HomepageNOTitlePortlet .portletItem {
	width:160px;
	height:210px;
	text-align:center;
	margin:0 21px 50px;
	vertical-align:top;
	display: inline-block;
	text-align:center;
	background-color: #003366;
	position: relative;
	transition: all .2s ease-in-out;
	border-radius:30px;

}

.HomepageNOTitlePortlet .portletItem:hover {
	transform: scale(1.1);	
	background-color:#205C90;
}



.HomepageNOTitlePortlet .portletItem:first-child {
	margin-left:0px;
}

#return-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	
	background: #0066cc;
	width: 50px;
	height: 50px;
	display: block;
	text-decoration: none;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	border-radius: 35px;
	display: none;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#return-to-top em {
	color: #fff;
	margin: 0;
	position: relative;
	left: 16px;
	top: 13px;
	font-size: 19px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#return-to-top:hover {
	background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover em {
	color: #fff;
	top: 5px;
}

p.tile_title {
	margin-top: 156px;
    text-align: center;
    display: block;
    color: white;
    font-size: 1em;
}

dl.portlet dd.portletItem a {
	word-wrap: break-word;
  text-decoration: none;
}
dl.portlet.rtCollectionPortlet.HomepageNOTitlePortlet dd.portletItem img.tileImage {
	position: absolute;
    top: 10%;
    left: 15%;
    width: 120px;
    height: 120px;
}
.visualClear {
	clear:both;
}

		/*ANTEPRIMA*/

		.preview .half-button{
			width: 675px;
			float:left;
			text-align: center;
		}
		.half-section{
			width: 607px;
			float:left;
			padding-left:5px;
		}

	.half-button a.btn.btn-warning, a.btn.btn-confirm{
		font-size:30px;
		padding:10px 20px;
		width:50%;
		color: #fff;
	
	
	}



.btn-confirm:hover {
	color: #fff;
  background-color: #449d44;
  border-color: #398439;
}

	.hint{
		text-align:center;
		border-radius:2px;
		font-size:26px;
		padding:5px 5px;
		margin:5px 15px;
	}
	.warning {
		background-color: #fff3b1;
		color:#846017;
		border:2px solid #846017;
	}
	.warning em {
		font-size:1.6em;
		font-weight:bold;
	}



form .inpreview-chk .fake-checkbox {
	width: 35px;
	height: 35px;
	background-color: #fff;
	border: 1px solid #ddd;
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	line-height: 24px;
	float: left;
	padding: 3px 0px;
}

	form .inpreview-chk label {
    font-size: 20px;
    text-transform: none;
    float: left;
    margin-left: 10px;
}

form hr {
	border-width: 0px 0px 4px 0px;
	border-style: dashed;
	border-color: #ddd;
	padding: 10px 0px;
}


.killer {
    position: absolute;
    top: -27px;
    right: 0px;
    background-color: #FAFAFA;
    border-radius: 3px 3px 0 0;
    border-style: solid;
    border-color: #666;
    border-width: 1px 1px 1px 1px;
    padding: 2px 6px;
    cursor: pointer;
    color: #a80000;
}

/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
#progressbar li {
	list-style-type: none;
	color: #10638A;
	text-transform: uppercase;
	font-size: 18px;
	width: 20%;
	float: left;
	position: relative;
	font-weight:700;
	text-align:center;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 26px;
	line-height: 26px;
	display: block;
	font-size: 18px;
	color:white;
	background:#10638A;
	border-radius: 3px;
	margin: 0 auto 5px auto;
	
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 4px;
	background: #10638A;
	position: absolute;
	left: -45%;
	top: 12px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after {
	background: #5cb85c;
	color:white;
}

#progressbar li a {
	color:#5cb85c;
	font-weight: 700;
	text-decoration: none !important;
}

ul.ui-autocomplete.ui-menu.ui-widget.ui-widget-content.ui-corner-all {
	font-size:15px;
}

/*FOOTER*/

footer{
    background-color: #036;
    color: white;
	  z-index:100;
}
ul.link-list {
    padding: 0;
    list-style-type: none;
}
footer ul.link-list li a {
    color: #fff;
    padding: 0;
    font-size: 1rem;
    font-weight: 300;
    text-decoration: underline;
}
footer .footer-small {
    background-color: #001d3a;
}
footer .footer-small a {
    font-weight: 300;
    text-decoration: underline;
    font-size: .935rem;
}
.link-white {
    color: #fff;
}

#myBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 102;
    border: none;
    outline: none;
    background-color: #2F66CB;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;

  }
  
  #myBtn:hover {
    background-color: #2054b5;
  }

  .footer-dark h3 {
	background: #036;
    padding: 0px;
    margin: 0px;	
}


#portal-footer-wrapper {
    background-color: #30373d;
    padding: 50px 0px;
    color: #fff !important;
    clear: both;
}

#footer-wrapper {
    width: 1350px;
    margin-right: auto;
    margin-left: auto;
}

#portal-footer-wrapper .portal-footer {
    width: 100%;
}
@media (min-width: 992px) {
	.colonna-1-di-4 {
    width: 25%;
    float: left;
    padding-right: 15px;
}
}

#portal-footer-wrapper h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    background: none;
    padding: 0px;
}


#portal-footer-wrapper a {
    color: #65dde0;
    border-color: #65dde0 !important;
    border: 0;
}

#portal-footer-wrapper p {
	color: #fff;
}

#portal-footer-wrapper ul li {
    padding-bottom: 5px;
    padding-left: 0;
    background: none;
    line-height: 1.5em;
    font-size: 18px;
}


#portal-footer-wrapper a span {
    font-size: 22px;
    margin: 10px 0 8px 60px;
    display: block;
    font-weight: 600;
    line-height: 38px;
}

#portal-footer-wrapper a h3 {
    font-size: 16px;
    margin: 0px 0 0 60px;
    display: block;
    font-weight: normal;
    line-height: 0px;
    background: none;
    padding: 0 0 0 0;
    color: #FFF;
}
#portal-footer-wrapper img {
border: none;
    display: block;
    margin: 0px 0 0 0px;
    padding: 10px;
    height: 65px;
    position: absolute;
}

#portal-footer-wrapper .portletItem {
    padding: 1em;
    margin: 0;
}

h1.title {
    background-color: #003366;
    color: white;
    font-family: 'Titillium Web', Helvetica, Arial, sans-serif;
    font-size: 1.9em;
    font-weight: bold;
    padding: 0.5em 22px;
    line-height: 1em;
    border-bottom: 5px solid #004d99;
    margin-bottom: 0;
}

.content .taxonomy-term.vocabulary-speciale .content-body, .content .taxonomy-term.vocabulary-commissari .content-body {
    position: relative;
    width: 100%;
}


.content .taxonomy-term .field--name-description, .content .taxonomy-term .content-body {
	width: 30%;
    height: 100%;
    position: absolute;
    z-index: 10;
    background-color: rgba(230, 230, 230, 0.8);
    font-size: 20.8px;
    line-height: 1.3em;
}

.content .taxonomy-term .content {
    position: relative;
}

.content .taxonomy-term .field--name-description p, .content .taxonomy-term .field--name-description h3, .content .taxonomy-term .content-body p, .content .taxonomy-term .content-body h3 {
    margin: 16px;
}

.field--type-entity-reference {
    margin: 0 0 1.2em;
}

.page-vocabulary-speciale .vocabulary-speciale .field--name-field-image-media img, .page-vocabulary-speciale .vocabulary-commissari .field--name-field-image-media img, .page-vocabulary-commissari .vocabulary-speciale .field--name-field-image-media img, .page-vocabulary-commissari .vocabulary-commissari .field--name-field-image-media img {
    width: 100%;
}

.content .taxonomy-term .field--name-description p, .content .taxonomy-term .field--name-description h3, .content .taxonomy-term .content-body p, .content .taxonomy-term .content-body h3 {
    margin: 20px;
}

.view .view-header {
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 1.2em;
}

.block {
    margin-bottom: 20px;
    clear: both;
}
.content .taxonomy-term .field--name-description p, .content .taxonomy-term .field--name-description h3, .content .taxonomy-term .content-body p, .content .taxonomy-term .content-body h3 {
    margin: 16px;
}

.field--type-entity-reference {
    margin: 0 0 1.2em;
}

.content .view-taxonomy-term-custom .view-header {
    padding-top: 0;
}

.view .view-header {
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 1.2em;
}

.views-element-container {
    padding: 0;
}

.page-vocabulary-speciale .vocabulary-speciale .field--name-field-image-media img, .page-vocabulary-speciale .vocabulary-commissari .field--name-field-image-media img, .page-vocabulary-commissari .vocabulary-speciale .field--name-field-image-media img, .page-vocabulary-commissari .vocabulary-commissari .field--name-field-image-media img {
    width: 100%;
}


/*FAQ*/
#full-faq .faq-area .card .card-header.active {
    background-color: #10638A;
}

#full-faq {
    padding: 0px 0 50px 0px;
}

#full-faq .faq-area .card {
    border: 0;
    margin: 8px 0;
    overflow: visible;
    -webkit-appearance: none;
}

.card-body {
    padding: 20px 30px;
}

#full-faq .faq-area .card .card-header {
    border: 0;
    padding: 0;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: solid 1px #e3e8ec;
    background-color: #10638A;
    -webkit-appearance: none;
}

h2.mb-0 {
    font-size: 18px;
    clear: both;
    margin: 5px 0 5px 10px;
    font-weight: 600;
}

#full-faq .faq-area .card .card-header h2 a {
    padding: 10px 10px 10px 10px;
    font-weight: 600;
    font-size: 18px;
    font-stretch: normal;
    font-style: normal;
    line-height: 0;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    -webkit-appearance: none;
}

.notice-box-topic {
	font-size:20px;
	text-decoration: underline;
	margin-left: 2px;
	font-weight:bold;
	
} 

.notice-box-text {
	margin-bottom:25px;
	font-size:18px;
	margin-left: 2px;
}


.notice-box {
    width: 85%;
    margin: 25px auto 0;
    box-shadow: 1px 2px 4px 0 rgb(0 0 0 / 10%);
    border-top: 10px solid #3b86d0;
    border-radius: 10px;
    padding: 24px;
	margin-bottom:30px;
}

.block-type-links .field--name-field-image-links .field__item .field--name-field-link a, .block-type-links .field--name-field-image-links .field-content .field--name-field-link a, .block-type-links .views-field-field-image-link .field__item .field--name-field-link a, .block-type-links .views-field-field-image-link .field-content .field--name-field-link a {
    color: white;
    background-color: #004d99;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 0;
    border: 0;
    padding: 15px 5px 10px 5px;
    display: block;
    border-bottom: 5px solid #003366;
    text-transform: initial;
    padding-right: 15px;
    padding-left: 15px;
    padding-right: 5px;
    padding-left: 5px;
}

.container-fluid {
    max-width: 100% !important;
	border: 0px solid !important;
    margin-right: auto;
    margin-left: auto;
	height:8px;
	box-shadow: none !important;
}



div.container-fluid.flag-container .row {
    height: 100%;
    margin: 0;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
	}



div.col-4.flag-1 {
    background: #009246;
}

div.col-4.flag-2  {
    background: white;	
}
div.col-4.flag-3  {
    background: #ce2b37;
}



.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333% !important;
    max-width: 33.333333%;
}

@media (min-width: 0) and (max-width: 991px) {
    .content .taxonomy-term .field--name-description, .content .taxonomy-term .content-body {
		width: inherit;
		height: inherit;
		position: inherit;
       
    }
}

@media (min-width: 0) and (max-width: 991px) {
    .content .taxonomy-term .content {
        display: -webkit-flex;
        flex-flow: column;
    }

	.content .taxonomy-term {
		display: -webkit-flex;
        flex-flow: column;
	}
	img {
		vertical-align: text-bottom;
		max-width: 100%;
		height: auto;
	}
}


@media (max-width: 375px) {
    .HomepageNOTitlePortlet .portletItem, .HomepageNOTitlePortlet .portletItem:first-child {
        margin: auto;
        display: inline-block;
        margin-bottom: 50px;
		margin-left: 4px;

		
	
    }

	.portletHomepageWrapper {
	margin-left: 10px;
    margin-right: 10px;
	}

	.portletHomepageWrapper {
		padding:0px;
	}
}


@media (min-width: 376px) and (max-width: 401px) {
    .HomepageNOTitlePortlet .portletItem, .HomepageNOTitlePortlet .portletItem:first-child {
        margin: auto;
        display: inline-block;
        margin-bottom: 50px;
		margin-left: 10px;

		
	
    }

	.portletHomepageWrapper {
	margin-left: 10px;
    margin-right: 10px;
	}
}

@media (min-width: 401px) and (max-width: 767px) {
    .HomepageNOTitlePortlet .portletItem, .HomepageNOTitlePortlet .portletItem:first-child {
        margin: auto;
        display: inline-block;
        margin-bottom: 50px;
		margin-left: 20px;

		
	
    }


}

@media (max-width: 767px) {
    #container, #portal-footer-wrapper {
        width: 100%;
		padding-top:0px !important;
    }
	#progressbar li {
        font-size: 9px !important;
        width: 18% !important;
    }

	.col-sm-7, .col-sm-5{
		padding-right: 0px !important;
		padding-left: 0px !important;
	}

	a.btn.btn-primary{
		margin:0 0 15px 30px !important;
		width: 85% !important;
	}

	.colonna-1-di-4 {
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: 0px !important;
}
}



.page-vocabulary-speciale .vocabulary-speciale .field--name-field-image-media img, .page-vocabulary-speciale .vocabulary-commissari .field--name-field-image-media img, .page-vocabulary-commissari .vocabulary-speciale .field--name-field-image-media img, .page-vocabulary-commissari .vocabulary-commissari .field--name-field-image-media img {
    width: 100%;
}




.mobile {
	width:100%;
	position: relative;
	z-index: 3;
}

.mobile ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	
}

.mobile li a {
	display: block;
	padding: 10px 20px;
	border-right: 1px solid #f4f4f4;
	text-decoration: none;
}

.mobile li a:hover,
.mobile .menu-btn:hover {
	background-color: #f4f4f4;
}

.mobile .logo {
	display: block;
	float: left;
	font-size: 2em;
	padding: 10px 20px;
	text-decoration: none;
}

/* menu */

.mobile .menu {
	clear: both;
	max-height: 0;
	transition: max-height .2s ease-out;
	display:none;
}

/* menu icon */

.mobile .menu-icon {
	cursor: pointer;
	display: inline-block;
	float: right;
	padding: 20px 10px 0px 0px;
	position: relative;
	user-select: none;
}

.mobile .menu-icon .navicon {
	background: #333;
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 18px;
}

.mobile .menu-icon .navicon:before,
.mobile .menu-icon .navicon:after {
	background: #333;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}

.mobile .menu-icon .navicon:before {
	top: 5px;
}

.mobile .menu-icon .navicon:after {
	top: -5px;
}

	/* menu btn */
	
	.mobile .menu-btn {
		display: none;
	}
	
	.mobile .menu-btn:checked ~ .menu {
		max-height: 240px;
	}
	
	.mobile .menu-btn:checked ~ .menu-icon .navicon {
		background: transparent;
	}
	
	.mobile .menu-btn:checked ~ .menu-icon .navicon:before {
		transform: rotate(-45deg);
	}
	
	.mobile .menu-btn:checked ~ .menu-icon .navicon:after {
		transform: rotate(45deg);
	}
	
	.mobile .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
	.mobile .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
		top: 0;
	}

	.mobile .menu-btn:checked + .header-logo {
	display:none !important;
	}

	
	
	/* 48em = 768px */
	
	@media (min-width: 48em) {
		.mobile li {
			float: left;
		}
		.mobile li a {
			padding: 20px 30px;
		}
		.mobile .menu {
			clear: none;
			float: right;
			max-height: none;
		}
		.mobile .menu-icon {
			display: none;
		}

	}

	@media (max-width: 767px) {
		#headbar {
			display: none;
		}
		.container-fluid {
			display: none;
		}
	}

	@media (min-width: 48em) {
		.mobile {
			display: none;
		}
	}

	@media (max-width: 767px) {
		.mobile .menu {
			display: block !important;
		}
	}

	html, body {
		overflow-x: hidden;
	  }
	  body {
		position: relative
	  }


	  .header-user {
		position: absolute;
	
		color: #fff;
		top: 10px;
		right: 25px;
	}
	
	.header-user span {
		border-radius: 100%;
	
		color: #fff;
		font-size: 2em !important;
	}
	
	.header-user-menu {
		position: absolute;
		top: 10px;
		right: -26px;
	}
	
	#headbar ul li:last-child {
	}

			/*PARTECIPATE JS*/


			.resizer {
				clear: both;
			}
		
			a.add.addOffice {
				margin: 0 0 30px 23px;
				font-weight: bold;
				border: 1px solid #333;
				padding: 0.7917em 1.5em;
				border-radius: 1px;
				background-color: #333;
				color: #fff;
				font-style: normal;
				text-decoration: none;
				display: inline-block;
			}
		
			a.rm.removeOffice {
			float:right;
			font-weight:bold;
			border:1px solid #333;
			padding: 0px 10px 12px 10px;
			border-radius:1px;
			background-color: #333;
			color:#fff;
			font-style:normal;
			text-decoration:none;
			display:inline-block;
		
			}
		
			.odder:nth-child(odd){
				border-width: 0 0 0px 0;
				border-style: dashed;
				border-color: #ddd;
				margin-bottom:30px;
			}
			.odder:nth-child(odd) .form-group, .odder:nth-child(odd){
			
				background-color: #fff;
			}
			.odder:nth-child(even) .form-group, .:nth-child(even){
				background-color: #fff;
			}
			/*ANAGRAFICHE JS*/
		
			
			a.add.addAnagrafica {
				margin:0 0 30px 23px;
				font-weight:bold;
				border:1px solid #333;
				padding: 0.7917em 1.5em;
				border-radius:1px;
				background-color: #333;
				color:#fff;
				font-style:normal;
				text-decoration:none;
				display:inline-block;
		
			}
		
			a.reset.resetAnagrafiche {
			
				font-weight:bold;
				border:1px solid #333;
				padding: 0.7917em 1.5em;
				border-radius:1px;
				background-color: #333;
				color:#fff;
				font-style:normal;
				text-decoration:none;
				display:inline-block;
			}
		
			a.addFamiliar.add {
				margin:0 0 30px 23px;
				font-weight:bold;
				border:1px solid #333;
				padding: 0.7917em 1.5em;
				border-radius:1px;
				background-color: #333;
				color:#fff;
				font-style:normal;
				text-decoration:none;
				display:inline-block;
		
			}
		
			a.removeFamiliar.rm {
				float:right;
				font-weight:bold;
				border:1px solid #333;
				padding: 0px 10px 12px 10px;
				border-radius:1px;
				background-color: #333;
				color:#fff;
				font-style:normal;
				text-decoration:none;
				display:inline-block;
				margin-right:0px;
			
				}
		
				a.rm.removeFamiliar.phpversion {
					float:right;
					font-weight:bold;
					border:1px solid #333;
					padding: 0px 10px 12px 10px;
					border-radius:1px;
					background-color: #333;
					color:#fff;
					font-style:normal;
					text-decoration:none;
					display:inline-block;
					margin-right:10px;
				
					}
		
				a.rm.removeThisFamiliar.phpversion {
					float:right;
					font-weight:bold;
					border:1px solid #333;
					padding: 0px 10px 12px 10px;
					border-radius:1px;
					background-color: #333;
					color:#fff;
					font-style:normal;
					text-decoration:none;
					display:inline-block;
					margin-right:10px;
				}
		
				a.rm.removeThisFamiliar {
					float:right;
					font-weight:bold;
					border:1px solid #333;
					padding: 0px 10px 12px 10px;
					border-radius:1px;
					background-color: #333;
					color:#fff;
					font-style:normal;
					text-decoration:none;
					display:inline-block;
					margin-right:0px;
				}
		
				.box-familiare{
					padding-left:75px;
					margin-bottom:30px;
				}
		
				a#copia_richiedente{
					float:right;
					font-weight:bold;
					border:1px solid #333;
					padding: 5px 10px 7px 10px;
					border-radius:1px;
					background-color: #333;
					color:#fff;
					font-style:normal;
					text-decoration:none;
					display:inline-block;
					margin-right:28px;
				}
		
		
				div.ui-datepicker-title {
					color:black !important;
				}


/* CSS for the accordion */
.accordion {
	cursor: pointer;
  }
  
  .accordion-content {
	display: none;
	padding: 10px;
  }
  
  .accordion-content.show {
	display: table-row;
  }

  .show {
	display: table-row !important;
  }

   /* Modal backdrop */

   body.modal-open {
    padding-right: 0 !important;
    overflow: hidden; /* Optional: Prevent scrolling when the modal is open */
}
   .modal-open .modal {
    opacity: 1 !important;
padding-right: 0px !important;
}
.modal-dialog {
	width: 1000px !important;
	margin: 210px auto !important;
	
}

   .modal-backdrop {
	opacity: 0.5 !important; /* Increase opacity */
    background-color: #fff; /* Ensure the backdrop is black */
}

/* Modal content */
.modal-content {

	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
	border: none; /* Remove default border */
	border-radius: 12px !important;
}

/* Modal header */
.modal-header {
	background-color: #28a745; /* Green background */
	color: white; /* White text */
	border-top-left-radius: 10px; /* Rounded corners */
	border-top-right-radius: 10px;
	padding: 15px; /* Padding */
}

/* Modal title */
.modal-title {
	font-size: 18px; /* Font size */
	font-weight: bold; /* Bold text */
}

/* Modal body */
.modal-body {
	padding: 20px; /* Padding */
	font-size: 16px; /* Font size */
	color: #333; /* Dark text */
}

/* Modal footer */
.modal-footer {
	border-bottom-left-radius: 10px; /* Rounded corners */
	border-bottom-right-radius: 10px;
	padding: 15px; /* Padding */
	background-color: #f8f9fa; /* Light background */
	border-top: 1px solid #ddd; /* Border on top */
}

/* Close button */
.modal-footer .btn-secondary {
	background-color: #003366;/* Blue background */
	border: none; /* Remove border */
	color: white; /* White text */
	padding: 8px 16px; /* Padding */
	border-radius: 5px; /* Rounded corners */
}



/* Success message */
.modal-body.text-success {
	color: #28a745; /* Green text for success */
}

/* Error message */
.modal-body.text-danger {
	color: #dc3545; /* Red text for error */
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 1 !important;
}

/*Multi select*/

/* Qualifica Selector Styles */
.multi-select-container {
    position: relative;
    margin-top: 8px;
}

.suggestions-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.selected-option {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #e9f7fe;
    border-radius: 20px;
    font-size: 14px;
    color: #0a6ebd;
    border: 1px solid #b8d9f3;
}

.selected-option span {
    margin-right: 6px;
}

.remove-option {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.remove-option:hover {
    color: #d33;
}

.no-options {
    color: #999;
    font-style: italic;
    padding: 8px 0;
}


/*WIDGET CONTENT*/
.ui-widget-content {
    border: 1px solid #dddddd;
    background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;
    color: #333333;
}

.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
    z-index:1000;
}

.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
	  
}

.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: .2em .4em;
    line-height: 1.5;
    zoom: 1;
}

.ui-widget-content a {
    color: #333333;
}

/*CHECKBOXES*/
.form-check-input.is-invalid {
  border-color: #dc3545;
}

.form-check-input.is-invalid:checked {
  border-color: #dc3545;
  background-color: #dc3545;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.file-input-group {
  display: flex;
  margin-bottom: 10px;
}
.file-input-group .form-control {
  flex-grow: 1;
}
.file-input-group .btn {
  margin-left: 5px;
}
.remove-file-btn {
  background-color: #dc3545;
  color: white;
}

.file-input-group {
  transition: all 0.3s ease;
}
.file-name-display {
  background-color: #f8f9fa;
}

/*BACKEND MODALS*/
/* === Modal Wrapper === */
/* === Modal Wrapper === */
.unified-modal {
    width: 90%;
  
    position: fixed;
    border: 1px solid #666;
    background-color: #fafafa;
    top: 3.5%;
    left: 5%;
    border-radius: 4px;
}


/* === Modal Content Box === */
.unified-modal .modal-inner {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  max-height:90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  box-sizing: border-box;
}

/* === Headings === */
.unified-modal h3,
.unified-modal h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* === Form Row === */
.unified-modal .m-row {
  
  width: 100%;
  box-sizing: border-box;
}

/* === Form Field === */
.unified-modal .m-field {
  flex: 1 1 100%;
  box-sizing: border-box;
}

.unified-modal .m-field.half {
  flex: 1 1 48%;
  margin-right: 10px;
}

/* === Labels === */
.unified-modal label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* === Inputs & Selects === */
.unified-modal input[type="text"],
.unified-modal input[type="email"],
.unified-modal input[type="file"],
.unified-modal input[type="hidden"],
.unified-modal select,
.unified-modal textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

/* === Inline Label (Checkboxes) === */
.unified-modal .inline {
  display: inline-block;
  margin-right: 20px;
}

/* === Dropzone Placeholder === */
.unified-modal .dropzonne,
.unified-modal .dropzone {
  min-height: 80px;
  border: 2px dashed #ccc;
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
}

/* === Buttons === */
.unified-modal .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
}

.unified-modal .btn-success {
  background-color: #28a745;
  color: white;
}

.unified-modal .btn-danger {
  background-color: #dc3545;
  color: white;
}

/* === Close Button === */
.unified-modal .killer {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  z-index: 10;
}

/* === Loading Overlay === */
.unified-modal .loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.unified-modal .loading .inner {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

/* === Horizontal Rule === */
.unified-modal hr {
  border: 0;
  height: 1px;
  background-color: #eee;
  margin: 15px 0;
}

/* === Center-Aligned Field or Button === */
.unified-modal .m-field.center {
  text-align: center;
}
.unified-modal {
  display: none; /* Hide by default */
}

