/*
 Theme Name:   CONFIDENCEapps
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* FONT */

/* oxygen-300 - latin */
@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/ca345e537be0-oxygen-v15-latin-300.eot"); /* IE9 Compat Modes */
  src: local(''),
       url("/assets/fonts/58e456e29847-oxygen-v15-latin-300.eot#iefix") format('embedded-opentype'), /* IE6-IE8 */
       url("/assets/fonts/ed8dc707375d-oxygen-v15-latin-300.woff2") format('woff2'), /* Super Modern Browsers */
       url("/assets/fonts/49ce9e6f6d99-oxygen-v15-latin-300.woff") format('woff'), /* Modern Browsers */
       url("/assets/fonts/92e062577c6c-oxygen-v15-latin-300.ttf") format('truetype'), /* Safari, Android, iOS */
       url("/assets/images/7823f37ae75c-oxygen-v15-latin-300.svg#Oxygen") format('svg'); /* Legacy iOS */
}

/* oxygen-regular - latin */
@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ace9a763bafc-oxygen-v15-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(''),
       url("/assets/fonts/ace9a763bafc-oxygen-v15-latin-regular.eot#iefix") format('embedded-opentype'), /* IE6-IE8 */
       url("/assets/fonts/5ceec93e3f7a-oxygen-v15-latin-regular.woff2") format('woff2'), /* Super Modern Browsers */
       url("/assets/fonts/9f03cc28f0bf-oxygen-v15-latin-regular.woff") format('woff'), /* Modern Browsers */
       url("/assets/fonts/73b4ab5747ea-oxygen-v15-latin-regular.ttf") format('truetype'), /* Safari, Android, iOS */
       url("/assets/images/8a40218ed7ba-oxygen-v15-latin-regular.svg#Oxygen") format('svg'); /* Legacy iOS */
}

/* oxygen-700 - latin */
@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fe3a8f9ff976-oxygen-v15-latin-700.eot"); /* IE9 Compat Modes */
  src: local(''),
       url("/assets/fonts/fe3a8f9ff976-oxygen-v15-latin-700.eot#iefix") format('embedded-opentype'), /* IE6-IE8 */
       url("/assets/fonts/c00bf43c336d-oxygen-v15-latin-700.woff2") format('woff2'), /* Super Modern Browsers */
       url("/assets/fonts/889f6573d887-oxygen-v15-latin-700.woff") format('woff'), /* Modern Browsers */
       url("/assets/fonts/a6c038a932ce-oxygen-v15-latin-700.ttf") format('truetype'), /* Safari, Android, iOS */
       url("/assets/images/c338a9fa798f-oxygen-v15-latin-700.svg#Oxygen") format('svg'); /* Legacy iOS */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

.home #content,
.product-template-default #content,
.page-id-2755 #content {
    padding-bottom: 0;
}

.has-sticky-branding {
	background-color: var(--base-3);
}
#sticky-navigation,
#mobile-header,
.main-navigation:not(.toggled) ul li:hover > ul {
		box-shadow: 0 1px 2px rgba(0,0,0,0.01), 
                0 2px 4px rgba(0,0,0,0.01), 
                0 4px 8px rgba(0,0,0,0.01), 
                0 8px 16px rgba(0,0,0,0.02),
                0 16px 32px rgba(0,0,0,0.02), 
                0 32px 64px rgba(0,0,0,0.02);
}
.main-navigation:not(.toggled) ul li:hover > ul {
	border-radius: .5em;
}
.pswp__bg {
	background: #0d326e;
}
.page-id-6 .widget-title {
	margin-bottom: 1em !important;
}
.bod-block-popup-wrap button.bod-block-title-closer {
	line-height: 0.25;
}
.main-navigation .main-nav ul li.cta a {
	color: var(--accent);
	border-radius: 4px;
	margin: 0 20px;
	line-height: 3em;
	box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
	transition: all .3s ease-in;
}
.main-navigation .main-nav ul li.cta2 a {
	background-color: var(--accent);
	color: var(--base-3);
	border-radius: 4px;
	margin-left: 20px;
	line-height: 3em;
	box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
	transition: all .3s ease-in;
}
.main-navigation .main-nav ul li.cta2:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul {
	color: var(--base);
}
.main-navigation .main-nav ul li.cta a:last-child,
.main-navigation .main-nav ul li.cta2 a:last-child {
	margin-right: 0;
}
.wp-block-video {
	line-height: 0;
}

