/*
* Theme Name: by Jan Cibula, WebMultiMedia GmbH
* Description: ervadivetro Template 2025
* Author: Jan Cibula, webmultimedia.ch
* Version: 1.0

*/


@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ============================================= */
/* CSS VARIABLES 
/* ============================================= */

:root {
  --dark:       	rgba(18,17,17,1.00);
  --white:      	rgba(247,247,245,1);
	
   --accent:    	rgba(141,141,178,1.00); 
   --accent_hell:   rgba(184,184,207,1.00); 
   --accent_dunkel: rgba(73,73,108,1.00);
}



/* ============================================= */
/* CSS RESET 
/* ============================================= */

*{
	box-sizing:border-box;
	padding:0;
	margin:0;
}

html {
	scroll-behavior: smooth;
}

/* ============================================= */
/* BASIC DEFINITION  
/* ==========================================o=== */

body {
  	font-family: "Open Sans", sans-serif;
	
	background:var(--dark);
	background-color: #093958;
	background-image: -webkit-linear-gradient(160deg, #093958 0%, #020c0f 50%);
	background-image: -o-linear-gradient(160deg, #093958 0%, #020c0f 50%);
	background-image: linear-gradient(120deg, #093958 0%, #020c0f 50%);

	color:var(--white);
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-size:18px;
	min-height:100vh;
}
a, a:link, a:visited, a:active  {
	color:var(--white);
	text-decoration:none;
	border-bottom:1px solid none;
	transition: all 1s ease-in-out;
}

a:hover {
	color:var(--accent_hell);
	text-decoration:none;
	transition:all 1s ease-in-out;
}

h1, h2 {
  	font-family: "Baskervville", serif;
	text-transform: uppercase;
	font-weight: 800;
	font-style: bold;
	color:var(--accent);
}

h2 {
	font-size:2rem;
	color:var(--accent);
	font-weight: 800;
	margin:5rem 0rem 1rem 0rem;
}


.lightgray {
    color:rgba(244,255,244,0.5);
}



.max_width {
	max-width:1600px;
	margin:0 auto;
}










/* ============================================= */
/* HEADER 
/* ============================================= */

header {
	height:8rem;
	width:100%;
	  /* position the div in center */
	position: fixed;
	top:0;
	left:0;
	right:0;
	margin:0 auto;
	z-index:5;
    padding:2rem;
	display:flex;
	justify-content: space-between;
	background:rgba(0,0,0,0.6);
	backdrop-filter:blur(4px) brightness(1.2);
    transition:all ease-in-out 0.5s;
}

#logo {
	padding:0rem;
}
#logo img{
	height:100%;
}


#nav_social{
	width:20%;
	display:flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	margin-right:0.7rem;
	display:none;
}


#nav_social .fab {
	padding:1rem .5rem;
	margin:.5rem;
	list-style-type: none;
	font-size:1.7rem;
	color: var(--accent);
	width:2.5rem;
	height:2.5rem;
	border-radius:5px;
	display:flex;
	align-items: center;
	justify-content: center;
    transition:all ease-in-out 0.5s;
}
#nav_social .fab:hover {
	color: black;
	border:1px solid black;
    transition:all ease-in-out 0.3s;
}

#to_top {
	display: none;
	cursor:pointer;
	position:fixed;
	bottom:1rem;
	right:1rem;
	width:2rem;
	height:2rem;
	background:rgba(33,33,33,0.1);
    transition:all ease-in-out 0.5s;
	text-align: center;
}
#to_top:hover {
	background:rgba(33,33,33,1);
    transition:all ease-in-out 0.3s;
	transform:translateY(-1rem);
}

#to_top img{
	width:80%;
	height:80%;
	object-fit: cover;
	transform:rotate(180deg);
}


/* ============================================= */
/* NAVIGATION MAIN 
/* ============================================= */


.nav_bar {
	position: absolute;
	top:5rem;
	right:1rem;
	display: flex;
	justify-content: space-between;
	font-size:1rem;
	text-transform: uppercase;
}

.nav_bar_language {
	width:20%;
	display:flex;
	justify-content: flex-end;
	margin:0.25rem 1rem 0rem 0rem;
}
.nav_bar_language ul {
    list-style-type:none;
}
.nav_bar_language li{
    list-style-type:none;
}
.nav_bar_language .lang_contact {
	/* border-left:1px solid var(--accent);*/
}
.nav_bar_language a {
	margin:0rem 0.5rem;
	padding:0rem 0.5rem;
}




