/*
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-size:16px;
font-family:'Lato', sans-serif;
}

/* Headings
================================================== */
h1, h2, h3{
    font-weight:700; font-family: 'Merriweather', serif;
}
h1 { font-size: 42px; }
h2 { font-size: 30px; }
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 ======================= */

header {
    position: absolute;
    z-index: 4;
    width: 100%;
    background: url(images/header-bg.png) no-repeat right -17px;
    background-size: 5% 65px;
}

.not-home header {
    background: url(images/not-home-header.png) no-repeat -230px -15px;
    height: 160px;
    border-bottom: 4px solid #ffe5af;
}

.not-home .outer-header {
    background: url(/wp-content/uploads/2024/02/Clonoulty-Rossmore-underage1.jpg) no-repeat bottom right;
    height: 160px;
    margin-bottom: 20px;
}
/* Logo
================================================== */
header #logo {
    position: relative;
    top: 25px;
    left: 30px;
    width: 330px;
    height: auto;
    max-width: 330px;
}

/* Navigation
================================================== */
nav {
    float: right;
    margin-right: 0;
    position: relative;
    margin-top: 3px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav > ul > li {
    position: relative;
    float: left;
}

nav > ul > li > a {
    padding: 10px 15px;
    text-decoration: none;
    color:#fff;
}

nav > ul > li > a:hover, nav li a:active {
    background-color: transparent;
    text-decoration: none;
}

nav ul li {
    display: inline-block;
    color:#fff;
}

nav ul > li a {
    display: block;
    padding: 8px 16px;
    color:#fff;
    font-weight:600;
}

nav ul > li a:hover {
    color:#daa31a;
}

.menu-item-has-children {
    padding-right: 2px;
    background: url(images/arrow-down.png) no-repeat calc(100% - 5px) 20px;
}

nav ul.sub-menu {
    position: absolute;
    padding: 8px;
    left: 0;
    width: 200px;
    background: #00984f;
    display: none;
    z-index: 300;
    border: 1px solid #39b077;
}

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 #39b077;
}

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;
}


/* ================ HOME PAGE NEWS ======================= */
main, #ndl{
    padding:40px 0 70px;
}

#ndl{
    background-color: #f4f4f4;
}

#ndl h2 {
    margin-bottom: 30px;
}

#ndl .link, .feature a {
    color: #3D815F;
    font-weight: 900;
    font-family: merriweather, serif;
    font-size: 15px;
    text-decoration: none;
}

.news-date {
    color: #777;
}

.after-articles {
    margin-top: 30px;
}

.flex-parent {

}

.flex-left{
    float:left;
    width:35%;
    text-align:center;
    text-transform:uppercase;
    font-weight:600;
}
.flex-left h2{
    font-size:42px;
    font-weight:900;
}


.flex-right{
    float:left;
    width:60%;
}

.flex-right a{
    color:#000;
    text-decoration: none;
}

.main-news article{
    background-color:#fff;
    padding:0 0 30px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.main-news img{
    width:100%;
    height:300px;
    object-fit: cover;
    margin-bottom:30px;
}

.news-list ul {
    margin-top: 6px !important;
}

#ndl ul {
    margin:0;
    padding:0;
}

#ndl li {
    background-color: #fff;
    margin-bottom: 2px;
    padding: 5px 8px;
    list-style: none;

}

#ndl .news-list li {
    padding:15px;
    margin-bottom:15px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.news-list h4 {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 600;
}
.news-list img {
    width: 86%;
    height: auto;
    margin: 0 12px 0 0px;
}

.article-list {
    background-color: #fff;
    padding: 1px 15px 20px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.article-list article {
    padding-left: 40px;
    background: url(images/article-arrow.png) no-repeat 10px 12px;
    border-bottom: 1px solid #F4F4F4;
    padding-bottom: 4px;
    background-size: 16px;
}

.article-list a {
    color: #333;
    text-decoration: navajowhite;
    font-weight: 600;
}

.article-list article:last-child {
    border: none;
}

.newsletter, .lotto{
    background: url(images/maillist-bg.jpg) no-repeat top left;
    display:flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    color:#fff;
    text-align:center;
}

.newsletter{
    padding-top:90px;
    padding-left: 60px;
}

.newsletter .form_email_1{
    width:200px;
}

.newsletter #mailpoet_form_1 .mailpoet_form_columns{
    display: flex;
    flex-direction: row;
}

#mailpoet_form_1 form.mailpoet_form {
    padding: 0;
}

.mailpoet_paragraph label {
    display:none;
}

