/*
Theme Name: AnCan
Version: 6.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 */

/***  Source Sans Pro  ***/

/* Regular */
@font-face {
	font-family: 'Source Sans Pro';
	font-weight: 400;
	src: url('fonts/sourcesans3/sourcesans3-regular.woff2');
}

/*Regular Italic */
@font-face {
	font-family: 'Source Sans Pro';
	font-style: italic;
	src: url('fonts/sourcesans3/sourcesans3-italic.woff2');
}

/* Bold */
@font-face {
	font-family: 'Source Sans Pro';
	font-weight: 700;
	src: url('fonts/sourcesans3/sourcesans3-bold.woff2');
}


/***  Poppins  ***/

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




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



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 17px;
}

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--xs);
	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: var(--wp--custom--dark--1);
}





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



/***  TEXT & LINKS  ***/

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

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

.main-wrap a:not([class]) {
	border-bottom: 1px dotted currentColor;
}

.main-wrap a:not([class]):not(:has(img)):hover {
	border-bottom-style: solid;
}

.main-wrap .social-list a,
.main-wrap .wp-block-image a,
.main-wrap .wp-block-media-text__media a {
	border-bottom: none;
}



/***  HEADINGS  ***/

h1,
h2,
h3,
h4,
h5,
h6,
.heading-2,
.heading-3,
.heading-4,
.heading-5,
.heading-6 {
	font-family: var(--wp--custom--font--2);
	color: var(--wp--custom--secondary--dark);
	font-weight: bold;
}

h1 {
	font-size: 5.25em;
}


h2,
.heading-2 {
	font-size: 3.3em;
}

h3,
.heading-3 {
	font-size: 1.5em;
}

h4,
.heading-4 {
	font-size: 1.25em;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

h5,
.heading-5 {
	font-size: 1em;
}

h6,
.heading-6 {
	font-size: 0.85em;
}

.is-layout-flow>h1,
.is-layout-flow>h2,
.is-layout-flow>h3,
.is-layout-flow>h4,
.is-layout-flow>h5,
.is-layout-flow>h6 {
	margin-block-end: 0.25em;
}

.has-secondary-light-background-color,
.has-secondary-light-background-color .wp-block-heading {
	color: var(--wp--custom--dark--1);
}

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


	h2,
	.heading-2 {
		font-size: 2.7em;
	}
}

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

	.has-medium-font-size {
		font-size: 1.1em !important;
	}

	h1 {
		font-size: 2.5em;
	}


	h2,
	.heading-2 {
		font-size: 2em;
	}

	h3,
	.heading-3 {
		font-size: 1.3em;
	}

	h4,
	.heading-4 {
		font-size: 1.1em;
	}
}

.single-post h1 {
	font-size: 2.5em;
}


/***  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--xs);
	background-color: var(--wp--custom--primary--main);
	color: white;
	text-transform: uppercase;
	letter-spacing: 1px;
}

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

.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: 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,
.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);
	font-weight: 900;
}



/***  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) !important;
	background-color: var(--wp--custom--primary--main) !important;
	border-radius: var(--wp--custom--radius--xs) !important;
	color: white;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	font-size: 16px !important;
	padding: 0.75em 1.5em !important;
	height: auto;
}

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: var(--wp--custom--dark--1) !important;
	transform: translateY(-3px);
}

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: var(--wp--custom--dark--1);
}

.scroll-logo {
	max-height: 50px;
	filter: brightness(0) invert(1);
}



/***  TOP BAR  ***/

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



/***  HEADER  ***/

.header-wrap {
	position: absolute;
	z-index: 99;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.21) 25%, rgb(255 255 255 / 0%) 100%);
}

.header-logo {
	max-height: 70px;
	filter: brightness(0) invert(1);
}

/* Menu Button */

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

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



/***  NAVBAR  ***/

.navbar {}



/***  NAV MENUS  ***/

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

.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor)>a,
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor)>span,
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor)>button {
	position: relative;
}

/* Hover line that grows out from center */
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor)>a::after,
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor)>span::after,
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor)>button::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor):hover>a::after,
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor):hover>span::after,
.nav-menu>li:not(.nav-button):not(.menu-item-has-children):not(:has(ul)):not(.current-menu-item):not(.current-menu-ancestor):hover>button::after {
	transform: scaleX(1);
}

/* Exclude hover underlines on custom current/active post-type links */
.single-post .nav-menu>li.posts-link>a::after,
.category .nav-menu>li.posts-link>a::after,
.single-service .nav-menu>li.services-link>a::after,
.single-career .nav-menu>li.careers-link>a::after,
.single-resource .nav-menu>li.resources-link>a::after {
	display: none !important;
}


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

/* 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--xs);
	color: white;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.nav-menu>li.nav-button>a:hover {
	background-color: var(--wp--custom--primary--light);
	transform: translateY(-3px);
	color: var(--wp--custom--dark--1);
}

/* Dropdowns */

