* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: #3b5d8e;
  background: -moz-linear-gradient(top, #3b5d8e 0%, #7fa8e3 100%);
  background: -webkit-linear-gradient(top, #3b5d8e 0%, #7fa8e3 100%);
  background: linear-gradient(to bottom, #3b5d8e 0%, #7fa8e3 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3b5d8e', endColorstr='#7fa8e3', GradientType=0);
}

.testimonials img {
  height: auto;
  width: 200px;
  margin: 0;
  float: left;
}

.testimonials .ccm-layout-row {
  margin-bottom: 30px;
}

.additions ul.gallerylist,
.refurbishment ul.gallerylist {
  text-align: center;
  width: 100% !important;
}

.additions ul.gallerylist li,
.refurbishment ul.gallerylist li {
  display: inline-block;
}

.additions ul.gallerylist li:first-child:before,
.refurbishment ul.gallerylist li:first-child:before {
  content: "Before";
  text-align: center;
  display: block;
  font-family: 'DroidSansRegular';
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 20px;
}

.additions ul.gallerylist li:last-child:before,
.refurbishment ul.gallerylist li:last-child:before {
  content: "After";
  text-align: center;
  display: block;
  font-family: 'DroidSansRegular';
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 20px;
}

#d3, #d5, #bottombar, #d5_full {
  height: auto;
  background: none;
}

#d5:before {
  width: 952px;
  height: 25px;
  background: #404040;
  content: "";
  display: block;
  margin: 0 auto;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}

#bottombar a {
  color: #FFF;
}

#testimonials {
  width: 230px;
}

#content {
  background-color: #FFF;
  border-radius: 10px;
  padding: 20px;
  margin-right: 25px;
  width: 685px;
  position: relative;
}

#content:before {
  content: "";
  width: 2px;
  background-image: url(images/line.png);
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: -25px;
}

#d4_full,
#d4 {
  width: 952px;
  background: #404040;
  margin: 0 auto;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
}

#title {
  background-image: url(images/title-bg.png);
  height: 82px;
  margin-bottom: 20px;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  position: relative;
}

#title h1 {
  position: relative;
  z-index: 2;
  display: inline;
}

#title:before {
  background-image: url(images/title-left.png);
  content: "";
  display: block;
  width: 91px;
  height: 82px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-border-radius: 10px 0 0 0;
  border-radius: 10px 0 0 0;
}

#topnav {
  display: block;
  background: #414244;
  background: -moz-linear-gradient(top, #414244 0%, #282828 100%);
  background: -webkit-linear-gradient(top, #414244 0%, #282828 100%);
  background: linear-gradient(to bottom, #414244 0%, #282828 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#414244', endColorstr='#282828', GradientType=0);
  width: 825px;
  margin: 10px auto 20px;
  padding: 0;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}

#topnav ul {
  padding: 10px 0;
}

#topnav ul li a {
  height: auto;
  padding: 9px 11px 8px;
}

#navcontainer2 ul {
  padding: 0;
}

#bottombar {
  padding: 20px 0 0;
}

#topBannerDiv {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: 6px solid #FFF;
}

a.overlink {
  right: 37px;
  -webkit-border-radius: 0 11px 0 20px;
  border-radius: 0 11px 0 20px;
  top: 2px;
}

#d1 {
  background-image: url(images/bgtop.png);
  background-position: top center;
  width: 100%;
}

.logo {
  background-image: url(images/logo.png);
  display: block;
  text-indent: -9999px;
  width: 200px;
  height: 81px;
  position: absolute;
  top: 19px;
  left: 40px;
}

#d4_full {
  padding-bottom: 20px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

#content_full {
  background: #FFF;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  margin: 0 15px;
  padding: 35px;
}

.product-gallery img {
  width: auto;
  height: 150px;
}

