/*
Theme Name: Outdoor Solutions Divi Child Theme
Description:  Custom Divi child theme developed for Outdoor Solutions
Author:       Tom Greer - TRG Web Designs
Template:     Divi
*/


/* Theme customization starts here
-------------------------------------------------------------- */


/* CSS Variables */

 :root {
    /* Buttons */
    --button-background: #1e6ecd;
    --button-color: #fff;
    --button-hover-background: #1e6ecd;
    --button-hover-color: #fff;
    --button-border: 2;
    --button-hover-border: 2;
    --button-border-radius: 8px;
    --button-padding: 0.3em 1em;
    --button-font-size: 20px;
    --button-font-family: "Lato", Helvetica, Arial, Lucida, sans-serif;
    --button-font-weight: 500;
    /* CTA Cards */
    --card-title-background: #1e6ecd;
    --card-title-color: #fff;
    /* Call Button */
    --call-button-color: #fff;
    --call-button-background: #1e6ecd;
    --call-button-hover-background: #1e6ecd;
    --call-button-border-radius: 0;
    /* Footer */
    --footer-text-color: #00d338;
    --footer-link-hover-color: #fff;
}


/* TRG Web Designs footer link */

#footer-info {
    float: right;
}


/* Set hamburger menu color */

.mobile_menu_bar::before,
.mobile_menu_bar::after,
.et_toggle_slide_menu::before,
.et_toggle_slide_menu::after {
    color: #1e6ecd !important;
}


/* Hyperlink hover effect - but not on buttons */

a:hover {
    opacity: 0.7;
}

.et_pb_button:hover {
    opacity: 1;
}

.et_pb_image a:hover {
    opacity: 1;
}


/* Animation on hover over images */

.hover-raise {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.hover-raise:hover {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}


/* TRG Web Designs footer link */

#footer-bottom .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row nowrap;
    flex-direction: row;
    max-width: 95%;
    width: 95%;
}

#footer-info,
#footer-bottom .et-social-icons,
#copyright {
    -webkit-box-flex: 1;
    -ms-flex: 1 100%;
    flex: 1 100%;
}

#footer-info {
    float: none;
    text-align: left;
}

#footer-bottom .et-social-icons {
    float: none;
    text-align: center;
}

#copyright {
    color: var(--footer-text-color);
    text-align: right;
}

#footer-bottom a:hover {
    color: var(--footer-link-hover-color) !important;
    opacity: 1;
}

@media all and (max-width: 780px) {
    #footer-bottom .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    #footer-info {
        text-align: center;
    }
    #copyright {
        text-align: center;
    }
}


/* Force all pages to fill the screen. Make footer sticky. */

#page-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column;
    min-height: 100vh;
}

#et-main-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column;
}

#et-main-area,
#main-content {
    -webkit-box-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}


/* Footer Widgets */

#main-footer .footer-widget h4 {
    font-weight: 700;
}

#main-footer .footer-widget a {
    color: #fff;
}

#main-footer #media_image-3 {
    float: right;
}

#main-footer #recent-posts-3 {
    margin-bottom: 30px;
}

.image.wp-image-8085.attachment-medium.size-medium {
    max-width: 50% !important;
    float: right;
}


/* Fix Button Colors on Light Backgrounds */


/*
 .form-submit .et_pb_button,
 .comment-reply-link.et_pb_button,
 .et_pb_bg_layout_light .et_pb_button,
 .et_pb_bg_layout_light #submit.et_pb_button,
 .et_pb_bg_layout_dark .et_pb_button,
 .et_pb_bg_layout_dark #submit.et_pb_button {
     color: var(--button-color) !important;
 }
 */


/* Fix Button Colors on Dark Backgrounds */

.et_pb_bg_layout_dark a {
    color: var(--button-color) !important;
}

.et_pb_bg_layout_dark a.et_pb_button {
    color: var(--button-color) !important;
}

.et_pb_button {
    color: var(--button-color) !important;
}


/* Indent and format unordered lists */

#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul {
    margin-left: 20px;
    padding-top: 1em !important;
}

