/* TrottoWeb */

@font-face {
  src: url('../font/montserrat/Montserrat-VariableFont_wght.ttf');
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 1 1000;
}

@font-face {
  src: url('../font/Roboto/Roboto-Regular.ttf');
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 1 1000;
}

body {
	/*background-color: #e6eae1;*/
	padding: 0;
	margin: 0;
	line-height: 19px;
	font-family: 'Montserrat';
	font-size: 16px;
	color: #333;

	animation: fadeInAnimation ease 2s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
}
h1 {
	font-size: 2.0em;
	font-family: 'Montserrat';
}

h2 {
	font-size: 1.5em;
	font-family: 'Montserrat';
}

h3 {
	font-size: 1em;
	font-family: 'Montserrat';
}

/*a {
	text-decoration: none;
	color: #0000ff;
}
a:link {
	text-decoration: none;
	color: #0000ff;
}
a:active {
	text-decoration: none;
	color: #0000ff;
}
a:visited {
	text-decoration: none;
	color: #0000ff;
}
a:hover {
	text-decoration: underline;
	color: #0000ff;
}*/

a .green-link {
	text-decoration: none;
	color: #669933;
	font-weight: 500;
}
.green-link:link {
	text-decoration: none;
	color: #669933;
	font-weight: 500;
}
.green-link:active {
	text-decoration: none;
	color: #669933;
	font-weight: 500;
}
.green-link:visited {
	text-decoration: none;
	color: #669933;
	font-weight: 500;
}
.green-link:hover {
	text-decoration: underline;
	color: #57724e;
	font-weight: 500;
}

#cntSite {
	background-color: white;
	width: 900px;
	margin: 0 auto;
}
.modal-body {
	padding-bottom: 50px;
	font-size: 0.9em;
}

/* Testata */

#testata {
	position: relative;
	background-color: white;
	width: 100%;
	/*width: 900px;*/
	height: 90px;
	/*border-right: 1px solid #57724e;
	border-left: 1px solid #57724e;*/
	padding: 0;
	margin: 0 auto;
	text-align: left;
}
#testata #logo_TW {
	width: 200px;
	height: 70px;
	margin-left: 20px;
	margin-top: 7px;
	margin-bottom: 15px;
}
#testata #slogan {
	float: right;
	margin-right: 110px;
	margin-top: 56px; /* ex 35 */
	font-size: 1.15em;
	color: #57724e;
}
#slogan span {
	font-weight: 600;
}
/*.data_ora {
	position: absolute;
	top: 10px;
	left: 400px;
	font-family: 'Roboto', sans-serif;
	font-size: 0.9em;
	color: #333;
	font-weight: 300;
}*/
.ut_log {
	position: absolute;
	top: 10px;
	left: 450px;
	width: 350px;
	border-right: 1px solid #669933;
	padding-left: 0px;
	padding-right: 10px;
	text-align: right;
	font-size: 0.9em;
	color: #194900;
	font-weight: 300;	
}
.ut_log span {
	font-weight: 500;
}
.log_log {
	position: absolute;
	top: 10px;
	left: 800px;
	padding-left: 10px;
	font-size: 0.9em;
	font-weight: 300;
}

/* Menù */

#menu {
	width: 100%;
	/*width: 900px;*/
	/*border-right: 1px solid #57724e;
	border-left: 1px solid #57724e;*/
	border-bottom: 1px solid #57724e;
	margin: 0 auto;
}

/*#titoloPagina {
	display: inline-block;
	padding-top: 15px;
	padding-bottom: 3px;
	border-bottom: 1px solid #cc6600;
}*/

#corpoHome {
	background-color: white;
	width: 100%;
	/*width: 900px;*/
	display: block;
	overflow: auto;
	padding-bottom: 100px;
	/*border-right: 1px solid #57724e;
	border-left: 1px solid #57724e;*/
	border-bottom: 1px solid #57724e;
	margin: 0 auto;
	text-align: left;
}

