/*
	Theme Name: Nuorten Akatemia
	Version: 1.0
	Theme URI: http://muuks.fi
	Description: Custom theme by Muuks Creative
	Author: Muuks Creative
	Author URI: http://muuks.fi
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html

*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  html {
    overflow-x: hidden;
  }
}

body {
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.0rem;
  color: #272727;
  background: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "ff-basic-gothic-pro", sans-serif;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
  color: #272727;
}
label {
  color: #272727;
  font-weight: 600;
}
label.checkbox {
  margin: 0 0 1rem;
}
a {
  color: #272727;
  font-weight: inherit;
  transition: all 0.25s ease;
  text-decoration: underline;
}
strong, b {
  font-weight: 600;
}
a:hover, a:focus {
  color: #272727;
  text-decoration: underline;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
}
hr {
  margin: 2rem auto;
  border-top: 1px solid #CBE8DD;
  border-bottom: none;
  max-width: 100%;
}
footer hr {
  margin: 2rem auto;
  border-color: #669700;
  max-width: 100%;
}
table thead {
  background: transparent;
  color: #272727;
}
table tfoot {
  border: none;
  background-color: transparent;
  background: transparent;
  color: #272727;
}
.alignleft {
  float:left;
  margin-right:1rem;
  margin-bottom:1rem;
}
.alignright {
  float:right;
  margin-left:1rem;
  margin-bottom:1rem
}
.aligncenter {
  display: block;
  margin: 0 auto 1rem auto;
}
.alignnone {
  margin: 0 1rem 1rem 0;
}
.entry-content p,
.entry-content ul,
.entry-content ul li,
.entry-content ol,
.entry-content ol li {
  font-family: "ff-basic-gothic-pro", sans-serif;
}
.entry-content p.has-medium-font-size {
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: 600;
}
.entry-content p.large {
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 4.375rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.entry-content p.semi-large {
  font-weight: 600;
  line-height: 1.3;
}
.entry-content p a:not(.read-more),
.entry-content ul a,
.entry-content ol a {
  color: #1E59E2;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid #1E59E2;
}
.entry-content p a[href^=tel],
.entry-content ul a[href^=tel],
.entry-content ol a[href^=tel],
.entry-content p a[href^=mailto],
.entry-content ul a[href^=mailto],
.entry-content ol a[href^=mailto] {
  color: #272727;
  font-weight: 400;
  text-decoration: none;
  border-bottom: none;
}
.entry-content p a:not(.read-more):hover,
.entry-content ul a:hover,
.entry-content ol a:hover {
  color: #ffffff;
  background-color: #1E59E2;
  font-weight: 400;
	text-decoration: none;
  border-bottom: 1px solid #1E59E2;
}
.entry-content h2:not(:first-of-type) {
  margin-top: 3rem;
}
.screen-reader-text,
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  color: #272727;
}
.toggle-container {
	display:none;
}
#container {
  overflow: hidden;
}
body.home #container {
  padding-bottom: 6rem;
}
p, ul, ol, dl {
  margin-bottom: 1.75rem;
  line-height: 1.7;
  font-size: 1.125rem;
}
dl { overflow:hidden; }
dl dt { margin: 0; }
dt { font-weight:600; }
dd + dt { padding:5px 0 0; }
dd { padding:0 0 5px; }

dt {
  width:auto;
  margin-right:3.75%;
  padding:5px 0;
  clear:left;
  float:left;
  font-weight:600;
  border-width:0;
}
dd { padding:5px 0 5px 40%; }
dd + dt + dd { border-width:1px 0 0 0; }

/* Menu */
#mobile-icon {
  width: 40px;
  height: 28px;
  position: relative;
  float:right;
  margin: 2rem 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  display: none;
  z-index: 999;
}

