@charset "utf-8";

/*
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
General display definitions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/

html {
  position: relative;
  min-height: 100%;
  overflow: -moz-scrollbars-vertical;
  overflow-x: hidden;
  overflow-y: scroll;
}

html,
body {
  height: 100%;
  font-family: "Open Sans", sans-serif !important;
  font-size: 15px !important;
}

body {
  font-weight: 400;
  line-height: 1.53333333;
  letter-spacing: .05rem;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Open Sans", sans-serif !important;
  font-weight: 700;
}

h1,
.h1 {
  margin: 1.03em 0 .67em;
  font-size: 2em;
}

h2,
.h2 {
  margin: 1.27em 0 .83em;
  font-size: 1.5em;
}

h3,
.h3 {
  margin: 1.53em 0 1em;
  font-size: 1.17em;
}

h4,
.h4 {
  margin: 2.04em 0 1.33em;
  font-size: 1em;
}

h5,
.h5 {
  margin: 2.56em 0 1.67em;
  font-size: .83em;
}

h6,
.h6 {
  margin: 3.57em 0 2.33em;
  font-size: .67em;
}

.tag-button,
.tag-button:hover,
.tag-button:focus,
.tag-button:active {
  padding: 0.2rem 1.5rem;
  color: #fff;
  text-decoration: none;
  background: #01566B;
  border-color: transparent;
  border-radius: 1.5rem;
}

.tag-button:hover,
.tag-button:focus,
.tag-button:active {
  text-decoration: underline;
}

a {
  text-underline-offset: .3rem;
}

/*
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Homepage definitions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/

/*
.col-menu {
  border: 1px solid black;
}
*/

body.home.parent-theme:not(.child-theme) .header,
body.home.parent-theme:not(.child-theme) .col-menu:first-child {
  background-color: #faece1;
}

/* body.home.parent-theme:not(.child-theme), */

body.home.parent-theme:not(.child-theme) .col-menu:last-child {
  background-color: #ce7557;
}

body.home.parent-theme:not(.child-theme) .col-mobile {
  background-color: #fff;
  background-image: url('../images/etusivu-mobile-vaaka.png?ver=2025-10-14-01');
  background-position: center center;
  background-repeat: repeat-x;
  background-size: auto 4rem;
}

body.home.parent-theme:not(.child-theme) .navbar,
body.home.parent-theme:not(.child-theme) .card {
  background-color: transparent;
}

body.home.parent-theme:not(.child-theme) .card.border-transparent {
  border-color: transparent !important;
}

.responsive-height {
  height: 28%;
}

/*
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Media queries area
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/

/* Mobiilitila: alle 768px */

@media only screen and (max-width: 767.98px) {
  body.home.parent-theme:not(.child-theme) {
    background: linear-gradient(to bottom, var(--custom-pale-color) 0, var(--custom-pale-color) 50%, var(--custom-light-red-color) 50%, var(--custom-light-red-color) 100%);
  }

  .arlu {
    max-width: 45%;
    margin-left: 42px;
  }
}


/* Desktop-tila: vähintään 768px */

@media only screen and (min-width: 768px) {
  body.home.parent-theme:not(.child-theme) {
    background: linear-gradient(to right, var(--custom-pale-color) 0, var(--custom-pale-color) 50%, var(--custom-light-red-color) 50%, var(--custom-light-red-color) 100%);
  }

  body.home.parent-theme:not(.child-theme) {
    background-color: #fff;
    background-image: url('../images/etusivu-desktop-pysty.png?ver=2025-10-14-01');
    background-position: center center;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  body.home.parent-theme:not(.child-theme) .header {
    background-color: transparent;
  }

  .arlu {
    max-width: 45%;
    margin-left: 42px;
  }

  .responsive-height {
    height: 35%;
  }
}
