/*
Theme Name: Enfold CT
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

:root {
	--alfa__font-main: 'bitter', Arial, sans-serif;
	--alfa__font-main-var: 'bitter-flex', Arial, sans-serif;
	--alfa__font-copy: 'barlow', Arial, sans-serif;
	--alfa__font-copy-var: 'barlow', Arial, sans-serif;
	--alfa__color-blue: #0050a0;
	--alfa__color-green: #95c22c;
	--alfa__color-green: #a0daf7;
	--alfa__color-black: #000000;
	--alfa__color-white: #ffffff;
}

*:focus-visible, .avia-link-column:has(a.av-screen-reader-only:focus-visible) {
	outline: 3px solid var(--alfa__color-blue) !important;
	outline-offset: 2px !important;
}

/* hyphenate texts */
* {
	hyphens: auto;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphenate-limit-chars: 6 3 3 !important;
	-webkit-hyphenate-limit-before: 3; /* For Safari */
	-webkit-hyphenate-limit-after: 3; /* For Safari */
	-ms-hyphenate-limit-chars: 6 3 3;
}

/* Variable Fonts */
h1.av-special-heading-tag, h2.av-special-heading-tag, h3.av-special-heading-tag, h4.av-special-heading-tag, h5.av-special-heading-tag, h6.av-special-heading-tag, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading {
	font-family: var(--alfa__font-main) !important;
}

.av-special-heading-h1 .av-subheading_above p, .av-special-heading-h2 .av-subheading_above p, .av-special-heading-h3 .av-subheading_above p, .iconbox .iconbox_content_container  {
	font-family: var(--alfa__font-copy) !important;
}

.av_textblock_section {
	font-family: var(--alfa__font-copy) !important;
}

@supports (font-variation-settings: normal) {
	h1.av-special-heading-tag, h2.av-special-heading-tag, h3.av-special-heading-tag, h4.av-special-heading-tag, h5.av-special-heading-tag, h6.av-special-heading-tag, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading {
		font-family: var(--alfa__font-main-var) !important;
	}
	
	.av-special-heading-h1 .av-subheading_above p, .av-special-heading-h2 .av-subheading_above p, .av-special-heading-h3 .av-subheading_above p, .iconbox .iconbox_content_container {
		font-family: var(--alfa__font-copy-var) !important;
	}
	
	.av_textblock_section {
		font-family: var(--alfa__font-copy-var) !important;
	}
}


#avia-menu > li > a > .avia-menu-text {
	font-size: 1.3em !important;
}

.sub-menu > li > a > .avia-menu-text {
	font-size: 1.3em !important;
}


.civist-widget {
   display: flex;
   flex-direction: row-reverse;
}

.civist-widget__civist-progress {
   width: 40%;
   padding-left: 6%;
}

.civist-widget__civist-form {
   max-width: 60%;
}

.civist-widget .civist-progress {
	padding-left: 40px;
	padding-right: 40px;
}

.civist-widget .civist-progress__civist-progress-headings * {
	text-align: center !important;
}

.civist-widget .civist-progress__civist-progress-headings .civist-progress-headings-name {
	width: auto !important;
	padding: 20px 40px !important;
	text-align: right;
	transform: skew(0deg, -2deg);
	border-radius: 0px 42px 42px 42px;
	color: #fff !important;
	background-color: #0050a0;
	text-transform: uppercase;
}

.civist-widget .civist-progress__civist-progress-headings .civist-progress-headings-name * {
	color: #fff !important;
}

.civist-widget .civist-progress-values__civist-progress-values-value {
	text-align: center !important;
	width: 50% !important;
	padding: 20px 40px !important;
	text-align: right;
	transform: skew(0deg, -2deg);
	border-radius: 42px 0px 42px 42px;
	color: #fff !important;
	background-color: #95c22c;
	text-transform: uppercase;
	margin-top: -15px;
	min-width: 200px;
	margin-left: 30%;
	min-width: 100px !important;
}

.civist-widget .civist-progress-values__civist-progress-values-value * {
	color: #fff !important;
	font-weight: bold !important;
}

.civist-widget__civist-progress {
	padding-bottom: 30px !important;
}

.civist-widget-form__iframe .jss48 {
	display: none !important;
}

.alfa__spalten-sprechblase {
   border-radius: 25px;
   border-top-right-radius: 0px;
}

.avia-button, .av-menu-button-colored > a .avia-menu-text, .av-menu-button-bordered > a .avia-menu-text {
   border-radius: 22px 0px 22px 22px !important;
}

.av-menu-button-colored > a .avia-menu-text {
   background-color: #a0daf7 !important;
   border-color: #a0daf7 !important;
}

.logo {
	position: absolute !important;
   	margin-top: 18px !important;
	transform: translateX(25%) scale(1.5);
}

.widget_media_image {
	text-align: right !important;
}

.widget_media_image .image {
	width: 250px !important;
	max-width: 100% !important;
}

.avia_textblock strong {
	color: var(--alfa__color-black) !important;
}

.logo {
	display: none !important;
}

.alfa__image-250 img {
	max-width: 100% !important;
	width: 250px !important;
}

.avia_textblock p a {
	color: var(--alfa__color-black) !important;
	text-decoration: underline !important;
	font-weight: normal !important;
	transition: all .3s ease-in-out;
}

.avia_textblock p a:hover {
	color: var(--alfa__color-blue) !important;
}

@media screen and (max-width: 768px) {
   .civist-widget {
      display: block;
   }

   .civist-widget__civist-progress {
      width: 85%;
      padding-left: 0;
   }

   .civist-widget__civist-form {
      max-width: 85%;
   }
	
	.alfa__image-mobile-centered .widget_media_image, .alfa__image-mobile-centered .avia-image-overlay-wrap {
		text-align: center !important;
	}
	
	.alfa__image-mobile-centered.avia-image-container {
		width: 100% !important;
	}
	
	.alfa__image-mobile-centered .avia-image-overlay-wrap img {
		display: inline-block !important;
	}
}