/**
* Block start reset
*/
:where(.wp-site-blocks) > * {
  margin-block-start: 0;
}

/**
* hyperlinkki
*/
.wp-site-blocks h2 a {
  text-decoration: none;
}
.wp-site-blocks h2 a:hover, .wp-site-blocks h2 a:focus {
  text-decoration: underline;
}
.wp-site-blocks a:focus, .wp-site-blocks a:hover {
  text-decoration: none;
}
.wp-site-blocks a:focus {
  outline: 2px solid #4e5026;
}

/**
* Kielivalitsin
*/
.lang-switcher a {
  display: inline-block;
  text-decoration: none;
  background-color: none;
  transition: 0.2s all;
  padding: 0.25rem 0.5rem;
}
.lang-switcher a:focus, .lang-switcher a:hover {
  text-decoration: none;
  background-color: #4e5026;
  color: white;
}
.lang-switcher a + a {
  margin-left: 0.25rem;
}

/**
* Kelluva kuva tai video
*/
.kellunta {
  outline: 4px solid indianred;
  position: relative;
  top: -8rem;
  background-color: #ccc;
  color: #012;
  max-width: 500px;
  height: auto;
}

/**
* Moder varausupotus
*/
.wp-block-post-content #moder-embed {
  margin-block-start: 0;
}
.wp-block-post-content #moder-embed .moder-embed {
  margin-top: 0;
}
.wp-block-post-content #moder-embed .moder-bar {
  border-radius: 0;
}

/**
* Mobiilin leipis
*/
@media (max-width: 500px) {
  p {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .kellunta {
    position: static;
  }
}
/** 
* Napit
*/
.btn {
  padding: 0.5rem 1.25rem;
}

.btn-primary,
.wp-element-button {
  border: 2px solid #cb6843;
  border-radius: 0;
  background-color: transparent;
  color: #cb6843;
  text-transform: uppercase;
  transition: 0.2s all;
}
.btn-primary:focus, .btn-primary:hover,
.wp-element-button:focus,
.wp-element-button:hover {
  background-color: #cb6843;
  color: black;
}
.btn-primary:active,
.wp-element-button:active {
  background-color: transparent;
}

/**
* Lomakkeet
*/
.nf-form-cont textarea,
.nf-form-cont input[type=text],
.nf-form-cont input[type=email] {
  padding: 0.25rem;
  max-width: 90%;
}
.nf-form-cont hr {
  max-width: 90%;
  border-color: #cb6843;
  margin: 1rem 0 2rem;
}

/** 
* Navigaatio
*/
.wp-block-navigation .wp-block-page-list {
  gap: 0;
}
.wp-block-navigation .wp-block-navigation-item {
  padding: 0.5rem 0.5rem;
}
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
  text-transform: uppercase;
}
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content:focus, .wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content:hover {
  text-decoration: underline;
}
.wp-block-navigation .wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
  margin: 0 auto;
}
.wp-block-navigation .wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
  margin-right: 1rem;
}

/**
* Viiva banneriin
*/
@media (min-width: 782px) {
  #hmbanneri img {
    border-right: 1px solid white;
  }
}

/** 
* Ominaisuudet-ikonit 
*/
.ominaisuudet.ominaisuudet-yhteystiedot .ikoni::before, .ominaisuudet.ominaisuudet-majoitus .ikoni::before {
  background-color: #49392c;
}
.ominaisuudet.ominaisuudet-kokoukset .ikoni::before {
  background-color: #cb6843;
}
.ominaisuudet .ikoni {
  margin-left: 2rem;
}
.ominaisuudet .ikoni::before {
  content: "";
  position: absolute;
  margin-left: -2rem;
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}
.ominaisuudet .ikoni-henkilo::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") no-repeat center/contain;
}
.ominaisuudet .ikoni-tila::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3C/svg%3E") no-repeat center/contain;
}
.ominaisuudet .ikoni-tunnelma::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z'/%3E%3Cpath d='M20 3v4'/%3E%3Cpath d='M22 5h-4'/%3E%3Cpath d='M4 17v2'/%3E%3Cpath d='M5 18H3'/%3E%3C/svg%3E") no-repeat center/contain;
}
.ominaisuudet .ikoni-varustelu::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cline x1='8' x2='16' y1='21' y2='21'/%3E%3Cline x1='12' x2='12' y1='17' y2='21'/%3E%3C/svg%3E") no-repeat center/contain;
}
.ominaisuudet .ikoni-puhelin::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l2.27-2.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l2.27-2.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}
.ominaisuudet .ikoni-email::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}
@media (max-width: 911px) {
  .ominaisuudet {
    margin: 2rem 30%;
  }
}

/**
* Footer
*/
.hmalatunniste h2, .hmalatunniste li, .hmalatunniste p {
  color: #4e5026;
}
.hmalatunniste a {
  color: #4e5026;
  text-decoration: none;
}
.hmalatunniste a:focus, .hmalatunniste a:hover {
  color: black;
  text-decoration: underline;
}
.hmalatunniste a.wp-element-button {
  color: #cb6843;
}
.hmalatunniste a.wp-element-button:focus, .hmalatunniste a.wp-element-button:hover {
  text-decoration: none;
  color: black;
}
.hmalatunniste h2 {
  font-size: 1rem;
  font-weight: normal;
  font-family: "Open Sans", sans-serif;
}
.hmalatunniste ul {
  padding-left: 0;
}
.hmalatunniste ul li {
  list-style: none;
  text-align: center;
}
.hmalatunniste ul li img {
  width: 1.25rem !important;
  height: auto;
  margin-right: 0.5rem;
  margin-left: 0;
  position: relative;
  top: 0.25rem;
}
.hmalatunniste ul li:first-child img, .hmalatunniste ul li:first-child strong {
  margin-left: -0.5rem;
  left: -0.35rem;
}

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