.cont_sale {
	width: 910px;
	margin-bottom: 200px;
}
.somm_sale {
	margin: -10px 20px 5px 20px;
}
.initend_sale {
	font-size: calc(75%);
	font-family: 'Roboto Condensed', sans-serif;
	margin-bottom: 5px;
}
#sale_date {
	display: inline-block;
	margin: 0 5px;
}
.tb_sale {
	margin-left:auto; margin-right:auto;
	border-collapse: separate;
	text-indent: initial;
    border-spacing: 1px;
}
.tb_sale tr:nth-child(odd) {
    background: #e4e4e4;
}
.tb_sale tr:nth-child(even) {
    background: #fff;
}
.tb_sale tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}
.tb_sale thead th {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 12px;
	letter-spacing: 0.5px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	padding: 2px 4px;
	background: var(--darkgold);
	text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000;
	border-bottom: 3px solid #fff;
}
.tb_sale tbody td {
	padding: 0.5px 4px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
}
.tb_sale tbody tr:hover td { background: var(--gold); }

.tb_sale tfoot th {
	text-align: right;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: normal;
	font-size: calc(90%);
	letter-spacing: 0px;
	padding: 2px 4px;
	background: #fff;
	border-top: 1px solid var(--darkgold);
}
#div_utente { display: none; }
#th_utente {
	text-align: right;
	background: #fff;
	text-shadow: none;
	color: #920000;
}
#th_countdown {
	text-align: center;
	background: #fff;
	text-shadow: none;
	color: #d70000;
	letter-spacing: 0;
	font-family: 'Roboto Slab', serif;
}
#th_countdown secondi {
	font-size: calc(120%);
}
#span_utente {
	margin-left: 5px;
	color: #fff;
	font-size: calc(150%);
	text-shadow: 1px 1px 1px #920000, -1px -1px 1px #920000, 1px -1px 1px #920000, -1px 1px 1px #920000, 0 0 8px #d70000, 0 0 8px #d70000, 0 0 8px #d70000, 0 0 8px #d70000;
}

#sl_cat {
	text-align: right;
	font-weight: 700;
	font-size: calc(80%);
}
#sl_nome, #sl_nome_act { font-size: calc(90%); }
#sl_nome {	font-family: 'Roboto Slab', serif; }
#sl_nome_act {
	font-family: 'Roboto Condensed', serif;
	font-weight: 700;
}
#sl_nome a, #sl_nome_act a { text-decoration: none; color: #000; }
#sl_nome a:link, #sl_nome_act a:link { color: #000; }
#sl_nome a:visited, #sl_nome_act a:visited { color: var(--darkgold); }
#sl_nome a:hover, #sl_nome_act a:hover { color: #fff; text-shadow: 0 0 6px #000, 0 0 6px #000, 0 0 6px #000, 0 0 6px #000, 0 0 6px #000; }
#sl_nome a:active, #sl_nome_act a:active { background: #d70000; color: #fff; }

#sl_nasc, #sl_sex {
	text-align: center;
	font-size: calc(90%);
}
#sl_nasc_act {
	text-align: center;
	font-size: calc(70%);
	font-family: 'Oswald', serif;
}
#sl_sex { font-weight: 700; }
#sl_divisione, #linetta_mobi, #sl_fakerow, #sl_faketd { display: none;	}
#sl_padre, #sl_madre { font-size: calc(90%);	}
#sl_madre { font-style: italic; }
#sl_padre_end, #sl_madre_end {
	font-family: 'Oswald', serif;
	font-size: calc(85%);
}
#sl_madre_end {	font-style: italic;	}
#sl_nonno {
	font-family: 'Oswald', serif;
	font-size: calc(75%);
}
#sl_present {
	font-family: 'Oswald', serif;
	font-size: calc(75%);
	font-weight: bold;
}
#i_video, #i_foto, #i_doc {
	vertical-align: bottom;
	padding: 2px 2px 0 2px;
}
#i_video img, #i_foto img, #i_doc img {
	width: 16px;
	height: auto;
}
#sl_acquirente {
	text-align: left;
	font-family: 'Roboto Condensed', serif;
	font-size: calc(85%);
	font-weight: bold;
	color: var(--darkgold);
}
#sl_bid {
	text-align: right;
	font-size: calc(85%);
	font-weight: 700;
}

