/*
Theme Name: European Theme
Version: 105.19.20
Description: A child theme of Twenty Twenty-Two
Author: Bumph Celerdain
Template: twentytwentytwo
*/

@import url("../twentytwentytwo/style.css");

body{
 overflow-x:hidden;
}

h1.wp-block-post-title {
  font-size: 63px;
}

main a {
  color: #27ca39!important;
}

.pros-cons {
  background: #E0E2DB;
}

.header-block-menu {
  padding-top: 10px;
  padding-bottom: 10px;
}

.polylang_langswitcher {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.lang-item {
  display: inline-block;
}

.polylang_langswitcher {
  list-style-type: none;
}

.polylang_langswitcher .lang-item a {
  text-decoration: none;
  padding: 8px;
}

.wp-block-image {
  margin: 15px 0 10px 0;
}

.current-lang a {
  font-weight: 600;
  background: #ff5924;
  color: #fff;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
  padding: 0;
  font-size: 25px!important;
}

.wp-block-post-title {
  text-align: center!important;
}

.home .wp-container-622965c0b22fe>* {
  max-width: 950px!important;
}

.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
  width: 40px!important;
  height: 40px!important;
}

.wp-block-post-title {
  font-weight: 400!important;
}

#logos-footer .wp-block-image {
  overflow: hidden !important;
  text-align: center;
}

#headinghome {
  text-align: center;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

#headinghome h1 {
  font-size: 60px;
  max-width: 1000px !important;
  font-family: inherit !important;
}

.page-id-208 p:nth-child(2n) {
  color: #3D348B;
}

.page-id-208 strong:nth-child(2n) {
  font-weight: 600;
  font-size: 22px!important;
}

.page-id-217 p:nth-child(2n) {
  color: #3D348B;
}

.page-id-217 strong:nth-child(2n) {
  font-weight: 600;
  font-size: 22px!important;
}

.page-id-217 strong,
.page-id-208 strong {
  font-size: 22px!important;
}

.page-id-390 strong {
  color: #3D348B;
  font-size: 22px!important;
  font-weight: 600;
}

.page-id-333 strong {
  color: #3D348B;
  font-size: 22px!important;
  font-weight: 600;
}

.wp-container-6229a45bb6121 .white {
  color: #fff!important;
}

.page-template-default .schema-faqelement  p{
  word-wrap: break-word!important;
}

.wp-container-7 > :where(:not(.alignleft):not(.alignright)) {
  word-wrap: break-word;
}

.year {
  font-weight: 600;
  font-size: 25px;
  text-align: center;
}

.logo-block img{
   max-width:150px;
  height:auto; 
}

img{
    max-width:80%;
    height:auto;
}

#headinghome img{
    max-width:100%;
    height:auto; 
}

.wp-block-image {
  overflow: hidden!important;
}

@media(min-width:976px) {
  #header-wrapper {
    margin-bottom: -80px !important;
  }
}

@media(max-width:780px) {
  .home h1 {
    font-size: 60px!important;
  }
}

@media(max-width:599px) {
  #logos-footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: calc(50% - var(--wp--style--block-gap, 2em)/2) !important;
    flex-grow: 0!important;
  }
  .home h1 {
    font-size: 50px!important;
  }
  #header-wrapper {
    padding-bottom: 0!important;
  }
  .polylang_langswitcher .lang-item a {
    padding: 8px!important;
    font-size: 22px;
  }
  .gloss-top p {
    font-size: 22px;
  }
  
  #logos-footer img{
    width:70%;
    height:auto;
    max-width:150px;
  }
}

@media(max-width:490px) {
  .custom-logo {
    max-width: 165px;
  }
  body {
    font-size: 16px!important;
  }
  .home h1 {
    font-size: 35px!important;
  }
  h1.wp-block-post-title {
    font-size: 40px!important;
  }
  
   h2 {
    font-size: 32px!important;
  }
  
  .white h2{
     font-size: 23px!important; 
  }
  #rider-grey {
    padding: 5px 5px 0 5px!important;
  }
}

@media(max-width:385px) {
  h1.wp-block-post-title {
    font-size: 40px;
  }
  .custom-logo {
    max-width: 155px;
  }
  .home h1 {
    font-size: 36px!important;
    padding:0!important;
  }
  
  h2 {
    font-size: 33px!important;
  }
  .gloss-top p {
    font-size: 16px;
  }
  .polylang_langswitcher .lang-item a {
    padding: 5px!important;
    font-size: 18px;
  }
  .polylang_langswitcher{
    padding-inline-start: 0px!important;
  }
    
}

@media(max-width:340px) {
  .custom-logo {
    max-width: 145px;
  }
  .home h1 {
    font-size: 30px!important;
  }
  h1 {
    font-size: 30px!important;
  }
  h2 {
    font-size: 27px!important;
  }
}
