/* Käyttöehtojen ja tietosuojaselosteen sivu (vanha ViewStyles/Terms/Show.css): turkoosi yläpalkki ja logo, ehdot keskellä. */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/opensans-regular-webfont.woff2") format("woff2"), url("../fonts/opensans-regular-webfont.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/opensans-bold-webfont.woff2") format("woff2"), url("../fonts/opensans-bold-webfont.woff") format("woff"); }

* { font-family: "Open Sans", Helvetica, Arial, sans-serif; }
body.terms-page { margin: 0; height: 100%; text-align: center; font-size: 13px; line-height: 18px; color: #646464; }
.terms-page h1, .terms-page h2, .terms-page h3, .terms-page h4 { color: #646464; padding-bottom: 0; margin-bottom: 0; font-weight: 700; text-align: left; }
.terms-page h1 { text-transform: uppercase; padding: 1em 0 .3em; font-size: 2em; line-height: 1.1em; }
.terms-page h2 { padding: .8em 0 .3em; font-size: 1.6em; line-height: 1.1em; border-bottom: 1px dashed #bbb; }
.terms-page h3 { padding: .6em 0 .2em; font-size: 1.2em; }
.terms-page h4 { padding: .4em 0 .2em; font-size: 1.1em; }
.terms-page :is(h1, h2, h3, h4, h5, h6):first-child { padding-top: 0; margin-top: 0; }
.terms-page p { margin: .5em 0 1.5em; }
.terms-page__content { text-align: justify; }
.terms-page__wrap { max-width: 750px; margin: 0 auto; padding: 100px 0 30px; }
.terms-page__header { position: fixed; left: 0; top: 0; z-index: 1000; width: 100%; min-height: 60px; margin: 0; padding: 0; text-align: center;
  background-color: #00c1e1; border-bottom: 1px solid #0084b5; }
.terms-page__logo { padding: 15px 0 6px; }

@media (max-width: 800px) {
  .terms-page__wrap { width: 60%; margin-left: 20%; padding-top: 80px; }
  .terms-page__header { min-height: 40px; }
  .terms-page__logo { padding: 10px 0 6px; }
}

@media (max-width: 500px) {
  .terms-page__wrap { width: 80%; margin-left: 10%; }
}

@media print {
  .terms-page h1 { color: #00c0e4; margin-bottom: 15px; }
  .terms-page__header { display: none; }
  body.terms-page { font-size: 9pt; }
  .terms-page__wrap { margin: 0 auto; padding: 0; max-width: none; width: 88%; }
}
