﻿a {
	color: #3B5998;
	font-style: normal;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 16px;
}
a:visited {
	color: #000000;
}
a:active {
	color: #000000;
}
a:hover {
	color: red;
}
/* Clearfix */
.clear:before, .clear:after {
    content: " ";
    display: table;
}
.clear:after {
    clear: both;
}
.clear {
    *zoom: 1;
}
a#pull {
    display: none;
}
nav {
    height: 50px;
    width: 100%;
    background: #FFFFFF;
    position: relative;
    border-bottom: solid 0px #DDD;
}
nav ul {
    padding: 0;
    margin: 0 auto;
    max-width: 1024px;
    height: 50px;
}
nav li {
    display: inline;
    float: left;
}
nav a {
    color: #000000;
    display: inline-block;
    width: 100px;
    text-align: center;
    line-height: 30px;
}
nav li a {
    border-right: 0px solid #576979;
}
nav li:last-child a {
    border-right: 0;
}
nav a:hover, nav a:active {
    background-color: #333;
}
@media only screen and (max-width : 600px) {
    nav {
        border-bottom: 0;
        height: auto;
    }
    nav ul {
        display: none;
        height: auto;
        width: 100%;
    }
    nav li {
        width: 50%;
        float: left;
        position: relative;
    }
    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
    nav a#pull {
        display: block;
        background-color: #666;
        width: 100%;
        position: relative;
    }
    nav a#pull:after {
        content:"";
        background: url('nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
    }
}
.separador {
		border: 1;
		clear: both;
		margin: 20px 0;	
	}
body {
	margin: 0 auto;
	padding: auto;
	text-align: left;
	color: #000000;
	background-color: #e6e6e6;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: small;
}
.centrado{
	margin: 0 auto;
	display:block;
    }

.center {
  margin: auto;
  width: 80%;
}
.nav2 {
  margin: 0 auto;
  text-align: left;
  width: 200px;
}

#aladerecha {
  max-width: 1024px;
  margin: 0 auto;
  font-size: small;
  text-align: right;
  background-color: #FFFFFF;
}
.CentroSinBorde {
	border-width: 0;
	text-align: center;
}
img {
  max-width: 90%;
  height: auto;
}
.MedioFont {
	font-size: medium;
}

#contenedor {
  width: 98%;
  max-width: 1024px;
  margin: 0 auto;
  font-size: 16px;
  text-align: left;
  background-color: #FFFFFF;
}
#footer {
	clear:both;
	width: 90%;
    max-width: 1024px;
    margin: 0 auto;
    font-size:small ;
    text-align: center;
}
#footerdown {
	clear:both;
	width: 96%;
    max-width: 1024px;
    margin: 0 auto;
    font-size:x-small ;
    text-align: center;
    color: #808080;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.style38 {
	border: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	color: #C0C0C0;
}
.auto-style25 {
	font-size:x-small ;
	margin-top: 0;
	margin-bottom: 0;
}
.auto-style26 {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}
* {
  box-sizing: border-box;
}
.img2 {
	float: left;
}
.clearfix2 {
	overflow:auto;
}
.box {
  float: left;
  width: 50%;
  padding: 10px;
  text-align: center;
}

.column {
  float: left;
  padding: 15px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
  max-width: 1024px;

}

.menu {
  width: 25%;
}
#centraralgo {
  max-width: 1024px;
  margin: 0 auto;
  font-size: small;
  text-align: center;
  background-color: #FFFFFF;
}

.centrarmenu {
  max-width: 1024px;
  margin: 0 auto;
  font-size: small;
  text-align: left;
  background-color: #FFFFFF;  
}

#centrarmenu2 {
  max-width: 1024px;
  margin: 0 auto;
  font-size: small;
  text-align: left;
  background-color: #FFFFFF;  
}


.content {
  width: 85%;
}

