@font-face {
  font-family: 'Header';
  src: url("../fonts/Rajdhani-Regular.woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Menu';
  src: url("../fonts/OpenSans-Regular.woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Footer';
  src: url("../fonts/OpenSans-Regular.woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Regular';
  src: url("../fonts/Judson-Regular.woff2");
  font-weight: normal;
  font-style: normal;
}
.layout-container {
  max-width: 100%;
}
/******************************************************
 * Freestlye Stylus in here - what the theme needs
 */
.views-field-view-node {
  text-align: right;
}
.form-actions.js-form-wrapper.form-wrapper {
  margin-left: 0;
}
img {
  width: auto;
}
blockquote {
  font-family: 'Header';
}
blockquote p:before {
  color: #e1a340 /*orange*/;
}
blockquote p:after {
  color: #e1a340 /*orange*/;
}
/******************************************************
 * Headings
 */
.path-frontpage h1 {
  font-size: 2em;
  line-height: 1.3em;
}
.path-frontpage h2 {
  border-bottom: 1px solid #edebe6 /*gray*/;
}
h1 {
  font-family: 'Header';
  font-size: 2.1em;
  font-weight: normal;
  color: #000 !important;
  font-weight: bold;
  margin: 0;
  line-height: 1.2em;
}
h2 {
  font-family: 'Header';
  font-size: 1.9em;
  line-height: 1.4em;
  font-weight: bold;
  margin: 10px 0;
  color: #000 !important;
}
h3 {
  font-family: 'Header';
  color: #000 !important;
  font-size: 1.7em;
}
.block-page-title-block {
  padding: 50px;
  margin: 0;
}
/******************************************************
 * Fonts classes
 * for example in views or to be added to ck-editor styles
 */
.font-menu {
  font-family: "Menu";
  color: #edebe6 /*gray*/;
}
.font-footer {
  font-family: "Footer";
  color: #edebe6 /*gray*/;
}
.font-quote {
  font-family: "Quote";
  color: #edebe6 /*gray*/;
}
.quote {
  font-family: 'Quote';
}
/******************************************************
 * THE header
 */
/******************************************************
  *  Menubar & header
  */
.menu li:hover ul ul,
#nav li:hover ul ul ul,
#nav li.sfhover ul ul,
#nav li.sfhover ul ul ul {
  left: -999em;
}
.menu li:hover ul,
#nav li li:hover ul,
#nav li li li:hover ul,
#nav li.sfhover ul,
#nav li li.sfhover ul,
#nav li li li.sfhover ul {
  left: auto;
}
/* Style of the menu*/
.region-menu-bar .menu--main li li,
.region-user-bar .menu--main li li,
.region-header .menu--main li li,
.region-menu-bar .menu li li,
.region-user-bar .menu li li,
.region-header .menu li li {
  border-bottom: 1px dotted #fff;
  font-size: 0.9em;
}
li.menu-item--expanded > a:after {
  content: ' \1401';
  font-weight: 300;
  font-size: 0.5em;
  vertical-align: bottom;
}
li.menu-item--expanded li.menu-item--expanded > a:after {
  content: '	\1405';
  text-align: right;
  vertical-align: middle;
}
#header .region-header img {
  width: 250px;
}
#header {
  z-index: 5000;
  margin-top: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  background: none;
}
#header #header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1900px;
}
#header .region-header {
  padding: 0;
  margin: 0;
}
#header .region-header .block-system-branding-block .block-inner {
  display: flex;
  align-items: center;
}
#header .region-header .block-system-branding-block .block-inner .site-name {
  font-size: 1.5em;
  line-height: 1em;
  font-family: 'Header';
  max-width: 180px;
  text-align: left;
}
#header .region-header .block-system-branding-block img {
  height: 90px;
  width: auto;
}
#header .region-menu-bar {
  margin-top: 0;
  display: flex;
  align-items: center;
  clear: both;
}
#header .region-user-bar {
  display: flex;
}
#header .region-user-bar .block-menu {
  padding: 10px;
}
#header.nav-up {
  border-bottom: 1px solid #e1a340 /*orange*/;
}
#header.nav-up .region-user-bar .menu {
  padding: 0;
}
#header.nav-up .region-user-bar ul li {
  padding: 0;
}
#block-system-main-menu {
  float: left;
}
#navigations {
  float: left;
  margin-top: 0px;
}
.menu--account {
  float: right;
}
.menu--account ul.menu {
  display: flex;
  margin: 0;
  flex-wrap: wrap;
}
.menu--account ul.menu li {
  padding: 0;
  border-right: 1px solid #edebe6 /*gray*/;
}
.menu--account ul.menu li a {
  font-size: 0.85em;
  padding: 5px 5px;
  color: #000;
  border: none;
  background: none;
}
.menu--account ul.menu li a:hover {
  color: #fff;
  background: #edebe6 /*gray*/;
}
.menu--account ul.menu li a.active-trail {
  color: #54c4e3 /* lightblue*/;
}
.menu--account ul.menu li a.active-trail:hover {
  color: #000;
}
.language-switcher-language-url ul.links {
  flex-wrap: nowrap;
}
/******************************************************
 *  Highlighted
 */
