hr {
  border: none;
  border-bottom: solid 1px #e3e3e3;
}

br {
  margin-top: 8px;
}

.clearFix {
  clear: both;
  display: block;
}

.center {
  text-align: center;
}

.left-align {
  text-align: left;
}

html, body {
  padding: 0px;
  margin: 0px;
  font-family: sans-serif;
  background-color: #f4f4f4;
}

.fullWidth {
  width: 100%;
}

.pageWrapper {
  padding: 25px;
  max-width: 999px;
  margin-left: auto;
  margin-right: auto;
}

.pageContainer {
  border: solid 1px #b3b3b3;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.24);
  background-color: white;
  overflow: hidden;
}

header {
  padding-top: 20px;
}
header img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
header h1 {
  height: 126px;
  max-width: 400px;
  width: 90%;
  background-size: cover;
  text-indent: -9999px;
  background: url("../images/logo.png") no-repeat;
  text-align: center;
  float: left;
  margin-left: 20px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
header h1:hover {
  opacity: 0.75;
}
header nav {
  float: right;
  margin-right: 20px;
}
header nav ul {
  display: block;
  margin-top: 65px;
}
header nav ul li {
  list-style: none;
  float: left;
  padding: 5px;
  margin-left: 5px;
  margin-right: 5px;
}
header nav ul li a {
  text-decoration: none;
  font-family: "PT Sans", sans-serif;
  font-size: 1.2em;
  color: #000000;
  -webkit-transition: all 100ms ease-in-out;
  -moz-transition: all 100ms ease-in-out;
  -ms-transition: all 100ms ease-in-out;
  -o-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
}
header nav ul li a:hover {
  color: #009245;
}
header .headerWater {
  background: url("../images/headerWater.png") no-repeat;
  width: 100%;
  height: 207px;
}

.mainContents h1, .mainContents h2, .mainContents h3, .mainContents h4 {
  font-family: "PT Sans", sans-serif;
  text-align: center;
  padding: 0px;
}
.mainContents .homeServiceCotainer {
  max-width: 999px;
  width: 101%;
  margin-bottom: 30px;
  height: 250px;
  border-top: solid 2px #00499b;
}
.mainContents .homeServiceCotainer p {
  display: none;
}
.mainContents .homeServiceCotainer .homeService {
  width: 333px;
  float: left;
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.mainContents .homeServiceCotainer .homeService img {
  border-bottom: solid 2px #00499b;
}
.mainContents .homeServiceCotainer .homeService h3 {
  text-align: center;
}
.mainContents .homeServiceCotainer .homeService:hover {
  opacity: 0.7;
}
.mainContents .emergency {
  color: white;
  background-color: #e01017;
  padding: 10px;
  font-size: 2em;
  margin-bottom: 0px;
  clear: both;
}
.mainContents .homeContact {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: solid 2px #e01017;
}
.mainContents .homeContact p {
  text-align: center;
  font-family: "PT Sans", sans-serif;
  font-size: 1.6em;
  padding: 0px;
}
.mainContents .homeContact a {
  color: inherit;
  text-decoration: none;
}
.mainContents .button {
  background-color: #009245;
  color: white !important;
  border: solid 1px #006837;
  padding: 10px 20px;
  text-decoration: none;
  font-family: "PT Sans", sans-serif;
  font-size: 1.6em;
}
.mainContents .button:hover {
  background-color: #02b754;
}
.mainContents .homeTestimonials .flexslider {
  margin-bottom: 70px;
  margin-top: 25px;
}
.mainContents .homeTestimonials .flexslider .slides iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
}
.mainContents .homeTestimonials .flexslider .slides img {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
}
.mainContents .homeTestimonials .quote .slides li {
  font-size: 1.3em;
  line-height: 1.4;
  font-weight: 100;
  text-align: center;
  width: 100%;
}
.mainContents .homeTestimonials .quote .slides li i {
  display: block;
  font-size: 0.8em;
  margin-top: 5px;
}
.mainContents .homeTestimonials .quote .flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #b4b4b4; /* Change colour of iphone nav dots */
  cursor: pointer;
  text-indent: -9999px;
  border-radius: 20px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.mainContents .homeTestimonials .quote .flex-control-paging li a:hover {
  background: #999999; /* Change colour of iphone nav dots on hover */
}
.mainContents .homeTestimonials .quote .flex-control-paging li a.flex-active {
  background: #353535; /* Change colour of iphone nav dots when active */
  cursor: default;
}
.mainContents .gasSafeHome img {
  padding: 20px;
  float: left;
}
.mainContents .gasSafeHome p {
  padding: 10px;
  line-height: 2em;
  font-size: 1em;
  font-family: "PT Sans", sans-serif;
}
.mainContents .servicesContainer {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5em;
}
.mainContents .servicesContainer .plumbingImageContainer {
  float: left;
}
.mainContents .servicesContainer .plumbingImageContainer .leftImages {
  border: solid 2px #00499b;
  margin-right: 20px;
  height: 200px;
  margin-bottom: 20px;
  display: block;
}
.mainContents .servicesContainer .plumberhouse {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 523px;
  width: 100%;
}
.mainContents .servicesContainer .plumbingList {
  float: left;
}
.mainContents .servicesContainer #powerflushImage {
  float: right;
  border: solid 2px #00499b;
  margin-left: 50px;
}
.mainContents .servicesContainer #boilerServiceImage {
  float: left;
  border: solid 2px #00499b;
  margin-right: 20px;
  height: 200px;
  margin-bottom: 20px;
  display: block;
}
.mainContents .aboutPage .portrait {
  float: left;
  margin: 10px;
}
.mainContents .aboutPage .homeContact {
  border-bottom: none;
  border-top: solid 2px #00499b;
}
.mainContents .aboutPage p {
  line-height: 1.5em;
  padding: 10px;
  display: block;
}
.mainContents .aboutPage p a {
  color: #6699FF;
}
.mainContents .aboutPage p a:hover {
  text-decoration: none;
}
.mainContents .callToAction {
  color: white;
  background-color: #e01017;
  padding: 10px;
  font-size: 1.2em;
  margin-bottom: 0px;
  display: block;
}
.mainContents .solutionCallToAction {
  color: white;
  background-color: #009245;
  padding: 10px;
  font-size: 2.2em;
  margin-bottom: 0px;
  margin-top: 0px;
  display: block;
}
.mainContents .solutionCallToAction a {
  color: inherit;
  text-decoration: none;
}
.mainContents .leftColumn, .mainContents .rightColumn {
  float: left;
  width: 50%;
}
.mainContents .testimonials {
  margin: 0;
  margin-left: 35px;
  margin-right: 35px;
  clear: left;
  overflow: hidden;
  zoom: 1;
  padding-top: 10px !important;
}
.mainContents .testimonials .flipper {
  width: 250px;
  height: 200px;
  margin-right: 20px;
  margin-bottom: 20px;
  float: left;
  list-style: none;
  position: relative;
  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.mainContents .testimonials .flipper .front img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.mainContents .testimonials .flipper .front h5 {
  text-align: center;
  font-size: 1.4em;
  margin-top: 20px;
}
.mainContents .testimonials .flipper .back h5 {
  margin-top: 0px;
  text-align: center;
  font-size: 1.4em;
}
.mainContents .testimonials .flipper:hover {
  background-color: #f0f0f0;
}
.mainContents .testimonials .leftSide {
  float: left;
  width: 250px;
}
.mainContents .testimonials .leftSide ul {
  margin-left: 0px;
  padding: 0px;
}
.mainContents .testimonials .leftSide ul li {
  list-style: none;
  margin-left: 0px;
  padding: 5px 30px;
}
.mainContents .testimonials .flipper:nth-last-child(2), .mainContents .testimonials .flipper:last-child {
  margin-right: 0px;
}
.mainContents .testimonials .fullWidthTestimonial {
  width: 98.7%;
  padding: 0px;
  height: 65px;
}
.mainContents .testimonials .fullWidthTestimonial p {
  text-align: center;
  font-weight: bold;
  font-size: 1.4em;
  margin-top: 20px;
}
.mainContents .alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  display: block;
  text-align: center;
}
.mainContents .alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}
.mainContents .alert-success {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

#addTestimonial .left {
  float: left;
  width: 40%;
  margin-bottom: 10px;
  padding-left: 30px;
}
#addTestimonial .right {
  float: right;
  width: 50%;
  padding-left: 30px;
}
#addTestimonial label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}
#addTestimonial input[type=text] {
  padding: 5px;
  width: 100%;
  margin-bottom: 15px;
  max-width: 404px;
  font-size: 1em;
}
#addTestimonial select {
  max-width: 416px;
  width: 103%;
  font-size: 1em;
  padding: 5px;
  margin-bottom: 15px;
}
#addTestimonial textarea {
  resize: none;
  height: 100px;
  width: 100%;
  max-width: 404px;
  font-family: sans-serif;
  padding: 5px;
}
#addTestimonial input[type=submit] {
  padding: 5px 20px;
  margin-bottom: 25px;
  width: 100%;
  cursor: pointer;
  max-width: 416px;
}

