/*
Theme Name: IWHQ Vanilla
Theme URI: http://www.irishwebsitehq.com
Description: IWHQ Vanilla
Version: 1
Author: Mark O'Leary
Author URI: http://www.irishwebsitehq.com
*/



/* ================ GENERAL RULES ======================= */
body {
font-family:'Open Sans', sans-serif;
}

/* Headings
================================================== */
h1, h2, h3{
    font-weight:600;
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 21px; }

/* ================ RESPONSIVE IMAGES ======================= */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* ================ LINKS ======================= */
a{
	outline: 0;
}



/* ================ HEADER ======================= */
#top{
    background-color:#242424;
    height:44px;
    color:#fff;
    font-weight:600;

}

#top .social{
   float:right;
    padding-top:8px;
}

#top .contact{
    padding-top:10px;
}

#top .contact img {
    margin: 0 6px 0 12px;
    vertical-align: middle;
    width: 18px;
    height: auto;
}

#top a{
    color:#fff;
    text-decoration: none;
}

header{
}




header .menu{
    position: relative;
}


header .button.red {
    position: absolute;
    right: 0;
    top: 32px;
}

/* Logo
================================================== */
header #logo {
    height: 90px;
    margin: 15px 0;
}

/* Buttons
================================================== */
.button, a:hover.button, #maillist #mc-embedded-subscribe .button{
    padding:8px 21px;
    text-decoration:none;
    display: inline-block;
    margin-top: 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size:15px;
    font-weight: 600;
}

.button.red, .flexslider .button, .forminator-ui#forminator-module-207.forminator-design--default .forminator-button-submit{
    background-color:#BF1D2C !important;
    color:#fff;
}

.forminator-ui#forminator-module-207.forminator-design--default .forminator-button-submit{
    font-weight: 600;
    border-radius: 3px;
}


.feature .button{
    background-color:#eee;
}

#maillist #mc-embedded-subscribe .button{
    background-color:#eee;
    color:#666;
}


/* Banner
================================================== */
#banner {
    background:url('/wp-content/uploads/2023/09/Kilmore-electrical1.jpg') no-repeat top center;
    background-size: cover;
    padding:50px 0;
    color:#fff;
    position: relative;
}

#banner::before {
    content: '';
    background: rgba(0,0,0,0.55);
    background-size: cover;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    z-index: 1;
}

#banner a, #banner a:hover{
    color:#fff;
    text-decoration: none;
}

#banner h1, #banner a{
    z-index: 2;
    position: relative;
}


/* Navigation
================================================== */
nav {
    float: left;
    margin-right: 0;
    padding-top: 45px;
    position: relative;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav > ul > li {
    position: relative;
    float: left;
}

nav > ul > li > a {
    text-decoration: none;
}

nav > ul > li > a:hover, nav li a:active {
    background-color: transparent;
    text-decoration: none;
    color:#BF1D2C;
}

nav ul li {
    display: inline-block;
}

nav ul > li a {
    display: block;
    padding: 5px 16px;
    color: #242424;
    font-weight: 600;
}

.menu-item-has-children {
    padding-right: 24px;
    background: url(images/arrow-down.png) no-repeat right 12px center;
}

nav ul.sub-menu {
    position: absolute;
    padding: 8px;
    left: 0;
    width: 200px;
    background: #000;
    display: none;
    z-index: 300;
}

nav ul.sub-menu > li {
    text-align: left;
    vertical-align: top;
    display: block;
}

nav ul.sub-menu > li a {
    padding: 3px 9px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #777;
}

nav ul.sub-menu > li:last-child a {
    border: none;
}

nav ul > li:hover ul.sub-menu {
    display: inline-block;
}

nav ul > li a:hover {
    background-color: transparent;
}



/* Flexslider
================================================== */
.flexslider{
    border:none;
    margin:0;
}

.flexslider h1{
    font-weight:900;
    font-size:42px;
}

.flexslider h4{
    font-size: 21px;
    line-height: 26px;
    margin-bottom:12px;
}

.flexslider .slides li::before {
    content: '';
    background: rgba(0,0,0,0.55);
    background-size: cover;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    z-index: 1;
}

.flexslider .container{
    position: relative;
}

.flexslider aside {
    display: inline-block;
    width: 90%;
    max-width: 600px;
    position: absolute;
    bottom: 180px;
    left: 0;
    color: #fff;
    padding: 10px 20px;
    z-index: 3;
}

.flex-direction-nav a {
    height:50px;
}

.flex-control-nav {
    bottom: 10px;
    z-index: 10;
}

.flexslider .flex-next {opacity: 0.2; right: 5px;} .flexslider .flex-prev {opacity: 0.2; left: 5px;}



/* ================ CONTENT ======================= */

.about-kilmore-electrical figure{
    margin-left:70px !important;
}
.not-home #content{
    padding: 40px 0;
}
main, #testimonials, #contact{
    padding:60px 0 50px;
}

#safe-electric{
    padding:40px 0 30px;
}


main h2, #safe-electric h2, #testimonials h2, #contact h2{
    font-size:42px;
    font-weight:900;
}

