:root {
	--Vinc_classico: rgba(146, 0, 0, 0.20);
	--Piaz_classico: rgba(0, 128, 128, 0.20);
}
#rq_img_hp {	margin: -10px 0 0 170px;	}
.sezione_off, .sezione_on {
	background-image:url('/img/fr_14x15_r.png');
	background-repeat: no-repeat;
	background-size: 9px 10px;
	background-color: #D2F8F8;
	font-weight: bold;
	padding: 2px 3px 2px 13px;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
}
.sezione_off { background-color: #D2F8F8; }
.sezione_on { background-color: yellow; }

.Tb_search{
	max-width: 580px;
	border-collapse: collapse;
}
.Tb_search td{
	padding: 1px 4px 1px 4px;
}
.Tb_search tr:hover td {
	background: yellow;
}
.Tb_search tr{
	background: #fff;
}
.Tb_search tr:nth-child(odd){
	background: #D2F8F8;
}
.Tb_search tr:nth-child(even){
	background: #fff;
}
div.m_gen_mobi { display: none; }
div.m_gen_float {
	background-color: rgba(255, 255, 255, 0.7);
	width: 160px;
	display: inline-block;
	position: fixed;
	z-index:1;
	padding: 5px;
	margin: 0 10px 5px -10px;
	-webkit-border-radius: 10px; -webkit-border-top-right-radius: 15px;
	-moz-border-radius: 10px; -moz-border-radius-topright: 15px;
	border-radius: 10px; border-top-right-radius: 15px;
	-moz-box-shadow: 2px 2px 6px 2px #66b3b3; -webkit-box-shadow: 2px 2px 6px 2px #66b3b3; box-shadow: 2px 2px 6px 2px #66b3b3;
	transition: top 0.3s;
}
div.m_stall_mobi { display: none; }
div.m_stall_float {
	background-color: rgba(255, 255, 255, 0.7);
	width: 160px;
	display: inline-block;
	position: fixed;
	z-index:1;
	padding: 5px;
	margin: 0 10px 5px -10px;
	-webkit-border-radius: 10px; -webkit-border-top-right-radius: 15px;
	-moz-border-radius: 10px; -moz-border-radius-topright: 15px;
	border-radius: 10px; border-top-right-radius: 15px;
	-moz-box-shadow: 2px 2px 6px 2px #66b3b3; -webkit-box-shadow: 2px 2px 6px 2px #66b3b3; box-shadow: 2px 2px 6px 2px #66b3b3;
	transition: top 0.3s;
}
/*
.tes_gen {
	font-weight: bold;
	text-align: left;
	letter-spacing: 1px;
	color: #920000;
	font-weight: bold;
	padding: 2px 3px 2px 0px;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
}
*/
#p_m_ricerca_cav_float, #p_m_stat_float, #p_m_accopp_float, #p_m_premi_float {
	font-weight: bold;
	text-align: left;
	letter-spacing: 1px;
	padding: 2px 3px 2px 13px;
	margin: 6px 0 5px 0;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
	padding-left: 13px;
}
#p_m_stat_float, #p_m_accopp_float, #p_m_premi_float {
	background-image:url('/img/fr_14x15_r.png');
	background-repeat: no-repeat;
	background-size: 9px 10px;
	border-left: inset 2px transparent;
}

.scheda_gen {
	margin-left: 180px;
	width: 750px;
}

#gp {
	background-color: var(--VERDE);
	padding: 1px 4px 1px 4px;
	font-family: Ubuntu,verdana,tahoma,sans-serif;
	font-size: 9px;
	color: #fff;
	font-weight: bold;
	margin-left: 5px;
	letter-spacing: 2px;
	text-shadow: 2px 2px 1px #000, -2px -2px 1px #000, -2px 2px 1px #000, 2px -2px 1px #000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#gp a:link,
#gp a:visited {
	color: #fff;
}
#gp a:hover {
	color: yellow;
}
/*
#vinc_classico, #piaz_classico { padding: 0px 0 0px 4px; margin: 2px 0 2px -4px; border-radius: 4px; }
#vinc_classico { background-color: #ffcf4d; }
#piaz_classico { background-color: #ffebb3; }
*/

/* --------------- */

#vinc_classico, #piaz_classico { padding: 1px 4px 1px 4px; margin: 2px 0 2px -4px; border-radius: 4px; }
#vinc_classico #title_vc, #piaz_classico #title_pc {
	visibility: hidden;
	width: 110px;
	color: #fff;
	text-align: center;
	padding: 3px;
	border-radius: 6px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	/* Position the tooltip text - see examples below! */
	position: absolute;
	margin: 20px 0 0 -110px;
	z-index: 1;
}
#title_vc {
	background-color: var(--ROSSO);
}
#title_pc {
	background-color: var(--VERDE);
}
#vinc_classico:hover #title_vc, #piaz_classico:hover #title_pc {
  visibility: visible;
}
#vinc_classico { background-color: var(--Vinc_classico); }
#piaz_classico { background-color: var(--Piaz_classico); }

/* --------------- */

