/*
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: 'Roboto', sans-serif;
    color: #555555;
}

html {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Raleway', sans-serif;
}

/* 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 ======================= */

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

#top {
    background: url(images/assets/header-top.jpg) no-repeat 65% 0;
    height: 44px;
    color: #fff;
    background-size: cover !important;
}

#top .contact img {
    margin: 0 6px 0 12px;
    vertical-align: middle;
}

#top a {
    color: #fff;
    text-decoration: none;
}

header {
    padding: 30px;
}

#top .social img {
    margin-right: 5px;
}

.banner {
    background: url(images/assets/banner.jpg) no-repeat;
    background-size: cover !important;
    text-align: left;
    color: white;
    padding: 50px 0 70px 0;
    background-position: center center !important;

}

.banner.bedroom {
    background-size: cover !important;
}

.banner.kitchen {
    background-size: cover !important;
}

.banner h1 {
    text-transform: uppercase;
    font-size: 2.8em;
}

/* 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: 16px;
    text-transform: uppercase;
    padding: 10px 15px;
    text-decoration: none;
}

nav > ul > li > a:hover, nav li a:active {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

nav ul {
    text-align: center;
}

nav ul li {
    display: inline-block;
}

nav ul > li a {
    display: block;
    letter-spacing: 1px;
    padding: 5px 15px;
    color: #4c4c4c;
    text-transform: capitalize;
}

nav ul.sub-menu {
    position: absolute;
    padding: 0px;
    left: 0px;
    background: #4c4c4c;
    display: none;
    z-index: 300;
    width: 250px;
}

nav ul.sub-menu > li {
    text-align: left;
    vertical-align: top;
    display: inline-block;
    text-transform: uppercase;
    width: 250px;
}

nav ul.sub-menu > li a {
    width: 250px;
    padding: 10px 6px;
    color: #fff;
    text-decoration: none;
}

nav ul > li:hover ul.sub-menu {
    display: inline-block;
}

nav ul > li a:hover {
    background-color: #888;
}

/* ================ CONTENT ======================= */

.not-home #content {
    padding: 50px 0px 60px;
    /* background: #f9f9f9;*/
}

main {
    padding: 40px 0 50px;
    background-color: #f5f5f5;
}

.card {
    box-shadow: 0 5px 9px #b4c1c8;
    text-align: center;
    margin: 10px 0;
}

.card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.card-body {
    padding: 10px 10px 30px;
    background: #fff;
}

.card h3 {
    font-size: 1.7em;
    font-weight: 700;
    color: #535353;
}

.card a {
    text-decoration: none;
}

.fa-stack {
    width: 4em;
    height: 4em;
    line-height: 4em;
}

.fa-stack-2x {
    font-size: 4em;
}

.how-to-main-image {
    margin-top: 100px;
    margin-left: 100px;
    width: 260px;
}

.float-one {
    top: 55%;
    left: 0;
}

.float-two {
    top: 15%;
    left: 10%;
}

.float-svg {
    top: 0%;
    left: 40%;
    width: 65px;
}

.float-three {
    top: 15%;
    left: 69%;
}

.float-four {
    top: 55%;
    left: 78%;
}

.how-to-floating-image {
    position: absolute;
    width: 100px;
    border-radius: 50px;
    height: 100px;
}

.not-home section:nth-child(even) {
    background: #F5F5F5;
}

.featured img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    box-shadow: 0 5px 9px #b4c1c8;
}

.img-wrap img {
    padding: 15px;
    background: #fff;
    box-shadow: 0 5px 9px #b4c1c8;
}

.design h3 {
    line-height: 2em;
}

.magnifying-glass-icon {
    color: #fff;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    padding: 20px;
    border: 1px solid #fff;
    line-height: 1;
    opacity: 1;
}

.magnifying-glass-icon:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

/*  Projects */
section#kitchens, section#bedrooms, #shop-fitting {
    background: #fff;
    padding: 80px;
}

section#project-images, section#project-text, #related-projects {
    padding: 30px;
}

section#project-images {
    background: #f9f9f9;
}