.npt_bid {
	width: 52px;
	display: inline-block;
    font-family: 'Roboto Slab', serif;
    border: 1px solid var(--gold);
    padding: 2px 6px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0px 0px 8px 1px #d70000;
    -webkit-box-shadow: 0px 0px 8px 1px #d70000;
    box-shadow: 0px 0px 8px 1px #d70000;
}
.price_bid {
	text-align: right;
	font-weight: bold;
}
#tot_bid {
	font-weight: bold;
	color: #fff;
	background: var(--gold);
	text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000;
}
.thumbnail{	 /* miniature img */
	position: relative;
	z-index: 0;
}

.thumbnail:hover{
	z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: #fff;
	visibility: hidden;
	color: black;
	text-decoration: none;
	font-size: 14px;
	line-height: 150%;
	font-weight: bold;
	text-align: center;
	font-family: Ubuntu, Arial, Sans-serif;
	box-shadow: 2px 2px 20px 1px #000;
	border: 2px solid #fff;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-width: 0;
	border-radius: 6px;
	padding: 0;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
	visibility: visible;
	top: 0;
	left: 14px;
}

@media (max-width: 1020px) {	/*****************************************************************************************/
	.cont_sale {
		width: 100%;
	}
}

@media (max-width: 900px) {	/*****************************************************************************************/
	.cont_sale {
		padding-top: 70px;
	}
	#sl_padre {
		font-size: calc(85%);
		font-family: 'Roboto Slab', serif;
		font-weight: bold;
		letter-spacing: 1.5px;
	}
}
@media (max-width: 850px) {	/*****************************************************************************************/

}

@media (max-width: 750px) {	/*****************************************************************************************/
	.cont_sale {
		padding-top: 50px;
	}

	#sale_date {
		display: block;
		margin: 1px 0;
	}
	#div_utente {
		display: block;
		font-family: 'Roboto Condensed', sans-serif;
		color: #920000;
		font-weight: bold;
		text-align: center;
		margin: 5px 0 20px 0;
	}
	.tb_sale {
		margin-top: 20px;
	}
	.tb_sale table, .tb_sale thead, .tb_sale tbody, .tb_sale th, .tb_sale tr, .tb_sale td {
		display: block;
		font-size: 26px;
	}

	.tb_sale thead tr {
		display: none;
	}
	.tb_sale tr {
		padding: 10px;
		outline: 2px solid #fff;
	}
	.tb_sale tr:nth-child(odd) {
		background: #fff;
	}
#	.tb_sale tbody tr:hover td { background: none; }
	.tb_sale tfoot th {
#		border-top: 4px solid var(--darkgold);
		border: none;
	}
	#sl_cat::before { content: '# '; }
	#sl_cat {
		font-family: 'Roboto', serif;
		text-align: center;
		font-weight: 600;
		font-size: calc(110%);
//		border-top: 2px solid #000;
	}
	#sl_nome, #sl_nome_act {
		font-size: 28px;
		text-align: center;
	}
	#sl_cat, #sl_nome {
		display: inline-block;
	}
	#sl_sex, #sl_nasc {
		font-size: 18px;
		display: inline-block;
	}
	#sl_nasc { font-weight: 900; }
	#sl_sex {
		border: 2px solid var(--gold);
		border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
		-webkit-box-shadow: inset 0px 0px 10px 0px var(--gold);
		-moz-box-shadow: inset 0px 0px 10px 0px var(--gold);
		box-shadow: inset 0px 0px 10px 0px var(--gold);
	}

	#sl_present {
		text-align: center;
		width: 99%;
	}
	#sl_bid {
		text-align: center;
		width: 100%;
		font-size: calc(130%);
		border: 0px solid red;
//		background: red;
	}
	#sl_divisione {
		font-size: 1px;
		line-height: 0;
		display: block;
	}
	#sl_fakerow {
		display: block;
		border-bottom: 1px solid #000;
	}
	#sl_faketd {
		display: block;
		font-size: 4px;
		line-height: 4px;
	}
	#sl_nonno {
		font-size: calc(65%);
		font-family: 'Roboto', sans-serif;
		text-align: right;
		letter-spacing: 1.5px;
	}
	#sl_present {
		text-align: center;
		font-family: 'Roboto Slab', sans-serif;
		font-size: calc(80%);
		background: rgba(108,98,46,0.3);
	}
	#sl_madre {
		font-size: calc(65%);
		font-family: 'Oswald', serif;
	}
	#sl_padre {
		font-family: 'Roboto Slab', serif;
		font-weight: bold;
	}
	#sl_padre::after, #sl_padre_end::after {
		margin-left: 4px;
		content: " \25BB ";
		border: 0px solid red;
	}
	#sl_madre, #sl_madre_end {
		margin-left: -10px;
	}
	#sl_acquirente, #sl_bid, #sl_padre, #sl_madre, #sl_padre_end, #sl_madre_end {
		display: inline-block;
		border: 0px solid red;
	}
	#tot_tot, #tot_bid {
		display: inline-block;
	}
	#tot_tot {
		width: 30%;
	}
	#tot_bid {
		width: 65%;
		font-size: calc(110%);
	}

	#i_video, #i_foto, #i_doc {
		display: inline-block;
		padding: 4px 14px 0 0;
	}
	#i_video img, #i_foto img, #i_doc img { width: 26px; }
	#i_video::before, #i_foto::before, #i_doc::before {
		position: relative;
		top: -10px;
		margin-right: 5px;
	}
