/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  height: 2em;
  font-size: 2em;
  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;
}

/* Style the submit button */
input[type=submit] {
  background-color: #4CAF50;
  height: 2em;
  font-size: 2em;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  float: right;
  width: 100%;
}

/* Style the container */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

/* Floating column for labels:100% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs:100% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other  */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}




.pikkuteksti {
    font-size: 0.25em;
}

.tulos_nimi {
    background-color: #4CAF50; /* Green */
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8em;
}

.tulos_yht {
    background-color: #4CAF50; /* Green */
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8em;
}

.tulos_tyhja {
    background-color: #BBBBBB; /* Green */
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_ace {
    background-color: #000000; /* Green */
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}
.tulos_-3 {
    background-color: #195519; /* Green */
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_-2 {
    background-color: #258525; /* Green */
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_-1 {
    background-color: #64AF64; /* Green */
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}



.tulos_0 {
    background-color: #C8FFC8; /* Green */
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_1 {
    background-color: #FFC8C8; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_2 {
    background-color: #FFAFAF; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_3 {
    background-color: #FF9696; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_4 {
    background-color: #FF7D7D; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_5 {
    background-color: #FF6464; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_6 {
    background-color: #FF4B4B; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}

.tulos_7 {
    background-color: #FF3232; 
    border: none;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.5em;
}



.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;

}

.button_old {
    background-color: #3e8e41;
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;

}

.button_red {
    background-color: #CC0000;
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;

}

.button:hover {background-color: #3e8e41}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 1px #666;
  transform: translateY(1px);
}

}

.button_general {
    background-color: #cccccc;
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;

}
