/**
Theme Name: Gerb Child Theme
Author: Digitalsyndikat
Author URI: https://digitalsyndikat.com/
Description: Custom Child Theme for Gerb from Digitalsyndikat
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*
 * Provisorium für https://digitalklang.atlassian.net/browse/GERB-1356
 * 
 */

.elementor-element-6b3d8c9,
.elementor-element-e1475c9,
.elementor-element-723bf9a, 
.elementor-element-695fdbb4,
.elementor-element-56f745e,
.elementor-element-7745fc8a,
.elementor-element-63dc20b9,
.elementor-element-64ba1fcf,
.elementor-element-e09b5fd,
.elementor-element-9a30cc7,
.elementor-element-2832b43,
.elementor-element-5c4d057,
.elementor-element-57a8d14d,
.elementor-element-58134345,
.elementor-element-2cd3215e,
.elementor-element-24e10f7
{
	display: none !important;
}

/* Header generell "durchlickbar machen" */
/* Im header clickbaren elementen folgendes css geben: selector { pointer-events: all; }
 */
.elementor-element-populated {
	background-size: cover !important;
	
}
/*.ast-custom-header {
	pointer-events: none;
}*/


.story-card {
	overflow: hidden;

}

.story-card > div {
	overflow: hidden;
	/*background-origin: content-box;
	background-size: auto 101% !important;
	background-position: 50% 50%;*/
	/*-webkit-box-shadow: inset 0px 0px 0px 6px rgb(236, 239, 236);
	-moz-box-shadow: inset 0px 0px 0px 6px rgb(236, 239, 236);*/
}

.story-card-row .story-card {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	overflow: hidden;
}

.story-card-row .story-card.small {
	line-height: 16px;
}

.story-card-row .story-card:first-child {
	border-left: none;
	border-right: 6px solid transparent ;
}
@media only screen and (max-width: 767px) {
	.story-card-row .story-card:first-child {
		border-left: 6px solid transparent;
		border-right: 6px solid transparent ;
	}
}


.story-card-row .story-card:last-child {
	border-right: none;
	border-left: 6px solid transparent ;
}

.story-card .story-image img {
	min-height: 210px;
}
.story-card:hover .story-image img {
	-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
	-ms-transform: scale(1.1);
    transform: scale(1.1);
}

.story-card div.story-text {
	position: absolute;
	bottom: 0;
	height: 62px;
	display: flex;
	flex-direction: row;
    align-items: center;
	padding-right: 15px;
	padding-left: 15px;
	background-color: rgba(0, 0, 0, 0.5);
}

.story-card div.story-text > div > div > p {
	display: flex;
}

.story-card div.story-text > div.elementor-widget-container > div {
	display: flex;
	align-items: center;
	line-height: 22px;
}

.story-card:hover div.story-text {
	padding-left: 20px;
	background-color: rgba(0, 0, 0, 1);
}

.story-card * {
	-webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    -ms-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}
.story-card img.arrow {
	-webkit-transform: translatey(-2px);
    -moz-transform: translatey(-2px);
    -o-transform: translatey(-2px);
	-ms-transform: translatey(-2px);
    transform: translatey(-2px);
	margin-right: 5px;
	margin-top: 3px;
}

.story-card:hover img.arrow {
	-webkit-transform: translatey(-2px) !important;
    -moz-transform: translatey(-2px) !important;
    -o-transform: translatey(-2px) !important;
	-ms-transform: translatey(-2px) !important;
    transform: translatey(-2px) !important;
}