.nav-open {
	display:flex;
}
nav ul {
    list-style-type:none;
	display: flex;
	flex-direction:row;
	margin-left:.7rem;
}

nav ul li{
	margin:0rem .5rem 0rem 0rem;
}
.menu a{
	display:block;
	color:var(--accent_hell);
	padding:0.3rem .6rem;
	font-weight:500;
    transition:all ease-in-out 0.5s;
}
nav ul li:hover a, .nav_bar_language a:hover{
	color:black;
    transition:all ease-in-out 0.3s;
	border-radius:3px;
}
nav .page_item_has_children {
    
}
.menu .current_page_item a
 {
	transform: translateY(0.2rem);
	display:block;
	padding:0.3rem .6rem;
    position: relative;
	 
}
.menu .current_page_item a::before
 {
    content: "";
    display: block;
    position: absolute;
    top: -10px; /* Abstand über dem Menüpunkt */
    left: 50%; /* Zentriert über dem Menüpunkt */
    transform: translateX(-50%);
    width: 10px; /* Breite des Bildes */
    height: 10px; /* Höhe des Bildes */
    background-image: url('https://ervadivetro.webmultimedia.ch/wp-content/themes/ervadivetro//img/arrow_down.png');
    background-size: cover;
    background-repeat: no-repeat;
}






/* ============================================= */
/* NAVIGATION MOBILE
/* ============================================= */

#nav_burger {
	display:none;
    position:absolute;
    top:.5rem;
    right:1rem;
    z-index:999;
	text-align:right;
	border: 1px solid var(--accent);
    border-radius: 5px;    
	color: var(--accent);
	padding:0.2rem 0rem 0rem 0rem;
}
#nav_burger a, .hamburger {
  margin-left:1rem;
}


	.sub-menu {
		display:none !important;
	}

.mobile_navigation {
	display:none;
	position:absolute;
	top:5.5rem;
	right:1rem;
	z-index:999;
	background:rgba(255,255,255,0.95);
    list-style-type:none;
	padding:2rem;
}
#menu-main_menu-1 {
	padding:0rem;
    list-style-type:none;
	display: flex;
	border-radius:3px;
	flex-direction:column;
	line-height:1.3;
	justify-content: flex-end;
	font-size:1rem;
}
.mobile_navigation li{
    list-style-type:none;
	text-align:right;
	font-weight: 500;
}


#menu-main_menu-1 li a {
	padding:.3rem 0.5rem;
	display:block;
}





.mobile_navigation_open {
	display:block;
}
.mobile_navigation_open .current_page_item a
 {
	padding:0.5rem !important;
	background:var(--accent);
	transform:none;
	color:white;
	 border:none !important;
}

.mobile_navigation_open .current_page_item a
 {
	 border:none !important;
	display:block;
	padding:1rem;
}




/* ============================================= */
/* MAIN
/* ============================================= */
main {
	padding:2rem;
	margin-top:10rem !important;
	position:relative;
}
main p {
	line-height:1.8;
	max-width: 70ch;
}


main img {
	width:100%;
	height:100%;
}



video {
	width:80%;
	border-radius:0.5rem;
	margin:0 auto;
}


.wp-block-media-text {
	margin-bottom:4rem;
}


.wp-block-media-text__media{
	aspect-ratio:1/1;
}

.wp-block-media-text__media img {
	width:100%;
	height:100%;
	object-fit: cover;
	border-radius:0.2rem;
	transform:translate(-2rem);
	opacity:0;
	animation:fade_in_right 1s ease-in-out forwards;
	animation-timeline:view();
	animation-range-start: normal;
	animation-range-end: 50vh;
}

.has-media-on-the-right img {
		transform:translate(-2rem);
		opacity:0;
		animation:fade_in_left 1s ease-in-out forwards;
		animation-timeline:view();
		animation-range-start: normal;
		animation-range-end: 50vh;
}



.produkte_gallery {
	display:flex;
	margin:2rem 0rem;
	flex-wrap: wrap;
	gap:0.5rem;
}
.produkte_gallery figure{
	max-height:12rem;
	border:1px solid var(--accent_dunkel);
	border-radius:0.5rem;
	overflow: hidden;
}

.produkte_gallery figure img{
	width:100%;
	height:100%;
	object-fit: cover;
}