#left-area ol,
.entry-content ol,
.comment-content ol,
body.et-pb-preview #main-content .container ol {
    list-style-position: outside;
    margin-left: 35px;
    line-height: 1.6em;
    padding-top: 1em !important;
}

#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul {
    line-height: 1.6em;
    padding-top: 0 !important;
}

#left-area li,
.entry-content li,
.comment-content li,
body.et-pb-preview #main-content .container li {
    padding-bottom: 0 !important;
}


/* Eliminate the sidebar */

#main-content .container:before {
    background: none;
}

#sidebar {
    display: none;
}

@media (min-width: 981px) {
    #left-area {
        width: 100% !important;
        padding: 23px 0px 30px !important;
        float: none !important;
    }
}


/* Header Elements in Posts */

.et_pb_post h1,
.et_pb_post h2,
.et_pb_post h3,
.et_pb_post h4,
.et_pb_post h5 {
    margin-bottom: 0.5em;
}


/* Convert Read More Links to Buttons */

.more-link {
    display: table;
    text-transform: capitalize;
    margin: 10px auto 0;
    background: var(--button-background);
    color: var(--button-color);
    border: var(--button-border);
    border-radius: var(--button-border-radius);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-family: var(--button-font-family);
    font-weight: var(--button-font-weight);
}

.more-link:hover {
    background-color: var(--button-hover-background);
    border: var(--button-hover-border);
    color: var(--button-hover-color);
}

.et_pb_bg_layout_dark a.more-link {
    color: var(--button-color);
}


/* Shortcode Link Buttons */

.trg-button {
    text-align: left;
}

.trg-button a {
    line-height: 1.7em;
    display: inline-block;
    background: var(--button-background);
    color: var(--button-color);
    border: var(--button-border);
    border-radius: var(--button-border-radius);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-family: var(--button-font-family);
    font-weight: var(--button-font-weight);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.trg-button a:hover {
    background: var(--button-hover-background);
    border: var(--button-hover-border);
    color: var(--button-hover-color);
    opacity: 1;
    -webkit-box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, 0.2);
}


/* Header Phone Card */

.phone-card {
    position: absolute;
    top: 10px;
    right: 0;
    background: var(--button-background);
    border: var(--button-border);
    border-radius: var(--button-border-radius);
}

@media all and (max-width: 980px) {
    .phone-card {
        top: 18px;
        right: 7vw;
    }
    .phone-card.trg-button a {
        font-size: 16px;
        padding: 5px 10px;
        transition: visibility 0s;
    }
}

@media all and (max-width: 500px) {
    .phone-card {
        right: 10vw;
    }
    .phone-card.trg-button a {
        padding-right: 5px;
        width: 42px;
        height: 42px;
        font-size: 20px;
        visibility: hidden;
    }
    .icon_phone::before {
        visibility: visible;
    }
}


/* Icons */

.icon_phone:before {
    font-family: 'ETmodules';
    content: "\e090";
    padding-right: 5px;
}

.icon_email:before {
    font-family: 'ETmodules';
    content: "\e076";
    padding-right: 5px;
}


/* Masonry grid for custom post types */

.masonry {
    display: -ms-flexbox;
    -ms-flex-direction: row;
    -ms-flex-wrap: wrap;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.masonry article {
    background-color: #eee;
    display: inline-block;
    margin: 1em 1% 0 0;
    width: 32.33%;
    padding: 20px 20px 0;
    background-color: #f1f1f1;
    word-wrap: break-word;
    color: #666;
    font-size: 14pt;
    line-height: 1.5em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.masonry article a {
    width: 100%;
    height: auto;
    position: relative;
}

.masonry h2 {
    padding-top: 10px;
    font-size: 24px;
    text-align: center;
    margin-top: -10px;
}

.masonry .post-meta {
    display: none;
}

article.document p {
    display: none;
}

.masonry p.trg-no-results {
    display: table;
}

@media all and (max-width: 1350px) {
    .masonry article {
        width: 46%;
        margin-left: 2%;
        margin-right: 2%;
    }
    .masonry h2 {
        font-size: 22px;
    }
}

@media all and (max-width: 850px) {
    .masonry article {
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .masonry h2 {
        font-size: 18px;
    }
}

.masonry article:hover {
    opacity: 0.8;
}


/* TRG Cards */

.trg-card {
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .1) !important;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .1) !important;
}

.trg-card a {
    color: #666;
}

.trg-card img {
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.trg-card:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    opacity: 1;
    -webkit-box-shadow: 0px 15px 15px rgba(0, 0, 0, .2) !important;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, .2) !important;
}

