/**
 * MetricSherpa.
 *
 * This file adds frontpage styles to the MetricSherpa Theme.
 *
 * @package MetricSherpa
 * @author  5.12 Design Lab
 * @license GPL-2.0-or-later
 * @link    https://512designlab.com/
 */

/* Site Header
---------------------------------------------------------------------------- */

.site-header {
    background-color: transparent;
}
/*
.site-header .wrap {
    width: 100%;
}

.site-header .title-area img {
    filter: invert();
}

.site-header .genesis-nav-menu {
    margin: 0;
    padding: 0;
}

.site-header .genesis-nav-menu a {
    color: #f2f2f2;
}

.site-header .genesis-nav-menu a:focus,
.site-header .genesis-nav-menu a:hover {
    color: #a1bf5f;
}

.menu-toggle,
.sub-menu-toggle {
    color: #f2f2f2;
}

.menu-toggle:focus,
.menu-toggle:hover,
.sub-menu-toggle:focus,
.sub-menu-toggle:hover {
    color: #a1bf5f;
}
*/
.content .entry {
    margin: 0;
}

/* Defaults
---------------------------------------------------------------------------- */

.wp-block-cover.section {
    min-height: 0;
    padding: 0;
}

/* Feature
--------------------------------------------- */

.feature .text {
    max-width: 600px;
}

.feature.alignfull:not(.has-background) .wp-block-group__inner-container > p:not(.has-background-color) {
    padding: 0;
}

.feature-alt {
    padding: 70px 0 100px;
}

.feature-alt .text {
    font-weight: 400;
}

/* Services
--------------------------------------------- */

.services {
    font-weight: 500;
    line-height: 1.25;
}

.services img {
    border-radius: 25px;
    transition: opacity .2s ease-in-out;
}

.services img:focus,
.services img:hover {
    opacity: .8;
}

.services p a {
    border-bottom: 1px solid #268d94;
    padding-bottom: 3px;
    text-decoration: none;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border 0.2s ease-in-out;
}

.services p a:focus,
.services p a:hover {
    color: #a1bf5f;
}

.services p a::after {
    content: "\f061";
    display: inline-block;
    font-family: 'fontawesome';
    font-weight: 700;
    padding-left: 5px;
    position: relative;
    top: 1.5px;
}

.services p a:focus,
.services p a:hover {
    border-color: #a1bf5f;
}

/* Brands
--------------------------------------------- */

.brands {
    position: relative;
}

/*.brands::before {
    background: url("../../images/metricsherpa-mark-tile.png") repeat center;
    background-size: 15%;
    content: '';
    display: block;
    filter: invert();
    height: 100%;
    left: 0;
    opacity: .025;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}*/

.brands::before {
    background: url(../../images/metricsherpa-mark.png) no-repeat center;
    background-size: auto 130%;
    content: '';
    display: block;
    filter: invert();
    height: 100%;
    left: 0;
    opacity: .03;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.brands > div {
    position: relative;
}

.brands .wp-block-gallery {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 40px !important;
    justify-content: center;
}

.brands .wp-block-gallery .wp-block-image {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    margin: 0 !important;
    max-width: 200px !important;
    width: auto !important;
}

.brands .wp-block-gallery .wp-block-image img {
    filter: brightness(0) invert(1);
    max-height: 50px;
    opacity: .85;
}


/* News
--------------------------------------------- */

.news {
    color: #7d7d7d;
    font-weight: 400;
}

.news .gb-block-post-grid .gb-block-post-grid-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.33;
}

.news .gb-block-post-grid .gb-block-post-grid-text article:first-child p {
    font-size: 18px;
}

