/*
Theme Name: Building Maintenance Inc.
Version: 6.1.1
Description: Customizable responsive accessible Wordpress child theme created by CyberOptik
Author: CyberOptik
Author URI: https://www.cyberoptik.net/
Template: optik-theme-6
*/





/******************************************************************************
 * * *  IMPORTS & VARIABLES  * * * * * * * * * * * * * * * * * * * * * * * * *
******************************************************************************/

@import url("../optik-theme-6/style.css");



/* Add font imports here */

/** Poppins **/
/* Normal */
@font-face {
	font-family: 'Poppins';
	font-weight: normal;
	src: url('fonts/Poppins/Poppins-Regular.ttf');
}

/* Italic */
@font-face {
	font-family: 'Poppins';
	font-style: italic;
	font-weight: normal;
	src: url('fonts/Poppins/Poppins-Italic.ttf');
}

/* Semi Bold */
@font-face {
	font-family: 'Poppins';
	font-weight: 600;
	src: url('fonts/Poppins/Poppins-SemiBold.ttf');
}

/* Bold */
@font-face {
	font-family: 'Poppins';
	font-weight: bold;
	src: url('fonts/Poppins/Poppins-Bold.ttf');
}

 


/******************************************************************************
 * * *  STRUCTURAL ELEMENTS  * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
}

body {
	line-height: 1.6em;
	font-family: var(--wp--custom--font--1);
	color: var(--wp--custom--dark--2);
}



/***  BACK TO TOP BUTTON  ***/

.btt-button [class*="fa"] {
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: white;
}

.btt-button:hover [class*="fa"] {
	background-color: var(--wp--custom--primary--light);
	color: white;
}





/******************************************************************************
 * * *  CONTENT STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
******************************************************************************/



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--primary--main);
}

a:hover {
	color: var(--wp--custom--primary--light);
}


a:not([class]),
.wp-block-button.is-style-link-button .wp-block-button__link {
	border-bottom: 1px solid currentColor;
}

a:not([class]):hover,
.wp-block-button.is-style-link-button .wp-block-button__link:hover { border-bottom-style: dashed; }

.wp-block-button.is-style-link-button .wp-block-button__link { border-radius: 0; }

figure a { border-bottom: none !important; }

.header-right-nav .sub-menu li a, 
.scroll-right-nav .sub-menu li a { border-bottom: none !important; }

/***  HEADINGS  ***/


h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	color: var(--dark-1);
	font-family: var(--wp--custom--font--1);
}

h1 {
	font-size: 2.8em;
}

h2 {
	font-size: 2.25em;
}

h3 {
	font-size: 1.75em;
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 0.85em;
}


/**Mobile & Tablet**/
@media screen and (min-width: 601px) and (max-width: 1024px) {
  h1 { font-size: 2.3em; }
  h2 { font-size: 2em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.25em; }
  h5 { font-size: 1.2em; }
  h6 { font-size: 0.9em; }
}

@media screen and (max-width: 600px){
h1 {font-size: 2em;}
h2 {font-size: 1.5em; }
h3 {font-size: 1.25em;  }
h4 {font-size: 1.125em;}
h5 {font-size: 1em;}
h6 {font-size: 0.875em;}
}


/***  BORDERS & DIVIDERS  ***/

hr, .divider {
	display: block;
	width: 100%;
	height: 1px;
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 2.5em auto;
	padding: 0;
}



/***  BUTTONS  ***/

.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 0.75em 2em;
	border-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--custom--primary--main);
	color: white;
	font-weight: 600;
}

.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--secondary--main);
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

.button [class*="fa"], 
.wp-block-button__link [class*="fa"], 
.button:hover [class*="fa"], 
.wp-block-button__link:hover [class*="fa"] {
	color: inherit !important;
}

/* Outlined Button */

.button-outline, 
.is-style-outline .wp-block-button__link {
	background: none;
	color: var(--wp--custom--primary--main);
}

.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--secondary--main);
	background: none;
	color: var(--wp--custom--secondary--main);
}



/***  ICONS  ***/

.fa {
	font-weight: 300;
}

/* Icon Colors */

.fa, .fas, .far, .fal, .fab {
	color: var(--wp--custom--primary--main);
}