.contact h1 {
  text-align: left;
}
.contact .leftContact {
  float: left;
  width: 45%;
  margin-left: 5%;
}
.contact label {
  display: block;
  margin-bottom: 5px;
}
.contact input[type=text], .contact input[type=email], .contact input[type=tel], .contact textarea, .contact select {
  padding: 5px;
  width: 100%;
  margin-bottom: 15px;
  max-width: 404px;
}
.contact select {
  max-width: 416px;
}
.contact textarea {
  resize: none;
  height: 200px;
  font-family: sans-serif;
}
.contact input[type=submit] {
  padding: 5px 20px;
  margin-bottom: 25px;
  width: 100%;
  cursor: pointer;
  max-width: 416px;
}
.contact .warning {
  background-color: #FFB6C1;
  max-width: 404px;
  padding: 5px;
  border: solid 1px #e01017;
  margin-bottom: 20px;
  font-weight: bold;
}
.contact .errorField {
  border: solid 2px #e01017;
}
.contact .rightContact {
  float: right;
  width: 45%;
  margin-right: 5%;
}
.contact .rightContact h3 {
  text-align: center;
  margin-top: 30px;
}
.contact .rightContact p {
  text-align: center;
  line-height: 1.4em;
  margin-top: 0px;
  margin-bottom: 0px;
}

