/* POHJA ALKAA */
* {
  box-sizing: border-box;
}
/* 2 viimestä numeroon (40) on läpinäkyvyysprosentti */
body {
  /*background-color: #E4DC99;*/
  background-color: #E38669;
}

body, p, h1, h2, h3, h4, h5, h6 {
font-family: Arial, Helvetica, sans-serif;
}

/* POHJA LOPPUU */


/* - - - - - - - - - - - - - - - - - - - - - */


/* VÄRIT ALKAA */
.valko {
  background-color: #ffffff;
}
.khaki {
  background-color: #E4DC99;
}
.green {
  background-color: #98CE9A;
}
.red {
  background-color: #E3866965;
}
/* VÄRIT LOPPUU */


/* - - - - -  KIRJASIMIEN MÄÄRITYS - - - - - - */
/* 
KIRJASIMIEN PISTEKOOT:
1px / 16 = em -> SIIS
ESIM: 18px / 16 = 1.125em 
*/


/* - - - - - FONTIT ALKAA - - - - -*/

/* LEIPIS JA OTSAKKEET */


p {
  font-family: monospace;
  font-size: 1.125em;
  line-height: 1.325em;
  text-align: left;
}
.etus {
  font-family: monospace;
  /*font-size: 1.125em;
  line-height: 1.325em;*/
  font-size: 1.0em;
  line-height: 1.75em;
  text-align: left;
}

p.gall {
  font-family: monospace;
  color: #13851D;
  font-size: 1em;
  font-weight: bold;
  text-align: left;
  margin-top: -6px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
p.kuvatxt {
  font-family: monospace;
  color: #13851D;
  font-size: 0.75em;
  font-weight: bold;
  text-align: left;
  margin-top: 8px;
  margin-bottom: 4px;
  letter-spacing: 0px;
}
p.klik {
  font-family: monospace;
  color: black;
  font-size: 0.75em;
  font-weight: bold;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 26px;
  letter-spacing: 0px;
}

/* LINKKISIVJEN PIANI KOMMENTTIRIVI */
p.linkkikommentti {
  font-family: monospace;
  font-size: 14px;
  /*font-weight: bold;*/
  color:#F44336;
  margin: -16px 0 -10px 0;
}

/* VÄLIOTSIKKO */
.vali {
  font-family: monospace;
  font-size: 1.375em;
  font-weight: bold;
  line-height: 1.35em;
  text-align: left;
  margin: 0 0 -0.675em 0;
}
/* ALLEKIRJOITUS */
.allek {
  font-family: monospace;
  font-style: italic;
  font-weight: bold;
  font-size: 1.125em;
  line-height: 1.325em;
  text-align: right;
}

/* MOTTO */
.motto {
  font-family: monospace;
  font-size: 1.125em;
  color: #13851D;
  /*line-height: 1.125em;*/
  /*line-height: 1.0em;*/
  text-align: center;
  margin-top: -2px;
  margin-bottom: 2px;
}

/* DIASHOW TEKSTIT */
p.diash {
  font-family: monospace;
  color: #ffffff;
  background-color: #13851D;
  font-size: 1.25em;
  font-weight: bold;
  text-align: left;
  letter-spacing: 2px;
  margin: 0 -16px -0 -16px;
  padding: 7px 7px 0px 7px;	
}

.diashleip {
  font-family: monospace;
  color: #ffffff;
  background-color: #13851D;
  font-size: 1em;
  font-weight: bold;
  text-align: left;
  letter-spacing: 2px;
  margin: 0 -16px 0 -16px;
  padding: 0px 7px 7px 7px;	
}


/* OTSIKOT */
h1 {
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 6px;
  font-size: 1.25em;
  line-height: 1.25em;
  text-align: center;
  margin: 0 0 0 0;
}

h1.hederi {
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 6px;
  font-size: 1.25em;
  line-height: 1.25em;
  text-align: center;
  border-style: hidden;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 0 0 0;
}

/* OTS ELI SIVUN "RUBARI" */
h2.ots {
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 1.25px;
  font-size: 1.25em;
  line-height: 1.25em;
  text-align: center;
  margin: 0.5em 0 -0.5em 0;
}
/* "NAVIPALKKI" */
h1.navi {
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 6px;
  font-size: 0.8em;
  line-height: 1.25em;
  text-align: left;
  margin: 0 0 0 0;
}
h1.sivuots {
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.5em;
  line-height: 1.5em;
  color: #13851D;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 0 0 0;
}


/* - - - - - KUVAN LEVEYS / KORKEUS - - - - -*/

img.kala {
  max-width: 100%;
  height: auto;
}


/* - - - - - - KEHYSKINKKI - - - - - - - - */






/* - - - - - - - ÄLÄ POISTA SEURAAVIA - - - - - - - */

/* NÄYTTÖMÄÄRITYKSET ALKAA */
/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  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: 992px) {
  .column {
    width: 100%;
  }
}
/* 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: 50%;
  }
}
/* NÄYTTÖMÄÄRITYKSET LOPPUU */