/* animationen definieren */

@keyframes fade_in_left {
	to {
		transform:translate(0);
		opacity:1;
	}
}
@keyframes fade_in_right {
	to {
		transform:translate(0);
		opacity:1;
	}
}




/* ============================================= */
/* LOGO
/* ============================================= */

	#logo_anim {
		margin:2rem 0rem;
		height:80px;
		width:auto !important;
		display: inline-block;
		position:relative;
		padding:0;
	}
	#logo_anim img {
		width:100%;
		height:100%;
		object-fit:cover;
	}
	#logo_anim_dreieck_container {
		position:absolute;
		top:5px;
		right:32px;
		height:50px;
		animation:jump_down .5s ease-in-out;
		animation-iteration-count: 5;
	}
	#logo_anim_dreieck_container img {
		width:100%;
		height:100%;
		object-fit:cover;
		clip-path: polygon(50% 100%, 0 0, 100% 0);
	}

	@keyframes jump_down {
		0% {
			transform:translateY(-.7rem);
		}
		100% {
			transform:translateY(0rem);
		}
	}



/* infinite scroller */
@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.logo_animationen {
	margin-top:10rem;
	max-width:1000px;
	margin:0 auto;
}
.logos {
	overflow: hidden;
	padding: 30px 0px;
	white-space: nowrap;
	position: relative;
}

.logos:before, .logos:after {
  position: absolute;
  top: 0;
  content: '';
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(18,17,17,0), rgb(18,17,17));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(18,17,17,0), rgb(18,17,17));
}

.logo_items {
  display: inline-block;
  animation: 120s slides infinite linear;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img{
  height: 100px;
	width:auto !important;
}








/* ============================================= */
/* CAROUSEL KUNDENAUSSAGEN  
/* ============================================= */
.kundenaussagen {
	max-width:1000px;
	margin:0 auto;
}

#myCarousel {
	--f-carousel-slide-height: 80%;
	--f-carousel-spacing: 50px;
	border:1px solid var(--accent_dunkel);
	border-radius:0.5rem;
	height: 250px;
	padding:2rem 4rem;
}
   
#myCarousel cite {
	display:block;
	width:100%;
  	font-family: "Baskervville", serif;
	font-weight: 800;
	color:var(--accent_hell);
	font-size:1.4rem;
	margin-bottom:2rem;
	line-height: 1.6;
}

.accent_hell {
	color:var(--accent_hell);
}
.quote_left {
	display:inline-block;
  	font-family: "Open Sans", sans-serif;
	font-size:2rem;
	font-weight: 100;
	line-height:0;
	padding-right:0.3rem;
	transform:translateX(0px) translateY(0px)  ;
	color:var(--accent_hell);
}

.quote_right {
	display:inline-block;
  	font-family: "Open Sans", sans-serif;
	font-size:2rem;
	font-weight: 100;
	line-height:0;
	padding-left:0.3rem;
	transform:translateX(2px) translateY(2px)  ;
	color:var(--accent_hell);
}

/* ============================================= */
/* POST CONTENT 
/* ============================================= */

.main_content {
	width:70%;
}


.team_container {
	display:flex;
	flex-wrap: wrap;
	width:70%;
}

.team_container_content {
	margin-bottom:2rem;
	display:flex;
	flex-wrap: wrap;
	width:100%;
	justify-content: space-between;
}
.team_container_content_foto {
	width:40%;
}

.team_container_content_foto img {
	border-radius:0.3rem;
}
.team_container_content_text {
	width:50%;
}

.team_container_content:nth-child(2) {
	flex-direction: row-reverse;
}









/* ============================================= */
/* ANGEBOTE PANEL OBEN RECHTS 
/* ============================================= */

.angebote_panel {
	position:fixed;
	right:0rem;
	top:10rem;
	width:12vw;
	max-width:300px;
	padding:0rem;
	/*border:1px solid var(--accent);*/
	border-top-left-radius:0.5rem;
	border-bottom-left-radius:0.5rem;
	background:rgba(33,33,33,0.8);
	border-radius:0.5rem 0rem 0rem 0.5rem;
	overflow: hidden;
}



.angebote_panel_eintrag {
	height:2rem;
	width:100%;
	overflow:hidden;
	border:1px solid var(--accent_dark);
	position: relative;
	transition:all ease-in-out 0.5s;
	cursor:pointer;
}
.angebote_panel_eintrag:hover {
	opacity:0.8;
	transition:all ease-in-out 0.3s;
	height:7rem;
}

