/* Sofia Pro Custom Font */
@font-face {
    font-family: 'Sofia Pro';
    src: url('./fonts/SofiaPro.woff') format('woff'),
        url('./fonts/SofiaPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Raleway Custom Font */
@font-face {
  font-family: 'Raleway';
  src: url('./fonts/Raleway.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: white;
  font-family: 'Sofia Pro', Helvetica, Arial, sans-serif;
  width: auto;
  min-height: 100vh;
  height: auto;
  position: relative;
  top: 0;
  margin: 0;
  padding: 0;
  padding-top: 1px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color:  rgba(255, 255, 255, 0);
}


/* Site Header Section */
.header {
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 4px;
  z-index: 5;
  display: flex;
}

.title {
  font-size: 28px;
  width: calc(100% - 65px);
  height: 100%;
  display: flex;
  text-align: left;
  font-weight: bold;
  color: rgba(140, 4, 4, 1);
  padding-left: 10px;
  letter-spacing: normal;
  position: relative;
}

.company-name {
  width: 70%;
  position: absolute;
  top: 50%;
  transform: translate(0, -45%);
  text-shadow: 2px 2px 6px rgba(37, 4, 4, 0.1),
    3px 3px 6px rgba(37, 4, 4, 0.15),
    4px 4px 6px rgba(37, 4, 4, 0.2),
    5px 5px 6px rgba(37, 4, 4, 0.25);
  text-transform: uppercase;
  font-family: "Raleway", 'Sofia Pro', Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.company-logo {
  height: 100%;
  position: absolute;
  width: 25%;
  left: 70%;
  padding: 5px;
}

.logo-image {
  position: relative;
  top: 7px;
  height: calc(100% - 20px);
  width: auto;
  float: right;
}

.nav-icon {
  position: absolute;
  right: 0;
  width: 60px;
  height: 100%;
}

.nav-icon-img {
  width: 60px;
  height: auto;
}

.nav-bar-mobile {
  display: none;
  background-color: white;
  position: fixed;
  top: 60px;
  width: 100%;
  height: 75vh;
  box-shadow: 0 2px 4px;
  z-index: 6;
}

.nav-bar-row {
  display: block;
  width: 100%;
  height: 15vh;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 5vw;
  font-weight: bold;
}

.nav-bar-row:hover {
  background-color: rgba(200, 200, 200, 1);
}

.nav-bar-divider {
  background: linear-gradient(rgba(200, 200, 200, 1), rgba(200, 200, 200, 1)) bottom /* left or right or else */ no-repeat;
  background-size: 65% 2px;
}

.nav-bar-desktop {
  display: none;
}


/* Main Content Section */
.site-main {
  left: 0;
  top: 60px;
  width: 100%;
  position: relative;
  padding-bottom: 75px;
  flex: 1;
}


/* Footer Section */
.footer {
  position: absolute;
  width: 100%;
  height: 150px;
  bottom: -160px;
  background-color: rgba(140, 4, 4, 1);
  box-shadow: 0 -2px 2px;
}

.footer-content {
  height: 100%;
  margin-left: 0;
  width: 100%;
  position: relative;
}

.footer-content-row-large {
  width: 100%;
  height: 70%;
}

.footer-content-row-small {
  width: 100%;
  height: 30%;
}

.facebook-logo-large {
  margin-left: 30px;
  float: left;
  margin-top: 35px;
}

.facebook-logo-large img {
  width: 150px;
  height: auto;
}

.facebook-logo-small {
  margin-left: 40px;
  display: inline-block;
  display: none;
  margin-top: 28px;
}

.facebook-logo-small img {
  width: 40px;
  height: auto;
  padding-bottom: 10px;
}

.footer-company-name {
  font-size: 26px;
  color: rgb(118, 112, 112);
  font-weight: bold;
  margin-top: 30px;
  margin-right: 20px;
  padding-left: 10px;
  float: right;
  letter-spacing: 4px;
  display: none;
}

.checkatrade-logo {
  display: inline-block;
  margin-left: 120px;
  margin-top: 20px;
}

.checkatrade-logo img {
  width: 200px;
  height: auto;
  border-radius: 5px;
}

.footer-year {
  float: left;
  margin-left: 35px;
  font-size: 20px;
}

.footer-author {
  float: right;
  font-size: 20px;
  margin-right: 35px;
}


/* Home Page */
.banner {
  margin-top: 10px;
  margin-left: 0;
  width: 100vw;
  height: 200px;
  background-color: rgba(140, 4, 4, 1);
  display: table;
  font-size: 26px;
}

.banner-small {
  height: 100px;
}

.banner-message {
  margin-left: 0;
  width: 100%;
  height: 100%;
  color: white;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 10px;
  text-align:center;
  vertical-align: middle;
  display: table-cell;
}

.banner-sub {
  background-color: rgba(140, 4, 4, 0.7);
  height: 60px;
  font-size: 22px !important;
}


/* Content Sections */
.content-column, .content-column-third, .content-column-single {
  width: 100%;
  display: inline-block;
}

.float-left {
  float: left;
}

.content-section {
  height: auto;
  width: 100%;
  padding: 0;
  background: linear-gradient(rgba(200, 200, 200, 1), rgba(200, 200, 200, 1)) bottom /* left or right or else */ no-repeat;
  background-size: 65% 2px;
  padding-bottom: 40px;
  margin-top: 50px;
  text-align: center;
}

.full-length-divider {
  background-size: 100% 2px;
}

.no-border-all {
  background: none;
}

.text-header {
  font-size: 26px;
  letter-spacing: 2px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: bold;
}

.text-body {
  font-size: 18px;
  padding-left: 40px;
  padding-right: 40px;
  line-height: 140%;
}

.text-body-small {
  font-size: 16px;
  padding-left: 40px;
  padding-right: 40px;
  line-height: 140%;
}

.image-body {
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
}

.image-body-small {
  position: relative;
  left: 30%;
  width: 40%;
}

.image {
  width: 100%;
}

.image-annotation {
  font-style: italic;
  font-size: 14px;
}

.areas-served-list {
  text-align: center;
}

.areas-served-list li {
  list-style-type: none;
  line-height: 28px;
  font-weight: bold;
}

.hideme {
  opacity: 0;
}

.hyperlink {
  text-decoration: underline;
}

/* Contact Us Section */
.contact-us-panel {
  background-color: rgba(140, 4, 4, 0.75);
  position: relative; 
  left: 5%; 
  width: 90%;
  border: 3px solid rgb(99, 11, 11);
  border-radius: 10px;
  font-size: 20px;
  line-height: 140%;
  color: white;
  box-sizing: border-box;
}

.contact-us-title {
  width: 100%;
  height: 40px;
  border-bottom: 3px solid rgb(99, 11, 11);
  font-size: 32px;
  letter-spacing: 2px;
  font-weight: bold;
  text-align: center;
  padding-top: 15px;
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.contact-us-link {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-top: 20px;
  padding-bottom: 15px;
  display: inline-block;
  box-sizing: border-box;
  border: 4px solid rgb(99, 11, 11);
  border-radius: 10px;
  background-color: rgba(140, 4, 4, 1);
  width: 320px;
}

.contact-us-link:hover {
  background-color: #3a194d;
  border-color: rgb(25, 4, 43);
}

.contact-us-footer {
  height: 100px;
  border-top: 3px solid rgb(99, 11, 11);
  background-color: white;
  border-radius: 0 0 10px 10px;
}

.contact-us-logo {
  position: relative;
  top: 7px;
  height: calc(100% - 20px);
  width: auto;
}

.banner-contact-number {
  font-size: 50px;
}

.contact-us-input-header {
  font-weight: bold;
  font-size: 22px;
}

.contact-us-input {
  border: 3px solid rgb(99, 11, 11);
  border-radius: 15px;
  text-align: center;
  position: static;
  width: 65%;
  font-size: 16px;
  background-color: white;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 15px;
  margin-top: 4px;
}

.contact-us-input:focus {
  background-color: rgb(216, 216, 216);
  outline: none;
}

.contact-us-description {
  resize: none;
  width: 70%;
  height: 85px;
}

.contact-us-footer-submit {
  border-top: none;
  height: 100px;
  border-radius: 0 0 10px 10px;
}

.contact-us-submit {
  text-align: center;
  width: 40%;
  height: 45px;
  border-radius: 10px;
  border: 3px solid rgb(99, 11, 11);
  font-size: 20px;
  font-weight: bold;
  background-color: white;
  cursor: pointer;
  margin-bottom: 5px;
}

.contact-us-submit:hover {
  background-color: grey;
  border-color: black;
  cursor: pointer;
}

.contact-us-submit:disabled {
  background-color: rgb(216, 216, 216);
  border: 3px solid rgb(99, 11, 11);
  cursor: not-allowed;
}

.contact-us-status-message {
  font-size: 17px;
  padding-left: 4px;
  padding-right: 4px;
}

.contact-input-error {
  box-shadow: 0 0 10px 3px;
  border-color: darkred;
}

.email-address {
  font-size: 23px;
}

#queryResultPanel {
  display: none;
}

#queryResultMessage {
  font-size: 24px;
  font-weight: bold;
  padding: 15px;
  margin-top: 50%;
}

/* VERY SMALL MOBILE SCREENS */
@media screen and (max-width: 400px) {
  .company-name {
    width: calc(100% - 60px);
  }

  .company-logo {
    display: none;
  }

  .facebook-logo-large {
    margin-left: 30px;
  }

  .checkatrade-logo {
    margin-left: 40px;
  }

  .contact-us-input {
    width: 90%;
  }

  .contact-us-description {
    width: 90%;
  }

  .contact-us-submit {
    width: 90%;
  }

  .contact-us-footer-submit {
    height: 120px;
  }

  .email-address {
    font-size: 18px;
  }
}

@media screen and (max-width: 500px) {
  .facebook-logo-small {
    display: inline-block;
  }

  .facebook-logo-large {
    display: none;
  }

  .title {
    font-size: 24px;
  }

  .contact-us-input {
    width: 85%;
  }

  .contact-us-description {
    width: 85%;
  }

  .contact-us-submit {
    width: 55%;
  }

  .contact-us-footer-submit {
    height: 120px;
  }

  .email-address {
    font-size: 20px;
  }
}

@media screen and (min-width: 600px) {
  .contact-us-panel {
    left: 10%; 
    width: 80%;
  }
}

@media screen and (min-width: 800px) {
  .footer-company-name {
    display: block;
  }

  .checkatrade-logo {
    margin-left: 70px;
  }
}

/* DESKTOP VIEW */
@media screen and (min-width: 900px) {
  body {
    background-color: white;
  }

  .header {
    height: 160px;
    background-color: none;
    box-shadow: none;
    padding-left: 10%;
    width: 90%;
    display: block;
  }

  .title {
    height: 100px;
    letter-spacing: 4px;
    font-size: 42px;
    padding-left: 30px;
    width: 100%;
  }

  .logo-image {
    top: 5px;
    height: 100%;
  }

  .nav-icon {
    display: none;
  }

  .nav-bar-mobile {
    display: none;
  }

  .nav-bar-desktop {
    display: flex;
    width: auto;
    height: 60px;
    border-bottom: 3px solid black;
  }

  .nav-bar-desktop-item {
    font-size: 23px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    margin-right: 40px;
    color: Grey;
    cursor: pointer;
  }

  .nav-bar-desktop-item:hover {
    color: black;
  }

  .site-main {
    margin-left: 5%;
    width: 90%;
    top: 160px;
  }

  .footer-content {
    margin-left: 5%;
    width: 90%;
  }

  .banner {
    margin-left: -5vw;
    margin-top: 40px;
    font-size: 36px;
  }

  .banner-sub {
    font-size: 30px !important;
  }

  .content-column {
    width: 50% !important;
  }

  .content-column-third {
    width: 33% !important;
    display: inline-block;
  }
  
  .facebook-logo-large, .footer-year {
    margin-left: 60px;
  }

  .no-border-desktop {
    background: none;
  }

  .site-main {
    padding-bottom: 150px;
  }

  .contact-us-panel {
    left: 5%; 
    width: 90%;
  }

  .contact-us-footer-submit {
    height: 110px;
  }

  .email-address {
    font-size: 23px;
  }
}

@media screen and (min-width: 1150px) {
  .header {
    padding-left: 10%;
    padding-right: 10%;
    width: 80%;
  }

  .site-main, .footer-content {
    margin-left: 10%;
    width: 80%;
  }

  .banner {
    margin-left: -10vw;
  }

  .facebook-logo-large, .footer-year {
    margin-left: 90px;
  }

  .checkatrade-logo {
    margin-left: 130px;
  }

  .contact-us-footer-submit {
    height: 100px;
  }
}

@media screen and (min-width: 1400px) {
  .header {
    padding-left: 15%;
    padding-right: 15%;
    width: 70%;
  }

  .site-main, .footer-content {
    margin-left: 15%;
    width: 70%;
  }

  .banner {
    margin-left: -15vw;
  }

  .facebook-logo-large, .footer-year {
    margin-left: 120px;
  }

  .checkatrade-logo {
    margin-left: 150px;
  }
}

@media screen and (min-width: 1650px) {
  .header {
    padding-left: 20%;
    padding-right: 20%;
    width: 60%;
  }

  .site-main, .footer-content {
    margin-left: 20%;
    width: 60%;
  }

  .banner {
    margin-left: -20vw;
  }
}