/*
CTC Separate Stylesheet
Updated: 2023-09-19 08:38:40
*/




/* BODY */
/* Stop overflow */
html, body {
	width: 100% !important;
	overflow-x: hidden;
}
html {
    font-size: 62.5%;
}
/* Text widget bottom space */
p:last-child {
    margin-bottom: 0;
}
/* Button with arrow */
#arrow-btn .elementor-button-icon svg {
    width: 3em;
}
#arrow-btn .elementor-button-text:hover {
    padding-right: 4px;
}
#arrow-btn .elementor-align-icon-right:hover {
    padding-left: 4px;
}
#arrow-btn .elementor-button-text,
#arrow-btn .elementor-align-icon-right {
    transition: all .3s;
}
/* Button with arrow - back */
#arrow-btn-bck .elementor-button-icon svg {
    width: 3em;
}
#arrow-btn-bck .elementor-button-text:hover {
    padding-left: 4px;
}
#arrow-btn-bck .elementor-align-icon-left:hover {
    padding-right: 4px;
}
#arrow-btn-bck .elementor-button-text,
#arrow-btn-bck .elementor-align-icon-left {
    transition: all .3s;
}
/* Link hover - footer + hamburger menu */
.link-hover a span {
	transition: all .3s;
}
.link-hover a span:hover {
	color: #FFFFFF80;
}
.link-hover .elementor-heading-title a {
	transition: all .3s;
}
.link-hover .elementor-heading-title a:hover {
	color: #FFFFFF80 !important;
}
.link-hover1 a span {
	transition: all .3s;
}
.link-hover1 a span:hover {
	color: #0091D0;
}




/* HEADER - hamburger menu */
/* Menu hover transition */
.ham-menu a.elementor-item {
    transition: all .3s;
}
/* Menu on mobile - font size and padding */
@media(max-width: 1024px) {
	.ham-menu a.elementor-item {
	font-size: 2.6rem !important;
}
	.ham-menu .elementor-nav-menu--dropdown a {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
	.elementor-413 .elementor-element.elementor-element-b24b192 {
		--gap: 20px 0px !important;
	}
}
/* edit the hamburger and close icon colors here */
.lytbox-button {
	--hamburger-color: #FFFFFF;
	--close-x-color: #005287;
	display: block;
	height: 30px;
	cursor: pointer;
	position: relative;
	z-index: 101;
}
/* must add in elementor template ID number to make the menu full width */
.elementor-413 {
	width: 100%;
}
/* end editing */
.lytbox-navigation {
	position: fixed;
	top: 0;
	left: 0;
	transform: translateX(100%);
	overflow: hidden;
	transition: transform 0.4s;
	width: 100%;
	height: 100vh;
	z-index: 100;
}
.lytbox-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
}
/* toggle hamburger*/
.lytbox-button .hamburguer {
	position: relative;
}
.lytbox-button .hamburguer span{
	display: block;
	height: 3px;
	width: 40px;
	background: var(--hamburger-color);
	transform-origin: 50% 50%;
	transition: all 0.1s 0.2s ease, transform 0.2s ease;
}
.lytbox-button .hamburguer span:nth-child(2) {
	transform: translate(0, 10px);
}
.lytbox-button .hamburguer span:nth-child(3) {
	transform: translate(0, 20px);		
}
.lytbox-nav_control {
	position: absolute;
	left: -9999px;
	width: 100%;
	clip: rect(0, 0, 0, 0);
}
.lytbox-nav_control:checked~.lytbox-navigation {
	transform: translateX(0);
	opacity: 1;
	transition: transform 0.3s, opacity 0.3s;
}
.lytbox-nav_control:checked~.lytbox-button .hamburguer {
	transition: all 0.1s 0s ease;
}
/* closed X */
.lytbox-nav_control:checked~.lytbox-button .hamburguer span {
	background: var(--close-x-color);
	transition: all 0.1s ease, transform 0.1s 0.2s ease;
}
.lytbox-nav_control:checked~.lytbox-button .hamburguer span:first-child {
	opacity: 0;
}
.lytbox-nav_control:checked~.lytbox-button  .hamburguer span:nth-child(2) {
	transform: translate(0, 6px) rotate(45deg);
}
.lytbox-nav_control:checked~.lytbox-button .hamburguer span:nth-child(3) {
	transform: translate(0, 4px) rotate(-45deg);
}
/* for smaller devices */
@media(max-width: 767px) {
	.lytbox-button {
	height: 22px;
}
	.lytbox-button .hamburguer span{
	height: 2px;
	width: 34px;
}
	.lytbox-button .hamburguer span:nth-child(2) {
	transform: translate(0, 8px);
}
.lytbox-button .hamburguer span:nth-child(3) {
	transform: translate(0, 16px);		
}
}
/* STICKY HEADER - changes on scroll */
/* hides the white logo */
.white-logo {
    display: none;
}
/* switches logo on scrol */
.elementor-sticky--effects .white-logo {
    display: inline-block;
	width: 80% !important;
}
.elementor-39 .elementor-element.elementor-element-b180a8a > .elementor-widget-container {
    padding: 10px 20px 10px 20px !important;
}
.elementor-39 .elementor-element.elementor-element-a75f798 {
	min-height: 106px;
}
.elementor-sticky--effects .blue-logo {
    display: none;
}
/* changes the header background on scroll */
.elementor-sticky--effects {
    background: #005287 !important; 
}
.elementor-sticky--effects .elementor-element.elementor-element-20621a9.e-con-full.e-flex.e-con.e-child {
    background: #005287;
}
.elementor-sticky--effects {
    transition: .3s all ease-in-out;
	box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
}




/* HOME */
/* Contact form */
.message .elementor-field-textual {
    padding: 8px 0 !important;
}
.elementor-field-group .elementor-field-textual:focus {
    box-shadow: none !important;
}
input#form-field-jahresrechnung, input#form-field-kontoblatte {
    font-size: 14px;
}




/* BLOG */
/* Single post - button */
a.wp-block-file__button.wp-element-button {
	font-family: 'Rubik';
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 2.4rem;
	color: #FFFFFF;
	background-color: #0091D0;
	border-radius: 100px;
	padding: 14px 30px 14px 30px;
	transition: all .3s;
}
a.wp-block-file__button.wp-element-button:hover {
	background-color: #005287;
	color: #FFFFFF;
	opacity: 1;
}
/* Hide first paragraph because of excerpt */
.elementor-widget-theme-post-content p:first-child {
	display: none;
}
/* Padding on image with link */
figure.wp-block-image.size-full,
figure.wp-block-image.size-medium {
	padding-top: 20px;
}
/* Image/gallery  border radius*/
.is-style-rounded img {
	border-radius: 20px !important;
}
/* Heading style */
h2.wp-block-heading {
	font-family: 'Rubik';
	color: #1E1E1E;
	font-size: 2.8rem;
	line-height: 3.4rem;
	padding: 30px 0 10px 0;
}
/* Links style in posts */
.elementor-widget-theme-post-content a {
	color: #0091D0;
	font-weight: 500;
	transition: all .3s;
}
.elementor-widget-theme-post-content a:hover {
	color: #005287;
}