@media (max-width: 1020px) {
  #d1 {
    width: 800px;
    margin: 0 auto;
    background-size: 850px;
    height: 90px;
    background-repeat: no-repeat;
  }

  .logo {
    -webkit-background-size: 150px;
    background-size: 150px;
    width: 150px;
    height: 61px;
    top: 10px;
    left: 20px;
  }

  #d1 #topnumber {
    padding: 18px 0 0;
  }

  #d1 #topnumber p#phone {
    font-size: 30px;
  }

  #d1 #topnumber p {
    font-size: 11px;
  }

  #d1 #topcaption {
    position: absolute;
    top: 16px;
    left: 270px;
    padding: 0;
    font-size: 18px;
  }

  #topBannerDiv, #topBannerDiv * {
    width: 800px !important;
  }

  #topBannerDiv img {
    height: auto;
  }

  #topBannerDiv {
    height: 289px;
  }

  #d2 {
    width: 800px;
    height: auto;
    margin: 0 auto;
  }

  a.overlink {
    font-size: 20px;
    right: 0;
    top: 0;
  }

  #topnav ul li a {
    font-size: 13px;
    margin: 0 2px;
  }

  #topnav {
    width: 720px;
  }

  #d4,
  #d4_full {
    width: 800px;
  }

  #content {
    width: 530px;
  }

  #content_full p,
  #content p {
    font-size: 15px;
    line-height: 23px;
  }

  #d5_full,
  #d5 {
    width: 800px;
    margin: 0 auto;
  }

  #d5:before {
    width: 800px;
  }

  #maintable, #d3 {
    width: 100%;
  }

  #navcontainer2 ul li a {
    padding: 3px 10px 0 14px;
    font-size: 11px;
  }

  ul.gallerylist {
    width: 604px;
    margin: 0 auto;
  }

  #maintable #content_full .contact h2 {
    font-size: 17px;
  }

  .contact iframe {
    height: 140px;
  }

  .contact {
    font-size: 14px;
  }

  .contact .hoo h3 {
    font-size: 20px !important;
  }

  .contact .hoo p {
    font-size: 14px !important;
    line-height: 21px !important;
    margin-top: 4px !important;
  }

  .product-gallery img {
    height: 110px;
  }

  .product-gallery h3, .product-gallery h3 a {
    font-size: 14px !important;
  }

  #mininav a {
    padding-top: 22px;
  }

  .additions img,
  .refurbishment img {
    height: 100px;
    width: auto;
  }

  #content_full h3 {
    font-size: 15px;
  }

  .testimonials img {
    width: 170px;
    height: auto;
    margin: 0;
  }

  ul.gallerylist li a {
    float: left;
    width: 85px;
    height: auto;
    margin: 11px 13px;
  }
}

@media (min-width: 831px) {
  .mhead {
    display: none;
  }

  #d1, #d3 {
    display: block;
  }
}

