/*
    Theme Name:   YK 25
    Description:  YK Theme
    Author:       none
    Template:     hello-elementor
    Version:      1.0
    Text Domain:  hello-elementor-child
*/

/* TEMP - bei YK-Shop => Produkte genutzt */
/* @import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css'); */


html {
    scrollbar-color: #6a6a6a #EEE;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}
html,
body {
    overflow-x: hidden;
}
/* darkmode */
/* html:not(.dark) {
	filter: invert(0%) hue-rotate(0deg) brightness(100%);
	transition: all .5s ease-in-out;
}
.dark {
    filter: invert(90%) hue-rotate(180deg) brightness(105%);
    scrollbar-color: #EEE #333;
    transition: all .5s ease-in-out;
}
.dark .not-dark {
    filter: invert(100%) hue-rotate(180deg) brightness(250%);
    transition: all .5s ease-in-out;
}
.light .not-dark {
    filter: inherit;
    transition: all .5s ease-in-out;
}
#lightModeImg {display: none;}
#darkToggle {cursor: pointer;} */


::selection {
    background-color: #000;
    color: #fff;
}
html a {
	color: #000;
}
html a:hover,
#footer-main a,
#footer-sub a {
    color: var( --e-global-color-secondary );
}
::-webkit-scrollbar {
    width: 6px;
    background: #EEE;
}
::-webkit-scrollbar-thumb {
    background: #6a6a6a;
}
/* body {
	overflow-y: scroll;
} */
#page {
    max-width: 1920px;
    /* max-width: 2560px; */
    margin: 0 auto;
}
.hyphen-on {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.hyphen-off {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}
.word-break-off {
    white-space: nowrap;
}
.max-width-400 {
    max-width: 400px;
}
.pad-0 {
	padding: 0;
}

/* Header Tweak */
/* header#masthead .she-header,
header#masthead .she-header-yes {
    max-width: 1920px !important;
} */
#logo-drop-shaddow {
    filter: drop-shadow(0px 0px 0.85rem #000000bf);
}
.ehf-header #masthead {
	position: fixed;
	width: 100%;
}

.hfe-pointer__underline .menu-item.parent a.hfe-menu-item::after {
	height: 2px;
}

/* Menu icon fix */
.hfe-nav-menu-icon {
	width: 53px;
}
/* tweak the width of each navi menu container to flip back to full width after scaling*/
#navi .hfe-nav-menu__layout-horizontal,
#footer-sub .hfe-nav-menu__layout-vertical {
    width: fit-content !important;
}


/* Mobile Menu popup */
.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown {
	left: -240px !important;
	width: 300px !important;
	/* box-shadow: 2px 2px 6px 1px #a6a6a6 !important; */
}
/* reset flex-style on multiple word menu item */
.reset-justify-content a.hfe-menu-item {
	justify-content: inherit;
}
/* lists */
.inline-text-list li{
    margin-bottom: 1em;
}
/* extra long menu list on mobile - scrollable */
.hfe-nav-menu .hfe-dropdown .sub-menu.sub-menu-open {
	overflow-y: auto;
	max-height: 40vh;
}



/* envira-gallery Tweak - hide white row at bottom of gallery*/
.envira-gallery-wrap ,
.envira-gallery-wrap .envira-gallery-public {
	margin: 0 auto 0px auto !important;
}
/* swiper-wrapper Tweak - smooth scrolling */
#logo-swiper .swiper-wrapper {
    transition-timing-function: linear !important; 
}
/* even grid on mobile */
#gallery-footer-small .envira-gallery-public {
    max-width: 700px;
}



/* Logo-Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    /* position: relative; */
}
.marquee {
    display: inline-flex;
    width: max-content;
}
.marquee.left {
    animation: scroll-left 120s linear infinite;
}
.marquee.right {
    animation: scroll-right 120s linear infinite;
    transform: translateX(-50%);
}
.marquee-content {
    display: inline-flex;
    white-space: nowrap;
}
.marquee:hover {
    animation-play-state: paused;
}
.marquee a {
    display: inline-block;
    margin-right: 20px;
}
.marquee img {
    height: 150px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.marquee img:hover {
    filter: brightness(70%) contrast(170%);
    transform: scale(1.01);
}
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}



