/* General */
body,
p {
  font-family: "Roboto", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Asap Condensed", sans-serif;
  color: #0c3348;
}
h1 {
  font-size: 3.75rem;
}
h2 {
  font-size: 2.125rem;
  font-weight: 500;
}
h4 {
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
}
button:focus {
  outline: none;
}
a {
  transition: all 0.3s ease;
  color: #2cabd6;
}
.privacy-policy .main a {
  text-decoration: underline;
}
.lead {
  font-size: 1.5rem;
  line-height: 1.2;
}
.floatleft {
  float: left;
}
.floatright {
  float: right;
}
.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.25rem;
  display: inline-block;
  background: #2cabd6;
  color: #fff;
  border-radius: 10px;
}
.btn:hover,
.btn:focus {
  text-decoration: none;
  background: #0c3348;
  color: #fff;
}
.btn.btnCta {
  padding: 1rem 1.25rem;
  background: #560002;
  font-size: 1.25rem;
  border: 1px solid #fff;
}
.btn.btnCta:hover,
.btn.btnCta:focus {
  background: #fff;
  color: #560002;
}

.btn-sm {
  margin-top: 2%;
  padding: 0.5rem 1rem;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  height: 35px;
}

/* Navbar */
.sub-menu {
  margin: 0;
}
li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
.menu .menu-item {
  position: relative;
}
.navbar {
  background: #0c3348;
}
.navbar .navbar-brand {
  /*width: 100%;
    width: calc(100% - 90px);*/
  height: auto;
}
.navbar .navbar-brand img {
  /*width: 100%;*/
  height: 4.25rem;
}
.menu {
  text-align: center;
  border-top: 1px solid #00475f;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}
.menu a {
  text-transform: uppercase;
  font-weight: 500;
}
.navbar-dark .menu .menu-item > a {
  color: #fff;
}
.menu .menu-item.current-menu-item a,
.menu .menu-item.current-menu-ancestor a,
.home .menu .menu-item.navItem-home a,
.powerflush .menu .menu-item.navItem-powerflush a,
.gasservices .menu .menu-item.navItem-gasservices a,
.emergency .menu .menu-item.navItem-emergency a,
.contact .menu .menu-item.navItem-contact a {
  color: #2cabd6;
}
@media only screen and (min-width: 768px) {
  .navbar .navbar-brand {
    height: auto;
    width: auto;
  }
  /*.navbar .navbar-brand img {
        height: 3.25rem;
        width: auto;
    }*/
}
@media only screen and (min-width: 1200px) {
  .menu {
    text-align: right;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
  .menu a {
    font-size: .85rem;
    color: #fff !important;
  }
  .navbar-expand-xl > .container-fluid {
    padding: 0;
  }
  .navbar-expand-xl .menu .menu-item > a {
    padding-right: 2rem;
    padding-left: 1.75rem;
  }
  .navbar-expand-xl .menu .menu-item:last-child > a {
    padding-right: 0;
  }
  .menu .menu-item a:after {
    content: "";
    height: 1px;
    display: block;
    margin-top: 3px;
  }
  .menu .menu-item.current-menu-item a:after,
  .menu .menu-item.current-menu-ancestor a:after,
  .menu .menu-item a:hover:after,
  .menu .menu-item a:focus:after,
  .home .menu .menu-item.navItem-home a:after,
  .powerflush .menu .menu-item.navItem-powerflush a:after,
  .gasservices .menu .menu-item.navItem-gasservices a:after,
  .emergency .menu .menu-item.navItem-emergency a:after,
  .contact .menu .menu-item.navItem-contact a:after {
    background: #2cabd6;
  }
  .menu .menu-item:before {
    content: "";
    display: inline-block;
    height: 1.25rem;
    width: 1.25rem;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    margin: .6rem 0;
    width: 1.1rem;
    height: 1.1rem;
  }
  .menu .menu-item.navItem-home:before {
    background-image: url(../img/icon-home.png);
  }
  .menu .menu-item.navItem-powerflush:before {
    background-image: url(../img/icon-power-flush.png);
  }
  .menu .menu-item.navItem-gasservices:before {
    background-image: url(../img/icon-gas.png);
  }
  .menu .menu-item.navItem-emergency:before {
    background-image: url(../img/icon-emergency.png);
  }
  .menu .menu-item.navItem-contact:before {
    background-image: url(../img/icon-contact.png);
  }
}
@media only screen and (min-width: 1200px) {
  /*.navbar .navbar-brand img {
        height: 4.25rem;
    }*/
  .menu .menu-item {
    margin-left: 0.5rem;
  }
}

/* Table */
table {
  margin-bottom: 1rem;
}
th,
td {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

/* Lists */
.boxBody ul {
  padding-left: 0;
}
.boxBody ul li {
  list-style: none;
}
.boxBody ul > li:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #2cabd6;
  display: inline-block;
  border-radius: 50%;
  margin: 0.2rem 0.6rem 0.2rem 0;
}

/* Checklist */
.boxBody ul.lists-check li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .25rem;
}
.boxBody ul.lists-check li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-right: 0.65rem;
  color: #48a900;
  background: none;
  width: auto;
  margin: 0;
  position: absolute;
  left: 0;
}
.boxBody ul.lists-check.blueCheck li:before {
  color: #2cabd6;
}

