@media (min-width: 1200px) {
  .paragraph-services {
    max-width: 1280px;
    margin: 0 auto !important;
  }
}
@media (max-width: 1024px){
   .nav-container .row.justify-content-center.align-items-center{
            padding: 30px 0;
            justify-content: space-between !important;
    }
    .hpn-wrapper .header-phone-number{
        margin-top: 10px;
    }
    .nav-container .row.justify-content-center .header-logo{
        max-width: 33.333333%;
    }
   .nav-container .row.justify-content-center .col-lg-8{
    max-width: 66.666667%;
    }
}
@media (max-width: 600px){
        .nav-container .row.justify-content-center .header-logo {
        max-width: 50.333333%;
    }
}
body{
    overflow-x: hidden;
}

#block-devilofaspot-page-title .col-12{
    padding: 0;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: pointer;
}

ul.sf-menu.sf-style-white {
  float: none;
}

/* Sub-menus */
ul#superfish-main ul {
  width: 270px !important;
  background: #fff;
  border-radius: 15px;
}

.nav-container #superfish-main a {
  text-transform: uppercase;
  color: #DA3B0C;
  font-weight: 900;
  padding: 50px 20px;
}
.nav-container #superfish-main a.is-active {
  color: #fff;
  background: #DA3B0C;
}
.nav-container #superfish-main a:hover {
  background: #F6F6F6;
}
.nav-container #superfish-main li.active-trail > a {
  color: #fff;
}
.nav-container #superfish-main li.active-trail > a:hover {
  background: #DA3B0C;
}
.nav-container #superfish-main .sf-depth-2 a {
  line-height: 24px;
  padding: .5em 1.5em;
}

a#superfish-main-toggle {
  background-image: url("../images/menu_bars.svg");
  width: 50px;
  height: 50px;
  display: block;
  background-repeat: no-repeat;
}
a#superfish-main-toggle span {
  display: none;
}

a#superfish-main-toggle.sf-expanded {
  position: fixed;
  background-image: url(../images/menu-close-icon.svg);
  background-size: contain;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  z-index: 90010;
}

ul#superfish-main-accordion.sf-expanded {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  background-color: #DA3B0C;
  left: 0 !important;
  top: 0 !important;
  right: 0;
  z-index: 90000;
  overflow-y: scroll;
}
ul#superfish-main-accordion.sf-expanded ul {
  margin-left: 20px;
}
ul#superfish-main-accordion.sf-expanded .sf-sub-indicator {
  margin-left: 20px;
  left: 0;
}
ul#superfish-main-accordion.sf-expanded a {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  padding-left: 60px;
  line-height: 37px;
}
ul#superfish-main-accordion.sf-expanded a.is-active {
  color: #fff;
}
ul#superfish-main-accordion.sf-expanded li.active-trail > a {
  color: #fff;
}

ul#superfish-main #main-standardfront-page {
  display: none;
}

@media (min-width: 992px) {
  ul#superfish-main-accordion.sf-expanded a.is-active, ul#superfish-main-accordion.sf-expanded li.active-trail > a {
    color: #fff;
  }
}
.paragraph-services {
  margin-top: 15px;
  margin-bottom: 20px;
}
.paragraph-services .services-description-list {
  color: #B0B0B0;
  font-style: italic;
  max-width: 850px;
}
.paragraph-services .services-description {
  max-width: 850px;
}

.paragraph-equipment {
  margin-top: 30px;
  margin-bottom: 30px;
}
.paragraph-equipment h3 {
  margin-top: 20px;
}

@media (min-width: 576px) {
  .paragraph-equipment h3 {
    margin-top: 0;
  }
}
.paragraph-cta {
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  margin: 40px auto;
  box-shadow: 4px 4px 5px #13374791;
  text-shadow: 2px 2px 3px #16475dbf;
}
.paragraph-cta .cta-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  filter: blur(7px);
  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  opacity: 0.6;
  transform: scale(1.13);
}
.paragraph-cta .cta-content {
  color: #fff;
  font-weight: bold;
  text-align: center;
  background: #0077a954;
  border: solid 7px #247BA0;
  padding: 40px;
}
.paragraph-cta .cta-content h2 {
  color: #fff;
  font-style: italic;
}
.paragraph-cta .cta-content h2:after {
  border-bottom: none;
}
.paragraph-cta .cta-content p:last-of-type {
  margin-bottom: 0;
  font-style: italic;
}
.paragraph-cta .cta-content a {
  margin-top: 10px;
  display: inline-block;
  background: #247BA0;
  padding: 10px 30px;
  color: white;
  font-style: normal;
  font-size: 18px;
  text-shadow: none;
  border: solid 2px white;
  box-shadow: 2px 2px 5px #06182063;
}