#footer-widgets.footer-widgets .pt-cv-wrapper p:not(.pt-cv-title) {
	margin-bottom: .8em;
}
.page-id-3987 .footer-widgets .pt-cv-wrapper p.pt-cv-title {
	margin-bottom: .8em;
}


/**Smooth Box-Shadow**/
.smooth-shadow {
	box-shadow: 0 1px 2px rgba(0,0,0,0.01), 
                0 2px 4px rgba(0,0,0,0.02), 
                0 4px 8px rgba(0,0,0,0.03), 
                0 8px 16px rgba(0,0,0,0.04),
                0 16px 32px rgba(0,0,0,0.05), 
                0 32px 64px rgba(0,0,0,0.06);
}

/** Mobile Menu**/
.mobile-header-navigation .gp-icon svg {
	height: 2em;
	width: 2em;
}
.gp-icon.icon-menu-bars {
	vertical-align: middle;
}
.mobile-menu {
	vertical-align: -.25em;
}

.featherlight:last-of-type {
  background: rgba(255,255,255,.9) !important;
}

.entry-content:not(:first-child) {
  margin-top: 1em;
}
.wc-block-grid__product {
	text-align: left;
	border-bottom: 0;
}
.widget_block a {
	text-decoration: none;
}
.widget_block a:hover,
.widget_block a:active,
.widget_block a:focus {
	text-decoration: underline;
}
.wp-block-rank-math-toc-block a {
	text-decoration: none;
}
.wp-block-rank-math-toc-block nav > div > div > a:first-child {
	font-weight: 700;
}
@media screen and (min-width: 1118px) {
	.wp-block-rank-math-toc-block nav > div > div > a:first-child {
		line-height: 3;
	}
}


/* FAQ */

#rank-math-faq .rank-math-list-item {
    margin-bottom: 1em;
    margin-top: 1em;
    border-bottom: 1px solid #ccc;
}

.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
    padding-right: 1em;
    margin-right: 1em;
    font-weight: 300;
	font-size: 1em;
}

.rank-math-question:after {
    position: absolute;
    right: 5px;
    top: 0;
    content: "\2715";
    transform: rotate(-45deg);
    transition: all 150ms ease-in-out;
}

.rank-math-question.collapse:after {
    transform: rotate(0deg);
}

.rank-math-question:hover {
    opacity: 0.8;
}

#toc_container ul {
	list-style: none;
	margin: 0;
}

#toc_container ul ul {
	margin-bottom: .65em;
}

#toc_container li ul li:first-child {
	margin-top: .65em;
}

#toc_container ul li {
	font-size: .9em;
}

/* Contact Form 7 */
.wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
}
input.wpcf7-form-control {
	border-radius: 5px;
	padding: 10px 15px;
}
.wpcf7-form-control.wpcf7-date {
	background-color: var(--base-2);
	border: 1px solid var(--base);
}
.wpcf7-form-control.has-spinner.wpcf7-submit {
	display: inline-flex;
	background-color: var(--accent);
	color: #ffffff;
	font-size: 1.15em;
	padding: 15px 20px;
	border-radius: 4px;
	box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.1);
	transition: all 0.5s ease;
}
.wpcf7-form-control.has-spinner.wpcf7-submit:hover {
	background-color: rgba(4, 95, 181, 0.9);
	color: #ffffff;
}

.wpcf7 input[type="date"]:before {
	content: attr(placeholder) !important;
}
.wpcf7 form .wpcf7-response-output {
	border-radius: .4rem;
	padding: 1rem;
	margin: 2em 0;
}
/* Contact Form 7 */

/*Bestellformular*/

.visible {
	display: block !important;
}

.wpcf7 hr {
	margin: 1em 0;
	height: 3px;
}

.wpcf7 input[type="checkbox"].wpcf7-form-control {
	padding: 0;
}

span[data-name="checkbox-product"] .wpcf7-list-item {
	 display: block;
}

.wpcf7-list-item {
	display: grid;
	margin: 0 0 .35em;
}

.wpcf7-list-item-label {
	margin-left: .25em;
}

