:root {
  --banner-padding-y: 5rem;
  --nav: #008a1f!important;
  /*--nav: #191a1b!important;*/
}

.light-theme {
  --body-background: white;
  --nav: #008a1f!important;
  --card:white;
  --font-color: #5a5a5a;
  --border-top: rgba(0,0,0,.1);
  --error-background: #ffe4e4;
  --select-highlight: #a7c8f9;
}

.dark-theme {
  --body-background: #313030;
  --nav: #008a1f!important;
  --card: #424040;
  --font-color: #c1c1c1;
  --input-bg: #4a4646;
  --border-top: rgb(132 128 128 / 25%);
  --error-background: #463a3a;
  --select-highlight: #23549c;
  
}

body {
  background-color: var(--body-background);
  color: var(--font-color);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  min-height: 100vh;
}
.roof-img {
  width:80%;
  max-height: 25rem;
  margin: 1rem 0rem;
  max-width: 45rem;
}
.roof-info {
  padding: 3rem 1.5rem;
  text-align: center;
}
.card {
  background-color: var(--card);
}
.nav-under-height {
  height: 5.5rem;
}
.carousel-text {
  background: #ffffffb8;
}
.banner {
  color:white;
  padding-top: var(--banner-padding-y);
  padding-bottom: var(--banner-padding-y);
  margin-bottom: 0;
  display: none;
}
.banner .container {
  max-width: 40rem;
}
.navbar {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--nav);
}
.btn-primary {
  color: #fff;
  background-color: #777777;
  border-color: #777777;
}
.btn-primary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #5a6268;
}
.sizing {
  width: 100%;
}

.switch {
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.switch div {
  position: relative;
  display: block;
  background: #eee;
  width: 30px;
  border-radius: 50px;
  padding: 0 5px;
  box-sizing: border-box;
  cursor: pointer;
}

.fa-adjust {
  transform: rotate(180deg);
}

.switch input {
  display: none;
}

.slider {
  background-color: #999;
  transition: 0.4s;
  border-radius: 34px;
  height: 12px;
  width: 12px;
  display: inline-block;
  position: relative;
}
.label {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2;
}

input:checked + .slider {
  transform: translateX(8px);
}
.input-box {
  background-color: var(--input-bg);
  border: 1px solid #6f6e6e;
  padding: 0.5rem;
  width:100%;
  color: var(--font-color);
}
.input-box-regular {
  background-color: var(--input-bg);
  border: 1px solid #6f6e6e;
  padding: 0.5rem;
  color: var(--font-color);
}

td, th {
  border: 1px solid #5a5a5a;
  text-align: center;
  padding: 1rem;
  
}
.align-left {
  text-align: left!important;
}

.btn-align-right {
  float:right;
}

.footer {
  height: 4rem;
  background-color: #191a1b;
  padding: 3rem;
}
.message {
  height: 10rem;
}
.bottom {
  bottom: 0;
  position: fixed;
  width: 100%;
}
.submit-btn {
  float: right;
}

.large-btn {
  width: 25rem;
  height: 5rem;
  font-size: 1.3rem;
  background-color: #006eff;
}

.img-card {
  height:20rem;
}
.gallery-space {
  padding-top: 2rem;
}
.logo-img {
  max-width: 44rem;
  width: 100%;
  margin-right: 10rem;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
  color:black;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 28rem;
  /*background-color: #777;*/
  background-color: #313030;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}
.carousel-img {
  /*filter: blur(8px);
  -webkit-filter: blur(8px);*/
}


.carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: 5.5rem;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: .5;
}

.small-img-box {
  padding: 1rem 0;
  text-align: center;
}

.small-img {
  width: 100%;
  max-width: 5rem;
}
.centre {
  width:100%;
  text-align: center;
}
.table-border {
  border: 1px solid #5a5a5a;
  width: 45rem;
  margin: 0 auto!important;
}
.title {
  padding: 2rem 0!important;
}
.summary-spacer {
  padding: 1rem;
  width: 100%;
}
.measurement-heading {
  font-weight: 400;
}
.row-spacing {
  padding: 1rem 0;
}
/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

.container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0px;
  margin-left: 0px; 
}
#switch-label-desktop {
  color:rgba(255,255,255,.5);
}
/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  border-top: 1px solid var(--border-top);
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}
.footer-extend {
  height:6rem;
  display:block;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }


}


@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 0rem;
  }
  .display-3 {
    font-size: 4.5rem;
    font-weight: 400;
  }
  .switch-mobile{
    display:none;
  }
}

@media (max-width:62em) {
  .spacing-top {
    padding-top:2rem;
  }
  .featurette-divider {
    margin: 2rem 0 3rem 0;
  }
  .switch-desktop{
    display:none;
  }
  .col-pair {
    width: 50%;
    
    padding: 0;
  }
}

@media (max-width:40em) {
  .label {
    font-size: 3rem;
  }
  .large-btn {
    width: 90%;
  }
  .spacing-top {
    padding-top:2rem;
  }

}
@media (max-width:20em) {
  .label {
    font-size: 2rem;
  }
  .spacing-top {
    padding-top:2rem;
  }
}