.region.region-featured {
  max-width: 1900px;
  margin: 0 auto;
}
/******************************************************
 *  Content Top
 */
.region.region-content-top {
  max-width: 1900px;
  margin: 0 auto;
  background: none;
  float: none;
  padding: 0;
}
/******************************************************
 *  Make sure the Nav-up is stopping when the screen
 *  gets to small
 */
@media screen and (max-width: 620px) {
  #header.nav-up {
    position: relative;
  }
}
/******************************************************
 *  Slicknav media querries and formatting
 */
@media screen and (max-width: 800px) {
  .js .region-menu-bar #block-eupn-main-menu,
  .js .region-menu-bar #block-eupn-languageswitchercontent,
  .js .region-user-bar #block-eupn-searchform,
  .js .region-user-bar #block-eupn-useraccountmenu {
    display: none;
  }
  .js .slicknav_menu {
    display: block;
  }
}
@media screen and (min-width: 801px) {
  .js .slicknav_menu {
    display: none;
  }
}
.slicknav_btn {
  display: flex;
  justify-content: center;
  float: none;
}
.slicknav_nav ul.menu {
  background: #e1a340 /*orange*/;
}
.slicknav_nav ul.menu li.menu-item.slicknav_open {
  background: #e1a340 /*orange*/;
}
.slicknav_nav ul.menu li:focus {
  background: #edebe6 /*gray*/;
  color: #000;
}
.slicknav_nav ul.menu li a {
  color: #000 !important;
  background: #54c4e3 /* lightblue*/;
}
.slicknav_nav ul.menu li a.is-active {
  background: #edebe6 /*gray*/;
  color: #000;
}
.slicknav_menu .language-switcher-language-url {
  display: flex;
  justify-content: center;
  border: none;
  margin-left: 0;
}
.slicknav_menu .language-switcher-language-url ul.link li {
  background: #e1a340 /*orange*/;
}
.slicknav_nav li.menu-item--expanded > a:after {
  content: "";
}
/******************************************************
 * Footer
 */
