/*
Theme Name: Enfold Child
Theme URI: www.kriesi.at/themes/enfold/
Description: Enfold Child Theme
Template: enfold
 Version: 1.0.0
*/

@import url("../enfold/style.css");

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   01. Base & Global Elements
   02. Typography Helpers
   03. Header, Logo & Header Meta
   04. Hero Overlays & Subpage Hero
   05. Responsive Heading Sizing
   06. Buttons
   07. Promo Buttons & Fancy Boxes
   08. Floating Promo Boxes (blue / brown)
   09. Icon Lists
   10. Sections & Dividers
   11. Images & Video
   12. Team Grid
   13. Line Breaks
   14. Footer
   15. Media Queries
   ========================================================================== */

/* ==========================================================================
   01. BASE & GLOBAL ELEMENTS
   ========================================================================== */

body {
	font-weight: 400 !important;
	letter-spacing: 0em !important;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500 !important;
	text-transform: none !important;
	line-height: 1.3em !important;
	letter-spacing: -0.02em !important;
}

strong, b {
	color: inherit !important;
}

img {
	image-rendering: auto !important;
}

.container_wrap {
	border-top-width: 0px !important;
}

/* ==========================================================================
   02. TYPOGRAPHY HELPERS
   ========================================================================== */

.special_amp {
	font: inherit !important;
	color: inherit !important;
}

.gold-strong strong {
	color: #c58233 !important;
}

.no-break-phone {
	white-space: nowrap !important;
}

/* --- Serif text styles --- */
.text-style1.avia_textblock {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 500 !important;
	line-height: 1.3em !important;
}

.fancy-text-sans {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	line-height: 1.5em !important;
	letter-spacing: -0.02em !important;
}

/* --- Heading accent colours (1–7) --- */
.heading-accent {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #88bfd3 !important;
}

.heading-accent2 {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #5198b7 !important;
}

.heading-accent3 {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #1b363f !important;
}

.heading-accent4 {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #6b523e !important;
}

.heading-accent5 {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #503834 !important;
}

.heading-accent6 {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #562e3f !important;
}

.heading-accent7 {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	color: #315F74 !important;
}

/* ==========================================================================
   03. HEADER, LOGO & HEADER META
   ========================================================================== */

#header_main {
	border-bottom-width: 0px !important;
	background: #315F74 !important;
}

.av_header_transparency #header_main {
	background: transparent !important;
}

/* --- Logo --- */
.logo img, .logo svg {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

@media only screen and (max-width: 767px) {
	.logo img {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}
}

/* --- Header meta bar --- */
#header_meta {
	border-bottom-width: 0px !important;
}

.av_header_transparency #header_meta {
	border-bottom: none !important;
}

#header_meta a {
	line-height: 1em !important;
}

.sm-menu-button a {
	background: #3f768d !important;
	color: #ffffff !important;
	padding-top: 10px !important;
	padding-bottom: 9px !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	line-height: 1em !important;
	margin-top: -1px !important;
}

.sm-menu-button a:hover {
	color: #315F74 !important;
	background: #EBF6FA !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* ==========================================================================
   04. HERO OVERLAYS & SUBPAGE HERO
   ========================================================================== */

.home-hero .av-section-color-overlay {
	opacity: 1 !important;
	background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 25%,rgba(0,0,0,0.0) 100%) !important;
}

.home-hero-white .av-section-color-overlay {
	opacity: 1 !important;
	background: linear-gradient(to top, rgba(255,255,255,1.0) 0%,rgba(255,255,255,0.7) 25%,rgba(255,255,255,0.1) 100%) !important;
}

.home-hero-gold .av-section-color-overlay {
	opacity: 1 !important;
	background: linear-gradient(to top, rgba(197, 130, 51, 1.0) 0%,rgba(197, 130, 51,0.7) 25%,rgba(197, 130, 51, 0.2) 100%) !important;
}

.home-hero-blue .av-section-color-overlay {
	opacity: 1 !important;
	background: linear-gradient(to top, rgba(21, 42, 61, 1.0) 0%,rgba(21, 42, 61, 0.7) 25%,rgba(21, 42, 61, 0.2) 100%) !important;
}

