/*
Theme Name: Qualified Electricians
Version: 1.0
Theme URI: https://cyberoptik.net/
Description: Customizable responsive Wordpress theme created by CyberOptik
Author: CyberOptik
Author URI: https://cyberoptik.net/
Template: optik-theme
*/





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

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



/* Add font imports here */

/***  Montserrat  ***/ 
/* Regular */
@font-face {
	font-family: 'Montserrat';
	font-weight: 400;
	src: url('fonts/montserrat/montserrat-regular.woff2');
}

/*Regular Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	src: url('fonts/montserrat/montserrat-italic.woff2');
}

/* Semi Bold */
@font-face {
font-family: 'Montserrat';
font-weight: 600;
src: url('fonts/montserrat/montserrat-semibold.woff2');
}




/******************************************************************************
 * * *  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 .fa {
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: white;
}

.btt-button:hover .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);
}



/***  HEADINGS  ***/

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

h1 {
	font-size: 3.25em;
}

h2 {
	font-size: 2.5em;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 0.85em;
}



@media screen and (max-width:900px) {
	h1 { font-size: 2.5em; }

	h2 {font-size: 2em;}
}

@media (min-width:900px) and (max-width:1100px) {
	.wp-block-columns h1{font-size: 2.1em;}
}


/***  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 2.25em;
	border-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--custom--primary--main);
	color: white;
}

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

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

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

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

/*white button*/
.white-button.button, 
.white-button .wp-block-button__link, 
.white-button .button-outline, 
.white-button .is-style-outline .wp-block-button__link {
	border-color: white;
	background-color: white;
	color: var(--wp--custom--dark--1);
}

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


/* OUTLINED BUTTONS */

.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 {
	background: none;
	border-color: var(--wp--custom--secondary--main);
	color: var(--wp--custom--secondary--main);
}

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

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

/*white*/
.white-button.button-outline, 
.white-button.is-style-outline .wp-block-button__link {
	background: none;
	color: white;
}

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


.wp-block-button__link{position: relative;}

.wp-block-button__link:before{
	content: "\f138";
	font-family: 'Font Awesome 6 Pro';
	font-weight: 600;
	margin-right: 10px;
	padding-left: 0;
	font-size: .9em;
	transition: all 300ms ease-in-out;
}

.wp-block-button__link:hover:before{
    margin-right: 4px;
    padding-left: 6px;
}





/***  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: var(--wp--custom--primary--main);
}

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

/* 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 {
	color: var(--wp--custom--primary--dark);
}

.wp-block-social-link{border-radius: var(--wp--custom--radius--sm);}


/***  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);
	background-color: white;
}

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 */
.gform_button{
	border-color: var(--wp--custom--primary--main)!important;
	background-color: var(--wp--custom--primary--main)!important;
	border-radius: var(--wp--custom--radius--xs)!important;
	font-size:1em!important;
	padding: 0.75em 1.5em!important;
}

.gform_button:hover,
.gform_button:active{
	border-color: var(--wp--custom--primary--dark)!important;
	background-color: var(--wp--custom--primary--dark)!important;
}

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

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

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

/* Ninja Forms */

.nf-form-fields-required {display: none;}

#nf-form-3-cont .nf-field-element textarea{height: 100px;}




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



/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: white;
	box-shadow: var(--wp--custom--shadow--2);
}

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



/***  TOP BAR  ***/

.top-bar {
	background-color: var(--wp--custom--light--2);
}



/***  HEADER  ***/

.header-logo {
    max-height: 140px;
    margin-bottom: -60px;
    z-index: 2;
    position: relative;
}

/* Menu Button */

.header .menu-button .fa, 
.header .menu-button:hover .fa {
	color: var(--wp--custom--dark--1);
}

.header .menu-button.active .fa {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
}



/***  NAV MENUS  ***/

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

.single-service .nav-menu > li.services-link > a, 
.single-service .nav-menu > li.services-link > span, 
.single-product .nav-menu > li.products-link > a, 
.single-product .nav-menu > li.products-link > span, 
.single-member .nav-menu > li.members-link > a, 
.single-member .nav-menu > li.members-link > span, 
.single-post .nav-menu > li.posts-link > a, 
.single-post .nav-menu > li.posts-link > span, 
.category .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > span, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-page-ancestor > a, 
.nav-menu > li.current-page-ancestor > span, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}