.masonry .trg-card:hover,
.masonry .trg-card a:hover {
    opacity: 1;
}

.trg-card-single .masonry .trg-card {
    width: 100%;
}


/* TRG Divi Call To Action Cards */

.trg-cta-card {
    -webkit-box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 300px;
    /* Set to your preference */
    padding: 56.25% 0 0 !important;
    -webkit-transition: all 0.3s;
    -kthtml-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 10px !important;
}

.trg-cta-card .et_pb_promo_description {
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.trg-cta-card h2 {
    margin-top: 0;
}

.trg-cta-card:hover {
    opacity: 1;
}

.trg-wrap-container .et_pb_button,
.trg-cta-card .et_pb_promo_button.et_pb_button,
.trg-cta-card .et_pb_promo_button.et_pb_button:hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    zoom: 1;
    filter: alpha(opacity=0);
    opacity: 0;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    z-index: 9999;
}

.trg-cta-card:hover {
    opacity: 0.8;
}


/* 16:9 Landscape aspect ratio */

.trg-cta-card.landscape {
    padding-top: 56.25% !important;
    min-height: unset;
}


/* TRG CTA Cards - Title on Bottom */

.cta-title-bottom~.et_pb_promo_description h2,
.cta-title-bottom h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: var(--card-title-background);
    color: var(--card-title-color);
    padding: 5px;
    line-height: 1.5em;
    margin: 0;
    font-size: 20px;
}

.cta-title-bottom .et_pb_promo_description {
    padding-bottom: 50px;
}


/* TRG CTA Cards - Title on Top */

.cta-title-top~.et_pb_promo_description h2,
.cta-title-top h2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: var(--card-title-background);
    color: var(--card-title-color);
    padding: 5px;
    line-height: 1.5em;
}


/* TRG CTA Cards - Title on Left */

.cta-title-left~.et_pb_promo_description h2,
.cta-title-left h2 {
    position: absolute;
    top: 66%;
    left: 0;
    width: 75%;
    text-align: center;
    background: var(--card-title-background);
    color: var(--card-title-color);
    padding: 5px;
    line-height: 1.5em;
}

.cta-title-left~.et_pb_promo_description,
.cta-title-left .et_pb_promo_description {
    padding-top: 40px !important;
    text-align: right !important;
    -webkit-box-pack: flex-start !important;
    -ms-flex-pack: flex-start !important;
    justify-content: flex-start !important;
}


/* TRG CTA Cards - Overlay */

.trg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    /* Set overlay background color to your preference */
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.75s ease-in-out;
    transition: opacity 0.75s ease-in-out;
    opacity: 0;
}

.trg-overlay-container:hover .trg-overlay {
    opacity: 0.8;
}