#elementi_tecnici {
	font-family: 'Montserrat';
	float: left;
	width: 70%;
	padding: 10px;
}
.elemento {
	display: block;
	overflow: auto;
	padding: 10px;
}
.elemento .titolo_elemento {
	text-align: center;
}
.titolo_elemento img {
	padding-bottom: 5px;
}
.titolo_elemento span {
	color: #005321;
	font-weight: 600;
	font-size: 1.1em;
}


/* Convegni */

#corse_cnt {
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 10px;
}
.corse_io {
	float: left;
	width: 46%;
	margin-right: 23px;
	padding-bottom: 20px;
}
.corse_io .titolo_corse, #sorteggi .titolo_corse, #iscrizioni .titolo_corse, #partenti_on_line .titolo_corse {
	margin-left: 0px;
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 2px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #669933;
	color: #fff;
	font-size: 1.05em;
	font-weight: 300;
}
#sorteggi .titolo_corse, #iscrizioni .titolo_corse, #partenti_on_line .titolo_corse {
	padding-left: 0px;
	text-align: center;
}
.titolo_corse span {
	font-weight: 500;
}
.data_ris {
	margin-bottom: 2px;
	padding-left: 10px;
	padding-top: 8px;
	padding-bottom: 8px;
	border: 1px solid #b4d6aa;
	background-color: #b4d6aa;
	color: #194900;
	font-weight: 500;
	font-size: 0.95em;
}
.dati_ris_white {
	position: relative;
	padding: 8px 10px 8px 15px;
	font-size: 0.95em;
	font-weight: 600;
	color: #333;
}
.dati_ris_grey {
	position: relative;
	background-color: #f9f9f9;
	padding: 9px 10px 9px 15px;
	font-size: 0.95em;
	font-weight: 600;
	color: #333;
}
.dati_ris_white:hover, .dati_ris_grey:hover {
	background-color: #547e2a;
 	color: white;
}
.dati_ris_white::after, .dati_ris_grey::after {
	content: "\276F";
	width: 1em;
	height: 1em;
	position: absolute;
	top: 35%;
	left: 90%;
	color: green;
}
/*.dati_ris_white i, .dati_ris_grey i {
	width: 1em;
	height: 1em;
	position: absolute;
	top: 35%;
	left: 90%;
	color: green;
}*/
.dati_ris_white:hover:after, .dati_ris_grey:hover:after {
	color: white;
}
/*.dati_ris_white:hover i, .dati_ris_grey:hover i {
	color: white;
}*/
.note {
	font-size: 0.85em;
	font-weight: 400;
}
.ora {
	font-size: 0.85em;
	font-weight: 400;
}
#link_partenti, #link_risultati {
	text-decoration: none;
}

/* Partenti / Numeri / Iscrizioni */

.riga_ippodromi_white {
	display: block;
	overflow: auto;
}
.riga_ippodromi_grey {
	display: block;
	overflow: auto;
	background-color: #f9f9f9;
}
.ippodromo {
	float: left;
	width: 33%;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}
.label_ippodromo {
	font-weight: 600;
	font-size: 0.95em;
}
.data_partenti, .data_numeri, .data_iscrizioni {
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: 0.95em;
}
.divisorio {
	margin-bottom: 15px;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 30%;
	/*margin-top: 15px;*/
	margin-top: 5px;
	padding: 10px;
}
#QR_code {
	margin:0;
	padding:0;
	width: 100%;
}

/*#letrot {
	margin:0;
	margin-top: 10px;
	margin-bottom: 10px;
	padding:0;
	width: 250px;
}*/

/*.news_bar {
	padding: 10px;
	border-right: 1px solid #669933;
	border-left: 1px solid #669933;
	border-top: 1px solid #669933;
}
.titolo_news {
	color: #194900;
	font-weight: 600;
	font-size: 0.95em;
}
.testo_news, .news_bar a span {
	font-size: 0.9em;
}
.div_news {
	border-top: 1px solid #669933;
}*/