.news .gb-block-post-grid .columns-1 article {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news .gb-block-post-grid .columns-1 article::before,
.news .gb-block-post-grid .columns-1 article::after {
    flex-basis: 100%;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-image {
    border-radius: 25px;
    flex-basis: 58%;
    height: 100%;
    overflow: hidden;
    transition: opacity .2s ease-in-out;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-image:focus,
.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-image:hover {
    opacity: .8;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news .gb-block-post-grid article > div.gb-block-post-grid-text .gb-block-post-grid-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.news .gb-block-post-grid article > div.gb-block-post-grid-text .gb-block-post-grid-title:focus,
.news .gb-block-post-grid article > div.gb-block-post-grid-text .gb-block-post-grid-title:hover {
    color: #268d94;
}

.news .gb-block-post-grid article > div.gb-block-post-grid-text .gb-block-post-grid-title a {
    text-decoration: none;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-text {
    flex-basis: 35%;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link {
    background-color: transparent;
	border: 1px solid currentColor;
	border-radius: 30px;
    color: #268d94;
	cursor: pointer;
	font-size: 16px;
	font-family: "Archivo", sans-serif;
	font-weight: 700;
    line-height: 1.1;
	padding: 12px 23px 13px;
	text-align: center;
	text-decoration: none;
    text-transform: uppercase;
	white-space: normal;
	width: auto;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link::after {
    content: "\f061";
    display: inline-block;
    font-family: 'fontawesome';
    font-weight: 700;
    margin-left: 5px;
    position: relative;
    top: 0.5px;
}

.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link:focus,
.news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link:hover {
    color: #a1bf5f;
}

.news .gb-block-post-grid .columns-3 article > div.gb-block-post-grid-text {
    /*text-align: center;*/
}

.news .gb-block-post-grid .columns-3 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link {
    font-size: 0;
}

.news .gb-block-post-grid .columns-3 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link::after {
    background-color: #268d94;
    border-radius: 25px;
    color: #fff;
    content: "\f061";
    display: inline-block;
    font-family: 'fontawesome';
    font-weight: 700;
    font-size: 30px;
    height: 50px;
    padding: 7px 6px 6px;
    position: relative;
    text-align: center;
    transition: background-color .2s ease-in-out;
    top: 0;
    width: 50px;
}

.news .gb-block-post-grid .columns-3 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link:focus::after,
.news .gb-block-post-grid .columns-3 article > div.gb-block-post-grid-text a.gb-block-post-grid-more-link:hover::after {
    background-color: #a1bf5f;
}


/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (min-width: 768px) {
    
    .feature-alt img {
        max-width: 110%;
    }
    
}

@media only screen and (min-width: 1000px) {
/*    
    .site-header .wrap {
        max-width: none;
    }
    
    .genesis-nav-menu > .menu-highlight > a:focus,
	.genesis-nav-menu > .menu-highlight > a:hover {
		color: #fff;
	}
*/    
    
}

@media only screen and (min-width: 1270px) {
    
    .news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-image {
        max-height: 410px;
    }
    
}

@media only screen and (max-width: 1269px) {
    
    .feature-alt {
        padding: 50px 0 70px;
    }
    
    .feature-alt .text h2 {
        font-size: 58px !important;
    }
    
    .feature-alt .text p {
        font-size: 20px !important;
    }
    
}

@media only screen and (max-width: 999px) {
    
    .feature-alt {
        padding: 30px 0 50px;
    }
    
    .feature-alt .text h2 {
        font-size: 45px !important;
    }
    
    .feature-alt .text p {
        font-size: 20px !important;
    }
    
}

@media only screen and (max-width: 767px) {
    
    .feature .text h2 {
        font-size: 57px !important;
    }
    
    .feature-alt .gb-layout-column-wrap {
        display: block;
    }
    
    .feature-alt .text {
        text-align: center;
    }
    
    .feature-alt .text h2 {
        font-size: 55px !important;
    }
    
    .feature-alt .text h2 br {
        content: ' ';
    }
    
    .feature-alt .text h2 br::after {
        content: ' ';
    }
    
    .feature-alt .text p {
        font-size: 24px !important;
    }
    
    .feature-alt .wp-block-image {
        text-align: center;
    }
    
    .feature-alt img {
		margin-top: 50px;
        width: 400px;
    }
	
	.feature-alt div.is-layout-flex {
		justify-content: center;
	}
    
    .brands .wp-block-gallery .wp-block-image {
        max-width: 175px !important;
    }
    
    .brands .wp-block-gallery .wp-block-image img {
        max-height: 40px;
    }
    
    .news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-image,
    .news .gb-block-post-grid .columns-1 article > div.gb-block-post-grid-text {
        flex-basis: 100%;
        height: auto;
    }
    
}

@media only screen and (max-width: 600px) {
    
    .services,
    .contact {
        text-align: center;
    }
    
    .services .wp-block-genesis-blocks-gb-column {
        margin-bottom: 40px;
    }
    
    .services .wp-block-genesis-blocks-gb-column:last-child {
        margin-bottom: 0;
    }

    .news .gb-block-post-grid .columns-3 article > div.gb-block-post-grid-text {
        text-align: left;
    }
        
}

@media only screen and (max-width: 500px) {
    
    .feature-alt {
        padding: 0 0 70px;
    }
    
    .feature .text h2,
    .feature-alt .text h2 {
        font-size: 37px !important;
    }
    
    .feature-alt .text p {
        font-size: 18px !important;
    }
    
    .brands .wp-block-gallery {
        gap: 20px !important;
    }
    
    .brands .wp-block-gallery .wp-block-image {
        max-width: 150px !important;
    }
    
    .brands .wp-block-gallery .wp-block-image img {
        max-height: 35px;
    }
    
}