footer .region-footer {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-template-rows: 1fr 1fr 1fr;
}
footer .region-footer .block {
  margin-bottom: 30px;
  width: auto;
}
footer .region-footer .block a {
  color: #000;
}
footer .region-footer .block:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
footer .region-footer .block:nth-child(2) {
  grid-column: 1;
  grid-row: 2/span 3;
}
footer .region-footer .block:nth-child(3) {
  grid-column: 2;
  grid-row: 1/span 3;
}
footer .region-footer .block:nth-child(4) {
  grid-column: 3;
  grid-row: 1/span 3;
}
footer .region-footer .block:nth-child(5) {
  grid-column: 4;
  grid-row: 1/span 3;
}
footer .region-footer .block:nth-child(5) img {
  width: auto;
  height: auto;
}
footer .region-footer .block.menu--footer h2 {
  padding: 70px 0 0 90px;
}
footer .region-footer .block h2,
footer .region-footer .block h3 {
  margin-top: 0;
  padding: 0;
  font-size: 1.5em;
}
footer .region-footer .block ul.menu {
  padding-left: 2em;
}
footer .region-footer .block ul.menu li {
  list-style-type: circle;
  color: #e1a340 /*orange*/;
}
footer .info {
  display: flex;
  justify-content: space-between;
  max-width: 1900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
footer .info > * {
  flex: 0 0 25%;
  padding: 0 10px;
}
/******************************************************
 * Views
 */
.view .v-header {
  background: none;
  border: 1px #edebe6 /*gray*/;
  color: #000;
  padding: 5px;
  margin: 10px 0;
  font-size: 0.8em;
}
.view .v-header a {
  color: #fff;
  text-decoration: underline;
}
.view .v-footer {
  background: #54c4e3 /* lightblue*/;
  border: 1px #edebe6 /*gray*/;
  color: #000;
  padding: 5px;
  margin: 10px 0;
  font-size: 0.8em;
}
.view .v-footer a {
  color: #fff;
  text-decoration: underline;
}
.view .v-footer a:hover {
  color: #edebe6 /*gray*/;
}
.view .v-content .v-table tr {
  border-bottom: 1px dotted #e1a340 /*orange*/;
}
.view .v-content .v-table tr h2 {
  padding: 0;
  margin: 0;
}
.view.page {
  padding: 0 10px;
}
.view-header-image-node .field-content {
  line-height: 0.1em;
}
.view-statistics .v-content,
.view-statistics-users .v-content {
  text-align: center;
}
.p-type-gallery a {
  border-bottom: none !important;
}
.f--name-field-media-oembed-video {
  width: 100%;
}
.view-teachers .view-display-id-attachment_2 .v-content,
.view-members .view-display-id-attachment_2 .v-content {
  display: block !important;
}
.view-members.view-display-id-block_1 .v-filters .form--inline .js-form-item {
  width: 100%;
  background: none;
  padding: 0;
  float: none;
  margin: 0;
}
.view-members.view-display-id-block_1 .v-filters .form--inline .js-form-item input {
  width: 100%;
}
/*******************************************************
 + Blöcke
 */
.partners .f--name-field-paragraph {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
/*******************************************************
 + Taxonomy events
 */
.view.width-1440 {
  max-width: 1440px;
  margin: 0 auto;
}
.view.width-1440 .v-header {
  padding: 0;
  margin: 0;
}
.view.width-1440 .v-header .view {
  max-width: 1024px;
  margin: 0 auto;
}
.view.width-1440 .v-header .view .v-content {
  display: block;
}
.view.width-1440 .v-header .view .v-content .v-row {
  border: 0;
  box-shadow: none;
}
.view.width-1440 .v-header .view .v-content .v-row .views-field {
  font-size: 1rem;
}
.view.width-1440 .v-header .view .v-content .v-row .views-field a {
  color: #e1a340 /*orange*/;
  text-decoration: none;
}
/******************************************************
Standard messages
*/
.messages__wrapper {
  padding-top: 10px;
}
.messages__wrapper .messages--status {
  font-size: 1.1em;
}
/*******************************************************
 + User path styles
 */
.path-user .f--name-field-public-e-mail {
  background: url("../images/icon_e-mail.png") left center no-repeat;
  text-indent: 30px;
  background-size: 25px 25px;
}
.path-user .f--name-field-website {
  background: url("../images/icon_website.png") left center no-repeat;
  text-indent: 30px;
  background-size: 25px 25px;
}
.path-user .f--name-field-telephone {
  background: url("../images/icon_phone.png") left center no-repeat;
  text-indent: 30px;
  background-size: 25px 25px;
}
.path-user .f--name-field-signal {
  background: url("../images/icon_signal.png") left center no-repeat;
  text-indent: 30px;
  background-size: 25px 25px;
}
.path-user .f--name-field-booktime {
  background: url("../images/icon_calendar.png") left center no-repeat;
  text-indent: 30px;
  background-size: 25px 25px;
}
.path-user .some {
  display: flex;
}
.path-user form.user-register-form {
  max-width: 1900px;
  margin: 0 auto;
}
.path-user form.user-register-form #edit-field-description-0-format-help,
.path-user form.user-register-form .js-filter-guidelines {
  display: none;
}
.path-user form.user-register-form #edit-simplenews {
  padding: 0;
  border: none;
}
.path-user .block-local-tasks-block,
.path-user .block-system-main-block {
  max-width: 1900px;
  margin: 0 auto;
}
.path-user .layout__region.layout__region--first,
.path-user .layout__region.layout__region--second {
  padding-right: 1em;
}
.view-permahub-certificate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1007%26quot%3b)' fill='none'%3e%3cpath d='M 0%2c187 C 96%2c166.6 288%2c75.8 480%2c85 C 672%2c94.2 768%2c231.2 960%2c233 C 1152%2c234.8 1344%2c121.8 1440%2c94L1440 560L0 560z' fill='rgba(228%2c 155%2c 0%2c 1)'%3e%3c/path%3e%3cpath d='M 0%2c434 C 96%2c415.6 288%2c321.8 480%2c342 C 672%2c362.2 768%2c540.4 960%2c535 C 1152%2c529.6 1344%2c359 1440%2c315L1440 560L0 560z' fill='rgba(52%2c 198%2c 230%2c 1)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1007'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: bottom left;
}
.view-permahub-certificate .view .v-footer {
  background: none;
}
.v-row.inline-block {
  display: inline-block;
}
.circle {
  width: 150px;
  height: 150px;
  display: block;
  line-height: 150px;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid #edebe6 /*gray*/;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.certificates .certificate {
  border-bottom: 1px solid #e1a340 /*orange*/;
  padding: 20px 0;
}
.certificates .certificate .details {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.certificates .certificate .details .f--type-datetime {
  font-size: 0.8em;
  padding-left: 1em;
}
.certificates .certificate .details .f--type-boolean {
  font-weight: bold;
  color: #4c9765 /*green*/;
  background: #fff;
  padding: 2px 10px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.certificates .certificate .additional .field__label {
  padding-top: 1em;
}
.starter {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
.starter div {
  padding-right: 0.5em;
}
.starter div:after {
  content: "|";
  padding-left: 0.5em;
}
.starter div:last-child:after {
  content: "";
}
.v-table .views-field-field-image2 {
  min-width: 80px;
}
.p-type-contact-form input[type="radio"],
.p-type-contact-form input[type="checkbox"] {
  width: auto;
}
table {
  border-collapse: collapse;
}
table th,
table td {
  border-bottom: 1px solid #e1a340 /*orange*/;
  border-right: 1px dotted #edebe6 /*gray*/;
  padding: 5px;
  vertical-align: top;
  font-size: 1rem;
}
.spacer-bottom {
  border-bottom: 1px dashed #e1a340 /*orange*/;
}
/* EuPN Badges */
.eupn-badge .badge-copy {
  display: flex;
}
.eupn-badge .badge-copy #badge-code {
  min-width: 50%;
  max-width: 50%;
}
.eupn-badge .badge-copy #copy-badge-button {
  background: #edebe6 /*gray*/;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.gap-20 .v-content {
  gap: 20px;
}
.v-row-25 .v-content .v-row {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 5px);
  height: auto;
}
.jc-center .v-content,
.jc-c .v-content {
  justify-content: center;
}
.p-type-text .f--name-field-body p.text-align-center {
  text-align: center;
}
.path-frontpage .view-jasenyritykset h3 {
  font-size: 1.7em;
}
.path-frontpage .layout__region--first .field {
  margin-bottom: 0;
}
.f.f--name-field-tags .field__label {
  text-align: right;
}
.f.f--name-field-tags .f-items {
  display: flex;
  justify-content: flex-end;
}
.f.f--name-field-tags .f-items > * {
  padding-right: 5px;
}
/* For the events*/
.icon-date {
  background: url("../images/icon_date.webp") left center no-repeat;
  text-indent: 30px;
  background-size: 25px 25px;
}
.icon-place {
  background: url("../images/icon_place.webp") left center no-repeat;
  padding-left: 30px;
  background-size: 25px 25px;
}
.node--type-events a {
  word-break: break-all;
}
.node--type-events .f--name-field-documents {
  padding-top: 20px;
}
.node--type-events.node--view-mode-teaser a {
  word-break: none;
}
/* Below is the new standard of how we implement flex */
.flex-gap-10 .v-content {
  gap: 10px;
}
.flex-gap-20 .v-content {
  gap: 20px;
}
.flex-gap-30 .v-content {
  gap: 30px;
}
.flex-2.flex-gap-10 .region .v-row,
.flex-2.flex-gap-10 .v-content .v-row {
  flex: calc((100% - 10px) / 2);
  flex: 0 0 calc((100% / 2) - ((2 - 1) * 10px / 2));
}
.flex-3.flex-gap-10 .region .v-row,
.flex-3.flex-gap-10 .v-content .v-row {
  flex: calc((100% - 10px) / 3);
  flex: 0 0 calc((100% / 3) - ((3 - 1) * 10px / 3));
}
.flex-4.flex-gap-10 .region .v-row,
.flex-4.flex-gap-10 .v-content .v-row {
  flex: calc((100% - 10px) / 4);
  flex: 0 0 calc((100% / 4) - ((4 - 1) * 10px / 4));
}
.flex-5.flex-gap-10 .region .v-row,
.flex-5.flex-gap-10 .v-content .v-row {
  flex: calc((100% - 10px) / 5);
  flex: 0 0 calc((100% / 5) - ((5 - 1) * 10px / 5));
}
.flex-6.flex-gap-10 .region .v-row,
.flex-6.flex-gap-10 .v-content .v-row {
  flex: calc((100% - 10px) / 6);
  flex: 0 0 calc((100% / 6) - ((6 - 1) * 10px / 6));
}
.flex-7.flex-gap-10 .region .v-row,
.flex-7.flex-gap-10 .v-content .v-row {
  flex: calc((100% - 10px) / 7);
  flex: 0 0 calc((100% / 7) - ((7 - 1) * 10px / 7));
}
.flex-2.flex-gap-20 .region .v-row,
.flex-2.flex-gap-20 .v-content .v-row {
  flex: calc((100% - 20px) / 2);
  flex: 0 0 calc((100% / 2) - ((2 - 1) * 20px / 2));
}
.flex-3.flex-gap-20 .region .v-row,
.flex-3.flex-gap-20 .v-content .v-row {
  flex: calc((100% - 20px) / 3);
  flex: 0 0 calc((100% / 3) - ((3 - 1) * 20px / 3));
}
.flex-4.flex-gap-20 .region .v-row,
.flex-4.flex-gap-20 .v-content .v-row {
  flex: calc((100% - 20px) / 4);
  flex: 0 0 calc((100% / 4) - ((4 - 1) * 20px / 4));
}
.flex-5.flex-gap-20 .region .v-row,
.flex-5.flex-gap-20 .v-content .v-row {
  flex: calc((100% - 20px) / 5);
  flex: 0 0 calc((100% / 5) - ((5 - 1) * 20px / 5));
}
.flex-6.flex-gap-20 .region .v-row,
.flex-6.flex-gap-20 .v-content .v-row {
  flex: calc((100% - 20px) / 6);
  flex: 0 0 calc((100% / 6) - ((6 - 1) * 20px / 6));
}
.flex-7.flex-gap-20 .region .v-row,
.flex-7.flex-gap-20 .v-content .v-row {
  flex: calc((100% - 20px) / 7);
  flex: 0 0 calc((100% / 7) - ((7 - 1) * 20px / 7));
}
.flex-2.flex-gap-30 .region .v-row,
.flex-2.flex-gap-30 .v-content .v-row {
  flex: calc((100% - 30px) / 2);
  flex: 0 0 calc((100% / 2) - ((2 - 1) * 30px / 2));
}
.flex-3.flex-gap-30 .region .v-row,
.flex-3.flex-gap-30 .v-content .v-row {
  flex: calc((100% - 30px) / 3);
  flex: 0 0 calc((100% / 3) - ((3 - 1) * 30px / 3));
}
.flex-4.flex-gap-30 .region .v-row,
.flex-4.flex-gap-30 .v-content .v-row {
  flex: calc((100% - 30px) / 4);
  flex: 0 0 calc((100% / 4) - ((4 - 1) * 30px / 4));
}
.flex-5.flex-gap-30 .region .v-row,
.flex-5.flex-gap-30 .v-content .v-row {
  flex: calc((100% - 30px) / 5);
  flex: 0 0 calc((100% / 5) - ((5 - 1) * 30px / 5));
}
.flex-6.flex-gap-30 .region .v-row,
.flex-6.flex-gap-30 .v-content .v-row {
  flex: calc((100% - 30px) / 6);
  flex: 0 0 calc((100% / 6) - ((6 - 1) * 30px / 6));
}
.flex-7.flex-gap-30 .region .v-row,
.flex-7.flex-gap-30 .v-content .v-row {
  flex: calc((100% - 30px) / 7);
  flex: 0 0 calc((100% / 7) - ((7 - 1) * 30px / 7));
}
/* Box shadow for views*/
.bs .v-content .v-row {
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  flex-grow: 0 !important;
}
/* The views-form dropdowns etc*/
.view .v-filters .form--inline {
  display: flex;
  justify-content: left;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.view .v-filters .form--inline .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 5px;
}
.view .v-filters .form--inline .form-item {
  background: #edebe6 /*gray*/;
  padding: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
.view .v-filters .form--inline label {
  display: flex;
}
.view .v-filters .form--inline .description {
  color: #808080;
}
/* In the user.html.twig */
.custom-tabs {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.custom-tabs__buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e1a340 /*orange*/;
  flex-wrap: wrap;
}
.custom-tabs__button {
  background-color: #edebe6 /*gray*/;
  border: none;
  padding: 10px 20px;
  font-family: 'Header';
  font-size: 1.2em;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}
.custom-tabs__button.active {
  background-color: #e1a340 /*orange*/;
  font-weight: bold;
}
.custom-tabs__content {
  position: relative;
}
.custom-tabs__pane {
  display: none;
}
.custom-tabs__pane.active {
  display: block;
}
.custom-subtabs__buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.custom-subtabs__button {
  background-color: #edebe6 /*gray*/;
  border: none;
  padding: 6px 12px;
  font-family: 'Header';
  font-size: 1em;
  cursor: pointer;
  font-weight: normal;
  transition: background-color 0.3s;
}
.custom-subtabs__button.active {
  background-color: #e1a340 /*orange*/;
  font-weight: bold;
}
.custom-subtabs__pane {
  display: none;
}
.custom-subtabs__pane.active {
  display: block;
}
@media (max-width: 580px) {
  .path-user .layout__region.layout__region--first {
    order: 1;
  }
  .path-user .layout__region.layout__region--second {
    order: 3;
  }
  .path-user .layout__region.layout__region--third {
    order: 2;
  }
}
/* the books views*/
.js-form-item-author {
  max-width: 250px;
}
.flag.action-unflag a {
  background: #edebe6 /*gray*/;
}
.flag a {
  cursor: pointer;
  background: #e1a340 /*orange*/;
  color: #000;
  padding: 5px;
  font-family: 'Menu';
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: none;
  display: inline-block;
}
.flag a:hover {
  color: #000 !important;
  background: #54c4e3 /* lightblue*/;
}
.view-books .v-content table,
.view-funding .v-content table {
  font-size: 1em;
  line-height: 1.3em;
}
.view-books .v-content table tr td,
.view-funding .v-content table tr td {
  padding: 10px;
}
.layout--threecol-section {
  display: flex;
  justify-content: space-between;
}
.layout--twocol-section {
  flex-wrap: wrap;
}
.f--name-field-permaculture-experience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.f--name-field-permaculture-experience .f-item:after {
  padding-left: 10px;
  content: "|";
}
.node__meta {
  display: flex;
  align-items: center;
  margin: 10px 0;
  float: none;
}
.node__meta .f--name-user-picture {
  margin-right: 10px;
}
.node__submitted,
.comment__submitted {
  font-size: 0.7rem;
}
/* for outdated projects*/
.outdated {
  position: relative;
  overflow: hidden;
}
.outdated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,200,200,0.7);
  pointer-events: none;
  z-index: 1000;
}
.container .layout--twocol-section {
  display: flex;
  max-width: 1440px;
  margin-inline: auto;
}
.containter .layout__region {
  flex: 1 1 0;
  min-width: 0;
}
.container .layout__region:only-child {
  flex: 0 1 720px;
  margin-inline: auto;
}
/******************************************************
  * Container querries for responsive design
  * EupN Teachers view
  */
