.subpage-content.moduletable {
	margin: 45px 0px !important;
	padding: 20px;
}

/* POPUP */
.fancybox-content {
	padding: 30px !important;
}

.maximgheight img {
	max-height: 50vh;
}
.references_blog img {
	max-height: 60vh;
}

/* LINKs */
div.jl-text-muted a {
	color: #868686!important;
	font-weight: 300;
}

div.mainlink div.jl-text-muted a {
	font-size: 1.5rem;
}

div.jl-text-muted a:hover {
	color: #39b2c3!important;
}

.mahildPaddingL {
	padding-left: 3%;
}

.title-center .tm-title {
	text-align: center;
}

/* IMG Overlay Mahild Logo 
.jl-cover-container::before {
    background-image: url(/images/Logo.png);
    display: inline-block;
    position: relative;
    z-index: 999999;
    background-size: 150px 45px;
    width: 150px;
    height: 45px;
    top: 5px;
    left: 5px;
    content: " ";
} */

/* Mobile */
@media only screen and (max-width:640px) {
	.jl-navbar img {
		max-height: 45px!important;
	}
	
	/* SLIDESHOW */
	#mahildSlideshow [data-jl-cover], #mahildSlideshow [jl-cover] {
		left: 0px !important;
	}
	/* ANIMATED TEXT */
	.cd-words-wrapper b {
		white-space: inherit !important;
	}
	.cd-words-wrapper b {
		min-height: 150px;
	}
	
	
	body {
		overflow-wrap: break-word;
		word-wrap: break-word;
		-ms-word-break: break-all;
		word-break: break-word;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		hyphens: auto;
	}

}

/* MENU STYLE */
.tm-nav-mobile {
	width: fit-content;
	padding: 6%;
}
.tm-nav-mobile img, .jl-nav-sub .mod-languages {
	margin-bottom: 15px !important;
}
.jl-nav-parent-icon {
	display: none;
}
.jl-nav-primary .jl-nav-sub {
    font-size: unset;
    padding: unset;
}

a.smallgrey {
	font-size: 12pt;
	color: grey !important;
}
.tm-nav-mobile a.hi {
	margin-top: 50px;
}

/* ACCORDION */
.jl-accordion-title {
	margin: unset !important;
}
.jl-accordion>:nth-child(n+2) {
	margin-top: 0px;
}
.jl-accordion-content {
	margin-bottom: 20px;
}

/* CONTENT GRID */
.jl-flex-last:has(img), .jl-flex-last\@m:has(img) {
	text-align: right;
}

/* VIDEO */
.jl-modal video {
	max-height: 80vh !important;
}


/* CONTACT FORM */
div.com-contact__form.contact-form {
	border: 1px solid grey;
}

.project-query .subform-repeatable-group { 
	display: grid;
	grid-template-columns: auto auto auto auto auto auto;
    grid-gap: 10px;
	align-items: end;
}
.project-query .subform-repeatable-group .btn-toolbar { 
	margin-bottom: 100%;
}
.project-query .subform-repeatable-group .btn-toolbar .group-move,
.project-query .subform-repeatable-group .btn-toolbar .group-add { 
	display: none;
}

@media only screen and (max-width:640px) {
	div.com-contact__form.contact-form {
		border: unset;
		padding: unset;
	}
	div.subform-repeatable-group {
		border: 1px solid grey;
		padding: 10px;
		margin: 10px;
	}
	.project-query .subform-repeatable-group { 
		display: block;
	}
	.project-query .subform-repeatable-group .btn-toolbar { 
		margin-bottom: unset;
	}
}


/* currently NOT used */

.section-background {
	background-attachment: fixed !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	height: 100% !important;
}

.remove-thumbnav-overlay a::after {
	background: unset !important;
}

.title-button .tm-title {
	border: 2px solid black;
    width: fit-content;
    margin: 2% 10%;
    padding: 40px;
}