/**********************************************************************/
/* whole site                                                         */
/**********************************************************************/

/* titles *************************************************************/
h1, h2, h3, h4, h5, h6 {
  font-family: sans-serif !important; /* for h1 this needs important*/
  text-transform: uppercase;
  font-weight: 600 !important;
}
body h1 {
  font-size: var(--wp--custom--typography--font-size--huge);
  margin-bottom: unset !important;
  border-bottom: 3px solid #b40e44;
  padding-bottom: calc(0.5 * var(--wp--style--block-gap));
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: auto;
  margin-top: 24px;
}
body h1.wide {
  max-width: unset;
}
body h2 {
  font-size: var(--wp--custom--typography--font-size--huge);
}
body h3 {
  font-size: var(--wp--preset--font-size--x-large);
}
body h4 {
  font-size: var(--wp--preset--font-size--large);
}
body h5 {
  font-size: var(--wp--preset--font-size--medium);
}
body h6 {
  font-size: var(--wp--preset--font-size--small);
}

/* site wide alignment ************************************************/
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wp-site-blocks {
  max-width: 1100px;
}

/* hr horizontal rule *************************************************/
.wp-block-separator.wp-block-separator.wp-block-separator.wp-block-separator.wp-block-separator {
  flex-grow: 1;
  border: unset;
  border-top: 1.5px solid #b40e44;
  box-sizing: border-box;
}

/* links **************************************************************/
div.mainpage-columns div.wp-block-term-description a,
div.mainpage-columns div.wp-block-query a,
div.wp-block-post-content p a,
div.wp-block-post-content ul a {
  color: black;
  text-decoration-color: #b40e44;
}
.archive-post a {
  text-decoration: none;
}
.archive-post a:hover {
  text-decoration: underline;
}
/**********************************************************************/
/* archive listing                                                    */
/**********************************************************************/
.listing-container ul li:hover {
  transform: scale(1.02);
  cursor: pointer;
}
.listing-container ul li:hover a {
  text-decoration: underline;
  text-decoration-color: #b40e44;
}
/**********************************************************************/
/* events display                                                     */
/**********************************************************************/
/**********************************************************************/
/* mainpage columns sticky                                            */
/**********************************************************************/
.mainpage-columns h1.gsoa-post-title.gsoa-post-title.gsoa-post-title {
  max-width: unset;
}
.mainpage-columns .mc-sticky {
  position: sticky;
  top: 1rem;
}
.mainpage-columns div.primary {
  flex: 1 1 calc(100% - 3px - 20rem) !important;
}
.mainpage-columns div.primary .wp-container-7 > :where(:not(.alignleft):not(.alignright)) {
  max-width: unset;
}
.mainpage-columns > div:nth-child(2):not(:last-child) {
  display: none;
  flex: 0 0 3px !important;
  margin-top: 2rem;
  background: #b40e44;
}
.mainpage-columns div.optional {
  flex: 0 0 20rem !important;
}

.mc-sticky .sticky-large-screen hr.wp-block-separator {
  width: 100%;
  border-top: 3px solid #b40e44 !important;
}
@media (max-width: 950px) {
  .mainpage-columns div.optional,
  .mainpage-columns > div:nth-child(2):not(:last-child) {
    display: none;
  }
  .mainpage-columns div.primary {
    flex-basis: 100% !important;
  }
}

@media (max-height: 0) { /* disabled, can change contents to fit */
  .sticky-large-screen {
    display: none;
  }
  .mainpage-columns div.optional:not(:first-child) h2 {
    margin-top: -0.22em;
  }
}
/**********************************************************************/
/* mailchimp                                                          */
/**********************************************************************/
#mc_embed_signup form {
  margin: 0
}
#mc_embed_signup div#mc_embed_signup_scroll {
  position: relative;
}
#mc_embed_signup span.asterisk {
  color: #b40e44;
  font-size: 1.5em;
  position: relative;
  top: 0.2em;
}
#mc_embed_signup div.indicates-required {
  position: absolute;
  top: 0;
  right: 1em;
  font-size: 0.8em;
}
#mc_embed_signup div.mc-names-on-one-line {
  display: flex;
  grid-gap: 1rem;
}
#mc_embed_signup div.mc-field-group input {
  width: 100%;
  height: 2rem;
  font-size: 1.2em;
  margin-bottom: 0.7rem;
  box-sizing: border-box;
  border: unset;
  background-color: #a11a450f;
  padding-left: 0.4em;
  border-bottom: 2px solid #a11a45;
}
#mc_embed_signup div.mc-field-group input:focus {
  outline-color: #a11a45;
  border-bottom: unset;
}
#mc_embed_signup input[type="submit"]#mc-embedded-subscribe {
  background-color: #b40e44;
  border: none;
  color: white;
  font-size: var(--wp--preset--font-size--medium);
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  margin-top: 1em;
  text-decoration: none;
  width: 100%;
  text-align: center;
}
#mc_embed_signup input[type="submit"]#mc-embedded-subscribe:hover {
  text-decoration: underline;
  cursor: pointer;
}
#mc_embed_signup div.mce_inline_error {
  background-color: #b40e44 !important;
}

