body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
  //overflow-x: hidden;/* this was set beacuse there was a right overflow drag that could not be identified*/
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #99CC33;
}

hr.light {
  border-color: #fff;
}

a {
  color: #FFF;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  text-decoration: none;
}

a:hover {
  color: #3D2E28;
}
a, a:active, a:visited,  {
    text-decoration:none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.bg-primary {
  /*background-color: #F05F40 !important;*/
  background-color: #669900 !important;
  height: 850px;
  /*  there should be a settings in all max-width below */
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
  margin-left: auto;
  margin-right: auto;
}

.text-muted{
  font-size: 13px;
  font-weight: bold;
}

.mb-3{
  margin-bottom: 1.5em;
  margin-left: 1em;
  font-size: 19px !important;
}

section {
  /*padding: 8rem 0;*/
  /*padding: 1em;*/
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {

  font-weight: 700;
  text-transform: uppercase;
  color: #669900;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}
/*
#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #669900;
}
*/
#mainNav .navbar-nav{
  list-style-type: none;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: 2.1em;
  /*font-weight: 700;*/
  text-transform: uppercase;
  /*color: #212529;*/
}

/*
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #3D2E28;
}
*/

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  text-decoration: underline;
  text-decoration-color: black;
  font-weight: 700;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

.fixed-top{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    color: #99CC33;
}
.fixed-top a:focus, .fixed-top a:hover{
  color: #99CC33 !important;
  /*text-decoration: none !important;*/
  text-decoration-color: #000000;
}

.header-banner{
  /*background-color: #d6d6d6 !important;*/
  /*-webkit-filter: blur(5px);*/
  /*-moz-filter: blur(5px);*/
  /*-o-filter: blur(5px);*/
  /*-ms-filter: blur(5px);*/
  /*filter: blur(5px);*/
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-image:
      linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ), url("/assets/img/rusticWeb.jpg");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}

.my-intro{
  margin-top: 10em;
  opacity: 0;
  transition: all 1.5s;
}
.my-intro-landed{
  opacity: 1;
}

.my-intro h1{
  color: #FFF;
}





.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.no-image{
  opacity: 1 !important;/* this overrules opacity: 0 for portfolio-box-caption */
}


.portfolio-box:focus {
  outline: none;
}

.popup-gallery .col-lg-4{
  padding:0;
}



.service-box {/*screws with ipad view*/
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  /*width: 600px;
  height: 330px; not working for mobile */
}

.portfolio-box .portfolio-box-caption {
  cursor: pointer;
  position: absolute;
  bottom: 0;
  display: block;
  /*width: 600px;
  height: 330px; mobile issues */
  text-align: center;
  opacity: 0;
  color: #fff;
  /*background: rgba(240, 95, 64, 0.9);*/
  background: rgba(102, 153, 0, 0.8);
  /*background: #669900;*/
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.text-primary {
  color: #669900 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  /*border: none; disable for blog */
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #669900;
  border-color: #669900;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #669900 !important;
  border-color: black;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}



/* Wobble Top */
@-webkit-keyframes hvr-wobble-top {
  16.65% {
    -webkit-transform: skew(-12deg);
    transform: skew(-12deg);
  }

  33.3% {
    -webkit-transform: skew(10deg);
    transform: skew(10deg);
  }

  49.95% {
    -webkit-transform: skew(-6deg);
    transform: skew(-6deg);
  }

  66.6% {
    -webkit-transform: skew(4deg);
    transform: skew(4deg);
  }

  83.25% {
    -webkit-transform: skew(-2deg);
    transform: skew(-2deg);
  }

  100% {
    -webkit-transform: skew(0);
    transform: skew(0);
  }
}

@keyframes hvr-wobble-top {
  16.65% {
    -webkit-transform: skew(-12deg);
    transform: skew(-12deg);
  }

  33.3% {
    -webkit-transform: skew(10deg);
    transform: skew(10deg);
  }

  49.95% {
    -webkit-transform: skew(-6deg);
    transform: skew(-6deg);
  }

  66.6% {
    -webkit-transform: skew(4deg);
    transform: skew(4deg);
  }

  83.25% {
    -webkit-transform: skew(-2deg);
    transform: skew(-2deg);
  }

  100% {
    -webkit-transform: skew(0);
    transform: skew(0);
  }
}

.hvr-wobble-top {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
}
.hvr-wobble-top:hover, .hvr-wobble-top:focus, .hvr-wobble-top:active {
  -webkit-animation-name: hvr-wobble-top;
  animation-name: hvr-wobble-top;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.wobble-hit{
    -webkit-animation-name: hvr-wobble-top;
  animation-name: hvr-wobble-top;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}



@media (min-width: 768px){
  header.masthead p {
    font-size: 2.15rem;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

@media (min-width: 1200px){/* this is for my big 27"  */.text-faded {
  width: 45%;
}
  .my-intro-landed{
    opacity: 1;
    margin-top: 15em;
  }
  .col-lg-4{/*  this helps removing the margin between the pics */
    padding-right: 0;
    padding-left: 0;
    /*width: 100%;
    height: 100%;*/
  }
  header.masthead h1 {
    font-size: 4rem;
  }
  .no-image{
    position: absolute;
    top: 0;
  }
  /*.portfolio-box .portfolio-box-caption {
    width: 640px !important;
    height: 330px !important;
  }*/
  .img-fluid{
    /*width: 640px !important;*/
    /*width: 605px !important;*/
    width: 535px !important;
    height: 330px !important;
  }
  .img-fluid-fix{
    width: 549px;
  }

  .portfolio-box-caption{
    /*width: 640px !important;*/
    width: 535px !important;
    height: 330px !important;
  }

}/*@media (min-width: 1200px)*/


@media (min-width: 992px){/*  ipad pro  */
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }

  #mainNav {
    padding-top: 2em;
    border-color: transparent;
    background-color: transparent;
    font-size: 0.75em;
  }

  #mainNav .navbar-brand {
    color: #FFF;
  }

/*
  .my-intro-landed{
    margin-top: 30em;
  }
*/
  .navbar-collapse{
    /*padding-top: 1em;*/
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5em 1em;
  }

  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    /*color: #fff;*/
    text-decoration: none;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
    border-radius: 0;
  }
  #mainNav.navbar-shrink .navbar-brand {
    /*color: #F05F40;*/
    color: #669900;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    /*color: #f05f40;*/
    color: #669900;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #669900;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    /*color: #F05F40;*/
    color: #669900;
  }

}/*@media (min-width: 992px)*/

