/*
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:'Open Sans';
}

/* Headings
================================================== */
h1, h2, h3{
    font-weight:600;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1.12em; }
h5 { font-size: .83em; }
h6 { font-size: .75em; }

/* ================ RESPONSIVE IMAGES ======================= */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* ================ LINKS ======================= */
a{
	outline: 0;
}

/* ================ HEADER ======================= */
#top{
    background-color:#4C4C4C;
    height:4px;
}

#top .social{
   float:right;
    padding-top:8px;
}

#top .contact{
    padding-top:10px;
}

#top .contact img{
    margin: 0 6px 0 12px;
    vertical-align: middle;
}

#top a{
    color:#fff;
    text-decoration: none;
}





/* Logo
================================================== */
.logo-nav{
    padding: 30px 0;
    /*align-items: center;
    display: flex;
    justify-content: space-between;*/
}


/* Navigation
================================================== */
nav {
    float: right;
    margin-right: -15px;
	position:relative;
}

nav ul{
    margin:0;
    padding:0;
    list-style:none;
}

nav > ul > li{
	position:relative;
	float:left;
}

nav > ul > li > a {
    color:#4c4c4c;
    font-size:14px;
    text-transform: uppercase;
    padding:10px 15px;
    text-decoration: none;
}

nav > ul > li > a:hover, nav li a:active {
    background-color:#000;
    color:#fff;
    font-size:14px;
    text-decoration: none;
}

nav ul {
        text-align:center;
    }
    nav ul li {
        display:inline-block;
    }
nav ul > li a {
    display: block;
    letter-spacing: 1px;
    padding: 40px 30px;
    color: #333;
    font-weight:600;
    text-transform: uppercase;
    border-top: 4px solid #4c4c4c;
    position: relative;
    top: -4px;
}
         nav ul.sub-menu {
            position:absolute;
            padding:0px;
            left:0px;
            width:100%;
            background:#000;
            display:none;
            z-index:300;
         }
          nav ul.sub-menu > li  {
            text-align:left;
            vertical-align:top;
            display:inline-block;
            text-transform:uppercase;
           }
             nav ul.sub-menu > li a  {
                padding:3px 6px;
                 color:#fff;
                 text-decoration:none;
             }

           nav ul > li:hover ul.sub-menu {
                display:inline-block;
           }

         nav ul > li a:hover, .current-menu-item a {
            background-color:#f8f8f8;
             border-top:4px solid #f63;
             color:#333;
        }

/* Logo
================================================== */
#hero, #banner{
    background:url(images/hero-bg.jpg) no-repeat center center;
    background-size:cover;
    padding: 70px 0 25px;
    color:#fff;
    position: relative;
    top: -4px;
}

#banner{
    padding:50px 0;
}

#banner h1{
margin:0;
}
#hero img{
    border:4px solid white;
}


.intro h2 {
    padding-bottom: 8px;
    font-size: 32px;
    margin-top: 10px;
}

.wp-block-button .wp-block-button__link {
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    text-transform:uppercase;
    font-weight:600;
    padding: 8px 24px;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
}



.wp-block-button .wp-block-button__link:active, .wp-block-button .wp-block-button__link:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:visited {
    color: #333;
}

.wp-block-button.contact .wp-block-button__link {
    color: #fff;
    background-color: transparent;
}

.wp-block-buttons .wp-block-button{
    margin-right:0 !important;
}

.nf-form-content button, .nf-form-content input[type="button"], .nf-form-content input[type="submit"]
{
    border-radius:30px;
    padding: 6px 24px;
}
/* ================ CONTENT ======================= */

.home #content{
    padding: 0;
}

.not-home #content{
    padding: 60px 0;
}
main{
    padding:40px 0 50px;
    background-color:#f5f5f5;
}

main .intro{
    text-align:center;
    padding-bottom:30px;
}



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:url(images/car.jpg) no-repeat center right;
    background-size: cover;
    padding:60px 0;
    color:#fff;
    min-height:400px;
}

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;
}

#credits a{
	color:#aaa;
}


/* 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;
}


.feature .button{
    background-color:#eee;
}

#maillist #mc-embedded-subscribe .button{
    background-color:#eee;
    color:#666;
}

/* Owl slider
================================================== */
.slide-item{
    position: relative;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    height:500px;
}

.owl-carousel .owl-item .owl-lazy:not([src]), .owl-carousel .owl-item .owl-lazy[src^=""] {
    max-height:500px;
}

.owl-prev, .owl-next {
    position: absolute;
    top: calc(50% - 72px);
}

.owl-prev{left: 10px;}
.owl-next { right:10px; }

.owl-prev span, .owl-next span {
    height: 21px;
    opacity: 0.65;
    font-size: 72px;
    color:#000;
}

.owl-prev span:hover, .owl-next span:hover {
    opacity: 0.9;
}

.owl-item .container{
    height: 100%;
    display: flex;
    align-items: center;
}

.owl-item aside{
    background:rgba(0,0,0,0.6);
    color:#fff;
    padding: 20px;
}

.owl-item aside h2{
    font-size:32px;
}


/* =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 ========================= */


/* ======================== 768 ========================= */
@media screen and (min-width:768px){
    .container, .container-md, .container-sm {
        max-width: 900px;
    }
}



/* ======================== 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){
    #logo {
        padding: 6px 15px 0
    }
}

/* ======================== 800 ========================= */
@media screen and (max-width:800px){

    #top{
        height: auto;
        position: relative;
        padding-top: 4px;
    }
}

/* ======================== 768 ========================= */
@media screen and (max-width:768px){
    .logo-nav, .navigation, #hero .wp-block-column {
        flex:0 0 100%;
        max-width:100%;
        min-width: 100%;
        text-align:center;
        margin-left:0;
    }

    nav{
        float:none;
        padding: 0 15px;
        float: none;
        padding: 0 15px;
        position: relative;
        left: -10px;
    }

    nav ul{
        display: flex;
        justify-content: center;
    }

    #banner h1{
        padding-left:30px;
    }
}

/* ======================== 640 ========================= */
@media screen and  (max-width:640px){

}

/* ======================== 480 ========================= */
@media screen and  (max-width:480px) {
    nav ul > li a {
        padding: 30px 20px;
    }
}

/* ======================== 360 ========================= */
@media screen and  (max-width:360px) {
    nav ul > li a {
        padding: 25px 18px;
    }
}

/* ======================== 320 ========================= */
@media screen and  (max-width:320px) {
    nav ul > li a {
        padding: 25px 16px;
    }
}