/**********************************************************************/
/* WPForms                                                            */
/**********************************************************************/
div.wpforms-container-full .wpforms-form input.wpforms-field-medium {
  max-width: unset !important;
}
div.wp-site-blocks div.wpforms-container-full .wpforms-form input[type=submit],
div.wp-site-blocks div.wpforms-container-full .wpforms-form button[type=submit],
div.wp-site-blocks div.wpforms-container-full .wpforms-form .wpforms-page-button {
  background-color: #b40e44;
  border: none;
  color: white;
  font-size: var(--wp--preset--font-size--medium);
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  width: 100%;
  text-align: center;
}
div.wp-site-blocks div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wp-site-blocks div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wp-site-blocks div.wpforms-container-full .wpforms-form .wpforms-page-button:hover {
  text-decoration: underline;
  cursor: pointer;
}
div.wpforms-page-indicator.none,
div.wpforms-field.wpforms-field-pagebreak:first-of-type {
  display: none;
}

/**********************************************************************/
/* buttons / links                                                    */
/**********************************************************************/
.gsoaButton a {
  background-color: black !important;
}
.gsoaButton a:hover,
.gsoaButtonHighl a:hover {
  text-decoration: underline;
}
/* link collection ****************************************************/
.gsoaButtonLink a,
a.wp-block-latest-posts__post-title,
.gsoa-para-hightlight-links a {
    background-color: unset !important;
    color: black !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #b40e44;
    padding: initial;
}
.gsoaButtonLink > div:not(:last-child)::after {
  content:' •';
}
.gsoaButtonLink {
  column-gap: 0.3rem !important;
}

/**********************************************************************/
/* home page                                                          */
/**********************************************************************/
.gsoa-para-mainpage {
    margin-top: 0 !important;
}
/* featured image *****************************************************/

.gsoa-featured:not(.wp-block) > div:first-of-type {
  /* first column */
  flex-basis:60%
}