#mailpoet_form_1{
    margin-top:15px;
}
#mailpoet_form_1 #form_email_1.mailpoet_text {
    -webkit-border-top-left-radius: 30px;
    -webkit-border-bottom-left-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-bottomleft: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 12px 24px;
    border: none;
    width:250px;
}

#mailpoet_form_1 .mailpoet_submit {
    border: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-top: 0;
    padding: 12px 24px;
}

#mailpoet_form_1 .mailpoet_form_columns .mailpoet_form_column:not(:first-child) {
    margin-left: 0;
}


.lotto{
    background: url(images/lotto-bg.jpg) no-repeat bottom right;
    text-align: center;
    padding-right: 140px;
}

.lotto ul {
    padding-left:0;
    margin-left:0;
}

.lotto li {
    display: inline-block;
    margin: 4px;
    width: 40px;
    text-align: center;
    padding: 8px;
    border-radius: 30px;
    color: #000;
    background: #fff;
    background: radial-gradient(circle, rgba(255,255,255,1) 17%, rgba(238,238,238,1) 100%);
    font-weight: 600;
}

.lotto-row{
    display: flex;
    flex-direction: row;
}

.lotto-row span {
    width: 80px;
    text-align: right;
    margin-right: 10px;
    line-height: 16px;
    padding-top: 4px;
}

/* ================ GALLERY ======================= */
.home #gallery{
    margin-top:20px;
    position: relative;
}

.owl-nav {
    position: absolute;
    top: 25%;
    width: 100%;
}

.owl-nav .owl-next{
    float:right;
}

.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
    color: #fff;
    font-size: 72px;
}

.home #gallery .button {
    position: absolute;
    bottom: -9px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 203px;
    z-index: 2;
    border: 10px solid #fff;
}

.home #gallery .owl-carousel .owl-item img {
    height: 307px;
    margin-bottom: 20px;
    object-fit: cover;
}

#gallery .button{
    box-shadow: 0px 25px 20px -20px rgba(0, 0, 0, 0.45);
}

/* Gallery page */
.gallery figure {
    width: 23%;
    float: left;
}

.gallery figure img {
    width: 100%;
    height: 200px;
    padding: 5px;
    object-fit: cover;
    object-position: top center;
}

.social {
    padding-top: 9px;
}
/* ================ CONTENT ======================= */
.not-home iframe {
    max-width: 100%;
}

#content{
    padding: 20px 0px 40px;
}
main{
    padding:70px 0 50px;
}

main .intro{
    text-align:center;
    padding-bottom:30px;
}

/*.intro h2 {
    padding-bottom: 8px;
    font-size: 26px;
}*/

main h2 {
    padding-bottom: 8px;
    font-size: 32px;
    font-weight: 900;
}

main .feature{
    background-color:#fff;
}

main .feature.threes{
    text-align:center;
    padding:20px;
}

main .feature.threes article{
box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    padding-bottom: 30px;
}

main .feature.threes article img{
    margin: 0 0 15px;
    width: 100%;
}

main .feature.threes article p:nth-child(3) {
    padding:0 30px;
}

.feature h3{
    display: inline-block;
    padding-bottom: 8px;
    font-size: 20px;
}

main .feature.twos{
    padding:20px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

main .feature.twos img{
    float:left;
    margin-right:30px;
}

.not-home #content{
}

/* ================ BLOG ======================= */
.posts article{
    padding:20px;
    background-color:#f9f9f9;
    margin-bottom:20px;
    border:1px solid #ededed;
}

.posts article h2{
    margin-top:5px;
}

/* Footer
================================================== */
footer{
    background-color:#2d2d2d;
    padding:50px 0;
    color:#fff;
}

footer .logo{
    max-height:80px;
    width:auto;
}

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{
    font-family: Lato, sans-serif;
    text-transform:uppercase;
    padding-bottom:8px;
    font-size: 20px;
    color: #eee;
}

footer ul{
    margin:0;
    padding:0;
    list-style:none;
}

footer li{
    padding: 2px;
}

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;
}


/* Buttons
================================================== */
.button, a:hover.button, #maillist #mc-embedded-subscribe .button, input.mailpoet_submit{
    padding:12px 24px;
    text-decoration:none;
    display: inline-block;
    margin-top: 8px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 50px;
    font-size:16px;
    background-color:#F2A924;
    color:#fff;
    text-align:center;
    font-weight:600;
}

.flexslider .button{
     background-color:#eee;
 }



#maillist #mc-embedded-subscribe .button{
    background-color:#eee;
    color:#666;
}
/* Flexslider
================================================== */
.flexslider{
    border:none;
    margin:0;
    height:700px;
    background-color:#006328;
    position: relative;
    z-index: 1;
}

