/** PREVENTIVI **/

div.Preventivi form.TAB {
    max-width: 1200px !important;
}
div.Preventivi div.BOX_ACTION div.ACTION {
    max-width: 1200px !important;
}
div.Preventivi div.BOX form.TAB{
    padding-left: 15px;
}
div.Preventivi div.BOX form.TAB a.fcs_group_checkbox label{
    margin-left: 21px; 
    text-indent: -21px;
}
div.Preventivi div.BOX form.TAB div.sub_title{
    width: calc(100% + 18px);
    margin-left: -14px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;;
    color: #0095d6;
    border-bottom: 6.5px solid #C7E6ED;
}
div.Preventivi div.BOX form.TAB div.label{
    font-size: 18px;
    font-weight: 700;;
    color: var(--color1);
}
div.Preventivi input.number.pagaccnl.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.pagaccnl.num2_1 {
    width: 120px !important;
}
div.Preventivi input.number.superminimo.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.imp_libero.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.imp_paga_maggiorata.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.imp_paga_maggiorata.num2_1 {
    width: 120px !important;
}
div.Preventivi input.number.tot_paga_maggiorata.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.tot_paga_maggiorata.num2_1 {
    width: 120px !important;
}
div.Preventivi input.number.imp_amministrazione.no_dot {
    width: 150px !important;
    height: 28px !important;
}
div.Preventivi .bt-row.perc-99 {
    justify-content: flex-end;
}
div.Preventivi input.date.data_inizio {
    font-size: 23px !important;
}
div.Preventivi input.date.data_fine {
    font-size: 23px !important;
}
div.Preventivi input.date.data_stampa {
    font-size: 23px !important;
}
div.Preventivi input.number.pagaccnl.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.pagaccnl.num2_1 {
    width: 120px !important;
}
div.Preventivi input.number.superminimo.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.imp_libero.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.imp_paga_maggiorata.no_dot {
    width: 120px !important;
}
div.Preventivi input.number.imp_amministrazione.no_dot {
    width: 160px !important;
}
div.Preventivi input.number.tot_paga_maggiorata.no_dot {
    width: 120px !important;
}
div.Preventivi select.combo.ore_inps {
    font-weight: bold;
}

/** FINE PREVENTIVI **/

/** TUTORIAL **/

div.Tutorial .video-box-wrapper {
    border: 1px solid var(--color1); 
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    position: relative; 
    display: block; 
    text-align: center; 
    overflow: hidden; 
}
div.Tutorial .video-box-wrapper .video-overlay-btn {
    position: absolute; 
    bottom: 5px;        
    left: 50%;           
    transform: translateX(-50%);
    width: 80%; 
    max-width: 150px; 
    z-index: 10; 
    text-align: center;
    margin: 0;
    padding: 0;
}
div.Tutorial .video-box-wrapper .video-placeholder-default {
    width: 100%; 
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
div.Tutorial .video-box-wrapper .video-placeholder-default img {
    width: 100%; 
    height: auto;
    max-height: 120px; 
    object-fit: cover; 
}
div[f4m_type="GRID"][name="tipologie_tutorial"] {
    position: relative;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    overflow: auto;
    overflow-y: auto;
    overflow-x: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: black; 
    border: 1px solid var(--colore-bordo-neutro);
    background-color: var(--colore-sfondo-pagina); 
    font-size: 14px; 
    border-radius: 6px; 
    
}
div[f4m_type="GRID"][name="tipologie_tutorial"] div.HEAD {
    display: inline-block;
    overflow-y: hidden;
    overflow-x: visible;
    position: sticky;
    top: 0;
    z-index: 2;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 30px; 
    line-height: 30px;
    padding-bottom: 8px; 
    border-bottom: #0095d6 1px solid;
    background: var(--sfondo-leggero-primario) !important; 
    background-color: var(--sfondo-leggero-primario) !important;
    color: black; 
    font-weight: 600; 
    font-size: 15px;
}
div[f4m_type="GRID"][name="tipologie_tutorial"][check_color="true"] table tbody tr[check="true"] {
    background-color: var(--sfondo-selezione-attiva) !important;
}
div[f4m_type="GRID"][name="tipologie_tutorial"] * {
    border-color: #0095d6 !important;
}
div[f4m_type="GRID"][name="tipologie_tutorial"] table tbody tr:hover {
    background-color: var(--sfondo-leggero-primario);
    cursor: pointer; 
}
div[f4m_type="GRID"][name="tipologie_tutorial"] table th, 
div[f4m_type="GRID"][name="tipologie_tutorial"] table td {
    border-bottom: 1px solid var(--colore-bordo-neutro) !important; 
    word-break: break-word; 
    overflow: hidden;
    box-sizing: border-box;
    padding: 7px 5px; 
}

/** FINE TUTORIAL **/

/** FAMIGLIA **/

div.Famiglie .BOX .TAB
{
    background-color: var(--colorbianco);
}
div[f4m_prototype=tab] div.Famiglie .BOX .TAB.no_gap:before
{
    background-color: var(--colorbianco);
}
div.Famiglie div[f4m_type="READONLY"]:not([f4m_aria="NOTE"]) {
    padding: var(--margin0);
    border: 1px solid var(--color1);
    border-radius: var(--radius1);
    line-height: 28px;
}


/** FINE FAMIGLIA **/

/**OPERATORE**/
div.Operatori div[f4m_type="READONLY"]:not([f4m_aria="NOTE"]) {
    padding: var(--margin0);
    border: 1px solid var(--color1);
    border-radius: var(--radius1);
    line-height: 28px;
}

/** SLICK SLIDER **/

.slick-arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	background-color: var(--color1);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.slick-arrow i {
	color: var(--colorbianco0);
	font-size: 20px;
	line-height: 20px;
}
.slick-prev-arrow {
	left: 5px;
}
.slick-next-arrow {
	right: 5px;
}

/** FINE SLICK SLIDER **/

/* COLLAPSIBLE*/

.collapsible-box {
    background-color: white;
    color: var(--color1);
    border-left: 2px solid var(--color1); 
    padding: 0.75rem 1.25rem;
    font-size: 1.2rem;   
    width: 100%;
    margin-bottom: 0.5rem;
    cursor: pointer;
}
.collapsible-content {
    margin-top: 1rem;
}
.collapsible-header {
    background-color: var(--color1);
    color: white;
    padding: 5px;
    cursor: pointer; 
    border-radius: 10px; 
}
.left-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.50rem;
}

