@charset "UTF-8";
/*
Theme Name: Home Turf
Theme URI: 
Author: the Development team
Author URI: https://redspotdesign.com/
Description: A theme for Home Turf
Requires at least: WordPress 4.9.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp5default
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.

Home Turf is based on Underscores https://underscores.me/, (C) 2012-2018 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/
*/


/*--------------------------------------------------------------
>>> GENERAL STYLES
----------------------------------------------------------------*/
  html { font-size: 16px; /* 1em */}

  body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
  }

  a{
    /*color: #0E2C8E;*/
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }

  a:hover {
    /*color: #EA860B;*/
    text-decoration: none;
  }

  .h1,
  .h2,
  .h3,
  h1,
  h2,
  h3,
  h4,
  h4,
  h6 {
    margin: 0;
    transition: all ease-in-out .3s;
  }

  .site-button{

  }

/*--------------------------------------------------------------
>>> LAYOUT
----------------------------------------------------------------*/
  .site {
    margin: 0 auto;
    /*max-width: 1920px;*/
  }

  .full {
    width: 100%;
  }

  .main {
    margin: auto;
    max-width: 1920px;
  }

  .container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* Alignments */
  .alignleft {
    /*rtl:ignore*/
    float: left;
    /*rtl:ignore*/
    margin-right: 1rem;
  }

  @media only screen and (min-width: 768px) {
    .alignleft {
      /*rtl:ignore*/
      margin-right: calc(2 * 1rem);
    }
  }

  .alignright {
    /*rtl:ignore*/
    float: right;
    /*rtl:ignore*/
    margin-left: 1rem;
  }

  @media only screen and (min-width: 768px) {
    .alignright {
      /*rtl:ignore*/
      margin-left: calc(2 * 1rem);
    }
  }

  .aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Clearings */
  .clear:before,
  .clear:after,
  .entry-content:before,
  .entry-content:after,
  .comment-content:before,
  .comment-content:after,
  .site-header:before,
  .site-header:after,
  .site-content:before,
  .site-content:after,
  .site-footer:before,
  .site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
  }

  .clear:after,
  .entry-content:after,
  .comment-content:after,
  .site-header:after,
  .site-content:after,
  .site-footer:after {
    clear: both;
  }

/*--------------------------------------------------------------
>>> GALLERIES
----------------------------------------------------------------*/
  .gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-bottom: calc(1.5 * 1rem);
  }

  .gallery-item {
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 16px;
    text-align: center;
    vertical-align: top;
    width: 100%;
  }

  .gallery-columns-2 .gallery-item {
    max-width: calc((100% - 16px * 1) / 2);
  }

  .gallery-columns-2 .gallery-item:nth-of-type(2n+2) {
    margin-right: 0;
  }

  .gallery-columns-3 .gallery-item {
    max-width: calc((100% - 16px * 2) / 3);
  }

  .gallery-columns-3 .gallery-item:nth-of-type(3n+3) {
    margin-right: 0;
  }

  .gallery-columns-4 .gallery-item {
    max-width: calc((100% - 16px * 3) / 4);
  }

  .gallery-columns-4 .gallery-item:nth-of-type(4n+4) {
    margin-right: 0;
  }

  .gallery-columns-5 .gallery-item {
    max-width: calc((100% - 16px * 4) / 5);
  }

  .gallery-columns-5 .gallery-item:nth-of-type(5n+5) {
    margin-right: 0;
  }

  .gallery-columns-6 .gallery-item {
    max-width: calc((100% - 16px * 5) / 6);
  }

  .gallery-columns-6 .gallery-item:nth-of-type(6n+6) {
    margin-right: 0;
  }

  .gallery-columns-7 .gallery-item {
    max-width: calc((100% - 16px * 6) / 7);
  }

  .gallery-columns-7 .gallery-item:nth-of-type(7n+7) {
    margin-right: 0;
  }

  .gallery-columns-8 .gallery-item {
    max-width: calc((100% - 16px * 7) / 8);
  }

  .gallery-columns-8 .gallery-item:nth-of-type(8n+8) {
    margin-right: 0;
  }

  .gallery-columns-9 .gallery-item {
    max-width: calc((100% - 16px * 8) / 9);
  }

  .gallery-columns-9 .gallery-item:nth-of-type(9n+9) {
    margin-right: 0;
  }

  .gallery-item:last-of-type {
    padding-right: 0;
  }

  .gallery-caption {
    display: block;
    font-size: 0.71111em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0.5rem;
  }

  .gallery-item>div>a {
    display: block;
    line-height: 0;
    box-shadow: 0 0 0 0 transparent;
  }

  .gallery-item>div>a:focus {
    box-shadow: 0 0 0 2px #0073aa;
  }

/*--------------------------------------------------------------
>>> HEADER
----------------------------------------------------------------*/
  .header-logo{}
  .header-button{}

  .header-number .elementor-widget-container{ float: right; }

  .header-number .elementor-widget-wrap{
    display: flex;
  }

  .header-number .elementor-widget-image-box{ 
    flex: 1 1 50%; 
    margin: 0 !important;
  }

  .header-number .elementor-image-box-content{
    width: auto !important;
    box-sizing: border-box;
    padding-left: 10px;
  }

  .header-number img{ display: block; }

/*--------------------------------------------------------------
>>> HOMEPAGE
----------------------------------------------------------------*/
  .banner-form{
    width: 100%;
    max-width: 360px;
  }

  .service-box{
    position: relative;
    overflow: hidden;
  }

  .service-box .widget-image-caption{
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
  }