.trg-overlay .overlay-content {
    white-space: nowrap;
    color: #ff2814;
    /* Set icon color to your preference */
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.trg-overlay .overlay-content::before {
    content: "\e050";
    /* Set icon to your preference -- Google Divi Icon Font for choices */
    line-height: 2em;
    font-size: 30px;
    font-family: "ETmodules";
}


/* TRG CTA Cards - Overlay containing button */

.trg-wrap-container:hover .trg-overlay,
.overlay-button.trg-overlay-container:hover,
.overlay-button.trg-overlay-container:hover .trg-overlay {
    opacity: 1;
}

.overlay-button .trg-overlay {
    background: transparent;
    -webkit-transition: all 0.75s ease-in-out;
    transition: all 0.75s ease-in-out;
    text-align: center;
}

.overlay-button .trg-overlay .overlay-content::before {
    content: "Learn More";
    /* Set button text to your preference */
    display: inline-block;
    line-height: 1.7em;
    background: var(--button-background);
    color: var(--button-color);
    border: var(--button-border);
    border-radius: var(--button-border-radius);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-family: var(--button-font-family);
    font-weight: var(--button-font-weight);
    margin-top: 175px;
}

.overlay-button.trg-overlay-container .et_pb_promo_description {
    padding-bottom: 10%;
}


/* Decription appears on hover */

.hover-description~.et_pb_promo_description,
.hover-description .et_pb_promo_description {
    color: transparent !important;
    background: transparent;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.hover-description h2 {
    color: #fff;
}

.trg-wrap-container:hover .hover-description~.et_pb_promo_description,
.hover-description:hover .et_pb_promo_description {
    color: #fff !important;
    /* Set color of text in description to your preference */
}

.hover-description:hover {
    opacity: 1;
}


/* Shrink on hover */

.hover-shrink {
    -webkit-transition: all 0.3s ease-in-out;
    -kthtml-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hover-shrink:hover {
    -webkit-transform: scale(0.96);
    transform: scale(0.96);
    -webkit-transition: all 0.3s ease-in-out;
    -kthtml-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.5) !important;
}


/* Grow on hover */

.hover-grow {
    -webkit-transition: all 0.3s ease-in-out;
    -kthtml-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hover-grow:hover {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
    -webkit-transition: all 0.3s ease-in-out;
    -kthtml-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.5) !important;
}


/* Change background color on hover */

.hover-background {
    -webkit-transition: background 0.75s ease-in-out;
    -kthtml-transition: background 0.75s ease-in-out;
    transition: background 0.75s ease-in-out;
}

.hover-background:hover {
    -webkit-transition: background 0.75s ease-in-out;
    -kthtml-transition: background 0.75s ease-in-out;
    transition: background 0.75s ease-in-out;
    background-color: #FAA7BC !important;
    /* change to your preference */
    opacity: 1;
}


/* Change border color on hover */

.hover-border {
    -webkit-transition: border 0.3s;
    -kthtml-transition: border 0.3s;
    transition: border 0.3s;
    border: 0;
}

.hover-border:hover {
    -webkit-transition: border 0.3s;
    -kthtml-transition: border 0.3s;
    transition: border 0.3s;
    border: 10px solid #ff2814 !important;
    /* Change to your preference */
    opacity: 1;
}


/* Wrap the CTA Module in a container and move description to new parent */

.trg-wrap-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.trg-wrap-container .et_pb_promo_description {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
    /* Set to your preference */
    text-align: center;
    z-index: 1;
}

.trg-wrap-container .et_pb_promo_description h2 {
    color: #fff;
    /* Set to your preference */
    margin: 0
}


/* TRG CTA Polaroid-StyleCards */

.cta-polaroid {
    background-color: #fff !important;
    border: 10px solid #fff;
}

.cta-polaroid~.et_pb_promo_description h2,
.cta-polaroid h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 5px;
    line-height: 1.5em;
    color: #222;
    background-color: #fff;
    margin-bottom: 0;
}

.polaroid.et_pb_promo_description {
    padding-bottom: 50px;
}


/* Blur the background and sharpen on hover */

.hover-sharpen-bg {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.hover-sharpen-bg {
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

.trg-wrap-container:hover .hover-sharpen-bg {
    -webkit-filter: blur(0);
    filter: blur(0);
}


/* Zoom in the background on hover */

.hover-zoom-in-bg {
    -webkit-transition: all 3s;
    transition: all 3s;
}

.trg-wrap-container:hover .hover-zoom-in-bg {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
}


/* Zoom out the background on hover */

.hover-zoom-out-bg {
    -webkit-transition: all 3s;
    transition: all 3s;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.trg-wrap-container:hover .hover-zoom-out-bg {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}


/* Make the background image black and while and show color on hover */

.hover-color-bg {
    -webkit-transition: all 1.0s;
    transition: all 1.0s;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.trg-wrap-container:hover .hover-color-bg {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: none;
    filter: none;
}


/* AJAX Style Spinner*/

.trg-spinner-container {
    background-color: transparent !important;
    background-size: cover !important;
    border: none;
    color: transparent !important;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 1;
    filter: alpha(opacity=1);
}

.trg-spinner-container:before {
    content: url('images/double-spinner.svg');
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.trg-syntaxhighlighter.syntaxhighlighter {
    font-size: 80% !important;
}

@media all and (max-width: 980px) {
    .trg-syntaxhighlighter.syntaxhighlighter {
        font-size: 12px !important;
    }
}


/* Related Posts */

.entry-content .yarpp-related {
    margin: 2em 0;
}

.et_full_width_page .entry-content .yarpp-related {
    margin: 0 10% 50px;
}

.entry-content .yarpp-thumbnails-horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.entry-content .yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width: 100%;
}

.entry-content .yarpp-thumbnail>img,
.yarpp-thumbnail-default {
    width: 100%;
    height: 200px;
}

.entry-content .yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
    width: 100%;
}

.entry-content .yarpp-related .yarpp-thumbnail-title {
    color: #333;
    text-align: center;
    font-weight: 600;
}


/* Page loading animation */

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url("images/ripple.svg") 50% 50% no-repeat;
    background-color: rgba(255, 255, 255, 0.8);
}


/* Divi Galleries */

.et_pb_gallery_image.landscape {
    padding-top: 56.25%;
}

.et_pb_gallery_image.portrait {
    padding-top: 177.78%;
}

.et_pb_gallery_image img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -o-object-fit: cover;
    object-fit: cover;
}


/* Hide Content on Smartphones */

@media all and (max-width: 768px) {
    .hide-on-phones {
        display: none;
    }
}


/* Image Module Hover Effects */

.image-hover-zoom-in,
.image-hover-zoom-out,
.image-hover-focus {
    overflow: hidden;
}

.image-hover-zoom-in img {
    -webkit-transition: all 3s;
    transition: all 3s;
}

.image-hover-zoom-in img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.image-hover-zoom-out img {
    -webkit-transition: all 3s;
    transition: all 3s;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.image-hover-zoom-out img:hover {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.image-hover-focus img {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

.image-hover-focus img:hover {
    -webkit-filter: blur(0);
    filter: blur(0);
}

.image-hover-color img {
    -webkit-transition: all 1.0s;
    transition: all 1.0s;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.image-hover-color img:hover {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: none;
    filter: none;
}


/* Image Standard Sizes 4:3 ratio */

.landscape .et_pb_image_wrap {
    padding-top: 75%;
    display: block;
}

.portrait .et_pb_image_wrap {
    padding-top: 133.33%;
    display: block;
}

.landscape .et_pb_image_wrap img,
.portrait .et_pb_image_wrap img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -o-object-fit: cover;
    object-fit: cover;
}


/* Sticky mobile menu Fix */

@media (max-width: 980px) {
    #main-header {
        position: fixed !important;
    }
    #mobile_menu {
        overflow-y: scroll !important;
        max-height: 81vh;
    }
    .et_header_style_left #et-top-navigation,
    .et_header_style_left .et-fixed-header #et-top-navigation {
        padding-top: 0;
    }
    html.noscroll {
        overflow: hidden;
    }
    body.noscroll {
        overflow: visible;
        height: 100%;
    }
    .et_header_style_left .mobile_menu_bar {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
}


/* Added by Maria */


/* Spice up vertical menu */

@media (min-width: 981px) {
    .et_vertical_nav #main-header #top-menu>li>a {
        margin-right: 0;
        margin-left: -20px;
        padding-top: 19px;
        padding-left: 20px;
        background-color: #efefef;
    }
    .et_vertical_nav #main-header #top-menu>li>a:hover {
        margin-right: -20px !important;
    }
    .et_vertical_nav #main-header .container {
        margin: 0 20px;
    }
    #menu-item-198 a {
        background-color: #1e6ecd !important;
        color: white !important;
        font-weight: bold;
    }
    .et-fixed-header #top-menu #menu-item-198 a {
        color: white !important;
    }
    /* 	#menu-item-198 a:hov#menu-item-198 > aer {
		margin-right: -20px !important;
	} */
}