.gallery-thumbnails video {
  width: 100%;
  height: 100%;
  max-height: 600px;
  max-height: 230px;
}

.homepage-services-container {
  margin-top: 20px;
  background-image: url("../images/DoaS%20pattern.png");
  box-shadow: 0px 0px 6px #acacac;
}
.homepage-services-container ol.carousel-indicators {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  display: block;
  justify-content: center;
  margin-right: auto;
  margin-bottom: 0;
  background: none;
  margin-left: auto;
  list-style: none;
  text-align: center;
}
.homepage-services-container ol.carousel-indicators li {
  box-sizing: border-box;
  -ms-flex: auto;
  width: auto;
  height: auto;
  text-indent: inherit;
  background-clip: inherit;
  border-top: none;
  border-bottom: none;
  opacity: 1;
  transition: opacity .6s ease;
  margin: 10px;
  margin-top: 20px;
  background: none;
  display: inline-block;
  list-style: none;
  color: #8C8C8C;
  font-weight: bold;
  font-size: 19px;
}
.homepage-services-container ol.carousel-indicators li.active {
  color: #247BA0;
  border-bottom: dashed 3px;
}
.homepage-services-container .carousel-inner {
  background: none;
  padding: 0 30px 30px;
}
.homepage-services-container .hp-services-image {
  padding: 20px;
}
.homepage-services-container .carousel-caption {
  color: #595959;
  text-align: left;
  padding: 0;
  position: relative;
  right: auto;
  left: auto;
  bottom: auto;
}
.homepage-services-container .carousel-caption ul {
  padding-left: 15px;
  margin-bottom: 0;
}
.homepage-services-container .carousel-caption a {
  font-size: 19px;
}

.webform-reference {
  margin-bottom: 30px;
}
.webform-reference form {
  max-width: 500px;
}
.webform-reference form input[type="text"], .webform-reference form input[type="email"], .webform-reference form textarea {
  background: #E7E7E7;
  width: 100%;
  margin: 10px 0;
  display: block;
  border: none;
  padding: 8px 13px;
  color: #595959;
  color: #5d5d5d;
  font-weight: bold;
}
.webform-reference form input[type="text"]::-webkit-input-placeholder, .webform-reference form input[type="email"]::-webkit-input-placeholder, .webform-reference form textarea::-webkit-input-placeholder {
  /* Edge */
  font-style: italic;
  font-weight: normal;
}
.webform-reference form input[type="text"]:-ms-input-placeholder, .webform-reference form input[type="email"]:-ms-input-placeholder, .webform-reference form textarea:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  font-style: italic;
  font-weight: normal;
}
.webform-reference form input[type="text"]::placeholder, .webform-reference form input[type="email"]::placeholder, .webform-reference form textarea::placeholder {
  font-style: italic;
  font-weight: normal;
}
.webform-reference form input[type="submit"] {
  border: 0;
  color: #343434;
  background: #FFE43B;
  border-radius: 3px;
  padding: 7px 22px;
  font-weight: bold;
  margin-top: 10px;
}

#block-views-block-educational-materials-block-1 {
  margin: 40px 0;
}
#block-views-block-educational-materials-block-1 h2 a {
  color: #17BEBB;
  font-weight: bold;
}
#block-views-block-educational-materials-block-1 img {
  width: 100%;
  height: auto;
}

