/* 1. Import Lato from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  /* Layout Settings */
  --canvas-width: 1200px;
  --font-main: 'Lato', sans-serif;

  /* Fluid Typography */
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1rem); 
  --lh-body: 1.75; 

  --fs-h1: clamp(2.25rem, 1.8rem + 2vw, 3rem);
  --fs-h2: clamp(1.8rem, 1.5rem + 1.5vw, 2.4rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-h4: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h5: clamp(1.15rem, 1.1rem + 0.3vw, 1.4rem);
  --fs-h6: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);

  /* Refined Tight Line Heights */
  --lh-h1: 1.1;
  --lh-h2: 1.15;
  --lh-h3: 1.2;
  --lh-h4: 1.3;
  --lh-h5: 1.4;
  --lh-h6: 1.4;

  --color-yale-blue: #005182;
  --color-alice-blue: #e9f4f8;
  --color-light-blue: #b9dfe9;
  --color-white: #ffffff;
  --color-blue-slate: #4b5762;
  --color-grey-olive: #999999;
  --color-silver: #cccccc;
  --color-white-smoke: #f5f5f5;
  --color-yale-blue-hover: rgba(0, 81, 130, 0.75);
  --color-black-hover: rgba(0, 0, 0, 0.75);
}

/*Add your own styles here:*/
p.myowntext,
.myowntext p {
    text-align: left;
}

p.myspecialsize {
    color: var(--color-yale-blue, #005182);
    font-size: var( --fs-h2);
    line-height: 1.2;
}
img.myresponsive {
    width: 100%;
    height: auto;
}

p.myimagetext {
    text-align: center;
    font-weight: 400;
}
video.myvideo {
    width: 100%;
    max-height: 100%;
}

#player-overlay {
    position: absolute;
    display: none;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000000;
    z-index: 999;
}

ul.myownul {
    list-style-type: none!important;
    margin-left: 0.6rem!important;
}
ul.myownul li::before {
    content: "■"; font-family: "Arial Black";
    padding-right: 4px; color: rgb(0, 81, 130) !important;
    position: relative!important;
    top: -2px!important;
}
ul.myownul li {
    margin-left: 10px!important;
    padding-left: 1em;
    text-indent: -1em;
}

p.myownul {
    margin-bottom: 0.5rem!important;
}

.w-popup-box-title {
    display: none!important;
}

ul#menu-dienstleistungen,
ul#menu-dienstleistungen-franzoesisch,
ul#menu-dienstleistungen-englisch {
    background-color: var(--color-yale-blue, #005182)!important;
    padding: 15px;
}
ul#menu-dienstleistungen li,
ul#menu-dienstleistungen-franzoesisch li,
ul#menu-dienstleistungen-englisch li {
    color: #b9dfe9!important;
}

ul#menu-dienstleistungen li.current-menu-item,
ul#menu-dienstleistungen-franzoesisch li.current-menu-item,
ul#menu-dienstleistungen-englisch li.current-menu-item {
    color: #FFFFFF!important;
}

ul#menu-dienstleistungen li:hover,
ul#menu-dienstleistungen-franzoesisch li:hover,
ul#menu-dienstleistungen-englisch li:hover {
    color: #ffffff!important;
    font-weight: 800!important;
}

ul#menu-produkte,
ul#menu-produkte-franzoesisch,
ul#menu-produkte-englisch {
    background-color: var(--color-yale-blue, #005182)!important;
    padding: 15px;
}

ul#menu-produkte li,
ul#menu-produkte-franzoesisch li,
ul#menu-produkte-englisch li {
    color: #b9dfe9!important;
}

ul#menu-produkte li.current-menu-item,
ul#menu-produkte-franzoesisch li.current-menu-item,
ul#menu-produkte-englisch li.current-menu-item {
    color: #FFFFFF!important;
}

ul#menu-produkte li:hover,
ul#menu-produkte-franzoesisch li:hover,
ul#menu-produkte-englisch li:hover {
    color: #ffffff!important;
    font-weight: 800!important;
}

/* gravity forms border color */
.gform_body input[type=text]:focus,
.gform_body input[type=email]:focus,
.gform_body input[type=tel]:focus,
.gform_body input[type=url]:focus,
.gform_body input[type=number]:focus,
.gform_body input[type=password]:focus,
.gform_body select:focus,
.gform_body textarea:focus {
    box-shadow: rgb(0, 81, 130) 0px 0px 0px 2px;
    border-color: var(--color-yale-blue, #005182)!important;
}

.mywpml a.w-dropdown-item:hover {
    color: #FFFFFF!important;
}

.l-subheader.at_bottom {
    background-image: url('/wp-content/uploads/2020/06/menubackground.png')!important;
}

.w-nav.type_desktop:not(.height_full),
.w-hwrapper .w-nav.type_desktop,
.w-vwrapper .w-nav.type_desktop {
    line-height: 46px!important;
    margin-top: 9px!important;
}

.mylogo {
    z-index: 9999!important;
}

img.grayscale {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

img.grayscale:hover {
  filter: none;
  -webkit-filter: grayscale(0%);
}

.grayscale img {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

.grayscale img:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}

@media (min-width: 480px) {
    .plyr--video .plyr__controls {
        padding: 0px 10px 10px!important;
    }
}

.video-container-start {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 5px;
}

.video-container-start iframe,
.video-container-start object,
.video-container-start embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.myresponsive {
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

.myshadow {
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 25%);
    border-radius: 6px;
}

div.myshadow img {
    border-radius: 6px!important;
}

/* peise wrapper css */
#wrapper {
    margin: 0 0 8px 18px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 8px;
    margin-left: 18px;
}

#wrapper span.maincontent {
    width: 300px;
    display: inline-block;
    font-weight: 600;
}

/* emergencytext */
.myemergencytext {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.myemergencytextred {
    font-weight: 600;
    font-size: 16px;
    color: #ed2024;
}

/* team member */
.mymembercard .card {
    width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
}

.mymembercard .card .img-top {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.mymembercard .card:hover .img-top {
    display: inline;
}

/* Slider CSS */
.inner-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.inner-slider-wrapper .post_image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.inner-slider-wrapper .post_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inner-slider-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 12%; 
    
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .inner-slider-content-wrapper {
        max-width: 100%;
        padding: 0 5%; 
        margin-bottom: 5%; 
    }
}

.slider-content {
    display: inline-block;
    background-color: rgba(0, 81, 130, 0.75);
    padding: 0.8rem 1.2rem; 
    max-width: 90%;
    box-sizing: border-box;
}

.slider-content p {
    color: #FFFFFF;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-size: clamp(1.1rem, 4vw, 2.4rem);
    display: block;
}

@media (min-width: 1024px) {
    .slider-content {
        padding: 1.5rem 2.5rem;
    }
}

.inner-slider-content-wrapper {
    display: flex;
    justify-content: flex-start;
}