/*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*/

html,
body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100vw;
    padding: 0;
}
body {
    font-size: 17px;
    font-family: 'Cabin', sans-serif;
    color: #444;
    line-height: 1.5em;
}
.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}
.eq-height {
    display: flex;
}
.pl-0 {
    padding-left: 0;
}
.pr-0 {
    padding-left: 0;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}
.not-home h3 {
    border-bottom: 3px solid #2A6A0C;
    padding-bottom: 10px;
}
h2,
h3 {
    font-weight: 500;
}
iframe {
    border: 0;
    margin-top: 30px;
}
.button {
    padding: 11px 18px;
    background: #2A6A0C;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    transition: all 500ms ease;
    border: 1px solid transparent;
    margin-top: 15px;
    cursor: pointer;
}
.button:hover {
    text-decoration: none;
    background: #fff;
    border: 1px solid #2A6A0C;
    color: #2A6A0C;
}
.button.small {
    padding: 12px 16px;
}
.button.white {
    background: #fff;
    border: 1px solid #2A6A0C;
    color: #2A6A0C;
}
.button.white:hover {
    background: #2A6A0C;
    color: #fff;
}
.button img {
    width: auto;
}
img {
    max-width: 100%;
    height: auto;
    width: auto \9;
}
section#top {
    background: url('images/contact.jpg') no-repeat;
    background-size: cover;
    overflow: auto;
    padding: 15px 0px !important;
    color: #fff;
}
section#top a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
section#top a img {
    margin: 0px 10px;
}
section#top a.button.white {
    color: #2A6A0C;
    margin-top: 0;
}
section#top a.button.white:hover {
    color: #fff;
}
header {
    padding: 30px;
}
header nav {
    position: relative;
}
header nav > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
header nav > ul > li {
    position: relative;
    float: left;
    padding: 8px 14px;
}
header nav > ul > li > a {
    color: #434343;
    font-size: 16px;
    padding-bottom: 7px;
}
header nav > ul > li > a:hover {
    border-bottom: 2px solid #2A6A0C;
    color: inherit;
    text-decoration: none;
}
header nav > ul > li:hover ul.sub-menu {
    display: inline-block;
}
header nav > ul .sub-menu {
    position: absolute;
    left: 0;
    top: 33px;
    width: 250px;
    background: #fff;
    display: none;
    z-index: 300;
    border: 1px solid #e6e7e8;
    padding: 0;
}
header nav > ul .sub-menu li {
    text-align: left;
    vertical-align: top;
    display: inline-block;
    text-transform: uppercase;
    width: 100%;
    border-bottom: 1px solid #ccc;
}
header nav > ul .sub-menu li:last-child {
    border-bottom: 0;
}
header nav > ul .sub-menu li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    width: 100%;
    color: #434360;
}
#mobile-menu {
    display: none;
}
.slicknav_menu {
    background-color: #fff;
}
.slicknav_btn {
    background-color: #FFAC41;
    float: right;
}
.slicknav_nav a {
    color: #FFAC41;
}
#slideshow {
    position: relative;
}
#slideshow .flexslider {
    border: 0;
    margin: 0;
    height: 100%;
    background: transparent;
}
#slideshow .flexslider img {
    height: 640px;
    box-shadow: 0px 10px 20px -10px #AFA6A6;
}
#slideshow .flexslider aside {
    width: 38%;
    text-align: left;
    top: 0;
    padding: 10px 20px;
    bottom: 0;
    position: absolute;
    color: #000;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#slideshow .flexslider aside h1 {
    border-bottom: 3px solid #2A6A0C;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
