td{
    border: solid 1px black;
}

table#tabel1{
    text-align: center;
    font-size: 100px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	border: 1pt solid grey;
    width: 40%;
    height: 500px;
}

table#tabel2{
    text-align: center;
    font-size: 100px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	border: 1pt solid grey;
    width: 40%;
    height: 500px;
}

table#tabel3{
    text-align: center;
    font-size: 100px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	border: 1pt solid grey;
    width: 40%;
    height: 500px;
}

table#tabel4{
    text-align: center;
    font-size: 100px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	border: 1pt solid grey;
    width: 40%;
    height: 500px;
}

td#t1{
    background-color: red;
}

td#t2{
    background-color: orange;
}

td#t3{
    background-color: pink;
}

td#t4{
    background-color: brown;
}

td#t5{
    background-color: blue;
}

td#t6{
    background-color: indigo;
}

td#t7{
    background-color: violet;
}

td#t8{
    background-color: yellow;
}

/*Eesti lipp*/

table#eesti{
    width: 330px;
    height: 210px;
    border: 1pt solid grey;
    border-spacing: 0;
}
#eesti tr:nth-child(1){
    background-color: blue;
}
/*2.rida*/
#eesti tr:nth-child(2){
    background-color: black;
}
/*3.rida*/
#eesti tr:nth-child(3){
    background-color: white;
}
table#saksamaa{
    width: 330px;
    height: 210px;
    border: 1pt solid grey;
    border-spacing: 0;


}

/*1.rida*/
#saksamaa tr:nth-child(1){
    background-color: black;
    border: 0px;
}

/*2.rida*/
#saksamaa tr:nth-child(2){
    background-color: red;
    border: 0px;
}

/*3.rida*/
#saksamaa tr:nth-child(3){
    background-color: yellow;
    border: 0px;
}

table#iirimaa{
    width: 330px;
    height: 210px;
    border: 1pt solid grey;
    border-spacing: 0;
}

#iirimaa tr:nth-child(1) td:nth-child(1) {
    background-color: green;
}
    #iirimaa tr:nth-child(1) td:nth-child(2) {
        background-color: white;
    }
    #iirimaa tr:nth-child(1) td:nth-child(3) {
        background-color: orange;
}
table#rootsi{
    width: 330px;
    height: 210px;
    border: 1pt solid grey;
    border-spacing: 0;
}
/*1.rida 1.lahter ja 3.rida 1.lahter*/
#rootsi tr:nth-child(1) td:nth-child(1),
#rootsi tr:nth-child(3) td:nth-child(1){
    background-color: blue;
    width:20%;
    border:0pt;
}
    /*1.rida 1.lahter ja 3.rida 1.lahter*/
#rootsi tr:nth-child(1) td:nth-child(2),
#rootsi tr:nth-child(3) td:nth-child(2){
    background-color: yellow;
    width:15%;
    border:0pt;
}
/*1.rida 1.lahter ja 3.rida 1.lahter*/
#rootsi tr:nth-child(1) td:nth-child(3),
#rootsi tr:nth-child(3) td:nth-child(3) {
    background-color: blue;
    border:0pt;
}
    #rootsi tr:nth-child(2) td:nth-child(1){
background-color: yellow;
height: 25%;
        border: 0pt;
}
table#island {
    width: 330px;
    height: 210px;
    border: 1pt solid grey;
    border-spacing: 0;
}
/*1.rida 1.lahter ja 5.rida 1. lahter*/
#island tr:nth-child(1) td:nth-child(1),
#island tr:nth-child(5) td:nth-child(1) {
    background-color: steelblue;
    width: 20%;
    border: 0;
}
/*2.rida 1.lahter ja 4.rida 1. lahter*/
#island tr:nth-child(2) td:nth-child(1),
#island tr:nth-child(4) td:nth-child(1) {
    background-color: white;
    height: 5%;
    border: 0;
}
#island tr:nth-child(1) td:nth-child(5),
#island tr:nth-child(5) td:nth-child(5) {
    background-color: steelblue;
    width: 50%;
    border: 0;
}
#island tr:nth-child(2) td:nth-child(3),
#island tr:nth-child(4) td:nth-child(3){
    background-color: white;
    height: 5%;
    border: 0;
}/**/
#island tr:nth-child(1) td:nth-child(2),
#island tr:nth-child(5) td:nth-child(2){
    background-color: white;
    width: 5%;
    border: 0;
}
#island tr:nth-child(1) td:nth-child(4),
#island tr:nth-child(5) td:nth-child(4) {
    background-color: white;
    width: 5%;
    border: 0;
}

#island tr:nth-child(3) td:nth-child(1) {
    background-color: red;
    height: 15%;
    border: 0;
}/*3.rida 2.lahter*/
#island tr:nth-child(1) td:nth-child(3),
#island tr:nth-child(5) td:nth-child(3),
#island tr:nth-child(2) td:nth-child(3),
#island tr:nth-child(4) td:nth-child(3)
{
    background-color: red;
    width: 10%;
    border: 0;
}

table#tarpv22{
    width: 330px;
    height: 210px;
    border: 1pt solid red;
    border-spacing: 0;
    position: absolute;
	left: 500px;
    top: 800px;
}

#tarpv22 tr:nth-child(1) td:nth-child(1),
#tarpv22 tr:nth-child(3) td:nth-child(1)
{
    background-color: red;
    border: 0;
}

#tarpv22 tr:nth-child(2) td:nth-child(2)
{
    background-color: white;
    border: 0;
    height: 15%;
    width: 30%;
}

#tarpv22 tr:nth-child(4) td:nth-child(2),
#tarpv22 tr:nth-child(4) td:nth-child(3)
{
    background-color: white;
    border: 0;
    height: 5%;
}

#tarpv22 tr:nth-child(5) td:nth-child(4)
{
    background-color: white;
    border: 0;
    width: 4%;
}


#tarpv22 tr:nth-child(2) td:nth-child(1),
#tarpv22 tr:nth-child(2) td:nth-child(3),
#tarpv22 tr:nth-child(4) td:nth-child(1)
{
    background-color: red;
    border: 0;
}

#tarpv22 tr:nth-child(5) td:nth-child(1),
#tarpv22 tr:nth-child(5) td:nth-child(2),
#tarpv22 tr:nth-child(5) td:nth-child(3)
{
    background-color: red;
    border: 0;
}

#tarpv22 tr:nth-child(5) td:nth-child(5)
{
    background-color: orange;
    border: 0;
}
/*1.rida*/
table#omalipp{
    width: 330px;
    height: 210px;
    position: absolute;
    border: 1pt solid grey;
    border-spacing: 0;
}
#omalipp tr:nth-child(1) td:nth-child(1)
{
    background-color: red ;

}
#omalipp tr:nth-child(1) td:nth-child(2)
{
    background-color: blue;
}
#omalipp tr:nth-child(2) td:nth-child(1),
#omalipp tr:nth-child(2) td:nth-child(2),
#omalipp tr:nth-child(3) td:nth-child(1),
#omalipp tr:nth-child(3) td:nth-child(2)

{
    background-color: greenyellow;
    border: 0;
    border-spacing: 0;
    width: 25%;
    height: 36%;
}
#omalipp tr:nth-child(1) td:nth-child(3),
#omalipp tr:nth-child(2) td:nth-child(3)
{
    background-color: deeppink;
    border: 1pt;
    border-spacing: 0;

}
#omalipp tr:nth-child(3) td:nth-child(3)
{
    background-color: yellow;
    height: 35%;
    font-size: large;
    text-space: 10;
}
