/*
Theme Name: Enfold Child
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:*/

/* Prevent flash of #header_meta in its original DOM position.
   JS (3175.js) moves it into #header_main on document.ready.
   Hide it at its initial position; the more-specific selector below
   un-hides it once JS has moved it inside #header_main. */
#top #header_meta {
    visibility: hidden;
}
#top #header_main #header_meta {
    visibility: visible;
}

/* Prevent CLS from slideshow initializing at 0 height */
.avia-fullwidth-slider .avia-slideshow-inner {
    min-height: 400px;
}

/* Prevent CLS from Enfold JS dynamically setting heights in the banner section.
   Enfold calculates and injects height values via JS on the section, overlay wrapper,
   overlay div, and logo container — pre-setting them in CSS prevents the reflow. */
#av_section_1,
#av_section_1 .av-section-color-overlay-wrap,
#av_section_1 .av-section-color-overlay {
    min-height: 147px;
}
#av_section_1 .container.av-logo-container {
    height: 147px;
    line-height: 147px;
}

/* Contain off-screen caption animations (caption-left/caption-right start at ±2000px) */
.avia-fullwidth-slider {
    overflow-x: hidden;
}

/* Prevent layout shift from image loading — transition: all animates height/width changes.
   Restricting to transform + opacity preserves hover effects without causing CLS. */
.avia-image-container .avia_image,
.avia-image-container .avia-image-overlay-wrap {
    transition: transform 0.7s, opacity 0.7s;
}


/* Heading entrance animations that use translate (bottom-to-top, top-to-bottom, etc.)
   visually pass through adjacent copy/button elements, creating a perceived content shift.
   Replace all translate-based heading animations with a simple fade-in. */
.avia_transform .av-special-heading.avia_start_delayed_animation.bottom-to-top,
.avia_transform .av-special-heading.avia_start_delayed_animation.top-to-bottom,
.avia_transform .av-special-heading.avia_start_delayed_animation.left-to-right,
.avia_transform .av-special-heading.avia_start_delayed_animation.right-to-left {
    animation: avia-fadein 0.8s 1 ease-out;
}

body .competencies-table.avia-data-table.avia_pricing_minimal {
    background: #fff;
    border: 0;
}

body .competencies-table.avia-data-table.avia_pricing_minimal td,
body .competencies-table.avia-data-table.avia_pricing_minimal tr,
body .competencies-table.avia-data-table.avia_pricing_minimal th {
    border: 0;
}

body .competencies-table.avia-data-table.avia_pricing_minimal td,
body .competencies-table.avia-data-table.avia_pricing_minimal th {
    text-align: left;
}

body .competencies-table.avia-data-table.avia_pricing_minimal td:last-child {
    text-align: center;
}

body .competencies-table.avia-data-table.avia_pricing_minimal th:last-child {
    text-align: right;
}

#top .avia-data-table.avia_pricing_minimal tr:nth-child(even) {
    background: #f9f9f9;
}

body #main .av-special-heading .av-special-heading-tag {
    font-size: 60px;
    line-height: 72px;
}

body .section-ttl h2 {
    margin-bottom: 0;
    font-size: 32px;
    line-height: 38px;
}

body .avia_textblock p {
    font-size: 16px;
    line-height: 22px;
}

body .competencies-table.avia-data-table.avia_pricing_minimal th {
    font-size: 32px;
    line-height: 38px;
    color: #1e1e1e;
    font-family: "Tungsten Bold",'HelveticaNeue','Helvetica Neue','Helvetica-Neue';
}

body .competencies-table.avia-data-table.avia_pricing_minimal {
    border: 1px solid rgba(0,0,0,0.2);
    table-layout: auto;
}

body .competencies-table.avia-data-table.avia_pricing_minimal td {
    vertical-align: middle;
    font-size: 16px;
    line-height: 22px;
}

body .competencies-table.avia-data-table.avia_pricing_minimal td img {
    display: block;
    margin: 0 auto;
}

body .competencies-table.avia-data-table.avia_pricing_minimal td:last-child {
    text-align: center;
    width: 100px;
}

body .competencies-table.avia-data-table.avia_pricing_minimal th:last-child {
    text-align: center;
    width: 132px;
}

body .list-section {
   margin-top: 32px;
}

body .avia_textblock ul {
    margin-bottom: 0;
}

html #top .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
    margin-top: 0;
}

body .avia_textblock a {
   transition: all 0.3s ease;
   -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
}

body .avia_textblock a:hover {
    opacity: 0.7;
}

body .center-mob img {
    width: 100%;
    object-fit: cover;
    border-radius: 0;
 }

body .avia-video {
    margin-bottom: 0;
 }

body .wp-caption-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 9px;
    line-height: 16px;
}

.dark-bg {
	background: rgb(0,0,0,0.5);
	padding: 20px;
    border-radius: 10px;
}

