/*
 Theme Name:   TTVSA Theme (Elementor Child)
 Description:  Elementor Child Theme
 Author:       Raffaele Sassano
 Template:     elementor-hello-theme
 Version:      1.0.0
*/

html {
	scroll-behavior: smooth;
}

html.wp-dark-mode-active *,
html.wp-dark-mode-active p,
html.wp-dark-mode-active a {
	color: white !important;
}

.menu-item-929 a::before {
	display: none;
}

/* Image with 'data' attribute is hidden */
img[data-lazy-src] {
    /* we set the opacity to 0 */
    opacity: 0;
}

/*Image without 'data' attribute is (or becomes) visible */
img.lazyloaded {
    /* prepare the future animation */
    -webkit-transition: opacity .5s linear 0.2s !important;
    -moz-transition: opacity .5s linear 0.2s !important;
    transition: opacity .5s linear 0.2s !important;

    /* we set the opacity to 1 to do the magic */
    opacity: 1;
}

body {
    font-family: 'Lato', sans-serif;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 2em;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
span,
.elementor-widget-theme-post-content a {
	hyphens: auto;
	word-break: break-word;
}

#main .inner-wrap {
    max-width: 100% !important;
    width: 100% !important;
}

#main {
    padding: 0;
}

/*--- Hero BEGIN ---*/

.hero > .elementor-container {
	height: clamp(430px, 50vw, 810px) !important;
}

@media all and (min-width: 981px) and (max-width: 1999px) {
	
	.hero > .elementor-container {
		max-height: 67vh !important;
	}
}


@media all and (min-width: 2000px) {
	
	.hero.hero-with-headline > .elementor-container {
		background-color: #0b5d1b !important;
		background-image: unset !important;
		height: 400px !important
	}
	
	.hero.hero-with-headline * {
		margin-top: 0 !important;
		margin-bottom: 0 !important;

	}

	
}

/*--- Hero END ---*/


.searchform input {
    width: 82%;
    font-size: 16px;
    border-radius: 0;
    font-style: italic;
    background: transparent;
    border-width: 0;
    border-bottom: 1px solid white;
    color: #ffffff;
}

.searchform input:focus {
    border-color: #fffd03;
}

.searchform input::placeholder {
    color: #ffffff;
}

.searchform .search-submit {
    background-color: transparent;
    border-radius: 0;
    padding: 7px;
    color: #ffffff;
    font-size: 16px;
    border: 0;
}

.searchform .search-submit:hover {
    background-color: transparent;
    color: #fffd03;
}

.search-results a.elementor-post__read-more:after {
    content: '\f08e';
    font-family: FontAwesome;
}


@media all and (max-width: 1024px) {

    form#searchform div {
        text-align: center;
    }
}

.menu-item-929 a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f08e" !important;
    color: #ffffff;
    height: unset !important;
	left: unset !important;
    opacity: 1 !important;
    background-color: unset !important;
	position: absolute;
}

.header-elements {
    opacity: 1;
    transition: opacity 300ms linear;
}

header {
	transition: max-height 500ms !important;
	transition-delay: 200ms !important;
}

.display-none {
    opacity: 0;
    transition: opacity 300ms linear;
}

header a.social i.fa {
    font-size: 22px;
}

header a.social {
    color: #ffffff;
}

header a.social:hover {
    color: #fffd03;
}

header .facebook .elementor-widget-container {
    text-align: right;
}


.inner-row-no-padding > .elementor-column-gap-default:first-of-type > .elementor-row > .elementor-column > .elementor-element-populated,
.elementor-element-0cfa083 > .elementor-column-wrap {
    padding: 0 !important;
}

/* Post Carousel */

body.home .post-carousel .slide-image,
body.home .post-carousel .rs-background-slide-overlay {
    height: 450px;
}

body.home div.elementor-widget-eael-post-carousel .swiper-slide[data-swiper-slide-index="0"] .eael-entry-content {
    display: none;
}

body.home .post-carousel .slide-image {
    background-size: cover;
}

body.home div.elementor-widget-eael-post-carousel .post-carousel {
    position: relative;
}

body.home div.rs-slider-powered-by-tetako {
    z-index: 9999;
    max-width: 160px;
    position: absolute;
    right: 0;
    bottom: auto;
    margin: 20px;
}

body.home div.elementor-widget-eael-post-carousel {
    font-family: "Roboto", sans-serif;
}



body.home div.elementor-widget-eael-post-carousel .eael-entry-wrapper {
    position: absolute;
    top: 35px;
    width: 100%;
}

body.home div.elementor-widget-eael-post-carousel .eael-entry-header,
body.home div.elementor-widget-eael-post-carousel .eael-entry-content {
    margin: 0 auto;
}

body.home div.elementor-widget-eael-post-carousel h2.eael-entry-title *,
body.home div.elementor-widget-eael-post-carousel .eael-entry-content,
body.home div.single-blog-post-header h2 {
    text-shadow: 0 0 25px #000000;
    line-height: 1;
    font-family: "Roboto", sans-serif;
}

