/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*
 * Media Queries
 * 
 * Mobile only 
@media (max-width: 768px) {}
 *
 * Tablet and above
@media (min-width: 769px) {}
 *
 * Tablet only 
@media (min-width: 769px) and (max-width: 1024px) {}
 *
 * Tablet and smaller 
@media (max-width: 1024px) {}
 *
 * Desktop only 
@media (min-width: 1025px) {}
*/

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.flex {
	display: flex !important;
}

.site-header {
	z-index: 2;
}

/* center logo */

@media(min-width: 769px) {
    .inside-header>.site-branding,
    .inside-header>.navigation-branding,
    .inside-header>.site-logo,
    .site-branding-container,
    #site-navigation .navigation-branding .site-logo,
    #sticky-navigation .navigation-branding {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    #site-navigation {
        margin-left: unset !important;
        display: flex;
    }

    .site-header .main-navigation:not(#sticky-navigation) .inside-navigation {
        margin: unset;
    }

    #site-navigation,
    #primary-menu,
    .main-navigation .inside-navigation {
        flex: 1;
    }

    /* Change nth-child(#) to first item to right */
    .main-navigation ul li:nth-child(4) {
        margin-left: auto;
    }
}

/* main navigation */

.main-navigation.sub-menu-right {
	border-top: 1px solid #3e4f64;
}

/* angle card */

.angle-card {
	clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.buy-card {
	clip-path: polygon(0 0, 100% 0, 100% 87%, 87% 100%, 0 100%);
}

/* cat component */

.c-cat-2 {
	position: relative;
	z-index: 3;
}

.c-cat-1::before,
.c-cat-1::after {
	aspect-ratio: 930 / 52;
	background-image: url(/wp-content/uploads/2026/02/cat-flat-top.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	content: '';
	display: block;
	left: 50%;
	position: absolute;
	top: 2px;
	transform: translate(-50%, -100%);
	width: 65%;
	z-index: 2;
}

.c-cat-1::after {
	aspect-ratio: 471 / 32;
	background-image: url(/wp-content/uploads/2026/02/cat-flat-bottom-1.svg);
	bottom: 6px;
	top: unset;
	transform: translate(-50%, 100%);
}

.c-cat-2::after {
	aspect-ratio: 465 / 26;
	background-image: url(/wp-content/uploads/2026/02/form-bottom.svg);
}

/* hero video */

.hero-bg {
	position: relative;
}

.background-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-hero-content {
	position: relative;
	z-index: 5;
}

/* map */

.pb-map {
	height: 600px;
}

.gm-ui-hover-effect {
  display: none !important;
}

.map-logo-container,
.map-logo-container img {
	max-width: 100%;
}

.map-location span {
	display: block;
	font-size: 17px;
	line-height: 1.3;
	margin-top: 6px;
}

.map-location-name,
.map-location-phone {
	font-weight: 700;
	font-size: 22px;
}