.page-ttl.left h1{
	text-align: left;
}

#top input[type="text"],
#top input[type="email"],
#top input[type="tel"]{
    font-family: 'Open Sans', Helvetica,Arial,sans-serif !important; 
}

#top .customer-form input[type="text"],
#top .customer-form input[type="email"],
#top .customer-form input[type="tel"]{
	background: #fff !important;
    color: #222222 !important;
	padding: 9px 10px;
	max-width: 450px;
    border: 1px solid #E2E2E2;
}

body .customer-form .wpforms-form button[type=submit] {
	background-color: #E0D1AA;
	border-radius: 30px;
	color: #222;
	padding: 10px 40px;
	border: 0;
	font-size: 14px;
	line-height: 22px;
	text-transform: uppercase;
	font-weight: 600;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	margin-top: 40px;
}

body .customer-form .wpforms-form button[type=submit]:hover {
	background: #222;
	color: #fff;
	border: 0;
}

body .customer-form.wpforms-container-full .wpforms-form .wpforms-field {
	padding: 0;
}

.mrg-35 {
	margin-bottom: 35px;
    padding-bottom: 0 !important;
}

.mrg-32 {
	margin-bottom: 32px;
	padding-bottom: 0 !important;
}

.wpforms-container-full.customer-form .wpforms-form .wpforms-submit-container {
	padding: 0;
}

.mrg-20 {
	margin-bottom: 20px;
    padding-bottom: 0 !important;
}

.page-ttl.mrg-32 {
	padding-bottom: 0 !important;
}

.discover-wrap .avia-image-container.avia-align-center {
	max-width: 408px;
}

.wpforms-container-full.customer-form .wpforms-form .wpforms-field:last-child input {
	margin-bottom: 0 !important;
}

.form-info {
    max-width: 360px;
}


.section-sm > .container {
	margin: 0 auto;
}

.section-sm .av_one_half:first-child  {
	width: 59%;
}

.section-sm .av_one_half:last-child  {
	width: 39%;
}

.avia-button:focus-visible,
.av-menu-button a:focus-visible,
li a:focus-visible,
div > div > a:focus-visible,
span > a:focus-visible,
.pagination a:focus-visible,
.inner_sidebar li a:focus-visible,
#scroll-top-link:focus-visible,
.wpforms-field-row-block input:focus-visible {
	outline: 2px solid #00adef;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="checkbox"]:focus-visible,
button[type="submit"]:focus-visible,
select:focus-visible {
	outline: 2px solid #00adef !important;
}

a.skip-main {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
    color: #fff;
    background-color:#000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    border-radius: 15px;
    border:2px solid #e0d1aa;
    text-align:center;
    font-size:1.2em;
    z-index:999;
    text-decoration: none;
}

body p#main-wrap {
    visibility: hidden;
    height: 0;
    margin: 0; 
}


@media all and (max-width: 768px) {
	
    .discover-wrap .avia-image-container.avia-align-center {
        margin: 0 auto;
        max-width: none;
    }

    body .customer-form .wpforms-form button[type=submit] {
        margin: 40px auto;
        display: block;
    }
	
	#top .customer-form input[type="text"],
    #top .customer-form input[type="email"],
    #top .customer-form input[type="tel"] {
	    margin: 0 auto 20px auto;
	}
	
	.page-ttl.left h1 {
		text-align: center;
	}
    .form-info {
        margin: 0 auto 20px auto;
    }

    body .form-info h2 {
        text-align: center;
    }
}

@media all and (max-width: 767px) {
    
    .responsive body .avia_responsive_table .avia-data-table td:first-child:before {
        display: none;
    }

    .responsive body .avia_responsive_table .avia-data-table td:first-child {
        text-align: left;
    }

    body .competencies-table.avia-data-table.avia_pricing_minimal td {
        margin: 0 auto;
    }

    body .competencies-table.avia-data-table.avia_pricing_minimal td:last-child {
        padding-top: 0;
    }

    body .section-ttl {
        margin-bottom: 22px;
    }

    body .competencies-table.avia-data-table.avia_pricing_minimal td:last-child,
    body .competencies-table.avia-data-table.avia_pricing_minimal th{
        display: none;
    }
    
    .responsive body .avia_scrollable_table .avia-data-table > tbody > tr > td {
        white-space: initial;
    }

    body .avia_scrollable_table .avia-table {
        width: 100%;
    }
    body .wp-caption-text { 
        position: relative;
        background: #f5f5f5;
        color: #222;
    }
}

