/* updated for V2 */

.tablita, .tablita th, .tablita td.inner {
border: 1px solid black;
}
.pos{
background-color:green;
color:white;
}
.imp{
background-color:red;
color:black;
}
.ant{
background-color:white;
color:white;
}

#tabla_res_ROA , #tabla_res_ROA td  {
        border: 1px solid black;
}

/* V2 - 2020*/
.posible{
	background-color:green;
	color:white;
}
.improbable{
	background-color:red;
	color:black;
}
.inviable{
	background-color:white;
	color:#eeeeee;
}

img.tropa{
	width: 16px;
    height: 16px;
	background-position-y: 0px;
	background-repeat: no-repeat;
	margin: 0;
    padding: 0;
	border: 0;
}

img.tropa0{	background-position-x:    0px;}
img.tropa1{	background-position-x:  -19px;}
img.tropa2{	background-position-x:  -38px;}
img.tropa3{	background-position-x:  -57px;}
img.tropa4{	background-position-x:  -76px;}
img.tropa5{	background-position-x:  -95px;}
img.tropa6{	background-position-x: -114px;}
img.tropa7{	background-position-x: -133px;}
img.tropa8{	background-position-x: -152px;}
img.tropa9{	background-position-x: -171px;}

img.romano{background-image:url("/css/tropas-romanos.gif")}
img.galo{background-image:url("/css/tropas-galos.gif")}
img.germano{background-image:url("/css/tropas-germanos.gif")}
img.huno{background-image:url("/css/tropas-hunos.gif")}
img.egipcio{background-image:url("/css/tropas-egipcios.gif")}
img.espartano{background-image:url("/css/tropas-espartanos.png")}

img.edificio{
	width: 20px;
    height: 20px;
	background-repeat: no-repeat;
	margin: 0;
    padding: 0;
	border: 0;
	background-image:url("/css/edificios.png")
}
img.edificio.militar{
	background-position-y: -25px;
}
.cuartel{background-position-x: -100px;}
.cuartelgrande{background-position-x: -200px;}
.establo{background-position-x: -125px;}
.establogrande{background-position-x: -225px;}
.taller{background-position-x: -150px;}

.militar1{background-position-x: -100px;}
.militar3{background-position-x: -200px;}
.militar2{background-position-x: -125px;}
.militar4{background-position-x: -225px;}
.militar0{background-position-x: -150px;}

.seleccionable:hover{
	box-shadow:0px 0px 10px 0px black;
}
.seleccionado{
	box-shadow:0px 0px 10px 0px black;
}

.input_tiempo{
	width:70px;
}

.tabla_resultados{
	border: solid;
	border-width: 1px;
	padding: 2px;
	margin: 2px;
	text-align: center;
}
.tabla_resultados th{
	border: solid;
	border-width: 1px;
	padding: 2px;
	margin: 2px;
	text-align: center;
}
.tabla_resultados td{
	border: solid;
	border-width: 1px;
	padding: 2px;
	margin: 4px;
	text-align: center;
}


.oculto{
	display:none !important;
}

.building_box{
	min-width: 140px;
	display: block;
}
.building_box input{
	width:60%;
}
.building_box select{
	width: 35%;
}

.building_box img{
	width: 120px;
	height: 120px;
	z-index: 0;
	margin: 0;
    padding: 0;
	border: 0;
	background-repeat: no-repeat;
    background-position: top left;
}