.angebote_panel_eintrag h3{
	font-style:normal;
	font-size:.9rem;
	position:absolute;
	bottom:0rem;
	height:100%;
	background:rgba(33,33,33,0.7);
	width:100%;
	margin-bottom:0rem;
	padding:0.2rem 0.4rem;
	transition:all ease-in-out 0.5s;
	display: flex;
	align-items: center;
}
.angebote_panel_eintrag:hover h3 {
	transition:all ease-in-out 0.3s;
	background:rgba(111,111,111,0.7);
	height:2rem;
	backdrop-filter:blur(3px);
}

	

.angebote_panel_eintrag_background {
}


.angebote_panel_eintrag_background img {
	height:100%;
	width:100%;
	object-fit: cover;
	border-radius:none;
}

.angebote_panel_eintrag_inaktiv {
	opacity: 0.2;
}


/* ============================================= */
/* START PANELS  
/* ============================================= */

	.start_panels {
		display: grid;
		height:50vh;
		min-height:500px;
		width:100%;
		margin:6rem auto 10rem auto;
		gap: .1rem;
		 grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		grid-auto-flow: column; /* new columns will be created to the right */
		grid-auto-columns: 1fr; /* implicit column to the right */
		transition:all ease-in-out 0.6s;

	}
		
		
			.start_panels > .panel {
			transition: all 0.3s ease;
			}
			.start_panels > .panel:hover {
			grid-column: span 2;
			z-index: 1;
			transition:all ease-in-out 0.4s;
			}
		
		.panel {
			border:4px solid black;
			position:relative;
			overflow:hidden;
			height:100%;
			transition:all ease-in-out 0.6s;
		}
		.panel:hover { 
			transition:all ease-in-out 0.4s;
			
			
		}
		.panel h3 {
			position:absolute;
			bottom:3rem;
			left:0rem;
			right:0rem;
			width:100%;
			padding:1rem;
			background:rgba(33,33,33,0.5);
			backdrop-filter:blur(2px);
			transition:all ease-in-out 0.4s;
			text-transform: uppercase;
			text-align: center;
			z-index:42;
		}
		
		.panel:hover h3 {
			transition:all ease-in-out 0.2s;
			bottom:12rem;
		}
		
		
		.panel p {
			opacity:0;
			width:100%;
			padding:1rem;
			background:rgba(33,33,33,0.5);
			backdrop-filter:blur(2px);
			transition:all ease-in-out 0.4s;
			position:absolute;
			bottom:1rem;
			left:-1rem;
			transition:all ease-in-out 0.3s;
			z-index:44;
			font-size:.8rem;
		}
		
		
		.panel:hover p {
			opacity:1;
			width:100%;
			left:0;
			padding:1rem;
			transition:all ease-in-out 0.5s;
		}
		
		
		
		.panel_time {
			opacity:0;
			display:block;
			position:absolute;
			top:-3rem;
			left:1rem;
			padding:2rem 0.5rem;
			font-size:1rem;
			color:white;
			width:4rem;
			height:4rem;
			border:1px solid black;
			border-radius:50%;
			aspect-ratio:1/1;
			display: flex;
			justify-content:center;
			align-items: center;
			text-align: center;
			background:var(--accent) !important;
			backdrop-filter:blur(2px);
			transition:all ease-in-out 0.6s;
			text-transform: none;
			z-index:51;
		}
		
		.panel:hover .panel_time {
			opacity:1;
			top:-2rem;
			left:1rem;
			transition:all ease-in-out 0.4s;
		
		}
		
		
		
		.panel img {
			height:100%;
			width:100%;
			object-fit: cover;
			z-index:20;
		}
	
		
		
		.slide {
			border:1px solid black;
			position: absolute;
			width: 100%;
			height: 100%;
			opacity:0;
			object-fit: cover;
			transition: opacity 0.5s ease-in-out;
			z-index:20;
		}
		
		
		
		
		.slide.active {
  			opacity: 1;
		}
		
		


/* ============================================= */
/* FOOTER  
/* ============================================= */
footer {
	color:var(--white);
    padding:1rem 2rem 1rem 2rem;
	font-size:.8rem;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
	border-top:1px solid var(--accent);
	margin-top:20rem !important;
	line-height:1.8;
}
.footer_left,.footer_center,.footer_right {
}