.homepage-testimonials-container {
  background: #F6F6F6;
  padding-top: 20px;
  margin-top: 20px;
}
.homepage-testimonials-container .container-fluid {
  position: relative;
}
.homepage-testimonials-container .container-fluid:before {
  content: '';
  position: absolute;
  background-image: url(../images/quote-open.svg);
  background-size: contain;
  background-repeat: no-repeat;
  height: 60px;
  width: 60px;
  margin-left: 20px;
  margin-top: 70px;
}
.homepage-testimonials-container .container-fluid:after {
  content: '';
  position: absolute;
  background-image: url(../images/quote-close.svg);
  background-size: contain;
  background-repeat: no-repeat;
  height: 60px;
  width: 60px;
  top: 70px;
  right: 70px;
}
.homepage-testimonials-container .container-fluid h2 {
  color: #8C8C8C;
  border: none;
  font-style: italic;
  text-align: center;
}
.homepage-testimonials-container .container-fluid h2:after {
  content: '';
  position: absolute;
  bottom: auto;
  left: auto;
  height: auto;
  width: auto;
  border-bottom: none;
}
.homepage-testimonials-container .container-fluid .testimonial-wrapper {
  text-align: center;
  margin: 0 auto;
}
.homepage-testimonials-container .container-fluid .testimonial-wrapper .testimonial-image {
  margin: 10px auto;
  height: 100px;
  width: 100px;
  overflow: hidden;
  border-radius: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.homepage-testimonials-container .container-fluid .cycle-pager {
  z-index: 10000000;
  text-align: center;
  margin-top: -40px;
  position: relative;
}
.homepage-testimonials-container .container-fluid .cycle-pager span {
  margin-top: -40px;
  cursor: pointer;
  font-size: 36px;
  color: #a3a3a3;
}
.homepage-testimonials-container .container-fluid .cycle-pager span.cycle-pager-active {
  color: #363636;
}

@media (min-width: 992px) {
  .homepage-testimonials-container .testimonial-wrapper .testimonial-body p {
    padding: 0 200px;
  }
}
.careers-container {
  background: #E7E7E7;
  padding: 30px 0;
}
.careers-container .views-row {
  margin-bottom: 20px;
}

nav.pager ul.pager__items {
  padding-left: 0;
  list-style: none;
  text-align: center;
}
nav.pager ul.pager__items li {
  display: inline-block;
}
nav.pager ul.pager__items li a {
  width: auto;
  color: #886a32;
}
nav.pager ul.pager__items li.pager__item.is-active a {
  background: #ffbc00;
  color: #333333;
  border: #3b3b3b dashed 2px;
}

body {
  color: #595959;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-size: 100%;
}

h1, h2, h3, h4, p.intro {
  font-family: "Open Sans", sans-serif;
  font-weight: 900;
}

h1 {
  font-size: 38px;
}

h2, h3 {
  color: #247BA0;
}

h2 {
  font-size: 28px;
  padding-bottom: 5px;
  position: relative;
  margin-bottom: 15px;
}
h2:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 260px;
  border-bottom: 3px dashed #247BA0;
}

h3 {
  font-size: 23px;
}

h4 {
  font-size: 18px;
}

a {
  color: #DA3B0C;
  font-weight: bold;
}

a:hover {
  color: #DA3B0C;
}

a.btn-yellow, nav.pager ul.pager__items li a {
  color: #383131;
  background: #ffcc3b;
  border: #736a6a dashed 2px;
  border-radius: 5px;
  padding: 7px 22px;
  text-decoration: none;
  display: inline;
}

p.intro {
  font-size: 29px;
  line-height: 38px;
  color: #EE3847;
}

ol.small-text {
  font-size: 14px;
}
ol.small-text p {
  margin-bottom: 2px;
}

.bg-grey {
  background: #E7E7E7;
}

@media (min-width: 576px) {
  h1 {
    font-size: 38px;
  }
}
details {
  transition: .3s ease all;
}
details summary {
  font-weight: bold;
  color: #DA3B0C;
  margin-bottom: 10px;
}

.header-logo .devil-logo-mobile {
  max-width: 500px;
  margin-bottom: 10px;
  margin-top: 10px;
  display: block;
}
.header-logo .devil-logo-full {
  display: none;
}

@media (min-width: 768px) {
  .header-logo .devil-logo-mobile {
    display: none;
  }
  .header-logo .devil-logo-full {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    min-width: 440px;
  }
}
.hpn-wrapper {
  position: relative;
}
.hpn-wrapper .header-phone-number, .hpn-wrapper .footer-phone-number {
  z-index: 500;
  box-shadow: 0 0 3px 1px #6d6d6d70;
  background: #E7E7E7;
  font-size: 15px;
  color: #247BA0;
  font-weight: 900;
  font-family: "Open Sans", sans-serif;
  background-image: url("../images/phone-icon.svg");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 20px;
  padding: 5px 5px 5px 40px;
  right: 0;
  margin-right: 15px;
  position: absolute;
}

