#portfolio .portfolio-item .portfolio-link {
  max-height: 400px;
  height: 300px;
  width: 100%;
}

.nav-item:hover {
  /*background-color: #fed136;*/
}

#portfolio * {
  width: 100%;
  height: 100%;
}

#portfolio .portfolio-item .portfolio-caption {
  width: 100%;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

header.masthead {
  background-position: initial;
}

.portfolio-modal .modal-content {
  padding: 10px 0;
  text-align: center;
}

.service-image {
  width: 120px;
  height: 120px;
}

.img-half {
  max-width: 100%;
  height: auto;
}

.d-inline-title {
  font-size: 33px;
}

.d-inline-block {
  font-size: 27px;
  line-height: initial;
  font-weight: 100;
}

.section-heading {
  padding-top: 20px;
}

.inline-photo {
  opacity: 0;
  margin: 2em auto;
  transform: translateY(10em) rotateZ(-5deg);
  transition: transform 4s .25s cubic-bezier(0,1,.3,1), opacity .3s .25s ease-out;
}

.inline-photo.is-visible {
  opacity: 1;
  transform: rotateZ(-2deg);
}

.about {
  position: relative;
  width: 75%;
  box-shadow: 5px 10px 10px 5px grey;
  right: 5%;
  z-index: 2;
  bottom: 2%;
}

.about2 {
  left: 5%;
  bottom: 52px;
  z-index: -1;
  box-shadow: 5px 10px 10px 5px grey;
  width: 75%;
  position: relative;
}

.about-content {
  font-size: 18px;
  padding-top: 30px;
}

.map-container {
  height: 500px;
  border: 0;
  width: 100%;
}

.map-control {
  display: block;
  width: 100%;
  height: 500px;
  margin-bottom: 30px;
}

.contact-us {
  color: #FFF;
  display: block;
  font-size: 18px;
}

.form-txtbox {
  padding: 2px !important;
  height: 45px !important;
}

@media (max-width: 576px) {
  .d-inline-title {
    font-size: 17px;
    line-height: normal;
    font-weight: bold;
  }
}

.logo-top {
  width: 90px;
}

@media (max-width: 576px) {
  .d-inline-block {
    font-size: small;
    line-height: 25px;
  }
}

@media (max-width: 576px) {
  #portfolio .portfolio-item .portfolio-link {
    height: 300px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .d-inline-block {
    line-height: normal;
    text-align: justify;
    max-width: 100%;
    font-size: large;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .map-control {
    height: 400px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .d-inline-title {
    font-size: 22px;
    font-weight: bold;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  #portfolio .portfolio-item .portfolio-link {
    height: 200px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  span {
    font-size: 25px;
    font-family: 'PT Sans', sans-serif;
  }
}

@media (max-width: 767px) {
  .about2 {
    bottom: 30px;
  }
}

@media (min-width: 767px) and (max-width: 990px) {
  #portfolio .portfolio-item .portfolio-link {
    max-height: 400px;
    height: 180px;
  }
}

@media (min-width: 767px) and (max-width: 990px) {
  .d-inline-block {
    line-height: normal;
    font-size: 20px;
    font-weight: 100;
  }
}

@media (min-width: 767px) and (max-width: 990px) {
  .d-inline-title {
    font-size: 26px;
  }
}

@media (max-width: 990px) {
  .nav-item {
    width: 200px;
    margin-top: -5px;
    padding-top: 10px;
  }
}

@media (min-width: 990px) {
  #mainNav {
    /*background: none;*/
  }
}

