/*
Theme Name: Carsten Child
Theme URI: https://carsten.qodeinteractive.com
Description: A child theme of Carsten
Author: Elated Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: carsten
Template: carsten
*/

/* Helpers - Custom classes */

/* Half gray background vertical */
.half-bg-gray {
	background-image: linear-gradient(to bottom, #e9eaeb 50%, #e9eaeb 50.1%, white 50.2%, white 100%);
}

.half-bg-gray-b {
	background-image: linear-gradient(to top, #e9eaeb 90%, #e9eaeb 90.1%, white 90.2%, white 100%);
}

.max-width {
	max-width: 100% !important;
	width: 100% !important;
}

.max-width > * {
	max-width: 1300px;
	margin: 0 auto !important;
}

.line-below {
	position: relative;
}

.line-below:after {
	content : "";
	position: absolute;
	left    : 50%;
	bottom  : 0;
	height  : 1px;
	width   : 30%;  /* or 100px */
	margin-left: -15%;
	border-bottom:2px solid #1D285C;
}

.theme-color {
	color: #1D285C;
	fill:  #1D285C;
}

/* Turn background B/W on hover */

.hover-dim-bg {
	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
	-webkit-filter: grayscale(0%);	
	transition: filter 1s ease-in-out !important;
}

.hover-dim-bg:hover {
	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

/* Elementor Elements */

/* Image Gallery - Captions */

.qodef-image-gallery .qodef-e-caption {
	font-family: 'Josefin Sans';
}

.qodef-image-with-text .qodef-m-title {
    font-family: "Josefin Sans", Sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: #1D285C;
	margin: 10px 0 10px 0;
}

.qodef-image-with-text .qodef-m-text {
    font-family: "Lato", Sans-serif;
    font-size: 15px;
    font-weight: 300;
	color: #000000;
}

.qodef-image-with-text .qodef-m-text h5 {
    font-family: "Josefin Sans", Sans-serif;
    font-size: 21px;
    font-weight: 300;
    font-style: italic;
    color: #1D285C;
	margin: 10px 0 10px 0;
}

.qodef-image-with-text .qodef-m-text li {
    font-size: 16px;
    font-weight: 600;
	list-style: disc !important;
}

/* Testimonials list - slider */

.qodef-testimonials-wrapper {
	background-color: #091733;
	padding-top: 25px;
	padding-bottom: 48px;
}

.qodef-testimonials-wrapper .qodef-e-text {
	max-width: 700px;
	margin: 9px auto 40px auto;
	font-family: "Josefin Sans", Sans-serif;
	font-size: 24px;
	font-weight: 300;
}

.qodef-testimonials-list .qodef-e-author span {
	font-family: "Josefin Sans", Sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #ffffff !important;
}

.qodef-testimonials-wrapper .swiper-button-outside svg {
	display: none; /* Hide the navigation buttons */
	height: 32px;
	color: rgb(255 255 255 / 0%);
	background-repeat: no-repeat;
	background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 39.26 39.63"><path d="M15.12,1.69v.23c0,.17-.02.39-.07.66-.39.69-3.61,5.8-9.66,15.35h32.02c.98,0,1.6.64,1.85,1.92-.05.2-.07.37-.07.52-.34.98-1.11,1.48-2.3,1.48H5.46v.07c4.27,6.73,6.55,10.38,6.87,10.92,1.86,2.77,2.79,4.37,2.79,4.8v.66c-.42.89-.86,1.34-1.31,1.34h-1.2c-.22,0-.52-.17-.89-.52L.96,22.08c-.64-.95-.96-1.59-.96-1.92v-.89C7.23,7.7,10.9,1.9,10.99,1.85c.58-1.23,1.24-1.85,1.99-1.85h.45c.86,0,1.42.56,1.69,1.69h0Z" style="fill:%230a1833;"/></svg>');
}

.qodef-testimonials-wrapper .swiper-button-next {
	transform: rotate(180deg);
	transform-origin: 50% 50%;
	
}

.qodef--quote svg {
	height: 43px;
	color: rgb(255 255 255 / 0%);
	background-repeat: no-repeat;
	background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 41.37 39.52"><path d="M2.62,35.54c1.75,2.65,4.12,3.97,7.12,3.97,2.2,0,4.12-.7,5.77-2.1,1.65-1.4,2.47-3.15,2.47-5.25,0-4-1.35-6.5-4.05-7.5-.2-.1-.67-.3-1.42-.6s-1.2-.5-1.35-.6c-.15-.1-.48-.3-.97-.6-.5-.3-.82-.55-.97-.75-.15-.2-.35-.5-.6-.9-.25-.4-.4-.8-.45-1.2-.05-.4-.07-.9-.07-1.5,0-4.4,1.5-8.1,4.5-11.1,1.6-1.6,3.15-2.95,4.65-4.05.8-1,1.05-1.85.75-2.55-.3-.7-1-.95-2.1-.75C5.3,7.67,0,16.07,0,25.27c0,4.2.87,7.63,2.62,10.27ZM25.87,35.54c1.75,2.65,4.12,3.97,7.12,3.97,2.2,0,4.12-.7,5.77-2.1,1.65-1.4,2.47-3.15,2.47-5.25,0-4-1.35-6.5-4.05-7.5-.2-.1-.67-.3-1.42-.6s-1.2-.5-1.35-.6c-.15-.1-.48-.3-.97-.6-.5-.3-.82-.55-.97-.75-.15-.2-.35-.5-.6-.9-.25-.4-.4-.8-.45-1.2-.05-.4-.07-.9-.07-1.5,0-4.4,1.5-8.1,4.5-11.1,1.6-1.6,3.15-2.95,4.65-4.05.8-1,1.05-1.85.75-2.55-.3-.7-1-.95-2.1-.75-10.6,7.6-15.9,16-15.9,25.2,0,4.2.87,7.63,2.62,10.27Z" style="fill:%23fff;"/></svg>');
}

/* Elementor Element - Price list */

.qodef-pricing-slider .qodef-m-item.qodef-has-image .qodef-m-item-content {
	padding-bottom: 120px;
}

.qodef-pricing-slider .qodef-m-item .qodef-m-item-image img {
	filter: brightness(75%);
}

.qodef-pricing-slider .qodef-m-item-content .qodef-m-title {
	font-family: "Josefin Sans", Sans-serif;
	font-weight: 600;
	font-size: 21px;
	color: #fff;
	text-align: center;
}

.qodef-pricing-slider .qodef-m-price-wrapper .qodef-m-price-label {
	margin: 0;
	font-family: "Josefin Sans", Sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #fff;
}

.qodef-pricing-slider .qodef-m-content,
.qodef-pricing-slider .qodef-m-price-wrapper .qodef-m-price-value {
	display: none;
}

.qodef-pricing-slider .qodef-m-item:hover img {
	filter: grayscale(100%) brightness(0.7);
}

/* Carsten Button */

.vw-button .qodef-button {
	font-size: 0.9vw;
	padding: 10px 10px;
}

@media only screen and (min-width: 1400px) {
	.vw-button .qodef-button {
		padding: 25px 25px;
	}
}


@media only screen and (max-width: 767px) {
	.vw-button .qodef-button {
		font-size: 3vw;
		padding: 40px 50px;
	}
}

/* Homepage Newsletter */
.rejoice-newsletter .qodef-m-title {
	font-family: "Josefin Sans", Sans-serif;
	font-weight: 300;
	font-size: 42px;
	color: #1D285C;
	
}

.rejoice-newsletter .qodef-m-subtitle {
	font-weight: 400;
	font-size: 18px;
    font-family: "Lato", Sans-serif;
	color: #000;
	margin-top: 10px;
}

.rejoice-newsletter .qodef-m-text {
	font-weight: 300;
	font-size: 14px;
    font-family: "Lato", Sans-serif;
	font-style: italic;
	color: #000;
	margin-top: 10px;
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 10px 0 0 0;
	font-weight: 300;
	font-size: 14px;
    font-family: "Lato", Sans-serif;
}

/* Homepage Intro */

@media only screen and (max-width: 1600px) {
	.home-intro .home-intro-text {
		width: 90%;
		margin: 0;
	}
	
}

/* Homepage Pillars */

@media only screen and (max-width: 1600px) {
	.hp-pillar .hp-pillar-text {
		width: 100%;
	}
}

.hp-pillar-text-buttons .qodef-button {
    font-size: 12px;
    padding: 10px 15px;
}

/* Pillars - icon list */
.pillars-icons {
    max-width: 1323px;
}

.pillars-icon {
	max-width: 500px;
}

/* Desktop Header Logo */

#qodef-page-header .qodef-header-logo-link, .qodef-header--vertical #qodef-page-header .qodef-header-logo-link {
    width: 170px;
}

#qodef-page-header-inner.qodef-skin--light .qodef-header-logo-link img.qodef--light {
    width: 100%;
	height: 100%;
}

/* Mobile Header Logo */

@media only screen and (max-width: 1200px) {
	#qodef-page-mobile-header .qodef-mobile-header-logo-link img {
		padding: 1px;
		margin: 0px;
		width: 170px;
		height: 51px;
	}
}

/* Fullscreen Menu Text */

.qodef-fullscreen-menu > ul {
	font-family: "Josefin Sans", Sans-serif;
}

.qodef-fullscreen-menu > ul > li > a {
    font-weight: 300;
    font-size: 30px;
    text-transform: none;
}

.qodef-fullscreen-menu .qodef-drop-down-second-inner ul li>a {
	font-weight: 300;
}

/* Header Search */

.qodef-search-cover-form .qodef-m-form-field {
	font-family: "Lato", Sans-serif !important;
}

.qodef-search-opener .qodef-search-opener-text {
	font-family: "Josefin Sans", Sans-serif;
}