/* Nav Button */

.nav-menu > li.nav-button > a > span {
	padding: 0.75em 1.5em;
	margin-top: -0.75em;
	margin-bottom: -0.75em;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--sm);
	color: white;
	position: relative;
}

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

.nav-menu > li.nav-button  > a > span:before{
	content: "\f138";
	font-family: 'Font Awesome 6 Pro';
	font-weight: 600;
	margin-right: 10px;
	padding-left: 0;
	font-size: .9em;
	transition: all 300ms ease-in-out;
}

.nav-menu > li.nav-button:hover  > a > span:before{
    margin-right: 4px;
    padding-left: 6px;
}



/***  DROPDOWN MENUS  ***/

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

.nav-menu li ul li:last-child {
	padding-bottom: 8px;
}

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

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

/* Nested Dropdowns */

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



/***  HIDDEN NAV  ***/

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

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

.hidden-nav::-webkit-scrollbar {
	width: 10px;
	background-color: var(--wp--custom--light--1, #E9E9E9);
}

.hidden-nav::-webkit-scrollbar-thumb {
	border: 0;
	background-color: var(--wp--custom--dark--3, #898989);
}

.hidden-menu .sub-menu{padding-left: 10px;}





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



/***  BANNER  ***/

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

.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-boxed, 
.main-sidebar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
}

.spaced-xs, 
.spaced-xs-top {
	padding-top: var(--wp--custom--spacer--xs);
}

.spaced-xs, 
.spaced-xs-btm {
	padding-bottom: var(--wp--custom--spacer--xs);
}

.spaced-sm, 
.spaced-sm-top {
	padding-top: var(--wp--custom--spacer--sm);
}

.spaced-sm, 
.spaced-sm-btm {
	padding-bottom: var(--wp--custom--spacer--sm);
}

.spaced, 
.spaced-top, 
.spaced-md, 
.spaced-md-top {
	padding-top: var(--wp--custom--spacer--md);
}

.spaced, 
.spaced-btm, 
.spaced-md, 
.spaced-md-btm {
	padding-bottom: var(--wp--custom--spacer--md);
}

.spaced-lg, 
.spaced-lg-top {
	padding-top: var(--wp--custom--spacer--lg);
}

.spaced-lg, 
.spaced-lg-btm {
	padding-bottom: var(--wp--custom--spacer--lg);
}

.spaced-xl, 
.spaced-xl-top {
	padding-top: var(--wp--custom--spacer--xl);
}

.spaced-xl, 
.spaced-xl-btm {
	padding-bottom: var(--wp--custom--spacer--xl);
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--custom--light--3);
	overflow: hidden;
	color: var(--wp--custom--dark--2);
	box-shadow: var(--wp--custom--shadow--2);
}

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

.entry-cols .entry-icon-wrap:first-child {padding: 30px 30px 0;}

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

.entry-cols .entry-text-wrap {padding: 30px;}

.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--main);}

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

.entry-cols .entry-link-text::before{
	content: "\f324";
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
	margin-right: 7px;
	padding-left: 0;
	font-size: .8em;
	transition: all 300ms ease-in-out;
}

.entry-cols a:hover .entry-link-text::before{
		padding-left: 7px;
		margin-right: 0;
}

@media screen and (max-width:600px){
	.area-list{columns:2;}
}

/* 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 .fa, 
.archive-pagination a:hover .fa {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}


/*sector cols*/
.sector-cols .entry-icon-wrap{
	background-color: white;
	padding: 5px!important;
	position: absolute;
	top: 10px;
	left: 10px;
	border-radius: var(--wp--custom--radius--sm);
}

.sector-cols span.entry-icon{
	width: 40px;
	height: 40px;
}

/*more-cols*/
.more-cols .entry:nth-child(n+4) {
	display: none;
}

.more-cols h2{text-align: center;}


/***  SINGLE  ***/

/*sectors*/
.sector-cta-button{margin-top: 80px;}


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



/***  CTA BAR  ***/

.cta-bar{
	padding: 0;
	/* padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl); */
	/* background-color: var(--wp--custom--primary--dark);
	color: white;
	position:relative; */
}

.cta-bar .container {
	padding: 0;
	max-width: none;
}