main h4, #testimonials h4, #contact h4{
    font-size:14px;
    font-weight:600;
    color:#BF1D2C;
}

#testimonials .description h4{
    margin-top:8px;
    color: #242424;
}
main .intro{
    text-align:center;
    padding-bottom:30px;

}

main .feature article{
    background-color:#fff;
    text-align: center;
    padding:15px;
    border-radius:9px;
    border: 1px solid #ddd;
    min-height:435px;
    position: relative;
}

main .feature article p.article-link {
    position: absolute;
    bottom: 5px;
    width: 100px;
    text-align: center;
    left: 50%;
    transform: translate(-50%);
}

.article-link a{
    text-decoration: none;
    color:#212121;
    font-weight:600;
    white-space: nowrap;
}

.article-link a:hover{
    color:#bf1d2c;
}

main .feature.threes{
    text-align:center;
    padding:20px 0;
}

.feature h3{
    font-weight:700;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 20px;
    min-height:60px;
}

main .feature.twos{
    padding:20px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

main .feature.twos img{
    float:left;
    margin-right:30px;
}

/* ================ Safe Electric ======================= */
#safe-electric{
    background-color: #00AEEF;
    color:#fff;
}

#safe-electric h4{
    font-size:24px;
    color:#fff;
    margin-top: 50px;
}

#safe-electric h2, #safe-electric h4{
    position: relative;
    left:70px;
}

/* ================ BLOG ======================= */
.posts article{
    padding:20px;
    background-color:#f9f9f9;
    margin-bottom:20px;
    border:1px solid #ededed;
}

.posts article h2{
    margin-top:5px;
}

/* ================ TESTIMONIALS ======================= */


.home .testimonial {
    float: left;
    margin-right: 3%;
    width: 96%;
}


.testimonials-intro{
    margin-bottom:30px;
}

/*.not-home .testimonial {
    float: left;
    margin-right: 0;
    width: 100%;
}*/

.testimonial .testimonial-content{
    padding: 35px 25px 35px 50px;
    margin-bottom: 35px;
    background: #fff;
    border: 1px solid #f0f0f0;
    position: relative;
}

.not-home #testimonials {
    background: #f5f5f5;
}

.not-home .testimonial .testimonial-content {
    padding: 35px 25px 20px 50px;
}

.testimonial .testimonial-content:after{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 22px;
    transform: rotate(45deg);
}

.not-home .testimonial .testimonial-content::after {
    background: #fff;
}
.testimonial-content .testimonial-icon{
    width: 50px;
    height: 45px;
    background: #BF1D2C;
    text-align: center;
    font-size: 22px;
    color: #fff;
    line-height: 42px;
    position: absolute;
    top: 37px;
    left: -19px;
}
.testimonial-content .testimonial-icon:before{
    content: "";
    border-bottom: 16px solid #82141E;
    border-left: 18px solid transparent;
    position: absolute;
    top: -16px;
    left: 1px;

}
.testimonial .description{
    font-size: 15px;
    color: #8a8a8a;
    line-height: 23px;
    margin: 0;
}

.home #testimonials {
    background: #F5F5F5;
    padding: 60px 0;
    }

#testimonials p {
    font-size: 17px;
    font-weight: 400;
}

#testimonials b {
    font-size: 21px;
    font-weight: 600;
}

#testimonials a.btn {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
}

#testimonials .button{
    top:-10px;
    color:#BF1D2C;
}

.not-home #testimonials article {
    margin-bottom: 50px;
}

.owl-carousel .owl-stage-outer {
    padding-left: 17px;
}

.owl-nav {
    position: absolute;
    width: 100%;
}

.owl-prev span {
    font-size: 52px;
    opacity: 0.5;
    position: relative;
    bottom: 340px;
    left: -50px;
}

.owl-next span {
    font-size: 52px;
    opacity: 0.5;
    right: -50px;
    position: absolute;
    bottom: 340px;
}

/* Projects
================================================== */
.projects .post{
    width:45%;
    float:left;
    margin: 2%;
}

.projects .wp-post-image {
    width: 100%;
    height: auto;
}

.project-page img{
    width: 220px;
    height: 180px;
    object-fit: cover;
}


/* Sidebar
================================================== */

#sidebar {
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ededed;
    /* margin: 0 30px; */
}

#proj-cats {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left:5px;
}

#proj-cats li a {
    color: #242424;
    text-decoration: none;
    line-height: 24px;
    font-weight:600;
}

#proj-cats li a:hover {
    color: #E83A4A;
}


/* Footer
================================================== */
footer{
    background-color:#242424;
    padding:60px 0;
    color:#fff;
}

footer .logo{
    margin-bottom:12px;
}

footer .contact img {
    margin: 3px 6px 0 0;
    vertical-align: middle;
    width:auto;
}

footer .contact img.phone{
    height:14px;
}

footer .contact img.email{
    height:12px;
}

footer .social{
    padding-top: 20px;
}

footer #mc_embed_signup{clear:left; font-size:14px; }

footer h3{
    padding-bottom:8px;
    font-size: 20px;
    color: #E83A4A;
}