/** FINE COLLAPSIBLE **/

/** NOTIFICA TICKET **/

.ticket_notifica {
    background-color: #ff0000; 
    color: #ffffff; 
    border-radius: 50%; 
    padding: 2px 6px; 
    font-size: 12px; 
    font-weight: bold; 
    position: absolute; 
    top: -5px; 
    right: -10px; 
    display: inline-block; 
    min-width: 20px; 
    text-align: center;
}

/** FINE NOTIFICA TICKET **/
        
/** SUPERMIX **/

div.sub_menu div.btn span.button {
    position: relative;
    top: -1px;
    right: -1px;
}

#stateButton {
    background-color: var(--color2);
}
.gs-check-center label {
    font-size: 1.2em !important;
}
.js_hidden {
    display: none;
}
.rotate {
    transition: transform 0.3s ease;
}
.rotate.down {
    transform: rotate(0deg);
}
.rotate.up {
    transform: rotate(180deg);
}
.btn-info.active {
    background-color: #004085 !important; /* Bootstrap dark blue shade */
    border-color: #004085 !important;
}
.form-check-input {
    margin-right: 6px; /* small gap between dot and label text */
}
.question-text {
    font-size: 14px;
    font-style: italic;
    color: #6c757d; /* Bootstrap muted gray */
    line-height: 1.4;
}
.gs-check-center label {
    font-size: 18px !important;
}

.print-groups.error-outline {
    outline: 3px solid rgba(220,53,69,0.95); /* strong red */
    outline-offset: 6px;
    border-radius: 6px;
    /* fallback if outline gets ignored: subtle box shadow */
    box-shadow: 0 0 0 3px rgba(220,53,69,0.12);
}
.print-groups .error-text {
    display: none;
    color: #dc3545;
    margin-top: .5rem;
    font-size: .9rem;
}
.print-groups.error-outline .error-text { display: block; }

.detail-box {
    border-top: 3px solid #00a0e3; /* blue line */
    padding-top: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
    }
.detail-title {
    color: #00a0e3;
    font-weight: bold;
    margin-bottom: 5px;
}
.detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #ccc;
}
.detail-label {
    display: flex;
    align-items: center;
    color: #555;
}
.detail-label::before {
    content: "●";
    color: #00a0e3;
    font-size: 0.7rem;
    margin-right: 6px;
}  
.detail-value {
    font-weight: 500;
}

#stateModal .form-check:hover {
    background-color: #f1f9ff;
    transition: background-color 0.3s ease;
}
#stateModal .form-check-input:checked + .form-check-label {
    font-weight: 600;
}

.image-btn {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F54927;
    border: 5px solid #6c757d;    
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    cursor: pointer;
}
.image-btn img {
    width: 85%; 
    height: 85%;
    object-fit: contain;
}

.clicked-style {
    border-color: #28a745 !important; 
    background-color: #28a745 !important; 
}

.box_button_delete {
    display: none !important;
}

.sex-disabled {
    pointer-events: none; 
    opacity: 1;           
}

input.date.datanascita {
    font-size: 23px !important;
}
input.date.data_stampa {
    font-size: 23px !important;
}

/** FINE SUPERMIX **/