/* Style Gravity Contact Form */


/* Gravity Form - Contact */

.gform_wrapper {
    max-width: 700px !important;
    margin: auto !important;
}

.gform_wrapper label {
    /* Using placeholders instead of labels */
    display: none !important;
}

.gform_wrapper .gform_footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gform_wrapper .gform_button {
    background-color: #1e6ecd;
    padding: 12px;
    font-size: 20px;
    transition: 0.2s;
    border: none;
    color: white;
}

.gform_wrapper .gform_button:hover {
    background-color: rgba(30, 110, 205, 0.7);
    cursor: pointer;
    border-radius: 25px;
}

 ::placeholder {
    font-family: lato;
}

#gform_confirmation_message_1 {
    font-family: lato;
    text-align: center;
    font-size: 26px;
}

.gform_wrapper ul.gform_fields li.gfield {
    /* 	padding-right: 0 !important; */
    /* 	Don't use this because gets rid of middle space. */
}


/* Target just right half to get rid of padding, or full width */

.gform_wrapper .top_label li.gfield.gf_left_half {
    padding-right: 0 !important;
}

@media all and (min-width: 641px) {
    .gform_wrapper .top_label li.gfield.gf_left_half {
        padding-right: 16px !important;
    }
}

.gform_wrapper .top_label li.gfield.gf_right_half {
    padding-right: 0 !important;
}