/*
	#i_video::before { content: 'video '; }
	#i_foto::before { content: 'foto '; }
	#i_doc::before { content: 'doc. VET '; }
*/
	.npt_bid {
		width: 90px;
		font-size: calc(90%);
		border: 1px solid var(--gold);
		padding: 1px 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
		-moz-box-shadow: 0px 0px 8px 1px #d70000;
		-webkit-box-shadow: 0px 0px 8px 1px #d70000;
		box-shadow: 0px 0px 8px 1px #d70000;
		margin: 5px 5px 0 0;
	}
}

@media (max-width: 520px) {	/*****************************************************************************************/

}

@media (max-width: 400px) {	/*****************************************************************************************/

	#sl_cat {
		font-family: 'Oswald', serif;
		font-weight: 400;
		letter-spacing: -1px;
		font-size: calc(100%);
	}
	#sl_nome {
		font-family: 'Oswald', serif;
		font-weight: bold;
		font-size: calc(95%);
	}
	.hide_400 {
		display: none;
	}
	#sl_present {
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: 700;
	}
	#tot_tot {
		display: none;
	}
	#tot_bid {
		display: block;
		width: 100%;
	}
}

@media print {

	.tb_sale table {
        display: table;
		margin-left:auto; margin-right:auto;
		border-collapse: separate;
		text-indent: initial;
		border-spacing: 1px;
	}
	.tb_sale tr:nth-child(odd) {
		background: #e4e4e4;
	}
	.tb_sale tr:nth-child(even) {
		background: #fff;
	}
	.tb_sale tr {
		display: table-row;
		vertical-align: inherit;
		border-color: inherit;
		outline: none;
	}
	.tb_sale thead th {
        display: table-cell;
		font-family: 'Roboto Condensed', sans-serif;
		font-size: 12px;
		letter-spacing: 0.5px;
		font-weight: 700;
		text-align: center;
		color: #fff;
		padding: 2px 4px;
		background: var(--darkgold);
		text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000;
		border-bottom: 3px solid #fff;
	}
	.tb_sale tbody td {
        display: table-cell;
		padding: 0.5px 4px;
		font-family: 'Roboto Condensed', sans-serif;
		font-size: 16px;
	}
	.tb_sale tbody tr:hover td { background: var(--gold); }
	.tb_sale tfoot th {
		text-align: right;
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: normal;
		font-size: calc(90%);
		letter-spacing: 0px;
		padding: 2px 4px;
		background: #fff;
	}

	#sl_cat::before { content: ''; }
	#sl_cat {
		font-family: 'Roboto Condensed', serif;
		text-align: right;
		font-weight: 700;
		font-size: 12px;
		border: none;
	}
	#sl_nome {
		text-align: left;
		font-size: 14px;
	}
	#sl_nasc {
		display: table-cell;
		text-align: center;
		font-weight: 100;
		font-size: 12px;
		border: 0px solid red;
	}
	#sl_sex {
		display: table-cell;
		text-align: center;
		font-weight: 500;
		font-size: 12px;
		border: 0px solid blue;
		border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px;
		-webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;
	}
	#sl_padre {
		display: table-cell;
		text-align: left;
		font-weight: 500;
		font-size: 12px;
	}
	#sl_padre::after, #sl_padre_end::after {
		display: none;
		content: "";
	}
	#sl_madre {
		display: table-cell;
		text-align: left;
		font-size: 12px;
		margin-left: 0px;
    }
	#sl_madre_end {
		display: none;
    }
    #sl_nonno {
		font-size: 12px;
		font-family: 'Roboto Condensed', sans-serif;
		text-align: left;
		letter-spacing: 0px;
    }
	#sl_present {
		text-align: left;
		font-family: 'Oswald', serif;
		font-size: 12px;
		background: none;
    }
}
