/*
 Theme Name:   I'mportant
 Theme URI:    https://importantspeaking.com
 Description:  Child theme of GeneratePress created by Holland Adhaus.
 Author:       Holland Adhaus
 Author URI:   https://hollandadhaus.com
 Template:     generatepress
 Version:      1.1
*/

/**
 * HA
 */

/* Hide featured images used for preload */
.page .featured-image.page-header-image {
    display: none !important;
    visibility: hidden !important;
}

/* Navigation transitions */
.main-navigation a, 
.main-navigation .menu-toggle, 
.main-navigation .menu-bar-items, 
.main-navigation a:hover, 
.main-navigation .menu-toggle:hover, 
.main-navigation .menu-bar-items:hover, 
.main-navigation a:active, 
.main-navigation .menu-toggle:active, 
.main-navigation .menu-bar-items:active, 
.main-navigation a:focus, 
.main-navigation .menu-toggle:focus, 
.main-navigation .menu-bar-items:focus {
    transition: color .2s ease, background .2s ease !important;
}

/* Elementor icon list and nav menu transitions */
.elementor-nav-menu a, 
.elementor-nav-menu a:hover, 
.elementor-nav-menu a:active, 
.elementor-nav-menu a:focus, 
.elementor-icon-list-item a span, 
.elementor-icon-list-item a:hover span, 
.elementor-icon-list-item a:focus span, 
.elementor-icon-list-item a:active span, 
.elementor-social-icon *,
.elementor-social-icon:hover *,
.elementor-social-icon:focus *,
.elementor-social-icon:active * {
    transition: all .2s ease !important;
} 

/* Elementor lazy load carousel/swiper compat */
.swiper-slide-image.swiper-lazy.lazy-hidden, 
.entry img.swiper-slide-image.swiper-lazy.lazy-hidden, 
img.thumbnail.swiper-slide-image.swiper-lazy.lazy-hidden {
    opacity: 1 !important;
}

/**
* Custom
*/

/* Nav */
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, 
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, 
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, 
.main-navigation .menu-bar-item:hover > a, 
.main-navigation .menu-bar-item.sfHover > a {
    transition: color .2s ease, background .2s ease !important;
}

/* Search icon position adjustment */
 .main-navigation .inside-navigation .menu-bar-items .icon-search {
    vertical-align: -2px;
}

/* Search */
 .search-modal-form {
    border-radius: 2rem;
} 
footer .elementor-search-form--skin-minimal:focus-within {
    outline: none !important;
}

/* GP Back To Top */
.generate-back-to-top {
    /* border-radius: 6px; */
    transition: opacity .2s ease, background-color .2s ease !important;
}
.generate-back-to-top:hover,
.generate-back-to-top:active,
.generate-back-to-top:focus {
    transition: opacity .2s ease, background-color .2s ease !important;
}

.elementor-lightbox {
    z-index: 10000;
}
.elementor-lightbox .dialog-lightbox-close-button {
    background: rgba(255,255,255,0.8);
    border-radius: 10000px;
    color: var(--contrast);
    text-decoration: none !important;
    padding: .5rem;
}
.elementor-lightbox .dialog-lightbox-close-button:hover, 
.elementor-lightbox .dialog-lightbox-close-button:active, 
.elementor-lightbox .dialog-lightbox-close-button:focus {
    background: rgba(255,255,255,1);
    color: var(--contrast);
    text-decoration: none !important;
}
.elementor-lightbox .dialog-lightbox-close-button i {
    font-size: 1.5rem;
    font-weight: 900;
}

ul.ul-2col {
    columns: 2;
}

/* Full-width button */
.btn-full-width a {
    width: 100%;
}

.elementor-social-icon-instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
	.dialog-lightbox-close-button.dialog-close-button, .dialog-lightbox-close-button.dialog-close-button:hover {
    background: #000;
}
	.menu-nav-area nav ul li.current_page_item.menu-item-135 a {
    padding-bottom: 8px !important;
}
	.bullet-point-section img {
    margin-top: 4px;
}
	span.residence-area {
    font-weight: 500;
}
	.faq-page-section .elementor-accordion-item {
    margin-bottom: 10px;
    border-top: 1px solid #d5d8dc!important;
    padding: 5px 0px;
		border-radius:10px;
}
.elementor-widget-accordion .elementor-active .elementor-accordion-icon, .elementor-widget-accordion .elementor-active .elementor-accordion-title {
    color: #ee1a2a !important;
}
	div#content div#primary{
    width: 100% !important;
}
		div#content .is-right-sidebar {
    width: 0 !important;
}
	.inside-article {
    padding: 0 40px !important;
}
	.meet-the-heading{
	transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: ease-out;
		}
	.meet-the-heading:hover{
		transform: translateY(-8px) !important;
	}
	.post-image:not(:first-child), .entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child){
		margin-top: 1em;
	}
input.elementor-search-form__input::-webkit-search-cancel-button {
        -webkit-appearance: none;
		color:#fff;
		fill: #fff;
}
	nav.elementor-nav-menu--main.elementor-nav-menu__container.elementor-nav-menu--layout-horizontal.e--pointer-underline.e--animation-none ul li a {
    padding-left: 0;
    padding-right: 0;
}
	li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children.menu-item-121 ul li a {
    padding-left: 20px;
    padding-right: 20px;
}
	.footer_link ul li a:hover {
    text-decoration: underline;
    text-decoration-color: #fff;
}
	a.highlight-line {
    text-decoration: underline;
    text-decoration-color: #0069ab;
}
	@media screen and (max-width:430px){
.bullet-point-section .elementor-image-box-wrapper {
    display: flex;
}
		.bullet-point-section	figure.elementor-image-box-img{
			    padding-right: 3px;
		}
			.menu-nav-area nav ul li.current_page_item.menu-item-135 a {
    padding-left: 20px !important;
}
	}

    .gform-button--width-full {
        --gf-local-width: 100% !important;
      }
      .gform-theme--foundation .gform_fields {
        --gf-form-gap-y: 20px !important;
      }

      .copyright-bar{
        font-family: "Montserrat";
        font-weight: bold;
    }
    
    .footer-widgets p, .footer-widgets a{
        font-family: "Montserrat";
        font-weight: bold;
        color: #fff;
        text-decoration: none;
    }
    
    .footer-widgets .wp-block-heading{
        font-family: "Montserrat";
        font-weight: bold;
        color: #fff;
    }
    
    .footer-widgets .widget ul li {
        margin-bottom: unset;
    }
    
    
    .footer-widgets .social-links {
        display: flex;
        gap: 0px 8px;
    }
    
    .inside-footer-widgets>div
    {
        flex: unset;
    }
    
    .inside-footer-widgets .footer-widget-1{
        flex: 1 1 30%;
    }
    
    .inside-footer-widgets .footer-widget-2{
        flex: 1 1 20%;
    }
    
    .inside-footer-widgets .footer-widget-3{
        flex: 1 1 20%;
    }
    .inside-footer-widgets .footer-widget-4{
        flex: 1 1 30%;
    }
    
    .check-list ul{
        list-style-image: url('https://important.hollandadhaus.dev/wp-content/uploads/2024/03/check-bullet.png');
    }
/* Homepage hero video */
/* Background video container: fills the hero, behind the content */
#hero .elementor-background-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* then give your content containers higher z-index if needed */
}
/* Video: lock its size, but keep Elementor's centering transform */
#hero .elementor-background-video-hosted {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  /* DON'T touch transform/top/left here – let Elementor keep translate(-50%, -50%) */
}
/* Make sure content sits above the video */
#hero .e-child {
  position: relative;
  z-index: 1;
}