.menu ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
}
.menu li {
  padding: 8px;
  margin-bottom: 6px;
  background-color: #FFF;
  color: #000;
  border-style: groove;
}
.menu li:hover {
  background-color: #0099cc;
}
div.reduceTexto {
  background-color:  #FFFFFF;
  padding: 20px;
}
.topicbody {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
width: 80%;
max-width: 1024px;
margin: 0 auto;
text-align: left;
font-size: small;
line-height: 1.6;
}

#textofull {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
width: 98%;
max-width: 1024px;
margin: 0 auto;
text-align: left;
font-size: 15px;
line-height: 1.6;
}
/* Al reducirse en movil 80% antes, 96% OK*/
#textobody {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
width: 96%;
max-width: 1024px;
margin: 0 auto;
text-align: left;
font-size: 18px;
line-height: 1.6;
}

/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}


@media screen and (min-width: 600px) {
  div.reduceTexto {
    font-size: 18px;
  	}
	.priority-a{
	display:none;
	}
	.priority-b{
		display:none;
	}
	.priority-c{
		display:none;
	}
	.priority-d{
		display:none;
	}
	.priority-e{
		display:none;
	}
	.priority-f{
		display:none;
	}
	.priority-g{
		display:none;
	}
	.priority-h{
		display:none;
	}
  	/* Texto normal PC-80%*/  	
  	#textobody {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	width: 80%;
    max-width: 1024px;
    margin: 0 auto;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
	}
	
}

@media screen and (max-width: 600px) {
  div.reduceTexto {
    font-size: small;
  }
  a {
  	font-size: small;
  	}
	.priority-1{
	display:none;
	}
	.priority-2{
		display:none;
	}
	.priority-3{
		display:none;
	}
	.priority-4{
		display:none;
	}
	.priority-5{
		display:none;
	}
	.priority-6{
		display:none;
	}
	.priority-izq{
		display:none;
        text-align: left;
	}
	.priority-cen{
		display:none;
        text-align: center;
	}
	.priority-8{
		display:none;
	}

  	
/* Tabla minima reducida*/
#tablamin {
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  font-size: x-small;
}
#tablamin td, #tablamin th {
  border: 1px solid #ddd;
  padding: 1px;
}
#tablamin tr:nth-child(even){background-color: #f2f2f2;}

#tablamin tr:hover {background-color: #ddd;}

#tablamin th {
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: center;
  background-color: #4CAF50;
  color: white;
}
/* -------------- 98% */
#textobody {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
width: 98%;
max-width: 1024px;
margin: 0 auto;
text-align: left;
font-size: small;
line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
}
.column1 {
  float: left;

  padding: 10px;
  height: 120px; /* Should be removed. Only for demonstration */
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 990px) {
  .column {
    width: 50%;
  }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 98%;
  }
}

.auto-style29 {
	font-size: small;
}
.auto-style30 {
	font-size: small;
	color: #800000;
}
.auto-style31 {
	font-size: small;
	color: #808080;
}
/* Tabla minima normal*/
#tablamin {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-collapse: collapse;
  width: 90%;
  margin: 0 auto;
}
#tablamin td, #tablamin th {
  border: 1px solid #ddd;
  padding: 8px;
}
#tablamin tr:nth-child(even){background-color: #f2f2f2;}

#tablamin tr:hover {background-color: #ddd;}

#tablamin th {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  background-color: #4CAF50;
  color: white;
}
/* -------------- */
/* Tabla normal */
#circuitos {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 98%;
  margin: 0 auto;
}
#circuitos td, #circuitos th {
  border: 1px solid #ddd;
  padding: 8px;
}

#circuitos tr:nth-child(even){background-color: #f2f2f2;}
#circuitos tr:hover {background-color: #ddd;}


#circuitos th {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  background-color: #4CAF50;
  color: white;
}

