/**
 * General rules
 * */
/**
 * Imports, part 1 
 * */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;700&display=swap");
/**
 * Basics
 * */
body {
  font-family: "Nunito", "Helvetica", "Arial", sans-serif;
  font-size: 20px;
  color: #4d4d4d;
}

h1 {
  font-size: 2.2em;
  color: #666;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

h2 {
  font-size: 1.8em;
  color: #666;
}

h3 {
  font-size: 1.5em;
  color: #4d4d4d;
}

h4 {
  font-size: 1.5em;
  color: #027a35;
  font-weight: 700;
  margin-top: 1.1em;
}

p, li {
  font-size: 1em;
  color: #4d4d4d;
  font-weight: 300;
}

a {
  font-size: 0.95em;
  color: #4d4d4d;
  font-weight: 300;
}
a:hover {
  color: #027a35;
  font-weight: 700;
}

article a {
  color: #fece4e;
  font-weight: 700;
}

/**
 * Custom style overrides from CKEditor styles dropdown
 * */
span.valkoinen {
  color: white !important;
}

span.musta {
  color: black !important;
}

span.harmaa {
  color: silver !important;
}

.valkoinen-tausta {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1em;
  max-width: 1170px;
  margin: 0 auto;
}

/**
 * Buttons
 * */
.btn-primary {
  background-color: #fece4e;
  border-color: #fece4e;
  color: white;
  border-radius: 20px;
  font-size: 1.2em;
}
.btn-primary:hover {
  background-color: #fece4e;
  border-color: black;
}
.btn-primary a {
  color: white;
}
.btn-primary a:hover {
  text-decoration: none;
}

/**
 * When images are links
 * */
a img {
  transition: filter 0.25s ease-in-out;
}
a img:hover {
  filter: brightness(60%);
}

/**
 * Pagination
 * */
.pagination > .active > a,
.pagination > li > a {
  background-color: transparent;
  color: #027a35;
}
.pagination > .active > a:hover,
.pagination > li > a:hover {
  font-weight: 300;
}

/**
 * Imports, part 2
 * */
/**
 * Rules for header area excluding navigation
 * */
header.navbar-container {
  max-width: 1170px;
}
header.navbar-default {
  background-color: transparent;
  border-width: 0px;
}

/**
 * Rules for navigation
 * */
#navbar-collapse {
  margin-top: 1em;
}
#navbar-collapse a {
  font-weight: 700;
  color: #777;
}
#navbar-collapse a:hover {
  color: black;
}
#navbar-collapse .active a {
  background-color: transparent;
  color: #027a35;
}

/**
 * Rules for body area
 * */
article {
  margin-left: -15px;
  margin-right: -15px;
}
article .field--name-body {
  max-width: 1170px;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 4em;
}

.bannerikuva-container {
  background-size: cover;
  height: 50vh;
  position: relative;
}

.bannerikuva-teksti {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

/**
 * Blogiartikkeli
 * */
.blogiartikkeli .field--name-field-listauskuva {
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
}
.blogiartikkeli .field--name-field-listauskuva img {
  margin: 0 auto;
}
.blogiartikkeli footer {
  display: none;
}

/**
 * Rules for blocks
 * */
#block-ctamari {
  background-color: #f2f2f2;
  margin-left: -15px;
  margin-right: -15px;
}
#block-ctamari .field--name-body {
  max-width: 1170px;
  margin: 0 auto;
  padding: 4em;
}
#block-ctamari p, #block-ctamari li, #block-ctamari h2, #block-ctamari h3 {
  color: black;
}

#block-siivouspaketitjahinnat {
  background-color: #027a35;
  padding: 2em;
  margin-left: -15px;
  margin-right: -15px;
}
#block-siivouspaketitjahinnat h2 {
  text-align: center;
  color: white;
  margin-top: 0px;
  margin-bottom: 0.8em;
}
#block-siivouspaketitjahinnat .field--name-body {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
#block-siivouspaketitjahinnat p, #block-siivouspaketitjahinnat li, #block-siivouspaketitjahinnat a, #block-siivouspaketitjahinnat h3 {
  color: white;
}
#block-siivouspaketitjahinnat .contextual a {
  color: black;
}

.paketti {
  width: 30%;
  background-color: #036d2e;
  min-height: 350px;
  padding: 1.5em;
  margin-bottom: 1.5em;
}
.paketti h3 {
  border-bottom: 1px solid white;
  padding-bottom: 0.5em;
  margin-top: 0px;
}

#block-etusivunalaosanextrat {
  max-width: 1170px;
  margin: 0 auto;
  padding-top: 3em;
  padding-bottom: 4em;
}

#block-takaisinbloginalkusivulle {
  max-width: 1170px;
  margin: 0 auto;
  padding-top: 3em;
  padding-bottom: 4em;
}

#block-views-block-listaa-blogitekstit-block-1 {
  max-width: 1170px;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 4em;
}
#block-views-block-listaa-blogitekstit-block-1 .views-row {
  padding-top: 1em;
  padding-bottom: 1.5em;
}
#block-views-block-listaa-blogitekstit-block-1 .btn {
  margin-top: 1em;
  margin-bottom: 0.5em;
}
#block-views-block-listaa-blogitekstit-block-1 .btn a:hover {
  text-decoration: none;
  font-weight: 300;
}

/**
 * Rules for footer
 * */
footer.footer {
  background-color: #027a35;
  color: white;
  padding: 4em;
  margin-top: 0px;
  border-top-width: 0px;
}
footer p, footer li, footer h2, footer h3, footer a {
  color: white;
}

/*# sourceMappingURL=style.css.map */