a .fa, a .fas, a .far, a .fal, a .fab {
	color: currentColor;
    vertical-align: baseline;
}

a:hover .fa, a:hover .fas, a:hover .far, a:hover .fal, a:hover .fab {
	color: currentColor;
}

/* Icon Backgrounds */

.fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a .fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a:hover .fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

/* Icon Borders */

.fa-br {
	border-color: var(--wp--custom--primary--main);
}

a .fa-br {
	border-color: var(--wp--custom--primary--main);
}

a:hover .fa-br {
	border-color: var(--wp--custom--secondary--main);
}



/***  LISTS  ***/

.arrow-list li:before, 
.check-list li:before, 
.check-circle-list li:before, 
.icon-list li:before, 
.contact-list li:before, 
.arrow-list li [class*="fa"], 
.check-list li [class*="fa"], 
.check-circle-list li [class*="fa"], 
.icon-list li [class*="fa"], 
.contact-list li [class*="fa"] {
	color: var(--wp--custom--primary--main);
}



/***  FORMS  ***/

/* Inputs */

input[type="text"], input[type="email"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="datetime-local"], 
input[type="month"], input[type="time"], input[type="week"], 
textarea, select, .filter-reset {
	border-radius: var(--wp--custom--radius--xs);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, 
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, 
input[type="url"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, 
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, 
textarea:focus, select:focus {
	border-color: var(--wp--custom--primary--main);
}

/* Buttons */

input[type="submit"], 
input[type="reset"], 
input[type="button"], 
form button {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	color: white;
}

input[type="Submit"]:hover, 
input[type="reset"]:hover, 
input[type="button"]:hover, 
form button:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

input[type="Submit"]:active, 
input[type="reset"]:active, 
input[type="button"]:active, 
form button:active {
	border-color:  var(--wp--custom--primary--dark);
	background-color:  var(--wp--custom--primary--dark);
	color: white;
}





/******************************************************************************
 * * *  HEADER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: white; box-shadow: 0 24px 42px -16px rgba(0, 0, 0, 0.3);
}

.scroll-logo {
	max-height: 50px;
}



/***  TOP BAR  ***/

.top-bar {
	background-color: white;
}



/***  HEADER  ***/

.header {
	border-bottom: 4px solid var(--wp--custom--primary--main);
}


.header-logo  {max-height:50px;}


@media screen and (max-width: 600px){
.header-logo  {max-width: 90%;}
}

/* Menu Button */

.header .menu-button [class*="fa"], 
.header .menu-button:hover [class*="fa"] {
	color: var(--wp--custom--primary--main);
}

.header .menu-button.active [class*="fa"] {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
}



/***  NAV MENUS  ***/

.nav-menu > li > a, 
.nav-menu > li > span, 
.nav-menu > li > button {
	padding: 36px 8px;
	color: var(--wp--custom--dark--3);
	text-transform: uppercase;
  font-weight: 600;
}

.single-post .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > a, 
.single-service .nav-menu > li.services-link > a, 
.single-career .nav-menu > li.careers-link > a, 
.single-resource .nav-menu > li.resources-link > a, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-menu-ancestor > button, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li.current-menu-item > span, 
.nav-menu > li.current-menu-item > button, 
.nav-menu > li:hover > a, 
.nav-menu > li:hover > span, 
.nav-menu > li:hover > button {
	color: var(--wp--custom--primary--main);
}

/* Nav Button */

.nav-menu > li.nav-button {
	background-color: transparent !important;
}

.nav-menu > li.nav-button > a {
	margin-left: 10px;
	margin-right: 10px;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xl);
	color: white;
}

.nav-menu > li.nav-button > a:hover {
	background-color: var(--wp--custom--primary--light);
}

/* Dropdowns */

.nav-menu li ul li:first-child {
	padding-top: 0;
}
.nav-menu li ul li:last-child {
	padding-bottom: 0;
}

.nav-menu li ul > li > a, 
.nav-menu li ul > li > span, 
.nav-menu li ul > li > button {
	color: var(--wp--custom--dark--3);
}

.single-careers .nav-menu li ul li.careers-link > a, 
.nav-menu li ul li.current-menu-item > a, 
.nav-menu li ul li.current-menu-item > span, 
.nav-menu li ul li.current-menu-item > button, 
.nav-menu li ul li:hover > a, 
.nav-menu li ul li:hover > span, 
.nav-menu li ul li:hover > button {
	color: var(--wp--custom--primary--main);
}

/* Nested Dropdowns */

.nav-menu li ul li ul {
	top: -8px;
}



/***  HIDDEN NAV  ***/

.hidden-nav {
	background-color: white;
}

.hidden-menu li a {
	color: var(--wp--custom--dark--3);
}

.hidden-menu li.current-menu-item > a {
	background: var(--wp--custom--primary--dark);
	color: white;
}





/******************************************************************************
 * * *  BODY STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  BANNER  ***/

.banner {
	background-color: var(--wp--custom--dark--1);
}

.banner-inner {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner-viewheight .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--lg) + 140px);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner a {
	color: var(--wp--custom--primary--light);
}

