/*
Theme Name:		sontex
Theme URI:		https://www.wcd.ch
Author:			weiss communication+design ag
Author URI:		https://www.wcd.ch/agentur/
Version:		5.2
Description:	sontex
License:		GNU General Public License v2.0 & Apache License 2.0
License URI:	http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
Text Domain:	sontex
*/

body{
	overflow-y: scroll;
}
p:empty,
p:empty:before{
	display: none;
}
img{
	max-width: 100%;
	height: auto;
}

/* contact form 7 */
.wpcf7{
	position: relative;
}
.wpcf7-not-valid-tip{
	display: none !important;
}
div.wpcf7 .ajax-loader{
	position: absolute;
}
.wpcf7-spinner{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	height: auto;
	border-radius: 0;
	margin: 0;
	background: none;
}
.wpcf7-spinner::before{
	z-index: 2;
	top: calc( 50% - 8px );
	left: calc( 50% - 8px );
}
.wpcf7-spinner::after{
	content: '';
	width: 24px;
	height: 24px;
	background: rgb(35 40 45 / 75%);
	display: block;
	position: absolute;
	z-index: 1;
	top: calc( 50% - 12px );
	left: calc( 50% - 12px );
	border-radius: 50%;
}
.wpcf7 form .wpcf7-response-output{
	margin: 0 0 32px;
	padding: 12px 16px;
	background: #FFF8F7;
	border: 0;
	border-left: 2px solid #EC3D2D;
	color: var(--wp--preset--color--font-colors-font-dark-1);
}
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output{
	border-color: #EC3D2D;
}

#referenceModal{
	--bs-modal-box-shadow: none;
	--bs-modal-width: 1600px;
	--bs-modal-padding: 56px 0;
	--bs-modal-border-width: 0;
	--bs-modal-border-radius: 0;
	--bs-modal-box-shadow: none;
	--bs-modal-inner-border-radius: 0;
}
#referenceModal .modal-body{
}
#referenceModal button.btn-close{
	position: absolute;
	z-index: 10;
	top: 20px;
	right: 20px;
	opacity: 1;
	width: 32px;
	height: 32px;
	padding: 0;
	background: var(--icon-close) center/contain no-repeat;
}
#referenceModal .products-links{
	margin-top: 48px;
}
#referenceModal .carousel-item{
	text-align: center;
}

.references-nav{
	position: absolute;
	bottom: 56px;
	right: calc( 8.333% + var(--bs-gutter-x) * .5 );
	display: flex;
	align-items: center;
	gap: 8px;
}
.references-nav a:after{
	display: block;
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="31" height="30" fill="none" viewBox="0 0 31 30"><circle cx="16" cy="15" r="15" fill="%23697985"/><path stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m15 12 3 3-3 3"/></svg>');
	font-size: 0;
	line-height: 1;
}
.references-nav a.prev:after{
	transform: rotate(180deg);
}

body .klaro .cookie-notice:not(.cookie-modal-notice){
	z-index: 2000;
}

body .klaro label{
	margin-bottom: 0px;
    font-size: 14px;
}

.wpcf7 .after-send{
	display: none;
}

.search-header{
	padding: var(--section-padding);
}
.search-wrapper input{
	width: 100%;
}

.section-padding{
	padding: var(--section-padding);
}

.term-content-section .row{
	gap: 32px 0;
}

.search-form-wrapper{
	position: relative;
}
.search-form-wrapper [type=text]{
	width: 100%;
}
.search-form-wrapper [type=submit]{
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 12px;
}
#search_nav{
	background: var(--wp--preset--color--background-colors-bg-light-2);
	border-bottom: 1px solid #EBEBEB;
}
#search_nav .nav{
	gap: 28px;
}
#search_nav a{
	position: relative;
	padding: 18px 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--font-colors-font-dark-1);
	text-decoration: none;
}
#search_nav a span{
	font-weight: 400;
}
#search_nav a.active{
	color: var(--wp--preset--color--main-colors-orange);
}
#search_nav a.active:after{
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background: var(--wp--preset--color--main-colors-orange);
	position: absolute;
	bottom: -1px;
	left: 0;
}
#search_results{
	padding-bottom: 100px;
	background: var(--wp--preset--color--background-colors-bg-light-1);
}
#search_results .stats{
	padding: 32px 0 16px;
	color: var(--wp--preset--color--font-colors-font-dark-2);
}

.search-result{
	position: relative;
	padding: 32px 0;
	padding-right: 20%;
	border-bottom: 1px solid #EBEBEB;
}
.search-result:after{
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="8" fill="none" viewBox="0 0 5 8"><path stroke="%232a363c" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m1 1 3 3-3 3"/></svg>');
	pointer-events: none;
	font-size: 0;
	line-height: 1;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
.search-result a{
	color: var(--wp--preset--color--font-colors-font-dark-2);
	text-decoration: none;
}
.search-result .title{
	margin-bottom: 8px;
	font-weight: 700;
	line-height: 1.3125;
	letter-spacing: 0.1em;
	color: #00131f;
	text-transform: uppercase;
}
.search-result .excerpt p{
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.grey-box{
	margin: 96px 0 0;
	padding: 96px 0;
	background: #f7f7f7;
}
.grey-box .nav{
	gap: 12px;
}

@media (max-width: 991px){
	#referenceModal .region{
		margin-top: 32px;
	}
	.references-nav{
		position: static;
		margin-top: 40px;
	}
	#search_results{
		padding-bottom: 80px;
	}
}

@media (max-width: 767px){
	#search_nav .nav{
		gap: 18px;
	}
	#search_results{
		padding-bottom: 60px;
	}
	.search-result{
		padding-right: 10%;
	}
}