/*
Theme Name: Rosen Advisory
Version: 1.0
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 */

/***  Montserrat  ***/ 

/* Light */
@font-face {
	font-family: 'Montserrat';
	font-weight: 300;
	src: url('fonts/montserrat/montserrat-light.woff2');
}

/* 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);
}

body:before{
    content: '';
    background-image: url(/wp-content/uploads/rva-glyph-color-hi-res.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 300px;
    width: 300px;
	position: fixed;
	z-index: -1;
    top: calc(50% - 150px);
    left: -40px;
    opacity: .05;
}


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

.btt-button [class*="fa"] {
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--custom--primary--dark);
	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--dark);
}

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



/***  HEADINGS  ***/

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

h1 {
	font-size: 3.5em;
	text-transform: uppercase;
}

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: 1024px) {
	h1 { font-size: 2.85em; }
	
	h2 { font-size: 2em; }
}

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

h2.wp-block-heading:before{
    content: '';
    display: block;
    margin-bottom: 5px;
    width: 40px;
    height: 3px;
    background-color: var(--wp--custom--primary--main);
}

h2.wp-block-heading.has-text-align-center:before{
    margin: 0 auto 10px;
}

.cta-bar h2.wp-block-heading:before,
h2.wp-block-heading.has-white-color:before{
    background-color: white;
}

h5 + h2.wp-block-heading {
    margin-block-start: 0;
}

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

body.single-post h2 { font-size: 2em; }

body.single-post h2.wp-block-heading:before{display:none;}


/***  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--dark);
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--custom--primary--dark);
	color: white;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: .5px;
}

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

.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--primary--light);
	background: var(--wp--custom--primary--light);
	color: var(--wp--custom--dark--1);
}



/***  ICONS  ***/

.fa {
	font-weight: 300;
}

/* Icon Colors */

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

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

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

/* Icon Backgrounds */

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

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

a .fa-br {
	border-color: var(--wp--custom--secondary--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, 
.brand-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"] {
	font-weight: 400;
	color: var(--wp--custom--secondary--main);
}

.brand-list li:before{
	content: "\e522";
}



/***  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--secondary--main);
}

/* Buttons */

input[type="submit"], 
input[type="reset"], 
input[type="button"], 
form button {
	border-color: var(--wp--custom--primary--dark);
	background-color: var(--wp--custom--primary--dark);
	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: var(--wp--custom--dark--1);
}

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





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



/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: var(--wp--custom--secondary--dark);
	border-bottom: 3px solid var(--wp--custom--light--3);
}

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



/***  TOP BAR  ***/

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



/***  HEADER  ***/

#header-wrap{
	background-color: color-mix( in srgb, var(--wp--custom--secondary--dark) 60%,	transparent);
	border-bottom: 3px solid #ffffffbd;
	position: absolute;
	z-index: 10;
}

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

/* 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 {
	color: white;
	position: relative;
}

.nav-menu > li:not(.nav-button) > a::after,
.nav-menu > li:not(.nav-button) > span::after,
.nav-menu > li:not(.nav-button) > button::after,
.nav-menu > li.current-menu-item > a::after, 
.nav-menu > li.current-menu-item > span::after, 
.nav-menu > li.current-menu-item > button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--wp--custom--light--1);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu > li:hover > a::after,
.nav-menu > li:hover > span::after,
.nav-menu > li:hover > button::after,
.nav-menu > li.current-menu-item > a::after, 
.nav-menu > li.current-menu-item > span::after, 
.nav-menu > li.current-menu-item > button::after {
    width: 100%;
}

.nav-menu > li.current-menu-item > a::after, 
.nav-menu > li.current-menu-item > span::after, 
.nav-menu > li.current-menu-item > button::after {
    background-color: var(--wp--custom--primary--light);
}


.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: white;
}

/* Nav Button */

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

.nav-menu > li.nav-button > a {
	margin-left: 10px;
	margin-right: 40px;
	background-color: transparent;
	border-radius: var(--wp--custom--radius--xs);
	color: var(--wp--custom--primary--light);
	font-weight: 600;
	font-size: 1.1em;
	text-transform: uppercase;
}

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

.nav-menu > li.nav-button > a i{
	font-style: normal!important;
	padding-left: 5px;
	font-size: .85em;
	transition: all 300ms ease-in-out;
	font-family: 'Font Awesome 6 Pro'!important;
}

.nav-menu > li.nav-button:hover > a i{
	font-style: normal!important;
	transform: translateX(5px);
}


/* Dropdowns */

.nav-menu li > ul{background-color: var(--wp--custom--secondary--x-light);}

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

/* Nested Dropdowns */

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



/***  HIDDEN NAV  ***/

.hidden-nav{background-color: var(--wp--custom--primary--x-light);}

.hidden-menu > li.nav-button > a i{
	font-family: 'Font Awesome 6 Pro'!important;
	font-style: normal!important;
	font-size: .85em;
}

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

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





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



/***  BANNER  ***/

