/*
Theme Name: Extendable-child
Theme URI: https://github.com/extendify/extendable
Author: Extendify
Author URI: https://extendify.com
Description: A Child Theme of the Extendable Theme
Template: extendable
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
Version: 2.0.15
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extendable
Tags: one-column, custom-colors, custom-menu, custom-logo, e-commerce, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Extendable is a derivative work of the code from the
Twenty Twenty-Two WordPress Theme, which is licensed GPLv2.

Extendable WordPress Theme, (C) 2022 Extendify Inc.
Extendable therefore is also distributed under the terms of the GNU GPL.
*/


/* Fallback for deprecate variables.
---------------------------------------------------------------------------- */

.pos-relative{
	position: relative;
}
.dis-inline-block{
	display: inline-block;
}
.hover-underline,
.hover-underline > a{
	text-decoration: none;
}
.hover-underline:hover,
.hover-underline > a:hover {
	text-decoration: underline;
}
.make-inline{display:inline;}
.opacity-class{
	opacity: 0.7;
}
body.not-logged .hide-for-now{
	display: none;
}
.my-gradient{
	background: linear-gradient(45deg, #b90202, #f4883b);
}

.dark-back-filter {z-index: 1;} /* Must set the parent so that the psudo z-index can work. */
.dark-back-filter::after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: #000000;
	opacity: 0.6;
    z-index: -1; 
}
.parallax-effect {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* The main logo */
body > div > header > div > div > div.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-2.wp-block-group-is-layout-flex > div.wp-block-site-logo > a > img {
	transition height 3s, width 3s;
}
.wp-block-site-logo.is-default-size img {
    max-height: 45px !important;
    height: auto !important;
    width: auto !important;
}
.logo-mobile-height {
	height: 42px !important;
	width: auto !important;;
    position: relative;
}
body > div.wp-site-blocks > header > div > div > div.wp-block-group.ext-animate--on.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-aede52a7.wp-block-group-is-layout-flex > div > h1 {
    display: none;
}


/* Trick menu starts */
body main{
	margin-top: -110px !important;
	padding-top: 0px !important;
}
body > div.wp-site-blocks > header > div {
    z-index: 5;
    height: 72px;
    position: fixed;
    top: 0;
    transition: top 0.3s ease-in-out;
    width: 100%;
}
.nav-up {
    top: -72px !important;
}

body > div.wp-site-blocks > header > div::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0px;
	background-color: #000000;
	opacity: 0.0;
	z-index: -1;
}
body > div.wp-site-blocks > header > div.nav-down::before {
    opacity: 0.4;
}
/* Set the padding on the header button */
body > div > header > div > div > div.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex > div > a {
    padding: 8px;
}
/* The off-canvas menu background */
.wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
    width: 70%;
    min-width: 300px;
    border-right: solid 1px #000;
    /* box-shadow: 10px 10px 5px 12px #333; */
}
.wp-block-navigation__responsive-container.is-menu-open.is-menu-open a > span {
    font-size: 20px; /* larger text size on the mobile menu */
}
nav ul > li.wp-block-navigation-item.current-menu-item.wp-block-navigation-link a span {
    text-decoration: underline;
    font-weight: bold;
}
#modal-1-content > ul > li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu > ul > li {
    padding-bottom: 10px; /* increase the gap betwen menu items on the sub menus */
}
/* Trick menu ends */


/* Adding Google Fonts Stargs*/
body {
     font-family: Open Sans;
    font-weight: 300;
    font-size: 16px;
}
body h1 {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 300;
    font-size: 3.375em;
    line-height: 1.26;
}
body .h-lead p {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 300;
    font-size: 1.25em;
    line-height: 1.5;
}
body .h-lead p {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 300;
    font-size: 1.25em;
    line-height: 1.5;
}
body p {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
}
body h2 {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 300;
    font-size: 2.7em;
    line-height: 1.55;
}
body h3 {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 2.5em;
    line-height: 1.55;
}
body h5 {
    margin-bottom: 16px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 1.125em;
    line-height: 1.55;
}
/* Adding Google Fonts Ends */

footer {
    background: #03152c;
    background: linear-gradient(0deg, rgb(18 55 102) 0%, rgb(3 21 44) 100%);
}
footer nav ul > li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu 
> ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu > li > a {
    color:#000;
}

