/* 
 Theme Name:   2025Child
 Theme URI:    https://theinternetpresence.com
 Description:  Custom from 2025
 Author:       Michael Rock
 Author URI:   https://theinternetpresence.com
 Template:     twentytwentyfive
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/
.wp-block-cover__inner-container {
    padding: 0px 10px 0px 10px;
}
.topnav{white-space: pre-wrap;}
html
{
  scroll-behavior: smooth;
}
/**************************************************************************/
/* No featured image on the page: add large top padding to the site title */
/**************************************************************************/
body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
{
    padding-top: 5.3rem!important;
	margin-top:0!important;
}
@media (max-width: 1101px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 7rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 781px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 9rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 590px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 10rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 469px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 9rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 445px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 8.5rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 322px)
{
	h1.wp-block-post-title
	{
		font-size:1.5rem;
	}
}
@media (max-width: 300px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 6.5rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 294px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 7.5rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 284px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 8.5rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 243px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 4.5rem!important;
		margin-top:0!important;
		/*font-size:1.5rem;*/
	}
}
@media (max-width: 228px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 6rem!important;
		margin-top:0!important;
	}
}
@media (max-width: 189px)
{
	body:not(:has(.wp-block-post-featured-image)) h1.wp-block-post-title
	{
		padding-top: 7.5rem!important;
		margin-top:0!important;
	}
}

