/*!
Theme Name: Farwest
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: farwest
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Farwest is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

.menu-secondary-top-menu-container{
	display: inline-block;
}

#internal-page-footer .custom-logo{
	width: 180px;
	height: auto;
}
.footer-right{
	float: right;
}
#home-top {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
	height: 402px;
	box-shadow: 0 20px 35px rgba(0,0,0,1) inset;
}
#blog-nav .blog-nav-pages .current:first-child{
	margin-left: auto;
}
#blog-nav .blog-nav-pages .current:last-child{
	margin-right: auto;
}
#blog-nav .blog-nav-pages{
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
}
#blog-nav .blog-nav-pages .page-numbers.prev{
	margin-right: auto;
}
#blog-nav .blog-nav-pages .page-numbers.next{
	margin-left: auto;
}
#blog-nav .blog-nav-pages .page-numbers{
    display: inline-block;
    min-width: 20px;
    list-style: none;
    font-size: 1.2em;
}
#blog-nav .blog-nav-pages .current {
    background: #0054a3;
    color: #fff;
    padding: 4px 6px;
}
#blog-nav{
	margin-bottom: 5px;
}
.breadcrumbs li{
	color: #fff;
}
.popout-image:not(:first-of-type):after{
    display: none;
}
#child-menu ul{
    padding: 0;
}
.img-header-left img{
    width: 100%;
}
.elementor-widget-text-editor h4{
    color: #333;
}
.wid-tree-col .elementor-widget-wp-widget-recent-posts ul{
    list-style: none;
    padding: 0;
}
.wid-tree-col .elementor-widget-wp-widget-recent-posts ul > li{
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 18px;
}
.wid-tree-col .elementor-widget-wp-widget-recent-posts ul > li .post-date{
    text-transform: uppercase;
    color: #a1a0a4;
    font-size: .8em;
    margin-bottom: 0;
    padding-top: 2px;
}
.wid-tree-col .elementor-widget-wp-widget-recent-posts .elementor-widget-container h5{
    display: none;
}
.wid-tree-col{
    padding-bottom: 25px;
}
.flex-row{
    display: flex;
    flex-wrap: wrap;
}
.block-link{
    display: block;
}
#nav-side li.current_page_item li.current_page_item a:before{
    display: none;
}
.directory-listing .row{
    display: flex;
    flex-wrap: wrap;
}
.directory-listing .row p{
    margin: 0;
}
.clear-p p{
    padding: 0 !important;
    font-size: 1em !important;
    margin: 0 !important;
}

/* **** Mega Nav **** */
#site-navigation {
    width: 100%;
    display: flex;
}

.d-flex {
    display: flex;
}

.nav > li {
    position: unset;
}

.dropdown-menu li a {
    transition: all 250ms ease-in;
    font-weight: 400;
    margin: 5px 15px;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.dropdown-menu li a:hover {
    background: none;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--secondary);
}

.mega-menu {
    width: 100%;
}
#primary-menu > .dropdown.open::after {
    content: '';
    height: 2rem;
    width: 2rem;
    border-top: 4px solid var(--secondary);
    border-right: 4px solid white;
    border-bottom: 4px solid white;
    border-left: 4px solid var(--secondary);
    position:absolute;
    transform: translateX(50%) rotate(45deg);
    left: 50%;
    bottom: -14px;
    background: white;
    z-index: 9999;
}

.dropdown.open .mega-menu {
    display: flex;
    border-top: 4px solid var(--secondary);
}

.section-label {
    position: relative;
    display: block;
    padding: 10px 15px;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
}

a.section-label {
    color: var(--primary);
    margin-left: 20px;
    transition: all 350ms ease-out;
}

a.section-label::before {
    content: "";
    height: 10px;
    width: 10px;
    border-top: 4px solid var(--secondary);
    border-right: 4px solid var(--secondary);
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

a.section-label:hover {
    color: var(--primary-dark);
    padding-left: 25px;
}

.quote-button {
    background: var(--secondary);
}

.menu-item {
    font-weight: bold;
}

@media (min-width: 768px) {
    .navbar-nav {
        float: right;
    }
}

.main-content .group p:not(.headline) {
    margin-left: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.5;
}

.main-content .group h2 {
    margin-left: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}