.pdl-title {
    line-height: 1;
}

.cf7-contact-form input:where(:not([type="submit"]):not([type="checkbox"])), .wpcf7 textarea {
    /* padding: calc(0.667em + 1px);
    width: 100%; */
    background-color: #FFFFFF;
    color: #000000;
}
.wpcf7-response-output {color: #FFFFFF;}


/* Hide the footer hamburger */
/* body > div > footer > div 
> div.wp-block-group.alignwide.has-global-padding.is-content-justification-center.is-layout-constrained.wp-block-group-is-layout-constrained 
> div > div > div:nth-child(2) > nav > button {
    display:none;
} */


/* Animations not working, had to reset from base extensible theme */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.2s !important;
    }
}

@media (max-width: 781px) {
    #wp--skip-link--target > div.entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained > div.wp-block-cover.alignfull > span {
        background: linear-gradient(178deg, rgb(7, 7, 7) 50%, rgba(0, 0, 0, 0) 97%) !important;
    }

}


@media (max-width: 880px) {
    /* body {
       font-size: 17px;
    } */
    /* Toggle Hamburger Menu Starts */
    /* .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    #modal-1 .wp-block-navigation__responsive-container-content { display:none;}
    #modal-1.is-menu-open .wp-block-navigation__responsive-container-content {display:block;} */

    /* Swap the order of the Hamburger menu and the header phone number */
    /* body > div > header > div > div 
    > div.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-6c531013.wp-block-group-is-layout-flex {
         order:2;
    } */
    
    /* adjust the menu height down */
    body > div.wp-site-blocks > header > div {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        height: 55px;
    }
    body > div > header > div > div {
        height: 40px;
    }
    /* reposition the Hamburger menu */
    body > div > header > div > div 
    > div.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-6c531013.wp-block-group-is-layout-flex 
    > nav > button {
        margin-top: 15px;
    }
    /* Toggle Hamburger Menu Ends */

    /* Adjust the header button dimentions */
    body > div > header > div > div > div.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex > div > a {
            padding-top: 3px;
            padding-bottom: 3px;
    }


    /* Site Title */
    header > div > div > div.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-2.wp-block-group-is-layout-flex 
	> div.wp-block-group.is-layout-flow.wp-block-group-is-layout-flow > h1 > a{
        font-size: larger;
    } 
 
    /* Cover Text */
    /* #about > div > div.wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow,
    #wp--skip-link--target > div 
	> div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-16.wp-block-group-is-layout-constrained 
	> div > div,
    #about > div.wp-block-columns.alignwide.are-vertically-aligned-center.is-layout-flex.wp-container-core-columns-is-layout-7.wp-block-columns-is-layout-flex{
        padding: 0px 15px;
    }
    body > div.wp-site-blocks > footer > div.wp-block-group.is-content-justification-center.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-36.wp-block-group-is-layout-flex > div > div{
        margin: 0px 10px;
    }
    body > div > header > div > div > div.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-2.wp-block-group-is-layout-flex > div.wp-block-site-logo img {
        max-height: 42px;
    	width: auto;
    } */
	/* Homepage mobile screen adjustment */
	/* body.home #wp--skip-link--target > div 
	> div.wp-block-group.alignfull.has-background-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-72190d31.wp-block-group-is-layout-constrained 
	> div > div > div {
	    padding-top: 130px !important;
	    padding-bottom: 130px; !important;
	} */
} 

@media screen and (max-width: 530px) {
    /* disappear the Phone number */
    /* header div.u_1333150053 a span.phone-number{ display:none;}
    header div.u_1711478356.dmRespCol{ width:35px;}
	#wp--skip-link--target > div 
	> div.wp-block-group.alignfull.has-background-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-8.wp-block-group-is-layout-constrained 
	> div > div > div > div > h1 {
		font-size: 2.375em;
	} */

}

@media screen and (max-width: 450px) {
    /* Hide the logo making room for the menu */ 
    /* body > div > header > div > div 
	> div.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-2.wp-block-group-is-layout-flex 
	> div.wp-block-site-logo {
        display:none;
    } */
}

@media screen and (max-width: 400px) {
    /* disappear the Phone number */
    /* footer > div.wp-block-group.is-content-justification-center.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-35.wp-block-group-is-layout-flex 
	> div{
        padding: 0px 15px;
    } */
}