.banner a:hover {
	color: white;
}



/***  HEADLINE BAR  ***/

.headline-bar {
}



/***  ENTRY NAVBAR  ***/

.entry-menu > li > a {
	color: var(--wp--custom--dark--3);
}

.entry-menu > li.current-menu-item > a, 
.entry-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}



/***  MAIN  ***/

.main {
	padding-top:  var(--wp--custom--spacer--xxl);
	padding-bottom:  var(--wp--custom--spacer--xxl);
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	border-radius: 0;
	background-color: none;
	overflow: hidden;
	color: var(--wp--custom--dark--2);
}

/*.entry-cols .entry-link:hover {
	transform: translateY(-3px);
}*/

.entry-cols .entry-icon-wrap:first-child {
	padding: 0;
    width: 100%;
}

/*.entry-cols .entry-icon svg {
	width: 60px;
	height: 60px;
	fill: var(--wp--custom--primary--main);
}
*/

/*.includes-link-text .entry:not(.col-full) .entry-text-wrap {
	padding-bottom: 80px;
}*/

.entry-cols .entry:not(.col-full) .entry-link-text-wrap {
	left: 30px;
	bottom: 30px;
}

.entry-cols .entry-link .entry-link-text {
	color: var(--wp--custom--primary--dark);
	font-weight: bold;
	text-transform: uppercase;
}

.entry-cols .entry-link:hover .entry-link-text {
	color: var(--wp--custom--primary--main);
}

/* Archive Pagination */

.archive-pagination a {
	border-radius: var(--wp--custom--radius--xl);
	border-color: var(--wp--custom--light--1);
	color: var(--wp--custom--primary--main);
}

.archive-pagination a:hover {
	border-color: var(--wp--custom--primary--light);
	color: var(--wp--custom--primary--light);
}

.archive-pagination a [class*="fa"], 
.archive-pagination a:hover [class*="fa"] {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}



/***  SINGLE  ***/





/******************************************************************************
 * * *  FOOTER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  CTA BAR  ***/

.cta-bar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

.cta-bar h1, 
.cta-bar h2, 
.cta-bar h3, 
.cta-bar h4, 
.cta-bar h5, 
.cta-bar h6 {
	color: white;
} 




/***  FOOTER  ***/

.footer {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
	background-color: var(--wp--custom--light--3);
	font-size: 0.9em;
}

.footer a {
	color: var(--wp--custom--dark--3);
}

.footer a:hover {
	color: var(--wp--custom--primary--main);
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
	color: var(--wp--custom--primary--main-alt);
	text-transform: uppercase;
}

/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--light--3);
	font-size: 0.9em;
  border-top: 1px solid var(--wp--custom--light--1);
}

/* Menus */

.bottom-bar .menu a {
	color: var(--wp--custom--dark--3);
}

.bottom-bar .menu a:hover {
	color: var(--wp--custom--primary--main);
}





/******************************************************************************
 * * *  7 CUSTOM STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/

/* Add custom theme styles here */

.green {
	color: var(--wp--custom--primary--main);
}

.blog .banner-inner {
	text-align: left;
}

.blog h1.headline {
	display: none;
}

/* Menu Services Header */
.header-container {
    position: relative;
}

#menu-primary {
	position: static;
}

.cols {
    position: relative;
}