/* Tabla Tyres */
#circuitosTyres {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 96%;
  margin: 0 auto;
}
#circuitosTyres td, #circuitosTyres th {
  border: 1px solid #ddd;
  padding: 4px;
}
#circuitosTyres tr:nth-child(even){background-color: #f2f2f2;}

#circuitosTyres tr:hover {background-color: #ddd;}

#circuitosTyres th {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  background-color: #4CAF50;
  color: white;
}

/* Para la tabla de Resultados race se usa una tabla más comprimida */
#circuitos2 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
}
#circuitos2 td, #circuitos2 th {
  border: 1px solid #ddd;
  padding: 4px;
}
#circuitos2 tr:nth-child(even){background-color: #f2f2f2;}

#circuitos2 tr:hover {background-color: #ddd;}

#circuitos2 th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
  background-color: #4CAF50;
  color: white;
}
/* ------------ */
#tablescroll {
  border-collapse: collapse;
  width: 100%;
}

#tablescroll th, td {
  border: 1px solid #ddd;
  text-align: left;
  padding: 8px;
  width: 40px;
}
#tablescroll tr:nth-child(even) {background-color: #f2f2f2;}
/* ------------ */

div.gallery {
  margin-left: 20px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
  text-align: center;
  height: 250px;
}
div.gallery:hover {
  border: 1px solid #777;
}
div.gallery img {
  width: 100%;
  height: 150px;
  margin-top: 5px;
}
div.desc {
  padding: 2px;
  text-align: center;
  
}

div.descIzq {
  padding: 2px;
  text-align: left;
  
}

.topimg {
	margin-left: 10px;
	margin-right: 10px;
	vertical-align: top;
}
.auto-style9 {
	color: #FF0000;
	font-size: 16px;
}
.SinColor {
	border: 1px solid #808080;
	text-align: center;
}
.SinColorDerecha {
	border: 1px solid #808080;
	text-align: right;
}
.SinColorIzquierda {
	border: 1px solid #808080;
	text-align: left;
}
.GrisFondo {
	border: 1px solid #808080;
	text-align: center;
	background-color: #F0F0F0;
}
.AmarilloFondo {
	border: 1px solid #808080;
	text-align: center;
	background-color: #FFFF00;
}
.AmarilloFondoIzq {
	border: 1px solid #808080;
	text-align: left;
	background-color: #FFFF00;
}
.AmarilloClaro {
	border: 1px solid #000000;
	text-align: center;
	background-color: #FFFFCC;
}
.AmarilloClaroIzquierda {
	border: 1px solid #000000;
	text-align: left;
	background-color: #FFFFCC;
}

.RojoText {
	color: #FF0000;
	text-align: center;
	
}
.pcentro {
	text-align: center;
}
.tdsmall {
	font-size: small;
}
.pxsmall {
	font-size: x-small;
	font-family: verdana;
	color: #808080;
}

#lateral{ 
   width: 50%; 
   background-color: #999999; 
   float:right; 
} 
#principal{ 
   background-color: #ffffff; 
   padding: 4 4 4 4px; 
   margin-right: 50%; 
}
.TextoGris {
	font-family: "Trebuchet MS";
	color: #808000;
	padding: 20px;
	background-color: #FFFFFF;
}
.button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 6px 4px;
  cursor: pointer;
}
.button1 {border-radius: 2px;}
.button2 {border-radius: 4px;}
.button3 {border-radius: 8px;}
.button4 {border-radius: 16px;}
.button5 {border-radius: 50%;}

.button4 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
  width: 180px;
  height:80px;
  padding: 8px 16px;
  font-size: 10px;
}
.button4:hover {background-color: #e7e7e7;}

.auto-style48 {
	color: #800000;
	font-size: small;
}
.auto-style51 {
	color: #C0C0C0;
}
.auto-style53 {
	font-size: small;
	color: #808080;
}
.auto-style59 {
	font-size: medium;
	font-weight: bold;
}
.auto-style78 {
	margin-top: 0;
	margin-bottom: 0;
}
