/** Fonts */
@import url("https://fonts.googleapis.com/css2?family=Karla:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;800&display=swap");
/** Colors */
/** Effects
   - Shadow for cards/boxes with light background
       box-shadow: 4px 4px 14px $shadowcolorlight;
   - Shadow for cards/boxes with dark background
       box-shadow: 4px 4px 14px $shadowcolordark;
   - Hover for cards/boxes
       transform: scale(1.02);
       transition: transform .4s;
       transition-timing-function: ease-out;
*/
/** Compiling */
/** General */
body {
  font-family: "Karla", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #444;
  background: #fbfbfb;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #434662;
  margin-bottom: 0.5em;
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
}

p {
  margin: 0 0 2em;
  text-align: left;
}

figcaption {
  font-size: 0.85rem;
}

a {
  color: #444;
  text-decoration: none;
}

a:hover {
  color: #ab8b9b;
}

p a {
  text-decoration: underline;
}

p a:hover {
  text-decoration: none;
}

.row {
  justify-content: space-around !important;
}

.the-content {
  padding-top: 4em;
  min-height: 100px;
  padding-bottom: 4em;
}

.font-color-white {
  color: white;
}

#page.site {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
}

.show-for-sr, .show-on-focus {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --select-border: #777;
  --select-focus: blue;
  --select-arrow: var(--select-border);
}

select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  z-index: 1;
  outline: none;
}

.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;
  min-width: 15ch;
  max-width: 30ch;
  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  padding: 0.25em 0.5em;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1.1;
  background-color: #fff;
  background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
}

.select select, .select::after {
  grid-area: select;
}

.select::after {
  content: "";
  justify-self: end;
  width: 0.8em;
  height: 0.5em;
  background-color: var(--select-arrow);
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

.select--disabled {
  cursor: not-allowed;
  background-color: #eee;
  background-image: linear-gradient(to top, #ddd, #eee 33%);
}

label {
  font-size: 1.125rem;
  font-weight: 500;
}

.select + label {
  margin-top: 2rem;
}

/** Header */
.gispo-logo-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  clear: both;
}

.gispo-logo-nav-wrapper .gispo-logo {
  flex-grow: 1;
  justify-self: left;
}

.gispo-logo-nav-wrapper .gispo-nav {
  flex-grow: 0;
}

.gispo-logo {
  padding: 1em;
}

.gispo-logo .gispo-logo-img {
  width: 180px;
}

@media only screen and (max-width: 1280px) {
  .gispo-logo .gispo-logo-img {
    width: 160px;
  }
}

.container-hero-header {
  color: #434662;
  width: 50%;
  padding-top: 5em;
  z-index: 1;
}

.container-hero-header h1 {
  line-height: 140%;
}

.bannerikuva-wrapper {
  margin-bottom: 2em;
}

.bannerikuva-wrapper .bannerikuva {
  min-height: 200px;
  display: flex;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  justify-content: space-evenly;
}

.bannerikuva-wrapper .bannerikuva:before {
  background: #fbfbfb;
  content: "";
  position: absolute;
  background-size: cover;
  min-height: inherit;
  height: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  opacity: 0.4;
}

.bannerikuva-wrapper .bannerikuva .bannerikuva-matala .container-hero-header {
  padding-top: 7em;
}

.bannerikuva-wrapper .bannerikuva-matala {
  height: 50vh;
}

.bannerikuva-wrapper .bannerikuva-korkea {
  height: 70vh;
}

#branding.site-header {
  background-image: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
  position: absolute;
  top: 0;
  width: 100%;
  padding-top: 1%;
  z-index: 2;
}

/** Admin bar */
.admin-bar #branding.site-header {
  margin-top: 32px;
}

.admin-bar .bannerikuva-wrapper .bannerikuva:before {
  margin-top: 32px;
}

/** Language switcher */
.language-switcher-and-search {
  display: flex;
  justify-content: flex-end;
}

.language-switcher-and-search #openSearchModal img {
  max-height: 22px;
  margin-left: 20px;
  top: -2px;
  position: relative;
}