/* Formular Tweak */
.wpcf7-form {
    font-family: 'Open Sans';
}
.wpcf7-form label {
    width: 100%;
    line-height: 1.5em;
}
.wpcf7-form-control-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
/* .wpcf7 .label-postition {
	position: relative;
	top: 12px;
	left: 5px;
	z-index: 2;
	background: #fff;
	padding: 0 5px;
} */
.wpcf7 .label-postition {
	position: relative;
	top: 12px;
	left: 11px;
	z-index: 2;
	background: #fff;
	padding: 0 10px;
	border: 1px solid #666;
	border-radius: 3px;
	font-size: 0.8em;
}
/* .wpcf7-form textarea:focus, 
.wpcf7-form input:focus {
	border: 1px solid var( --e-global-color-a343ad2 );
	outline: none;
} */
.wpcf7-form p:last-of-type {
	margin-bottom: 0;
}
/* .wpcf7-not-valid-tip {
	font-size: 0.7em;
	position: relative;
	top: -15px;
	background: #fff;
	width: fit-content;
	padding: 2px 4px;
	left: 5px;
	margin-bottom: -28px;
	text-align: right;
} */

.wpcf7-not-valid-tip {
	font-size: 0.7em;
	position: relative;
	top: -9px;
	background: #fff;
	width: fit-content;
	padding: 0px 6px;
	right: 15px;
	margin-bottom: -17px;
	text-align: right;
	border: 1px solid #666;
	border-radius: 4px;
	line-height: 15px;
}

/* Formular submit BTN */
.wpcf7-form-control.wpcf7-submit {
    /* color: var( --e-global-color-a343ad2 );
    border: 1px solid var( --e-global-color-a343ad2 ); */
    color: var( --e-global-color-70285b9 );
    border: 1px solid var( --e-global-color-secondary );
    background-color: var( --e-global-color-secondary );
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 0em !important;
}

.mynoscript {
    position: absolute;
    top: -9000px;
}

#page .elementor-button:hover, 
.wpcf7-form-control.wpcf7-submit:hover, 
#modal-close-btn:hover {
	background-color: inherit;
	/* color: var( --e-global-color-a343ad2 );
	border-color: var( --e-global-color-a343ad2 ); */
	color: var( --e-global-color-secondary );
	border-color: var( --e-global-color-secondary );
}

#footer-main a:hover,
#footer-sub a:hover,
#privacyModal .fake-link:hover,
#openModalBTN.fake-link:hover {
    /* color:  var( --e-global-color-a343ad2 ); */
    color:  #000;
}
#footer-sub a {
    color: #FFFFFF80;
    transition: color 0.3s;
}
#footer-sub a:hover {
    color: #FFF
}



/* Modal */
/* .modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}
.modal-outer {
    display: flex;
    flex-direction: column;
    background: #ffffffe8;
    padding: 20px;
    align-items: center;
    justify-content: center;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: 999;
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.2);
    max-width: 1024px;
    width: 90vw;
    max-height: 80vh;
}
.modal-body {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #464646 transparent;
    text-align: justify;
    hyphens: auto;
    width: 100%;
    scroll-behavior: smooth;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}
#modal-close-btn {
	color: #000;
	border: 1px solid #000;
	background: transparent;
}
#openModalBTN.fake-link {
    cursor: pointer;
}
#wrapper {
	margin-right: 20px;
}

/* Modal content 
#privacyModal h1, 
#privacyModal h2, 
#privacyModal h3, 
#privacyModal h4, 
#privacyModal h5, 
#privacyModal h6 {
	margin-block-end: 0.2rem;
}
#privacyModal a {
    color: #333;
    text-decoration: none;
} 
#privacyModal hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    color: lightgrey;
    background-color: lightgrey;;
}
 */


