@import url('vugraph.css');
@import url('board.css');
.mceCustomBackgroundColor{
	background-color: #fff;
}
.bg-tavolo{
	background-image: url('sfondo_tavolo.jpg');
}
.page{
	width: 100%;
	max-width: 1600px;
	margin: 0 auto; 
}
.tavolo-da-bridge{
	min-height: 450px; /*rispettare il min-height di .tavolo*/
	position: relative; 
	margin-top: 10px;
	padding: 25px;
}
.tavolo{
	min-height: 450px;
}
.tavolo-cross{
	background-image: url('tavolo-tr.png');
	background-repeat: no-repeat; 
	background-size: 100px;
	width: 100px;
	height: 100px;
	position: absolute; 
}
.tavolo-cross-tl{
	top: 0px; 
	left: 0px;
	transform: rotate(-90deg);
}
.tavolo-cross-tr{
	top: 0px; 
	right: 0px;
}
.tavolo-cross-bl{
	bottom: 0px; 
	left: 0px;
	transform: rotate(180deg);
}
.tavolo-cross-br{
	bottom: 0px; 
	right: 0px;
	transform: rotate(90deg);
}
.tavolo-border{
	background-image: url('tavolo-border.png');
	background-size: 100px;
	height: 100px; 
	position: absolute; 
}
.tavolo-border-t{
	top: 0px;
	left: 100px;
	right: 100px; 
}

.tavolo-border-l{
	top: 100px;
	left: 0px;
	height: auto;
	width: 100px; 
	bottom: 100px;
	background-image: url('tavolo-border-left.png');
	
}
.tavolo-border-b{
	bottom: 0px;
	left: 100px;
	width: auto;
	right: 100px;
	background-image: url('tavolo-border-bottom.png');	
}
.tavolo-border-r{
	top: 100px;
	right: 0px;
	height: auto;
	width: 100px; 
	bottom: 100px;
	background-image: url('tavolo-border-right.png');
	
}


.tavolo-card{
	 z-index: 1001;
    position: absolute;
    top: -20px;
    left: -68px;
    

	width: 200px;
    height: 160px;
    background-image: url(mazzo1.png);
    background-size: 200px 160px;
	transform: rotate(262deg);
}

.tavolo{
	position: relative;
    background-color: #fff;
	padding-top: 20px;
}
.tavolo-incontri{

}
.tavolo-incontri p{
	margin-bottom: 5px;
}

.tavolo-squadra{
	margin-top: 25px;
}

.tavolo-squadra h2{
	color: #F2B41C; 
	font-size: 18px;
}
.tavolo-squadra table td{
	color: white; 
	font-size: 15px;
}

.text-from-tiny{
	
}
.text-from-tiny ul li{
	text-align: left !important; 
}

.tavolo-opzioni{
	margin-top: 35px;
}
.tavolo-toolbar{
	position: absolute;
	right: 30px; 
	z-index: 1001;
	
}
.tavolo-toolbar a{
	color: black; 
	font-weight: bold; 
	text-decoration: none; 
}



.btn.btn-primary{
	width: 100%;
	
	font-weight: bold;
	/*
	color: white;
	background-color: #501f14;
	border:2px solid #855042;
	background-image: linear-gradient(to right, #501f14, #542116, #582317, #5c2519, #60271b, #60271b, #60271b, #60271b, #5c2519, #582317, #542116, #501f14);
	border: 2px ridge #855042;*/
	background-color: #F2B41C;
	border: 2px ridge #000;
	color: black;
	text-transform: uppercase; 
}
.btn.btn-primary.active{
	/*border:2px solid #00ff00;
	background-color: #99cc00;
	border: 2px ridge #f1b21c;
    background-image: linear-gradient(to right, #833d2e, #884132, #8e4636, #934a3a, #994f3e, #994f3e, #994f3e, #994f3e, #934a3a, #8e4636, #884132, #833d2e);*/
	background-color: black;
	border: 2px ridge #F2B41C;
	color: #F2B41C;
}
.btn.btn-primary.active,
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
	/*border:2px solid #00ff00;
	background-color: #99cc00;
	border: 2px ridge #f1b21c;
    background-image: linear-gradient(to right, #833d2e, #884132, #8e4636, #934a3a, #994f3e, #994f3e, #994f3e, #994f3e, #934a3a, #8e4636, #884132, #833d2e);*/
	background-color: black;
	border: 2px ridge #F2B41C;
	color: #F2B41C;
}

.col-btn-icontro a{
	display: block;
	height: 140px;
	
	font-weight: bold;
	/*
	background-color: #501f14;
	border:2px solid #855042; 
	color: white;
	*/
	
	
	background-color: #F2B41C;
	border:2px solid black; 
	color: black;
	
	text-decoration: none !important; 
	padding-top: 10px;
	margin-top: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius:10px;
	border-radius: 10px;
	
	text-transform: uppercase; 
	
	
}
.col-btn-icontro i{
	display: block;
	font-size: 50px;
}



#calcola_bridge h2{
	font-size: 18px; 
	color: #F2B41C; 
	margin-top: 20px;
	margin-bottom: 20px; 
	
}