.gform_wrapper ul.gform_fields li#field_1_5,
.gform_wrapper ul.gform_fields li#field_1_3 {
    padding-right: 0 !important;
}


/* Add space above address fields */

.gform_wrapper .ginput_complex.ginput_container_address .address_city,
.gform_wrapper .ginput_complex.ginput_container_address .address_state,
.gform_wrapper .ginput_complex.ginput_container_address .address_zip {
    margin-top: 16px;
}


/* Add styles for local SEO plugin */


/* Area page header */

.et_pb_post h1 {
    margin-bottom: 0;
}


/* Section styles */

.trg-cpt-section {
    background-color: #efefef !important;
    text-align: center;
    padding: 2% 0 !important;
    margin-bottom: 90px;
}


/* Add same header height as previous sections */

.trg-cpt-section-title,
.trg-cpt-section h2,
.single-testimonial article.testimonial h1,
.post-type-archive .display-cards-section h2 {
    font-size: 35px;
}

.post-type-archive #left-area .et_pb_section:first-of-type .et_pb_row h1 {
    font-size: 50px;
}

@media all and (min-width: 768px) {
    .trg-cpt-section-title,
    .trg-cpt-section h2,
    .single-testimonial article.testimonial h1,
    .post-type-archive .display-cards-section h2 {
        font-size: 40px;
    }
    .post-type-archive #left-area .et_pb_section:first-of-type .et_pb_row h1 {
        font-size: 90px;
    }
}

@media all and (min-width: 980px) {
    .trg-cpt-section-title,
    .trg-cpt-section h2,
    .single-testimonial article.testimonial h1,
    .post-type-archive .display-cards-section h2 {
        font-size: 50px;
    }
}


/* Fix testimonial spacing on single service page and single testimonial page - different set up than Areas / Services */


/* Target single service and testimonial page specifically*/

.single-service .testimonial-section .et_pb_row,
.single-testimonial .trg-cpt-queried-section .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.single-service .testimonial-section .trg-cpt-title-row,
.single-testimonial .trg-cpt-queried-section .trg-cpt-title-row {
    padding-top: 2% !important;
}

.single-service .testimonial-section .testimonial-container,
.single-testimonial .trg-cpt-queried-section .trg-card-container {
    padding-bottom: 2% !important;
}


/* Add bottom spacing to even out header */

.trg-cpt-section .et_pb_button_wrapper {
    margin-bottom: 2%;
}


/* Center cards */

.trg-card-container .trg-card {
    margin: 1em 0.5% 0 0.5%;
}


/* Style cards for Outdoor Solutions */

.trg-card-container .trg-card {
    padding: 15px;
    background-color: #008924;
}


/* Take out overlay on service titles */

.trg-card-container .trg-card.service-card h3 {
    background-color: transparent;
}


/* Same for areas page */

.trg-card-container .trg-card.service_area-card h3 {
    background-color: transparent;
}


/* Take out Read More button on testimonials */

.trg-card .hover-read-more {
    display: none;
}


/* Change font color and size for cards titles */

.trg-card-container .trg-card h3 {
    font-size: 22px !important;
    color: white;
    background-color: transparent;
    height: auto;
}

