/*
Styles for Digital Signage
Author: Jadato
Author URI: https://jadato.co/
Version: 1.0
*/

/*
Fonts
*/

/*
Open Sans
Source: https://gwfh.mranftl.com/fonts/open-sans?subsets=latin
*/
/* open-sans-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('https://datacenter.ds.jadato.co/fonts/opensans/open-sans-v36-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* open-sans-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('https://datacenter.ds.jadato.co/fonts/opensans/open-sans-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* open-sans-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('https://datacenter.ds.jadato.co/fonts/opensans/open-sans-v36-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* open-sans-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('https://datacenter.ds.jadato.co/fonts/opensans/open-sans-v36-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* open-sans-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('https://datacenter.ds.jadato.co/fonts/opensans/open-sans-v36-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

/*
Montserrat
Source: https://gwfh.mranftl.com/fonts/montserrat?subsets=latin
*/
/* montserrat-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('https://datacenter.ds.jadato.co/fonts/montserrat/montserrat-v26-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('https://datacenter.ds.jadato.co/fonts/montserrat/montserrat-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('https://datacenter.ds.jadato.co/fonts/montserrat/montserrat-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('https://datacenter.ds.jadato.co/fonts/montserrat/montserrat-v26-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

/*
Theme Modifizierungen
*/
.grid-container {
    max-width: unset !important;
}

header, footer {
    display: none;
}

.separate-containers .site-main {
    margin: 0 !important;
}

/*
DS Design
*/
.jdt_ds_container {
    font-family: 'Open Sans', sans-serif;
    color: #535353;
    display: flex;
}

.jdt_ds_container h1 {
    color: #5692ce;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

.jdt_ds_header_left,
.jdt_ds_header_right {
    position: absolute;
    top: 0;
    z-index: 1;
    display: inline-block;
    padding: 1.5vh;
    overflow: hidden;
    color: #fff;
}

.jdt_ds_header_left {
    left: 0;
    padding-right: 7vh;
}

.jdt_ds_header_right {
    right: 0;
    padding-left: 5.5vh;
    font-size: 4vh;
    line-height: 1;
}

.jdt_ds_header_left:after,
.jdt_ds_header_right:after {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #5692ce;
    -webkit-transform: skew(-30deg);
    -ms-transform: skew(-30deg);
    transform: skew(-30deg);
    z-index: -1;
}

.jdt_ds_header_left:after {
    left: 0;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.jdt_ds_header_right:after {
    right: 0;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.jdt_ds_header_left img {
    height: 6vh !important;
    display: block;
}

.jdt_ds_footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 1.25vh 4.5vh;
    overflow: hidden;
    color: #fff;
    text-align: center;
    z-index: 1;
    font-size: 3vh;
}

.jdt_ds_footer:before,
.jdt_ds_footer:after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #5692ce;
    z-index: -1;
}

.jdt_ds_footer:before {
    left: 0;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -webkit-transform: skew(-30deg);
    -ms-transform: skew(-30deg);
    transform: skew(-30deg);
}

.jdt_ds_footer:after {
    right: 0;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 100%;
    -webkit-transform: skew(30deg);
    -ms-transform: skew(30deg);
    transform: skew(30deg);
}

.jdt_ds_content {
}

.jdt_ds_top {
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.5vh solid #5692ce; 
}

.jdt_ds_top img {
    height: 9vh;
    width: auto;
}

.jdt_ds_bottom {
    height: 10vh;
    display: flex;
    align-items: center; /* Vertikale Ausrichtung zentrieren */
    justify-content: center; /* Horizontale Ausrichtung zentrieren */
    color: #5692ce;
    font-size: 4vh;
    font-weight: 600;
    border-top: 0.5vh solid #5692ce;
}

.jdt_ds_bottom i {
    margin-right: 2vh;
}

.jdt_ds_left_column {
    width: 75%;
}

.jdt_ds_left_column_fullwidth {
    width: 100%;
}

.jdt_ds_right_column {
    width: 25%;
    background-color: #5692ce;
    box-shadow: 5vh 5vh 5vh 5vh rgba(0, 0, 0, 0.5);
}

.jdt_ds_right_column_hidden {
    display: none;
}

.jdt_ds_flex_content {
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center; /* Vertikal zentrieren */
}

.jdt_ds_flex_content_wfs {
    height: 75vh; /* Höhe des Containers anpassen */
}

.jdt_ds_flex_content_p7 {
    height: 100vh; /* Höhe des Containers anpassen */
}

.jdt_ds_flex_content_sidebar {
    height: 100vh; /* Höhe des Containers anpassen */
    border-top: none;
    border-bottom: none; 
    color: #fff;
}

.jdt_ds_flex_content_sidebar h1 {
    color: #fff;
}

.jdt_ds_abfahrten, .jdt_ds_abfahrten_sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

.jdt_ds_abfahrten {
    text-align: center;
}

.jdt_ds_abfahrten_sidebar {
    padding: 3vh;
}

.jdt_ds_abfahrten h1 {
    font-size: 9vh;
    line-height: 1.2em;
    margin-bottom: 0;
}

.jdt_ds_abfahrten_sidebar h1 {
    font-size: 7vh;  
}

.jdt_ds_abfahrten p {
    font-size: 7vh;
    font-weight: 700;
    margin-bottom: 0;
}

.jdt_ds_abfahrten_sidebar p {
    font-size: 5.25vh;
    line-height: 1.25;
} 

.jdt_ds_abfahrten i {
    color: #5692ce;
    margin-right: 3vh;
}

.jdt_ds_abfahrten_sidebar i {
    color: #fff;
    margin-right: 0;
}

.jdt_ds_vollbild,
.jdt_ds_video {
    height: 100%;
    width: 100%;
}

.jdt_ds_vollbild img,
.jdt_ds_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jdt_ds_video {
    line-height: 0;
}

.jdt_ds_2columns_img {
    display: flex;
    gap: 5vh;
    height: 75vh;
    overflow: hidden;
    padding: 5.5vh 5vh;
    font-size: 4.5vh;
}
.jdt_ds_2columns_column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jdt_ds_2columns_column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1vh;
}

