/*================================================
Värit
================================================*/
/*================================================
Breakpointit
================================================*/
/*================================================
Alustukset
================================================*/
.row {
  margin-right: 0;
  margin-left: 0;
}
.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}
p,
li,
td,
div,
a {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: normal;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
}
ul {
  list-style: disc outside;
  margin-left: -40px;
}
.table {
  display: table;
  max-width: 100%;
}
.table .table-row,
.table .tr {
  display: table-row;
  max-width: 100%;
}
.table .td {
  display: table-cell;
  max-width: 100%;
}
.table .th {
  display: table-header-group;
}
.table caption {
  color: #000;
}
textarea {
  width: 400px;
  max-width: 100%;
  border: 1px solid #ccc;
}
input {
  border: 1px solid #ccc;
}
input[type="submit"] {
  border-radius: 10px;
  border: 0px;
  padding: 10px 20px;
}
input[type="submit"]:hover {
  background: #003150;
  color: #fff;
}
.button,
button {
  padding: 1.0em;
  background-color: #d4d4d4;
  margin-top: 10px;
  border-radius: 10px;
  color: #000;
  font-weight: 400;
  text-decoration: none;
  border: 0px;
}
.button:hover,
button:hover {
  color: #fff;
  background-color: #003150;
}
.note {
  background-color: #d4d4d4;
  float: right;
  width: 400px;
  padding: 1.0em;
  margin: 1.0em;
}
@media (max-width: 922px) {
  .note {
    width: 100%;
    margin: auto;
    float: none;
  }
}
body {
  background: #d4d4d4;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.5px;
}
small,
small a {
  font-size: 0.9em;
}
/*================================================

================================================*/
/* yhtä paljon tilaa reunoille kaikelle */
#vaihtuvakuva .logo-cont,
#header-nav ul,
.content {
  width: 80%;
  margin: auto;
}
@media (max-width: 820px) {
  #vaihtuvakuva .logo-cont,
  #header-nav ul,
  .content {
    width: 95%;
  }
}
/*================================================

================================================*/
header {
  width: 100%;
}
header .logo {
  width: 350px;
  max-width: 100%;
  float: left;
  margin-left: 70px;
  margin-top: 30px;
  position: absolute;
  -webkit-filter: drop-shadow(15px 5px 5px #222);
  filter: drop-shadow(0px 0px 15px #000);
}
@media (max-width: 820px) {
  header .logo {
    margin-left: 10px;
    margin-top: 90px;
    width: 250px;
  }
}
header #vaihtuvakuva {
  width: 100%;
  background-position: 50% 50%;
  background-size: cover;
  height: 400px;
}
@media (max-width: 820px) {
  header #vaihtuvakuva {
    background-image: url(../images/mobilebg.jpg) !important;
    border-bottom: 20px solid #980416;
  }
}
#header-nav {
  background-color: #980416;
  height: 50px;
  margin-bottom: 1.0em;
  padding: 10px 1.0em 0px 1.0em;
  text-align: center;
  margin: auto;
  width: 100%;
}
#header-nav ul {
  text-align: center;
  max-width: 1200px;
}
#header-nav li {
  float: left;
  margin-right: 1.0em;
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  list-style: none;
  color: #000;
  padding: .5em 1.0em;
  display: inline-block;
  text-align: center;
}
#header-nav .active,
#header-nav li:hover {
  background-color: #fff;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  display: inline-block;
  text-align: center;
}
@media (max-width: 922px) {
  #header-nav .active,
  #header-nav li:hover {
    background-color: #003150;
    border-radius: 10px;
    color: #fff;
  }
}
@media (max-width: 922px) {
  #header-nav {
    height: auto;
    padding: 0px;
  }
  #header-nav li {
    width: 100%;
    margin: 0px;
  }
  #header-nav ul {
    margin-left: -20px;
    width: 100%;
  }
}
.content {
  max-width: 1200px;
  padding: 3.0em 2.0em;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  min-height: 400px;
}
@media (max-width: 920px) {
  .content {
    padding: 1.0em 1.0em;
  }
  .content .left-column {
    margin-top: 2.0em;
  }
  .content img {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.content .front-fb {
  margin-top: 6em;
}
.content .left-column {
  padding: .5em;
}
.content ul {
  margin-left: 10px;
}
.content img {
  max-width: 100%;
}
.content h1,
.content .h1 {
  font-family: 'EB Garamond', serif;
  margin: 0 0 12px 0;
  padding: 0 0 6px 0;
  font-weight: 600;
  color: #003150;
}
@media (max-width: 820px) {
  .content h1,
  .content .h1 {
    font-size: 1.6em;
  }
}
.content h2,
.content .h2 {
  margin-top: 1.2em;
  color: #003150;
}
@media (max-width: 820px) {
  .content h2,
  .content .h2 {
    font-size: 1.3em;
  }
}
.content .ajankohtaista {
  width: 270px;
  height: 400px;
  border: 0px;
  margin: 1.0em;
}
@media (max-width: 992px) {
  .content .ajankohtaista {
    width: 100%;
    margin: 0px;
    margin-top: 2.0em;
  }
  .content .ajankohtaista button,
  .content .ajankohtaista .button {
    width: auto;
  }
}
.content .hunajasavo-logot {
  width: 100%;
  height: 150px;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 20px;
}
.content .hunajasavo-logot img {
  float: left !important;
  margin: 10px;
}
.content .hunajasavo-kurssiaiheet tr {
  border-bottom: 1px solid #ccc;
}
.boxi {
  padding: .5em 1em;
}
.boxi a {
  color: #3c3c3c;
}
.boxi ul {
  margin-left: -25px;
  list-style: none;
}
.boxi .button,
.boxi button {
  width: auto;
  background-color: #003150;
  color: #fff;
}
.boxi .button:hover,
.boxi button:hover {
  width: auto;
  background-color: #7f98a7;
  color: #003150;
}
.srl-logo {
  width: 200px;
}
footer {
  width: 100%;
  background-color: #980416;
  height: 50px;
  color: #3c3c3c;
  margin: 0px;
  padding: 1.0em;
}
