/*
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
*/



/* ================ DESIGN TOKENS (SustainEd) ======================= */
:root {
    --background: hsl(60, 20%, 98%);
    --foreground: hsl(142, 50%, 10%);
    --primary: hsl(152, 40%, 25%);
    --primary-foreground: hsl(60, 20%, 98%);
    --muted-foreground: hsl(142, 30%, 40%);
    --border: hsl(142, 20%, 85%);
    --card: hsl(0, 0%, 100%);
    --radius: 0.5rem;
}

/* ================ GENERAL RULES ======================= */
body {
    font-size: 14px;
    font-family: "Instrument Sans", "Open Sans", sans-serif;
    color: var(--foreground);
    background-color: var(--background);
}

/* 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;
}

/* ================ SITE HEADER / NAVIGATION ======================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid hsl(142 20% 85% / 0.4);
    background-color: hsl(60 20% 98% / 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@supports (backdrop-filter: blur(8px)) {
    .site-header {
        background-color: hsl(60 20% 98% / 0.6);
    }
}

.site-header__container {
    max-width: 1280px;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .site-header__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.site-header__brand-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.site-header__logo {
    max-height: 2.5rem;
    width: auto;
}

.site-header__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--primary);
    line-height: 1.2;
}

.site-header__nav {
    display: none;
}

.site-header__menu,
.site-header__mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header__menu > li,
.site-header__mobile-menu > li {
    position: relative;
    margin: 0;
}

.site-header__menu > li > a,
.site-header__mobile-menu > li > a {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 0;
    background: transparent;
}

.site-header__menu > li > a:hover,
.site-header__menu > li > a:focus,
.site-header__mobile-menu > li > a:hover,
.site-header__mobile-menu > li > a:focus,
.site-header__menu > li.current-menu-item > a,
.site-header__menu > li.current-menu-ancestor > a,
.site-header__mobile-menu > li.current-menu-item > a,
.site-header__mobile-menu > li.current-menu-ancestor > a {
    color: var(--primary);
    background: transparent;
}

.site-header__menu > li.menu-item-has-children > a {
    padding-right: 1.25rem;
}

.site-header__menu > li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.site-header__menu ul.sub-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 12rem;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: none;
    z-index: 60;
}

.site-header__menu > li:hover > ul.sub-menu,
.site-header__menu > li:focus-within > ul.sub-menu {
    display: block;
}

.site-header__menu ul.sub-menu li {
    display: block;
    float: none;
}

.site-header__menu ul.sub-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    white-space: nowrap;
}

.site-header__menu ul.sub-menu a:hover,
.site-header__menu ul.sub-menu a:focus {
    color: var(--primary);
    background: hsl(142 20% 92%);
}

.site-header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
}

.site-header__toggle:hover,
.site-header__toggle:focus {
    background: hsl(142 20% 92%);
    outline: none;
}

.site-header__toggle-icon--close {
    display: none;
}

.site-header.is-open .site-header__toggle-icon--open {
    display: none;
}

.site-header.is-open .site-header__toggle-icon--close {
    display: block;
}

.site-header__mobile {
    border-bottom: 1px solid hsl(142 20% 85% / 0.4);
    background: var(--background);
    padding: 1rem;
}

.site-header__mobile[hidden] {
    display: none !important;
}

.site-header__mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-header__mobile-menu ul.sub-menu {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
    list-style: none;
}

.site-header__mobile-menu ul.sub-menu a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .site-header__nav {
        display: block;
    }

    .site-header__toggle {
        display: none;
    }

    .site-header__mobile {
        display: none !important;
    }
}

/* ================ CONTENT ======================= */

#content{
    padding: 20px 0px 40px;
}
main{
    padding:40px 0 50px;
    background-color:#f5f5f5;
}

main .intro{
    text-align:center;
    padding-bottom:30px;
}

.intro h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    font-size: 26px;
}

main .feature{
    background-color:#fff;
}

main .feature.threes{
    text-align:center;
    padding:20px 0;
}

.feature h3{
    border-bottom: 2px solid #eee;
    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;
}

/* ================ 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:#4e4e4e;
    padding:30px 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{
    border-bottom:2px solid #747474;
    padding-bottom:8px;
    font-size: 20px;
    color: #eee;
}

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;
}


/* Buttons
================================================== */
.button, a:hover.button, #maillist #mc-embedded-subscribe .button{
    padding:8px 16px;
    text-decoration:none;
    display: inline-block;
    margin-top: 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-weight:normal;
    font-size:15px;
    background-color:#eee;
}

.flexslider .button{
     background-color:#eee;
 }

.feature .button{
    background-color:#eee;
}

#maillist #mc-embedded-subscribe .button{
    background-color:#eee;
    color:#666;
}
/* Flexslider
================================================== */
.flexslider{
    border:none;
    margin:0;
}

.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;}

/* =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. */
}




/* ======================== 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){

}

/* ======================== 800 ========================= */
@media screen and (max-width:800px){

}

/* ======================== 768 ========================= */
@media screen and (max-width:768px){

}

/* ======================== 640 ========================= */
@media screen and  (max-width:640px){

}

/* ======================== 480 ========================= */
@media screen and  (max-width:480px) {

}

/* ======================== 360 ========================= */
@media screen and  (max-width:360px) {

}

/* ======================== 320 ========================= */
@media screen and  (max-width:320px) {

}