/*
Theme Name: Buffini & Company
Theme URI: https://buffiniandcompany.com
Author: Buffini & Company
Author URI: http://buffiniandcompany.com
Description: A custom theme for Buffini & Company
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: buffini-company
Tags:

At Buffini & Company, our mission is to impact and improve lives.
This theme is here to fulfill that mission
*/ 

/* WordPress Core
-------------------------------------------------------------- ****/
.footer-links-secondary a, .footer-links-secondary span {
    font-size: 13px !important;
}

    .nav-primary-open::before {
      opacity: 1;
    }
    .nav-primary-open {
      color: #333 !important;
    }
    .home-latest-feature-image {
      border: 0;
    }
    @media only screen and (max-width: 498px) {
      .global-logo img {
        width: 130px !important;
      }
    }


.alignnone {
    margin: auto;
}

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

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 20px;
}

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: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


.featured {
	background: #fff;
}
.featured > div {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.featured > div > a {
	display: table;
	width: 100%;
	height: 100%;
}
.featured .featured-text {
	padding: 2rem;
}
.featured img {
	width: 100%;
}
.card img {
	height: 100%;
	width: auto !important;
	position: relative;
	max-width: inherit;
	left: -9%;
}
.card-section {
	min-height: 290px;
}

li a.search {
    background-image: url("https://downloads.buffiniandcompany.com/assets/images/global/icons/search-dark.svg");
    background-repeat: no-repeat;
    background-position: 0 48%;
    margin: 0 1rem 0 1.5rem;
        margin-bottom: 0px;
    background-size: 1.75rem auto;
    opacity: 0.5;
}
.comments-area{
	display: none;
}
.card {
	height: 100%;	
}