#mobile-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #272727;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
#mobile-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#mobile-icon span:nth-child(2) {
  top: 13px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#mobile-icon span:nth-child(3) {
  top: 26px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#mobile-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -2px;
  left: 6px;
}
#mobile-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}
#mobile-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 26px;
  left: 6px;
}
#secondary-navigation {
  position: relative;
  margin: 0;
  background-color: #CBE8DD;
  padding: 0.25rem 0;
}
.top-secondary-navigation {
  margin: 0;
  float: right;
  display: block;
}
.secondary-menu {
	display: inline-block;
	margin: 0;
}
.secondary-menu ul {
  margin: 0;
  line-height: 1;
}
.secondary-menu ul.menu li {
	display: inline-block;
	position: relative;
}
.secondary-menu ul.menu ul.sub-menu li {
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  position: relative;
}
.secondary-menu ul.menu li a {
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: normal;
  text-decoration: none;
  color: #272727;
  padding: 0;
  margin: 0 0.75rem 0rem;
  padding: 0 0 0.25rem;
  display: inline-block;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  border-bottom: 2px solid transparent;
}
.secondary-menu > ul.menu > li.menu-item.menu-item-has-children > a:after {
  font-family: "FontAwesome";
  font-size: 14px;
  padding-left: .5em;
  vertical-align: top;
  content: "\f078";
}
.secondary-menu ul.menu ul.sub-menu li a {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 12px 15px;
  min-width: 150px;
  max-width: 250px;
  font-size: 1rem;
  text-decoration: none;
  color: #272727;
  font-family: "ff-basic-gothic-pro", sans-serif;
  line-height: 1.3;
  font-weight: normal;
  text-align: left;
  margin: 0;
  text-transform: none;
  font-weight: 600;
  display: block;
}
.secondary-menu ul.menu li:first-child a {
  margin-left: 0;
}
.secondary-menu ul.menu li:last-child a {
  margin-right: 0;
}
.secondary-menu ul.menu li.current-page-ancestor > a,
.secondary-menu ul.menu li.current-menu-item a {
  color: #882581;
}
.secondary-menu ul.menu > li > a:hover {
  color: #272727;
  border-bottom: 2px solid #272727;
}
.secondary-menu ul.menu ul.sub-menu li a:hover {
  text-decoration: underline;
}
.secondary-menu ul ul {
  position: absolute;
  display: none;
  z-index: 1000;
  text-align: left;
}
.secondary-menu ul ul li:last-child > a,
.secondary-menu ul ul li.last-item > a {
  border-bottom: 0;
}
#navigation-bar {
  position: relative;
  margin: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #CBE8DD;
}
.wp-block-group__inner-container::after,
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
#nav-container {
  display: block;
  position: relative;
  margin: 0;
  float: right;
}
nav.main-navigation {
  position: relative;
  display: block;
  clear: both;
  float: right;
  padding: 0;
  margin: 2rem 0 0;
}
.top-bar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.top-bar-menu ul li,
.top-bar-menu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  position: relative;
  float: left;
}
.top-bar-menu:after,
.top-bar-menu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.top-bar-menu > ul > li {
  display: inline-block;
  margin-right: 1.5rem;
}
.top-bar-menu > ul > li:last-child {
  margin-right: 0;
}
.top-bar-menu ul li .open-sub-menu {
  width: 1.5rem;
  height: auto;
  border-radius: 0;
  margin: 0 0 1.25rem 0;
  padding: 0;
  border: 0;
  display: inline-block;
  cursor: pointer;
}
.top-bar-menu ul li .open-sub-menu .arrow {
  fill: #E41C46;
}
.top-bar-menu ul li .open-sub-menu .circle {
  fill: #ffffff;
}
.top-bar-menu ul li .open-sub-menu:hover .arrow {
  fill: #E41C46;
}
.top-bar-menu ul li .open-sub-menu:hover .circle {
  fill: #F8D0DC;
}
.top-bar-menu ul li.focused .open-sub-menu svg {
  transform: scale(1,-1);
}
.top-bar-menu > ul > li > a {
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-decoration: none;
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: 600;
  color: #272727;
  font-size: 1rem;
  line-height: 1.3;
  border-bottom: 2px solid transparent;
}
.top-bar-menu > ul.menu > li.current-page-ancestor > a,
.top-bar-menu > ul.menu > li.current-menu-item > a {
  border-bottom: 2px solid #E41C46;
}
.top-bar-menu > ul.menu > li > a:hover {
  color: #272727;
  text-decoration: none;
  border-bottom: 2px solid #E41C46;
}
.top-bar-menu ul .sub-menu-container {
  position: absolute;
  display: none;
  z-index: 1000;
  text-align: left;
}
.top-bar-menu li.menu-item-has-children.focused > .sub-menu-container {
  left: 0;
  top: auto;
  display: block;
  background: #CBE8DD;
  border-radius: 0;
  box-shadow: 0 10px 10px 0 rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,0.4);
}
.top-bar-menu li.menu-item-has-children:last-child.focused > .sub-menu-container {
  right: 0;
  left: auto;
}
.top-bar-menu ul ul li {
  display: block;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  min-width: 200px;
  max-width: 250px;
}
.top-bar-menu ul ul li:last-child,
.top-bar-menu ul ul li.last-item {
  border-bottom: 0;
}
.top-bar-menu ul ul li a {
  font-size: 1rem;
  text-decoration: none;
  color: #272727;
  font-weight: 600;
  font-family: "ff-basic-gothic-pro", sans-serif;
  line-height: 1.3;
  text-align: left;
  border-bottom: 2px solid transparent;
}
.top-bar-menu ul ul li a:hover {
  border-bottom: 2px solid #E41C46;
}
/* header */
.breadcrumbs-container {
  background-color: #ffffff;
  padding: 1rem 0;
}
.page-breadcrumbs {
  color: #272727;
  padding: 0;
  margin: 0
}
.page-breadcrumbs a {
  color: #272727;
  font-weight: normal;
  text-decoration: underline;
}
.page-breadcrumbs a:hover {
  color: #272727;
  text-decoration: underline;
}
.some-share-title {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  display: block;
  color: #272727;
}
.logo {
  position: relative;
  display: inline-block;
  float: left;
  margin: 0;
  padding: 0;
}
.logo img {
  margin: 1rem 0 0;
  width: 150px;
}
.footer-logo img {
  width: 200px;
}
/* Accordion element */
.accordion-outer {
  margin-bottom: 1.5rem;
  display: none;
  border-bottom: 1px solid #CBE8DD;
}
.accordion-outer.show {
  display: block;
}
.accordion-item {
  position: relative;
  display: block;
  padding: 0.75rem 4rem 0.75rem 0;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: #272727;
  text-decoration: none;

}
.accordion-item.active,
.accordion-item:hover,
.accordion-item:focus {
  color: #272727;
}
.accordion-item:hover,
.accordion-item:focus {
  text-decoration: underline;
}
.accordion-item.active {
  margin-bottom: 0;
}
.accordion-item.trigger:before {
  display: none;
}
.accordion-item:after {
  display: inline-block;
  font-family: 'FontAwesome';
  font-size: 2rem;
  line-height: 1;
  content: "\f107";
  color: #E41C46;
  position: absolute;
  width: auto;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  text-align: center;
  cursor: pointer;
}
.accordion-item.active:after,
.accordion-item:focus:after,
.accordion-item:hover:after {
  color: #E41C46;
}
.accordion-item.active:after {
  content: "\f106";
}
.accordion-content {
  padding: 0;
  border: none;
}
.accordion-content h2 {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
}
.accordion-content p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.section-link {
  margin-top: 3rem;
}
.section-link a.button {
  margin-bottom: 0;
}
.plaster-left-green:before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -1.5rem;
  left: -2rem;
  width: 7rem;
  height: 5rem;
  background-image: url('images/plaster-green.svg');
  background-repeat: no-repeat;
  background-size: 7rem 5rem;
  transform: scale(1,-1);
}
.plaster-right-green:before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -1.5rem;
  right: -2rem;
  width: 7rem;
  height: 5rem;
  background-image: url('images/plaster-green.svg');
  background-repeat: no-repeat;
  background-size: 7rem 5rem;
}
.plaster-left-yellow:before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -1.5rem;
  left: -2rem;
  width: 7rem;
  height: 5rem;
  background-image: url('images/plaster-yellow.svg');
  background-repeat: no-repeat;
  background-size: 7rem 5rem;
}
.section-header {
  font-family: "ff-basic-gothic-pro", sans-serif;
  color: #272727;
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  display: inline-block;
  margin-right: 2rem;
}
.wp-block-group .section-header {
  margin-bottom: 1.5rem;
}
.section-header.large {
  font-size: 2.875rem;
  line-height: 1.3;
}
.yellow-curves:after {
  content: '';
  background-image: url('images/yellow-lines.svg');
  background-position: right top;
  background-size: 150px 300px;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 50px;
  width: 150px;
  height: 300px;
  z-index: -1;
}
.section-container {
  padding: 6rem 0;
  position: relative;
}
.section-container.mint {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  background-color: #cbe8dd;
  background-image: url('images/mint-background.svg');
  margin-bottom: 12rem;
  padding-bottom: 0;
}
.section-container.no-bottom-padding {
  padding-bottom: 0;
}
.section-container.no-top-padding {
  padding-top: 0;
}
.section-container.first {
  padding: 0;
}
.section-container.small-top-padding {
  padding-top: 3rem;
}
.help-block-after {
  margin-bottom: 0;
}
.entry-content p a.button,
.button,
.wp-block-button .wp-block-button__link,
[type='submit'],
[type='button'] {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 1rem 0;
  padding: 0.75rem 2rem;
  -webkit-appearance: none;
  transition: all 0.25s ease-out;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  font-family: "ff-basic-gothic-pro", sans-serif;
  color: #ffffff;
  background-color: #E41C46;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
  border-radius: 60px;
  border: 2px solid #E41C46;
  text-transform: uppercase;
}

