/*   
Theme Name: Anstiss CPA
Theme URI: https://anstisscpa.com/
Description: Custom WordPress theme for Anstiss CPA
Author: Yelling Mule
Author URI: https://www.yellingmule.com
Version: 1.0
*/

@CHARSET "UTF-8";

/* =WordPress Core from http://codex.wordpress.org/CSS#WordPress_Generated_Classes
-------------------------------------------------------------- */

/*Required Styles*/

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 13px;
    line-height: 17px;
    margin: 0;
    padding: 0.5rem 0;
}

/*CUSTOM SCSS
-------------------------------------------------------------- */


:root {
	--font-body:'Lato', sans-serif;
	--font-heading:'Nunito', sans-serif;
	--color-navy:#1A2B56;
	--color-gold:#8B7856;
	--color-beige: rgba(139, 120, 86, 0.14);
}

html, body{
    margin:0;
    padding:0;
    width:100%;
    overflow-x:hidden;
    font-family: var(--font-body);
}
a, a:hover, a:focus{
	text-decoration: none;
}
h1{
	font-size:48px;
	font-weight:600;
	text-transform:uppercase;
	font-family: var(--font-heading);
}
h2{
	font-size:32px;
	font-weight:600;
	text-transform: uppercase;
	font-family: var(--font-heading);
	color:var(--color-navy);
}
h3{
	font-size:24px;
	font-weight:600;
	font-family: var(--font-body);
	color:var(--color-gold);
}
h4{
	font-size:21px;
	font-weight:600;
	text-transform: uppercase;
	font-family:var(--font-heading);
	color:var(--color-navy);
}
h5{
	font-size:21px;
	font-weight:600;
	font-family:var(--font-heading);
	color:var(--color-navy);
}
p{
	color:black;
	font-size:16px;
	font-family: var(--font-body);
	line-height: 1.5;
}
p a{
	color:var(--color-navy);
}
p a:hover{
	color:var(--color-gold);
}
main{
	margin-top:90px;
}
.centered{
	text-align:center;
}
.right{
	text-align: right;
}

/*BUTTONS*/

.ym_button{
	display:inline-block;
	color:white;
	background:var(--color-gold);
	text-transform:uppercase;
	font-size:16px;
	font-weight:900;
	padding:0.75rem 2rem;
}
.ym_button:hover{
	background:var(--color-navy);
	color:white;
	transition-duration: 0.5s;
}

/*HEADER*/

.ym_header{
	position:fixed;
	width:100%;
	background:white;
	z-index:1000;
	box-shadow:0 0 5px rgba(0,0,0,0.15);
}
.ym_header,
.ym_header_logo{
	height:90px;
}
.ym_header_logo a{
	display:block;
	width:100%;
	height:100%;
}
.ym_header_logo img{
	height:100%;
	padding:1.25rem 0;
}
.ym_header_right{
	text-align:right;
}
.ym_header_nav{
	list-style:none;
	margin:0;
	padding:0;
	display:inline-block;
	font-size:16px;
	text-transform: uppercase;
	font-weight:600;
	font-family: var(--font-heading);
}
.ym_header_nav li{
	display:inline-block;
}
.ym_header_nav li a{
	display:block;
	padding:2.065rem 1rem;
	color:var(--color-navy);
}
.ym_header_nav li a:hover,
.ym_header_nav li:hover > a{
	color:var(--color-gold);
}
.ym_header_nav li.menu-item-has-children a::after{
	content:'\f107';
	font: var(--fa-font-solid);
	color:var(--color-gold);
	margin:0 0 0 0.5rem;
	font-size:14px;
}
.ym_header_nav .sub-menu{
	display:none;
	position: absolute;
	width:275px;
	background:white;
	box-shadow:0 5px 5px rgba(0,0,0,0.15);
	text-align:left;
	text-transform: none;
	list-style:none;
	margin:0;
	padding:0 0 0.5rem;
}
.ym_header_nav li:hover .sub-menu{
	display:block;
}
.ym_header_nav .sub-menu li{
	display:block;
}
.ym_header_nav .sub-menu li a{
	display:block;
	padding:0.5rem 1rem;
}
.ym_header_nav .sub-menu li a:hover{
	background:var(--color-navy);
	color:white;
}
.ym_header_nav .sub-menu li a::after{
	content:none;
}
.ym_header_nav .sub-menu li .sub-menu{
	padding:0 0 0 1rem;
	margin:0 0 0.5rem;
	font-size:14px;
	position: relative;
	background:transparent;
	box-shadow: none;
}
.ym_header_nav .sub-menu li .sub-menu::before{
	content:'';
	width:2px;
	height:calc(100% - 1rem);
	background:var(--color-gold);
	position: absolute;
	left:1rem;
	top:0.5rem;
}
.ym_header_button{
	display:inline-block;
	margin-left:1rem;
}
.ym_header_mobile{
	display:none;
	color:var(--color-navy);
	font-size:24px;
}