body.home div.elementor-widget-eael-post-carousel h2.eael-entry-title *,
body.home div.single-blog-post-header h2 {
    font-weight: 600;
    text-transform: uppercase;
    color: #fffd03 !important;
}

body.home div.elementor-widget-eael-post-carousel h2.eael-entry-title * {
    text-align: center !important;
}

body.home div.elementor-widget-eael-post-carousel .eael-entry-content .eael-grid-post-excerpt p {
    font-size: 22px;
    color: #1cc83b;
    text-transform: none;
}

body.home div.elementor-widget-eael-post-carousel .fa-angle-right {
    margin-right: 15px;
}

body.home div.elementor-widget-eael-post-carousel .fa-angle-left {
    margin-left: 15px;
}

body.home .swiper-container-wrap .swiper-button-next .fa, 
body.home .swiper-container-wrap .swiper-button-prev .fa, 
body.home .swiper-container .swiper-button-next .fa, 
body.home .swiper-container .swiper-button-prev .fa {
    font-size: 40px;
    color: white;
}

body.home .swiper-container-wrap .swiper-button-next,
.swiper-container-wrap .swiper-button-prev {
    outline: 0;
}

body.home .eael-grid-post-holder {
    border: 0 !important;
}

button:focus {
    outline: 0;
}


.eael-timeline-post-inner:hover {
    background: rgba(28, 200, 59, 1) !important;
}

.eael-timeline-post-inner {
    background: transparent !important;
}

@media all and (min-width: 768px) {
    body.home div.elementor-widget-eael-post-carousel .eael-entry-header {
        max-width: 70%;
    }

    body.home div.elementor-widget-eael-post-carousel .eael-entry-content {
        max-width: 50%;
    }

    body.home div.elementor-widget-eael-post-carousel h2.eael-entry-title *, div.single-blog-post-header h2 {
        font-size: 59px;
    }
	
    .nav-column {
        -webkit-transition: margin-left 0.3s linear;
        -moz-transition: margin-left 0.3s linear;
        -o-transition: margin-left 0.3s linear;
    }

}

@media all and (max-width: 1024px) {

    body.home div.elementor-widget-eael-post-carousel h2.eael-entry-title * {
        font-size: 30px;
    }

    #header-text-nav-wrap {
        padding-top: 0;
    }

    body.home div.elementor-widget-eael-post-carousel .eael-entry-wrapper {
        top: 30%;
        padding: 0 15px;
    }

    body.home div.elementor-widget-eael-post-carousel .eael-entry-content .eael-grid-post-excerpt p {
        font-size: 17px;
        padding: 20px 0 50px;
    }

    form#searchform div {
        text-align: center;
	}

    header.ee-sticky--stuck {
        top: 0 !important;
    }

    span.download-title, .ttvsa-cpt-wrapper div.date, .date-wrapper span.date-title {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
	
	

}


@media all and (max-width: 767px) {

    body.home div.elementor-widget-eael-post-carousel .eael-entry-wrapper {
        top: 20%;
    }

    body.home div.elementor-widget-eael-post-carousel .swiper-container-wrap .swiper-button-next .fa, 
	body.home .swiper-container-wrap .swiper-button-prev .fa,
    body.home div.elementor-widget-eael-post-carousel .swiper-container .swiper-button-next .fa,
	body.home .swiper-container .swiper-button-prev .fa {
        font-size: 20px;
    }

    body.home div.elementor-widget-eael-post-carousel h2.eael-entry-title * {
        font-size: 26px;
    }

    div.rs-slider-powered-by-tetako {
        max-width: 120px;
        margin: 10px;
    }

    .eael-timeline-post-inner .eael-timeline-post-title h2 {
        height: 50px;
    }
    
    .eael-timeline-post-inner time {
        display: none;
    }


}

/* Post Timeline */

.eael-timeline-post-inner .eael-timeline-post-content {
    bottom: 0;
    position: absolute;
    width: 100%;
    padding: 10px 0;
}

.eael-timeline-post-inner .eael-timeline-post-title {
    position: absolute;
    bottom: 0;
    background-color: #1cc83b;
}

.eael-timeline-post-inner .eael-timeline-post-title h2 {
    text-align: center !important;
    height: 70px;
    margin: 0;
    padding: 10px !important;
}

.eael-timeline-post-inner:hover .eael-timeline-post-title h2 {
    text-decoration: underline;
}

.eael-timeline-post-inner {
    border: 0 !important;
}

.eael-timeline-post-inner .eael-timeline-post-image {
    opacity: 1;
}

.eael-timeline-post-inner:hover .eael-timeline-post-image {
    opacity: 0;
}

body.home .eael-filter-gallery-wrapper .eael-cards .dynamic-gallery-thumbnail a img,
body.home .eael-filter-gallery-container.grid.eael-hoverer .dynamic-gallery-thumbnail a img,
.page-id-957 .eael-filter-gallery-wrapper .eael-cards .dynamic-gallery-thumbnail a img,
.page-id-957 .eael-filter-gallery-container.grid.eael-hoverer .dynamic-gallery-thumbnail a img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