.gsoa-featured:not(.wp-block) > div:last-of-type {
  /* second column */
  flex-basis:40%
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div,
.gsoa-featured:not(.wp-block) > div:last-of-type > div {
  /* Image box */
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  aspect-ratio: 3 / 2;
}

@media (min-width: 782px) {
  .gsoa-featured:not(.wp-block) {
    column-gap: 0;
    row-gap: 0;
  }
  
  .gsoa-featured:not(.wp-block) > div:first-of-type > div {
    margin: 0 var(--wp--style--block-gap) 0 0;
    aspect-ratio: auto;
    height: 100%;
  }

  .gsoa-featured:not(.wp-block) > div:last-of-type > div:last-of-type {
    margin: var(--wp--style--block-gap) 0 0 0;
  }
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div > figure,
.gsoa-featured:not(.wp-block) > div:last-of-type > div > figure {
  /* Image figure */
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div > figure:hover,
.gsoa-featured:not(.wp-block) > div:last-of-type > div > figure:hover {
  filter: opacity(0.75);
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div > figure > a,
.gsoa-featured:not(.wp-block) > div:last-of-type > div > figure > a{
  /* Link */
  height: 100%;
  width: 100%;
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div > figure > a > img,
.gsoa-featured:not(.wp-block) > div:last-of-type > div > figure > a > img{
  /* Image */
  height: 100%;
  width: 100%;
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div > div,
.gsoa-featured:not(.wp-block) > div:last-of-type > div > div {
  /* button */
  align-self: end;
  pointer-events: none;
  z-index: 1;
}

.gsoa-featured:not(.wp-block) > div:first-of-type > div > p,
.gsoa-featured:not(.wp-block) > div:last-of-type > div > p {
  /* overlay text */
  align-self: start;
  padding: 2rem; line-height: 150%;
  color: white;
  font-weight: 550;
  font-size: 150%;
  text-shadow: 1px 1px 5px black, 1px 1px 5px black;
  pointer-events: none;
  z-index: 1;
}


/* Posts list widget with 3 columns in blocks *************************/

@media (min-width: 600px) {
  .wp-block-latest-posts.columns-3.wp-block-latest-posts.columns-3 li {
      width: calc(33.3333% - 1.25em);
  }
  .wp-block-latest-posts.columns-3.wp-block-latest-posts.columns-3 > li:nth-child(3n) {
    width: 33.3333%;
  }
}

@media (max-width: 599px) {
  .wp-block-latest-posts.columns-3.wp-block-latest-posts.columns-3 > li {
    margin: 0;
  }
}

.wp-block-latest-posts.columns-3 > li {
  box-sizing: border-box;
  padding: 1.5rem;
}

.wp-block-latest-posts.columns-3 > li > a {
  font-weight: 600;
  text-decoration-color: #b40e44;
}

.wp-block-latest-posts.columns-3 > li:nth-child(odd) {
  background: #f5f5f5;
}


/* Posts list widget in lines *****************************************/
.wp-block-latest-posts__list.has-dates li:not(:last-child) {
  margin-bottom: 0.7rem;
}


/**********************************************************************/
/* shop                                                               */
/**********************************************************************/
section.woocommerce-bacs-bank-details {
  display: none;
}
.shop-title h1 {
  border-bottom: unset;
}
.shop-title {
  border-bottom: 3px solid #b40e44;
}
#billing_state_field,
#shipping_state_field,
#billing_address_2_field,
#shipping_address_2_field {
  display: none !important;
}
.woocommerce-shipping-destination {
  display: none;
}
/**********************************************************************/
/* blank wordpress template                                           */
/**********************************************************************/
.blank-root {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

/**********************************************************************/
/* fancy participate page                                             */
/**********************************************************************/
.parti-bg {
  background-image: url("https://gsoa.ch/wp-content/uploads/2022/12/t2.webp");
  background-size: auto 100%; 

  filter: blur(5px);
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: unset !important;
  height: 100%;
  z-index: -1;
}
.parti-icons > div > a {
  color: #fff !important;
  background-color: #ee304c !important;
  border-radius: 20px !important;
  height: 30px;
  width: 30px;
  padding: 0;
  font-weight: 700;
  font-family: monospace;
}
.parti-icons img {
  width: 30px;
  height: 30px;
}
.parti-info {
  display: none;
}
.parti-hide {
  height:30px;
  width:30px;
  display:block;
  margin:5px auto;
  margin-bottom: 10px;
}
.parti-content {
  margin: 10px !important;
}
.parti-border-box {
  margin-top: 0 !important;
}
.parti-border-box > div {
/* flat colors: */
/*  background: linear-gradient(to right, #ee304c, #ee304c 15%, #f37014 15%, #f37014 29%, #fdf000 29%, #fdf000 43%, #5ec24f 43%, #5ec24f 57%, #3fbfe8 57%, #3fbfe8 71%, #2b73c2 71%, #2b73c2 85%, #8257b0 85%, #8257b0) !important;*/

/* subtle gradients within rainbow: */ 
/*  background: linear-gradient(to bottom, #ee304c, #cf0725 15%, #f37014 15%, #dd6511 29%, #fdf000 29%, #e3d800 43%, #5ec24f 43%, #4eae40 57%, #3fbfe8 57%, #2fa3c8 71%, #2b73c2 71%, #2464aa 85%, #8257b0 85%, #6d4696) !important;*/

/* slightly less subtle gradients within rainbow */
  background: linear-gradient(to bottom, #ee304c, #c00622 15%, #f37014 15%, #c95a0c 29%, #fdf000 29%, #e3d800 43%, #5ec24f 43%, #3e9731 57%, #3fbfe8 57%, #2a97b9 71%, #2b73c2 71%, #14467e 85%, #8257b0 85%, #532c7b);
  
  border-radius: 20px;
  padding: 10px !important;
}
.parti-border-box > div > div {
  border-radius: 10px;
  background-color: white;
}
.parti-border-box button {
  background-color: #6a3b9a !important;
  border-radius: 8px !important;
}
.parti-border-box div.wpforms-field-pagebreak {
  padding-bottom: 0 !important;
}

/* v2 */
.parti2 .wpforms-submit {
  margin-bottom: var(--wp--preset--spacing--30)!important;
}
/**********************************************************************/
/* manifest 2023                                                      */
/**********************************************************************/
@font-face {
        font-family: "GT America Compressed Light";
        src: url("https://gsoa.ch/wp-content/plugins/gsoa-blocks/GT-America-Compressed-Light.woff2");
}
@font-face {
        font-family: "GT America Compressed Medium";
        src: url("https://gsoa.ch/wp-content/plugins/gsoa-blocks/GT-America-Compressed-Medium.woff2");
}
.manifest {
  font-family: "GT America Compressed Light"!important;
  letter-spacing: 0.04em;
}
.manifest h1, .manifest h2, .manifest h3 {
  font-family: "GT America Compressed Medium"!important;
  font-weight: unset!important;
  border-bottom: unset;
  letter-spacing: 0.2em;
}
.manifest h1 {
  font-size: var(--wp--custom--typography--font-size--gigantic);
}
.manifest h2 {
  font-size: var(--wp--preset--font-size--large);
}
.manifest h3 {
  font-size: var(--wp--preset--font-size--medium);
  letter-spacing: 0.1em;
}
.manifest .wpforms-form button[type=submit] {
  background-color: #574191!important;
  font-family: "GT America Compressed Medium";
}
div.wp-block-post-content .manifest p a {
  text-decoration-color: #574191;
}
.manifest .sign img {
  height: 2rem;
  width: 2rem;
}
.manifest .sign {
  position: fixed;
  top: 5px;
  right: 5px;
  z-index: 1;
  font-family: "GT America Compressed Medium";
}
@media (min-width: 850px){
  .manifest .sign {
    top: 20px;
    right: 20px;
  }
}
.manifest .blocks .block, .sign {
  transition: all .2s ease-in-out;
}
.manifest .sign a {
  text-decoration: none;
}
.manifest .blocks .break {
  height: 0;
  flex-basis: 100%;
}
.manifest .blocks .block, .sign {
  /*background-color: #eaf2d1!important;*/
}
.manifest .blocks .block:hover, .sign:hover {
  cursor: pointer;
  filter: brightness(110%);
  transform: scale(1.05);
}
.manifest .blocks .block:hover h3, .sign:hover a {
  text-decoration: underline;
  text-decoration-color: black!important;
}
.manifest .bild-breit img {
  max-height: 75vh;
  width: initial;
}
.manifest .bild-breit figure {
  text-align: center;
}
@media (max-width: 600px) {
  .sign p {
    display:none;
  }
  .manifest h1 {
    font-size: var(--wp--preset--font-size--large);
  }
  .manifest h2 {
    font-size: var(--wp--preset--font-size--medium);
    letter-spacing: 0.1em;
  }
}
/**********************************************************************/
/* footer                                                             */
/**********************************************************************/
body > div > footer.wp-block-template-part > div.has-background-color.has-background-color.has-background-color.has-background-color.has-background-color {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 5rem;
  box-shadow: 0 0 0 100vmax var(--wp--preset--color--foreground);
  clip-path: inset(0 -100vmax);
}
@media (max-width: 475px) {
  .gsoa-footer, .gsoa-footer-menu ul {
    flex-direction: column;
  }
  div.wp-block-search__inside-wrapper input {
    width: 100%; /* for some reason this doesn't make it any wider, but allows it to shrink more for small screens */
  }
}

/**********************************************************************/
/* header                                                             */
/**********************************************************************/
.gsoaHeaderBox {
  display: flex;
  flex-wrap: wrap;
  align-items: normal;
  justify-content: center;
}

.gsoaHeaderPartLang {
  width: 100%;
}

.gsoaHeaderPartLang select {
  float: right;
}

.gsoaHeaderPartLogo {
  width: 30rem;
  text-align: center;
}

.gsoaHeaderPartLogo img {
  width: 100%;
}

.gsoaHeaderSpacer {
  flex-grow: 5;
}

.gsoaHeaderPartCTABox {
  align-self: end;
}

div.gsoaHeaderPartCTAFlex {
  float: right;
  flex-wrap: nowrap;
}

.gsoaHeaderPartMenu {
  width: 100%;
  max-width: var(--wp--style--global--content-size);
}

.gsoaHeaderPartMenu ul > li:first-child {
  display: none;
}

.wp-block-navigation__responsive-container-open {
  position: absolute;
  left: 0;
  top: 0;
}

.wp-block-navigation__responsive-container-open::after {
  font-weight: bold;
  line-height: 24px;
  content: "MENU";
}

@media (min-width: 600px) {
  .gsoaHeaderPartMenu {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 75rem) {
  .gsoaHeaderPartLogo {
    width: 25rem;
  }
}

@media (max-width: 62rem) {
  .gsoaHeaderPartLogo {
    width: 20rem;
  }
}

@media (max-width: 55rem) {
  div.gsoaHeaderBox {
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 10px;
    position: relative;
  }
  
  .gsoaHeaderPartLang {
    width: 100%;
    /*max-width: 20rem;*/
  }
  
  .gsoaHeaderPartLogo {
    width: 100%;
    /*max-width: 20rem;*/
    padding-top: 1.5rem;
  }
  
  .gsoaHeaderSpacer {
    flex-grow: 0;
    width: 0px;
  }
  
  .gsoaHeaderPartCTABox {
    width: 100%;
    #max-width: 20rem;
    align-self: auto;
  }

  div.gsoaHeaderPartCTAFlex {
    float: none;
    flex-wrap: wrap;
    gap: 0.7rem;
  }
  
  .gsoaHeaderPartCTAFlex div {
    width: 100%;
    text-align: center
  }
  
  .gsoaHeaderPartCTAFlex div a {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .gsoaHeaderPartLang {
    position: absolute;
    right: calc((100%-20rem)/2-10rem);
    top: 10px;
  }
  
  .gsoaHeaderPartMenu {
    order: -1;
    /*width: 20rem;*/
  }
}