/**************/
/* Site Title */
/**************/
h1.wp-block-post-title {
    max-width: 2560px;
}
/****************/
/* Bread Crumbs */
/****************/
nav.wp-block-breadcrumbs {
    max-width: 2560px;
    padding: 20px !important;
    background-image: url(https://cp2.internetpresencetesting.com/wp-content/uploads/2026/11/breadcrumb-background2.jpg);
    background-size: 100% 100%;
}
/*****************/
/* Location Map  */
/*****************/
div#map_sidebar
{
    display: none;
}
div#slp_info_bubble_1,div#slp_info_bubble_2,div#slp_info_bubble_3,div#slp_info_bubble_4,div#slp_info_bubble_5,div#slp_info_bubble_6,div#slp_info_bubble_7,div#slp_info_bubble_8,div#slp_info_bubble_9,div#slp_info_bubble_10
{
    padding: 10px;
}
/************/
/* carousel */
/************/
.carousel-container {
			max-width:90%;
            margin: 0 auto;
            position: relative;
        }

        .carousel-wrapper {
            overflow: hidden;
            position: relative;
        }

        .carousel-track {
            display: flex;
            scroll-behavior: smooth;
            overflow-x: scroll;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .carousel-track::-webkit-scrollbar {
            display: none;
        }

        .carousel-slide {
            min-width: 300px;
            height: 300px;
            flex-shrink: 0;
            margin-right: 20px;
            position: relative;
        }

        .carousel-slide:last-child {
            margin-right: 0;
        }

        .carousel-slide a {
            display: block;
            width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .image-overlay {
            position: absolute;
            /*bottom: 0;*/
			top:30%;
            left: 0;
            right: 0;
            /*background: rgba(0, 0, 0, 0.6);*/
            color: white;
            padding: 15px;
            text-align: center;
			/*font-size:1.2rem;*/
			font-size:1.5rem;
			font-weight:bold;
        }

        .carousel-arrow {
            position: absolute;
            /*top: 50%;*/
			top:30%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            /*background: rgba(0, 0, 0, 0.5);*/
			background:white;
            /*color: white;*/
			color:black;
            /*border: none;*/
			border:1px solid black;
            cursor: pointer;
            font-size: 24px;
            z-index: 10;
            transition: background 0.3s;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-arrow:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .carousel-arrow.left {
            left: -25px;
            /*border-radius: 0 25px 25px 0;*/
        }

        .carousel-arrow.right {
            right: -25px;
            /*border-radius: 25px 0 0 25px;*/
        }

        @media (max-width: 768px) {
            .carousel-slide {
                min-width: 250px;
                height: 250px;
            }

            .carousel-arrow {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .carousel-arrow.left {
                left: -20px;
                /*border-radius: 0 20px 20px 0;*/
            }

            .carousel-arrow.right {
                right: -20px;
                /*border-radius: 20px 0 0 20px;*/
            }
        }

        @media (max-width: 480px) {
            .carousel-slide {
                min-width: 200px;
                height: 200px;
            }

            .image-overlay {
                font-size: 14px;
                padding: 10px;
            }
        }
/************/
/* Homepage */
/************/
.home h1.wp-block-post-title {
    display: none;
}
.wp-block-cover.is-repeated.featuredin img /* reduce the size of the icons in the featured in block */
{
    width: 5rem;
}
.wp-block-button.slow-hover-button.yellowarrow.has-custom-width.aos-init.aos-animate a {
    background-image: url('https://cp2.internetpresencetesting.com/wp-content/uploads/2026/10/yellow-arrow-button-background-5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background 0.3s ease; /* optional: smoothly fades on hover */
}
p.has-text-align-center.newseventtoplink.has-large-font-size.wp-block-paragraph a {
    text-decoration: none !important;
}
p.has-text-align-center.newseventtoplink.has-large-font-size.wp-block-paragraph a:hover
{
	color:#b34b18;
}
.featuredimagehover:hover {
    transform: translateY(-4px);
}
.featuredimagehover a {
    pointer-events: none !important;
    cursor: default !important;
}
.rounded-video-container {
    border-radius: 16px; /* Adjust the roundness as desired */
    overflow: hidden;    /* Forces the inner video iframe to respect the rounded corners */
}
.headernavlink a:hover /* Phone number color change */
{
    color: #ffd021;
}
.aos-animate {
    z-index: 100;
}
/*************************************************************/
/* Change background color on Submenu with transition effect */
/*************************************************************/
/* Smooth transition on the submenu item links */
.wp-block-navigation-item .wp-block-navigation__submenu-container a,
.nav-menu .sub-menu a,
.main-navigation ul ul a {
    transition: background-color 0.6s ease, color 0.6s ease;
	width:200px; /* Added by me */
}

/* Hover effect for the submenu item links */
.buttonhover,
.main-navigation ul ul a:hover {
    background-color: #faf6ee !important;
}
/*******************************************************************************************/
/* YELLOW UNDERLINE HOVER EFFECT FOOTER On specific paragraph element Class: hover-underline-text */
/*******************************************************************************************/
.hover-underline-text-footer a
{
	text-decoration:none;
}
.hover-underline-text-footer a:hover
{
	text-decoration:underline;
	text-decoration-color:#FFD700;
}
/*******************************************************************************************/
/* YELLOW UNDERLINE HOVER EFFECT On specific paragraph element Class: hover-underline-text */
/*******************************************************************************************/

/* Set up the paragraph */
.hover-underline-text {
    position: relative !important;
    /*display: inline-block !important;*/
    cursor: pointer !important;
    text-decoration: none !important;
}
/* Create the yellow underline */
.hover-underline-text::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #FFD700 !important;
    transition: width 0.5s ease !important;
    border-radius: 2px !important;
    pointer-events: none !important;
}
/* Expand underline on hover */
.hover-underline-text:hover::after {
    width: 100% !important;
}
/**********************************************************************/
/* NAVIGATION HOVER UNDERLINE EFFECT Yellow line slides left to right */
/**********************************************************************/

/* Set up the nav link */
.wp-block-navigation-item__content {
    position: relative !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* Create the yellow underline using ::after */
.wp-block-navigation-item__content::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #FFD700 !important; /* Yellow color */
    transition: width 0.4s ease !important; /* Controls speed */
}

/* On hover expand width from 0 to 100% */
.wp-block-navigation-item__content:hover::after {
    width: 100% !important;
}
/*********************************/
/* Prevent clicking on a gallery */
/*********************************/
.non-clickable-gallery a {
    pointer-events: none;
    cursor: default;
}
/*****************************/
/* Button Hover Color Change */
/*****************************/
/* Smooth transition on the specific button */
.slow-hover-button a, 
.wp-block-button__link.slow-hover-button {
    transition: background-color 0.5s ease, color 0.5s ease !important;
}

.slow-hover-button a:hover, 
.wp-block-button__link.slow-hover-button:hover {
    background-color: #007786 !important;
    color: #fefdff !important;
	/* Optional: slightly lifts the column up by 4px for a 3D effect */
    transform: translateY(-4px);
}
/*********************************************/
/* Button newslettercover Hover Color Change */
/*********************************************/
/* Smooth transition on the specific button */
.newslettercover a, 
.wp-block-button.joinnewsletter {
    transition: background-color 0.5s ease, color 0.5s ease !important;
}

.newslettercover a:hover, 
.wp-block-button.joinnewsletter:hover {
    background-color: #9e3a17 !important;
    color: #fbfdfa !important;
	/* Optional: slightly lifts the column up by 4px for a 3D effect */
    transform: translateY(-4px);
}
/******************************************************************************/
/* Fix scrolling to the right from the wordpress plugin LBC Animate Any Block */
/******************************************************************************/
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}
/* ========================================
   FIX: Keep background 100% wide
   while allowing content padding
======================================== */
.carousel-container,.store_locator_plus.twentytwentyfive,.wp-block-group.alignwide.footercontent.is-layout-flow.wp-block-group-is-layout-flow
{
    max-width: 1280px;
}
/* Footer Link */
p.ipfooterlink a {
    text-decoration: none;
}
/* Top Navigation */
p.topnav a
{
    text-decoration: none;
}
/* Main Navigation Submenu */
:root :where(.wp-block-navigation-submenu) {
    background-color: #fbf6ed;
    color: inherit;
}
ul.wp-block-navigation__submenu-container.has-text-color.has-background.has-white-background-color.navparentlink.wp-block-navigation-submenu
{
    min-width: 340px;
    border: 1px solid var(--cp-line) !important;
    border-radius: 12px;
    box-shadow: 0 24px 48px -16px rgba(8, 63, 70, .35);
    padding: .5rem !important; /* Allows rounded border-radius */
	margin-top:-.3rem;
    translate: 0 6px;
    transition: opacity .2s var(--cp-ease), translate .25s var(--cp-ease), visibility .2s;
}
ul.wp-block-navigation__submenu-container.has-text-color.has-background.has-white-background-color.navparentlink2.wp-block-navigation-submenu
{
    min-width: 225px;
    border: 1px solid var(--cp-line) !important;
    border-radius: 12px;
    box-shadow: 0 24px 48px -16px rgba(8, 63, 70, .35);
    padding: .5rem !important; /* Allows rounded border-radius */
	margin-top:-.3rem;
    translate: 0 6px;
    transition: opacity .2s var(--cp-ease), translate .25s var(--cp-ease), visibility .2s;
}
/*****************************/
/* Cover Image Teal Gradient */
/*****************************/
/* Target the cover block overlay */
.teal-gradient-cover .wp-block-cover__background {
    background: linear-gradient(
        180deg,
        transparent 0%,
        #0f4c5c 100%
    ) !important;
    opacity: 1 !important;
}
/**************************************/
/* Scale Image when you hover over it */
/**************************************/
/* Apply the border radius and mask to the wrapping container */
.zoom-effect {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* Forces Safari and Chrome to respect the border radius during animation */
    webkit-mask-image: -webkit-radial-gradient(white, black); 
}

/* Smoothly prepare the image for the transition */
.zoom-effect img {
    transition: transform 0.3s ease-in-out;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Apply the scale of 1.04 on hover */
.zoom-effect:hover img {
    transform: scale(1.04);
}
/**********************************************/
/* Prepare the column for a smooth transition */
/**********************************************/
.hover-shadow-column {
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0); /* Invisible initial state */
}

/* Apply the drop shadow when the cursor is over the column */
.hover-shadow-column:hover {
    /* 
       box-shadow syntax: X-offset Y-offset Blur Spread Color
       Adjust the "rgba" values (0,0,0,0.15) to make it darker or lighter 
    */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Optional: slightly lifts the column up by 4px for a 3D effect */
    transform: translateY(-4px); 
}
@media screen and (max-width: 1197px) {
  /* Show the mobile hamburger button up to 1197px */
  .wp-block-navigation__responsive-container-open {
    display: block !important;
  }

  /* Hide the standard full-width menu until screen is larger than 1197px */
  .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
    display: none !important;
  }
	ul.wp-block-navigation__container.has-text-color.has-medium-font-size.is-responsive.items-justified-left.menu3.wp-block-navigation {
    margin-left: 1rem;
}
}
@media screen and (max-width: 590px)
{
	.headersearch
	{
		display:none;
	}
}
@media (max-width: 469px)
{
	.topnav /* Make Services Location Contact disappear so people can view the website on small mobile phones */
	{
    	display: none !important;
	}
}
@media (max-width: 243px)
{
	.headerbutton {
    display: none !important;
}
}