.teachers-view .v-content,
.projects-view .v-content {
  gap: 1.5rem;
  container-type: inline-size;
  container-name: teachers;
}
.teachers-view .v-content .views-field-field-description,
.projects-view .v-content .views-field-field-description,
.teachers-view .v-content .views-field-body,
.projects-view .v-content .views-field-body,
.teachers-view .v-content .views-field-title,
.projects-view .v-content .views-field-title {
  width: auto;
  max-width: 270px;
}
.teachers-view.teachers--half .v-row,
.projects-view.teachers--half .v-row {
  flex: 1 1 46%;
}
/* ≤ 840px (container width) */
@container teachers (min-width: 380px) {
  .teachers-view.teachers--full .v-row {
    flex: 0 1 48%;
  }
}
@container teachers (min-width:841px) {
  .teachers-view.teachers--full .v-row {
    flex: 0 1 calc(25% - 1.5rem);
  }
}
/* 841–1200px (container width) */
@container teachers (min-width:1000px) {
  .teachers-view.teachers--full .v-row {
    flex: 0 1 calc(25% - 1.5rem);
  }
}
/******************************************************
The dynamic menu - Module Projects TABS
*/
.block-eupn-project-tabs {
  max-width: 1900px;
  margin: 0 auto;
  border-bottom: 1px dotted #c0c0c0;
}
.block-eupn-project-tabs ul {
  display: flex;
  flex-wrap: wrap;
}
.block-eupn-project-tabs ul li {
  list-style-type: none;
  padding: 0;
  margin: 0 1px 0 0;
}
.block-eupn-project-tabs ul li a {
  padding: 5px 10px;
  color: #000;
  font-family: 'Menu';
  display: block;
  border-right: 1px solid #edebe6 /*gray*/;
  border-bottom: 1px dotted #edebe6 /*gray*/;
}
.block-eupn-project-tabs ul li a:hover {
  background: #edebe6 /*gray*/;
  color: #000;
}
.block-eupn-project-tabs ul li a.is-active {
  background: #54c4e3 /* lightblue*/;
}
/******************************************************
Node Type Blog
*/
.page-node-type-blog .f--type-entity-reference {
  text-align: right;
}
.block-local-tasks-block,
.path-user .block-local-tasks-block {
  max-width: 1900px;
  margin: 0 auto;
  font-family: 'Menu';
}
.comment-blog-delete-form,
article.comment,
form.comment-form {
  max-width: 1024px;
  margin: 0 auto;
}
.field--type-comment {
  margin-top: 50px;
}
/******************************************************
  * Search
  */