.jdt_ds_2columns_column h1 {
    font-size: 6.5vh;
    margin-bottom: 3vh;
    text-align: left;
}

.jdt_ds_list {
    display: flex;
    line-height: 1.25;
    gap: 1.5vh;
}

.jdt_ds_list:not(:last-child) {
    margin-bottom: 4vh;
}

.jdt_ds_list_icon {
    width: 6vh;
}

.jdt_ds_editor {
    font-size: 8vh;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    padding: 5.5vh 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 3vh;
}

.jdt_ds_editor h1 {
    font-size: 9vh;
    margin-bottom: 0;
}

.jdt_ds_editor_sidebar {
    font-size: 6vh;
    padding: 3vh;
    text-transform: none;
}

.jdt_ds_editor_sidebar h1 {
    font-size: 7vh;
}

.jdt_ds_editor p {
    margin-bottom: 0;
}

.jdt_ds_editor i {
    color: #5692ce; 
    font-size: 12vh;
    margin-bottom: 3vh;
}

.jdt_ds_editor_sidebar i {
    color: #fff; 
    font-size: 10vh;
    margin-bottom: 0;
    line-height: 1.5em;
}

.jdt_ds_sidebar_img_txt h1 {
    color: #fff;
    text-align: center;
    font-size: 5vh;
    margin-bottom: 0;
}

.jdt_ds_sidebar_img_txt {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 4vh;
    gap: 3vh;
    padding: 3vh 0;
}

.jdt_ds_sidebar_img_txt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
    border-top: 0.25vh solid #fff;
    border-bottom: 0.25vh solid #fff;
}

.jdt_ds_list_sidebar {
    padding: 0 3vh;
}

.jdt_ds_list_sidebar:not(:last-child) {
    margin-bottom: 0;
}

#generate_layout_options_meta_box {
    display: none;
}

.jds_yt_video {
    aspect-ratio: 16 / 9;
    height: 100%;
    width: 100%;
  }