#slideshow .flexslider .flex-direction-nav a {
    height: 70px;
}
#slideshow .flexslider .flex-direction-nav a.flex-next::before {
    content: " ";
    display: block;
    background: url('images/arrow-right.png') no-repeat;
    width: 40px;
    height: 70px;
}
#slideshow .flexslider .flex-direction-nav a.flex-prev::before {
    content: " ";
    display: block;
    background: url('images/arrow-left.png') no-repeat;
    width: 40px;
    height: 70px;
}
#slideshow .flexslider .flex-control-nav {
    bottom: 10px;
    z-index: 10;
    display: none;
}
#slideshow .flexslider .flex-next {
    opacity: 0.2;
    right: 30px;
}
#slideshow .flexslider .flex-prev {
    opacity: 0.2;
    left: 30px;
}
#slideshow .flexslider:hover .flex-direction-nav .flex-prev:hover {
    opacity: 1;
}
#slideshow .flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 50px;
}
#slideshow .flexslider .flex-direction-nav .flex-prev {
    left: -50px;
}
#slideshow .flexslider:hover .flex-direction-nav .flex-next:hover {
    opacity: 1;
}
#slideshow .flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 50px;
}
#slideshow .flexslider .flex-direction-nav .flex-next {
    right: -50px;
    text-align: right;
}
section:not(#slideshow) {
    padding: 60px 0;
}
section h2 {
    padding-bottom: 15px;
    margin-bottom: 15px;
    margin-top: 0;
    color: #545454;
    font-weight: 600;
}
section h2::after {
    content: '';
    width: 80%;
    height: 20px;
    display: block;
    border-bottom: 3px solid #2A6A0C;
}
article {
    margin-bottom: 30px;
}
article h2 {
    margin-bottom: 6px;
}
article .button {
    margin-top: 2px;
}
.banner {
    background-size: cover !important;
    text-align: left;
    background: url(images/bg.jpg) no-repeat;
    padding: 80px 0 90px 0;
    background-position: center center !important;
    position: relative;
}
.banner h1 {
    text-transform: uppercase;
    font-size: 2.8em;
    color: #fff;
}
.banner menu.breadcrumbs {
    padding-left: 0;
    color: #fff;
}
.banner menu.breadcrumbs span a {
    color: #fff;
}
.banner .breadcrumb_last {
    color: #fff;
    font-weight: bold;
}
.banner::before {
    width: 100% !important;
    content: '';
    display: block;
    z-index: 0;
    position: absolute;
    top: 0;
    background: rgba(34,34,34,0.3);
    height: 100%;
}

.banner.drombane-upperchurch {
    background-position: center top !important;
}
section#what-we-do h2 {
    margin-top: 0;
}
section#info {
    background: #F5F5F5;
}
section#info .card {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    border: 0;
    border-radius: .5rem;
    font-weight: 400;
    background-color: #fff;
    text-align: left;
}
section#info .card img {
    width: 100%;
}
section#info .card .card-body {
    padding: 15px 15px 35px 15px;
}
section#info .card .card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #545454;
    text-transform: capitalize;
    margin-bottom: 15px;
    margin-top: 10px;
}
section#info .card .card-body p {
    margin: 0;
}
section#info .card .card-body a img {
    width: auto;
}
section#communities {
    position: relative;
    background: url('images/bg.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
section#communities::before {
    background: rgba(66,125,33,0.6);
    height: 100%;
    width: 100% !important;
    content: '';
    display: block;
    z-index: 0;
    position: absolute;
    top: 0;
}
section#communities h2 {
    color: #fff;
}
section#communities h2:after {
    border-bottom: 2px solid #fff;
}
section#communities h3 {
    margin-top: 0;
    color: #545454;
}
section#communities .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 30px;
    color: #525252;
}
section#communities .owl-carousel .owl-nav .owl-prev,
section#communities .owl-carousel .owl-nav .owl-next {
    width: 40px;
    height: 70px;
}
section#communities .owl-carousel .owl-nav .owl-prev {
    background: url('images/arrow-left.png') no-repeat;
    position: absolute;
    top: 40%;
    margin-left: -70px;
}
section#communities .owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 40%;
    right: -70px;
    background: url('images/arrow-right.png') no-repeat;
}
.not-home section#blog {
    background: #fff;
}
.not-home section#blog .wrap .post {
    background: #f5f5f5;
}
section#blog {
    background: #f5f5f5;
}
section#blog .wrap {
    display: flex;
    min-height: 300px;
    margin-bottom: 30px;
}
section#blog .wrap .ft-img {
    width: 50%;
    float: left;
	background-color:#fff;
}
section#blog .wrap .ft-img img {
/*     height: 100%;
 */    object-fit: cover;
    width: 100%;
}
section#blog .wrap .post {
    width: 50%;
    float: left;
    padding: 15px;
    background: #fff;
}
section#blog .wrap .post small {
    display: block;
    margin: 10px 0;
}
section#blog .wrap .post h3 {
    margin-top: 0;
}
section#blog .wrap .post a {
    color: #2A6A0C;
}
section#testimonial-contact {
    background: url('images/energy-grants-min.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
    z-index: 99999;
}
section#testimonial-contact h2 {
    color: #fff;
}
section#testimonial-contact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background: rgba(66,125,33,0.5);
}
section#testimonial-contact::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}
section#testimonial-contact h2::after {
    display: none;
}
section#testimonial-contact #form_contact-form label {
    color: #fff;
    font-family: 'Cabin', sans-serif;
    font-weight: normal;
    font-size: 16px;
}
section#testimonial-contact #form_contact-form input {
    height: 40px;
    border-radius: 0;
    border: 0;
    width: 100%;
}
section#testimonial-contact #form_contact-form textarea {
    border-radius: 0;
    border: 0;
}
section#testimonial-contact #form_contact-form .frm_button_submit {
    padding: 14px 18px;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    transition: all 500ms ease;
    border: 1px solid #fff;
    margin-top: 15px;
    border-radius: 0;
    box-shadow: none;
}
section#testimonial-contact .left-col {
    padding-right: 50px;
}
section#testimonial-contact .right-col {
    padding-left: 50px;
}
.not-home #form_contact-form input {
    height: 40px;
    border-radius: 0;
    border: 1px solid #ccc;
}
.not-home #form_contact-form label {
    color: #000;
    font-family: 'Cabin', sans-serif;
    font-weight: normal;
    font-size: 16px;
}
.not-home #form_contact-form textarea {
    border-radius: 0;
    border: 1px solid #ccc;
}
.not-home #form_contact-form .frm_button_submit {
    padding: 14px 18px;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    transition: all 500ms ease;
    border: 1px solid #2A6A0C;
    margin-top: 15px;
    border-radius: 0;
    box-shadow: none;
    background: #2A6A0C;
}
.not-home .testimonial-wrap {
    background: #f5f5f5;
    padding: 30px;
}
.not-home .testimonial-wrap h3 {
    margin-top: 0;
}
.not-home .testimonial-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    border-width: 0px 30px 30px 0px;
    border-style: solid;
    border-color: transparent #e1e1e0 transparent transparent;
    bottom: -30px;
    margin-left: 15px;
}