/*FOOTER*/

.ym_footer{
	background:var(--color-navy);
	padding:3rem 0 2rem;
}
.ym_footer a{
	color:white;
}
.ym_footer_nav{
	-webkit-columns:4;
	columns:4;
	font-size:16px;
	font-weight:900;
	text-transform: uppercase;
	font-family: var(--font-heading);
	list-style:none;
	padding:0;
	margin:0;
}
.ym_footer_nav li{
	display:block;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}
.ym_footer_nav li ul{
	font-size:14px;
	font-family: var(--font-body);
	text-transform: none;
	list-style:none;
	padding:0;
	margin:0;
	font-weight:400;
	margin:0 0 2rem;
}
.ym_footer_nav li ul li{
	margin:0.5rem 0 0;
}
.ym_footer_right{
	text-align: right;
}
.ym_footer_button{
	margin:0 0 2rem;
}
.ym_footer h5{
	color:white;
	text-transform: uppercase;
	font-size:20px;
	font-weight:900;
	margin:0 0 2rem;
}
.ym_footer h5 i{
	width:2rem;
	text-align:center;
}
.ym_footer_bottom{
	position: relative;
	padding:2rem 0 0;
}
.ym_footer_bottom::before{
	content:'';
	width:75%;
	background:var(--color-gold);
	height:3px;
	position: absolute;
	top:0;
	left:0;
}
.ym_footer p{
	font-size:12px;
	font-weight:300;
	color:white;
	margin:0 0 0.25rem;
}
.ym_footer_links{
	font-size:16px;
	font-weight:900;
	text-transform: uppercase;
	font-family: var(--font-heading);
	list-style:none;
	padding:0.5rem 0;
	margin:0;
	text-align:center;
}
.ym_footer_links li{
	display:inline-block;
	margin:0 1rem;
}
.ym_footer_logo{
	width:100%;
	text-align:right;
}
.ym_footer_logo img{
	max-height:44px;
}

/*HERO*/