.card {
	margin-top: 10px;
	padding-bottom: 5px;
	border-color: #669933;
}
.card-body {
	font-size: 0.95em;
}
.card-title {
	color: #194900;
	font-weight: 600;
	font-size: 1em;
}
#mod {
	padding-top: 9px;
	padding-right: 19px;
	padding-bottom: 9px;
	padding-left: 19px;
}
.button a span {
	font-size: 1.05em;
}

/* Ricerca cavallo autocomplete */
.form_label {
	margin: 0;
	padding: 0;
	font-size: 0.85em;
}
#nome_cav {
	height: 28px;
	padding-left: 7px;
	border-radius: 0;
	text-transform: uppercase;
	font-size: 0.80em;
	font-weight: 300;
}
#cavalli {
	list-style-type: none;
	margin: 0;
	padding: 0;
	max-height: 200px;
	overflow: scroll;
}
#cavalli li {
	font-family: 'Roboto', sans-serif;
	padding: 4px; 
	background: #FFF;
	border-bottom: #F0F0F0 1px solid;
	font-weight: 300;
	font-size: 0.9em;
}
#cavalli li:hover {
	background:#F0F0F0;
	cursor: pointer;
	cursor: hand;
}

/* Footer */

footer {
	background: linear-gradient(to bottom, #669933 0%, #57724e 70%);
	display: block;
	overflow: auto;
	/*border: 1px solid #57724e;*/
	color: white;
	font-weight: 300;
}
.fila {
	display: block;
	overflow: auto;
	padding: 12px;
	font-size: 0.8em;
}
#logo {
	font-size: 0.9em;
}
#logo img {
	float: left;
	width: 200px;
	height: auto;
}
#logo #tag_line {
	float: left;
	padding: 12px;
}
#column_container {
	display: block;
	overflow: auto;
	font-size: 0.8em;
}
.column {
	float: left;
	padding: 11px;
}
#tag_line span, .column span, #contacts span {
	font-weight: 600;
}
.link {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.no_link {
	list-style-type: none;
	margin: 0;
	padding: 0;
	padding-left: 10px;
	font-style: oblique;
}
#contacts {
	float: left;
}
#social {
	float: left;
	margin-left: 30px;
}
#icons {
	padding-top: 5px;
}
#copyright {
	float: left;
}
#termini {
	float: right;
	margin-right: 30px;
}

a .white-link {
	text-decoration: none;
	color: white;
	font-weight: 300;
}
.white-link:link {
	text-decoration: none;
	color: white;
	font-weight: 300;
}
.white-link:active {
	text-decoration: none;
	color: white;
	font-weight: 300;
}
.white-link:visited {
	text-decoration: none;
	color: white;
	font-weight: 300;
}
.white-link:hover {
	text-decoration: underline;
	color: #ffff66;
	font-weight: 300;
}

.scrollToTop{
	width: 45px;
	height: 45px;
    padding: 10px; 
    position: fixed;
    bottom: 60px;
    right: 10px;
    display: none;
    background-color: #6ba152;
	-webkit-box-shadow: 0px 0px 2px 1px rgba(255, 255, 255, 0.75);
	-moz-box-shadow: 0px 0px 2px 1px rgba(255, 255, 255, 0.75);
	box-shadow: 0px 0px 2px 1px rgba(255, 255, 255, 0.75);
	border-radius: 50%;
}
.scrollToTop:hover {
    cursor: pointer;
    background-color: #74a25e;
    text-decoration: none;
}
.scrollToTop:active {
    background-color: #92bd7e;
}
.scrollToTop.show {
    opacity: 1;
    visibility: visible;
}
.scrollToTop i {
	font-size: 1.5em;
    line-height: 20px;
    color: #fff;
}
