/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/**
 * Resets 
 **/
*:focus {
	outline: 2px solid #580F8B;
	outline-offset: 2px;
}

ul,ol {
	margin-bottom: 1rem;
}
ul li,
ol li {
	margin-bottom: 0.5em;
}
/*
ul li::marker {
	content: "◼";
}
*/

.elementor-widget-text-editor ul,
ul.wp-block-list {
	/* list-style: "- "; */
	list-style: "◼ ";
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child,
.elementor-widget-text-editor ol:last-child {
	margin-bottom: 0;
}

/* Fix Google Search Console "mobile usability issues" */
:where(body, iframe, pre, img, svg, video, canvas, select) {
	max-width: 100%;
	overflow: auto;
	word-break: break-word;
}

/* Global Variables */
:root {
	/* Breakpoint Max-Widths */
	--breakpoint-max-small: 479px;
	--breakpoint-max-phone: 767px;
	--breakpoint-max-tablet: 1024px;
	--breakpoint-max-laptop: 1439px;
	--breakpoint-max-large: 1599px;
	
	/* Breakpoint Min-Widths */
	--breakpoint-min-small: 480px;
	--breakpoint-min-phone: 768px;
	--breakpoint-min-tablet: 1025px;
	--breakpoint-min-laptop: 1440px;
	--breakpoint-min-large: 1600px;
}


/**
 * Utils 
 **/
:root {
	--spacing-s: 1rem;
	--spacing-m: 1.875rem;
	--spacing-l: 3.75rem;
	--spacing-xl: 7.5rem;
}

@media only screen and (max-width: 1024px) {
	:root {
		--spacing-s: 0.75rem;
		--spacing-m: 1.375rem;
		--spacing-l: 2.75rem;
		--spacing-xl: 5.5rem;
	}
}

@media only screen and (max-width: 767px) {
	:root {
		--spacing-s: 0.5rem;
		--spacing-m: 0.875rem;
		--spacing-l: 3.5rem;
		--spacing-xl: 3.5rem;
	}
}

/* Paddings für Sektionen */
.rwp-section.p-s {
	padding-top: var(--spacing-s);
	padding-bottom: var(--spacing-s);
}
.rwp-section.p-t-s {
	padding-top: var(--spacing-s);
}
.rwp-section.p-b-s {
	padding-bottom: var(--spacing-s);
}
.rwp-section.p-m {
	padding-top: var(--spacing-m);
	padding-bottom: var(--spacing-m);
}
.rwp-section.p-t-m {
	padding-top: var(--spacing-m);
}
.rwp-section.p-b-m {
	padding-bottom: var(--spacing-m);
}
.rwp-section.p-l {
	padding-top: var(--spacing-l);
	padding-bottom: var(--spacing-l);
}
.rwp-section.p-t-l {
	padding-top: var(--spacing-l);
}
.rwp-section.p-b-l {
	padding-bottom: var(--spacing-l);
}
.rwp-section.p-xl {
	padding-top: var(--spacing-xl);
	padding-bottom: var(--spacing-xl);
}
.rwp-section.p-t-xl {
	padding-top: var(--spacing-xl);
}
.rwp-section.p-b-xl {
	padding-bottom: var(--spacing-xl);
}


/**
 * Headlines 
 **/
/* Überschrift H1 und H2 */
h1, h2, h3 {
	position: relative;
}
h1::before, h2::before {
	content: "";
    background-image: url(/wp-content/uploads/Group-1-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5rem;
    height: 5rem;
    position: absolute;
    display: block;
    bottom: -3rem;
    left: -2rem;
	
	/*if the heading is a link, the before element is clickable. Prevent this by pointer-events: none; */
	pointer-events: none; 
}

@media only screen and (max-width: 1024px) {
	h1::before, h2::before {
		width: 4rem;
		height: 4rem;
		bottom: -2.4rem;
		left: -1.5rem;
	}
}

/* Überschrift H3 */
h3::before {
	content: "";
    background-image: url(/wp-content/uploads/h3_graphic.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 24rem;
    height: 5rem;
    position: absolute;
    display: block;
    bottom: -4.2rem;
    left: -1.5rem;
	pointer-events: none;
}

@media only screen and (max-width: 1024px) {
	h3::before {
		width: 24rem;
        height: 3rem;
        bottom: -2rem;
        left: -1.2rem;
	}
}

@media only screen and (max-width: 430px) {
	h3::before {
		 width: 18rem;
        height: 3rem;
        bottom: -2.5rem;
        left: -1.2rem;
	}
}

/**
 * Menü
 **/
.rwp-menu nav li::before {
	content: "";
	position: absolute;
	background-color: #580F8B;
	height: 1px;
	width: 100%;
	display: flex;
	bottom: 0;
}

.rwp-menu nav li a {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	
	display: flex;
    align-items: center;
    justify-content: center;
}

.rwp-menu nav li a:hover::before,
.rwp-menu nav li.current-menu-item a::before{
	content: "";
	position: absolute;
	background-color: #AA43B6;
	height: 4px;
	width: 100%;
	display: flex;
	bottom: 0;
	border-left: 4px solid #fff;
	border-right: 4px solid #fff;
}

@media only screen and (max-width: 767px) {
	.rwp-menu nav li a:hover {
		font-weight: 500 !important;
	}
	.rwp-menu nav li a:hover::before,
	.rwp-menu nav li.current-menu-item a::before{
		content: "";
		height: 0;
		width: 0;
	}
}


/**
 * Text Grafik 
 **/
.rwp-section .textblock::before {
	content: "";
    background-image: url(/wp-content/uploads/text_graphic.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5rem;
    height: 5rem;
    position: absolute;
    display: block;
    top: -2rem;
    left: -2rem;
}

@media only screen and (max-width:1024px) {
	.rwp-section .textblock::before {
		top: -1.5rem;
   		left: -1.5rem;
	}
}

/**
 * Überschrift Hervorhebung
 **/
.rwp-hervorhebung b {
	font-weight: 500 !important;
}


/**
 * Link Box Graphic
 **/

@media only screen and (max-width:767px) {
	.rwp-box-container {
		
		flex-wrap: wrap;
		justify-content: left !important;
	}
	.rwp-boxlink {
		width: calc(50% - 0.5rem)!important;
	}
}

@media only screen and (max-width: 610px) {
	.rwp-box-container {
		justify-content: center !important;
	}
	.rwp-boxlink {
		width: 75% !important;
	}
}

@media only screen and (max-width: 493px) {
	.rwp-boxlink {
		width: 100% !important;
	}
}

.rwp-box .rwp-box-subtitle {
	max-height: 0;
	overflow: hidden;
	transition: all .5s ease-in-out;
}

.rwp-box:hover .rwp-box-subtitle {
	max-height: 7rem;
}

.rwp-box.link_box_upper.rwp-boxlink {
	transition: background-color 0.2s ease-in-out;
}

.rwp-box,
.rwp-box::before {
	transition: background-color 0.2s ease-in-out;
}

.rwp-box:hover::before {
	background-color: var( --e-global-color-primary ) !important;
	transition: background-color 0.2s ease-in-out;
}

.rwp-box.link_box_lower:hover::before {
	background-color: var( --e-global-color-primary ) !important;
	transition: background-color 0.2s ease-in-out;
}

.link_box_upper::after {
    content: "";
    background-image: url('/wp-content/uploads/link_box_overlay.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 50%;
    position: absolute;
    display: block;
    top: 0;
}

.link_box_lower::after {
    content: "";
    background-image: url(/wp-content/uploads/link_box_overlay.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 70%;
    position: absolute;
    display: block;
    bottom: -3rem;
	right: 0;
}


.link_box_upper:hover::after {
    height: 100% !important;
}

.link_box_lower:hover::after {
    height: 100% !important;
}

/**
 * Container Box Shadow
 **/

.rwp-boxshadow {
    box-shadow:
        inset 15px 4px 50px -20px #00000040,
        inset 0 -4px 50px -30px #00000040 !important;
}

/**
 * Button mit Icon
 **/
.rwp-button a.elementor-button:hover .elementor-button-icon svg path {
	fill: white !important;
}

/**
 * People Seite allgemein
 **/
.tu_ivc_person_additional-info {
	padding-bottom: var(--spacing-l);
}
.tu_ivc_person_additional-info .tu-ivc-person-additional-info-content {
	margin-top: var(--spacing-m);
	white-space: break-spaces;
}
.tu_ivc_person_additional-info h2,
.tu_ivc_person_additional-info h3,
.tu_ivc_person_additional-info h4 {
	position: relative;
	margin-top: 1.5rem;
}
.tu_ivc_person_additional-info h3:before,
.tu_ivc_person_additional-info h4:before {
	display: none;
}

/**
 * People-Seite Suchfilter Link
 **/
.rwp-link-box:hover a{
	color: white !important;
}

.rwp-link a {
	color: black !important;
}

.rwp-link a:hover {
	color: white !important;
}

/**
 * People-Seite Bild anpassen
 **/

.single.single-tu_ivc_person .tu-ivc-person-image {
	display: flex;
	justify-content: flex-end;
}
.single.single-tu_ivc_person .tu-ivc-person-image img {
	max-width: 250px;
}

/**
 * People Detailseite
 */
/* Contact data */
.tu-ivc-person-contact-data {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.tu-ivc-person-contact-data .tu-ivc-person-contact-data-item,
.tu-ivc-person-contact-data .tu-ivc-person-contact-data-item a {
	display: flex;
	gap: 1rem;
	align-items: center;
}
/* Social Links */
.tu-ivc-person-social-links {
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
}
i.tu-ivc-social-icon {
	display: block;
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
}
i.tu-ivc-social-icon:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
}
i.tu-ivc-social-icon.google_scholar_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/google-scholar.svg');
}
i.tu-ivc-social-icon.orcid_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/orcid.svg');
}
i.tu-ivc-social-icon.dblp_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/dblp.svg');
}
i.tu-ivc-social-icon.x_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/x.svg');
}
i.tu-ivc-social-icon.linkedin_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/linkedin.svg');
}
i.tu-ivc-social-icon.github_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/github.svg');
}
i.tu-ivc-social-icon.youtube_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/youtube.svg');
}
i.tu-ivc-social-icon.huggingface_link:before {
	background-image: url('/wp-content/themes/hello-theme-child/img/icons/hf-logo-pirate.svg');
}

