@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');
@import url('https://fonts.googleapis.com/css?family=Archivo Black:400,500,700');

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  color: #222;
}

h1 {
  font-family: 'Archivo Black', sans-serif;
}

.navbar {
  padding: 0.8rem;
}

.img-fluid {
  max-width: 80%;
  height: auto;
}

.nav-link {
  font-size: 1.1em !important;
}

.slide {
  height: 775px;
}

.nav-dropdown {
  padding-top: .4rem;
  padding-left: .5rem;
}

.carousel-caption { 
  color:#fff;
  position:absolute;
  z-index:12;
  top:50%;
  left:0;
  width:100%;
  text-align:center;
}

.fit{
  object-fit: cover;
}

.fitservice{
  object-fit: scale-down;
}

.logo {
  width: 50px; /* you can use % */
  height: 50px;
}


.carousel-inner img {
  width: 100%;
  height: 775px;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-caption h1 {
  font-size: 400%;
  text-transform: uppercase;
  text-shadow: 1px 1px 15px #000;
}

.carousel-caption h3 {
  font-size: 140%;
  font-weight: 500;
  text-shadow: 1px 1px 10px #000;
  padding-bottom: 1rem;
}

.icons {
  max-height:100px; 
  max-width:100px;
}

.btn-primary {
  background-color: #324472;
  border: 1px solid #FFF;
}

.btn-primary:hover {
  background-color: #333;
  border: 1px solid #333;
}

.jumbotron {
  padding: 2rem;
  border-radius: 0;
}

.padding {
  padding.bottom: 0.5rem;
}

.welcome {
  width: 75%;
  margin: 0 auto; 
}

.serviceimage{
  max-height:   400px;
  max-width:  400px;
}

.aboutimage{
  max-height:   350px;
  max-width:  350px;
}


.messages {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 100%;
}

.welcome hr {
  border-top: 2px solid #b4b4b4;
  width: 95%  
  margin-top: .3rem;
  margin-bottom: .3rem;
}

.dialog {
  background-color: #f8f9fa;
}

.fa-code {
  color: #e54d26;
}

.fa-bold {
  color: #563d7c;
}

.fa-css3 {
  color: #2163af;
}

.fa-code, .fa-bold, .fa-css3 {
  font-size: 4rem;
  margin: 1rem;
}


.socialtop a {
  font-size: 1.5rem;
  padding: 0.2rem;
}

.social a {
  font-size: 3.5rem;
  padding: 3rem;
}

.fa-envelope-square {
  color: #0072C6;
}

.fa-facebook {
  color: #3b5998;
}

.fa-twitter {
  color: #00aced;
}

.fa-instagram {
  color: #517fa8;
}

.fa-linkedin {
  color: #2867B2;
}

.fa-envelope-square:hover,
.fa-facebook:hover, 
.fa-twitter:hover, 
.fa-instagram:hover, 
.fa-linkedin:hover {
  color: #333;
}

footer {
  background-color: #3f3f3f;
  color: #d5d5d5;
  padding-top: 2rem;
}

hr.light {
  border-top: 1px solid #d5d5d5;
  width: 75%;
  margin-top: .8rem;
  margin-bottom: 1rem;
}

footer a {
  color: #d5d5d5;
}

.tnc {
  font-size: 6px;
}

/*---Media Queries --*/
@media (max-width: 992px) {

  }
@media (max-width: 768px) {
  
}
@media (max-width: 576px) {
  
}

/*---Firefox Bug Fix --*/
.carousel-item {
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}


/*--- Bootstrap Padding Fix --*/
[class*="col-"] {
    padding: 1rem;
}

/*
Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
*/

.gallery-block{
  padding-top: 60px;
}

.gallery-block .heading{
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.cards-gallery h6 {
  font-size: 17px;
  font-weight: bold; 
}

.gallery-block.cards-gallery .card{
  transition: 0.4s ease; 
}

.gallery-block.cards-gallery .card img {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15); 
}

.gallery-block.cards-gallery .card-body {
  text-align: center; 
}

.gallery-block.cards-gallery .card-body p {
  font-size: 15px; 
}

.gallery-block.cards-gallery a {
  color: #212529; 
}

.gallery-block.cards-gallery a:hover {
  text-decoration: none; 
}

.gallery-block.cards-gallery .card {
  margin-bottom: 30px; 
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 576px) {

  .gallery-block .transform-on-hover:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important; 
  }
}

.testimonials {
  overflow: hidden;
  position: relative;
  max-height: 300px;
}

.one-slide,
.testimonial,
.message {
  border: none !important;
  outline: none !important;
}

.icon-overlay {
  position: absolute;
  opacity: 0.3;
  right: 10%;
  top: 0;
  height: auto;
  width: 100%;
  max-width: 400px;
}

.carousel-controls .control {
  position: absolute;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #000000;
  z-index: 1;
}

.prev {
  left: -2.25rem;
}

.next {
  right: -2.25rem;
}



@media screen and (max-width: 768px) {
  .testimonials {
    max-height: 700px;
  }
  .icon-overlay {
    height: 300px;
    top: calc(50% - 150px);
  }
  .carousel-controls .control {
    width: 25px;
    height: 25px;
    top: inherit;
  }
  .prev {
    left: 0;
  }
  .next {
    right: 0;
  }
  .control i {
    font-size: .7rem;
  }
  .testimonials .message {
    font-size: 1rem;
  }
  .testimonials h2 {
    font-size: 1.5rem;
  }

}

.lightbox-gallery p {
    color: #000
}

.lightbox-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: #000
}

@media (max-width:767px) {
    .lightbox-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px
    }
}

.lightbox-gallery .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px
}

.lightbox-gallery .intro p {
    margin-bottom: 0
}

.lightbox-gallery .photos {
    padding-bottom: 20px
}

.lightbox-gallery .item {
    padding-bottom: 30px
}

.caption {
  font-family: sans-serif;
  color: black;
  display: inline-block;
  padding-top: .5em;
}