@media (min-width: 576px) {
  .hpn-wrapper .header-phone-number {
    font-size: 19px;
  }
}
@media (min-width: 992px) {
  .hpn-wrapper .header-phone-number {
    position: absolute;
  }
}
.hpn-wrapper .footer-phone-number {
  box-shadow: none;
  font-size: 30px;
  color: #DA3B0C;
  background: none;
  background-image: url("../images/phone-red.svg");
  background-repeat: no-repeat;
  background-size: 27px;
  background-position: 5px 15px;
  position: relative;
  margin-top: 20px;
  display: inline-block;
}

/*@media (min-width: 576px) {*/
/*  .hpn-wrapper .header-phone-number {*/
/*    margin-top: auto;*/
/*  }*/
/*}*/
#contact-details .hpn-wrapper .footer-phone-number {
  color: #247BA0;
  margin-top: 5px;
  background-image: url("../images/phone-icon.svg");
  background-repeat: no-repeat;
  background-size: 27px;
  background-position: 5px 15px;
}
#contact-details .hpn-wrapper #mobile-contact {
  background-image: url("../images/mobile-icon.svg");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: 10px 10px;
}

.contact-address {
  color: #247BA0;
  text-decoration: underline;
  background-image: url("../images/location-icon-blue.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 10px 14px;
  padding: 15px 40px;
  display: block;
  margin-bottom: 10px;
}

.mobile-title {
  color: #247BA0;
}

.banner-image-container {
  width: 100%;
  height: 240px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}
.banner-image-container .banner-image, .banner-image-container .banner-overlay {
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner-image-container .banner-overlay {
  background: rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.banner-image-container .desktop-title-container {
  height: 100%;
  width: 100%;
}
.banner-image-container .desktop-title-container .desktop-title {
  display: none;
  z-index: 15;
  padding: 50px;
}
.banner-image-container .desktop-title-container h1 {
  color: #fff;
  text-shadow: 2px 3px 2px #000000f0, 0px 0px 4px #0000003d;
}
.banner-image-container .desktop-title-container .desktop-title{
    display: block !important;
        text-align: center;
}
.mobile-title{
    display: none !important;
}
@media (max-width: 576px) {
    .paragraph-services .gallery-thumbnails .row{
    flex-direction: column;
  }
  .paragraph-services .gallery-thumbnails .row .col-6{
      max-width: 100%;
  }
}

@media (min-width: 576px) {
  .banner-image-container {
    height: 300px;
  }
  
}

@media (min-width: 768px) {
  .banner-image-container {
    height: 350px;
  }
}
@media (min-width: 992px) {
  .banner-image-container {
    height: 400px;
  }
  .banner-image-container .desktop-title-container .desktop-title {
    display: block;
    text-align: center;
  }
  .banner-image-container .desktop-title-container .desktop-title h1 {
    font-size: 50px;
  }

  .mobile-title {
    display: none;
  }
}
@media screen and (min-width: 1200px) and (min-height: 768px) {
  .banner-image-container .desktop-title-container .desktop-title h1 {
    font-size: 70px;
  }
}
.title-no-banner {
  display: grid;
}
.title-no-banner .title-wrapper {
  background: #E7E7E7;
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
}

@media (min-width: 576px) {
  .title-no-banner .title-wrapper {
    padding: 30px;
  }
}
@media (min-width: 768px) {
  .title-no-banner .title-wrapper {
    padding: 50px;
  }
}
footer.site-footer {
  border-top: dashed 3px #B0B0B0;
  background-image: url("../images/DoaS%20pattern.png");
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}
footer.site-footer ul {
  list-style: none;
  padding: 0;
}
footer.site-footer ul li {
  margin-bottom: 10px;
}
footer.site-footer ul li a {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo-container a.devil-graphic {
  display: block;
  text-align: center;
}
.footer-logo-container a.devil-graphic img {
  max-width: 200px;
  transform: rotate(-20deg);
  transition: all .2s ease-out;
}
.footer-logo-container a.devil-graphic img:hover {
  transform: rotate(0deg);
}

article img {
  max-width: 100%;
  height: auto;
}

#block-devilofaspot-local-tasks ul {
  padding: 0;
  list-style: none;
}
#block-devilofaspot-local-tasks ul li {
  display: inline-block;
}
#block-devilofaspot-local-tasks ul li a {
  padding: 9px 20px;
  font-size: 15px;
  margin: 5px 2px;
  display: inline-block;
  background: #F3F3F3;
  font-weight: normal;
}
#block-devilofaspot-local-tasks ul li a:hover {
  color: #DA3B0C;
  background: #eee;
  text-decoration: none;
}