@media (max-width: 830px) {
  #content_full p, #content p {
    font-size: 13px;
    line-height: 20px;
  }

  ul.gallerylist {
    width: 100%;
    margin: 0 auto;
  }

  .contact table * {
    display: block;
    width: 100%;
  }

  .contact table tr td:nth-of-type(1) {
    width: 100%;
    padding: 0;
  }

  .ccm-layout-col-spacing {
    margin: 0 !important;
  }

  .refurbishment ul.gallerylist li a,
  .additions ul.gallerylist li a {
    float: none;
    width: 85px;
    height: auto;
    margin: 12px auto;
  }

  .refurbishment ul.gallerylist li a img,
  .refurbishment ul.gallerylist li a img, .additions ul.gallerylist li a img {
    height: 155px;
  }

  .refurbishment ul.gallerylist li,
  .additions ul.gallerylist li {
    float: left;
    width: 50%;
  }

  .product-gallery .ccm-layout-table .ccm-layout-col {
    width: 24% !important;
    margin-bottom: 17px;
  }

  .mhead {
    display: block;
  }

  #d1, #d3 {
    display: none;
  }

  .mhead {
    background: #7fa8e3;
    z-index: 2000;
    position: fixed;
    width: 100%;
    padding: 10px 10px 10px 16px;
    border-bottom: 1px solid #FFF;
  }

  .mhead:after {
    clear: both;
    content: "";
    display: block;
  }

  .mhead .logo {
    -webkit-background-size: 100px;
    width: 100px;
    background-size: 100px;
    height: 41px;
    float: left;
    position: relative;
    top: 0;
    left: 0;
  }

  .mhead .nav {
    clear: both;
    list-style: none;
    display: none;
    margin: 0;
    padding: 20px 0 0;
    text-align: center;
  }

  .mhead .nav li a {
    color: #FFF;
    font-weight: normal;
    font-family: 'DroidSansRegular';
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 7px 0;
  }

  .mhead .nav li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .mhead .nav li:first-child a {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .mhead .mopts {
    float: right;
    font-family: 'DroidSansRegular';
  }

  .testimonials img {
    width: 130px;
  }

  #d2 {
    margin: 0 auto 20px;
    padding-top: 80px;
  }

  .mhead .mopts a {
    text-decoration: none;
    color: #FFF;
    font-size: 15px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 7px 15px;
    margin-top: 4px;
  }

  #topBannerDiv, #topBannerDiv * {
    width: 600px !important;
  }

  #topBannerDiv {
    height: 218px;
  }

  #d2,
  #d5_full, #d5,
  #d4, #d4_full {
    width: 600px;
  }

  #content:before {
    display: none;
  }

  #content {
    float: none;
    margin: 0 auto;
    width: 570px;
  }

  #testimonials, #testimonials * {
    float: none;
    width: 100%;
  }

  #testimonials {
    padding: 20px 20px 0px;
  }

  #d5:before {
    width: 600px;
  }

  #navcontainer2 ul li {
    display: block;
    margin: 0;
  }

  #navcontainer2 ul li a {
    display: block;
    font-size: 13px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 0;
    margin: 0;
    line-height: 11px;
  }

  #navcontainer2 ul li:first-child a {
    border-top: 0;
  }

  #navcontainer2 ul li:last-child a {
    border-bottom: 0;
  }

  .logos {
    width: 444px;
    margin: 25px auto 0;
  }

  .logos img {
    height: 60px;
  }

  a.overlink {
    display: none !important;
  }

  #bottombar {
    padding: 20px 0 40px;
  }

  .product-gallery img {
    height: 60px;
  }

  #content_full h3 {
    font-size: 11px !important;
  }

  ul.gallerylist li a {
    float: left;
    width: 99px;
    height: auto;
    margin: 11px 13px;
  }

  ul.gallerylist li a img {
    height: 103px;
  }

  ul.gallerylist {
    width: 100%;
    margin: 0 auto;
  }

  #swipebox-bottom-bar {
    -webkit-transform: translate3d(0, 0px, 0) !important;
    transform: translate3d(0, 0px, 0) !important;
    bottom: 0 !important;
  }

  .contact.contact-left {
    border-right: 0;
    padding-right: 0;
  }

  .contact table {
    height: auto;
  }

  .contact .ccm-layout-table .ccm-layout-col {
    font-weight: normal !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .contact-right {
    padding: 30px 0 0;
  }
}