#related-projects {
    background: #f9f9f9;
}

#related-projects .card img {
    width: 100%;
    height: 200px;
}

section#kitchens h2, section#bedrooms h2, section#shop-fitting h2, footer h2, #testimonials h2 {
    margin-top: 0;
    text-transform: uppercase;
    font-size: 36px;
}

section#bedrooms img, section#kitchens img {
    min-height: 300px;
    width: 100%;
    object-fit: cover;
}

section#kitchens, #testimonials {
    background: #F5F5F5;
}

/* Testimonials */
.home #testimonials {
    padding: 20px 80px 80px 80px;
}

#testimonials h2 {
    margin: 40px 0;
}

.not-home #testimonials {
    padding: 40px 0;
}

section#testimonials img {
    border: 1px solid #f5f5f5;
    /*border-radius: 150px !important;*/
    max-height: 220px;
    padding: 3px;
    margin-bottom: 15px;
}

section#testimonials .testimonial-card {
    text-align: center;
    background: #fff;
    padding: 40px;
    min-height: 360px;
}

section#testimonials .testimonial-card author {
    font-weight: bold;
}

/* ================ 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/assets/footer-bottom.jpg) no-repeat;
    padding: 50px 0;
    color: #fff;
    background-position: 60% 0;
}

footer .col-left img {
    margin-right: 10px;
}

footer .col-left {
    /*color: #818181;*/
}

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;
}

footer .logo {
    margin-bottom: 30px;
}

#credits {
    background-color: #3F3E3A;
    color: #aaa;
    padding: 8px 0;
    font-size: 13px;
}

/* style formidable form */
#form_contact-form .frm_full input, #form_contact-form .frm_full textarea {
    width: 60% !important;
    box-shadow: none !important;
}

#content #frm_checkbox_11-0 label {
    color: #000 !important;
}

#form_contact-form .frm_description, #form_contact-form .frm_primary_label {
    display: none !important;
}

.frm_button_submit:hover {
    background: #535353 !important;
    opacity: 0.8 !important;

}

/* Buttons
================================================== */
.button, .button:hover {
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    margin: 10px 10px 0 0;
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    background: #535353;
    text-decoration: none;
}

.button:hover {
    opacity: .85;
}

.feature .button {
    background-color: #eee;
}

#maillist #mc-embedded-subscribe .button {
    background-color: #eee;
    color: #666;
}

/* Flexslider
================================================== */
.flexslider {
    border: none;
    margin: 0;
}

.not-home .flexslider {
    width: 600px;
    height: 600px;
}

.not-home .flexslider .slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.flex-direction-nav li a {
    width: 38px;
    height: 38px;
    margin: -19px 0 0;
    display: block;
    background: url(images/bg_direction_nav_custom.png) no-repeat 0 0;
    background-position-x: 0px;
    background-position-y: 0px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    text-indent: -9999px;
}

.flexslider li .flex-next {
    background-position: -38px 0;
    right: 20px;
}

.flexslider li .flex-prev {
    left: 20px;
}

.flex-prev, .flex-next {
    font-size: 0;
}

.flex-direction-nav a.flex-next::before, .flex-direction-nav a.flex-prev::before {
    content: '';
}

.flexslider .container {
    position: relative;
}

.flexslider aside {
    display: inline-block;
    position: absolute;
    top: 250px;
    right: 0;
    color: #fff;
    padding: 30px 0;
    width: 100%;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

aside h1 {
    margin-top: 0;
}

aside .button:nth-child(1) {
    background: #f5f5f5;
    color: #4a4942
}

aside .button:nth-child(2) {
    background-color: #535353;
}

aside .button:nth-child(3) {
    background-color: #B7B3AB;
    color: #464542;
}

aside h1 {
    text-transform: uppercase;
    font-weight: 400;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
}

.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. */
}

/* Slick Nav
-------------------------------------------------------------- */
#mobile-menu {
    display: none;
}

.social.mobile-show {
    display: none;
}

/* ======================== MEDIA QUERIES ========================= */