.button.large {
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
}
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'],
[type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea, select {
  border-radius: 0;
  max-width: 600px;
  width: 100%;
  background-color: #ffffff;
}
.wp-block-button .wp-block-button__link:hover,
.entry-content p a.button:hover,
.button:hover, .button:active, .button:focus, [type='submit']:hover, [type='button']:hover, [type='submit']:active, [type='button']:active  {
  background-color: #B31430;
  border: 2px solid #B31430;
  color: #ffffff;
  text-decoration: none;
}
.post-featured-image {
  position: relative;
  margin-top: -9rem;
  margin-bottom: 3rem;
  padding-top: 52.5%;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.header-title h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 3rem;
}
.page-heading-container {
  padding: 6rem 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
}
.page-heading-container.purple {
  background-color: #e6d9ee;
  background-image: url('images/purple-background.svg');
}
.page-heading-container.pink {
  background-color: #f8d0dc;
  background-image: url('images/pink-background.svg');
}
.page-heading-container.mint {
  background-color: #cbe8dd;
  background-image: url('images/mint-background.svg');
}
.page-heading-container.yellow {
  background-color: #ffefc2;
  background-image: url('images/yellow-background.svg');
}
.page-heading-container .header-title h1 {
  margin-bottom: 0;
}
.wp-block-image figcaption {
  text-align: center;
}
.wp-block-group {
  clear: both;
  position: relative;
  margin: 0 0 1.75rem;
}
body.home .wp-block-group {
  margin-bottom: 2.25rem;
}
.wp-block-group.narrow {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.wp-block-group.has-background {
  padding: 2rem 2rem 0.25rem;
}
.wp-block-group.has-background.has-white-background-color {
  border: 2px solid #CBE8DD;
}
body.home .wp-block-columns {
  margin-bottom: 6rem;
}
.wp-block-group .wp-block-columns:last-child {
  margin-bottom: 0;
}
div.wp-block-image {
  margin: 0;
}
div.wp-block-image > figure > img,
.wp-block-group__inner-container .wp-block-image figure.alignleft,
figure.wp-block-image {
  margin-bottom: 1.75rem;
}
.wp-block-group__inner-container .wp-block-image figure.alignleft {
  margin-top: 0;
}
.wp-block-group__inner-container .wp-block-image figure.alignleft img {
  margin-bottom: 0;
}
.wp-block-image.no-margin {
  margin-bottom: 0;
}
.alignfull {
  position: relative;
  margin-top: 0;
	margin-bottom: 6rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}
.alignfull.wp-block-group {
  padding: 4rem 0 2.25rem;
}
.alignwide {
  margin-top: 0;
  margin-bottom: 1.25rem;
  margin-left: calc(50% - 36.25rem);
  margin-right: calc(50% - 36.25rem);
  max-width: 72.5rem;
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
}
.alignfull.wp-block-group .wp-block-group__inner-container {
  max-width: 72.5rem;
  margin: 0 auto;
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
}
.alignfull.wp-block-group .wp-block-group__inner-container h2.has-text-align-center {
  margin-bottom: 2rem;
}
.wp-block-image .aligncenter > figcaption, .wp-block-image .alignleft > figcaption, .wp-block-image .alignright > figcaption {
  display: block;
  caption-side: bottom;
}
.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}
.wp-block-table td, .wp-block-table th {
  border: 1px solid #ddd;
  padding: 0.5rem;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.wp-block-table tr {
  background-color: #F2F2F2;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even),
.wp-block-table tr:nth-child(even) {
  background-color: #ffffff;
}
.wp-block-table th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background-color: #CBE8DD;
  color: #272727;
}
.wp-block-embed-youtube {
	position: relative;
}
.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  max-width: 100%;
  height: auto;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.wp-block-embed-youtube figcaption {
  position: relative;
}
.wp-block-embed-youtube iframe,
.wp-block-embed-youtube object,
.wp-block-embed-youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.wp-block-file a.wp-block-file__button {
  margin-top: 1.5rem;
  display: inline-block;
}
small {
  font-size: 0.875rem;
}
figcaption {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
/* blockquote */

blockquote {
  margin: 3em 0;
  padding: 0;
  border-left: none;
  position: relative;
  background-color: transparent;
  text-align: left;
}
.wp-block-pullquote {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}
.wp-block-pullquote cite,
blockquote.wp-block-quote cite {
  color: #272727;
  font-weight: normal;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}
body.home blockquote.wp-block-quote cite {
  font-size: 1.125rem;
}
.wp-block-pullquote {
  text-align: left;
}
.wp-block-pullquote blockquote {
  border-left: 2px solid #E41C46;
  margin: 0;
  padding: 0 0 0 2rem;
  text-align: left;
}
blockquote.wp-block-quote {
  padding: 3rem 0 0;
  margin: 3rem 6rem;
}
blockquote.wp-block-quote:before {
  color: #E41C46;
  content: '\201C';
  font-size: 6rem;
  line-height: 1;
  position: absolute;
  top: -1rem;
  left: 0;
  font-weight: 600;
  z-index: 1;
}
blockquote.wp-block-quote p {
  margin-bottom: 0;
  line-height: 1.3;
  font-size: 1.5rem;
  color: #272727;
  font-style: normal;
  font-weight: normal;
  font-family: "ff-basic-gothic-pro", sans-serif;
}
body.home blockquote.wp-block-quote p {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "ff-basic-gothic-pro", sans-serif;
}
.wp-block-pullquote blockquote p {
  font-family: "ff-basic-gothic-pro", sans-serif;
  color: #272727;
  font-weight: normal;
  font-style: normal;
  line-height: 1.3;
  font-size: 1.5rem;
}
nav.category-navigation ul {
  list-style: none;
  margin: 0 0 3rem;
  width: 100%;
  display: flex;
  gap: 1rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
nav.category-navigation ul li {
  display: inline-block;
}
nav.category-navigation ul li a {
  font-weight: 600;
  font-family: "ff-basic-gothic-pro", sans-serif;
  color: #272727;
  border: 2px solid #F2F2F2;
  background-color: #F2F2F2;
  padding: 0.25rem 1rem;
  text-decoration: none;
  display: block;
  position: relative;
  font-size: 0.875rem;
}
nav.category-navigation ul li a.active,
nav.category-navigation ul li a:hover {
  color: #ffffff;
  background-color: #E41C46;
  border: 2px solid #E41C46;
  text-decoration: none;
  font-weight: 600;
}
nav.category-navigation ul li a.active:after {
    display: inline-block;
    font-family: 'FontAwesome';
    font-size: 16px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    content: "\f00d";
    color: #ffffff;
    background-color: #272727;
    border-radius: 50%;
    position: absolute;
    right: -5px;
    top: -5px;
    text-align: center;
    cursor: pointer;
}
/* paging navigation */
nav.pagination {
  position: relative;
  display: block;
  margin: 2rem 0 0;
  width: 100%;
  padding:0;
}
nav.pagination .nav-links {
  position: relative;
  text-align: center;
}
nav.pagination .nav-links ul {
  margin: 0;
  padding: 0;
}
/* footer */
.footer-section {
  position: relative;
  padding: 6rem 0;
}
.footer-section.second {
  padding: 3rem 0;
}
.footer-section.second:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  height: 3px;
  width: 100%;
  display: block;
  background-image: url('images/black-dotted-line.svg');
  background-repeat: repeat-x;
  background-size: cover;
  background-position: left bottom;
}
footer[role="contentinfo"] {
  display: block;
  width: 100%;
  position: relative;
  background-color: #CBE8DD;
  margin-top: 120px;
}
footer[role="contentinfo"]:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  height: 120px;
  margin-top: -120px;
  width: 100%;
  display: block;
  background-image: url('images/footer-lines.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}
.some-profiles {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 0;
}
.some-profiles li {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 0.5rem;
  vertical-align: middle;
  line-height: 1;
}
.some-profiles li:last-child {
  margin-right: 0;
}
.some-profiles li a {
  display: block;
  border-radius: 100%;
  background-color: #E41C46;
  text-decoration: none;
  padding: 0.65rem 0.65rem;
}
.some-profiles li a:hover {
  background-color: #B31430;
}
.some-profiles li a i {
  font-size: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  color: #ffffff;
  text-align: center;
}
.single .author {
  font-size: 1.1875rem;
}
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6  {
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: 600;
  color: #272727;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
footer ul li, footer ol li, footer p, footer div, footer span {
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: normal;
  color: #272727;
}
footer[role="contentinfo"] p:last-child {
  margin-bottom: 0;
}
footer ul li, footer ol li, footer p, footer div, footer span {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: normal;
}
footer a {
  color: #272727;
  text-decoration: none;
}
footer a:hover {
  color: #272727;
  text-decoration: underline;
}
footer .additional-link {
  margin-left: 3rem;
}
footer .small a {
  font-size: 0.875rem;
}
footer ul.menu {
  margin-bottom: 0;
}
footer ul.menu li a {
  font-weight: 600;
}
footer a[href^=tel],
footer a[href^=mailto],
footer a[href^=tel]:hover,
footer a[href^=mailto]:hover {
  border-bottom: none;
}
footer ul {
  list-style: none;
  list-style-image: none;
  margin: 0;
}
footer ul li {
  margin-left: 0;
  margin-bottom: 0.5rem;
}
footer ul li:last-child {
  margin-bottom: 0;
}
#search-header {
	background: #f2f2f2;
  position: relative;
}
.header-search-container {
  position: relative;
  display: block;
}

.header-search-container form {
	margin: 0;
}

.header-search-container input#s {
	color: #272727;
  background: transparent;
	position: relative;
	padding-left: 2.5rem;
  padding-right: 2rem;
	width: 100%;
	display: block;
	margin: auto;
	border: none;
	box-shadow: none;
	outline: none;
	font-size: 1.5rem;
  height: auto;
  line-height: normal;
  max-width: 100%;
}
.header-search-container:before {
  content: "\f002";
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #272727;
  font-size: 1.5rem;
  position: absolute;
  line-height: 1;
  top: 10px;
  left: 0;
}
.header-search-container input#s::-webkit-input-placeholder {
  color: #999999;
}
.header-search-container input#s:-moz-placeholder {
  color: #999999;
}
.header-search-container input#s::-moz-placeholder {
  color: #999999;
}
.header-search-container input#s:-ms-input-placeholder {
  color: #999999;
}
.g-recaptcha {
  display: block;
  margin-bottom: 1.5rem;
}
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'],
[type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea, select {
  box-shadow: none;
  border-radius: 0.25rem;
  border: 2px solid #cccccc;
  padding: 0.75rem 1rem;
  height: auto;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #272727;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #272727;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #272727;
}
input::placeholder,
textarea::placeholder {
  color: #272727;
}
.close-header-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  line-height: 1;
  font-size: 1.5rem;
  z-index: 10002;
}
.close-header-search i {
	color: #E41C46;
}
.close-header-search:hover i {
	color: #272727;
}
.skip-to-main {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.5rem;
  background-color: #f2f2f2;
  color: #272727;
  transform: translateY(-50px);
}
.skip-to-main:focus {
  transform: translateY(0);
  z-index: 99999;
}
#subpage-content {
  padding-top: 4rem;
  padding-bottom: 6rem;
  position: relative;
}
body.single-koulutukset #subpage-content,
body.single-post #subpage-content {
  padding-top: 0;
}
nav.subpage-navigation {
  padding: 0;
  margin-bottom: 1.5rem;
  margin-top: 0;
}
nav.subpage-navigation .ancestor-page {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #272727;
}
nav.subpage-navigation .ancestor-page a {
  color: #272727;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
nav.subpage-navigation .ancestor-page a:hover {
  text-decoration: none;
  border-bottom: 2px solid #E41C46;
}
nav.subpage-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
nav.subpage-navigation ul ul {
  margin: 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
}
nav.subpage-navigation ul > li {
  width: 100%;
  display: block;
  position: relative;
}
nav.subpage-navigation ul > li:hover > a {
  text-decoration: none;
}
nav.subpage-navigation ul li .parent-title,
nav.subpage-navigation ul li a {
  display: inline-block;
  text-decoration: none;
  color: #272727;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  position: relative;
}
nav.subpage-navigation ul li .open-sub-menu {
  width: 1.5rem;
  height: auto;
  border-radius: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-block;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0.75rem;
}
nav.subpage-navigation ul li .open-sub-menu .arrow {
  fill: #E41C46;
}
nav.subpage-navigation ul li .open-sub-menu .circle {
  fill: #f2f2f2;
}
nav.subpage-navigation ul li .open-sub-menu:hover .arrow {
  fill: #E41C46;
}
nav.subpage-navigation ul li .open-sub-menu:hover .circle {
  fill: #F8D0DC;
}
nav.subpage-navigation ul li.active .open-sub-menu svg {
  transform: scale(1,-1);
}
nav.subpage-navigation ul li.page_item_has_children > a {
  width: calc(100% - 42px);
}
nav.subpage-navigation ul li a:hover {
  text-decoration: underline;
}
nav.subpage-navigation ul li.current_page_ancestor > a,
nav.subpage-navigation ul li.current_page_item > a {
  font-weight: 600;
  color: #272727;
  padding-left: 1rem;
  border-left: 2px solid #E41C46;
}
nav.subpage-navigation ul li.current_page_ancestor ul.children li.current_page_item > a {
  font-weight: 600;
  color: #E41C46;
}
nav.subpage-navigation ul ul li:first-child > a {

}
nav.subpage-navigation ul ul li:last-child {
  border-bottom: none;
}
nav.subpage-navigation ul li.page_item_has_children > a:after {
  font-family: "FontAwesome";
  font-size: 16px;
  content: "\f078";
  position: absolute;
  right: -42px;
  width: 42px;
  padding: 0;
  line-height: 1;
  text-align: center;
  transform: translate(0, -50%);
  top: 50%;
  color: #272727;
  transition: all 0.25s ease;
}
nav.subpage-navigation ul li.page_item_has_children.open > a:after,
nav.subpage-navigation ul li.page_item_has_children.current_page_ancestor > a:after,
nav.subpage-navigation ul li.page_item_has_children.current_page_item > a:after {
  content: "\f077";
}
nav.subpage-navigation ul li.page_item_has_children ul.children,
nav.subpage-navigation ul li.mobile-parent-item ul.mobile-child-items {
  display: none;
}
nav.subpage-navigation ul li.page_item_has_children.open > ul.children,
nav.subpage-navigation ul li.page_item_has_children.current_page_ancestor > ul.children,
nav.subpage-navigation ul li.page_item_has_children.current_page_item > ul.children,
nav.subpage-navigation ul li.mobile-parent-item.active ul.mobile-child-items {
  display: block;
}
ul.staff-links {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
ul.staff-links li {
  display: inline-block;
  padding-left: 1rem;
}
ul.staff-links li:first-child {
  padding-left: 0;
}
.flex-container {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: center;
  z-index: 1;
}
.flex-container-multi-line {
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  z-index: 1;
  gap: 2rem;
}
.flex-column-4 {
  width: 33.33333%;
  position: relative;
}
.flex-column-6 {
  width: 50%;
  position: relative;
}
.flex-column-8 {
  width: 66.66667%;
  position: relative;
}
.featured-material {
  display: none;
}
.featured-material.show {
  display: block;
  position: relative;
  width: calc((100% - 6rem) / 4);
  margin: 0;
}
.featured-post {
  position: relative;
  width: calc((100% - 4rem) / 3);
}
body:not(.home) .nosto-post {
  margin-bottom: 1.75rem;
}
.featured-post-inner-container {
  position: relative;
  display: block;
}
.intro-featured-container {
  position: relative;
  display: block;
  clear: both;
  width: 100%;
}
.intro-featured-container .featured-post-inner-container {
  display: flex;
  margin-bottom: 0.9375rem;
}
.nosto-post-two {
  display: block;
  position: relative;
  margin: 0 0 1.75rem;
}
.nosto-post-two .featured-post-inner-container {
  background-color: #DAEFE7;
  border-radius: 0;
  padding: 2rem 3rem;
  display: flex;
}
.nosto-post-two.pink .featured-post-inner-container {
  background-color: #f8e1e5;
}
.featured-post-link,
.featured-post-link:hover {
  text-decoration: none;
  color: #E41C46;
  display: block;
  height: 100%;
}
.featured-post-link:hover .featured-post-title {
  text-decoration: underline;
}
.nosto-post-three {
  position: relative;
  display: block;
  margin-bottom: 6rem;
}
.nosto-post-three.right .featured-group-content {
  order: -1;
  flex-flow: column-reverse;
}
.nosto-post-three.right .featured-group-image-container {
  order: 1;
}
.featured-group-inner-container {
  display: flex;
  background-color: #f2f2f2;
  padding: 4rem 4rem;
  align-items: center;
}
.nosto-post-three.alignfull .featured-group-inner-container {
  border-radius: 0;
  box-shadow: none;
}
.featured-group-image-container {
  width: 50%;
  padding-bottom: 35%;
  position: relative;
}
.featured-group-content {
  padding: 0 3rem 0 0;
  width: 50%;
}
.nosto-post-three.alignfull .featured-group-content {
  padding: 6rem;
}
.featured-post-image-container {
  position: relative;
  width: 100%;
  padding-top: 65%;
  overflow: hidden;
}
.intro-featured-container .featured-post-image-container {
  width: 228px;
  height: 120px;
  padding-top: 0;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}
.featured-event-date {
  width: 100px;
  height: 100px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  background-image: url('images/pink-shape.svg');
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}
.featured-event-date time {
  position: absolute;
  font-size: 1rem;
  color: #272727;
  text-align: center;
  width: 100px;
  display: block;
  font-weight: 600;
  z-index: 1;
  top: 50%;
  transform: translate(0, -50%);
  line-height: 1.2;
}
.featured-post-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.featured-post-image.empty {
  background-color: #ffffff;
  background-image: url("images/placeholder.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.featured-post-content {
  position: relative;
  padding: 1rem 0 0;
}
.nosto-post-two .featured-post-inner-container .featured-post-content {
  padding: 0;
  width: 60%;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}
.nosto-post-two .featured-post-inner-container .featured-post-content p {
  margin-bottom: 0;
}
.nosto-post-two .featured-post-inner-container .button {
  display: block;
  width: 20%;
  position: absolute;
  top: 3rem;
  right: 3rem;
  margin-bottom: 0;
}
.intro-featured-container .featured-post-content {
  padding: 0 0 0 1rem;
}
body.search .featured-post-content {
  padding: 0;
}
.featured-post-content p {
  font-weight: normal;
  color: #272727;
  font-size: 1.125rem;
  line-height: 1.4;
}
.featured-post-content p:last-child,
.featured-post-content p:last-child a {
  margin-bottom: 1rem;
}
body.search .featured-post-content p:last-child {
  margin-bottom: 1.75rem;
}
.featured-post-title {
  color: #272727;
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}
.nosto-post-three .featured-post-title {
  font-size: 2.125rem;
}
.intro-featured-container .featured-post-title {
  font-size: 1.125rem;
}
.featured-material .featured-post-title {
  font-size: 1.125rem;
}
.nosto-post .button {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  margin-bottom: 0;
}
.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #272727;
  border-bottom: 2px solid #E41C46;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding-bottom: 2px;
}
.read-more:hover {
  color: #272727;
  text-decoration: none;
  border-bottom: 2px solid #272727;
}
.arrow-right {
  text-decoration: none;
}
.arrow-right:after,
.arrow-right:hover:after,
.arrow-right:focus:after {
  margin-left: 0.5em;
  content: "";
  background-image: url("images/arrow-right-black.svg");
  background-repeat: no-repeat;
  width: 20px;
  height: 8px;
  line-height: 8px;
  margin-bottom: 2px;
  text-decoration: none;
  display: inline-block;
}
.button.arrow-right:after,
.button.arrow-right:hover:after,
.button.arrow-right:focus:after {
  background-image: url("images/arrow-right-white.svg");
}
body.home .wp-block-group.pull-down {
  margin-top: 3rem;
  margin-bottom: 0;
  transform: translateY(6rem);
}
h2.small {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.featured-post-content p.post-meta,
.post-meta {
  text-transform: lowercase;
  font-family: "orator-std", monospace;
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  display: block;
  color: #272727;
  line-height: 1;
}
body.single .post-meta {
  font-family: "ff-basic-gothic-pro", sans-serif;
  margin-bottom: 1.75rem;
}
.post-meta a {
  color: #272727;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem;
  background-color: #f2f2f2;
  display: inline-block;
  margin-right: 0.5rem;
}
.post-meta a:hover {
  text-decoration: none;
  color: #ffffff;
  background-color: #E41C46;
}
.featured-title {
  margin-bottom: 0.5rem;
}
.post-meta .tags,
.post-meta .categories {
  margin-top: 1rem;
  display: block;
  line-height: 1;
  font-family: "ff-basic-gothic-pro", sans-serif;
}
.featured-post-content p.post-meta .tags,
.featured-post-content p.post-meta .categories {
  display: inline-block;
  padding-left: 0.5rem;
  margin-left: 0.5rem;
  border-left: 1px solid #272727;
  margin-top: 0;
  font-family: "ff-basic-gothic-pro", sans-serif;
}
.some-share {
  margin: 0;
  padding:0;
  list-style: none;
  width: 100%;
}
.some-share li {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.some-share li a {
  background-color: #E41C46;
  border-radius: 100%;
  padding: 0.65rem 0.65rem;
}
.some-share li a:hover {
  background-color: #395C4D;
}
.some-share li a i {
  color: #ffffff;
  min-width: 22px;
  text-align: center;
}
.some-share li:last-child {
  margin-right: 0;
}
.round-image img {
  border-radius: 50%;
}
.content-container p {
  font-size: 1rem;
  line-height: 1.5;
}
.wpcf7 .form-row {
  display: flex;
  column-gap: 1rem;
  justify-content: space-between;
}
.wpcf7 .form-column {
  flex: 1;
}
.wpcf7 p {
  margin-bottom: 0;
}
span.wpcf7-list-item {
  margin-left: 0;
}
span.wpcf7-list-item label {
  font-size: 1rem;
}
.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item {
  display: block;
}

nav.pagination .nav-links ul li a.next:after {
  margin-left: 0.5em;
  content: "";
  background-image: url("images/arrow-right-black.svg");
  background-repeat: no-repeat;
  width: 20px;
  height: 8px;
  line-height: 8px;
  text-decoration: none;
  display: inline-block;
}
nav.pagination .nav-links ul li a.prev:before {
  margin-right: 0.5em;
  content: "";
  background-image: url("images/arrow-right-black.svg");
  background-repeat: no-repeat;
  width: 20px;
  height: 8px;
  line-height: 8px;
  text-decoration: none;
  display: inline-block;
  transform: scale(-1,1);
}
nav.pagination .nav-links ul li a.next:hover:after,
nav.pagination .nav-links ul li a.next:focus:after,
nav.pagination .nav-links ul li a.next:active:after {
  color: #E41C46;
}
nav.pagination .nav-links ul li a.prev:hover:before,
nav.pagination .nav-links ul li a.prev:focus:before,
nav.pagination .nav-links ul li a.prev:active:before {
  color: #E41C46;
}
nav.pagination .nav-links ul {
  margin: 0;
  padding: 0;
  border: none;
}
nav.pagination .nav-links ul li {
  list-style: none;
  margin: 0 10px 0 0;
  padding: 0;
  display: inline-block;
  border-radius: 0;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
  border: none;
}
nav.pagination .nav-links ul li a {
  padding: 0.75rem 0.75rem;
  min-width: 38px;
  background: transparent;
  font-weight: 600;
  font-family: "ff-basic-gothic-pro", sans-serif;
  color: #272727;
  background-color: #f2f2f2;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 100%;
  font-weight: 600;
}
nav.pagination .nav-links ul li a.prev,
nav.pagination .nav-links ul li a.next {
  position: relative;
  border: none;
  border-radius: 0;
  color: #272727;
  font-weight: 600;
  border-bottom: 2px solid #E41C46;
  padding: 0;
  background-color: #ffffff;
}
nav.pagination .nav-links ul li a:hover {
  background-color: #E41C46;
  color: #ffffff;
  text-decoration: none;
}
nav.pagination .nav-links ul li a.prev:hover,
nav.pagination .nav-links ul li a.next:hover {
  border: none;
  background-color: #ffffff;
  border-radius: 0;
  color: #272727;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #272727;
  padding: 0;
}
nav.pagination .nav-links ul li span.current {
  padding: 10px 12px;
  min-width: 38px;
  padding: 0.75rem 0.75rem;
  background-color: #E41C46;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  display: inline-block;
  border-radius: 100%;
  font-weight: 600;
}
.hero-block {
  margin-left: calc(50% - 36.25rem);
}
.header-outer {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding-left: 0.9375rem;
}
.header-image-container {
  order: 1;
  width: 60%;
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  padding-bottom: 40%;
}
.header-image {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.intro-title {
  order: -1;
  text-align: left;
  padding-right: 3rem;
}
.intro-title h1 {
  font-size: 2.375rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.intro-title p {
  font-size: 1.25rem;
}
#hero-video {
  width: 300px;
  height: 330px;
  display: block;
  position: relative;
  margin: 0 auto;
}
#hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.margin-bottom {
  margin-bottom: 1rem;
}
.error-message {
  color: #c60f13;
  background-color: #FFBABA;
  border: 1px solid #c60f13;
  margin: 1rem 0px;
  padding: 1.5rem 1rem;
  border-radius: 4px;
  text-align: center;
}
.form-error {
  color: #c60f13;
}
.error-message.green {
  color: #0C7F09;
  background-color: #e6f3e6;
  border: 1px solid #0C7F09;
}
.error-message.green .form-error {
  color: #0C7F09;
}
.error-message .form-error {
  margin-top: 0;
  font-size: 1rem;
}
.error-message p,
.error-message span {
  margin-bottom: 0;
}

@media print, screen and (min-width: 40em) {
  h1 {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  h2 {
    font-size: 1.875rem;
  }
  .wp-block-group h2:not(.section-header) {
      font-size: 1.25rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .wp-block-group h3 {
        font-size: 1.125rem;
  }
  h4 {
    font-size: 1.375rem;
  }
  h5 {
    font-size: 1.25rem;
  }
  h6 {
    font-size: 1.25rem;
  }

  .wp-block-columns.large-margin:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
    margin-left: 4rem;
  }
}

@media print, screen and (max-width: 72.49em) {
  .nosto-post-two .featured-post-inner-container {
    padding: 3rem 0.9375rem;
  }
  .hero-block {
    margin-left: 0;
  }
}

/* Tablets */
@media print, screen and (max-width: 63.99em) {
  .section-container {
    padding: 4rem 0;
  }
  .alignfull,
  .nosto-post-three {
    margin-bottom: 3rem;
  }
  .wp-block-table table {
    width:100%;
  }
  .wp-block-table thead {
    display: none;
  }
  .wp-block-table tr:nth-of-type(2n) {
    background-color: inherit;
  }
  .wp-block-table tbody td {
    display: block;
    text-align:center;
  }
  .wp-block-table tbody td:before {
      content: attr(data-th);
      display: block;
      text-align:center;
  }
  #nav-container {
    width: 100%;
    margin: 0;
  }
  hr {
    width: 100%;
    max-width: 100%;
  }
  .tabs-panel {
    padding: 4.5rem 3rem 1.5rem;
  }
  .section-header {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
  }
  .section-header + .read-more.arrow-right {
    margin-bottom: 1.5rem;
    display: inline-block;
  }
  .header-outer {
    width: 100%;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
    display: block;
  }
  .header-image-container {
    order: unset;
    width: 100%;
    padding-bottom: 52.5%;
    flex-grow: unset;
    flex-shrink: unset;
    flex-basis: unset;
    margin-bottom: 1.75rem;
  }
  .intro-title {
    padding-right: 0;
    order: unset;
    width: 100%;
  }
  .featured-news,
  body.home .intro-featured-container .featured-post-inner-container {
    margin-bottom: 3rem;
  }
  .intro-featured-container:last-child .featured-post-inner-container {
    margin-bottom: 0;
  }
  .intro-title h1,
  .section-header.large,
  h1,
  .header-title h1 {
    font-size: 2.125rem;
  }
  blockquote.wp-block-quote {
      margin: 3rem 0;
  }
  .nosto-post-three .featured-post-title {
    font-size: 1.5rem;
  }
  .featured-post-title {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3.featured-post-title {
    font-size: 1.125rem;
  }
  h3 {
    font-size: 1.375rem;
  }
  blockquote.wp-block-quote p,
  .wp-block-pullquote blockquote p,
  blockquote p {
    font-size: 1.25rem;
  }
  nav.subpage-navigation {
    margin-top: 0;
    background-color: #f2f2f2;
  }
  nav.subpage-navigation ul {
    padding: 0 1rem;
  }
  nav.subpage-navigation ul ul {
    border-top: 1px solid #E0E0E0;
  }
  nav.subpage-navigation ul li .parent-title,
  nav.subpage-navigation ul li a {
    padding: 0.75rem 0 0.75rem 0;
    margin: 0;
  }
  nav.subpage-navigation .mobile-child-items {
    padding-left: 0;
  }
  nav.subpage-navigation ul li.current_page_ancestor > a,
  nav.subpage-navigation ul li.current_page_item > a {
    padding-left: 0;
    border-left: 0;
  }
  .header-search {
    float: none;
    margin-left: 0;
  }
  .top-bar-menu > ul > li > ul.sub-menu:before {
    display: none;
  }
  .top-bar-menu li.menu-item-has-children:hover > ul, .top-bar-menu li.menu-item-has-children.focused > ul {
    left: 0;
    transform: none;
    top: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: none;
    border-top: none;
  }
  .top-bar-menu {
    width: 100%;
    float: left;
  }
  .top-bar-menu ul li.some-link {
    width: auto;
    margin-right: 1rem;
  }
  .top-bar-menu ul li.some-link a {
    width: auto;
    padding-bottom: 1rem;
  }
  nav.main-navigation {
    float: none;
    display: none;
    margin-top: 0;
  }
  .top-bar-menu ul.menu {
    width: 100%;
    margin-top: 0.5rem;
    border-top: 1px solid #f2f2f2;
    padding-bottom: 0.25rem;
  }
  .top-bar-menu > ul.menu > li.current-page-ancestor > a,
  .top-bar-menu > ul.menu > li.current-menu-item > a {
    border-bottom: none;
  }
  nav.main-navigation.open {
    display: block;
  }
  .top-bar-menu ul li {
    width: 100%;
    display: block;
    position: relative;
  }
  .top-bar-menu ul ul,
  .top-bar-menu ul ul li,
  .top-bar-menu li.menu-item-has-children > ul > li {
    display: block;
  }
  .top-bar-menu ul ul li {
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 0;
    border-bottom: none;
  }
  .top-bar-menu ul li a,
  .top-bar-menu ul ul li a {
    width: 100%;
    max-width: none;
    min-width: 0;
    border-bottom: 0;
    text-align: left;
    padding: 0.75rem 0.5rem 0.25rem 0;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    color: #272727;
    border-bottom: none;
  }
  .top-bar-menu > ul.menu > li:last-child > a {
    padding-bottom: 0.75rem;
  }
  .top-bar-menu ul li .open-sub-menu {
    position: absolute;
    margin: 0;
    right: 0;
    top: 0.75rem;
  }
  .top-bar-menu > ul.menu > li > a:hover,
  .top-bar-menu ul li a:hover,
  .top-bar-menu ul ul li a:hover {
    color: #272727;
    border-bottom: none;
  }
  .top-bar-menu ul > li.current-page-ancestor > a,
  .top-bar-menu ul > li.current-menu-item > a {
    font-family: "ff-basic-gothic-pro", sans-serif;
  }
  .top-bar-menu ul ul li a {
    background: none;
    text-transform: none;
  }
  .top-bar-menu ul ul li:hover > a,
  .top-bar-menu ul ul li.active > a {
    text-decoration: none;
  }
  .top-bar-menu li.menu-item-has-children > .sub-menu-container {
    position: relative;
    display: none;
    left: 0;
    width: 100%;
    margin: 0;
    margin-left: 1.5rem;
    text-align: left;
  }
  .top-bar-menu li.menu-item-has-children.focused > .sub-menu-container {
    left: auto;
    top: auto;
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-top: none;
  }
  .top-bar-menu ul.menu.hide-for-large li > a,
  .top-bar-menu li.menu-item-has-children > a {
    padding-bottom: 0.5rem;
  }
  .top-bar-menu li.menu-item-has-children > a {
    width: auto;
  }
  .top-bar-menu > ul.menu > li.current-page-ancestor > a,
  .top-bar-menu > ul.menu > li.current-menu-item > a {
    border-bottom: none;
  }
  .some-share {
    margin-bottom: 1.5rem;
  }
  #mobile-icon  {
    display: block;
  }
  .wp-block-image .alignleft,
  .wp-block-image .alignright,
  .wp-block-image .alignnone,
  .alignleft,
  .alignright,
  .alignnone,
  .aligncenter {
    float:none!important;
    margin-right: auto!important;
    margin-left: auto!important;
    margin-bottom: 1rem;
    display: block;
    clear: both;
  }
  footer .text-left, footer .text-right {
    text-align: center;
  }
  footer[role="contentinfo"] {
    text-align: center;
  }
  footer[role="contentinfo"] .columns {
    margin-bottom: 3rem;
  }
  footer[role="contentinfo"] .columns:last-child {
    margin-bottom: 0;
  }
  .featured-material.show,
  .featured-post {
    width: calc((100% - 2rem) / 2.0);
  }
  .logo img {
    margin: 1.25rem 0;
  }
  .alignfull {
      width: auto;
  }
  .wp-block-group.has-background {
    padding: 3rem 0.9375rem 1.25rem;
  }
  .nosto-post .button {
    padding: 0.75rem 1rem;
  }
  body.home .wp-block-columns {
    margin-bottom: 0;
  }
  .wp-block-columns .wp-block-column .nosto-post-two {
    height: auto;
    margin-bottom: 3rem;
  }
  body.home .wp-block-group.pull-down {
    margin-top: 0;
    margin-bottom: 2.25rem;
    transform: none;
  }
  .section-container.mint {
    margin-bottom: 4rem;
    padding-bottom: 1.75rem;
  }
  .featured-group-inner-container {
    padding: 3rem 0.9375rem 1.25rem;
  }
  .featured-group-content {
    padding: 2rem 0;
  }
  .nosto-post-two .featured-post-inner-container {
    padding: 2rem 0.9375rem;
    display: block;
  }
  .nosto-post-two .featured-post-inner-container .featured-post-content {
    width: 100%;
    flex-grow: unset;
    flex-shrink: unset;
    flex-basis: unset;
  }
  .nosto-post-two .featured-post-inner-container .button {
    display: block;
    width: auto;
    position: relative;
    top: auto;
    right: auto;
    margin-top: 1.75rem;
    margin-bottom: 0;
  }
  .nosto-post-three.alignfull .featured-group-content {
    padding: 3rem;
  }
}

@media screen and (max-width: 46.25em) {
  footer[role="contentinfo"] {
    margin-top: 100px;
  }
  footer[role="contentinfo"]:before {
    height: 100px;
    margin-top: -100px;
  }
  .featured-group-inner-container {
    display: block;
  }
  .page-heading-container {
    padding: 4rem 0;
  }
  .post-featured-image {
    margin-top: -6rem;
  }
  .featured-group-image-container {
    width: 100%;
    padding-top: 52.5%;
  }
  .featured-group-content {
    width: 100%;
    order: unset;
    flex-flow: nowrap;
  }
  .nosto-post-three.right .featured-group-image-container {
    order: unset;
  }
  .nosto-post-three.alignfull .featured-group-content {
    padding: 2rem;
  }
  .header-inner {
    padding-bottom: 0;
  }
  .entry-content p.large {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  .entry-content p.semi-large {
    margin-bottom: 3rem;
  }
  h2 {
    font-size: 1.375rem;
  }
  .has-medium-font-size {
    font-size: 1.125rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  blockquote.wp-block-quote p,
  .wp-block-pullquote blockquote p {
    font-size: 1.25rem;
  }
  .single .post-meta {
    margin-bottom: 1.5rem;
  }
  .single .post-meta .tags {
    margin-top: 0.5rem;
  }
  .nosto-post {
    margin: 0 0 3rem;
  }
  .featured-post-inner-container,
  .featured-post-link,
  .featured-post-link:hover {
    height: auto;
  }
  .intro-featured-container .featured-post-image-container {
    width: 100px;
    height: 100px;
  }
  .featured-material.show,
  .featured-post {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
    margin: 0 0 3rem;
  }
  .featured-post:last-child {
    margin-bottom: 0;
  }
  .intro-title p {
    font-size: 1.125rem;
  }
  .intro-title h1,
  .section-header.large,
  h1,
  .header-title h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  .entry-content h2:not(:first-child) {
    margin-top: 1.5rem;
  }
  .flex-container-multi-line,
  .flex-container {
    width: 100%;
    display: block;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: unset;
  }
  .flex-column-6 {
    width: 100%;
    display: block;
  }
  .header-search-container input#s {
    font-size: 22px;
    padding-left: 35px;
  }
  .header-search-container:before {
    font-size: 22px;
  }
  .text-left, .text-right {
    text-align: center;
  }
  .blog-post-image {
    float:none;
    display: block;
    clear: both;
    margin: 0 auto 1rem;
    width: 100%;
  }
  .some-share li {
    margin-bottom: 1rem;
  }
  .open-header-search .text {
    display: none;
  }
  footer .privacy-policy-link {
    display: block;
    margin-bottom: 1.5rem;
  }
  footer .additional-link {
    margin-left: 0;
    margin-bottom: 1.5rem;
    display: block;
  }
  footer .additional-link:last-child {
    margin-bottom: 0;
  }
  footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    margin-bottom: 1rem;
  }
  .alignwide {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #subpage-content {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  body.home #container {
    padding-bottom: 3rem;
  }
}