.block-search {
  font-family: 'Menu';
  font-size: 0.85em;
}
.block-search #search-block-form {
  margin: 0;
  padding-top: 3px;
}
.block-search .form-item {
  margin: 0;
}
.block-search input {
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid #000;
  padding: 5px;
}
.block-search input :focus {
  outline: none;
  border: none;
}
.search-block-form .button,
#sidr-id-search-block-form .button,
.search-block-form .sidr-class-button,
#sidr-id-search-block-form .sidr-class-button {
  background: url("../images/search.webp") center center no-repeat;
  background-size: 20px 20px;
  background-color: #edebe6 /*gray*/;
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
}
.search-block-form .button:hover,
#sidr-id-search-block-form .button:hover,
.search-block-form .sidr-class-button:hover,
#sidr-id-search-block-form .sidr-class-button:hover {
  background: url("../images/search.webp") center center no-repeat;
  background-size: 20px 20px;
  background-color: #54c4e3 /* lightblue*/;
}
.path-search main {
  max-width: 100%;
  padding: 0 10px;
}
ol.search-results {
  padding-left: 0;
}
ol.search-results li {
  padding-left: 0;
  margin-left: 0;
}
/******************************************************
  * Container querries for responsive design
  * EupN Member companies view
  */
/* Define the container */
.view-jasenyritykset.view-display-id-block_6 .v-content {
  container-type: inline-size;
  container-name: projects;
}
/* ≤ 840px (container width) */
@container projects (min-width: 503px) {
  .view-jasenyritykset.view-display-id-block_6.flex .v-content .v-row {
    flex: 0 1 48%;
  }
}
@container projects (min-width:841px) {
  .view-jasenyritykset.view-display-id-block_6.flex .v-content .v-row {
    flex: 0 1 31%;
  }
}
/* 841–1200px (container width) */
@container projects (min-width:1000px) {
  .view-jasenyritykset.view-display-id-block_6.flex .v-content .v-row {
    flex: 0 1 32%;
  }
}
/******************************************************
  * Blocks
  */