.disable-body-scroll {
    overflow-y: hidden; 
    padding-right: 8px;
}

/* .map-credits {
	padding: 1px;   
    bottom: 31px;
    width: fit-content;
    right: calc( -160px - (50% - 220px ) );
} */
.map-credits {
	padding: 1px;
	bottom: -135px;
	width: fit-content;
	right: calc( -50vw - (50% - 220px ) );
}
.map-credits div {
	background: #fff;
	padding: 1px;
}
.map-credits,
.map-credits a {
    color: #000;
}

#topBTN {
	display: none;
	position: fixed;
	bottom: 1rem;
    left: calc( 100vw - 4.5rem);
	/* right: 1rem; */
	z-index: 99;
	width: 3rem;
	height: 3rem;
	background: #00000052;
	border: 1px solid #0000008f;
	color: #000000cf;
}

/* Nav Menu Sticky & Hide Tweak on Desktop */
@media only screen and (min-width: 1025px) {
    #page .headerup {
        transform: translateY(0) !important;
    }
}




/* WP-Gallery HomePage 2x3 */
#home-gallery-section .gallery {
	display: flex;
	flex-wrap: wrap;
/* 	gap: 0;
    justify-content: space-evenly;
    background: gray; */
}
/* #home-gallery-section .gallery-item {
	max-width: 33.333vw;
} */
#home-gallery-section .gallery-item img {
	object-fit: cover;
	height: 33.333vw;
	width: 33.333vw;
}
/* WP-Gallery HomePage 2x3 */
@media only screen and (max-width: 768px) { 
	#home-gallery-section .gallery {
		display: flex;
		flex-wrap: wrap;
		gap: 0;
        justify-content: space-evenly;
	}
	#home-gallery-section .gallery-item {
		max-width: 50vw;
	}
	#home-gallery-section .gallery-item img {
		object-fit: cover;
		height: 50vw;
		width: 50vw;
	}
}


/* custom-gallery-modal-open-button - tweak  */
.openModalBTN.elementor-button.elementor-size-sm {
	color: #fff;
    background-color:#000000B5;
    font-family:"Roboto", Sans-serif;
    font-size:2em;
    font-weight:500;
    border-style:solid;
    border-width:1px 1px 1px 1px;
    border-color:var( --e-global-color-375b9f2 );
    border-radius:0px 0px 0px 0px;
    cursor: pointer;
}
.openModalBTN.elementor-button.elementor-size-sm:hover,
.openModalBTN.elementor-button.elementor-size-sm:focus {
    background-color:#000000E3;
}
.openModalBTN.elementor-button.elementor-size-sm  .elementor-button-content-wrapper {
    flex-direction:row-reverse;
    gap:10px;
}

/* width of video-modal on gallery page */
.gallery-page .modal-body .video-gallery {
    display: grid;
    gap: 35px;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    padding: 0;
}
@media only screen and (max-width: 1024px) {
    .gallery-page .modal-body .video-gallery {
        display: grid;
        gap: 35px;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        padding: 0;
    }
}
.gallery-page .video-gal-head {
	text-align: center;
	display: block;
	margin: 0 auto;
	max-width: 800px;
}
.gallery-page .video-gal-head h2 {
    margin-bottom: 20px;
	font-family: "Montserrat", Sans-serif;
    font-size: 1.4em;
    font-weight: 400;
    color: var( --e-global-color-30a51d0 ); /* white */
}
.gallery-page .video-gal-head a {
	color: var( --e-global-color-text );
}
.gallery-page .video-gallery h2 {
    margin-bottom: 20px;
	font-family: "Montserrat", Sans-serif;
    font-size: 1.4em;
    font-weight: 400;
    color: var( --e-global-color-30a51d0 ); /* white */
    line-height: 1.2em;
    margin-top: 10px;
    text-align: center;
}
.gallery-page .video-gallery .video-gallery-item {
    text-align: center;
    padding: 0;
}