#calcola_bridge label{
	color: black; 
}

#calcola_bridge .label_tavolo{
	font-style: italic; 
}
#calcola_bridge .contenitore_compagni_lin{
	border: 1px solid #000;
	padding: 10px;
	-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#calcola_bridge .contenitore_compagni_lin .form-check, 
#calcola_bridge .contenitore_compagni_lin .form-check-input{
	margin-left: 0 !important;
}
#calcola_bridge .action_anteprima_squadre{
	margin-top: 20px;
}
#calcola_bridge .formazione_squadra ul {
	list-style: none; 
	list-style-type: none; 
	list-style-image: none; 
	padding-left: 0;
	margin-left: 0;
}
#calcola_bridge .formazione_squadra ul li{
	color: black !important; 
	list-style: none; 
	list-style-type: none; 
	list-style-image: none; 
	padding-left: 0;
	margin-left: 0;
}
#calcola_bridge .formazione_squadra table td{
	color: black !important; 
}
#calcola_bridge .formazione_squadra table td strong{
	color: #F2B41C; 
}
.fase2{
	display: none; 
}
.fase2 .comandi_lin{
	margin-top: 15px;
}
.head_board {
	margin-top: 15px;
	background-color: #000;
}
.head_board div{
	color: white;
	font-weight: bold;
}
.body_board div{
	color: black;
	background-color: #fff;
	border: 1px solid;
}

.add_contratto ul{
	margin-left: 0;
	padding-left: 0;
	list-style:none; 
	list-style-image: none; 
}
.add_contratto .ul_radio_input li,
.add_contratto .ul_check_input li{
	text-align: center; 
	min-width: 50px;
    height: 40px;
	background-repeat: no-repeat !important; 
	float: left; 
	border:1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin-right: 10px;
	background-position-x:4px;
	background-position-y:0px;
	cursor: pointer; 
	font-weight: bold;
	padding: 6px;
}
.add_contratto .ul_radio_input li,
.add_contratto .ul_check_input li{
	 -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
	 opacity: 0.5;
}
.add_contratto .ul_radio_input li.active,
.add_contratto .ul_check_input li.active{
	border: 1px solid #F2B31B;
	 -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
	 opacity: 1;
}
.add_contratto .ul_radio_input li input,
.add_contratto .ul_check_input li input{
	display: none; 
}
.add_contratto .separator-line {
    border-bottom: 2px solid #dedede;
    padding-bottom: 5px;
}
.diams{
	background-image: url('/web/img/cards/diamond.png');
}
.hearts{
	background-image: url('/web/img/cards/heart.png');
	
	
}
.spades{
	background-image: url('/web/img/cards/spade.png');
}
.shamrock{
	background-image: url('/web/img/cards/club.png');
}
.nt{
	color: black; 
}
.passo{
	color: black; 
}
.numero_risultato{
	display: none; 
}
#ModalAggiungRisultato .modal-dialog{
	margin-top: 0px;
}
.tavolo-footer{
	color: black;
	margin-top: 20px;
	text-align: center; 
}
.tavolo-footer a, .tavolo-footer a:visited{
	color: black;
}
.tavolo-footer a:hover{
	text-decoration: underline; 
}
.foto-curriculm{
	width: 100%; 
	-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
	border: 2px ridge #F2B41C;
}
.tavolo-logo {
  max-height: 130px;
  height: auto;
}
@media only screen and (max-width: 760px) {
	.tavolo-toolbar a span{
		display: none; 
	}
	.tavolo-toolbar a{
		font-size: 40px;
	}
	.tavolo-card{
		left: -58px;
   		 top: -38px;
	}
}











.date-disabled {
  background-color: #f8f9fa !important; /* colore tipo input readonly Bootstrap */
  cursor: not-allowed;
  color: #495057; /* testo normale, non grigetto */
  opacity: 1; /* evita che sembri trasparente */
}
/* Contenitore principale */
.ui-datepicker {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  background-color: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
  color: #000;
  width: auto; 
}

/* Header (mese/anno + frecce) */
.ui-datepicker-header {
  background-color: #F2B41C;
  color: #000;
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 0.5rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

/* Mese/anno */
.ui-datepicker-title {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

/* Giorni della settimana */
.ui-datepicker th {
  padding: 0.5rem;
  color: #000;
  font-weight: 600;
}

/* Celle dei giorni */
.ui-datepicker td {
  padding: 0.25rem;
}

/* Link ai giorni */
.ui-datepicker td a {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.1rem;
  margin: auto;
  text-align: center;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: 0.2s all;
}

/* Hover su giorno */
.ui-datepicker td a:hover {
  background-color: #F2B41C;
  color: #000;
  border: 1px solid #F2B41C;
}

/* Giorno selezionato */
.ui-datepicker .ui-state-active {
  background-color: #F2B41C !important;
  color: #000 !important;
  border: 2px solid #e0a800 !important;
}

/* Giorni disabilitati */
.ui-datepicker-unselectable span {
  color: #bbb !important;
  background-color: #f8f9fa !important;
  border-radius: 50%;
  line-height: 2.1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: auto;
}
.ui-datepicker td span, .ui-datepicker td a{
	text-align: center; 	
}
/* Frecce next/prev */
.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer;
  color: #000;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background-color: #e6a800;
  color: #fff;
}
.ui-datepicker td a.ui-state-highlight {
  background-color: #fff8e1;
  border: 1px solid #F2B41C;
  font-weight: bold;
}
.datepicker-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #000;
  cursor: pointer;
  z-index: 10000;
}

