.home .site-containes {
  padding: 5.2rem 2.6rem 3rem 2.6rem;
}
.home .content-area.wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.alignwide {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.alignfull {
  overflow: hidden;
  margin: 0 auto;
}

/*/

// Set a Backgroundless Header
@include media(">=tablet") {
    .site-header {
        position: relative;
        background: transparent;
        height: 0; // Remove the mysterious white space

        .wrap {
            padding: 1.6rem;
        }
        .nav-menu .nav-primary .menu-item a {
            color: #f9f9f9;
        }
        .nav-menu .nav-primary .menu-item:hover > a {
            background-color: #3b5998;
        }
        .nav-menu .nav-primary .menu-item.search button {
            fill: #f9f9f9;
        }

    }

    // Restore Header with Background
    .site-header.down {
        background: #f9f9f9;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 9999;
        height: auto;

        .wrap {
            padding: 0;
        }
        .nav-menu .nav-primary .menu-item a {
            color: $base-color;
        }
        .nav-menu .nav-primary .menu-item:hover > a {
            color: #f9f9f9;
        }
        .nav-menu .nav-primary .menu-item.search button {
            fill: $base-color;
        }
    }
}

.home-top {
	//width:100%;
	//position:relative;
	overflow:hidden;
	z-index:1;
	//padding:40px 0;

    // Set the image bg
	background: url("../images/hero/hero-3.jpg");
	background-size: cover;
    background-position: center;
	width: 100%;
	position: relative;
    padding-top: rem(20);

    @include media(">=tablet") {
        background-position: top;
        padding-top: rem(120);
    }


    .home-top-overlay{
        background: #000000;
        opacity: 0.35;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index:-1;
    }

}


.home-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: rem(20);

    color: #f9f9f9;
    //text-align:center;
    //background: $home_top_bg_color;

    a {
        font-size: rem(20);
        text-transform: uppercase;
    }

    a:hover {
        color: #ffffff;
        text-decoration: none;
    }

    h2 {
        @include font-sizes-rem( 30, 40);
        margin: 1.6rem auto;
        line-height: 1.125;
        font-weight: 500; // 600 is best for two lined text
        color: #eaeaea;
        font-family: 'Roboto', sans-serif;
    }

    p {
        @include font-sizes-rem( 20, 24);
        text-shadow: 1px 1px 0 #010101;
    }

    ul {

        &.features-list-hero {
            list-style: none;
            list-style-image: none;
            padding: 0;
            margin: 0 0 rem(20) 0;
            display: inline-block;
        }


        li {
            margin: rem(15) 0 rem(20) 0;
            color: #c7c7c7;
            font-size: rem(18);
            line-height: 1.55;

            &.left-icon{
                display: flex;
                align-items: center;
                column-gap: rem(10);
            }

            .svg-icon {
                fill: #34b1c4; // some SVGs can be colored with color:
                flex-shrink: 0; // Prevents icon from auto sizing when viewed on diff types of screen size.
            }
        }

    }

    .modern  {
        background: #D4D4D4;

        &:hover  {
            background: $hover;
            text-shadow: none;
        }

    }

    @media only screen and (max-width: 960px) {
        img {
            margin: rem(2) auto rem(1);
        }
    }
    @media only screen and (min-width: 960px) {
        display: -ms-grid;
        display: grid;
        gap: 1.6rem;
        -webkit-box-align: normal;
            -ms-flex-align: normal;
                align-items: normal;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

}
//*/
/*//
.home-top {
	width:100%;
	position:relative;
	overflow:hidden;
	z-index:100;
	padding:40px 0;

    // Set the image bg
	background: url("../images/hero.jpg");
	background-position: center; // background-position: center top;
    background-repeat: no-repeat;
	background-attachment: scroll;
    background-size: cover;
}

.home-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: rem(20);

    color: #f9f9f9;
    //text-align:center;
    //background: $home_top_bg_color;

    a {
        font-size: rem(20);
        text-transform: uppercase;
    }

    a:hover {
        color: #ffffff;
        text-decoration: none;
    }

    h2 {
        @include font-sizes-rem( 30, 40);
        margin: 1.6rem auto;
        line-height: 1.125;
        font-weight: 500; // 600 is best for two lined text
        color: #eaeaea;
        font-family: 'Roboto', sans-serif;
    }

    p {
        @include font-sizes-rem( 20, 24);
        text-shadow: 1px 1px 0 #010101;
    }

    ul {

        &.features-list-hero {
            list-style: none;
            list-style-image: none;
            padding: 0;
            margin: 0 0 rem(20) 0;
            display: inline-block;
        }

        // Flex solution
        li {
            margin: rem(15) 0 rem(20) 0;
            color: #c7c7c7;
            font-size: rem(18);
            line-height: 1.55;

            &.left-icon{
                display: flex;
                align-items: center;
                column-gap: rem(10);
            }

            .svg-icon {
                fill: #34b1c4; // some SVGs can be colored with color:
                flex-shrink: 0; // Prevents icon from auto sizing when viewed on diff types of screen size.
            }
        }

    }

    .modern  {
        background: #D4D4D4;

        &:hover  {
            background: $hover;
            text-shadow: none;
        }

    }

    @media only screen and (max-width: 960px) {
        img {
            margin: rem(2) auto rem(1);
        }
    }
    @media only screen and (min-width: 960px) {
        display: -ms-grid;
        display: grid;
        gap: 1.6rem;
        -webkit-box-align: normal;
            -ms-flex-align: normal;
                align-items: normal;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

}
//*/
.home-top {
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 100;
  padding: 40px 0;
  background: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  position: relative;
}
.home-top .home-top-overlay {
  background: -webkit-gradient(linear, left top, right top, from(rgba(56, 60, 72, 0.99)), to(rgba(56, 60, 72, 0.2)));
  background: linear-gradient(to right, rgba(56, 60, 72, 0.99), rgba(56, 60, 72, 0.2));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.home-top-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: #f9f9f9;
}
.home-top-content a {
  font-size: 2rem;
  text-transform: uppercase;
}
.home-top-content a:hover {
  color: #ffffff;
  text-decoration: none;
}
.home-top-content h2 {
  font-size: 2.8rem;
  color: #f9f9f9;
  margin: 1.6rem auto;
  line-height: 1.25;
  text-shadow: 1px 1px 0 #010101;
}
@media (min-width: 768px) {
  .home-top-content h2 {
    font-size: 3.6rem;
  }
}
.home-top-content p {
  font-size: 2rem;
  text-shadow: 1px 1px 0 #010101;
}
@media (min-width: 768px) {
  .home-top-content p {
    font-size: 2.4rem;
  }
}
.home-top-content .modern {
  background: #D4D4D4;
}
.home-top-content .modern:hover {
  background: #008140;
  text-shadow: none;
}
@media only screen and (max-width: 960px) {
  .home-top-content img {
    margin: 0.2rem auto 0.1rem;
  }
}
@media only screen and (min-width: 960px) {
  .home-top-content {
    display: -ms-grid;
    display: grid;
    gap: 1.6rem;
    -webkit-box-align: normal;
    -ms-flex-align: normal;
    align-items: normal;
    -ms-grid-columns: 1fr 1.6rem 1fr;
    grid-template-columns: repeat(2, 1fr);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

h2.section-title {
  margin: 2.5rem 0;
  text-align: center;
}

p.section-desc {
  margin: 0 auto;
  max-width: 675px;
  text-align: center;
}

.discover-button {
  margin: 2.5rem 0 0;
}

ul.features-list {
  list-style: none;
  list-style-image: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: inline-block;
}
ul.features-list li {
  padding: 0 0 0 2rem;
}
ul.features-list li:before {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  content: "";
  -webkit-mask: url(../icons/utility/check-lg.svg) no-repeat 50% 50%;
  mask: url(../icons/utility/check-lg.svg) no-repeat 50% 50%;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: rgba(13, 125, 62, 0.5);
  margin: 0 0.8rem;
}

section {
  padding: 2rem;
}

.white .box {
  font-size: 1.8rem;
  padding: 4rem 0;
  text-align: center;
}
.white .gridd {
  -webkit-column-gap: 7rem;
     -moz-column-gap: 7rem;
          column-gap: 7rem;
}

.grey {
  background-color: #eef0f1;
}
.grey .box {
  font-size: 1.8rem;
  max-width: 1200px;
  padding: 4rem 0;
  margin: 0 auto;
  text-align: center;
}
.grey .gridd {
  -webkit-column-gap: 7rem;
     -moz-column-gap: 7rem;
          column-gap: 7rem;
}

.imgbg {
  width: 100%;
  position: relative;
  margin-top: 6rem;
  margin-bottom: 3rem;
  z-index: 100;
  background: url("../images/bg1.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding: 0;
}
.imgbg.bg2 {
  background: url("../images/bg2.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
.imgbg .overlay {
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
.imgbg .content {
  color: #f9f9f9;
  max-width: 1200px;
  margin: 6rem auto 6rem;
  padding: 2rem;
  position: relative;
  text-shadow: 1px 1px 0 #010101;
}
.imgbg .content h2 {
  color: #ddd;
  font-size: 4.2rem;
  font-weight: 600;
  text-shadow: 1px 1px 0 #010101;
}
.imgbg .content .flex-center {
  margin-top: 2rem;
}

/*//
.services {
    color: #7c8595;
    background-color: #272834;

    h2, h4 {
        color: #ddd;
    }

    .box {
        font-size: rem(18);
        max-width: 1200px;
        padding: rem(40) 0;
        margin: 0 auto;
    }

    .gridd {
        column-gap: rem(70);
    }

    .svg-icon {
        //fill: linear-gradient(135deg, #6B02FF 0%, #985BEF 100%); // some SVGs can be colored with color:
        fill: #6B02FF;
        flex-shrink: 0; // Prevents icon from auto sizing when viewed on diff types of screen size.
    }

    .feature-box{
        display: flex;
        column-gap: rem(20);
    }

    img {
        position: relative;
        margin: 30px auto 0;
    }

}
//*/
.img-text {
  background-color: #eef0f1;
  padding: 4rem 2rem;
}
.img-text .box {
  font-size: 1.8rem;
  max-width: 1200px;
  padding: 2rem 0;
  margin: 0 auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.img-text .gridd {
  -webkit-column-gap: 2.6rem;
     -moz-column-gap: 2.6rem;
          column-gap: 2.6rem;
}

.intro {
  margin-top: 6rem;
  margin-bottom: 3rem;
}

.latest-posts .gridd {
  row-gap: 4.6rem;
  -webkit-column-gap: 3.6rem;
     -moz-column-gap: 3.6rem;
          column-gap: 3.6rem;
}
.latest-posts .title {
  color: #454545;
  font-size: 2.2rem;
  margin: 2.4rem 0 1rem;
  line-height: 1.3;
}
.latest-posts .title a {
  text-decoration: none;
}
.latest-posts .title a:hover {
  color: #008140;
  text-decoration: underline;
}
.latest-posts .recent p {
  color: #7c8595;
  font-size: 1.8rem;
  line-height: 24px;
  font-weight: 400;
}