.video-gallery .elementor-custom-embed-image-overlay img {
    aspect-ratio:1.7777;
    display:block;
    -o-object-fit:cover;
    object-fit:cover;
    -o-object-position:center center;
    object-position:center center;
    width:100%
}
.gallery-page iframe {
	max-width: clamp(60vw, 90vw, 1440px);
}


/* WP-Gallery Sinlge Bikes - Modals  */
/* .modal-body .gallery {
	display: grid;
	gap: 5px;
	/* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
} */
.modal-body .gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.modal-body .gallery-item {
    margin: 0;
}
.modal-body .gallery-item a {
    height: 155px;
    display: flex;
}
@media only screen and (max-width: 480px) { 
    .modal-body .gallery {
        gap: 5px;
    }
    .modal-body .gallery-item a {
        height: 140px;
    }
}
.modal-body .attachment-thumbnail.size-thumbnail {
	width: 100%;
}

/* Gallery Modal ###########################   TODO: CHECK/DELETE FIRST APPEARANCE OF MODAL ABOVE #########################*/
.modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
}
.modal-outer {
	display: flex;
	flex-direction: column;
	background: #000000e8;
	padding: 20px 16px 20px 20px;
	align-items: center;
	justify-content: center;
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	z-index: 999;
	box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.2);
	max-width: 1600px;
	width: 90vw;
	max-height: 80vh;
}
#modal-close-btn {
	color: #fff;
	position: absolute;
	bottom: calc(100% - 15px);
	left: calc(100% - 15px);
	background: #0000008f;
	cursor: pointer;
	display: flex;
	font-size: 20px;
	padding: 0.25em;
	z-index: 2;
	text-decoration: none;
	border: 1px solid #FFF;
}
.modal-body {
	display: flex;
	flex-direction: column;
    /* padding: 0 20px 0 0px; */
    padding: 0;
	max-height: 80vh;
	/* overflow-y: auto; */
	overflow-y: scroll;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #fff transparent;
	width: 100%;
	scroll-behavior: smooth;
    /* margin: unset; */
    margin: 22px 0 22px 0;
}
#wrapper {
	/* margin-right: 0px; */
    margin: 0 16px 0 20px;
}
/* elementor slider hide title & social icons  */
.dialog-type-lightbox {
    background-color: rgba(0, 0, 0, 0.95);
}
.elementor-lightbox .dialog-lightbox-close-button {
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 3px;
}
/* .elementor-slideshow__title,
.elementor-slideshow__header .elementor-slideshow__share-menu, 
.elementor-slideshow__header .eicon-zoom-in-bold, 
.elementor-slideshow__header .eicon-frame-expand, 
.elementor-slideshow__header .eicon-share-arrow {
	display: none;
} */

/* Swiper tweak ##################################   TODO: CHECK HP Swiper Chevrons POsitions ############################# */
/* .gallery-page .elementor-lightbox .swiper .elementor-swiper-button-prev,
.gallery-page .elementor-lightbox .swiper .elementor-swiper-button-next {
	right: 0;
	position: absolute;
	top: 0;
	z-index: 1;
} */



/* Gallery display no title #######################################   DELETE??????          */
/* .envira-gallery-item .caption,
#envirabox-title {
    display: none !important;
} */


.presse-gallery .elementor-image-box-img {
	display: flex;
	justify-content: center;
}
.presse-gallery .elementor-image-box-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100px;
}
.presse-gallery .e-con-inner .elementor-element.e-con-full {
	min-width: 240px;
	max-width: 280px;
    width: 100%;
}


/* Footer Image grid */
footer .gallery {
	display: grid;
	max-width: 100%;
	gap: 5px;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	margin: 0 auto;
	width: 568px;
}
footer .gallery-item a {
    display: flex;
}