.trg-card.testimonial-card .card-contents {
    color: white;
}


/* Take off different testimonial width to match services and areas */

.trg-card.testimonial-card {
    width: 32.33%;
}

@media all and (max-width: 850px) {
    .trg-card.testimonial-card {
        width: 100%;
    }
}

@media all and (min-width: 850px) and (max-width: 1350px) {
    .trg-card.testimonial-card {
        width: 46%;
    }
}


/* Change single testimonial header color */

.single-testimonial .testimonial-section h2 {
    color: #333;
}


/* Change Single Testimonial Page styles */

.single-testimonial article.testimonial h1 {
    margin-top: 90px;
    text-align: center;
}

.single-testimonial .hidden-contact-form {
    padding: 0 !important;
}


/* Add background images and fill the screen on archived pages headers */

.post-type-archive #left-area {
    text-align: center;
}

.post-type-archive #left-area .et_pb_section:first-of-type {
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.post-type-archive #left-area .et_pb_section:first-of-type .et_pb_row {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 5px;
    width: 80%;
    box-sizing: border-box;
    max-width: 1000px;
}

.post-type-archive #left-area .display-cards-section .et_pb_row {
    background-color: #fff !important;
}

@media all and (min-width: 768px) {
    .post-type-archive #left-area .et_pb_section:first-of-type .et_pb_row {
        padding: 20px 10px;
        width: 70%;
    }
}

@media all and (min-width: 980px) {
    .post-type-archive #left-area .et_pb_section:first-of-type .et_pb_row {
        padding: 20px;
        width: 60%;
    }
}

.post-type-archive #left-area .et_pb_section:first-of-type .et_pb_row h1 {
    color: #fff;
}


/* Areas background */

.post-type-archive-area #left-area .et_pb_section:first-of-type {
    background-image: url("https://outdoorsolutionsllc.com/wp-content/uploads/2019/07/daniel-watson-8vBpYpTGo90-unsplash.jpg");
}


/* Get rid of areas header with "Counties Served" */

.post-type-archive .display-cards-section .et_pb_row h2 {
    display: none;
}


/* Services background */

.post-type-archive-service #left-area .et_pb_section:first-of-type {
    background-image: url("https://outdoorsolutionsllc.com/wp-content/uploads/2019/07/raul-popadine-i-w278yeVi44c-unsplash.jpg");
}


/* Testimonial background */

.post-type-archive-testimonial #left-area .et_pb_section:first-of-type {
    background-image: url("https://outdoorsolutionsllc.com/wp-content/uploads/2019/07/petar-tonchev-c-5-QE5kBYk-unsplash.jpg");
}

.post-type-archive-testimonial #left-area .display-cards-section,
.post-type-archive-service #left-area .display-cards-section,
.post-type-archive-area #left-area .display-cards-section {
    background-image: none !important;
}


/* Area page gray background... need to override other important tag */

body.post-type-archive .display-cards-section {
    background-color: #fff !important;
}


/* Testimonial gray background... need to be more specific */

body.post-type-archive-testimonial .display-cards-section.testimonial-section {
    background-color: #fff !important;
}


/* Service gray background... need to be more specific */

body.post-type-archive-service .display-cards-section.service-section {
    background-color: #fff !important;
}


/* Take out odd spacing underneath the cards */

.post-type-archive .display-cards-section .et_pb_section {
    padding: 0 !important;
}


/* Fix community taxonomy page - link shows up on Single Testimonial Page */

.tax-community #left-area .et_pb_section .et_pb_section {
    padding: 0 !important;
}

.tax-community #left-area .et_pb_section {
    text-align: center;
}


/* Add padding to area content section in case nothing is there like on main area page */

.single-area .area {
    margin-bottom: 0;
}

.post-type-archive-area #left-area #cities {
    display: none;
}

body.post-type-archive #left-area {
    padding: 0 !important;
}


/* Add the word "Share" on social share icons */

.et_social_sidebar_networks .et_social_icons_container::before {
    content: "Share";
    font-size: 13px;
    line-height: 2em;
    color: #fff;
    float: right;
    background: #008924;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 2px;
}

#menu-footer {
    display: flex;
    place-content: center;
}