/* Icon and Text */
.textAndIcon {
  margin-top: 1.25rem;
}
.textAndIcon > * {
  display: inline-block;
  vertical-align: top;
}
.textAndIcon .textAndIcon-icon {
  width: 1.5rem;
  font-size: 1.25rem;
  margin-top: -0.2rem;
  color: #2cabd6;
}
.textAndIcon .textAndIcon-text {
  width: calc(100% - 2rem);
}
.textAndIcon a {
  color: #0a1119;
}
.textAndIcon a:hover,
.textAndIcon a:focus {
  color: #2cabd6;
}

/* Error 404 Page */
.error404 h1 {
  text-transform: uppercase;
  font-size: 2.5rem;
  text-align: center;
}
.error404 h1 span {
  display: block;
  font-size: 5rem;
}

@media (min-width: 992px) {
  .error404 h1 {
    font-size: 5rem;
  }
  .error404 h1 span {
    font-size: 10rem;
  }
}

/* Top bar*/
.topbar {
  background: #2cabd6;
  font-size: 0.8rem;
  color: #fff;
  padding: 0.25rem;
}
.topbar p {
  margin-bottom: 0;
  text-align: center;
}
.topbar a {
  color: #fff;
}
.topbar .phoneNumbers {
  display: block;
}
.topbar .col-md-7 p {
  display: none;
}
@media only screen and (min-width: 768px) {
  .topbar .col-md-7 p {
    display: block;
    text-align: left;
  }
  .topbar .col-md-5 p {
    text-align: right;
  }
}
@media only screen and (min-width: 992px) {
  .topbar .fa {
    margin-left: 0.5rem;
  }
}
@media only screen and (min-width: 1200px) {
  .topbar .phoneNumbers {
    display: inline;
  }
}

/* Header */
.header {
  background: url("../img/pattern-wave.gif");
  padding: 2rem 0;
}
.home .header {
  padding: 0;
}
.header img {
  max-width: 100%;
  display: none;
}
.header h1 {
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 2.5rem;
}
.home .header img {
  margin-bottom: -12%;
  padding-top: 5%;
  display: inline;
}
.main {
  padding: 1.5rem 0;
}
.main .left h2 {
  margin-top: 2.5rem;
}
.home .main {
  margin-top: 8%;
  margin-bottom: 3rem;
  padding: 0;
}
.home .intro {
  margin-bottom: 4rem;
  margin-top: 1.25rem;
}
.home .intro h1 {
  font-family: "Roboto", sans-serif;
  color: #2cabd6;
  font-size: 1.5rem;
  line-height: 1.2;
}
.home .intro h1 span {
  font-size: 1rem;
  font-weight: 400;
  display: block;
  margin-bottom: 0.4rem;
}
.home .intro h1 + p {
  color: #808080;
  margin-top: 0.5rem;
}
@media only screen and (min-width: 992px) {
  .home .intro {
    margin-top: 0;
  }
  .home .intro h1 {
    font-size: 2.5rem;
  }
  .home .intro h1 span {
    font-size: 1.75rem;
  }
  .home .intro h1 + p {
    font-size: 1.125rem;
    margin-top: 0.75rem;
  }
  .header h1 {
    font-size: 3.75rem;
  }
  .header img {
    display: inline;
  }
  .main {
    padding: 4.5rem 0;
  }
}