@media screen and (min-width: 1920px) {
    #top {
        background: url(images/assets/header-top.jpg) no-repeat 100% 0;
    }
}

/* ======================== OVER 1280 ========================= */
@media screen and (min-width: 1281px) {

}

/* ======================== 1280 ========================= */
@media screen and (max-width: 1280px) {

}

/* ======================== 1024 ========================= */
@media screen and (max-width: 1024px) {

    section#kitchens, section#bedrooms, #shop-fitting {
        padding: 80px 0 !important;
    }

    #testimonials {
        padding: 40px 0 !important;
    }

    /* #testimonials h2 {
         margin-top: 0 !important;
     }*/

}

/* ======================== 980 ========================= */
@media screen and (max-width: 980px) {

    nav {
        display: none;
    }

    #mobile-menu {
        display: block;
        position: fixed;
        z-index: 10;
        width: 100%;
    }

    #top {
        height: auto;
        position: relative;
        padding-top: 54px;
    }

    .slicknav_menu {
        background: #535353;
    }

    body {

    }

    .button, .button:hover {
        padding: 8px 7px;
    }

    section#kitchens, section#bedrooms, #shop-fitting, #testimonials {
        padding: 25px 0 !important;
    }

    section#kitchens h2, section#bedrooms h2, section#shop-fitting h2, footer h2, #testimonials h2 {
        font-size: 24px;
    }

    /** Header **/
    .social, .contact {
        display: inline-block;
        margin: 10px 0;
    }

    .frm_button_submit, .frm_button_submit:hover {
        background: #878787 !important;
        opacity: 0.8 !important;

    }

    .frm_error {
        text-align: center !important;
    }

    .flex {
        display: block;
    }

    .how-to-main-image {
        margin-left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }
}

/* ======================== 800 ========================= */
@media screen and (max-width: 800px) {

    #testimonials h2 {
        margin: 25px 0 !important;
    }
}

/* ======================== 768 ========================= */
@media screen and (max-width: 768px) {

}

/* ======================== 640 ========================= */
@media screen and  (max-width: 640px) {

    .img-wrap {
        margin-bottom: 30px;
    }

    #top, footer {
        background: #535353;
        text-align: center;
    }

    /** Slideshow **/
    .flexslider .slides img {
        height: 350px;
        object-fit: cover;
    }

    .flexslider aside {
        bottom: 15px;
        padding: 15px;
        width: 80%;
        margin-right: 10%;
    }

    aside h1 {
        font-size: 24px;
    }

    /** **/
    section#kitchens h2, section#bedrooms h2, section#shop-fitting h2, footer h2 {
        margin-top: 15px;
    }

    .bx-wrapper {
        margin-top: 30px;
    }

    .bx-viewport {
        height: 300px;
    }

    .bx-wrapper .bx-controls-direction a {
        z-index: 2 !important;
    }

    .bxslider .col-sm-3 {
        padding-left: 0;
        padding-right: 0;
    }

    .text-left, .text-right, footer, #credits {
        text-align: center;
    }

    .testimonial-card {
        margin-bottom: 15px;
    }

    /** Footer contact form **/
    .frm_style_formidable-style.with_frm_style, .frm_style_formidable-style.with_frm_style form, .frm_style_formidable-style.with_frm_style .frm-show-form div.frm_description p {
        text-align: center !important;
    }

}

/* ======================== 480 ========================= */
@media screen and  (max-width: 480px) {

    .social {
        display: none;
    }

    .social.mobile-show {
        position: absolute;
        top: 0;
        display: block;
        z-index: 99999;
        left: 15px;
    }

    span.email, span.phone {
        display: block;
        text-align: center;
        margin: 6px 0;
    }

    .flex {
        display: block;
    }

    .banner h1 {
        font-size: 2em;
    }

    footer {
        padding: 30px 0;
    }

    footer h2 {
        margin-top: 30px;
    }

    .home #testimonials {
        padding: 15px;
    }

}

/* ======================== 360 ========================= */
@media screen and  (max-width: 360px) {

}

/* ======================== 320 ========================= */
@media screen and  (max-width: 320px) {

}