/**
 * Research-Seite Team Textauszug
**/
div.ivc-umrandung-research::before {
	content: "";
    background-image: url(/wp-content/uploads/Group-1-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5rem;
    transform: rotate(90deg);
    height: 5rem;
    position: absolute;
    display: block;
    top: -0.8rem;
    left: -2.3rem;
}

div.ivc-umrandung-research::after {
	content: "";
    background-image: url(/wp-content/uploads/Group-1-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5rem;
    transform: rotate(-90deg);
    height: 5rem;
    position: absolute;
    display: block;
    bottom: -0.8rem;
    right: -2.3rem;
}

.rwp-research-team .rwp-textauszug {
	max-height: 0;
	overflow: hidden;
	transition: all .5s ease-in-out;
}

.rwp-research-team:hover .rwp-textauszug {
	max-height: 7rem;
}

.rwp-person-box .research-team {
	border-top: 1px solid #dedede;
	padding-top: 0.2rem;
	text-align: center;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	width: 100%;
}

.rwp-person-box .person-role, .rwp-person-box .elementor-shortcode {
	font-weight: 500;
	font-style: italic;
	text-align: center;
	padding-bottom: 0.2rem;
	width: 100%;
}

/*
.rwp-research-team .rwp-textauszug {
	max-height: 0;
	overflow: hidden;
	transition: all .5s ease-in-out;
}

.rwp-research-team:hover .rwp-textauszug {
	max-height: 4rem;
	transition: all .5s ease-in-out;
}

.rwp-research-team {
	transition: all 4s ease-in-out;
}
*/

@media only screen and (max-width:767px) {
	.rwp-research-team:hover .rwp-textauszug {
		max-height: 1.5rem;
		transition: all .5s ease-in-out;	
	}
}

/**
 * Loop Item "Person"
 **/
.rwp-loop-item-person {
	border: 1px solid #dedede;
}

.rwp-loop-item-person .rwp-person-image-wrapper,
.rwp-loop-item-person .rwp-person-image-wrapper .elementor-shortcode,
.rwp-loop-item-person .rwp-person-image-wrapper .elementor-shortcode .tu-ivc-person-image {
	height: 100%;
}
.rwp-loop-item-person .rwp-person-image-wrapper .elementor-shortcode .tu-ivc-person-image img {
	height: calc(100% - 3.8rem);
	width: 100%;
	object-fit: cover;

	transition: transform 0.2s ease-in-out;
}

.rwp-loop-item-person {
	overflow: hidden;
}
.rwp-loop-item-person:hover .tu-ivc-person-image img {
	transform: scale(1.05);
}

.rwp-person-box {
	position: absolute;
	display: flex;
	bottom: 0;
	height: 3.8rem;
	padding: 0.2rem;
	transition: all 0.2s ease-in-out;
}


.rwp-loop-item-person:hover .rwp-person-box {
	height: 6.3rem;
	transition: all 0.2s ease-in-out;
}

.rwp-person-box .rwp-person-position {
	max-height: 0;
	overflow: hidden;
	transition: all .5s ease-in-out;
}

.rwp-loop-item-person:hover .rwp-person-position {
	max-height: 4rem;
	transition: all .5s ease-in-out;
}

@media only screen and (max-width:767px) {
	.rwp-loop-item-person:hover .rwp-person-box {
		height: 8rem;
		transition: all 0.2s ease-in-out;
	}
}

/**
 * Research Project Detailseite
 **/
.single-tu_ivc_researchproj h2 {
	margin-bottom: 2rem;
}

/* Contact Data */
.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-contact-data {
	flex: 2;
	min-width: 21rem;
	padding: 1.5rem;
}
.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-featured-image {
	flex: 1;
	min-width: 10rem;
}

.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-contact-data .tu-ivc-person-contact-data-header {
	margin-bottom: 0.5rem;
}
.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-contact-data .tu-ivc-person-contact-data-header a.research-team {
	display: block;
	line-height: 1.5;
	margin-bottom: 1.5rem;
	font-weight: 500;
	text-transform: uppercase;
}
.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-contact-data .tu-ivc-person-contact-data-header a.contact-person {
	color: #000;
	font-weight: 300;
	line-height: 1.5;
	font-size:  var(--e-global-typography-text-font-size);
}

@media screen and (max-width: 768px) {
	.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-contact-data {
		padding-top: 0;
		padding-bottom: 0;
	}
	.single-tu_ivc_researchproj .tu-ivc-person-contact-data-wrapper .tu-ivc-person-featured-image {
		display: none;
	}
}

/* Research Project Funding */
.single-tu_ivc_researchproj .tu-ivc-project-funding .tu-ivc-funding-list {
	display: flex;
	flex-direction: column;
}
.single-tu_ivc_researchproj .tu-ivc-project-funding .tu-ivc-funding-list .tu-ivc-funding-item {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	position: relative;
}

.single-tu_ivc_researchproj .tu-ivc-project-funding .tu-ivc-funding-list .tu-ivc-funding-item:not(:last-child):after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 20rem;
	height: 1px;
	background-color: #580F8B;
}
.single-tu_ivc_researchproj .tu-ivc-project-funding .tu-ivc-funding-list .tu-ivc-funding-item .tu-ivc-funding-logo {
	max-width: 20rem;
}
.single-tu_ivc_researchproj .tu-ivc-project-funding .tu-ivc-funding-list .tu-ivc-funding-item .tu-ivc-funding-disclaimer {
	flex: 1;
	max-width: 40rem;
	font-size: max(0.8rem, 14px)
}

@media screen and (max-width: 767px) {
	.single-tu_ivc_researchproj .tu-ivc-project-funding .tu-ivc-funding-list .tu-ivc-funding-item .tu-ivc-funding-logo {
		max-width: 5rem;
	}
}

/**
 * Loop Item "Publikationen"
 **/
.tu-ivc-research-output {
	padding-bottom: 1rem;
	border-bottom: 1px solid #dedede;
}
.tu-ivc-research-output a.research-output-title {
	position: relative;
	display: block;
	color: #333;
	left: 1rem;
/*	font-size: var(--fs-xl);
	font-weight: 300;
	color: #333;
	line-height: 1.4;
	margin-bottom: 0.5rem;
	*/
}

.tu-ivc-research-output a.research-output-title::before {
	content: "";	
	width: 0.5rem;
	height: 0.5rem;
	background-color: black;
	position: absolute;
	display: block;
	left: -1rem;
	top: 0.39rem;
}

.tu-ivc-research-output a.research-output-title:hover {
	color: var(--e-global-color-primary);
}
.tu-ivc-research-output a.research-output-title {
	font-weight: 500;
    font-size: var(--fs-normal) !important;
}
 
.tu-ivc-research-output .research-output-authors {
	margin-top: 0.1rem;
	font-weight: 300;
}
.tu-ivc-research-output .research-output-authors a {
	font-weight: 500;
	line-height: 1.3;
}

.tu-ivc-research-output .research-output-pubsource {
	font-style: italic;
	line-height: 1.3;
	font-weight: 300;
}

.tu-ivc-research-output .research-output-title-container {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}


@media screen and (max-width: 768px) {
	.tu-ivc-research-output a.research-output-title {
		left: 0;
	}
}


/**
 * IVC History / Tabelle
 **/

.tu-ivc-history-table-cell span.uael-table__text {
	text-align: left !important;
}

@media only screen and (max-width:767px) {
	.tu-ivc-history-table .uael-table-row {
		background-color: #ffffff00 !important;
		border-bottom: 1px solid #dedede !important;
	}

	.tu-ivc-history-table .uael-table-col {
		border: none !important;
	}
	.tu-ivc-history-table span.uael-table__text {
		padding: var(--spacing-s) !important;
	}
	
	.tu-ivc-history-table-cell span.uael-table__text {
		text-align: center !important;
		font-weight: 500;
		text-transform: uppercase;
	}
	
	.tu-ivc-history-table span.uael-table__text.uael-tbody-head-text {
		text-align: left !important;
	}
}

/**
 * Student Projects - Loop Item
 **/

.e-loop-item_tu_ivc_stud_project .tu-ivc-project-detail-wrapper {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0.5rem;
	row-gap: 0.25rem;
}
.e-loop-item_tu_ivc_stud_project h3 a:hover {
	color: var(--e-global-color-primary) !important;
}

@media screen and (max-width: 768px) {
	.e-loop-item_tu_ivc_stud_project .tu-ivc-project-detail-wrapper .tu-ivc-project-detail {
		width: 100%;
	}
	.e-loop-item_tu_ivc_stud_project  .tu-ivc-project-detail-wrapper .tu-ivc-project-detail-separator {
		display: none;
	}
}