#dead {
	background-color: #000;
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	font-family: Ubuntu, Arial, Helvetica, sans-serif;
	letter-spacing: -1;
}
.tb_stalloni {
	margin-left: 180px;
	width: 756px;
}
.tb_stat_stalloni,
.tb_stat_stall_generale {
	border-spacing: 1px;
    border-collapse: separate;
}
.tb_stat_stall_generale {
	margin-left: 180px;
}
.tb_stalloni thead th,
.tb_stat_stalloni thead th,
.tb_stat_stall_generale thead th {
	line-height: 120%;
	font-size: 11px;
	text-align: center;
	padding: 0px;
//	border-bottom: 1px dotted var(--VERDE);
}
.tb_stalloni tbody td {
	line-height: 120%;
	padding: 7px;
	border-top: 1px dotted var(--VERDE);
}
.tb_stat_stalloni tbody td {
	line-height: 120%;
	padding: 1px 7px 2px 7px;
	border-top: 1px dotted var(--VERDE);
}
.tb_stat_stall_generale tbody td {
	line-height: 100%;
	padding: 1px 4px 1px 4px;
	border-top: 1px dotted var(--VERDE);
}
.tb_stalloni tbody tr:nth-child(odd),
.tb_stat_stalloni tbody tr:nth-child(odd),
.tb_stat_stall_generale tbody tr:nth-child(odd) {
	 background: #D2F8F8;
}
.tb_stalloni tbody tr:hover,
.tb_stat_stalloni tbody tr:hover,
.tb_stat_stall_generale tbody tr:hover {
	 background: #ffd7ae;
}
.tb_stat_stalloni tfoot td {
	background: #ffff80;
	line-height: 120%;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	padding: 3px 7px 2px 7px;
	border-top: 2px solid var(--VERDE);
}
.tb_stat_stalloni tbody td a:link,
.tb_stat_stalloni tfoot td a:link,
.tb_stat_stall_generale tbody td a:link {
    text-decoration: none;
    color: #920000;
}
.tb_stat_stalloni tbody td a:hover,
.tb_stat_stalloni tfoot td a:hover,
.tb_stat_stall_generale tbody td a:hover {
    background: var(--VERDE);
    color: #fff;
}
.rq_maleline {
	display: inline-block;
	margin: 5px 0 0 0;
	background-color: #fff;
	border-radius: 5px;
	-moz-box-shadow: 0px 0px 6px 2px var(--VERDE_2); -webkit-box-shadow: 0px 0px 6px 2px var(--VERDE_2); box-shadow: 0px 0px 6px 2px var(--VERDE_2);
	border: none;
	font-size: 12px;
}
.nipoti {
	text-align: left;
	padding-left: 5px;
	line-height: 120%;
	border: 0px solid pink;
}

@media (max-width: 1014px) {

	#rq_img_hp {	margin: 10px 0 0 0;	}
	div.m_gen_float { display: none; }
	div.m_gen_mobi {
		width: 266px;
		border: 0px solid red;
		position: relative;
#		justify-content: center;
		display: block;
		margin: 15px auto;
	}
	div.m_stall_float { display: none; }
	div.m_stall_mobi {
		width: 266px;
		border: 0px solid red;
		position: relative;
#		justify-content: center;
		display: block;
		margin: 10px auto;
	}
	#p_m_ricerca_cav_mobi, #p_m_alleva_mobi, #p_m_leaders_mobi, #p_m_stat_mobi, #p_m_corsest_mobi, #p_m_accopp_mobi, #p_m_premi_mobi, #p_m_stalloni_mobi {
		padding: 8px 5px 3px 20px;
		font-weight: bold;
		letter-spacing: 2px;
	}
	#p_m_accopp_mobi {
		letter-spacing: 1px;
	}
	#p_m_alleva_mobi, #p_m_leaders_mobi, #p_m_stat_mobi, #p_m_corsest_mobi, #p_m_accopp_mobi, #p_m_premi_mobi, #p_m_stalloni_mobi {
		background-image:url('/img/fr_14x15_r.png');
		background-repeat: no-repeat;
		background-size: 17px 18px;
		border-left: inset 2px transparent;
		background-position: 0 10px;
	}
    .scheda_gen {
    	margin-left: 0px;
    	width: 100%;
    }
	.tb_stalloni {
		margin-left: 0;
    	width: 100%;
	}
	.tb_stat_stall_generale {
		margin-left: 0;
	}

}

@media (max-width: 640px) {
	.rq_maleline {
		border-radius: none;
		-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
		font-size: 12px;
		font-family: Oswald, sans-serif;
	}
	.nipoti {
		padding-left: 0;
		line-height: calc(150%);
	}
}

@media print {
    .m_gen_float, .m_gen_mobi, .m_stall_float, .m_stall_mobi {
        display: none !important;
    }
    .scheda_gen {
    	margin-left: 0px;
    	width: 100%;
    }
	.tb_stalloni {
		width: 100%;
		margin-left: -180px;
	}
	.tb_stat_stall_generale {
		margin-left: 0;
	}
}