@media only screen and (max-width: 768px) { 
    
    /* smaller marquee img on mobile */
    .marquee img {
        height: 90px;
    }
    /* Gallery mobile fancybox tweak => max img view #########################################   DELETE??????            */
   /*  #envirabox-overlay {
        background-color: rgb(0, 0, 0) !important;
    }
    #envirabox-wrap {
        padding: 4px !important;
        margin: 0 auto;
        width: calc(100% - 8px) !important;
        margin-top: -5vh;
        left: 0 !important;
    }
    #envirabox-outer {
        width: 100%;
    }
    #envirabox-content {
        border-width: 2px !important;
        width: calc(100% - 4px) !important;
        height: auto !important;
    }
    #envirabox-close {
        display: none !important;
    } */
    /* Gallery mobile fancybox tweak => max img view #########################################   DELETE??????            */


}



@media only screen and (max-width: 480px) { 
    /* Footer Image grid */
    footer .gallery {        
        width: 300px;
    }
}



.legal-logo {
    mask: url("img/stbg_logo.svg") 50% 50% no-repeat;
    -webkit-mask: url("img/stbg_logo.svg") 50% 50% no-repeat;
    /* mask-size: auto auto; */
    mask-size: contain;
    -webkit-mask-size: contain;
    text-indent: -9999px;
    width: 103px;
   /* height: 12px; */
    display: inline-box;
    display: -webkit-inline-box;
    background: var( --e-global-color-secondary );
    vertical-align: middle;
    top: -1px;
    position: relative;
}
.legal-logo:hover {
    background: #fc5242 !important;
}


/* special conditions for the stbg logo in edge 10 11 13 14  */
@supports (-ms-ime-align: auto) {
   /* Microsoft EdgeV13&14 CSS styles go here */
    .legal-logo {
        mask: unset;
        -webkit-mask: unset;
        mask-size: unset;
        -webkit-mask-size: unset;
        text-indent: -9999px;
        width: unset;
        height: unset;
        display: inline;
        background: unset;
        vertical-align: unset;
        top: unset;
        position: unset;
    }
    .legal-logo:hover {
        background: unset;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10 & IE11 CSS styles go here */
    .legal-logo {
        mask: unset;
        -webkit-mask: unset;
        mask-size: unset;
        -webkit-mask-size: unset;
        text-indent: -9999px;
        width: unset;
        height: unset;
        display: inline;
        background: unset;
        vertical-align: unset;
        top: unset;
        position: unset;
    }
    .legal-logo:hover {
        background: unset;
    }
}
/* // special conditions for the stbg logo in edge 10 11 13 14  */






/* shop inject test */

.card {
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.card-link:hover {
    color: inherit;
}
.card-img-top {
    height: 200px;
    object-fit: contain;
    padding: 15px;
    background-color: white;
}
.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}
.discount-badge {
    background-color: #dc3545;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}
.availability {
    font-size: 0.9em;
    color: #28a745;
}
.sku {
    font-size: 0.8em;
    color: #6c757d;
}
#loading {
    text-align: center;
    padding: 50px;
    font-size: 1.2em;
}
.error {
    color: #dc3545;
    text-align: center;
    padding: 20px;
}
.shop-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #0d6efd;
    font-size: 0.9em;
    text-decoration: none;
}
.shop-link:hover {
    text-decoration: underline;
}


/* #fahrzeugbestand */

#fahrzeugbestand .elementor-image-box-img {
	aspect-ratio: auto 1600 / 1068;
	margin-bottom: 15px;
}
#fahrzeugbestand img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}
#fahrzeugbestand .elementor-widget-image-box {
	width: 47%;
	background: #fff;
	padding: 10px;
}
#fahrzeugbestand .elementor-element.e-con-full.e-flex.e-con.e-child {
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}
#fahrzeugbestand .elementor-image-box-title {
    font-family: "Montserrat", Sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    color: #000;
}
#fahrzeugbestand .elementor-image-box-description {
    font-family: "Roboto", Sans-serif;
    font-weight: 400;
    color: #000;
}

@media only screen and (max-width: 620px) { 
        #fahrzeugbestand .elementor-widget-image-box {
        width: 100%;
    }
        #fahrzeugbestand .elementor-element.e-con-full.e-flex.e-con.e-child {
        flex-wrap: nowrap;
        flex-direction: column;
        justify-content: center;
    }  
}