@media print {	
	@page {
	  size: A4;
	  margin-top: 1cm;
	  margin-bottom: 1cm;
	  margin-left: 0.75cm;
	  margin-right: 0.75cm;
	}
	
	/*body {
		padding: 1cm 2cm !important;
	}*/
	section {
		-webkit-print-color-adjust: exact !important;
		-moz-print-color-adjust: exact !important;
		-ms-print-color-adjust: exact !important;
		color-adjust: exact !important;
	}
	
	.elementor-text-editor {
		font-size: 75% !important;
		line-height: 115% !important;
	}
	
	h1 {
		font-size: 41.25px !important;
		line-height: 49.5px !important;
	}
	
	h2, h3 {
		font-size: 33.75px !important;
		line-height: 40.5px !important;
	}
	
	.elementor-col-50 {
    	width: 50%;
	}
	.elementor-text-editor {
    	display: inherit !important;
	}
	/*.elementor-container {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}*/
	/* For custom widgets */
	.hide-print {
		display: none;
	}
	.print-only {
		display: block;
	}
	
	.no-print,
	.ast-custom-header,
	.otgs-development-site-front-end,
	header,
	footer {
		display: none !important;
	}
	
	#page > div:nth-child(3) {
		display: none !important;
		/*position: absolute;
		display: block !important;*/
		/*height: 100px;
		background: url(/wp-content/uploads/2022/05/gerb.svg) no-repeat;
		background-position: 0 50%;
		background-size: 175px auto;
		-webkit-print-color-adjust: exact !important;
		-moz-print-color-adjust: exact !important;
		-ms-print-color-adjust: exact !important;
		color-adjust: exact !important;*/
	}
	
	/*#page > div:nth-child(3)::after {
		font-family: "Arial Narrow";
		font-size: 16px;
		font-weight: 400;
		color: #000;
		content: "https://www.gerb.com/technical-insights\Ainfo@gerb.com";
		right: 0;
		white-space: pre;
		position: absolute;
		line-height: 1.1;
		top: calc((100px / 2) - (2 * 16px * 1.1 / 2));
	}*/
	
	section:not(.print-only) {
		page-break-inside: avoid;
	}
	
	

	
	main > article > div > div > div > div > div > section:nth-child(2) {
		margin-top: 0px !important;
	}
	
		/* Mobile */
	.elementor-hidden-desktop.elementor-hidden-tablet {
		display: none !important;
	}
	/* Tablet */
	.elementor-hidden-desktop.elementor-hidden-mobile {
		display: none !important;
	}
	/* Desktop */
	.elementor-hidden-tablet.elementor-hidden-phone:not(.no-print), .elementor-hidden-tablet.elementor-hidden-mobile:not(.no-print) {
		display: inherit !important;
	}
	
	.elementor-column {
		align-self: flex-start !important;
	}
	/* Sometimes */
	/*.elementor-hidden-mobile.elementor-hidden-phone {
		display: inherit !important;
	}*/
}


span.highlight {
	background-color: #ffcc00;
	padding: 0px 2px;
    margin: 0 -2px;
}

.search-results article.elementor-post:nth-child(even) {
	background-color: rgba(0,0,0,0.05);
}

.search-results nav * {
	font-family: 'Arial Narrow';
	font-weight: 400;
	font-size: 24px;
	line-height: 24px;
	color: #000;
}

.search-results .elementor-pagination {
	margin-top: 50px !important;
}

.search-results .elementor-pagination span.current {
	color: #ffcc00;
}

.imp-line-height-24 {
	line-height: 24px !important;
}

/* CSS für Social Media Share Bar */
.social-bar {
    overflow: visible !important;
    display: inline-flex;
    justify-content: space-evenly;
    align-items: stretch;
 }

 .social-bar > .social-element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: .5em;
    white-space: nowrap;
  }

  .social-bar > .social-element > .tooltip {
    padding: .4rem 1rem;
    position: absolute;
    opacity: 0;
    top: 50px;
    margin-left: 0;
    background: #ECEFEC;
    font-size: 18px;
    font-weight: lighter;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    pointer-events: none;
  }

  .social-bar > .social-element > .tooltip:before{
    content:'';
    display:block;
    width:0;
    height:0;
    position:absolute;
   
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right:8px solid #ECEFEC;
    left: calc(50% - 5px);
    top:-11px;
    transform: rotate(90deg);
  }
  
  .social-bar > .social-element:hover > .tooltip {
    opacity: 1;
  }

/* Hamburger Menu Stuff */
.menu .item {
    font-family: "Arial Narrow", Sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2em !important;
    margin-bottom: 14px;
	max-width: calc(100% - 72px);
}

.menu .item > div > div > a {
	outline: none;
}


.menu .item:before {
    content: ' ';
    position: absolute;
    display: inline-block;
    background-image: url(/wp-content/uploads/2020/10/Menu-arrow-5@2x.png);
    right: -32px;
    top: calc(50% - 13px);
 
    width: 24px;
    height: 24px;
}

/* TI Search & Filter Styles */
.no-gap {
	padding-bottom: 0px !important;
}