@media screen and (max-width: 768px) {
	#header_meta {
	    padding: 12px 0;
    }

    div.wpforms-container-full .wpforms-form label.wpforms-error {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media all and (min-width: 768px) {
    body .list-section ul {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
    body .section-ttl {
        margin-bottom: 32px;
    }
    .wp-caption-text {
        display: block;
    }
    
}

@media all and (max-width: 990px) {
    body #main .av-special-heading .av-special-heading-tag {
        font-size: 46px;
        line-height: 60px;
    }

    body .avia-image-container.center-mob.avia-builder-el-no-sibling  {
        float: none;
        margin: 0 auto;
    }

}

@media all and (min-width: 991px) {
    body .competencies-table.avia-data-table.avia_pricing_minimal.last {
        border-left: 0;
    }
  
}

@media all and (max-width: 991px) {
    #top #av-burger-menu-ul {
		padding-bottom: 50px !important;
	}
    .av-burger-overlay-inner {
		display: block !important;
	}
	.av-burger-overlay-inner .social_bookmarks {
		display: block !important;
		top: 0 !important;
	}
}


@media all and (min-width: 1200px) {
    .section-sm > .container {
        max-width: 1126px;
    }
}

/* MOBILE MENU SOCIAL ICONS */ 

body .av-burger-overlay-inner .social_bookmarks {
	padding-left: 50px;
}
body .av-burger-overlay-inner .social_bookmarks li,
body .av-burger-overlay-inner .social_bookmarks li a {
	width: 50px !important;
	height: 50px !important;
	padding: 0 !important;
}


body .av-burger-overlay-inner .social_bookmarks li  {
	margin-right: 20px !important;
}

body .av-burger-overlay-inner .social_bookmarks li a:before {
	position: absolute;
	top: 50%;
	transform: translatey(-50%);
	left: 0;
	right: 0;
	margin: auto;
	width: fit-content;
}

/* ELEVATOR CUSTOMERS DISCOVER IUEC ADVANTAGE */

body .wpforms-confirmation-container-full p a strong, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) p a strong {
	color: #333;
	border: 0;
}

body .wpforms-confirmation-container-full p a:hover, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) p a:hover {
	color: #333;
}

.hide {
	display: none;
}

body#top .av-flex-placeholder {
	display: none;
}

body#top .flex_column.av_one_half.full-on-submit.active {
	display: block;
	width: 100%;
	margin: 0 auto;
}

body .wpforms-confirmation-container-full, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: rgba(0,0,0, 0.6);
    border: 0;
	padding: 20px;
}


body .wpforms-confirmation-container-full h3, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) h3 {
    color: #fff;
	text-align: center;
	font-size: 32px;
	line-height: 38px;
}

body .wpforms-confirmation-container-full .green, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) .green {
   color: #222;
	font-family: 'open sans',Helvetica,Arial,sans-serif;
		background: #E0FFC7;
	padding: 20px;
	font-size: 16px;
	text-align: center;
	max-width: 1000px;
}
body .wpforms-confirmation-container-full .green a, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) .green a {
   font-weight: 800;
	text-decoration: underline;
	color: #222;
}

body .wpforms-confirmation-container-full .green a:hover, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) .green a:hover {
	text-decoration: none;
	color: #222;
}

body .wpforms-confirmation-container-full .white, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) .white {
	color: #fff;
	font-family: 'open sans',Helvetica,Arial,sans-serif;
	font-size: 16px;
	text-align: center;
}

body .wpforms-confirmation-container-full .white a, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) .white a {
    font-weight: 800;
		color: #fff;
}

body .wpforms-confirmation-container-full .white a:hover, 
body div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) .white a:hover {
		color: #fff;
}

body .wpforms-confirmation-container-full .social-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 48px;
}
body .wpforms-confirmation-container-full .social-wrap img {
	width: 40px;
	height: auto;
}

div.wpforms-container-full .wpforms-form label.wpforms-error {
    top: -20px;
    position: relative;
    color: red;
}

.contact-page-form  div.wpforms-container-full .wpforms-form label.wpforms-error { 
    top: 0;
}

#top .customer-form input[type="text"].wpforms-error,
#top .customer-form input[type="email"].wpforms-error,
#top .customer-form input[type="tel"].wpforms-error {
	border: 2px solid red;
}

.wpgmp-map-3 {
    margin-top: 25px;
}

@media all and (max-width: 1600px) {
	#main .slide-ttl.large {
	   max-width: 1116px;
  }
	#main .slide-ttl.large .av-subheading p {
	    font-size: 16px;
        line-height: 22px;
  }
}


@media all and (min-width: 1600px) {
	#main .slide-ttl.large {
	   max-width: 1310px;
  }
}

.logo {
    max-height: 148px;
    padding-top: 8px;
}

@media all and (min-width: 1024px) and (max-width: 1199.9px){

    body#top #header_main > .container {
        height: 120px;
        line-height: 120px;
    }

    .logo {
        max-height: 100px;
    }

    body#top #header #header_main .av-menu-button > a .avia-menu-text {
        padding: 13px 20px;
        font-size: 13px;
    }

    body#top #header .av-main-nav > li > a {
        font-size: 12px;
    }
}