.language-switcher-and-search .header-languages-slugs-wrapper {
  display: table;
  margin-left: -10px;
  margin-right: -10px;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language {
  padding: 0 10px;
  display: table-cell;
  transition: all 0.2s;
  position: relative;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language a {
  transition: all 0.2s;
  opacity: 0.6;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language a:hover, .language-switcher-and-search .header-languages-slugs-wrapper .language a:active, .language-switcher-and-search .header-languages-slugs-wrapper .language a:focus {
  text-decoration: none !important;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language a:after {
  opacity: 0;
  transition: all 0.2s;
  content: '';
  position: absolute;
  display: block;
  height: 2px;
  width: 100%;
  bottom: -8px;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language:before {
  content: '';
  position: absolute;
  right: -0.5px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 1px;
  height: 100%;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language:last-child:before {
  display: none !important;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language.current-language a {
  opacity: 1;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language:hover a, .language-switcher-and-search .header-languages-slugs-wrapper .language:active a, .language-switcher-and-search .header-languages-slugs-wrapper .language:focus a {
  opacity: 1;
}

.language-switcher-and-search .header-languages-slugs-wrapper .language:hover a:after, .language-switcher-and-search .header-languages-slugs-wrapper .language:active a:after, .language-switcher-and-search .header-languages-slugs-wrapper .language:focus a:after {
  opacity: 1;
}

.search-modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
}

.search-modal .search-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 40px;
  border: 1px solid #888;
  width: 80%;
  max-width: 460px;
  transform: translateY(25vh);
}

.search-modal .search-modal-content h4 {
  margin-top: 0;
}

.search-modal .search-modal-content .search-modal-close {
  color: #aaaaaa;
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
}

.search-modal .search-modal-content .search-modal-close:hover, .search-modal .search-modal-content .search-modal-close:focus, .search-modal .search-modal-content .search-modal-close:active {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#search-form-modal .search-form-inputs-wrapper {
  display: flex;
}

#search-form-modal .search-form-inputs-wrapper button {
  border: 0;
  background: #7a3884;
  padding: 4px 18px;
  color: white;
  height: 35px;
}

#search-form-modal .search-form-inputs-wrapper label {
  width: 70%;
}

#search-form-modal .search-form-inputs-wrapper input {
  height: 35px;
  border-radius: 0;
  border: 1px solid #ccc;
  padding: 10px;
  border-right-width: 0;
  width: 100%;
}

/** Navigation */
.gispo-nav .navbar-expand-md {
  justify-content: center;
}

.menu-item {
  padding: 0.4em;
  font-size: 1.1em;
}

@media only screen and (max-width: 1366px) {
  .menu-item {
    font-size: 16px;
  }
}

@media only screen and (max-width: 1280px) {
  .menu-item {
    font-size: 15px;
  }
}

.menu-item a {
  color: #434662;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-right: 1em;
}

.menu-item a:hover {
  color: #ab8b9b;
}

.menu-item li.active a {
  color: #7a3884;
}

.menu-item .sub-menu {
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  display: none;
  list-style: none;
  padding: 0.5rem 1rem;
  position: absolute;
  margin-top: 0.4em;
}

.menu-item .sub-menu a {
  font-size: 0.8em;
  font-weight: 400;
}

.menu-item .sub-menu li {
  margin: 0;
}

.menu-item.button:last-child {
  background-color: #7a3884;
  margin-left: 1em;
}

.menu-item.button:last-child a {
  color: #fff;
  margin-right: inherit;
  padding: 0.6em !important;
}

.menu-item.button:last-child:hover {
  background-color: #ab8b9b;
  transform: scale(1.04);
  transition: transform .2s;
  transition-timing-function: ease-in;
}

.menu-item-has-children > a:after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.menu-item-has-children:hover .sub-menu,
.menu-item .sub-menu:hover {
  display: block;
}

/** Frontpage - Header */
.frontpage-subheader {
  padding-bottom: 2em;
}

/** Frontpage - News, blogs, references, numbers */
#fp-news,
#fp-blogs,
#fp-references,
#fp-numbers {
  padding-bottom: 4em;
}

.frontpage-news-wrapper a,
.frontpage-blogs-wrapper a {
  text-decoration: none;
}

.frontpage-news-wrapper a:hover,
.frontpage-blogs-wrapper a:hover {
  text-decoration: none;
  color: #434662;
}

.frontpage-news-wrapper h3,
.frontpage-blogs-wrapper h3 {
  padding-top: 1em;
  padding-bottom: 1em;
}

.frontpage-news-wrapper .row,
.frontpage-blogs-wrapper .row {
  display: flex;
  flex-wrap: wrap !important;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2em;
}

.frontpage-news-column {
  min-width: 30%;
  min-height: 20em;
  height: auto !important;
  background-color: #fff;
  box-shadow: 4px 4px 14px #4346621a;
  padding: 2em;
}

.frontpage-news-column:hover {
  transform: scale(1.04);
  transition: transform .2s;
  transition-timing-function: ease-out;
  color: #434662;
}

.frontpage-news-content {
  padding: 0em;
}

.frontpage-news-content:hover {
  color: #434662;
}

.frontpage-blogs-column {
  width: 30%;
  height: auto;
  min-height: 35em;
  background-color: #fff;
  box-shadow: 4px 4px 14px #4346621a;
  padding: 0 !important;
}

.frontpage-blogs-column:hover {
  transform: scale(1.04);
  transition: transform .2s;
  transition-timing-function: ease-out;
  color: #434662;
}

.frontpage-blogs-banner {
  min-height: 12em;
  background-size: cover;
  background-position: center;
}

.frontpage-blogs-content {
  padding: 2em !important;
}

.frontpage-blogs-content:hover {
  color: #434662;
}

.frontpage-references {
  justify-content: space-evenly !important;
  filter: grayscale(1);
}

.frontpage-references img {
  max-width: 14em;
  filter: contrast(1.2);
}

.frontpage-certificate {
  align-items: center;
  align-content: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.frontpage-certificate img {
  height: auto;
  max-width: 17em;
}

#fp-numbers {
  background-image: url(../gispo-background.png);
  background-position: center center;
  background-size: cover;
  padding-top: 8em;
  width: 100%;
  clip-path: polygon(100% 5%, 95% 0%, 85% 10%, 75% 20%, 62% 14%, 50% 0%, 34% 14%, 20% 24%, 14% 20%, 5% 0%, 0% 10%, 0% 100%, 100% 100%);
}

.frontpage-numbers-column {
  text-align: center;
}

/** Buttons */
.btn-primary {
  background-color: #7a3884;
  border: none;
  border-radius: 0;
}

.btn-primary:hover {
  background-color: #ab8b9b;
  border: none;
  border-radius: 0;
  color: #fff !important;
}

/** Blocks */
blockquote {
  padding: 3em 4em;
}

blockquote a {
  color: #fbfbfb;
  text-decoration: underline;
}

blockquote a:hover {
  text-decoration: none;
}

.wp-block-column:not(:first-child) {
  margin-left: 3em;
}

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
  margin-left: var(--wp--style--block-gap, 4em);
}

.wp-block-quote {
  background-color: #434662;
  box-shadow: 6px 6px 14px 0px #43466240;
  margin-bottom: 4em;
  margin-top: 4em;
  color: #fbfbfb;
  max-width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.wp-block-pullquote blockquote {
  background-color: #434662;
  text-align: left;
  color: #fbfbfb;
}

.wp-block-pullquote blockquote a {
  color: #ffe1cd;
  text-decoration: underline;
}

.wp-block-pullquote blockquote a:hover {
  color: #ab8b9b;
  text-decoration: none;
}

.wp-block-pullquote blockquote cite {
  font-style: normal;
}

.wp-block-image img {
  height: auto !important;
}

.ajankohtaista-list-wrapper {
  padding-top: 4em;
  padding-bottom: 2em;
}

.ajankohtaista-list-wrapper a:hover {
  text-decoration: none;
}

.ajankohtaista-list-wrapper a:hover h3 {
  text-decoration: underline;
}

.paluulinkki-wrapper {
  padding-top: 2em;
  padding-bottom: 2em;
}

.paluulinkki-wrapper a {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: bold;
}

/** Lists */
.wp-block-latest-posts li {
  padding: 2em;
  background-color: #fff;
  box-shadow: 4px 4px 14px #43466220;
}

.wp-block-latest-posts li:hover {
  transform: scale(1.02);
  transition: transform .4s;
  transition-timing-function: ease-out;
}

.wp-block-latest-posts li a {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: #434662;
  font-weight: bold;
  font-size: 1.4em;
}

.wp-block-latest-posts li a:hover {
  color: #ab8b9b;
}

/** Subpage cards */
.subpage-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  padding-bottom: 4em;
}

.subpage-cards-wrapper a {
  flex: 30%;
  max-width: 33.33%;
}

.subpage-cards-wrapper a:hover {
  text-decoration: none;
  color: inherit;
}

.subpage-cards-wrapper a:hover .btn-primary {
  background: #ab8b9b;
}

.subpage-card {
  display: flex;
  flex-direction: column;
  margin: 1em;
  background-color: #fff;
  box-shadow: 4px 4px 14px #43466220;
  background-position: 0 0;
  background-repeat: no-repeat;
  transition: background 0.3s ease-in-out;
}

.subpage-card:hover {
  background-position: 0 200px;
  transform: scale(1.02);
  transition: transform .4s;
  transition-timing-function: ease-out;
}

.subpage-card:hover a:hover {
  color: inherit;
}

.subpage-card .subpage-card-img {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #434662cc;
  background-blend-mode: soft-light;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 16em;
  padding: 2em 2em 1em 2em;
}

.subpage-card .subpage-card-img h3,
.subpage-card .subpage-card-img h4,
.subpage-card .subpage-card-img h5,
.subpage-card .subpage-card-img p,
.subpage-card .subpage-card-img a,
.subpage-card .subpage-card-img dl {
  color: white;
  word-break: break-word;
}

.subpage-card .subpage-card-header {
  background-color: transparent;
  color: white;
  text-align: left;
  padding: 1em;
  border-radius: 0;
  transition: background 0.3s ease-in-out;
  filter: drop-shadow(0 0 20px #434662);
}

.subpage-card .subpage-card-content {
  padding: 2em;
}

.subpage-card .subpage-card-content h3 {
  height: auto;
}

.subpage-card .subpage-card-content .excerpt {
  height: auto;
}

.subpage-card .subpage-card-content dl {
  height: auto;
}

.subpage-card .subpage-card-button {
  padding: 0 1.4em 1.4em 1.4em;
  display: flex;
  justify-content: flex-end;
}

.subpage-card .subpage-card-button .btn-primary {
  background-color: #7a3884;
  border: none;
}

.subpage-card .subpage-card-button .btn-primary:hover {
  background-color: #ab8b9b;
  border: none;
}

dl {
  width: 100%;
  overflow: hidden;
}

dl dt {
  float: left;
  width: 45%;
}

dl dd {
  float: left;
  width: 55%;
}

.product-details-card dl {
  max-width: 400px;
  margin-top: 2em;
  margin-bottom: 2em;
}

/** Team cards */
.container.team-cards-wrapper {
  margin-bottom: 8em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}

.team-card-container {
  max-width: 30%;
  margin-right: 2em;
  margin-bottom: 2em;
}

.team-card {
  background-color: #fff;
  box-shadow: 4px 4px 14px #43466220;
}

.team-card:hover {
  transform: scale(1.02);
  transition-duration: 0.4s;
  transition-timing-function: ease-out;
}

.team-card h1,
.team-card h2,
.team-card h3,
.team-card h4,
.team-card h5,
.team-card h6,
.team-card p {
  margin-left: 6%;
  margin-right: 6%;
}

.team-card img {
  margin-bottom: 1em;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.team-card .wp-block-social-links,
.team-card .wp-block-social-links.has-normal-icon-size {
  margin-left: 6%;
  margin-right: 6%;
}

.team-card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
}

.team-card-content .headers {
  margin: 2em 0;
}

.team-card-content .headers h4 {
  font-weight: 400;
}

.team-card-content .contact {
  font-weight: 800;
}

.team-card-content .media {
  margin-top: 1em;
  background: #fcfcfc;
  padding-top: 3em;
}

.team-card-content .media img {
  margin-right: 1em;
  max-width: 2em;
}

.team-card-content .media img:hover {
  transform: rotate(10deg);
  transition-duration: .3s;
  animation-timing-function: ease-out;
}

.team-card-row {
  margin-bottom: 4em;
}

.team-card-contact {
  max-width: 20em;
  height: auto;
  background-color: #fff;
  box-shadow: 4px 4px 14px #4346621a;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1em;
}

.team-card-contact h1,
.team-card-contact h2,
.team-card-contact h3,
.team-card-contact h4,
.team-card-contact h5,
.team-card-contact h6,
.team-card-contact p {
  margin-left: 8%;
  margin-right: 8%;
}

.team-card-contact p {
  margin-top: 1.6em;
}

.team-card-contact img {
  margin-bottom: 1em;
}

.team-card-contact-button {
  background-color: #434662;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}

.team-card-contact-button:hover {
  transform: scale(1.01);
  transition-duration: .3s;
  transition-timing-function: ease-out;
  background-color: #ab8b9b;
}

/** Blog */
p.wp-block-tag-cloud {
  font-weight: bold;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  text-align: center;
  letter-spacing: 0.01em;
}

.blog-card-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2em;
}

.blog-card-list a:hover {
  text-decoration: none;
}

.blog-card {
  flex: 45%;
  max-width: 50%;
  margin: 1em;
  background-color: #fff;
  box-shadow: 4px 4px 14px #4346621a;
  background-position: 0 0;
  background-repeat: no-repeat;
  border-radius: 0;
  transition: background 0.3s ease-in-out;
}

.blog-card:hover {
  background-position: 0 200px;
  transform: scale(1.02);
  transition: transform .4s;
  transition-timing-function: ease-out;
}

.blog-card a:hover {
  color: inherit;
}

.blog-card a:hover .btn-primary {
  background: #ab8b9b;
}

.blog-card .blog-card-img {
  height: 220px;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #434662cc;
  background-blend-mode: soft-light;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: white;
  padding: 2em 2em 1em 2em;
}

.blog-card .blog-card-img h3,
.blog-card .blog-card-img h4,
.blog-card .blog-card-img h5,
.blog-card .blog-card-img p,
.blog-card .blog-card-img a,
.blog-card .blog-card-img dl {
  color: white;
  word-break: break-word;
  filter: drop-shadow(0 0 20px #434662);
}

.blog-card .blog-card-content {
  display: flex;
  flex-direction: column;
  padding: 4% 6%;
}

.blog-card .blog-card-content .btn-primary {
  float: right;
}

.listing-container .no-articles {
  padding: 1.0625rem;
}

.listing-container.loading .listing-loader-wrapper {
  position: relative;
  padding: 2rem;
}

.listing-container.loading .listing-loader-wrapper .gispo-loader {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: relative;
  animation: gispo-loader-uc63075cd 0.8s ease alternate infinite;
  animation-delay: calc(($duration / 5) * 2);
  left: 25px;
  margin-left: auto;
  margin-right: auto;
  top: -15px;
}

.listing-container.loading .listing-loader-wrapper .gispo-loader::after, .listing-container.loading .listing-loader-wrapper .gispo-loader::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: gispo-loader-uc63075cd 0.8s ease alternate infinite;
}

.listing-container.loading .listing-loader-wrapper .gispo-loader::before {
  left: -25px;
  animation-delay: calc(($duration / 5) * 1);
}

.listing-container.loading .listing-loader-wrapper .gispo-loader::after {
  right: -25px;
  animation-delay: calc(($duration / 5) * 3);
}

@keyframes gispo-loader-uc63075cd {
  0% {
    box-shadow: 0 15px 0 -15px #7a3884;
  }
  100% {
    box-shadow: 0 15px 0 #7a3884;
  }
}

.listing-filters-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-left: 1.875rem;
  padding-right: 1.875rem;
  margin-bottom: 1.5625rem;
}

.listing-filters-wrapper > div {
  padding: 0.25rem 0;
  display: flex;
}

.listing-filters-wrapper > div > div > .select {
  margin-left: 1rem;
}

.listing-show-more-wrapper {
  justify-content: center;
  padding: 2rem 2rem 4rem 2rem;
}

.listing-show-more-wrapper .listing-show-more-button {
  border: 0;
  background: #7a3884;
  padding: 0.25rem 1.125rem;
  color: white;
  height: 2.25rem;
  text-align: center;
}

.author-card {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  min-height: 150px;
  max-height: 240px;
  background-color: #fff;
  margin-top: 2em;
}

.author-card .author-card-img {
  height: auto;
  max-height: 240px;
  max-width: 240px;
}

.author-card .author-card-img img {
  height: 100%;
  width: 100%;
}

.author-card .author-card-content {
  width: 100%;
  padding: 2em;
}

.author-card-wrapper {
  box-shadow: 0.6em 0.6em 1em #43466226;
}

/** Background-bottom 
* - Not in use
*/
.background-bottom {
  position: absolute;
  top: 200vh;
  right: 0;
  background-image: url(../gispo-background.png);
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  clip-path: polygon(100% 5%, 95% 0%, 85% 10%, 75% 20%, 62% 14%, 50% 0%, 34% 14%, 20% 24%, 14% 20%, 5% 0%, 0% 10%, 0% 100%, 100% 100%);
  z-index: -999;
}

/** Footer */
footer {
  background-color: #434662;
  padding-top: 6em;
  padding-bottom: 4em;
  text-align: left;
  display: flex;
  flex-direction: row;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: #ffe1cd;
}

footer p {
  color: #fff;
  margin-bottom: 0.2rem;
}

footer a {
  color: #fff;
  font-weight: bold;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
}

.footer-col {
  max-width: 30%;
}

.footer-gispologo {
  max-width: 12em;
  margin-bottom: 2em;
}

.footer-gispomedia {
  margin-top: 2em;
}

.footer-gispomedia img {
  width: 2em;
  margin-right: 1.2em;
}

.footer-gispomedia img:hover {
  color: #ab8b9b;
  transform: scale(1.1);
  transition-timing-function: ease-out;
  transition-duration: 0.2s;
}

.footer-gispolinks {
  display: flex;
  flex-direction: column;
}

/** Search form, language selector */
.search-form-wrapper {
  padding: 0.6em 0;
}

.search-form-wrapper [type=submit] {
  background-color: #ffe1cd;
  border: none;
  border-radius: 0;
  color: #434662;
  font-weight: bold;
}

.search-form-wrapper [type=submit]:hover {
  background-color: #ab8b9b;
  border: none;
}

.search-form-wrapper input {
  border-radius: 0;
  font-size: 0.8em;
  border-width: 0.1em;
  border-color: #434662;
  border-style: solid;
}

.language-selector-wrapper {
  padding: 0.6em 0;
}

.language-selector-wrapper a {
  display: inline-block;
  padding-right: 10px;
}

#dashicon-search-action {
  display: none;
}