.mobile-category{
  box-shadow: 10px;
}

@media (max-width: 1024px){/* ipad */
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-bottom: 0;
  }

  #mainNav {
    padding-top: 2em;
    border-color: transparent;
    /*background-color: transparent;*/
    font-size: 0.5em;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5em 1em;
  }
  .my-intro-landed{
    margin-top: 20em !important;
  }

  .logos img{
    width: 20% !important;
  }
  .logos{
    margin-bottom: 2em;
  }
.text-faded {
    padding: 1em;
}
  .mx-auto{
    padding: 0;
  }

  /*  this looks to work for samsung galaxy */
  .portfolio-box{
    width: 330px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  .no-image{
    opacity: 0.7 !important;
    width: 330px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  .img-fluid{
    width:100%;
    height: 100%;
    padding: 0.5em;
  }

  .author{
    font-size: 10px;
  }
  .card-footer a{
    margin-right: -3em;
    transform: scale(0.7);
  }
  .fa-linkedin-in{
    margin-top: 15px;
  }
}/*  @media (max-width: 1024px){/* ipad */



@media (max-width: 768px){/* this was affecting old ipad but change from 768 to 6 */

  .project-category, .project-name{
    display: none;
  }
  .mobile-category{
    display: block !important;
    position: absolute;
    bottom: 0.5em;
    margin: 1em;
    font-size: 20px;
    font-weight: bolder;
    color: #FFF;
    z-index: 999;
  }

  .navbar-toggler{

  }

  .logos img{
    width: 20% !important;
    margin-bottom: 2em;
  }
  .text-faded {
    padding: 1em;
  }
  .mx-auto{
    padding: 0;
  }
  .my-intro-landed{
    opacity: 1;
    margin-top: 1em;
  }
  /*  this looks to work for samsung galaxy */
  .portfolio-box{
    width: 250px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  .no-image{
    opacity: 0.7 !important;
    width: 257px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  .img-fluid{
    width: 257px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  .author{
    font-size: 10px;
  }
  .card-footer a{
    margin-right: -3em;
    transform: scale(0.7);
  }
  .fa-linkedin-in{
    margin-top: 15px;
  }
}/*  @media (max-width: 768px){/* ipad */


@media (max-width: 414px){/*  this seems to be the biggest mobile excluding ipad */
  .bg-primary{
    height: auto;
  }

#mainNav .navbar-brand {
    margin: 10px;
  }
.navbar-light .navbar-toggler {
    display: block !important;
    /*color: rgba(0,0,0,.5);*/
    border-color: rgba(0,0,0,.1);
    margin: 20px;
}
.navbar-toggler {
    background-color: transparent;
    display: block !important;
    /*border: 1px solid transparent;
    border-radius: .25rem;*/
}
.navbar-nav  {
  background-color: #FFF;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

#navbarResponsive a{
  color: #5B8E00;
}


  .project-category, .project-name{
    display: none;
  }
  .mobile-category{
    display: block !important;
    position: absolute;
    bottom: 0.5em;
    margin: 1em;
    font-size: 20px;
    font-weight: bolder;
    color: #FFF;
    z-index: 999;
  }

  .img-fluid {
    width: 100%;
    padding: 0.5em;/* this was added for spaces between images client request */
  }

  .logos img{
    width: 40% !important;
  }
  .logos{
    margin-bottom: 2em;
  }
.text-faded {
    padding: 1em;
}
  .mx-auto{
    padding: 0;
  }
.my-intro-landed{
  opacity: 1;
  margin-top: 10em !important;
}
  /*  this looks to work for samsung galaxy */
  .portfolio-box{
    width: 330px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  .no-image{
    opacity: 0.7 !important;
    width: 330px;/* when there is no image you ahve to set these properties */
    height:220px;/* when there is no image you ahve to set these properties */
  }
  
  .author{
    font-size: 10px;
  }
  .card-footer a{
    margin-right: -3em;
    transform: scale(0.7);
  }
  .fa-linkedin-in{
    margin-top: 15px;
  }
}/*@media (max-width: 411px){/*  this seems to be the biggest mobile eexcluding ipad */

/*  examples  */
/*
# Mobile
only screen and (min-width: 480px)

# Tablet
only screen and (min-width: 768px) 

# Desktop
only screen and (min-width: 992px)

# Huge
only screen and (min-width: 1280px)
*/
