﻿#Top {
  max-width: 425px;
}

#TopMoto {
  margin-top: 4px;
  background-color: #002b6c;
  color: #7e909a;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
}

hr {
  width: 75%;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 10px;
  border-top: 5px solid #2e2e2e;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.service-areas {
  cursor: default;
  font-weight: bold;
}

.service-areas li:hover {
  background-color: #7e909a;
  color: white;
}

#TopMoto2 {
  /*    background-color: #002b6c;
  color: #7e909a;
  font-weight: bold;*/
  font-size: 36px;
  text-align: center;
}

#TopPhone {
  text-align: center;
  font-weight: bold;
  font-size: 46px;
}

#TopLinks {
  position: absolute;
  top: 5px;
  right: 5px;
  font-weight: bold;
  font-size: 18px;
  text-align: right;
}

#TopLinks a {
  text-decoration: none;
}

#TopLinksPhone {
  max-height: 35px;
}

#TopLinksContact {
  height: 35px;
}

#TopLicense {
  position: absolute;
  top: 5px;
  left: 10px;
  font-weight: bold;
  font-size: 18px;
}

.nav-link.active {
  color: white !important;
}

#Roofing video {
  width: 100%;
}

.video-container {
  height: 700px;
  width: 100%;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}

.video-container .caption {
  z-index: 1;
  position: relative;
  text-align: center;
  font-weight: bold;
  padding-left: 50px;
  padding-right: 50px;
  height: 100%;
  display: flex;
  align-items: center;
}

.shadow-3 {
  text-shadow: 3px 3px #333333;
}

#RoofingCarousel img {
  /*    width:100%;*/
}

#RoofingCarousel {
  /*max-width:300px;*/
  max-height: 400px;
  overflow: hidden;
}

/* medium and up screens */
@media (min-width: 992px) {
  #RoofingCarousel {
    /*max-width:300px;*/
    max-height: 600px;
    overflow: hidden;
  }
}
/*small screen fixes*/
@media (max-width: 767px) {
  /*    html {
      -ms-zoom: .75;
      zoom: .75;
  }*/
  .video-container {
    height: 400px;
  }

  .video-container .caption {
    top: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .video-container .caption .display-3 {
    font-size: calc(1.525rem + 1vw);
  }

  .video-container .caption .display-6 {
    font-size: calc(1rem + 0.75vw);
  }

  #TopMoto2 {
    font-size: 22px !important;
  }
}
/*
    logo black: #2e2e2e
    logo blue: #002b6c
    logo gray: #7e909a



*/
.text-justify {
  text-align: justify;
}

.text-large {
  font-size: large;
}

.text-larger {
  font-size: larger;
}

@media (max-width: 767px) {
  #carousel1 .carousel-inner .carousel-item > div {
    display: none;
  }

  #carousel1 .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
}
#carousel1 .carousel-inner .carousel-item.active,
#carousel1 .carousel-inner .carousel-item-next,
#carousel1 .carousel-inner .carousel-item-prev {
  display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
  #carousel1 .carousel-inner .carousel-item-end.active,
#carousel1 .carousel-inner .carousel-item-next {
    transform: translateX(33.3%);
  }

  #carousel1 .carousel-inner .carousel-item-start.active,
#carousel1 .carousel-inner .carousel-item-prev {
    transform: translateX(-33.3%);
  }
}
#carousel1 .carousel-inner .carousel-item-end,
#carousel1 .carousel-inner .carousel-item-start {
  transform: translateX(0);
}

/* Modal Images*/
/* The Modal (background) */
.ImageModal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 10000000;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.ImageModal-Content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1000px;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
.TestimonialsContainer {
  columns: 3;
}

@media (max-width: 992px) {
  .TestimonialsContainer {
    columns: 2;
  }
}
@media (max-width: 767px) {
  .TestimonialsContainer {
    columns: 1;
  }
}
.Testimonial {
  padding-bottom: 30px;
  display: inline-block;
  width: 100%;
}

.TestimonialText {
  color: #002b6c;
  padding: 0em 3em 0em 3em;
  background-color: white;
  text-align: justify;
  border-radius: 50px;
  border: 5px solid #002b6c;
}

.TestimonialText img {
  width: 50px;
  height: 50px;
  /*filter: invert(18%) sepia(1%) saturate(0%) hue-rotate(14deg) brightness(97%) contrast(98%);*/
  /*2e2e2e*/
  /*filter: invert(14%) sepia(29%) saturate(6084%) hue-rotate(200deg) brightness(95%) contrast(113%);*/
  /*002d6f*/
  filter: invert(57%) sepia(19%) saturate(267%) hue-rotate(157deg) brightness(94%) contrast(93%);
  /*7e909a*/
}

.TestimonialName {
  margin-top: 30px;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: larger;
}

.TestimonialLocation {
  color: white;
  text-align: center;
  font-weight: bold;
  font-style: italic;
}

.endquote {
  transform: rotate(180deg);
}

.TestimonialArrow:after {
  content: "";
  float: right;
  position: relative;
  left: calc(20px - 50%);
  top: 0;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #002b6c;
}