.footer_left {
	text-align:left;
	width:25%;
}
.footer_center {
	width:45%;
	text-align: center;
}
.footer_right {
	text-align:right;
	width:25%;
}
footer a:link {
    transition: all 0.5 linear;
	color:var(--accent_hell);
}
footer a:hover {
    /*background-color: rgba(255,255,255,0.5);*/
	color:var(--white);
    transition: all 0.3 linear;
}
.footer_right a{
	padding:0 0rem 0rem .5rem;
}    
.footer_right hr{
	height:0px;
	border-top:0px solid var(--accent);
	border-bottom:0px solid var(--accent);
}   

.footer_center #logo_anim{
	margin-top:0rem;
}

.footer_center img{
	/*width:clamp(30%,3vw,35%);*/
}



/* ============================================= */
/* COOKIE BANNER
/* ============================================= */

#cookiePopup {
	background: white;
	border-radius: 5px;
	border: 1px solid #4e4e4e;
	bottom: 20px;
	box-shadow: 0px 0px 12px #9F9F9F;
	right: 20px;
	position: fixed;
	padding: .5rem 1rem;
	width: 30%;
	z-index: 1144110;
    font-size: 13px;
  }
  #cookiePopup h4{
    color: #4e4e4e;
    font-size: 18px;
	margin-bottom:0.5rem;
  }
  #cookiePopup p{
    color: #4e4e4e;
    font-size: 14px;
	line-height:1.5;
    text-align: left;
  }
  #cookiePopup button{
    background: var(--accent);
    border: navajowhite;
    border-radius: 5px;
    color: white;
	cursor:pointer;
    font-size: 15px;
	margin-top:0.75rem;
    padding: 0.75rem;
    width: 100%;
  }




/* ============================================= */
/* NAVIGATION  HAMBURGER
/* ============================================= */
.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger:hover {
    opacity: 0.7;
    }
.hamburger.is-active:hover {
    opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: black;
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-menu-text{
	padding:0rem 0rem .7rem 0rem;
	display:block;
	text-align: right;
}


.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: black !important;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}