.wpcf7 input[type="checkbox"] {
	/* Add if not using autoprefixer */
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	background-color: #fff;
	font: inherit;
	color: currentColor;
	width: 1.2em;
	height: 1.2em;
	border: 0.15em solid currentColor;
	border-radius: 0.15em;
	transform: translateY(-0.075em);
	
	display: inline-grid;
	place-content: center;
}
.wpcf7 input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  
  background-color: CanvasText;
  
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:hover {
	background-color: var(--global-color-10);
	outline: max(2px, 0.15em) solid var(--accent);
	outline-offset: max(2px, 0.15em);
}
input[type="checkbox"]:checked {
	background-color: var(--global-color-10);
	outline: max(2px, 0.15em) solid var(--accent);
	outline-offset: max(2px, 0.15em);
}

.wpcf7 input[type="checkbox"]:checked::before {
  transform: scale(1);
}

:root {
  --form-control-disabled: #959495;
}

input[type="checkbox"]:disabled {
  --form-control-color: var(--form-control-disabled);

  color: var(--form-control-disabled);
  cursor: not-allowed;
}
/** **/

.widget.widget_block .wc-block-grid__product {
	border-bottom: none;
	border-left: none;
	border-right: none;
	text-align: left;
}

.home .widget .pt-cv-title a {
	margin-bottom: .8em !important;
}

.widget .pt-cv-title:hover {
	text-decoration: underline;
}

a.gb-container.gb-container-f60bac7e {
	text-decoration: none !important;
}

.category-news .page-header {
	display: none;
}

/** LPs **/
.wp-block-group.lp {display:flex; gap: 3%;}
.wp-block-group.lp > * {flex:1;}

.lp .icon_text img {}


.lp ol {
	list-style: none;
	counter-reset: my-awesome-counter;
	    position: relative;
}

.lp ol li {
	counter-increment: my-awesome-counter;
	margin: 0.25rem;
}
.lp ol li::before {
	content: counter(my-awesome-counter);
	background: #662974;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: inline-block;
	line-height: 2rem;
	color: white;
	text-align: center;
	margin-right: 0.5rem;
}



/** LPs **/


/* Swiper */

.swiper-zoom-container picture {
	height: 100%;
}
.swiper-zoom-container picture img {
    height: 100%;
    object-fit: contain;
}


/** Swiper **/


/** Responsive Tables **/

@media screen and (max-width: 600px) {	
	table {width:100%;}
	thead {display: none;}
	tr:nth-of-type(2n) {background-color: inherit;}
	tr td:first-child {background: transparent; font-weight:bold;}
	tbody td {display: block; text-align:center;}
	tbody td:before {
		content: attr(data-th);
		display: block;
		text-align:center; 
	}
}

@media screen and (max-width: 768px) {
	#mobile-header span.menu-bar-item .icon-search {
    	display: none;
	}
	.site-logo.mobile-header-logo img,
	.main-navigation.sticky-navigation-transition .site-logo img {
		height: 75px !important;
		width: auto;
	}
	.wpcf7 hr {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}
@media(max-width: 1024px) and (min-width: 600px) {
    .inside-footer-widgets {
        flex-wrap: wrap;
    }
    .inside-footer-widgets > div {
        flex: 1 0 50%;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .site-logo.mobile-header-logo img {
		height: 90px !important;
		width: auto;
	}
	
	.wpcf7 hr {
		margin-top: 20px;
		margin-bottom: 20px;
	}
		
}
@media screen and (min-width: 1025px) and (max-width: 1364px) {
    .site-logo.mobile-header-logo img {
		height: 100px !important;
		width: auto;
	}
}
@media screen and (min-width: 769px) {
    #primary-menu > ul {
        display: flex;
    }
    .slideout-toggle {
        order: -1;
    }
}
@media screen and (max-width: 1364px) {
    .main-navigation .menu-bar-item > a {
		padding-top: 20px;
	}
	.main-navigation .main-nav ul li.cta a {
		margin: .5em 1em;
	}
	.main-navigation .main-nav ul li.cta2 a {
		margin: .5em 1em;
	}
	.main-navigation .main-nav ul li.cta a:last-child,
	.main-navigation .main-nav ul li.cta2 a:last-child {
		margin-right: 1em;
	}
}
