/* PerkkaanIT:n muotoilut */

/**********************************************************************/
/* SIVUPOHJA                                                          */
/**********************************************************************/
html, body {
  min-width: 200px;
  margin: 0px;
}

body {
  background-color: #18234e;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

#sivu {
  background-color: #d7dff1;
  width: 500px;
  max-width: 100%;
  text-align: center;
  margin: auto;
}

div.otsikkoteksti {
  font-size: 52px;
  font-weight: bold;
  font-family: 'Michroma', sans-serif;
  display: inline-block;
}

img.otsikkokuva {
  height: 96px;
  margin-top: 30px;
}

#sisalto {
  font-size: 16px;
  padding: 15px 30px;
}

#alapalkki {
  text-align: center;
  font-weight: bold;
  padding: 12px;
}

@media (max-width:600px) {
  div.otsikkoteksti {
    font-size: 9vw;
    margin-left: 2vw;
  }
  img.otsikkokuva {
    width: 20%;
    height: auto;
    margin-right: 3vw;
    margin-top: 2vw;
  }
  #sivu {
    background-color: #d7dff1;
    width: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    margin: 0px;
    height: initial;
    padding-bottom: 1px;
  }
}

/**********************************************************************/
/* TYPOGRAFIA – BRÄNDIN MUKAISET OTSIKOT                              */
/**********************************************************************/
h1 {
  font-family: 'Michroma', sans-serif;
  font-size: 75px;
}

h2 {
  font-family: 'Michroma', sans-serif;
  font-size: 50px;
}

h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 40px;
}

h4 {
  font-family: 'Michroma', sans-serif;
  font-size: 35px;
}

h5 {
  font-family: 'Michroma', sans-serif;
  font-size: 30px;
}

h6 {
  font-family: 'Michroma', sans-serif;
  font-size: 25px;
}

/**********************************************************************/
/* LINKIT                                                             */
/**********************************************************************/
a {
  color: #33cc33;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#alapalkki a {
  text-decoration: none;
  color: #000000;
}

a.kevytlinkki {
  color: #000000;
  font-size: 12px;
}

/**********************************************************************/
/* PAINIKKEET                                                         */
/**********************************************************************/
.painike {
  display: inline-block;
  background-color: #33cc33;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  text-decoration: none;
  font-weight: normal;
  padding: 0px 10px;
  height: 30px;
  width: 200px;
  line-height: 30px;
  white-space: nowrap;
  border: 0 solid #ffffff;
  box-sizing: border-box;
  margin: 6px 0 16px;
  text-align: center;
  cursor: pointer;
}

.painike:hover,
.painike:active {
  text-decoration: none;
  font-style: normal;
  background-color: #233561;
}

/**********************************************************************/
/* LOMAKEKENTÄT                                                       */
/**********************************************************************/
.lomakevirheilmoitus {
  color: #ff0000;
  font-weight: bold;
}

form input {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #3c5ca5;
  font-size: 18px;
  padding-left: 5px;
  text-align: center;
}

/**********************************************************************/
/* TAULUKOT                                                           */
/**********************************************************************/
table {
  text-align: left;
  width: 100%;
}

table.lomaketaulukko {
  padding-top: 15px;
}

td.lomaketaulukkonimike {
  text-align: right;
  font-weight: bold;
  width: 10px;
  padding-right: 5px;
  padding-bottom: 15px;
}

td.lomaketaulukkokentta {
  text-align: left;
  padding-bottom: 10px;
}

@media (max-width:600px) {
  table.lomaketaulukko td {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-bottom: 5px;
  }
}