.ym_hero{
	height:600px;
	width:100%;
	background-size:cover;
	background-position: center center;
	background-repeat: no-repeat;
	position:relative;
}
.ym_hero_overlay{
	width:100%;
	height:100%;
	display:flex;
	align-items: center;
	background: linear-gradient(90deg, #FFF 0%, rgba(249, 249, 249, 0.84) 48.44%, rgba(217, 217, 217, 0.00) 100%);
}
.ym_hero_content{
	width:100%;
	position: relative;
}
.ym_hero_content::before{
	content:'';
	width:3px;
	background:var(--color-gold);
	height:500px;
	position: absolute;
	left:calc(((100vw - 1140px) / 2) + 46px);
	top:0;
}
.ym_hero_content h1{
	font-size:100px;
	font-weight:600;
	margin:0;
	color:var(--color-navy);
}
.ym_hero_content h3{
	color:var(--color-navy);
	font-size:24px;
	margin:0 0 1rem;
}
.ym_hero_button{
	margin:2rem 0 0;
}

/*CONTENT STYLES*/

.ym_content{
	padding:5rem 0;
	position: relative;
}
.ym_content_top_large{
	padding-top:10rem;
}
.ym_content_top_small{
	padding-top:2.5rem;
}
.ym_content_top_none{
	padding-top:0;
}
.ym_content_bottom_large{
	padding-bottom:10rem;
}
.ym_content_bottom_small{
	padding-bottom:2.5rem;
}
.ym_content_bottom_none{
	padding-bottom:0;
}
.ym_content_beige{
	background: rgba(139, 120, 86, 0.14);
}
.ym_content_img{
	background-size:cover;
	background-position: center center;
	background-repeat: no-repeat;
	padding:0;
}
.ym_split_content .ym_text_content{
	position:relative;
	padding:1rem 0 1rem 3rem;
}
.ym_split_content .order-lg-1 .ym_text_content{
	padding:1rem 3rem 1rem 0;
}
.ym_split_content .ym_text_content::before{
	content:'';
	width:3px;
	height:50%;
	position:absolute;
	background:var(--color-gold);
	top:1rem;
	left:0.75rem;
}
.ym_split_content .order-lg-1 .ym_text_content::before{
	right:0.75rem;
	left:auto;
}
.ym_text_content .ym_button{
	margin:1rem 0 0;
}
.ym_text_content_flex{
	display:flex;
	height:100%;
	align-items: center;
}
.ym_split_content .ym_text_content.ym_text_content_flex::before{
	top:50%;
	-webkit-transform:translate(0,-50%);
	transform:translate(0,-50%);
}
.ym_text_content a:not(.ym_button){
	color:var(--color-navy);
	text-decoration: underline;
}
.ym_text_content a:not(.ym_button):hover{
	color:var(--color-gold);
}
.ym_text_content h3,
.ym_text_content h4,
.ym_text_content h5{
	margin:2rem 0 1rem;
}

/*IMAGES*/

.ym_image{
	width:100%;
	padding-bottom:70%;
	min-height:100%;
	position:relative;
	background-size:cover;
	background-position: center center;
	background-repeat: no-repeat;
}


/*LINK/IMAGE/ICON BLOCKS*/

.ym_image_link_blocks{
	margin:-2rem 0 0;
}
.ym_image_link_blocks .ym_col{
	margin:2rem 0 0;
}
.ym_image_link_block .ym_image::before{
	content:'';
	width:85%;
	height:3px;
	background:var(--color-gold);
	position: absolute;
	top:1rem;
	right:-1rem;
}
.ym_image_link_block_caption{
	position:relative;
	width:100%;
	height:70px;
	display: flex;
	align-items:center;
	padding:0.5rem 0 0;
}
.ym_image_link_block_caption h5{
	text-transform:uppercase;
	font-size:18px;
	margin:0;
	flex:0 0 85%;
}
.ym_image_link_block_caption i{
	text-align:center;
	color:var(--color-gold);
	width:35px;
	height:35px;
	border:1px solid var(--color-gold);
	border-radius:50%;
	padding:8px;
}
.ym_image_link_block a:hover .ym_image_link_block_caption i{
	color:white;
	background:var(--color-gold);
	transition-duration: 0.5s;
}
.ym_icon_blocks{
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	margin:-2rem 0 0;
}
.ym_icon_block{
	flex:0 0 20%;
	padding:0 1.5rem;
	text-align:center;
}
.ym_icon_block_wide{
	flex:0 0 25%;
}
.ym_icon_block_extrawide{
	flex:0 0 33.33%;
}
.ym_icon{
	width:100px;
	height:100px;
	background:var(--color-gold);
	border-radius:50%;
	position:relative;
	display:flex;
	justify-content: center;
	align-items: center;
	margin:0 auto 1rem;
}
.ym_icon img{
	max-width:80%;
	max-height:80%;
	width:auto;
	height:auto;
}
.ym_icon span{
	color:white;
	font-size: 40px;
	font-family:var(--font-heading);
	line-height:1;
}
.ym_icon_block{
	margin:2rem 0 0;
}
.ym_icon_block a:hover .ym_icon{
	background:var(--color-navy);
	transition-duration: 0.5s;
}
.ym_image_block .ym_image{
	background-size: contain;
}
.ym_image_block_caption{
	text-align: center;
	margin:1rem 0 0;
}
.ym_image_block_caption h5{
	text-transform: uppercase;
}

/*CTA*/

.ym_cta{
	text-align:center;
}
.ym_cta_overlay{
	background:rgba(255,255,255,0.75);
	width:100%;
	height:100%;
	padding:5rem 0;
}
.ym_cta h2{
	margin:0 0 1rem;
}
.ym_cta .ym_button{
	margin:1rem 0 0;
}

/*TITLE BAR*/

.ym_title_bar{
	background:var(--color-navy);
	height:150px;
	position: relative;
}
.ym_title_bar .container{
	height:100%;
	display:flex;
	align-items: center;
	justify-content: center;
}
.ym_title_bar h1,
.ym_title_bar span{
	color:white;
	text-transform: uppercase;
	margin:0;
	font-size:48px;
	font-weight:600;
	font-family: var(--font-heading);
}
.ym_title_bar::after{
	content:'';
	width:75%;
	height:3px;
	background:var(--color-gold);
	bottom:-2px;
	left:0;
	position: absolute;
}

/*BREADCRUMBS*/

.ym_breadcrumbs{
	padding:2rem 0;
}
.ym_breadcrumbs p{
	margin:0 0 0 -1rem;
}
.ym_breadcrumbs p a,
.ym_breadcrumbs .breadcrumb_last{
	margin:0 1rem;
}
.ym_breadcrumbs p a{
	color:var(--color-navy);
}
.ym_breadcrumbs p a:hover,
.ym_breadcrumbs .breadcrumb_last{
	color:var(--color-gold);
}

/*ACCORDIONS*/

.ym_accordion {
    text-align: left;
    margin: -1rem 0 0;
}
.ym_accordion_section {
    position: relative;
    border:1px solid var(--color-gold);
    border-top-width:3px;
    margin: 1rem 0 0;
    padding: 1rem 2rem;
}
.ym_accordion h3 {
    margin-bottom: 0;
    font-size: 21px;
    padding-right: 3rem;
    color:var(--color-navy);
    font-family: var(--font-heading);
}
.ym_accordion_section.opened h3 {
    color:var(--color-gold);
}
.ym_accordion .ym_accordion_section:last-of-type {
    margin-bottom: 0;
}
.ym_accordion_q {
    position: relative;
    cursor: pointer;
    padding:0;
}
.ym_accordion_section::after {
    content: "\f107";
    font: var(--fa-font-solid);
    position: absolute;
    right: 2rem;
    top: 1.25rem;
    pointer-events: none;
    color: var(--color-gold);
   	font-size:18px;
}
.ym_accordion_section.opened::after {
    content: "\f106";
}
.ym_accordion_a {
    display: none;
    padding: 1rem 0 2rem;
}
.ym_accordion_a p:last-child {
    margin: 0;
}
.ym_accordion_a h4{
	margin:2rem 0 1rem;
}

/*TEAM*/

.ym_team_image{
	width:100%;
	padding-bottom:120%;
	border:1px solid var(--color-gold);
	background-size:100% auto;
	background-position: center bottom;
	background-repeat: no-repeat;
}
.ym_team_caption{
	width:100%;
	padding-right:3rem;
	margin:1rem 0 0;
	position: relative;
}
.ym_team_caption h5{
	font-size:18px;
	font-weight:500;
	margin:0;
}
.ym_team_caption p{
	font-style: italic;
	color:var(--color-gold);
	margin:0;
	font-size:14px;
}
.ym_team_caption i{
	text-align:center;
	color:var(--color-gold);
	width:35px;
	height:35px;
	border:1px solid var(--color-gold);
	border-radius:50%;
	padding:8px;
	position:absolute;
	right:0;
	top:0;
}
.ym_team_member:hover i{
	color:white;
	background:var(--color-gold);
	transition-duration: 0.5s;
}
.ym_text_content h1,
.ym_team_content h1{
	color:var(--color-navy);
	text-transform: none;
	font-size:36px;
}
.ym_team_content h5:not(.ym_text_content h5){
	color:var(--color-gold);
	margin:0 0 1rem;
}
.ym_team_buttons{
	margin:1rem -0.25rem;
	width:calc(100% + 0.5rem);
	display:flex;
}
.ym_team_buttons .ym_button{
	flex:1;
	text-align:center;
	margin:0 0.25rem;
}
.ym_team_box{
	background:var(--color-beige);
	text-align:center;
	padding:1rem;
}
.ym_team_box h5{
	text-transform: uppercase;
}
.ym_team_list{
	list-style: none;
	margin:0;
	padding:0;
	text-align:center;
	line-height: 1.2;
}
.ym_team_list li{
	margin:0 0 0.5rem;
}
.ym_team_logo_block{
	text-align: center;
}
.ym_team_logo_block p{
	font-style: italic;
	margin:0.5rem 0 0;
}
.ym_team_logo_block .ym_image{
	background-size:contain;
}

/*NEWS*/

.ym_news_blocks .ym_col{
	margin:0 0 2rem;
}
.ym_news_block{
	border:1px solid var(--color-gold);
	background:white;
	border-top-width:3px;
	height:100%;
}
.ym_news_block:hover{
	border-color:var(--color-navy);
	background: var(--color-beige);
}
.ym_news_block a{
	padding:2rem;
	display:block;
}
.ym_news_block h4{
	color:var(--color-navy);
	font-family:var(--font-heading);
	text-transform: none;
}
.ym_news_block p{
	margin:0;
}
.ym_news_block span{
	color:var(--color-gold);
	font-family:var(--font-heading);
	text-transform: uppercase;
	margin:0 0 1rem;
	display:block;
}
h5.date{
	color:var(--color-gold);
	text-transform: uppercase;
	margin:0;
	font-size:16px;
}

/*PAGINATION*/

.ym_pagination{
	width:100%;
	font-family: var(--font-heading);
	text-transform: uppercase;
}
.ym_pagination a{
	color:var(--color-navy);
	font-weight:500;
}
.ym_pagination a:hover{
	color:var(--color-gold);
}

/*IFRAMES*/

.ym_text_content iframe{
	overflow: scroll !important;
}
.ym_text_content iframe.ym_dates{
	height:875px;
}
.ym_text_content iframe.ym_taxes{
	height:1575px;
}
.ym_text_content iframe.ym_glossary{
	height:3000px;
}
.ym_text_content iframe.ym_refund{
	height:140px;
}


