/** Responsive
    - Mobile = < 600px
    - Tablet = 600px - 900px
    - Desktop = > 900px
*/
/** Mobile */
@media only screen and (max-width: 600px) {
  /** General */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    text-align: center;
  }
  /** Header */
  .container-hero-header {
    width: 100%;
  }
  .container-hero-header h1 {
    font-size: calc(1.375rem + 1.5vw);
    overflow: hidden;
    text-align: center;
  }
  /** Navigation */
  .gispo-logo-nav-wrapper {
    display: block;
    text-align: center;
  }
  .gispo-logo-nav-wrapper .navbar {
    display: block;
    padding-top: 1.6rem;
  }
  .menu-paavalikko-container, .menu-paavalikko-in-english-container {
    display: none;
    background: #ffffffcc;
    backdrop-filter: blur(6px);
  }
  .navbar-nav {
    padding: 0 1rem 1rem;
  }
  .gispo-nav {
    position: absolute;
    top: 0;
    right: 0;
  }
  .gispo-nav a {
    margin-right: 0;
  }
  .gispo-nav li:last-child {
    margin-left: 0;
  }
  .gispo-container {
    text-align: right;
  }
  .gispo-container .navbar-toggler {
    padding: 0.8rem;
  }
  .menu-item .sub-menu {
    list-style: none;
    margin-left: 1rem;
  }
  .menu-item-has-children:hover .sub-menu,
  .menu-item .sub-menu:hover {
    display: none;
  }
  .menu-item-has-children > a:after {
    display: none;
  }
  /** Frontpage */
  .wp-block-column {
    margin-bottom: 2em;
  }
  .wp-block-column:not(:first-child) {
    margin-left: 0;
  }
  .wp-block-columns {
    margin-bottom: 0;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
    margin-left: 0;
  }
  #blogi-uusimmat-kolme {
    padding-top: 10em;
  }
  .frontpage-news-wrapper .row,
  .frontpage-blogs-wrapper .row {
    flex-direction: column;
  }
  .frontpage-news-column {
    margin-bottom: 2em;
    width: 100%;
  }
  .frontpage-blogs-column {
    width: 100%;
    margin-bottom: 2em;
  }
  .frontpage-blogs-content p {
    overflow: hidden;
  }
  .frontpage-references {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .frontpage-references img {
    max-width: 40%;
  }
  .frontpage-numbers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .frontpage-numbers-column {
    max-width: 40%;
    margin: 0 auto 1em;
  }
  #fp-numbers {
    clip-path: polygon(100% 5%, 95% 0%, 85% 10%, 50% 0%, 33% 14%, 14% 20%, 5% 0%, 0% 10%, 0% 100%, 100% 100%);
  }
  /** Footer */
  .footer-wrapper {
    flex-direction: column;
  }
  .footer-wrapper p,
  .footer-wrapper a,
  .footer-wrapper h1,
  .footer-wrapper h2,
  .footer-wrapper h3,
  .footer-wrapper h4,
  .footer-wrapper h5 {
    text-align: center;
  }
  .footer-col {
    max-width: 100%;
    margin-bottom: 2em;
  }
  .footer-gispologo {
    max-width: 80%;
    padding: 0 1em 0;
    margin: 0 auto 4em;
  }
  .footer-gispomedia {
    text-align: center;
  }
  .somekuvakkeet {
    justify-content: space-evenly;
  }
  .somekuvakkeet img {
    padding-right: 4px;
    padding-left: 4px;
  }
  .search-form-wrapper {
    align-self: center;
    margin: 2em auto 0;
  }
  .language-selector-wrapper {
    align-self: center;
  }
  /** Cards */
  .subpage-cards-wrapper {
    flex-direction: column;
    padding: 0;
    margin-bottom: 4em;
  }
  .subpage-cards-wrapper a {
    flex: 100%;
    max-width: 100%;
  }
  .subpage-card {
    margin: 1em 0 0;
  }
  .team-card-container {
    max-width: 100vw;
    margin-right: 0;
  }
  /** Blog */
  .blog-card-list {
    flex-direction: column;
    padding: 0;
    margin-bottom: 4em;
  }
  .blog-card-list .blog-card {
    flex: 100%;
    max-width: 100%;
    margin: 0 0 1em;
  }
  .blog-card-list .blog-card .blog-card-content p {
    overflow: hidden;
  }
  /** Icons */
  .icon-container {
    max-width: 40%;
    margin-left: auto;
    margin-right: auto;
  }
  /** Author card */
  .author-card-content {
    padding: inherit !important;
  }
  .author-card-content p {
    display: none;
  }
  .author-card-content h3 {
    margin-top: 50%;
  }
  /** Admin bar */
  .admin-bar #branding.site-header {
    margin-top: 46px;
  }
  .admin-bar .bannerikuva-wrapper .bannerikuva:before {
    margin-top: 46px;
  }
}