/* --- Subpage hero heading --- */
.subpage-hero-heading .av-subheading {
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	border-left: solid 6px #503834 !important;
	padding-left: 8px !important;
	padding-top: 3px !important;
	line-height: 1em !important;
	margin-bottom: 8px !important;
	font-weight: 400 !important;
}

/* ==========================================================================
   05. RESPONSIVE HEADING SIZING
   --------------------------------------------------------------------------
   Order matters: the 1080px block must stay after the 1280px block so its
   smaller size and larger top spacing win below 1080px.
   ========================================================================== */

@media only screen and (max-width: 1280px) {
	.large-h1 h1, .large-h2 h2 {
		font-size: 0.75em !important;
	}
	.top-spacing.av-special-heading {
		margin-top: 120px !important;
	}
}

@media only screen and (max-width: 1080px) {
	.large-h2 h2 {
		font-size: 0.7em !important;
	}
	.top-spacing.av-special-heading {
		margin-top: 150px !important;
	}
}

/* ==========================================================================
   06. BUTTONS
   ========================================================================== */

.avia-button .avia_iconbox_title {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
}

.av-icon-on-hover .avia_button_icon {
	overflow: visible;
}

/* ==========================================================================
   07. PROMO BUTTONS & FANCY BOXES
   ========================================================================== */

.promo-btn .avia-button {
	font-size: 18px !important;
}

.fancybox01 {
	border-left: 2px dotted #ffffff !important;
}

.fancybox02 {
	border-right: 2px dotted #ffffff !important;
}

@media only screen and (max-width: 989px) {
	.promo-btn .avia-button {
		font-size: 16px !important;
	}
	.fancybox01 {
		border-left: 0px dotted #ffffff !important;
	}
	.fancybox02 {
		border-right: 0px dotted #ffffff !important;
	}
}

/* ==========================================================================
   08. FLOATING PROMO BOXES (BLUE / BROWN)
   ========================================================================== */

.blue-promobox, .brown-promobox {
	position: absolute !important;
	top: 0px !important;
	z-index: 999 !important;
}

.blue-promobox .av_promobox {
	border-width: 0px !important;
	margin: 0px !important;
	background: #315F74 !important;
	border-radius: 24px !important;
	padding: 50px !important;
}

.brown-promobox .av_promobox {
	border-width: 0px !important;
	margin: 0px !important;
	background: #6b523e !important;
	border-radius: 24px !important;
	padding: 50px !important;
}

.blue-promobox .avia-promocontent, .brown-promobox .avia-promocontent {
	font-family: 'noto-serif', Helvetica, Arial, sans-serif !important;
	font-weight: 500 !important;
	line-height: 1.8em !important;
	color: #ffffff !important;
	margin-right: 380px !important;
}

.blue-promobox p, .brown-promobox p {
	margin: 0px !important;
	font-size: 22px !important;
}