.breadcrumb-wrapper {
  font-size: 14px;
}
.breadcrumb-wrapper ul {
  padding: 0;
}
.breadcrumb-wrapper ul li {
  display: inline;
  list-style: none;
}
.breadcrumb-wrapper ul li:before {
  content: " \BB ";
}
.breadcrumb-wrapper ul li:first-child:before {
  content: "";
}

@media (min-width: 992px) {
  .breadcrumb-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
.img-bg {
  background-size: cover;
  background-position: center;
}

div.system-messages {
  background: #fdffba;
  padding: 20px;
  color: #636363;
  font-size: 18px;
  font-weight: bold;
  z-index: 60;
  position: relative;
}

.gallery-thumbnails img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.project-listing .views-row {
  margin-bottom: 20px;
}
.project-listing .views-row h2.project-title {
  background: #ffcc3b;
  border-bottom: dashed 3px #313131;
  color: #313131;
  padding: 21px;
  font-size: 16px;
  margin-bottom: 0;
  font-weight: bold;
}
.project-listing .views-row h2.project-title::after {
  content: none;
}
.project-listing .views-row a.project-listing-thumbnail {
  display: block;
  color: #313131;
  height: 228px;
  overflow: hidden;
  position: relative;
  /* New updates */
  font-weight: normal;
  background: #ffcc3b;
}
.project-listing .views-row a.project-listing-thumbnail .project-listing-title.has-images {
  top: 230px;
  background: #0003;
  background: #19110082;
}
.project-listing .views-row a.project-listing-thumbnail .project-listing-title.has-images .project-body {
  color: #fff;
}
.project-listing .views-row a.project-listing-thumbnail .project-listing-title {
  top: 0px;
  position: relative;
  width: 100%;
  height: 100%;
  transition: all .175s ease-out;
}
.project-listing .views-row a.project-listing-thumbnail .project-listing-title .project-body {
  padding: 20px;
  font-size: 17px;
}
.project-listing .views-row a.project-listing-thumbnail .project-listing-title .project-body .project-view-gallery-link {
  position: absolute;
  bottom: 0;
  font-weight: bold;
}
.project-listing .views-row a.project-listing-thumbnail:hover {
  text-decoration: none;
}

.project-listing-mini {
  margin-top: 40px;
  margin-bottom: 40px;
}

.user-login-form {
  margin: 0 auto;
  width: 1000px;
  padding: 50px 0;
}

.user-form {
  margin-bottom: 20px;
}

.node-unpublished {
  margin-top: 20px;
}

.node-unpublished::before, .node-unpublished::after {
  content: '~ This page is currently unpublished ~';
  text-align: center;
  display: block;
  top: -20px;
  font-style: italic;
  position: relative;
  background: #ffe0a7;
  width: 100%;
  padding: 3px;
  font-weight: bold;
  color: #da4343;
}

.node-unpublished::after {
  top: auto;
}

@media (min-width: 1200px) {
  .hp-align-btn-fix {
    margin-left: 100px;
  }
}

/*Marketing Sweet Navbar Changes - Lachlan 02/06/24*/

.row.justify-content-center.align-items-center {
    background-color: #DA3A0C;
}

ul#superfish-main li a {
    color: white !important;
    transition: color 0.5s;
}

.nav-container #superfish-main a:hover {
    background: #F6F6F6;
    transition: background 0.5s;
    color: #DA3B0C !important;
}

.nav-container #superfish-main li.active-trail > a:hover {
    background: #ffffff;
}

/* Hide Directional Drilling on Services Page - MS 19/08/24 */
div#Directional\ Drilling {
    display: none;
}

/*Blogs Dropdown spacing of icon - Lachlan 20/02/2025*/

li#main-menu-link-content156c4ac6-d4e2-4d2d-b69c-9458217e3b1e a {
    padding-right: 33px !important;
}

.nav-container #superfish-main .sf-depth-2 a {
    color: #da3a0c !important;
}