.banner {
	background-color: var(--wp--custom--secondary--dark);
	padding-top: 120px;
	text-align: left;
}

body.home .banner:before{background-attachment:fixed;}

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

.banner-tall .banner-inner{min-height: 550px;}

.banner-text-wrap{
	max-width: 750px;
    margin-left: 0;
}

body.single-post .banner-text-wrap{
	max-width: 1000px;
}

.banner .headline-wrap:before{
    content: '';
    display: block;
    margin-bottom: 5px;
    width: 60px;
    height: 5px;
    background-color: var(--wp--custom--primary--main);
}

.banner .deck-wrap,
.banner .banner-content-wrap {
    margin: 20px auto 0;
}

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

.banner a:not([class]) {
	color: var(--wp--custom--primary--main);
	border-bottom: 1px dotted var(--wp--custom--primary--main);
}

.banner a:not([class]):hover {
	color: var(--wp--custom--primary--dark);
	border-bottom: 1px solid var(--wp--custom--primary--dark);
}



/***  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--secondary--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--xs);
	background-color: transparent;
	box-shadow: var(--wp--custom--shadow--1);
	overflow: hidden;
	color: var(--wp--custom--dark--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--secondary--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: 0;
    bottom: 30px;
    width: 100%;
}

.entry-cols .entry-link .entry-link-text {
	background-color: var(--wp--custom--primary--dark);
	color: white;
	padding: .5em .75em;
	border-radius: var(--wp--custom--radius--xs);
	font-weight: 600;
	text-transform: uppercase;
	font-size: .9em;
	letter-spacing: .5px;
}

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

/*POST COLS*/
.post-cols .entry-link-text-wrap{margin-top:20px;}

/* Archive Pagination */

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

.archive-pagination a:hover {
	border-color: var(--wp--custom--secondary--light);
	color: var(--wp--custom--secondary--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 {
	background-color: var(--wp--custom--dark--3);
	padding:0;
}

.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: var(--wp--custom--light--3);
	font-size: 0.9em;
	border-top: 3px solid var(--wp--custom--secondary--dark);
}

.footer .menu{margin: 20px 0 30px;}

@media screen and (min-width:767px) {
	.footer .wp-block-image{text-align: center;}

	.footer .menu,
	.footer .contact-list{
		display: flex;
        gap: 50px;
        justify-content: center;
	}
}


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

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



/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--secondary--dark);
	font-size: 0.9em;
	color: var(--wp--custom--light--1);
}

/* Menus */

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

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





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

/* Add custom theme styles here */



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

.icon-cards .wp-block-column .wp-block-heading, 
.icon-cards .wp-block-column .wp-block-heading a {
	color: var(--wp--custom--secondary--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;
}


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

.boxed-cols .icon-container{
	background-color: var(--wp--preset--color--secondary-dark);
	fill:white;
	padding:var(--wp--custom--spacer--xxs);
	border-radius: var(--wp--custom--radius--xs);
}

/*box counter*/
.box-counter{
	counter-reset: box-counter;
}

.box-counter .wp-block-group{
    counter-increment: box-counter;
	position:relative;
	margin-block-start:40px;
}

.box-counter .wp-block-group:before{
    content: '0' counter(box-counter);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    background-color: var(--wp--custom--secondary--dark);
    padding: 5px;
    min-width: 50px;
    height: 50px;
	margin-bottom:20px;
	border-radius: var(--wp--custom--radius--xs);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.box-counter .wp-block-group h3 + p{
    margin-block-start: 15px;
}

@media screen and (min-width:601px){
	.box-counter .wp-block-group{ margin-left: 100px; }
	
	.box-counter .wp-block-group:before{
		position: absolute;
    	left: -100px;
	}
}

/*navbar*/
.archive-navbar select, .archive-navbar input {
    max-width: 293px;
	margin: 5px 0;
}

/*we-help-you-section*/
@media screen and (max-width:900px){
	.we-help-you-section{ background: var(--wp--custom--secondary--x-light) !important; }
	
	.we-help-you-section .wp-block-column:first-of-type{
		padding-bottom:0!important;
	}
	
	.we-help-you-section .wp-block-column:last-of-type{
		padding-bottom:var(--wp--preset--spacing--xxl)!important;
	}
}

@media screen and (max-width:1200px){
	body.single-post .main-inner{
		flex-direction:column-reverse;
	}
}

/*DETAILS READ MORE*/

details.read-more summary{
    display: inline;
    padding: 0;
    text-align: center;
    margin-block-start: 20px !important;
    font-size: .9em;
    background-color: transparent;
    color: var(--wp--custom--primary--main);
}



details.read-more summary:hover{
	color: var(--wp--custom--primary--dark);
}

details.read-more summary i{
	color: var(--wp--custom--primary--main);
	transition: all 300ms ease-in-out;
	font-style:normal!important;
	font-weight:800;
}

details.read-more summary:hover i{
	transform: translateX(3px);
}

details.read-more[open] summary,
details.read-more summary:after{display:none!important;}