.ui-selectmenu-button {
	color: #29332e;
    padding: calc((50px - 26px) / 2);
    height: 50px;
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea;
    border-radius: 2px;
    background: #fafafa;
    box-shadow: none;
    box-sizing: border-box;
    transition: all .2s linear;
	line-height: 26px !important;
	font-family: 'Arial Narrow' !important;
	font-weight: normal !important;
}

.sf-input-text {
	color: #29332e !important;
	outline: none;
   	line-height: 26px !important;
	font-family: 'Arial Narrow' !important;
	font-weight: normal !important;
	font-size: 22px !important;
    border: none !important;
    padding: 15.5px 16.5px 15.5px 16.5px !important;
    box-shadow: none !important;
	background-color: transparent !important;
    transition: all .2s linear !important;
}


.sf-input-text:active, .sf-input-text:focus {
	background-color: transparent !important;
}

.sf-search-box-label {
	overflow: hidden;
	display: flex !important;
	justify-content: center;
    align-items: center;
	height: 50px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
    transition: all .2s linear !important;
	background-color: #fafafa;
}

.sf-search-box-label:hover {
	background-color: #ededed !important;
	border-color: #d7d7d7 !important;
}


.sf-search-box-icon {
	background: url(/wp-content/uploads/2022/04/search.svg) no-repeat !important;
	background-size: contain;
	width: 16px !important;
	height: 16px !important;
	margin-right: 16px !important;
}

.ui-selectmenu-icon {
	background: url(/wp-content/uploads/2022/04/angle_down-1.svg) no-repeat !important;
	background-size: contain;
	width: 20px;
	height: 20px;
}
.ui-selectmenu-icon.ui-icon {
    margin-top: 2px !important;
}

.ui-widget.ui-widget-content {
	border: none;
}

.ui-selectmenu-close-icon {
	color: #FFCC00;
    position: absolute;
    top: 16px;
    right: 16px;
	cursor: pointer;
}

.ui-selectmenu-menu ul {
	padding: 12px 12px 0 12px;
	background-color: #29332e !important;
	border: none;
	color: #fff !important;
	font-size: 22px !important;
	line-height: 26px !important;
	font-family: 'Arial Narrow' !important;
	font-weight: normal !important;
	max-width: 360px !important;
	
}

.elementor-kit-133 p {
    line-height: 24px !important;
}

@media only screen and (max-width: 762px) {
  .ui-selectmenu-menu ul {
    max-width: 320px !important;
  }
}

.ui-selectmenu-menu ul li {
	padding-bottom: 26px;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	background-color: transparent !important;
	border: 1px solid transparent !important;
}

.ui-menu-item-wrapper {
	background-color: transparent;
}
.ui-selectmenu-open ul li div:hover {
	background-color: transparent !important;
	border: 1px solid transparent !important;
	color: #FFCC00 !important;
	font-size: 22px !important;
	line-height: 26px !important;
	font-family: 'Arial Narrow' !important;
	font-weight: normal !important;
}

#ti-sf-form h4 {
	color: #29332e;
	font-size: 24px;
	line-height: 24px;
	font-weight: normal;
}
#ti-sf-form .searchandfilter > ul {
	justify-content: space-between;
}
   
#ti-sf-form .searchandfilter > ul > li {
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	width: 360px !important;
}


#ti-sf-form-mobile h4 {
	color: #29332e;
	font-size: 22px;
	line-height: 24px;
	font-weight: normal;
}

#ti-sf-form-mobile .searchandfilter > ul {
	flex-direction: column !important;
	align-content: center !important;
	align-items: center;
}
   
#ti-sf-form-mobile .searchandfilter > ul > li {
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	width: 320px !important;
}

.elementor-widget-search-filter-form form .sf-field-submit input[type=submit] {
	height: 50px;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

@media (max-width: 1024px) {
body.admin-bar .dialog-type-lightbox {
	position: fixed !important;
	top: 0;
}
}

/*hide horizontal scrollbag bug*/
#page{
	overflow-x: hidden;
}

/*Fix diagonal images*/
.elementor-image img[src*="divider-grey-top"]{
  width: 100%;
	height: 7vw;
}
.elementor-image img[src*="divider-grey-bottom"]{
  width: 100%;
	height: 7vw;
}
.elementor-image img[src*="divider-white-bottom"]{
  width: 100%;
	height: 7vw;
}
.elementor-image img[src*="divider-white-top"]{
  width: 100%;
	height: 7vw;
}