.datepicker-close:hover {
  color: #dc3545; /* rosso Bootstrap-ish */
}


.pagination .page-item .page-link {
  color: #F2B41C;
  border: 1px solid #F2B41C;
  background-color: transparent;
  transition: all 0.2s;
}

.pagination .page-item .page-link:hover {
  background-color: #F2B41C;
  color: #fff;
  border-color: #F2B41C;
}

.pagination .page-item.active .page-link {
  background-color: #F2B41C;
  border-color: #F2B41C;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #ccc;
  background-color: #f8f9fa;
  border-color: #dee2e6;
  cursor: not-allowed;
}

/* Togli l'ombra blu dai campi form normali */
.form-control:focus {
  box-shadow: none !important;
  outline: none !important;
	border-color: #F2B41C;
}

/* Togli l'ombra blu da Select2 (tema Bootstrap 5) */
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
  box-shadow: none !important;
  outline: none !important;
  border-color: #F2B41C; /* oppure il tuo colore normale */
}

/* Togli anche da Select2 tema base se usato */
.select2-container .select2-selection--single:focus,
.select2-container--default .select2-selection--single:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Per sicurezza, anche sulla freccia della select */
.select2-container .select2-selection__arrow:focus {
  outline: none !important;
}
.select2-container--bootstrap-5 .select2-dropdown{
	border-color: #F2B41C; /* oppure il tuo colore normale */
}
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus{
	 box-shadow: none !important;
  outline: none !important;
	border-color: #F2B41C;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection{
	 box-shadow: none !important;
  outline: none !important;
	border-color: #F2B41C;
}

.btn-reset-filter{
	margin-top: 30px;
}
.link-detail{
	cursor: pointer; 
}
.link-detail:hover{
	background-color: #F2B41C; 
}


.box-icona {
  background-color: #F2B41C;
  color: #000;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-height: 140px;
	text-transform: uppercase; 
}
a.link-box-icona {
	text-decoration: none!important
}

.box-icona:hover {
  background-color: #e6a800;
  color: #fff;
  cursor: pointer;
}

.box-icona i {
  color: inherit;
}


@media (max-width: 576px) {
  #ui-datepicker-div.fullscreen-datepicker {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #fff;
  }

  #ui-datepicker-div.fullscreen-datepicker .ui-datepicker-header {
    border-radius: 0 !important;
    padding-top: 1rem !important;
  }

  #ui-datepicker-div.fullscreen-datepicker .ui-datepicker-title {
    font-size: 1.25rem;
  }

  #ui-datepicker-div.fullscreen-datepicker .ui-datepicker-calendar {
    margin-top: 1rem;
    width: 100%;
  }

  #ui-datepicker-div.fullscreen-datepicker td a {
    width: 2.8rem !important;
    height: 2.8rem !important;
    line-height: 2.5rem !important;
    font-size: 1rem;
  }

  #ui-datepicker-div.fullscreen-datepicker td {
    padding: 0.4rem;
  }

  #ui-datepicker-div.fullscreen-datepicker .ui-datepicker-unselectable span {
    width: 2.8rem !important;
    height: 2.8rem !important;
    line-height: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .tabella-vugraph th:nth-child(1),
  .tabella-vugraph td:nth-child(1) {
    min-width: 60px;   /* Numero */
  }

  .tabella-vugraph th:nth-child(2),
  .tabella-vugraph td:nth-child(2) {
    min-width: 200px;  /* Nome squadra */
  }

  .tabella-vugraph th:nth-child(3),
  .tabella-vugraph td:nth-child(3) {
    min-width: 180px;  /* Evento */
  }

  .tabella-vugraph th:nth-child(4),
  .tabella-vugraph td:nth-child(4) {
    min-width: 80px;   /* Numero mani */
    text-align: center;
  }

  .tabella-vugraph th:nth-child(5),
  .tabella-vugraph td:nth-child(5) {
    min-width: 120px;  /* Data */
  }
}


/* 🧠 Indicatore di scroll solo in mobile */
.table-scroll-hint {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-style: italic;
}

form label{
  font-weight: bold;
}

.btn-group.btn-group-subaction{
	margin-top: 15px;
	margin-bottom: 15px;
}

.btn-group.btn-group-subaction .btn-active{
	background-color: black; 
	color: white;
}

/* 🎯 Scrollbar visibile e personalizzata in mobile */
@media (max-width: 576px) {
  .table-responsive {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #F2B41C #f1f1f1;
  }
	.contenitore-logo{
		width: 100%;
	}
  .table-responsive::-webkit-scrollbar {
    height: 6px;
  }

  .table-responsive::-webkit-scrollbar-thumb {
    background-color: #F2B41C;
    border-radius: 10px;
  }

  .table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
}