/* Blue Box */
.home .main .row > *:not(:last-child),
.home .main .row > *:not(:nth-last-child(2)) {
  margin-bottom: 1.5rem;
}
.box {
  border: 1px solid #c3e9ff;
  background: #fff;
}
.home .box,
.contactDetails .box {
  height: 100%;
}
.box .boxHeader {
  background: url(../img/pattern-wave-lighter.gif);
  padding: 0.5rem 1.75rem;
  border-bottom: 1px solid #c3e9ff;
  color: #0c3348;
  display: flex;
  justify-content: space-between;
}
.box .boxHeader > * {
  margin-bottom: 0;
}
.box .boxHeader > h2,
.box .boxHeader > h3 {
  text-transform: uppercase;
}
.box .boxHeader .lead {
  padding: 0.5rem 0;
}
.box .boxBody {
  padding: 1.5rem 1.75rem;
}
.box .boxBody > *:last-child {
  margin-bottom: 0;
}
.box .boxBody.boxBody-hasIcons {
  background: url(../img/helps-on-tap-icons.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}

/* Emergency Repairs */
.emergencyRepairsImage {
  background: url("../img/emergency-repairs.jpg");
  background-size: cover;
  background-position: center;
  height: 100%;
}
.emergencyRepairsBox {
  background-image: linear-gradient(rgba(158, 11, 15, 0.9), rgba(158, 11, 15, 0.9)),
    url(../img/emergency-repairs-bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 2rem 1rem;
  border-radius: 10px;
}
.emergencyRepairsBox * {
  text-align: center;
  color: #fff;
}
.emergencyRepairsBox p {
  font-size: 1.125rem;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.emergencyRepairsBox .btn {
  margin: 0.5rem 0.25rem 0;
}

/* Contact details */
.contactDetails {
  background: url(../img/footer-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
  background-attachment: fixed;
}
.contactDetails:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(195, 233, 255, 0.8);
}
.yellBox {
  background: #fff;
  height: 100%;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 1rem;
}
.yellBox img {
  display: block;
  margin: 0 auto;
  margin-bottom: 2rem;
}
@media only screen and (min-width: 768px) {
  .yellBox {
    margin-top: 0;
  }
}

.boxBody.yellReviews {
  padding-top: 12px;
}

.boxBody.yellReviews ul li:before {
  display: none;
}

.boxBody.yellReviews ul li {
  padding-bottom: 1em !important;
}

.boxBody.yellReviews .review-header,
.boxBody.yellReviews .review-separator {
  display: none !important;
}

/* Accreditation */
.accreditation {
  text-align: center;
  padding: 2.5rem 0;
}
.accreditation img {
  max-height: 3rem;
  margin: 0.25rem;
  display: inline-block;
}
@media only screen and (min-width: 576px) {
  .accreditation img {
    max-height: none;
    margin: 0 1rem;
  }
}

/* Sub-footer */
.subFooter {
  background: #0c3348;
  color: #fff;
  font-size: 0.8rem;
  padding: 1.5rem;
  text-align: center;
}
.subFooter > .container-fluid {
  padding-left: 0;
  padding-right: 0;
}
.subFooter p {
  margin-bottom: 0;
}
.subFooter a {
  color: #fff;
  text-decoration: underline;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.subFooter a:hover,
.subFooter a:focus {
  text-decoration: none;
}
.subFooter a:last-child {
  text-decoration: none;
}
.subFooter img {
  margin-bottom: 0.75rem;
  max-width: 100%;
}
.copyright {
  font-size: 1rem;
}
.subFooter .right {
  text-align: center;
  margin-top: 1rem;
}
@media only screen and (min-width: 768px) {
  .subFooter .left {
    text-align: left;
  }
  .subFooter .right {
    text-align: right;
    margin-top: 0;
  }
}

/* Sidebox */
.sideboxImage img {
  width: 100%;
  margin-bottom: 2rem;
}
@media only screen and (min-width: 992px) {
  .sidebar {
    padding-left: 2.5rem;
  }
}

/* Blue Strip */
.blueStrip {
  background: #e9f6fb;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 1.5rem;
}
.blueStrip span {
  font-weight: 700;
}
.blueStrip span.fa {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* Review Page */
.review .main .boxBody {
  text-align: center;
  padding: 0;
}
.review .main .boxBody .col-md-6 {
  padding: 1.5rem 1.75rem;
}
.review .main .boxBody .col-md-6:first-child {
  border-right: 1px solid #c3e9ff;
}
.review .contactDetails,
.review .accreditation {
  display: none;
}

/* Contact Page */
.form-control:focus {
  border-color: gray;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
input[type="text"],
textarea {
  width: 100%;
}
input[type="submit"] {
  outline: none;
  box-shadow: none;
  border-style: none;
  cursor: pointer;
}
.formP,
.g-recaptcha {
  margin-bottom: 1.25rem;
}
.form-success {
  text-align: center;
  background-color: #d4edda;
  border-color: #c3e6cb;
  padding: 2rem;
  border-radius: 10px;
}
.form-success h2 {
  color: #155724;
}
.form-error {
  text-align: center;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 2rem;
  border-radius: 10px;
}
.form-error h2 {
  color: #721c24;
}