#block-eupn-userlogin-3 {
  padding: 20px;
  background-color: #54c4e3 /* lightblue*/;
}
#block-eupn-userlogin-3 input:not([type="submit"]) {
  border: none;
  border-bottom: 1px solid #000;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}
#block-eupn-userlogin-3 input:not([type="submit"]) :focus {
  outline: none;
  border: none;
}
#block-eupn-userlogin-3 input:not([type="submit"]) :focus:hover {
  background: #54c4e3 /* lightblue*/;
}
#block-eupn-userlogin-3 a {
  color: #000;
  border-bottom: 1px dotted #e1a340 /*orange*/;
}
#block-eupn-userlogin-3 a:hover {
  color: #edebe6 /*gray*/;
}
/******************************************************
  * Sidebars
  */
.sidebar-second .layout-content {
  flex: 0 1 73%;
  min-width: 0;
}
.sidebar-second .layout-3col__right-group {
  flex: 0 1 25%;
  min-width: 0;
}
.accordion h3 {
  cursor: pointer;
  margin: 0;
  padding: 10px;
  background-color: none;
  color: #e1a340 /*orange*/;
  border-bottom: 2px dotted #54c4e3 /* lightblue*/;
  transition: background-color 0.3s ease;
  font-size: 1.4rem;
}
.accordion h3:hover {
  color: #000;
  border-bottom: 2px dashed #54c4e3 /* lightblue*/;
}
.accordion p {
  margin: 0;
  padding: 0 /* Remove padding when collapsed */;
  overflow: hidden;
  max-height: 0 /* Collapsed state */;
  transition: max-height 0.3s ease, padding 0.3s ease /* Smooth transition */;
  box-sizing: border-box /* Ensure padding doesn't break layout */;
}
.accordion p.open {
  margin: 10px /* Restore padding when expanded */;
}
/*# sourceMappingURL=styles.css.map */