/** Tablet */
@media only screen and (min-width: 600px) and (max-width: 900px) {
  /** Header */
  .container-hero-header {
    width: 100%;
  }
  .container-hero-header h1 {
    font-size: calc(1.375rem + 1.5vw);
    overflow: hidden;
    text-align: center;
  }
  /** Navigation */
  .gispo-logo-nav-wrapper {
    display: block;
    text-align: center;
  }
  .gispo-logo-nav-wrapper .navbar {
    display: block;
    padding-top: 1.6rem;
  }
  .menu-paavalikko-container, .menu-paavalikko-in-english-container {
    display: none;
    background: #ffffffcc;
    backdrop-filter: blur(6px);
  }
  .navbar-expand-md .navbar-nav {
    flex-direction: column;
  }
  .navbar-nav {
    padding: 0 1rem 1rem;
  }
  .gispo-nav {
    position: absolute;
    top: 0;
    right: 0;
  }
  .gispo-nav a {
    margin-right: 0;
  }
  .gispo-nav li:last-child {
    margin-left: 0;
  }
  .gispo-container {
    text-align: right;
  }
  .gispo-container .navbar-toggler {
    padding: 0.8rem;
    display: block;
  }
  /** Frontpage */
  .wp-block-columns {
    margin-bottom: 0;
  }
  #blogi-uusimmat-kolme {
    padding-top: 10em;
  }
  .frontpage-news-wrapper .row,
  .frontpage-blogs-wrapper .row {
    flex-direction: column;
  }
  .frontpage-news-column {
    margin-bottom: 2em;
    width: 100%;
    min-height: auto;
  }
  .frontpage-blogs-column {
    width: 100%;
    margin-bottom: 2em;
    min-height: auto;
  }
  .frontpage-blogs-content p {
    overflow: hidden;
  }
  .frontpage-references .row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .frontpage-references .row img {
    max-width: 50%;
  }
  .frontpage-numbers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .frontpage-numbers-column {
    max-width: 40%;
    margin: 0 auto 1em;
  }
  #fp-numbers {
    clip-path: polygon(100% 5%, 95% 0%, 85% 10%, 50% 0%, 33% 14%, 14% 20%, 5% 0%, 0% 10%, 0% 100%, 100% 100%);
  }
  /** Cards */
  .subpage-cards-wrapper {
    flex-direction: column;
    padding: 0 0 4em;
  }
  .subpage-cards-wrapper a {
    flex: 100%;
    max-width: 100%;
  }
  .subpage-card {
    margin: 1em 0 0;
  }
  .team-card-container {
    max-width: 40vw;
  }
  /** Footer */
  .footer-wrapper {
    flex-direction: column;
  }
  .footer-wrapper p,
  .footer-wrapper a,
  .footer-wrapper h1,
  .footer-wrapper h2,
  .footer-wrapper h3,
  .footer-wrapper h4,
  .footer-wrapper h5 {
    text-align: center;
  }
  .footer-col {
    max-width: 100%;
    margin-bottom: 2em;
  }
  .footer-gispologo {
    max-width: 40%;
    padding: 0 1em 0;
    margin: 0 auto 4em;
  }
  .somekuvakkeet {
    justify-content: space-evenly;
  }
  .somekuvakkeet img {
    padding-right: 4px;
    padding-left: 4px;
  }
  .search-form-wrapper {
    align-self: center;
    margin: 2em auto 0;
  }
  .language-selector-wrapper {
    align-self: center;
  }
  /** Blog */
  .blog-card-list {
    flex-direction: column;
    padding: 0;
    margin-bottom: 4em;
  }
  .blog-card-list .blog-card {
    flex: 100%;
    max-width: 100%;
    margin: 0 0 1em;
  }
  .blog-card-list .blog-card .blog-card-content p {
    overflow: hidden;
  }
}