.flexslider .slides img {
    height: 700px;
    width:100%;
    object-fit: cover;
}

.flexslider .container{
    position: relative;
}

.flexslider aside{
    display:inline-block;
    position: absolute;
    bottom:40px;
    right:0;
    background: rgba(0,0,0, 0.5);
    color:#fff;
    padding:10px 20px;
    border-top: 1px solid #f3f3f3;
    border-bottom:1px solid #f3f3f3;
}

.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;}

.overlay-tl {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.overlay-tl img{
    height: 350px;
    width: auto;
}

.overlay-br {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.overlay-br img{
    height: 250px;
    width: auto;
}

/* =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. */
}


.forminator-ui#forminator-module-283.forminator-design--default .forminator-button-submit, .forminator-ui#forminator-module-283.forminator-design--default .forminator-button-submit:hover {
    background-color: #017233 !important;
}

/* ======================== MEDIA QUERIES ========================= */
/* ======================== OVER 1280 ========================= */
@media screen and (min-width:1281px){

}

/* ======================== 1280 ========================= */
@media screen and (max-width:1280px){

}

/* ======================== 1024 ========================= */
@media screen and (max-width:1024px){

}

/* ======================== 980 ========================= */
@media screen and (max-width:980px){
    .iwhq_nav_btn {
        display: block;
    }

    nav {
        display: none;
    }


    .flexslider, .flexslider .slides img {
        height: 600px;
    }

    #lotto .lotto {
        display: block;
        padding-top: 30px;
        text-align: center;
        padding-right: 0;
    }

}

/* ======================== 800 ========================= */
@media screen and (max-width:800px){

    .overlay-tl {
        width: 100%;
        background: url(images/clon-slide-tl.png);
        background-position: -140px -67px;
        height: 350px;
    }

    .overlay-tl img {
        height: 0;
    }

    #top{
        height: auto;
        position: relative;
    }

    header{
        background:none;
    }

    header #logo {
        position: relative;
        top: 30px;
        left: 20px;
        width: 260px;
    }

    .social {
        text-align: right;
    }
}

/* ======================== 768 ========================= */
@media screen and (max-width:768px){
    .flexslider, .flexslider .slides img {
        height: 550px;
    }

    .flexslider .slides img {
        object-position: center 50px;
    }

    .wp-block-table thead{
        display:none;
    }

    #content .wp-block-table tr, #content .wp-block-table td{
        display:block;
        border: none;
        padding: 0;
    }

    .wp-block-table tr{
        margin-bottom:20px;
    }

    .gallery figure {
        width: 50%;
        float: left;
    }

    .overlay-br, .flexslider aside {
        display: none !important;
    }
}

/* ======================== 640 ========================= */
@media screen and  (max-width:640px){
    .news-list h2 {
        margin-top: 30px;
    }

    .articles h2 {
        margin-top: 15px;
    }

    #wrap {
        width: 100%;
        height: 80px;
        padding: 0;
        overflow: hidden;
        text-align: center;
    }
}

/* ======================== 560 ========================= */
@media screen and  (max-width:560px) {
    header .social{
        display:none
    }

    header #logo {
        width: 280px;
        max-width: 100%;
        top: 15px;
        left: 0;
    }

    #mailpoet_form_1 #form_email_1.mailpoet_text {
        padding: 12px 16px;
    }

    footer .logo {
        margin-bottom: 20px;
    }

    footer ul {
        margin-bottom: 30px;
    }


}

/* ======================== 480 ========================= */
@media screen and  (max-width:480px) {
    #mailpoet_form_1 #form_email_1.mailpoet_text {
        width: 200px;
    }

    .newsletter {
        padding-left: 30px;
    }

    #lotto .lotto {
        padding-left: 0;
    }

    #Fundraising-Draws {
        position: relative;
        left: -20px;
    }

    #wrap {
        width: 100% !important;
    }

    h2 {
        font-size: 26px;
    }

    #mailpoet_form_1 #form_email_1.mailpoet_text {
        width: 180px;
    }

    .newsletter {
        padding-left: 20px;
    }

}

/* ======================== 380 ========================= */
@media screen and  (max-width:380px) {
    .newsletter {
        padding-top: 150px;
    }

    #wrap {
        height: 100px !important;
    }

    #Fundraising-Draws {
        width: 260px !important;
        height: 100px !important;
        left: -20px;
    }
}

/* ======================== 320 ========================= */
@media screen and  (max-width:320px) {
    header #logo {
        width: 90%;
        max-width:90%;
        left:10px;
    }

    #Fundraising-Draws {
        left: -20px;
    }

    .gallery figure {
        width: 100%;
    }
}