
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    padding: 5px 10px
}

.row:after {
    content: "";
    clear: both;
    display: block;
}
[class*="col-"] {
    float: left;
    padding: 15px;
}
html {
    font-family: "Segoe UI", sans-serif;
}

body {
        /* background-color: #9aa3b2; */
        /* background-image: url("bgiTOT.png"); */
        /* background-repeat: repeat-x; */
background-color: lightgray;
    }

table {
    border-style: outset;
    border: 1px solid black;
    margin-left: 60px;
}
th {
    border-style: solid;
    background-color :#4F783C;
    color: #C0C0C0;
}
tr ul {
  padding-left: 20px;    
}


a:link    { color: #2A421E; background: transparent; }
a:visited { color: #060F0D; background: transparent; }

h1{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    color: #0C1408
    }
h2{
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 20px; 
    color: #0C1408   }

h3{
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 30px; 
/* tumman harmaa teksti */ 
    color: #444444  }
h4{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 40px; 
    color: #444444  }
p{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 60px;
    }
ol{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 60px;
   }
ul{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 90px; 
  }

/* Centered text *//* Centered text */
.centered {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header {
    border-radius: 5px;
    background-color: white; /*vaal sinertava */    
    /* background-color: #D2D2D2; harmaa */
    color: #2A421E;
    padding-top: 2px;
    padding-bottom: 4px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 4px 4px 6px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.24);
  }

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
/* tekstit menuissa */
.menu li {
    border-radius: 5px;
    padding: 8px 5px;
    margin-bottom: 7px;
    /* vihertava laatikko*/
    background-color : #339e35;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.24);
    font: 20px; 
 
}

.menu li a{
 /* vihertava musta teksti*/
   /* color: #0C1408; */
    color: white;  
    text-decoration: none;
    font-weight: bold;
    /* pitaa olla etta koko menu block on aktiivinen */
    display: block;

}
.menu li a:visited {
   text-decoration: none;
}
.menu li a:hover {
    text-decoration: none;
}
.menu li a.active {
/*  teksti menussa */
    color: white;
    text-decoration: none;
}

.menu li:visited {
    text-decoration: none;
}
.menu li:hover {
    background-color: #206423;
    text-decoration: none;
}
/* tama tarvitaan etta tummuu aktiivinen loota */
.menu li.active {
    background-color: #767676;
    /* color: #C0C0C0; */
    /* color: white; */
}

.aside {
    border-radius: 5px;
    /* vihertava musta laatikko*/
    background-color : #328d39;
    padding: 15px;
    color: #C0C0C0;
    text-align: center;
    font-size: 14px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.24);
}

.footer {
    border-radius: 5px;
    background-color: white;
    /* background-color: #57CBB5; vaal sinertava */
    
    color: #2A421E;
    text-align: left;
    font-size: 12px;
    padding-top: 10px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 15px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.24);
}


/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}
@media only screen and (min-width: 500px) {
    /* For tablets: 600px 5S 500px=OK*/
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
    /* For desktop: 768px*/
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}


/*  DROPDOWN menun tyylit  */

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: left;
    padding: 0px 6px;
    text-decoration: none;
    width: 100%;
}

li a:hover, .dropdown:hover .dropbtn {
/* tum vihrea */
    background-color: #206423;
margin: 0px;

}

.dropdown {
    display: inline-block;
  width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    /* hover valikon osa vihrea */    
    background-color: #206423;
    /* hover osan teksti */
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

