/*
Theme Name:  Wordup.at 2020 Hello Elementor Child
Description: Child theme for the Hello Elementor
Author: Tobias Mussil
Author URI: https://wordup.at
Template: wordup
Version: 0.1
*/

/* Im Admin mobile Navi etwas runterschieben da sons nicht selektiert werden kann wenn desktopansicht */
.elementor-editor-active .mobile-navi {
	margin-top: 10px;
}

body.home {
	background-image: url("https://wordup.at/wp-content/uploads/2020/06/clouds2.jpg") !important;
	background-repeat:repeat;
	background-size: cover !important;
	background-blend-mode: hard-light;
	animation: animatedBackground 50s linear infinite;
	-moz-animation: animatedBackground 50s linear infinite;
	-webkit-animation: animatedBackground 50s linear infinite;
	-ms-animation: animatedBackground 50s linear infinite;
	-o-animation: animatedBackground 50s linear infinite;
}

/*
@keyframes animatedBackground {
	0% { background-position: 0 0; }
	100% { background-position: -1400px 0; }
}
@-moz-keyframes animatedBackground {
	0% { background-position: 0 0; }
	100% { background-position: -1400px 0; }
}
@-webkit-keyframes animatedBackground {
	0% { background-position: 0 0; }
	100% { background-position: -1400px 0; }
}
@-ms-keyframes animatedBackground {
	0% { background-position: 0 0; }
	100% { background-position: -1400px 0; }
}
@-o-keyframes animatedBackground {
	0% { background-position: 0 0; }
	100% { background-position: -1400px 0; }
}
*/	 

.home #my-header {
    background-color: #9d0038;
    border-right: 90px solid #f2b202;
    width: 373px;
}

.home header, .home footer {
    background-color: #9d0038;
    width: 240px;
}

.home .elementor-nav-menu--main .elementor-item,
.home .elementor-heading-title {
    color: #fff !important;
}

.home .featured_project_mobile {
	max-width: 500px;
}

.home .mobile-navi {
	background-color: #9d0038 !important;
	border-bottom: 20px solid #f2b202;
}

.home .mobile-navi .elementor-menu-toggle {
    background-color:#E4E4E4;
}
.home .mobilteaser {
	display: none;
}

#my-header { /* Hauptnavi  */
	position: fixed !important;
	width: 283px;/**/
	top: 0 !important;
	height: 100vh;
	max-height: 100vh !important;
	overflow: hidden !important;
}

.go_full_height { /* Haupt Content neben Navi */
	height: 100vh;
}

.single-portfolio.is_iframe #my-header,
.single-portfolio.is_iframe .elementor-location-header {
	display: none;
}

.single-portfolio .swiper-slide {
	min-height: 640px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

.single-portfolio .swiper-slide-inner {
	
}

.single-portfolio.is_iframe .swiper-slide-image {
	max-height: 640px;
}



#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	text-align: center;
	z-index: 9999;
	display: none;
	background-color: rgba(1,1,1,0.7);
}

#overlay .close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  content: "";
  background-color: white;
  border: solid lightgrey 1px;
  border-radius: 50%;
  cursor: pointer;
}

#overlay .close:before {
  position: absolute;
  border-radius: 50%;
  content: "";
  border: solid white 2px;
  width: 26px;
  height: 26px;
  top: 0px;
  left: 0px;
}

#overlay .close:after {
  position: absolute;
  content: "X";
  font-family: "Tahoma Bold","Calibri Bold","Arial Black","Arial Bold",helvetica,"Lucida Sans","Trebuchet MS",sans-serif;
  font-weight: bold;
  font-size: 1.2em;
  color: black;
  top: 0px;
  left: 0px;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  line-height: 30px;
}


iframe.portfolio_overlay {
	margin: 0;
	position: absolute;
 	top: 50%;
	left: 50%;
	-ms-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	max-width: 100%;
}

.archive .elementor-post__badge {
    display: none !important;
}

.archive .elementor-post__text {
    margin-top: 3px !important;
}


/* Youtube Lyte Embed anpassen */  

.lyte-wrapper,
.lL {
	max-width: 99% !important;
}

.lL br {
    display: none;
}

.lL {
    border: thin solid #9D0038;
    padding: 10px 15px;
}

.lyte_disclaimer {
    color: #fff;
    font-size: 85%;
}

.lyte_disclaimer a {
    color: #fff !important;
    text-decoration: underline !important;
}

/*Impressum unterschiedliche Ansicht mobil/desktop*/
figure.wp-block-table.mobil {
		display:none;
	}
figure.wp-block-table.desktop {
		display: block;
	}

figure.wp-block-table td {
    background-color: #fff !important;
    border: none;
    padding: 0 6px 8px 0;
}

.standardcontent {
	max-width: 853px;
}

.page-datenschutzerklarung .page .elementor-inner iframe {
	height: 100px;
}


.home .elementor-menu-toggle {
	color: #ffffff !important;
}

.home .mobile-navi .elementor-menu-toggle {
    background-color: transparent !important;
}


@media (min-width: 1280px){
	/* Abstand links für vertikale Navi  */
	main.site-main,
	.elementor-location-single,
	.elementor-location-footer,
	.elementor-location-archive {
		margin-left: 283px !important;
	}
	
	.single-portfolio.is_iframe .elementor-location-single {
		margin-left: inherit !important;
	}
	
}

/* Tablet */
@media (max-width: 1279px) {
	
	#overlay .close {
		top: 3px;
		right: 3px;
	}
	
	.home .mobilteaser {
		display: block;
		margin-top: -1px;
	}
	
}

/* Handy */
@media (max-width: 768px) {
	.single-portfolio .swiper-slide	{
		min-height: inherit !important;
		max-height: 335px !important;
	}
	
	.single-portfolio .swiper-slide .swiper-slide-image	{
		max-height: 340px !important;
	}
	
	.tax-portfolio_category .elementor-post__excerpt {
		display: none;
	}
	
	.tax-portfolio_category .elementor-post__title {
		margin-bottom: 20px !important;
	}
	.tax-portfolio_category .elementor-post__badge,
	.tax-portfolio_category .elementor-post__text {
		padding: 0 15px !important;
	}
	
	.tax-portfolio_category .elementor-posts-container {
    grid-column-gap: 15px !important;
    /* grid-row-gap: 15px !important; wird von JS overruled*/ 
	}
	
	
	figure.wp-block-table.mobil {
		display:block;
	}
	figure.wp-block-table.desktop {
		display: none;
	}
	
	.page-datenschutzerklarung .page .elementor-inner iframe {
		height: 340px;
	}
	
	body.home {
		animation: none;
	}
	
	.home #my-header {
		display: none !important;
	}
				
}