/* =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: 14px;
    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. */
}

footer {
    background: #f5f5f5;
    padding: 60px 0;
    color: #595959;
}
footer h3 {
    margin-top: 0;
    font-weight: 600;
    margin-bottom: 20px;
}
footer #logo {
    margin-bottom: 30px;
}
footer .contact-details a {
    color: inherit;
}
footer .contact-details img {
    margin-right: 7px;
    margin-bottom: 10px;
}
footer .mc4wp-form label {
    font-weight: normal;
}
footer .mc4wp-form input {
    width: 100%;
}
footer .mc4wp-form input[type=text],
footer .mc4wp-form input[type=email] {
    height: 40px;
    border: 1px solid #ccc;
}
footer .mc4wp-form input[type=submit] {
    padding: 11px 18px;
    background: #2A6A0C;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    transition: all 500ms ease;
    border: 1px solid transparent;
    margin-top: 15px;
    cursor: pointer;
    padding: 12px 35px;
    width: auto;
}
footer .mc4wp-form input[type=submit]:hover {
    text-decoration: none;
    background: #fff;
    border: 1px solid #2A6A0C;
    color: #2A6A0C;
}
footer .mc4wp-form input[type=submit].small {
    padding: 12px 16px;
}
footer .mc4wp-form input[type=submit].white {
    background: #fff;
    border: 1px solid #2A6A0C;
    color: #2A6A0C;
}
footer .mc4wp-form input[type=submit].white:hover {
    background: #2A6A0C;
    color: #fff;
}
footer .mc4wp-form input[type=submit] img {
    width: auto;
}
footer ul {
    list-style: none;
    padding-left: 0;
}
footer ul li {
    list-style-image: url('images/footer-arrow.png');
    list-style-position: inside;
    margin-bottom: 10px;
}
footer ul li a {
    padding: 4px 0;
    display: inline-block;
    color: #595959;
}
section#credits {
    padding: 20px 0;
}
@media screen and (max-width: 991px) {
    nav {
        display: none;
    }
    #mobile-menu {
        display: block;
        position: fixed;
        z-index: 10;
        width: 50%;
        right: 0;
    }
    .slicknav_menu {
        background: transparent !important;
    }
    .slicknav_nav {
        background: #fff;
    }
    .slicknav_nav li a {
        color: #000;
    }
    section#what-we-do img {
        display: block;
        margin: 15px auto;
    }
    section#top {
        height: auto;
        position: relative;
        padding-top: 64px !important;
    }
    .flex {
        display: block;
    }
    footer {
        text-align: center;
    }
    footer h3 {
        margin-top: 30px;
    }
}
@media screen and (max-width: 768px) {
    #slideshow .flexslider aside {
        width: 60%;
    }
}
@media screen and (max-width: 767px) {
    #top .social {
        text-align: center;
    }
    section#testimonial-contact::before {
        width: 100%;
    }
    section#testimonial-contact::after {
        display: none;
    }
    section#testimonial-contact .right-col {
        padding-left: 15px;
    }
    section#testimonial-contact .left-col {
        padding-right: 15px;
    }
    section#testimonial-contact h2 {
        margin-top: 30px;
    }
    section#communities .owl-next,
    section#communities .owl-prev {
        display: none;
    }
    section#info .card {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 480px) {
    #slideshow .flexslider aside {
        width: 100%;
    }
    section#communities h3 {
        margin-top: 20px;
    }
    section#blog .wrap {
        display: block;
    }
    section#blog .wrap .ft-img,
    section#blog .wrap .post {
        width: 100%;
        float: unset;
    }
}
