.clear { clear: both; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.post, .page { margin: 0 !important; }
div, span, ul, li, img, header, nav, footer, main, article, aside, section { position: relative; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
body { position: relative; font-size: 1.1rem; line-height: 1.8rem; font-weight: 400; font-family: 'Montserrat', sans-serif; color: #444; background: #fff; }   a, a:visited { text-decoration: none; color: #7989bc; }
a:active, a:hover { text-decoration: underline; color: #96a6d9; }
.entry-content a, #home-second-text a { text-decoration: underline; color: #444; }
.entry-content a:hover { text-decoration: underline; color: #5780B4; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 40px; color: #285185; letter-spacing: 0px; line-height: 1em; font-weight: 600; font-family: 'Roboto Condensed', sans-serif; text-shadow: none; text-transform: capitalize; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #285185; }
h1.entry-title a, h2.entry-title a, h3.entry-title a, h4.entry-title a, h5.entry-title a, h6.entry-title a { color: #285185 !important; }
h1 { font-size: 3.5rem; line-height: 3.6rem; }
h1.entry-title { font-size: 2.6rem; line-height: 3rem; }
h2 { font-size: 2.5rem; line-height: 3rem; }
h3 { font-size: 2rem; line-height: 2rem; }
h4 { font-size: 1.8rem; line-height: 2rem; }
h5 { font-size: 1.6rem; line-height: 2rem; }
h6 { font-size: 1.3rem; line-height: 1.5rem; }
strong { font-weight: 700; }
p { margin: 0 0 2rem; }
::-webkit-input-placeholder { color: #222; }
::-moz-placeholder { color: #222; }
:-ms-input-placeholder { color: #222; }
:-moz-placeholder { color: #222; }
input:focus, input:active, input[type="checkbox"], select, textarea, img { outline: none; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input.text, input.title, textarea, select { background-color: #fff; color: #333 !important; border: 2px solid #e8e8e8; padding: 12px !important; font-weight: 400; font-size: inherit; border-radius: 4px; -webkit-border-radius: 4px; }
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=password]:focus, input[type=number]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus { border-color: #ccc; color: #333; box-shadow: 0 0 10px rgba(4,79,134,0.2); } .customradio input[type="radio"] {
opacity: 0;
-webkit-opacity: 0;
position: fixed;
width: 0;
}
.customradio label {
display: inline-block;
background-color: #f7f7f7;
border: 2px solid #e8e8e8;
padding: 20px;
font-family: sans-serif, Arial;
font-size: 16px;
border-radius: 4px;
-webkit-border-radius: 4px;
color: #444;
cursor: pointer;
width: 48%;
float: left;
margin-right: 2%;
text-align: center;
line-height: 2rem;
margin-bottom: 20px !important;
}
.customradio input[type="radio"]:checked + label {
background-color: #5eb9e8;
border-color: #419ccb;
color: #fff;
} input[type=button], input[type=submit], button, .button, a.read-more, .reply-container a, #commentform input#submit, .shortcode-button a {
-webkit-appearance: none; -moz-appearance: none; -o-appearance: none; border-radius: 0px; -webkit-border-radius: 0px;
position: relative;
background: #96a6d9;
border: 0px none;
display: inline-block;
cursor: pointer;
color: #fff !important;
font-size: 0.9rem;
font-weight: 700;
font-family: 'Montserrat', sans-serif;
text-decoration: none !important;
text-transform: uppercase;
letter-spacing: 2px;
line-height: 2rem;
padding: 22px 50px 20px;
}
input[type=button] i, input[type=submit] i, button i, .button i, a.read-more i, .reply-container a i, #commentform input#submit i, a i, .shortcode-button a i { margin-right: 10px; }
input[type=button]:hover, input[type=submit]:hover, button:hover, .button:hover, a.read-more:hover, .reply-container a:hover, #commentform input#submit:hover, .shortcode-button a:hover {
background: #222 !important;
text-decoration: none !important;
color: #fff !important;
} input, select, textarea, article, section, input[type=button], input[type=submit], button, .button, a.read-more, .reply-container a, #commentform input#submit, .shortcode-button a, .site-info section .footer-socials a, .wpcp-carousel-section .wpcp-single-item img, #home-section-3 article section ul li, .main-navigation, .main-navigation li a, .main-navigation li a::after, .main-navigation ul ul, #back-top, .header-quote {
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
.site-header, .site-branding, .site-branding img, #home-services section a h3, #home-services section a span.button, #home-services section, #home-services section a span.services-overlay {
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
} .container { margin: 0 auto; width: 1560px; }
#primary { float: left; width: 67%; text-align: left; padding: 100px 0px; }
.fullwidth #primary { float: none; width: auto; }
#secondary { float: right; width: 30%; text-align: left; padding: 100px 0px 50px 0; } .site-header { position: relative; z-index: 11; top: 0; width: 100%; padding: 15px 0px;  background: #fff; }
.site-branding { float: left; position: relative; }
.site-branding img { float: left; max-height: 110px; width: auto; }
.site-branding #header-licence { float: left; margin: 22px 0 0 50px; }
.site-branding #header-licence p { margin-bottom: 6px; }
.site-contacts { float: right; text-align: right; }
.site-contacts a { display: block; color: #333; line-height: 3rem; }
.site-contacts a.contacts-phone { font-size: 120%; font-weight: 600; }
.site-contacts a.contacts-phone i { font-size: 120%; }
.site-contacts a i { vertical-align: middle; margin-top: -3px; }
body.fixed-header { padding-top: 220px; }
body.fixed-header .site-header { display: none; }
.main-navigation.scroll-fixed { position: fixed; top: 0px; float: none; }
.scroll-fixed .menu-main-menu-container { float: none; text-align: center; }
.scroll-fixed .menu-main-menu-container ul { justify-content: center; }  .main-navigation { z-index: 111; float: left; width: 100%; background: #285185; }
.menu-main-menu-container { float: left; line-height: 2rem; margin-right: 20px; }
.main-navigation li { }
.main-navigation li a { position: relative; display: inline-block; margin: 0px 20px; padding: 0 20px; line-height: 5rem; font-size: 1.1rem; font-family: 'Montserrat', sans-serif; font-weight: 700; text-decoration: none; color: #fff; }
.main-navigation li a:hover { text-decoration: none; color: #cde3ff; }
.main-navigation li:last-child ul { margin-left: -150px; text-align: left; }
.menu-item-has-children { padding-right: 10px; }
.menu-item-has-children::before { position: absolute; z-index: 11; right: 24px; top: 50%; margin-top: -4px; font: var(--fa-font-solid); content: "\f078"; font-size: 10px; color: #fff; }
.menu-item-has-children:hover::before { color: #0e9bdf; }
.main-navigation ul ul { display: block; width: 340px; background: #466FA3; border-top: 3px solid #96a6d9; margin-top: -3px; padding: 10px 0 15px; }
.main-navigation ul ul a { position: relative; width: 90%; padding: 16px 10px 14px 30px; line-height: 1rem; font-size: 1rem; }
.main-navigation ul ul a::before { position: absolute; z-index: 11; left: 10px; top: 50%; margin-top: -4px; font: var(--fa-font-solid); content: "\f078"; font-size: 10px; color: #fff; transform: rotate(-90deg); }
.main-navigation ul ul a::after { display: none; }  #homepage-slider { }
#slider-header { display: none; } #home-intro h1, h1.entry-title { position: relative; margin: 0 0 40px; padding-bottom: 10px; }
#home-intro h1::after, h1.entry-title::after { position: absolute; z-index: 1; content: ''; left: 0; bottom: 0; width: 50px; height: 2px; background: #96a6d9; }
h1.entry-title::after { left: 0; margin-left: 0; }
#home-intro { padding: 100px 100px; background: #6274ad; color: #fff; font-size: 1.5rem; line-height: 2.6rem; }
#home-intro article { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; }
#home-intro section { width: 100%; }
#home-intro section h1 { color: #fff; text-align: left; line-height: 4rem; }
#home-intro section p { text-align: left; margin-bottom: 50px; }
#home-intro section a { color: #fff; text-decoration: underline; }
#home-intro section img.alignright { margin: 0 0 0 70px; }
#home-services2 { padding: 100px 0 0; }
#home-services2 article { }
#home-services2 section { width: 100%; }
#home-services2 ul#post-page-loop { z-index: 2; width: 100%; flex-flow: row wrap; margin-bottom: 0 !important; }
#home-services2 ul#post-page-loop li { width: 32%; margin: 0 2% 20px 0; border: 0 none; }
#home-services2 ul#post-page-loop li:nth-child(3n+0) { margin-right: 0; }
#home-services2 ul#post-page-loop li img { display: block; filter: brightness(70%); }
#home-services2 ul#post-page-loop li:hover img { filter: brightness(100%); }
#home-services2 ul#post-page-loop li .post-content { position: absolute; z-index: 2; bottom: 0; left: 0; }
#home-services2 ul#post-page-loop li .post-content h2, #home-services2 ul#post-page-loop li .post-content h2 a { color: #fff; margin-bottom: 10px; font-size: 1.5rem;   line-height: 1.5rem; }
#home-services2 ul#post-page-loop li .post-content h2:hover, #home-services2 ul#post-page-loop li .post-content h2 a:hover { text-decoration: none; }
#home-services2 ul#post-page-loop li .post-content a.service-arrow { color: #fff; font-size: 20px; }
#home-services2 section .morebutton { width: 100%; text-align: center; padding: 50px 0px; }
#home-why-choose-us { padding: 50px 0px; }
#home-why-choose-us article { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; }
#home-why-choose-us section { width: 32%; margin-right: 2%; text-align: center; }
#home-why-choose-us section:last-of-type { margin-right: 0; }
#home-why-choose-us section h4 { margin-bottom: 0px; }
#home-second-text { padding: 100px 0px; }
#home-second-text article { display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: stretch; }
#home-second-text section { } #entry-header { position: relative; top: 0; left: 0; width: 100%; background: #6274ad url(//davidandersonelectrical.com/wp-content/themes/david-anderson-2022/images/bg-page-header.jpg) no-repeat 50% 0; background-size: cover; -webkit-background-size: cover; padding: 100px 0px; text-align: left; }
#entry-header h1 { color: #fff; margin-bottom: 0px; }
#entry-header .subheading h2 { color: rgba(255,255,255,0.8); font-size: 1.3rem; line-height: 2rem; font-weight: 500; text-transform: capitalize; }
.page-content, .entry-content, .entry-summary, #post-page-loop { padding: 0 0; margin: 0 0; }
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { display: none; }
h1, h2, h3, h4, h5, h6 { clear: none !important; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin-bottom: 10px; }
iframe { width: 100% !important; }
.imageborder { border: 5px solid #eee; padding: 2px; }
.entry-content > ul, .post-content > ul, .shortcode-one-half > ul, .shortcode-one-half-last > ul { margin: 0 0 40px; padding: 0 0 0 18px; list-style: none outside; }
.entry-content > ul > li, .post-content > ul > li, .shortcode-one-half > ul > li, .shortcode-one-half-last > ul > li { padding: 0 0 10px 22px; background: url(//davidandersonelectrical.com/wp-content/themes/david-anderson-2022/images/icon-list-item.png) no-repeat 0 8px; background-size: 8px auto; -webkit-background-size: 8px auto; line-height: 25px; }
ol ul { margin: 0 0; } body.page-template-page-blog { }
body.page-template-page-blog #primary { background: none transparent; padding: 0; border: 0 none; }
ul#post-page-loop { width: 100%; list-style: none outside; margin: 0 0; display: flex; flex-flow: row wrap; }
ul#post-page-loop li { width: 32%; margin-right: 2%; margin-bottom: 30px; background: #fff; border: 1px solid #ececec; box-shadow: 0 0 30px rgba(0,0,0,0); -webkit-box-shadow: 0 0 30px rgba(0,0,0,0); }
ul#post-page-loop li:nth-child(3n+0) { margin-right: 0; }
ul#post-page-loop li img { display: block; width: 100%; margin-bottom: 0px; border-radius: 0px; -webkit-border-radius: 0px; border-bottom: 3px solid #1989c6; }
ul#post-page-loop li div { padding: 5%; }
ul#post-page-loop li h2 { font-size: 1.2rem; line-height: 1.2rem; margin-bottom: 10px; font-weight: 600; letter-spacing: -0.7px; }
ul#post-page-loop li h2 a { }
ul#post-page-loop li:hover { box-shadow: 0 0 50px rgba(0,0,0,0.2); -webkit-box-shadow: 0 0 50px rgba(0,0,0,0.2); }  ul#post-page-loop.about-us-services { justify-content: space-between; margin: 0 0 30px; }
ul#post-page-loop.about-us-services li, ul#post-page-loop li:nth-child(3n+0) { width: 32%; margin: 0 0 20px; }
ul#post-page-loop.about-us-services li { background: #7989bc; color: #fff; }
ul#post-page-loop.about-us-services li:hover, ul#post-page-loop li:nth-child(3n+0):hover { box-shadow: 0 0; -webkit-box-shadow: 0 0; }
ul#post-page-loop.about-us-services li h2 { color: #fff; font-size: 1.1rem; line-height: 1.4rem; margin-bottom: 2px; }
ul#post-page-loop.about-us-services li a, ul#post-page-loop.about-us-services li i { color: #fff; }  body.page-template-page-contact #primary article.page.type-page { display: block; }
body.page-template-page-contact #primary { display: flex; flex-flow: row nowrap; }
body.page-template-page-contact #primary section:first-of-type { width: 50%; padding-right: 10%; }
body.page-template-page-contact #primary section:last-of-type { width: 50%; }  #secondary { }
.widget { padding: 10%; color: #fff; }
.widget.widget_media_image { padding: 0 0; }
.widget.widget_media_image img { display: block; }
.widget { background: #96a6d9; }
.widget h2.widget-title { display: block; }
.widget h2 { font-size: 1.8rem; color: #fff; margin-bottom: 10px; }
.widget h2 i { margin-bottom: 20px; font-size: 3rem; display: block; }
.widget a { color: #fff; }
.widget a.button { background: #222; padding: 14px 35px 12px; }
.widget ul { margin: 0 0 20px; padding: 0 0 0 20px; }
.widget ul li { margin: 0 0 10px; padding: 0 0; }
#custom_html-3 { background: #7c8cbf; }
#custom_html-3 h2.widget-title { display: none; }
#custom_html-3 a { line-height: 2.6rem; }  .site-footer-bar { width: 100%; position: relative; background: #285185; padding: 30px 0; font-size: 90%; color: #fff; }
.site-footer-bar .container { display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: stretch; }
.site-footer-bar .container section:first-of-type { width: 70%; display: flex; flex-flow: row nowrap; align-items: center; }
.site-footer-bar .container section:last-of-type { width: 30%; }
.site-footer-bar .container section h4 { color: #fff; margin: 0 0; }
.site-footer { width: 100%; position: relative; background: #222; padding: 5%; font-size: 90%; color: #ccc; }
.site-info { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; }
.site-info a { color: #ccc; }
.site-info section { width: 50%; padding-right: 5%; }
.site-info section:first-of-type { width: 60%; }
.site-info section:last-of-type { width: 40%; }
.site-info section h1, .site-info section h2, .site-info section h3, .site-info section h4, .site-info section h5, .site-info section h6 { margin-bottom: 20px; font-size: 1.8rem; color: #fff; padding-bottom: 20px; }
.site-info section h1::after, .site-info section h2::after, .site-info section h3::after, .site-info section h4::after, .site-info section h5::after, .site-info section h6::after { display: block; content: ''; background: #96a6d9; width: 50px; height: 2px; margin-top: 7px; }
.site-info section p { margin-bottom: 1rem; }
.site-info section .footer-logo-text { line-height: 1.6rem; margin-bottom: 30px; }
.site-info section .footer-logo { max-width: 220px; }
.site-info section.footer-contacts { }
.site-info section.footer-contacts a.ftrunderline { text-decoration: underline; }
.site-info section.footer-contacts i { color: #fff; font-size: 110%; vertical-align: middle; margin-top: -4px; margin-right: 10px; }
.site-info-copy { color: #ccc; border-top: 1px solid #ccc; margin-top: 40px; padding-top: 40px; }
#copyright a, #developed a { color: #ccc; }
#copyright a:hover, #developed a:hover { color: #fff; text-decoration: none; }
#copyright { float: left; }
#developed { float: right; }
#back-top { padding: 0; bottom: 40%; position: fixed; z-index: 3; right: 20px; opacity: 0.6; -o-opacity: 0.6; -ms-opacity: 0.6; -webkit-opacity: 0.6; }
#back-top:hover { opacity: 1; -o-opacity: 1; -ms-opacity: 1; -webkit-opacity: 1; }
#back-top a { display: block; width: 57px; color: #FFF; text-align: center; text-decoration: none; text-transform: uppercase; }
#back-top span { background: url(//davidandersonelectrical.com/wp-content/themes/david-anderson-2022/images/up-arrow.png) no-repeat 0 0; display: block; width: 57px; height: 58px; margin-bottom: 0; }
#footer-toggle-menu { display: none; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-evenly; position: fixed; bottom: 0px; left: 0px; right: 0px; z-index: 99999; background: #222; color: #fff; width: 100%; margin: 0 0; padding: 0 0; }
#footer-toggle-menu li { display: block; width: 33.333%; vertical-align: middle; text-align: center; }
#footer-toggle-menu li a { display: block; min-height: 62px; padding: 11px 0px 7px; color: #fff; font-size: 0.7rem; line-height: 1rem; font-family: 'Blinker', Arial, sans-serif; }
#footer-toggle-menu li a i { display: block; margin: 0 auto; font-size: 1.4rem; min-height: 24px; }
#footer-toggle-menu li a:hover{ opacity: 1.0; background: #111; text-decoration: none; }
.shiftnav-toggle-button { background: #111; }
.shiftnav-toggle * { line-height: 1.3rem !important; }
.shiftnav .fa, .shiftnav-toggle .fa {
font-family: "Font Awesome 5 Free" !important;
font-weight: 900 !important;
}
.shiftnav-nav .menu-item-has-children::before { top: 1.6rem !important; right: 11px !important; }
.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target:hover, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover { background: transparent !important; }  .gform_required_legend { display: none; }
.gform_wrapper { margin: 0 0 !important; }
.gform_wrapper li { margin-top: 0 !important; }
.gform_wrapper div.ginput_container input, .gform_wrapper div.ginput_container textarea { font-size: 1rem !important; padding: 14px !important; }
.gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label { font-size: unset !important; line-height: 2.2rem; }
.enquiryform { background: rgba(0,0,0,0.04); padding: 5%; border: 1px solid rgba(0,0,0,0.07); }
.enquiryform h3 { font-size: 22px; letter-spacing: 0px; padding-bottom: 5px; }  .shortcode-pdf { position: relative; padding: 15px 15px 15px 55px; margin-bottom: 24px; border: 2px dashed #e40000; line-height: 30px; }
.shortcode-pdf::before { position: absolute; left: 20px; z-index: 1; font-weight: 900; font-family: "Font Awesome 5 Free"; content: '\f1c1'; font-size: 30px; line-height: 30px; color: #e40000; }
.shortcode-pdf a { color: #222; }
.shortcode-hr { position: relative; margin: 30px 0px; border-top: 2px solid #93acc7; }
.shortcode-address, .shortcode-phone, .shortcode-email, .shortcode-abn { position: relative; vertical-align: middle; margin-bottom: 14px; border: 1px dashed #ccc; padding: 10px; padding-right: 0px; line-height: 2.2rem; }
.shortcode-address i, .shortcode-phone i, .shortcode-email i, .shortcode-abn i { font-size: 25px; margin: -2px 20px 0px 0px; vertical-align: middle; }
.shortcode-address p, .shortcode-phone p, .shortcode-email p, .shortcode-abn p { padding-bottom: 0px; }
.shortcode-cta { position: relative; display: block; flex-flow: column wrap; background: #f6d72e; font-size: 160%; line-height: 2.7rem; color: #222; margin-bottom: 30px; text-align: center; padding: 50px 8%; }
.shortcode-cta a { color: #222; font-size: inherit; text-decoration: underline; }
.shortcode-cta a:hover { color: #222; font-size: inherit; text-decoration: underline; }
.shortcode-cta3 { position: relative; display: block; flex-flow: column wrap; background: #f6d72e; font-size: 110%; line-height: 2.7rem; font-weight: 600; color: #555; margin-bottom: 30px; text-align: center; padding: 30px; }
.shortcode-cta3 a { color: #555; font-size: inherit; text-decoration: underline; }
.shortcode-cta3 a:hover { color: #555; font-size: inherit; text-decoration: underline; }
.shortcode-cta2 { position: relative; display: flex; flex-flow: column wrap; background: #ececec; font-size: 110%; color: #222; margin-bottom: 30px; text-align: center; padding: 20px; }
.shortcode-cta2 a { color: #222; font-size: inherit; text-decoration: underline; }
.shortcode-cta2 a:hover { color: #222; font-size: inherit; text-decoration: underline; }
.shortcode-urllink { position: relative; padding-left: 30px; font-weight: bold; color: #048bcc; }
.shortcode-urllink a { color: #048bcc; text-decoration: underline; }
.shortcode-urllink a:hover { color: #048bcc; }
.shortcode-urllink::before { position: absolute; left: 0px; z-index: 1; font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0c1"; }
.shortcode-button { display: inline-block; }
.shortcode-menu { display: inline-block; width: 31%; margin-right: 2%; }
.shortcode-menu a { display: block; background: #111; color: #fff; padding: 30px 5%; color: #fff; text-align: center; }
.shortcode-menu a:hover { background: #333; color: #fff; cursor: pointer; text-decoration: none; }
.shortcode-menu a::before { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f2e7"; padding-right: 5px; }
.shortcode-list { }
.shortcode-list ul { list-style: none outside; margin: 0 0; padding: 0 0; }
.shortcode-list ul li { margin: 0 0; padding: 0 0 0 30px; background: url(//davidandersonelectrical.com/wp-content/themes/david-anderson-2022/images/icon-list-tick.png) no-repeat 0 50%; font-size: 110%; line-height: 2.5rem; }
.shortcode-list-boxes { }
.shortcode-list-boxes ul { list-style: none outside; margin: 0 0; padding: 0 0; display: flex; flex-flow: row wrap; justify-content: space-between; }
.shortcode-list-boxes ul li { width: 32%; margin: 0 0 20px; padding: 4% 3%; background: #f1f1f1; font-size: 110%; line-height: 2.5rem; border-radius: 5px; -webkit-border-radius: 5px; text-align: center; }
.one-half-container { display: flex; flex-flow: row nowrap; justify-content: space-between; }
.shortcode-one-half, .shortcode-one-half-last { width: 47%; margin-right: 0; padding: 0 0; }
.shortcode-one-half-last { margin-right: 0; padding-left: 0; }
.shortcode-one-half h2, .shortcode-one-half-last h2, .shortcode-one-half h3, .shortcode-one-half-last h3 { }
.shortcode-one-half-last p:first-of-type { margin: 0 0; }
.shortcode-one-half img, .shortcode-one-half-last img { display: block; max-width: 100% !important; }
.custom-accordion {
margin-bottom: 25px;
}
.custom-accordion .accordion-header {
background: #eee;
padding: 16px;
cursor: pointer;
font-weight: bold;
border: 1px solid #ccc;
display: flex;
justify-content: space-between;
align-items: center;
}
.custom-accordion .accordion-header.open {
background: #ddd;
}
.custom-accordion .accordion-content {
padding: 2px 5% 5% 5%;
border: 1px solid #ccc;
border-top: none;
}
.shortcode-faq { display: block; border-bottom: 2px solid #e8e8e8; margin-bottom: 50px; padding-left: 100px; background: url(//davidandersonelectrical.com/wp-content/themes/david-anderson-2022/images/icon-faq.png) no-repeat 0 5px; background-size: 70px auto; -webkit-background-size: 70px auto; }
.shortcode-faq h4 { font-size: 1.6rem; line-height: 2rem; }
.shortcode-faq p:first-of-type { margin: 0 0; }  .post img, #logo { max-width: 100%; height: auto; }
embed, iframe, object, video { max-width: 100%; }
@media only screen and ( max-width: 1600px ) {
.container { width: 1160px; }
h1 { font-size: 3rem; }
h2 { font-size: 1.8rem; line-height: 2.4rem; }
h3, h4 { font-size: 1.4rem; line-height: 1.8rem; }
#home-intro { font-size: 1.3rem; line-height: 2.0rem; padding: 70px 100px; }
#home-intro section h1 { line-height: 2.6rem; font-size: 2.6rem; letter-spacing: -1px; }
#home-intro section img.alignright { margin: 0 0 0 50px; width: 200px; }
#home-intro section a.button { padding: 16px 50px 15px; }
#home-why-choose-us { padding: 60px 0px; }
.site-info section h1, .site-info section h2, .site-info section h3, .site-info section h4, .site-info section h5, .site-info section h6 { font-size: 1.4rem; }
}
@media only screen and ( max-width: 1260px ) {
.container { width: 960px; }
#primary { width: 50%; }
#secondary { width: 50%; }
.site-branding img { max-height: 95px; }
.site-branding #header-licence { margin: 12px 0 0 50px; }
#home-intro { padding: 60px; font-size: 1.1rem; line-height: 1.7rem; }
#home-intro section img.alignright { width: 150px; margin: 0 0 0 20px; }
#home-intro section h1 { line-height: 3rem; font-size: 2.3rem; }
#home-services section { height: 400px; }
#home-services section a span.button { padding: 5px 20px; font-size: 0.8rem; }
.widget { padding: 7%; }
}
@media only screen and ( max-width: 980px ) {
.container { width: 750px; }
.site-branding { display: block; }
.site-branding img { margin: 0 auto; max-height: 95px; }
.site-branding #header-licence { float: none; margin: 22px 0 0 0; padding-top: 10px; clear: both; }
.main-navigation li a { padding: 0 0; font-size: 1rem; }
.menu-item-has-children::before { right: 10px; margin-top: -6px; }
#home-intro { font-size: 1.1rem; }
#home-intro section h1 { font-size: 2.2rem; line-height: 2rem; }
#home-intro section p { margin-bottom: 20px; }
#home-services article { flex-wrap: wrap; }
#home-services section { width: 50%; }
#home-services section:hover { width: 50%; }
#home-services section a h3 { font-size: 2rem; }
#home-why-choose-us section img { max-width: 33%; }
ul#post-page-loop li:nth-child(odd), #home-services2 ul#post-page-loop li:nth-child(odd) { width: 49%; margin-right: 2%; }
ul#post-page-loop li:nth-child(even), #home-services2 ul#post-page-loop li:nth-child(even) { width: 49%; margin-right: 0; }
input[type="button"], input[type="submit"], button, .button, a.read-more, .reply-container a, #commentform input#submit, .shortcode-button a { padding: 12px 30px 10px; }
#entry-header { padding: 70px 0px; }
h1 { font-size: 2.4rem; line-height: 3rem; }
h2 { font-size: 1.5rem; line-height: 2.2rem; }
#secondary { font-size: 83%; }
.widget { padding: 24px; }
h2.widget-title { font-size: 1.5rem; }
.widget h2 { font-size: 1.5rem; }
.widget h2 i { font-size: 2rem; }
.widget img.img-quote-fire { max-width: 60px; }
.site-footer { padding: 100px 0 140px; }
.site-info { flex-wrap: wrap; }
.site-info section { width: 50%; margin-bottom: 20px; }
.site-info section.footer-contacts { width: 100%; }
}
@media only screen and ( max-width: 768px ) {
.container { width: auto; padding: 0px 20px; }
#primary { width: auto; float: none; padding: 50px 0 0; }
#secondary {  width: auto; float: none; }
.site-header.scroll-fixed { position: relative; }
body.fixed-header { padding-top: 0; }
body.fixed-header .site-header { display: block; }
.site-branding { float: none; margin: 0 auto 20px; text-align: center; }
.site-branding img { float: none; margin: 0 auto; max-height: 115px; }
.site-contacts { float: none; text-align: center; }
.main-navigation { padding: 5px; }
.main-navigation .container { display: none; }
#home-intro { padding: 40px; }
#home-intro section h1 { font-size: 2.2rem; }
#home-intro section img.alignright { margin: 0 0 10px 20px; }
#home-services article.container { padding: 0 0; }
#home-services section { height: 330px; }
#home-services section a span.services-overlay { height: 60%; }
#home-services section a:hover span.services-overlay { height: 100%; }
#entry-header { text-align: center }
article.post, article.page { margin-right: 0 !important; }
.post .attachment-post-thumbnail { max-width: 100%; float: none; }
.shortcode-list-boxes ul li { width: 45%; }
#secondary { text-align: left; display: flex; flex-direction: row; flex-wrap: wrap; padding-left: 0; }
.widget { padding: 20px; width: 100%; margin-right: 0; }
.widget.widget_media_image img { width: 100%; }
.widget ul { padding: 0 0; margin: 0 0; }
.site-footer { text-align: center; padding: 50px 0 100px; }
.site-info { flex-wrap: wrap; }
.site-info section, .site-info section:first-of-type { width: 100%; margin-bottom: 20px; padding: 0 0; }
.site-info section h4::after { position: absolute; left: 50%; margin-left: -25px; }
.site-info-copy { margin: 40px 40px 0; }
#copyright, #developed { float: none; text-align: center; padding-top: 40px; }
#back-top { bottom: 60px; }
#footer-toggle-menu { display: flex; }
}
@media only screen and ( max-width: 479px ) {
body { font-size: 1rem; line-height: 1.5rem; }
.container { width: auto; padding: 0px 20px; }
#primary { width: auto; float: none; }
#secondary {  width: auto; float: none; }
.site-header.scroll-fixed { position: relative; }
.site-contacts a { line-height: 1.4rem; margin-bottom: 15px; }
.site-contacts a.contacts-phone { font-size: 100%; }
#home-intro section img.alignright { margin: 0 auto 20px auto; float: none; display: block; }
#home-intro section h1, #home-intro section p { text-align: center; }
#home-intro section h1 { font-size: 1.8rem; }
#home-intro section h1::after { left: 50%; margin-left: -25px; }
#home-intro section a.button { padding: 10px 20px 10px; }
#home-services article { flex-wrap: wrap; }
#home-services section, #home-services section:hover { width: 100%; border-bottom: 5px solid #333; }
#home-services section a span.button { right: 15px; }
#home-why-choose-us article { width: 100%; flex-wrap: wrap; }
#home-why-choose-us section { width: 100%; margin: 0 0 30px; text-align: center; }
#home-why-choose-us section img { max-width: 20%; }
input[type="button"], input[type="submit"], button, .button, a.read-more, .reply-container a, #commentform input#submit { display: block; padding: 12px 20px 10px; width: auto; text-align: center; }
#entry-header { padding: 50px 0px; }
h1 { font-size: 1.6rem; line-height: 2rem; margin-bottom: 20px; }
h2 { font-size: 1.3rem; line-height: 1.7rem; }
ul#post-page-loop { padding-right: 0; }
.shortcode-list ul li { font-size: 100%; }
.shortcode-list-boxes ul li { width: 100%; }
.post.type-post { margin-right: 0 !important; }
.alignleft { float: none; margin-right: 0; margin-bottom: 5px; }
ul, ol { margin: 0 0 1.5em 0.5em; }
.customradio label { width: 100%; max-width: 100% !important; margin-right: 0; float: none; margin-bottom: 10px !important; }
#secondary { text-align: center; display: flex; flex-direction: row; flex-wrap: wrap; }
.widget ul { padding: 0 0; margin: 0 0; }
.widget { padding: 20px; width: 100%; margin-right: 0; }
.site-footer { padding: 40px 0 100px; }
.site-info { display: block; flex-direction: column; }
.site-info section { width: auto; margin-bottom: 20px; padding-right: 0px; text-align: center; }
.site-info section h1::after, .site-info section h2::after, .site-info section h3::after, .site-info section h4::after, .site-info section h5::after, .site-info section h6::after { left: 50%; position: absolute; margin-left: -25px; margin-top: 10px; }
#copyright a { display: block; }
}