/* Spring effect */
.hamburger--spring .hamburger-inner {
    top: 2px;
    transition: background-color 0s 0.13s linear;
}
.hamburger--spring .hamburger-inner::before {
    top: 10px;
    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spring .hamburger-inner::after {
    top: 20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spring.is-active .hamburger-inner {
    transition-delay: 0.22s;
    background-color: transparent !important;
}
.hamburger--spring.is-active .hamburger-inner::before {
    top: 0;
    transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--spring.is-active .hamburger-inner::after {
    top: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 10px, 0) rotate(-45deg);
}

/* ============================================= */
/* responsive media queries
/* ============================================= */

/* ---------------- */
/* 1100px */
/* ---------------- */




@media(max-width: 600px) { 
	
	
	header {
		padding:0;
		height:6rem;
	}
	#nav_burger {
		display:block;
    	position:absolute;
		top:1.5rem;
		right:1.5rem;
	}
	.hamburger {
    	padding: 7px 7px;
	}

	.hamburger-box {
	  width: 30px;
	  height: 24px;
	  display: inline-block;
	  position: relative;
	}


	.hamburger-inner {
		display: block;
		top: 50%;
		margin-top: -2px;
	}
	.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
		width: 30px;
		height: 4px;
	}
	
	
	
	
	nav{
		display:none;
	}
	.nav_bar_language {
			width:100%;
		display:flex;
		justify-content: flex-end;
		font-weight:500;
		margin:0.25rem 1rem 0rem 0rem;
	}
	.mobile_navigation  {
		position:absolute;
	}	
	
	#nav_social{
		display:none;
		width:45%;
	}
	#nav_social a {
		padding: 0;
		margin: 0 ;
	}
	#nav_social .fab {
    	font-size: 1.6rem;
    	width: 2.2rem;
    	height: 2.2rem;
		padding: 0.25rem;
		margin: 0rem 0.25rem ;
	}
	
	.post_page {
		font-size:1rem;
		line-height:1.3;
	}
	
	h2 {
		font-size:1.5rem;
		line-height:1.2;
		margin-bottom:1rem;
	}
	h3 {
		font-size:1.2rem;
		margin-bottom:2rem;
	}
	
	.post_page_sidebar {
		width:100%;
		margin:0;
	}
	
	.post_page_sidebar li {
		margin:0;
	}
	.wp-block-buttons{
		display:flex;
		flex-wrap:wrap;
		/*justify-content: center;*/
	}
	
	.wp-block-button a{
		font-size:0.9rem;
		padding:1rem;
		margin:0rem;
	}
	
	.wp-block-list li{
		margin-left:.5rem;
		padding-left:0rem;
	}
	
	#cookiePopup {
		width: 60%;
	}

	.post_page_sidebar li {
		list-style-type: none;
		border-radius:3px;
		margin: 0;
		padding: 0;
		border: 1px solid var(--accent) !important;
	}
	.post_page_sidebar li a {
		border:none;
	}
	
	
	.post_page_content{
		width:100%;
	}
	
	
	
	.wp-block-media-text {
		margin-bottom:1.5rem;
		padding-bottom:1.5rem;
		grid-column-gap: 2rem;
      	grid-template-columns: 1fr !important;
      	grid-template-rows: 1fr !important;
	}
	
	  .wp-block-media-text, .wp-block-media-text__content {
		grid-column: auto !important;
		grid-row: auto !important;
	  }
	
	
	.page_content_card_image_container{
		padding:0 1rem;
	}
	.page_content_card_text{
		margin-top:0rem;
	}
	
	.page_video_container{
		width:100%;
		padding:1rem;
		margin:0;
		display:flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	.page_video_container h4{
		font-size:1.2rem;
		margin-bottom:1rem;
	}
	
	
	
.team_container_content {
	flex-direction: column;
}
.team_container_content_foto {
	width:100%;
	height:auto;
}

.team_container_content_foto img {
	border-radius:0.3rem;
	width:100%;
	height:auto;
}
.team_container_content_text {
	width:100%;
}

.team_container_content:nth-child(2) {
	flex-direction: column;
}
	
	
	
	
	footer {
		/*
		flex-direction:column; 
		*/
		justify-content: center;
		font-size:.9rem;
	}
	.footer_left {
		width:100%; 
		display:flex;
		flex-direction:column; 
		text-align:center;
		justify-content: center;
		line-height:1.5;
	}
	.footer_right {
		width:100%; 
		display:flex;
		flex-direction:column; 
		text-align:center;
		justify-content: center;
		line-height:2;
	}
    
	.footer_center {
		margin:1.5rem;
		width:100%; 
		display:flex;
		flex-direction:column; 
		text-align:center;
		justify-content: center;
	}
	
	
	
	#logo {
		margin:1.5rem;
		padding:0;
	}

	#logo img {
    	height: 60px;
    	max-height: 60px;
	}
.splide {
    width:100% !important;
    height:25rem !important;
    display:block;
	padding:0;
	margin:0;
    overflow:hidden;
}


.splide__track {
    width:100% !important;
    border-radius:0 !important;
    height:100%;
	padding:0;
	margin:0;
}
.slide_image{
    height:100%;
    border-radius:0 !important;
	padding:0;
	margin:0;
}
.slide_image img, .slide_image_image{
    width:120% !important;
    height:25rem !important;
    object-fit:cover;
    border-radius:0 !important;
	padding:0;
	margin:0;
	transform:translateX(-2rem);
}


.banner, .splide .slide_image {
    height:25rem !important;
    border-radius:0 !important;
	padding:0;
	margin:0;
}
.banner_small {
	height:10rem;
	padding:0;
}

	
	
	
	
	.post_page{
		padding:1rem 0.5rem;
	}

	.page_cards, .page_content_card, .custom_gallery{
		flex-direction:column; 
		padding:0.5rem;
		height:auto;
	}
	.page_cards_container, .custom_gallery_container{
		width:80%;
		padding:0rem;
		margin-bottom: 1rem;
		aspect-ratio:1/1;
	}
	.page_content_card_container{
		width:100%;
		padding:0rem;
		margin-bottom: 1rem;
	}
	.page_content_card_container .page_content_card_title {
		padding:1rem;
	}
	
	
	.page_content_card_content, .page_content_card_images, .page_content_card_text{
		border:none;
	}
	
	
	
	
} /* end @media 1100px */
/* ---------------- */





/* ---------------- */
/* 800px */
/* ---------------- */
@media(max-width: 800px) { 
	
	
} /* end 800px */


/* ---------------- */
/* 640px */
/* ---------------- */
@media(max-width: 640px) { 
	
	
    
} /* end 640px */