@media (max-width: 768px) {
  .refurbishment ul.gallerylist li a img, .refurbishment ul.gallerylist li a img, .additions ul.gallerylist li a img {
    height: 105px;
  }

  .ccm-page-id-226 .ccm-layout-column {
    width: 50% !important;
  }

  .ccm-page-id-241 .ccm-layout-column,
  .ccm-page-id-242 .ccm-layout-column,
  .ccm-page-id-243 .ccm-layout-column,
  .ccm-page-id-244 .ccm-layout-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  #ccm-layout-column-wrapper-29 div.ccm-layout-column-inner,
  #ccm-layout-column-wrapper-28 div.ccm-layout-column-inner {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 625px) {
  .refurbishment ul.gallerylist li a img, .additions ul.gallerylist li a img {
    height: 125px;
  }

  .additions .ccm-layout-table .ccm-layout-col,
  .refurbishment .ccm-layout-table .ccm-layout-col {
    width: 100% !important;
    font-weight: normal !important;
  }

  #d2, #d5_full, #d5, #d4, #d4_full {
    width: 90%;
  }

  ul.gallerylist li a {
    float: left;
    width: 75px;
    height: auto;
    margin: 11px 13px;
  }

  ul.gallerylist li a img {
    height: 93px;
  }

  #d5:before {
    width: 100%;
  }

  #topBannerDiv, #topBannerDiv * {
    width: 100% !important;
  }

  #topBannerDiv {
    border: none;
    height: auto;
  }

  #topBannerDiv img {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: 6px solid #FFF;
  }

  #content {
    float: none;
    margin: 0 auto;
    width: 90%;
  }

  #title {
    text-align: center;
    padding: 0;
  }

  #title h1 {
    margin: 0 auto;
    padding: 0;
    left: 0;
    right: 0;
    display: block;
    top: 28px;
    font-size: 18px;
    text-align: center;
    position: absolute;
  }

  #title.th h1 {
    font-size: 20px;
    top: 36px;
  }

  #testimonybutton {
    margin: 0 auto;
    display: block;
    width: 154px;
    position: relative;
    left: 10px;
  }

  #testimonials {
    text-align: center;
  }

  #testimonials p {
    font-size: 12px;
  }

  #maintable h2 {
    font-size: 22px;
  }

  #testimonybutton p a {
    margin-top: 30px;
    display: block;
  }

  #mininav {
    float: none !important;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    padding: 0;
    top: 22px;
    font-size: 13px;
  }

  .testimonials img {
    width: 100px;
  }
}

@media (max-width: 500px) {
  .product-gallery .ccm-layout-table .ccm-layout-col {
    width: 50% !important;
    margin-bottom: 17px;
  }

  .product-gallery img {
    height: 110px;
  }
}

@media (max-width: 480px) {
  .testimonials img {
    width: 200px;
    max-width: 100%;
  }

  .product-gallery .ccm-layout-table .ccm-layout-col {
    width: 48% !important;
    margin-bottom: 17px;
  }

  .logos {
    width: 100%;
  }

  .logos li {
    display: inline-block;
    margin: -6px 0;
  }

  .logos img {
    height: 65px;
  }

  #content_full {
    padding: 20px;
  }

  .ccm-layout-table .ccm-layout-col {
    width: 100% !Important;
    float: none;
  }

  #title.th h1 {
    font-size: 18px;
    top: 36px;
  }

  #content_full p, #content p {
    font-size: 13px;
    line-height: 20px;
  }

  #title.th h1 {
    font-size: 18px;
    top: 40px;
  }
}

@media (max-width: 455px) {
  ul.gallerylist li a img {
    height: 80px;
  }

  ul.gallerylist li a {
    width: 65px;
  }
}

@media (max-width: 430px) {
  .product-gallery img {
    height: 80px;
  }

  ul.gallerylist li a {
    width: 90px;
  }

  ul.gallerylist li a img {
    height: 100px;
  }

  .refurbishment ul.gallerylist li a img, .additions ul.gallerylist li a img {
    height: 110px;
  }
}

@media (max-width: 360px) {
  .product-gallery img {
    height: 80px;
  }

  ul.gallerylist li a img {
    height: 110px;
  }

  ul.gallerylist li a {
    width: 88px;
  }

  .refurbishment ul.gallerylist li a img, .additions ul.gallerylist li a img {
    height: 85px;
  }
}

@media (max-width: 330px) {
  .mhead .mopts a span {
    display: none;
  }
}

#swipebox-close {
  right: auto !important;
  left: 0 !important;
  top: auto !important;
  z-index: 9999;
}

.covidsm {
  border-radius: 6px;
  background: #fff;
  padding: 10px 30px;
  font-family: Arial;
  font-size: 17px;
  margin: 0 25px 20px;
}

@media (max-width: 900px) {
  .hidethistext {
    display: none;
  }

  #covidpopup {
    width: 300px;
    padding: 15px;
  }

  #covidpopup h3 {
    font-size: 12px;
  }

  #covidpopup h2 {
    font-size: 20px;
  }

  #covidpopup h5 {
    font-size: 16px;
  }

  #covidpopup p {
    font-size: 13px;
  }
}