.scroll-bar .cols {
    position: relative;
}


@media (min-width:1200px){

    .header-right-nav .nav-menu > li.menu-item-has-children,
    .scroll-right-nav .nav-menu > li.menu-item-has-children {
        position: static;
    }

    .header-right-nav .nav-menu > li > .sub-menu,
    .scroll-right-nav .nav-menu > li > .sub-menu {
        position:absolute;
        top: 97px;
        left:0;
        right:0;
        width:100%;
        background:#5DA923;
        padding:0;
        margin:0;
        border:0;
        box-shadow:none;
        visibility:hidden;
        opacity:0;
        transition:.25s;
    }

    .scroll-right-nav .nav-menu > li > .sub-menu {
        position:fixed;
        top:98px;
        left:0;
        right:0;
        padding:0 60px;
    }


    .header-right-nav .nav-menu > li > .sub-menu,
    .scroll-right-nav .nav-menu > li > .sub-menu{
        height: auto !important;
        overflow: visible !important;
    }

    .header-right-nav .nav-menu > li:hover > .sub-menu,
    .scroll-right-nav .nav-menu > li:hover > .sub-menu{
        height: auto !important;
        overflow: visible !important;
        visibility: visible;
        opacity: 1;
    }


    .header-right-nav .nav-menu > li > .sub-menu:before,
    .scroll-right-nav .nav-menu > li > .sub-menu:before {
        content:"";
        position:absolute;
        inset:0;
        left:50%;
        transform:translateX(-50%);
        width:9999px;
        background:#5DA923;
        box-shadow:0 14px 24px rgba(0,0,0,.2);
        z-index:-1;
        padding: 0;
    }

    .header-right-nav .sub-menu > li > .menu-item-inner,
    .scroll-right-nav .sub-menu > li > .menu-item-inner {
    	padding: 0;
    	margin: 0;
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul {
        display:flex;
        margin:0;
        padding:0;
        width:100%;
        list-style:none;
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul > li,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul > li {
        flex:1;
        list-style:none;
        border-right:1px solid rgba(255,255,255,.18);
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul > li:first-child,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul > li:first-child {
        border-left:1px solid rgba(255,255,255,.18);
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul > li > a,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul > li > a {
        display:flex;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        height:155px;
        padding:25px 15px;
        color:#fff;
        text-decoration:none;
        transition:background .25s;
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul > li > a:hover,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul > li > a:hover{
        background:#84c63f;
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul > li > a > span,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul > li > a > span{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:14px;
        width:100%;
        height:100%;
        color:white;
        text-align:center;
        font-size:14px;
        line-height:1.3;
    }

    .header-right-nav .sub-menu > li > .menu-item-inner > ul > li > a svg,
    .scroll-right-nav .sub-menu > li > .menu-item-inner > ul > li > a svg{
        width:52px;
        height:52px;

    }
    
    .header-right-nav .sub-menu a svg path,
		.header-right-nav .sub-menu a svg circle,
		.header-right-nav .sub-menu a svg rect,
		.header-right-nav .sub-menu a svg polygon,
		.scroll-right-nav .sub-menu a svg path,
		.scroll-right-nav .sub-menu a svg circle,
		.scroll-right-nav .sub-menu a svg rect,
		.scroll-right-nav .sub-menu a svg polygon {
    	fill: currentColor !important;
		}

}



/***  ICON CARDS  ***/

.icon-cards {
	text-align: center;
}

.icon-cards .wp-block-column {
	background-color: var(--wp--custom--light--2);
	padding: var(--wp--custom--spacer--md) var(--wp--custom--spacer--sm);
	transition: all 350ms ease-in-out;
}

.icon-cards .wp-block-column:hover {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.icon-cards .wp-block-column .wp-block-heading, 
.icon-cards .wp-block-column .wp-block-heading a {
	color: var(--wp--custom--primary--main);
	border-bottom: none;
	transition: all 350ms ease-in-out;
}

.icon-cards .wp-block-column:hover .wp-block-heading, 
.icon-cards .wp-block-column:hover .wp-block-heading a, 
.icon-cards .wp-block-column:hover .wp-block-heading a:hover {
	color: white;
}

.icon-cards .wp-block-outermost-icon-block {
	justify-content: center;
}

.icon-cards .wp-block-heading:not(:first-child) {
	margin-top: 0.25em;
	font-size: 1.45em;
}



/***  BOX COLS  ***/

.box-info .wp-block-column {
	padding: 25px 25px 65px 25px !important;
	border-radius: var(--wp--custom--radius--md);
	background-color: white;
	overflow: hidden;
	color: var(--wp--custom--dark--2);
	text-align: center;
	border-top: 10px solid transparent;
	transition: 0.2s ease-in-out;
	cursor: pointer;
}

.box-info .wp-block-column:hover  {
	transform: translateY(-3px);
	box-shadow: var(--wp--custom--shadow--2);
	border-top: 10px solid var(--wp--custom--primary--main);
}

.box-info .wp-block-outermost-icon-block .icon-container {
	background-color: var(--wp--custom--light--2);
  border-radius: var(--wp--custom--radius--sm);
  padding: 20px;
}


/***  FRONTPAGE BANNER SLIDER  ***/

.fp-banner {position: relative;  overflow: hidden;}


.fp-banner .swiper-container-outer {
    position: relative;
}

.fp-banner .swiper-container-outer::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    background: var(--wp--custom--dark--1);
    opacity: .6;
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 968px) {
    .fp-banner .swiper-container-outer::before {
        width: 50%;
    }
}

.fp-banner .gutslider-content-inner {
    position: relative;
    z-index: 2;
}

.fp-banner > .wp-block-gutsliders-any-content {
    position: relative;
    z-index: 1;
}

.fp-banner .gutslider-content-inner {
    position: relative;
    z-index: 3;
}

.fp-banner .wp-block-group,
.fp-banner h1,
.fp-banner p,
.fp-banner .wp-block-buttons {
    position: relative;
    z-index: 3;
}

.fp-banner .fp-banner-left-col {
	position: relative;
	z-index: 9;
	width: 100% !important;
	padding: 180px 80px 180px 0;
}

@media (min-width: 900px) {
.fp-banner .fp-banner-left-col {
	width: 50%;
	max-width: 800px;
}
}

@media (min-width: 968px) {
.fp-banner::after {width: 50% !important;}
}

.fp-banner .content > .alignfull {
	padding-left: 0;
	padding-right: 0;
}



/***  GRADIENTS  ***/

.gradient-main {
	background-color: transparent;
	background-image: linear-gradient(180deg, #42860E 25%, #FFFFFF 10%);
}

@media (max-width: 990px) {
.gradient-main {
	background-color: transparent;
	background-image: linear-gradient(180deg, #42860E 12%, #FFFFFF 10%);
}
}

.gradient-item {
	padding-top: 100px;
	min-height:100%;
	background-image: linear-gradient(to bottom, var(--wp--custom--primary--light) 0 30%, var(--wp--custom--primary--main) 0 60%, var(--wp--custom--primary--main-alt) 0 80%);
}

.gradient-item-sub {
	padding-top: 100px;
	min-height:100%;
	background-image: linear-gradient(to bottom, var(--wp--custom--primary--main-alt) 0 30%, var(--wp--custom--primary--main) 0 60%, var(--wp--custom--primary--light) 0 80%);
}


.button-lg {
    border-radius: 5px;
    font-size: 18px;
    padding: 20px 40px;
}

/***  LINK  ***/
.link-hover  {
  -webkit-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

.link-hover:hover {
  transform: scale(1.025) translateY(-5px);
}


/***  TOP BAR  ***/

.top-bar {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

.top-bar ul.inline-list{
		justify-content: center;
    display: flex!important;
    gap: 15px;
}

.top-bar ul.inline-list li:before {
		color: white;
}

@media screen and (max-width:910px) {
	.top-bar .wp-block-group{
		flex-direction: column;
	}

	.top-bar ul.inline-list{
		justify-content: center;
  }

	.top-bar .inline-list strong{display: none;}
}


/* Posts & Service-home */

.post .post-link  {
  gap: 30px;
  align-items: start;
  transition: background .3s ease,
                box-shadow .3s ease,
                transform .2s ease-in-out;

  padding: 30px;
  border-radius: var(--wp--custom--radius--sm);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--wp--custom--light--1);
}

.post .post-link:hover, .service .service-link:hover {
    background: white;
    transform: translateY(-4px);
}

.post .entry-icon-wrap {
    grid-column: 1;
    padding: 0;
}

.post .entry-text-wrap {
    grid-column: 2;
    padding: 0;
}

.post .entry-text-wrap {
    /* flex: 1; */
    padding: 0;
}

@media screen and (min-width: 1400px) {
    .entry-cols .col-full .entry-link .entry-text-wrap { width: 50%; }
}

.post img.entry-thumb {
  border-radius: var(--wp--custom--radius--md);
  width: 100%;
}


/*.post .entry-text-wrap {
	padding: 30px;
}*/

.post .post-cat  {
	background-color: transparent !important;
  border-radius: 0 !important;
  color: var(--wp--custom--primary--dark);
  font-weight: bold;
  text-transform: uppercase;
}

.post .post-cats {
  position: static;
	color: var(--wp--custom--primary--dark);

}

.post .entry-meta li {
	display: inline-block;
}


.post .entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.post .post-cats {
    display: flex;
    align-items: center;
}


.service .service-title, .post .post-title {
	margin-top: 0;
	font-size: 1.25em;
	color: var(--wp--custom--secondary--main);
}

/* .post .post-date {
  background: linear-gradient(90deg, #42860E, #7ac142, #42860E); 
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  text-transform: uppercase;
} */

.post .post-date .post-month { 
    color: var(--wp--custom--primary--dark); 
    font-weight: bold;
}

.post .post-date .post-day-year { color: var(--wp--custom--primary--dark); }


@media (max-width: 1084px) {
    .entry-cols {
        grid-template-columns: repeat(2, 1fr);
    }

   .entry-cols .entry-text-wrap {
     grid-column: 2;
     padding: 20px 0 0 0 ;
    }
}

@media (max-width: 768px) {
    .entry-cols {
        grid-template-columns: 1fr;
    }
}


/****/

.service-cols .service-link-text-wrap {
	display: none;
}

.service-cols .service-text-wrap {
	padding: 0px !important;
}

.service-cols .service-link {
	display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  padding: 30px;
  border-radius: 20px;
  background-color: white;
  border-top: 10px solid transparent;
}

.service .service-link:hover {
	background-color: white;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
	border-top: 10px solid var(--wp--custom--primary--main);
}

.service-cols .service-icon-wrap {
    padding: 30px 20px 0;
}

.service-cols span.service-icon {
    max-width: 100px;
    max-height: 100px;
    width: 100%;
    fill: var(--wp--custom--primary--main);
    height: auto;
    background: var(--wp--custom--light--1);
    border-radius: var(--wp--custom--radius--md);
    padding: 20px;
    border: 3px solid var(--wp--custom--primary--light);
    box-sizing: border-box;
}

.service-cols .service-icon svg { 
    width: auto;
    height: auto;
}

@media screen and (min-width: 901px) and (max-width: 1344px) {
    .service-cols .service.col-third { width: 50%; } 
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    .service-cols .service .service-link {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {

    .service-cols .service-link {
        grid-template-columns: 80px 1fr;
        padding: 16px;
    }

    .service-cols span.service-icon {
        max-width: 80px;
        max-height: 80px; 
    }
}


/** Reverse Section **/
@media screen and (max-width: 900px){
	.reverse-section {
    flex-direction: column-reverse;
	}
}

@media screen and (max-width: 900px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
} 

/**  Image Size **/
 @media screen and (max-width: 900px) {
  .wp-block-image { 
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
   }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .wp-block-image.reduced-width { max-width: 50%; }
}


@media screen and (max-width: 900px) {
  .tablet-w-600 { 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tablet-w-600-center {
    text-align: center;
  }

  .tablet-w-600-center .wp-block-outermost-icon-block { justify-content: center; }
} 

/** Large Screen  **/
@media screen and (max-width: 1024px) {
  .stack-section-lg { flex-direction: column; }

  .stack-section-lg.reverse-section { flex-direction: column-reverse; }
}

@media screen and (min-width: 901px) and (max-width: 1024px) {
  .stack-section-lg .wp-block-image {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
  }
} 


/* Map */

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 40%; 
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gravity Forms */


.gform_wrapper .gform_button,
.gform_wrapper button {
  background-color:var(--wp--custom--primary--main)!important;
  color: white;
  font-weight: 600!important;
  padding: 14px 28px!important;
  border-radius: var(--wp--custom--radius--md);
  border: none;
  font-family:var(--wp--custom--font--1)!important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper button:hover {
  background-color:var(--wp--custom--dark--1)!important;
  color: white;
  border: none;
} 


.wp-block-gallery .wp-block-image img {
	border-radius: var(--wp--custom--radius--md);
}



/* Menu Icons */


.header .menu-item svg,
.hidden-nav .menu-item svg  { 
	width: 1em;
	height: auto;
	margin-right: 5px;
 }


.hidden-menu .menu-item-inner {
	padding-left: 0;
	padding-right: 0;
}

.side-box {
  border: 1px solid var(--wp--custom--light--1);
  border-radius: var(--wp--custom--radius--sm);
  background: white;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.shadow-box {
	border-radius: var(--wp--custom--radius--sm);
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
  background: white;
  padding: 30px;
  margin-bottom: 20px;
}

/* Sidebar CTA */

.sidebar-cta {
	border-radius: var(--wp--custom--radius--sm);
  background: var(--wp--custom--light--3);
  padding: 30px 20px;
}


/* Search bar sidebar */
.wp-block-search__inside-wrapper {
    display: flex;
    border: 1px solid transparent;
    border-radius: 6px;
    width: 100%;
    padding: 0;
}

.wp-block-search__inside-wrapper .wp-block-search__input {
    flex: 1;
    padding: 0 16px;
    height: 35px;
    outline: none;
    box-sizing: border-box;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
}

.wp-block-search__button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 48px;
    width: 100%;
    height: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    background: white;
    cursor: pointer;
    box-sizing: border-box;
    border:1px solid #d2d2d2;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


.wp-block-search__button svg {
    width: 70%;
    height: 70%;
    display: block;
    fill: var(--wp--custom--primary--dark);
}

.wp-block-search__button:hover svg {
    fill: white;
}


/* Recent Posts Sidebar */
.wp-block-latest-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-latest-posts li {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-areas:
        "image title"
        "image date";
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;

    padding: 0;
    margin: 0 0 20px 0;
}

.wp-block-latest-posts__featured-image {
    grid-area: image;
    align-self: center;
}


.wp-block-latest-posts__featured-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.wp-block-latest-posts__post-title {
    grid-area: title;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    color: var(--wp--custom--dark--1);
    align-self: end;
}

.wp-block-latest-posts__post-date {
    grid-area: date;
    margin: 0;
    line-height: 1.2;
    font-size: 0.8rem;
    align-self: start;
}

/* Categories Sidebar */

.wp-block-categories-list li {
	list-style: none;
	padding: 0;
	margin: 0;
	font-weight: bold;
}

.wp-block-categories-list li:not(:first-child) { margin-top: var(--wp--preset--spacing--xxs); }

.wp-block-categories-list li a:not(:hover) { border-bottom: none; }


/* Pagination */
.navigation.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.navigation.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}


.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    line-height: 1;
    text-decoration: none;
    border-radius: 4px;
    color: var(--wp--custom--dark--1);
    background:white;
    transition: all 0.3s ease;
}


.navigation.pagination .page-numbers:hover {
    background: var(--wp--custom--light--1);
    border-color: #999;
}


.navigation.pagination .page-numbers.current {
    background: var(--wp--custom--primary--dark);
    color: white; 
    font-weight: 600;
    pointer-events: none;
}

.navigation.pagination .page-numbers.current:hover {
    background: var(--wp--custom--primary--main);
    color: white;
}


@media (max-width: 1200px) {
    .blog .main-inner > .entry:not(:last-child),
    .category .main-inner > .entry:not(:last-child),
    .search .main-inner > .entry:not(:last-child) {
        width: 100%;
    }

    .blog .main-inner > .sidebar,
    .category .main-inner > .sidebar,
    .search .main-inner > .sidebar {
        width: 100%;
        margin-top: 2rem;
    }
}