/* --- Promo box button --- */
.blue-promobox .avia-button, .brown-promobox .avia-button {
	background: #a1e1fd !important;
	color: #315F74 !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.blue-promobox .avia-button:hover, .brown-promobox .avia-button:hover {
	opacity: 1 !important;
	background: #EBF6FA !important;
	color: #315F74 !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* ==========================================================================
   09. ICON LISTS
   ========================================================================== */

.avia-icon-list li:last-child {
	padding-bottom: 0px !important;
}

.iconlist-sm-bold .av_iconlist_title {
	font-weight: 700 !important;
}

/* --- small-iconlist --- */
.small-iconlist.avia-icon-list-container {
	margin: 0px !important;
}

.small-iconlist .avia-icon-list .iconlist_icon {
	height: 44px !important;
	width: 44px !important;
	line-height: 44px !important;
	font-size: 22px !important;
	margin-right: 16px !important;
}

.small-iconlist .iconlist-timeline {
	display: none !important;
}

.small-iconlist .avia-icon-list li {
	padding-bottom: 8px !important;
}

.small-iconlist .avia-icon-list li:last-child {
	padding-bottom: 0px !important;
}

/* --- contact-iconlist --- */
.contact-iconlist.avia-icon-list-container {
	margin: 0px !important;
}

.contact-iconlist p {
	line-height: 1.2em !important;
	margin: 0px !important;
}

.contact-iconlist .iconlist_icon {
	line-height: 2.2em !important;
	height: 1em !important;
}

.contact-iconlist-lg .iconlist_icon {
	line-height: 1.7em !important;
	height: 1em !important;
}

@media only screen and (max-width: 989px) {
	.contact-form-section .content {
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}
}

/* --- cta-iconlist --- */
.cta-iconlist .iconlist_icon {
	height: 1.1em !important;
	line-height: 1.1em !important;
}

.cta-iconlist h2 {
	margin-bottom: 0px !important;
}

.cta-iconlist a {
	text-decoration: none !important;
}

/* ==========================================================================
   10. SECTIONS & DIVIDERS
   ========================================================================== */

.section-float.avia-section {
	min-height: 0px !important;
}

.inset-shadow.avia-section {
	-webkit-box-shadow: inset 0px 16px 15px -14px rgba(0,0,0,0.5) !important;
	box-shadow: inset 0px 16px 15px -14px rgba(0,0,0,0.5) !important;
}

.dotted-border .hr-inner {
	border-style: dotted !important;
}

/* ==========================================================================
   11. IMAGES & VIDEO
   --------------------------------------------------------------------------
   NOTE: `.video-background { height: 700px: hidden; }` is not valid CSS —
   the browser discards it, so the wrapper has no height. Looks like
   `height: 700px; overflow: hidden;` merged into one line. Left as-is.
   ========================================================================== */

.img-radius-16 img {
	border-radius: 16px !important;
}

.avia_desktop .av-hover-overlay-active .av-masonry-image-container {
	opacity: 1 !important;
}

.avia-video {
	margin-bottom: 20px !important;
}

/* --- Video background --- */
.video-background {
	position: absolute;
	width: 100%;
	height: 700px: hidden;
}

.video-background video {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;  /* Ensures the video covers the entire div */
	z-index: -1;  /* Keeps the video in the background */
	border-radius: 1px;
}

/* ==========================================================================
   12. TEAM GRID
   ========================================================================== */

.team-grid .grid-entry-title {
	font-size: 1em !important;
	color: #315f74 !important;
}

@media only screen and (max-width: 989px) {
	.team-grid .grid-entry-title {
		font-size: 14px !important;
	}
}

.team-grid .grid-entry-excerpt {
	font-size: 0.65em !important;
	line-height: 1.8em !important;
	color: #333a3f !important;
	font-style: normal !important;
}

.team-grid .grid-entry .inner-entry {
	box-shadow: none !important;
}

/* Old Team Grid Masonry Element Styles
.av-inner-masonry-content-pos-content {
	text-align: center !important;
}

.av-inner-masonry-content-pos-content .entry-title, .grid-entry-title.entry-title {
	font-size: 18px !important;
	color: #315f74 !important;
}

.team-grid .av-masonry-entry-content {
	font-size: 0.6em !important;
	line-height: 1em !important;
}
*/

/* ==========================================================================
   13. LINE BREAKS
   --------------------------------------------------------------------------
   Hidden on tablet, restored on phone. Order matters — keep 767px after 989px.
   ========================================================================== */

@media only screen and (max-width: 989px) {
	br.line-break {
		display: none !important;
	}
}

@media only screen and (max-width: 767px) {
	br.line-break {
		display: inherit !important;
	}
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

#footer {
	padding: 0px !important;
}

#footer p {
	margin: 0px !important;
}

#footer a {
	text-decoration: none !important;
}

/* --- Footer icon lists --- */
#footer .avia-icon-list-container {
	margin: 0px !important;
}

#footer .avia-icon-list li {
	line-height: 1em !important;
}

#footer .iconlist_title_small {
	line-height: 1em !important;
}

#footer .av-iconlist-small .iconlist_icon {
	line-height: 1.1em !important;
}

/* --- Footer logo --- */
.footer-logo {
	width: 100px !important;
	height: auto !important;
}

@media only screen and (max-width: 989px) {
	.footer-logo {
		width: 120px !important;
		height: auto !important;
	}
}

/* ==========================================================================
   15. MEDIA QUERIES
   ========================================================================== */

/* --- Main nav: collapse below 1150px --- */
@media only screen and (max-width: 1150px) {
	.av-main-nav > li.menu-item-avia-special {
		display: block !important;
	}
	.av-main-nav > li {
		display: none !important;
	}
}