.certifications, .charities {
  border-top: solid 2px #006dab;
  padding: 10px 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.certifications .certification, .charities .certification {
  float: left;
  text-align: center;
  width: 20%;
}
.certifications .certification img, .charities .certification img {
  max-width: 190px;
}

.charities h4 {
  text-align: center;
}

.charity {
  float: left;
  text-align: center;
  width: 33.3333%;
}
.charity img {
  max-width: 90%;
}

footer {
  border-top: solid 2px #006dab;
}
footer .footerLeft {
  float: left;
  margin-left: 10px;
}
footer .footerLeft p {
  font-size: 0.9em;
}
footer .whealmedia {
  float: right;
  margin-right: 10px;
}
footer .whealmedia a {
  color: inherit;
}

.admin {
  margin: 20px;
}
.admin h2 {
  font-size: 2em;
}
.admin h2, .admin h3 {
  font-family: "PT Sans", sans-serif;
}

.breadcrumb {
  margin-left: 35px;
  margin-top: 20px;
  margin-bottom: 5px;
}
.breadcrumb a {
  color: black;
}
.breadcrumb a:hover {
  text-decoration: none;
}

.leftSide {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 10px;
  margin-bottom: 15px;
}
.leftSide h3 {
  border-bottom: solid 1px #e3e3e3;
  padding-bottom: 5px;
}
.leftSide ul li {
  text-align: center;
}
.leftSide ul li a {
  color: black;
}
.leftSide ul li a:hover {
  text-decoration: none;
}

.rightSide {
  float: right;
  width: 70%;
}
.rightSide ul {
  margin-right: 35px;
  margin-top: 0px;
}
.rightSide ul li {
  list-style: none;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 10px;
  margin-bottom: 20px;
}
.rightSide .testimonialAbout {
  margin-top: 20px;
  font-size: 0.8em;
  text-align: right;
  font-style: italic;
}

.advertsContents img {
  margin-bottom: 20px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media all and (min-width: 320px) and (max-width: 568px) {
  #addTestimonial .left, #addTestimonial .right {
    float: none;
    width: 90%;
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
  }
  nav ul {
    margin-top: 0px !important;
  }
  header .headerWater {
    height: 130px;
  }
  header h1 {
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 10px;
  }
  .certifications, .charities {
    margin-left: auto;
    margin-right: auto;
  }
  .certifications .certification, .charities .certification {
    margin-left: 5px;
    width: 55px;
  }
  .certifications .certification img, .charities .certification img {
    width: 50px;
  }
  .charity {
    margin-left: 5px;
    width: 45%;
  }
  .charity img {
    max-width: 100%;
  }
  .solutionCallToAction {
    font-size: 1.4em !important;
  }
  .pageWrapper {
    padding: 5px;
  }
  #powerflushImage {
    display: none;
  }
  footer {
    text-align: center;
  }
  header h1 {
    background-size: 100% 80%;
  }
  .map {
    display: none;
  }
  .homeService img {
    border-bottom: none !important;
  }
  .homeService h3 {
    margin: 0px 0px 25px 0px;
  }
  .gasSafeHome p {
    padding: 5px !important;
    text-align: justify;
    line-height: 1.2em !important;
  }
  .mainContents .gasSafeHome img {
    padding: 0px;
    float: none;
    margin: 20px auto 20px auto;
    display: block;
  }
  .contact .leftContact {
    float: none;
    width: 85%;
  }
  .contact .rightContact {
    float: none;
    width: 100%;
  }
  .mainContents .testimonials {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .mainContents .testimonials .flipper {
    margin-right: auto;
    margin-left: auto;
    display: block;
    float: none;
  }
  .mainContents .testimonials .flipper:nth-last-child(2), .mainContents .testimonials .mainContents .testimonials .flipper:last-child {
    margin-right: auto;
  }
  .homeTestimonials ul li {
    font-size: 1em !important;
  }
  .emergency {
    font-size: 1.4em !important;
  }
  .homeServiceCotainer p {
    display: block !important;
    text-align: center;
  }
  .testimonials .leftSide {
    float: none !important;
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials .rightSide {
    float: none !important;
    width: 100%;
  }
  .testimonials .rightSide #testimonials-ul {
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
  }
}