/*--------------------------------------------------------------
>>> INNER
----------------------------------------------------------------*/
  .inner .content-area{
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .site-banner{ 
    background: #f76200; 
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .site-banner h1{
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
  }

  .post-item{}
  
  .post-item-img{ flex: 0 0 320px; }

  .post-item-content{}
  .post-item-excerpt{}

  .post-item .elementor-widget-post-info{ margin-bottom: 10px !important; }

  .post-item .elementor-widget-theme-post-title{ margin-bottom: 10px !important; }

  .post-item p{
    font-size: 15px;
    line-height: 27px;
    margin: 0;
  }

/*--------------------------------------------------------------
>>> FOOTER
----------------------------------------------------------------*/
  .footer-number .elementor-widget-wrap{}

  .footer-number .elementor-widget-wrap > .elementor-element{ width: auto; }

  .footer-number-right .elementor-widget-wrap{ 
    justify-content: flex-end; 
  }

  .footer-number .elementor-image-box-img{ margin-right: 5px !important; }


/*--------------------------------------------------------------
>>> MEDIA QUERIES
----------------------------------------------------------------*/

  @media only screen and (min-width: 1024px) and (max-width: 1665px){
  
  }

  @media only screen and (max-width: 1024px) {
    .header-logo{
      flex: 0 0 249px;
    }
    
    .header-number{
      flex-grow: 1;
      width: auto !important;
    }

    .header-number .elementor-widget-wrap{
      justify-content: flex-end;
    }

    .header-number .elementor-widget-image-box{
      flex: 0 0 210px;
    }

    .banner-form{ margin: 0 auto; }
  }

  @media only screen and (max-width: 991px){
    .header-number .elementor-widget-image-box{ flex-basis: 150px; }

    .header-button{
      width: auto !important;
      flex-grow: 1;
    }
    
    .header-number{
      flex: 0 0 320px;
      width: auto !important;
    }
  }

  @media (max-width: 767px){
    .header-number .elementor-widget-image-box .elementor-image-box-img { margin: 0 !important; }
  }

  @media only screen and (max-width: 767px){
    .header-number .elementor-image-box-wrapper{
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .header-number .elementor-widget-image-box{
      /* flex-basis: 165px; */
      flex: 0 auto;
    }

    .header-top .elementor-container > .elementor-row{
      /*flex-direction: column-reverse;*/
    }

    .header-number,
    .header-logo{ width: 100% !important; }

    .header-logo{ order: 1; }

    .header-logo a{ display: block !important; }

    .header-logo img{ 
      margin:  0 auto; 
      display: block !important;
    }

    .header-number{ background: #00944b; }

    .header-number > .elementor-column-wrap{
    	/*padding: 2px 10px !important;*/
    }

    .header-number .elementor-widget-wrap { justify-content: center; }

    .header-number .elementor-widget-container { float: none; }

    .header-number .elementor-image-box-content { 
      width: auto !important; 
      align-items: center;
      display: flex;
    }

    .header-number .elementor-widget-image-box{ flex: 0 auto; }

    .header-number .elementor-image-box-description,
    .header-number .elementor-image-box-title{
    	color: #fff !important;
	    font-size: 16px !important;
	    font-weight: 600 !important;
	    padding-right: 8px;
    }

    .header-number .elementor-image-box-description:hover,
    .header-number .elementor-image-box-title:hover,
    .header-number .elementor-image-box-description:focus,
    .header-number .elementor-image-box-title:focus{
      color: #fff !important;
    }

    .header-number .elementor-widget-image-box a{ color: #fff !important; }

    .header-number img{ 
    	filter: brightness(0) invert(1); 
    	width: 26px;
    }

    .header-number .elementor-image-box-wrapper{
    	align-items: center;
    }

    .header-number .hm-first .elementor-image-box-wrapper{ 
    	/*float: right;*/
    	padding-right: 0;
   	}

   	.header-bottom{ position: relative; }

   	.home .navigation-button-mobile{ display: none !important; }

   	.navigation-button-mobile{
   		width: auto !important;
    	position: absolute !important;
   	}

    .footer-number .elementor-image-box-wrapper{ display: flex; }
  }

  @media only screen and (max-width: 620px){
    .site-header{ margin-top: -12px !important; }

    .header-logo{ flex-basis: 180px; }
    
    /* .header-number img {
      display: block;
      width: 20px;
      top: -5px;
      position: relative;
    }
    
    .header-number .elementor-image-box-title{
      position: relative;
      bottom: -6px;
    } */
  }

  @media only screen and (max-width: 585px){
    .footer-number{ width: 100% !important; }

    .footer-number .elementor-widget-wrap{ justify-content: center !important; }

    .footer-number .elementor-element{ margin-bottom: 0 !important; }
  }

  @media only screen and (max-width: 510px){
    .header-logo {
      flex-basis: 100%;
      max-width: 200px;
      margin: 0 auto;
      position: relative;
      padding-top: 10px;
    }
    
    /*.header-number{ margin-top: -20px; }*/
    
    .header-number .elementor-image-box-content{
      text-align: center;
    }
    
    .header-number .elementor-widget-wrap {
      justify-content: center;
    }
  }

  @media only screen and (max-width: 490px){
  	.header-number .elementor-image-box-description, 
  	.header-number .elementor-image-box-title{ font-size: 14px !important; }
  }

  @media only screen and (max-width: 450px){
  	/*.header-number .elementor-image-box-content{
  		flex-direction: column;
  	}

  	.header-number .elementor-image-box-title{ 
  		margin-bottom: -10px;
	    font-size: 11px !important;
	    font-weight: 300 !important;
	    padding-top: 5px;
  	}*/

  	.header-number .elementor-image-box-description{ font-size: 17px !important; }
  }