footer ul{
    margin:0;
    padding:0;
}

footer li{
    padding: 7px 2px;
    border-bottom: 1px solid #747474;
    /*list-style: url(images/list-arrow.png) inside;*/
}

footer a{
    color:#eee;
    text-decoration: none;
}

footer a:hover{
    color:#fff;
    text-decoration: none;
}

#credits{
    background-color:#2e2e2e;
    color:#aaa;
    padding:8px 0;
    font-size:13px;
}




/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}




/* ======================== MEDIA QUERIES ========================= */
/* ======================== OVER 1280 ========================= */
@media screen and (min-width:1281px){

}

/* ======================== 1280 ========================= */
@media screen and (max-width:1280px){
    .flexslider aside {
        bottom: 100px;
    }

    #safe-electric h2, #safe-electric h4 {
        position: relative;
        left: 40px;
    }
}

/* ======================== 1024 ========================= */
@media screen and (max-width:1024px){
    .flexslider aside {
        bottom: 50px;
    }

    #safe-electric h2, #safe-electric h4 {
        position: relative;
        left: 20px;
        font-size:32px;
    }

    #safe-electric h4 {
        font-size: 18px;
    }
}

/* ======================== 991 ========================= */
@media screen and (max-width:991px){
    .flexslider aside {
        bottom: 40px;
    }
    .iwhq_nav_btn {
        display: block;
        position: absolute;
        top: 48px;
        right: 0;
    }

    header .button.red {
        right: 80px;
    }

    nav {
        display: none;
    }

    .feature {
        width: 33%;
        max-width: 33%;
        flex: 0 0 auto;
        margin-bottom: 20px;
    }


    #safe-electric p {
        width: 100%;
        text-align: center;
    }

    #safe-electric img {
        float: none;
        margin-right:0;
    }

    #safe-electric h4, #safe-electric h2{
        position:static;
        margin:0 0 12px;
        text-align:center;
    }

}

/* ======================== 800 ========================= */
@media screen and (max-width:800px){
    .flexslider aside {
        bottom: 20px;
    }

    #top{
        position: relative;
    }

    #top .contact {
        width: 100%;
        text-align: center;
    }
}

/* ======================== 768 ========================= */
@media screen and (max-width:768px){
    #top .contact {
        width: 100%;
        text-align: center;
    }

    .logo-nav, .menu{
        text-align: center;
    }

    header .button.red{
        position: static;
        margin-top: -10px;
        margin-bottom: 10px;
    }

    .iwhq_nav_btn{
        top:-50px;
    }

    .flexslider h1 {
        font-size: 32px;
    }

    .flexslider h4 {
        font-size: 18px;
    }

    .feature {
        width: 100%;
        max-width: 100%;
    }

    main .feature article{
        min-height:auto;
    }

    main .feature article img{
        margin:0;
    }

    main .feature article h3 {
        min-height: auto;
    }

    main .feature article p.article-link {
        position: relative;
    }

    .et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form[data-design="default"] .forminator-button, .forminator-ui.forminator-custom-form[data-design="default"] .forminator-button {
        width: 90%;
        margin: 0 5% 10px 5%;
    }
}

/* ======================== 680 ========================= */
@media screen and  (max-width:680px){
    .flexslider aside {
        bottom: 0;
        text-align: center;
        width:100%;
        max-width:100%;
    }

    .flexslider, .flexslider .slides, .flexslider .slides img {
        height:278px;
    }

    #contact{
        padding: 60px 15px 50px;
    }

    .about-kilmore-electrical figure {
        margin-left: 0 !important;
        margin-bottom:30px;
    }

    #banner h1, #banner a {
        text-align: center;
    }

    .projects .post {
        width: 96%;
        float: left;
        margin: 2%;
    }

    #testimonials {
        padding: 60px 20px 50px;
    }
}

/* ======================== 580 ========================= */
@media screen and  (max-width:580px) {
    .iwhq_nav_btn {
        top: -50px;
        right: 10px;
    }

    footer h3 {
        margin-top: 30px;
    }

    .owl-prev span {
        bottom: 392px;
        left: 15px;
    }

    .owl-next span {
        right: 15px;
        bottom: 392px;
    }

    #testimonials .button{
        width: 100%;
        margin: 0;
        text-align: center;
    }
}

/* ======================== 480 ========================= */
@media screen and  (max-width:480px) {
    .flexslider h1 {
        font-size: 28px;
    }

    .flexslider h4 {
        font-size: 16px;
    }
}

/* ======================== 420 ========================= */
@media screen and  (max-width:420px) {
    .flexslider h1 {
        font-size: 24px;
    }

    .iwhq_nav_btn {
        top: -110px;
    }

    .project-page img{
        width:100%;
    }
}

/* ======================== 360 ========================= */
@media screen and  (max-width:360px) {
    #top {
        height: 63px;
    }

    .contact-span {
        display:block;
        width:100%;
        text-align: center;
    }

    .flexslider h1 {
        font-size: 21px;
    }
}

/* ======================== 320 ========================= */
@media screen and  (max-width:320px) {

}