/* .cta-bar:before{
    content: '';
    background-image: url(/wp-content/uploads/cta-bg.jpg);
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .2;
} */

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

@media screen and (max-width:900px){
	.cta-bar .wp-block-buttons.is-content-justification-right{
			justify-content: flex-start;
	}
} */


/***  FOOTER  ***/

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

.footer a {
	color: white;
}

.footer a:hover {
	text-decoration: none;
	color: var(--wp--custom--primary--light);
}

.footer .contact-list li:before{
	color: white;
}

@media (min-width:601px) and (max-width:900px) {
	.footer .wp-block-columns > .wp-block-column:nth-of-type(2),
	.footer .wp-block-columns > .wp-block-column:nth-of-type(3){
		 flex-basis: calc(50% - 15px)!important;
	}
	
	.footer .contact-list{
		columns:2;
	}
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--dark--1);
	font-size: 0.9em;
	color: white;
	border-top: 1px solid #e9e9e940;
	padding-top: var(--wp--custom--spacer--md);
	padding-bottom: var(--wp--custom--spacer--md);
}

/* Menus */

.bottom-bar a {
	color: white;
}

.bottom-bar a:hover {
	text-decoration: none;
	color: var(--wp--custom--primary--light);
}





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

main.section .wp-block-post-featured-image img,
main.section .wp-block-image img,
main.section .wp-block-video video{
	border-radius: var(--wp--custom--radius--sm);
	box-shadow: var(--wp--custom--shadow--1);
 }

/* Add custom theme styles here */

/*MEDIA TEXT WIDGET*/
@media screen and (max-width:600px){
    .wp-block-media-text__media img{
        width:auto;
		max-width: 100%;
		margin-bottom: 1em;
    }

	.wp-block-media-text>.wp-block-media-text__content{padding:0;}
}

/*BLOCK COLUMNS*/
@media screen and (max-width: 900px) {
    /*customized column width to full width on tablet*/
    .wp-block-columns .wp-block-column{flex-basis:100%!important;}
    
	.tablet-reverse-order{flex-direction: column-reverse;}
}

@media screen and (max-width: 781px) {
	.mobile-reverse-order{flex-direction: column-reverse;}
}


/*laptop-modify-cols*/
@media (min-width:901px) and (max-width:1200px) {
	.laptop-2-cols{flex-wrap: wrap!important;}

	.laptop-2-cols.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column{flex-basis: calc(50% - 55px)!important;}
}

/*tablet-modify-cols*/
@media (min-width:601px) and (max-width:900px) {
	.tablet-2-cols,
	.tablet-3-cols{
		flex-wrap: wrap!important;
	}

	.tablet-2-cols.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column{flex-basis: calc(50% - 55px)!important;}
	
	.tablet-3-cols.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column{flex-basis: calc(33.33% - 20px)!important;}
}

/*animate.css*/
.custom-delay-quarter-s { animation-delay: .25s; }
.custom-delay-half-s { animation-delay: .5s; }
.custom-delay-three-quarter-s { animation-delay: .75s; }
.custom-delay-one-n-quarter-s { animation-delay: 1.25s; }
.custom-delay-one-n-half-s { animation-delay: 1.5s; }

/*animate hide initial*/
/*banner*/
body:not(.block-editor-page) .banner h1:not(.animate__animated),
body:not(.block-editor-page) .banner .deck-wrap:not(.animate__animated),
body:not(.block-editor-page) .button:not(.animate__animated),
/*cta*/
body:not(.block-editor-page) section.cta-bar h2:not(.animate__animated),
body:not(.block-editor-page) section.cta-bar p:not(.animate__animated),
/*content*/
body:not(.block-editor-page) .main-container h2:not(.animate__animated),
body:not(.block-editor-page) .wp-block-button:not(.animate__animated),
body:not(.block-editor-page) .animate_opacity:not(.animate__animated)
{ opacity:0; }

.wp-block-column.has-background{border-radius: var(--wp--custom--radius--sm);}

@media (max-width: 768px) {
  :root {
    --wp--preset--spacing--2-xl: 60px;
  }
}

@media (min-width:601px) and (max-width:900px) {
	.contact-page-contact{ columns:2; }
	.contact-page-contact br{display:none;}