body.home .eael-filter-gallery-container .dynamic-gallery-item .caption,
.page-id-957 .eael-filter-gallery-container .dynamic-gallery-item .caption {
    background-color: rgba(28,200,59,0.66) !important;
}

body.home .caption.eael-fade-in:before,
.page-id-957 .caption.eael-fade-in:before {
    content: "\f05a";
    position: absolute;
    font: normal normal normal 14px/1 FontAwesome;
    color: #ffffff;
    font-size: 25px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	
     /* IE10+ CSS styles go here */
	.elementor-nav-menu--main li.menu-item:hover .sub-menu {
		display: block !important;
		width: auto !important;
		top: auto !important;
		left: 0 !important;
		margin-left: 0 !important;
		margin-top: 0 !important;
		z-index: 3 !important;
		min-width: 10em !important;
		max-width: 1000px !important
	}
}

/* --- CSS for Gallery ---*/

.gallery:after {content:"";display:table;clear:both;}

img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; margin:1em auto;}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}


.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}


.gallery figure {float:left; margin:0 2% 1em 0;}


.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}


.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}


.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}


.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}


.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}


.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}


.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}


.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}


.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}


.vorlage.elementor-top-section > .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0;
}

button.owl-prev:focus,
button.owl-next:focus{
    outline: none;
}


@media (max-width:767px) {
	img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
	.gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
	
	.gallery.gallery-columns-2 figure:not(:last-of-type), .gallery.gallery-columns-3 figure:not(:last-of-type) {
		margin-right: 5px;
	}
}
	
.sa_hover_buttons {
	display: none;
}

.owl-carousel .owl-item img {
	max-width: 70%;
}

.owl-item img[src*="png"] {
    box-shadow: none !important;
	filter: drop-shadow(0 0 4px rgba(0, 0, 0, .5));
}

.elementor-row .white .sa_owl_theme .owl-nav .owl-prev {
    background: transparent url(https://www.ttvsa.de/wp-content/plugins/slide-anything/images/icon_prev.png) no-repeat center center !important;
}


.elementor-row .white .sa_owl_theme .owl-nav .owl-prev:hover {
    background: var(--e-global-color-primary) url(https://www.ttvsa.de/wp-content/plugins/slide-anything/images/icon_prev.png) no-repeat center center !important;
}

.elementor-row .white .sa_owl_theme .owl-nav .owl-next {
    background: transparent url(https://www.ttvsa.de/wp-content/plugins/slide-anything/images/icon_next.png) no-repeat center center !important;
}

.elementor-row .white .sa_owl_theme .owl-nav .owl-next:hover {
    background: var(--e-global-color-primary) url(https://www.ttvsa.de/wp-content/plugins/slide-anything/images/icon_next.png) no-repeat center center !important;
}

.sa_owl_theme .owl-dots .active span,
.sa_owl_theme .owl-dots .owl-dot:hover span {
    background-color: rgba(0,0,0,0.5) !important
}

@media all and (min-width: 1025px) {
    
    .elementor-row .white .sa_owl_theme .owl-nav .owl-prev,
    .elementor-row .white .sa_owl_theme .owl-nav .owl-next {
        display: none;
		font-size: 0;
    }
    
    .elementor-row .white .sa_owl_theme:hover .owl-nav .owl-prev,
    .elementor-row .white .sa_owl_theme:hover .owl-nav .owl-next {
        display: block;
    }
    
    .elementor-row .white .sa_owl_theme .owl-dots {
		bottom: 18px !important;
	}
	
	.elementor-row .owl-carousel .owl-item .sa_hover_container > div > .elementor-inner > .elementor-section-wrap > article.elementor-top-section {
    	min-height: 500px;
		height: 500px;
    	max-height: 500px;
	}
}

@media all and (max-width: 1024px) {
	
	.elementor-row .owl-carousel .owl-item .sa_hover_container > div > .elementor-inner > .elementor-section-wrap > article.elementor-top-section {
    	min-height: 650px;
		height: 650px;
    	max-height: 650px;
	}
	
	.elementor-row .white .sa_owl_theme .owl-dots {
		bottom: 22px !important;
	}
}

@media all and (max-width: 767px) {
    
	.elementor-row .sa_owl_theme .owl-dots .owl-dot span {
        margin: 0 6px !important;
        width: 14px !important;
        height: 14px !important;
    }
    
    .elementor-row .white .sa_owl_theme .owl-dots {
		bottom: 12px !important;
	}
	
	.elementor-row .white .sa_owl_theme .owl-nav .owl-next,
	.elementor-row .white .sa_owl_theme .owl-nav .owl-prev {
		background-size: 15px 25px !important;
	}
	
	.elementor-row .sa_owl_theme .owl-nav .owl-prev {
		left: 5px
	}
	
	.elementor-row .sa_owl_theme .owl-nav .owl-next {
		right: 5px;
	}
	
	.elementor-row .owl-carousel .owl-item .sa_hover_container > div > .elementor-inner > .elementor-section-wrap > article.elementor-top-section {
    	min-height: 800px;
		height: 800px;
    	max-height: 800px;
	}

}