.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,
.nav-menu li ul>li>button {
	color: var(--wp--custom--dark--1);
}

.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-menu li a {
	color: var(--wp--custom--dark--3);
}

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





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



/***  BANNER  ***/

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

.banner-container {
	padding-top: 85px;
}

.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: var(--wp--custom--radius--sm);
	background-color: var(--wp--custom--light--3);
	overflow: hidden;
	color: var(--wp--custom--dark--1);
}

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

.entry-cols .entry-thumb-wrap img {
	width: 100%;
}

.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);
	position: relative;
	display: inline-block;
}

.entry-cols .entry-link .entry-link-text::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: -2px;
	left: 0;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

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

.entry-cols .entry-link:hover .entry-link-text::after {
	transform: scaleX(1);
}

/* Archive Pagination */

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

.archive-pagination a:hover {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

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



/***  SINGLE  ***/
.post-date {
	text-transform: uppercase;
	opacity: .75;
	font-size: .85em;
	letter-spacing: 1px;
}

.single-post .post-thumbnail {
	margin-top: -140px;
	position: relative;
	text-align: center;
}

.single-post .post-thumbnail img {
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	box-shadow: var(--wp--custom--shadow--1);
}




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



/***  CTA BAR  ***/

.cta-bar {
	padding: 0;
	background-color: transparent;
	color: white;
}

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

.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: black;
	font-size: 0.9em;
	color: white;
}

.footer .wp-block-heading {
	color: white;
}

.footer .contact-list li:before,
.footer a {
	color: var(--wp--custom--primary--light);

}

.footer a:hover {
	color: var(--wp--custom--light--1);
}

.footer .wp-social-link-x {
	background-color: var(--wp--custom--dark--1) !important;
}



/***  6.3 BOTTOM BAR  ***/

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

/* Menus */

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

.bottom-bar a:hover {
	color: var(--wp--custom--light--2);
}

/* Hover line that grows out from center for footer & bottom-bar links */
.footer a:not([class*="social"]):not(.wp-social-link):not(.social-link):not(:has(img)):not(:has(svg)),
.bottom-bar a:not([class*="social"]):not(.wp-social-link):not(.social-link):not(:has(img)):not(:has(svg)) {
	position: relative;
	display: inline-block;
}

.footer a:not([class*="social"]):not(.wp-social-link):not(.social-link):not(:has(img)):not(:has(svg))::after,
.bottom-bar a:not([class*="social"]):not(.wp-social-link):not(.social-link):not(:has(img)):not(:has(svg))::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: -2px;
	left: 0;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.footer a:not([class*="social"]):not(.wp-social-link):not(.social-link):not(:has(img)):not(:has(svg)):hover::after,
.bottom-bar a:not([class*="social"]):not(.wp-social-link):not(.social-link):not(:has(img)):not(:has(svg)):hover::after {
	transform: scaleX(1);
}





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

/* Add custom theme styles here */

@media screen and (max-width:900px) {
	.wp-block-column {
		flex-basis: 100% !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--accent--1);
	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;
}

/*offset-image-cols*/
@media screen and (min-width:901px) {
	.offset-image-cols .wp-block-image {
		margin-bottom: -140px !important;
		position: relative;
		z-index: 1;
	}

	.offset-image-cols-2 .wp-block-image {
		margin-top: -140px !important;
		position: relative;
		z-index: 1;
	}
}

.wp-block-ota-flipcard .ota-flipcard-inner>.wp-block-cover {
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	box-shadow: var(--wp--custom--shadow--1);
}

/*home-flip-cards*/
.home-flip-cards .ota-flipcard-inner>.wp-block-cover {
	min-height: 350px;
}

@media screen and (max-width:1200px) {
	.home-flip-cards .ota-flipcard-inner>.wp-block-cover {
		min-height: 280px;
	}
}

@media screen and (max-width:600px) {
	.home-flip-cards .ota-flipcard-inner>.wp-block-cover {
		min-height: 200px;
	}
}

/*boxed-cols*/
.boxed-cols .wp-block-column {
	background-color: var(--wp--custom--light--2);
	border-radius: var(--wp--custom--radius--xs);
	padding: var(--wp--custom--spacer--md) var(--wp--custom--spacer--xs);
	overflow: hidden;
	box-shadow: var(--wp--custom--shadow--1);
}

/*heading-line*/
.heading-line {
	position: relative;
}

.heading-line:after {
	content: '';
	position: absolute;
	width: 50px;
	height: 5px;
	background-color: var(--wp--custom--secondary--main);
	bottom: -20px;
	left: 0;
}

/*gallery*/
.wp-block-gallery {
	justify-content: center;
}

.wp-block-gallery .wp-block-image {
	margin-bottom: 0 !important;
}

/*stack-order*/
@media screen and (max-width:900px) {
	.stack-order-1 {
		order: 1;
	}

	.stack-order-2 {
		order: 2;
	}

	.stack-order-3 {
		order: 3;
	}
}