/*
 Theme Name:   Woodmart Child Entryways Europe
 Description:  Woodmart Child Theme for Entryways Europe
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/*
 *
 *  In the Media page
 *
 */

.in-the-media-loop {
    list-style: none;
    display: block;
    clear: both;
}

.in-the-media-loop li::before {
    content: '' !important;
}

.in-the-media-loop.columns-4 li {
    float: left;
    width: 25%;
    padding: 30px;
    text-align: center;
}

.in-the-media-loop.columns-4 li:nth-child(4n+1) {
    clear: left;
}

.in-the-media-loop img {
    max-height: 70px;
}

@media (max-width:767px) {
    .in-the-media-loop.columns-4 li {
        width: 33%;
    }

    .in-the-media-loop.columns-4 li:nth-child(4n+1) {
        clear: none;
    }

    .in-the-media-loop.columns-4 li:nth-child(3n+1) {
        clear: left;
    }

    .in-the-media-loop img {
        max-height: 55px;
    }
}

@media (max-width:500px) {
    .in-the-media-loop.columns-4 li {
        width: 50%;
    }

    .in-the-media-loop.columns-4 li:nth-child(3n+1) {
        clear: none;
    }

    .in-the-media-loop.columns-4 li:nth-child(2n+1) {
        clear: left;
    }
}


/*
 *
 *  Footer
 *
 */

@media (min-width:1024px) {
    .main-footer .footer-column-1 {
        width: 15%;
    }

    .main-footer .footer-column-2 {
        width: 27%;
    }

    .main-footer .footer-column-2 p {
        line-height: 1.7;
    }

    .main-footer .footer-column-3 {
        width: 27%;
        padding: 0 35px;
        text-align: center;
    }

    .main-footer .footer-column-3 a {}

    .main-footer .footer-column-3 img {
        margin-top: 15px;
    }

    .main-footer .footer-column-4 {
        width: 31%;
        padding-left: 40px;
        text-align: center;
    }
}

.main-footer .footer-column-3 {
    text-align: center;
}



/* This was to separate the contact link, but no longer needed since all links on same domain now */


/*.main-footer #nav_menu-3 li:last-child {
    margin-top: 30px;
}*/

.main-footer .footer-column-3 h5,
.main-footer .footer-column-4 h5 {
    color: #004733;
    text-align: center;
    text-transform: none;
    font-size: 18px;
    font-weight: normal;
}

/* We aren't using the following social menu in the footer anymore */
.main-footer .menu-social-container {
    width: 185px;
    box-sizing: border-box;
    margin: 0 auto;
}

.main-footer #menu-social {
    list-style: none;
    margin: 0;
    padding-bottom: 15px;
    padding-left: 0;
}

.main-footer #menu-social li {
    float: left;
    padding-right: 15px;
}

.main-footer #menu-social li:last-child {
    padding-right: 0;
}

.main-footer #menu-social a {
    font-size: 0px;
}

.main-footer #menu-social a:after {
    display: inline-block;
    font-size: 24px;
    font-family: 'FontAwesome';
    background: #231f20;
    color: #fff;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    text-align: center;
}

.main-footer #menu-social a:hover:after {
    background: #004733;
}

.main-footer .facebook a:after {
    content: '\f09a';
}

.main-footer .twitter a:after {
    content: '\f099';
}

.main-footer .instagram a:after {
    content: '\f16d';
}

.main-footer .linkedin a:after {
    content: '\f08c';
}

/* Instead we are using the social shortcode provided with the Woodmart theme */
.main-footer .woodmart-social-icons .woodmart-social-icon i {
    color: #004733;
}

.main-footer .woodmart-social-icons .woodmart-social-icon:hover i {
    color: #727272;
}

.main-footer .footer-column-4 #text-6 {
    margin-bottom: 15px;
}

.main-footer .widget_rmbaumer_contact_info_widget {
    clear: left;
    margin-bottom: 0;
}

.main-footer .widget_rmbaumer_contact_info_widget p {
    font-size: 18px;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: center;
}

.main-footer .widget_rmbaumer_contact_info_widget span {
    color: #717171;
    font-family: 'Lora';
    font-style: italic;
    padding-right: 2px;
}

.main-footer .widget_rmbaumer_contact_info_widget span a {
    color: #717171;
    text-decoration: underline;
}

.main-footer .widget_rmbaumer_contact_info_widget a {
    color: #000;
}

.main-footer .widget_rmbaumer_newsletter_signup_widget {
    padding-top: 20px;
}

.main-footer .widget_rmbaumer_newsletter_signup_widget form {
    font-family: 'Lora', serif;
    font-style: italic;
}

.main-footer .widget_rmbaumer_newsletter_signup_widget input {
    background: #eee;
    border: 2px solid #004733;
    border-radius: 0px;
    color: #231f20;
    /*font-size: 14px;*/
    text-align: center;
}

.main-footer .widget_rmbaumer_newsletter_signup_widget input::placeholder {
    color: #231f20;
    font-size: 14px;
}

.main-footer .widget_rmbaumer_newsletter_signup_widget button {
    background: #004733;
    display: block;
    width: 100%;
    /*font-size: 14px;*/
    color: #fff;
    border: 1px solid #004733;
}

/* Let's just not do a hover color */
/*.main-footer .widget_rmbaumer_newsletter_signup_widget button:hover {
    background: #231f20;
}*/


/* Disable recaptcha badge and other settings for the newsletter signup (success header message) */

.grecaptcha-badge {
    display: none;
}

.site-notice {
    font-family: sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 25px;
    background-color: #145474;
    color: #fff;
    text-align: center;
    font-size: 18px;
    z-index: 30000;
    display: none;
}

.site-notice p {
    margin-bottom: 0;
}

.admin-bar .site-notice {
    top: 32px;
}

.site-notice-dismiss {
    background: none;
    border: 0;
    color: #fff;
    font-size: 24px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.site-notice-dismiss:hover {
    background: none;
    color: white;
}





/* Contact Us Page */

#CF5aa93302a7874_1-row-3 {
    margin-top: 25px;
}




/* Fix "Merchandising" Category from dropping down to new line on desktop sizes on shop pages categories menu */

.category-nav-link a {
    padding-left: 10px;
    padding-right: 10px;
}




/* Main Shop Page Title (also on category pages) */
.title-size-small .entry-title {
    font-style: italic;
}

.title-size-small .nav-shop .entry-title {
    font-style: normal;
}

@media (min-width:1025px) {
    .title-size-small .nav-shop .entry-title {
        font-size: 40px;
    }
}


/* Top Bar Logo Links to Network Sites */
/* Don't need these anymore, lets just do a single link to DH via an HTML Block CPT
#menu-network-of-sites #menu-item-2547 span,
#menu-network-of-sites #menu-item-2549 span,
#menu-network-of-sites #menu-item-2548 span {
    padding: 0 10px;
}

#menu-network-of-sites #menu-item-2547 span {
    content: url(/wp-content/uploads/sites/2/2018/06/entryways-white-US-logo-15-px.png);
}

#menu-network-of-sites #menu-item-2549 span {
    content: url(/wp-content/uploads/sites/2/2018/06/entryways-white-EU-logo-15-px.png);
}

#menu-network-of-sites #menu-item-2548 span {
    content: url(/wp-content/uploads/sites/2/2018/06/DH_logo_15px.png);
}

.woodmart-navigation #menu-network-of-sites .item-level-0>a {
    text-transform: none;
}

#menu-network-of-sites #menu-item-2547 span:hover,
#menu-network-of-sites #menu-item-2549 span:hover,
#menu-network-of-sites #menu-item-2548 span:hover {
    opacity: .8;
}*/

/* Header - top bar - link for divine home */
.dh-hdr-link {
    border-left: 1px solid rgba(255, 255, 255, .25);
    border-right: 1px solid rgba(255, 255, 255, .25);
    padding: 15px;
    margin-right: 10px;
}

.dh-hdr-link:hover img {
    opacity: .8;
}

/* Change WoodMart cart icon in header to a basket */
/* Don't want this anymore, back to the bag */
/*.woodmart-shopping-cart .woodmart-cart-icon:before {
    content: '\f291';
    font-family: 'FontAwesome';
}*/


/* Hmmm... don't need this if qty and add to basket are on same line, depends on whether we do 2, 3, or 4 column layout */
/*.add_to_cart_button {
    margin-top: 10px;
}*/


/* try to make top bar sticky too */
/*.admin-bar .sticky-header{
    top:74px;
}
.main-header{
    top:42px;
}
.admin-bar .topbar-wrapp{
    position:fixed;
    top:32px;
    width:100%;
    z-index:1000;
}*/


/* Customize the custom header */
.whb-general-header .header-categories-nav,
.whb-general-header .whb-navigation {
    display: none;
}

.whb-sticked .whb-general-header .header-categories-nav,
.whb-sticked .whb-general-header .whb-navigation {
    display: block;
}

.whb-top-bar .whb-html-block-element strong {
    color: #fff;
}

/* Remove buggy product prev/next nav */
/* This is now an option in the theme settings to disable this */
.woocommerce .single-breadcrumbs .woodmart-products-nav {
    display: none;
}

/* Hide add to cart button from home page featured products on hover and in related products section on single product pages */
#home-featured-carousel .woodmart-hover-base.product-in-carousel .woodmart-buttons,
.related-and-upsells .woodmart-hover-base.product-in-carousel .woodmart-buttons {
    display: none !important;
}


/* Form width on my-account page */
@media (min-width:600px) {
    .woodmart-registration-page {
        max-width: 600px;
    }
}

/* Registration page */
.page-id-2853 h3.separator {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid;
}

.copy-billing-info {
    margin-bottom: 25px;
}

/* Caldera Forms - Credit Application */
.caldera-grid ol {
    list-style: decimal;
    margin-left: 20px;
}

.caldera-grid ol li {
    padding-bottom: 10px;
    padding-left: 10px;
}

/* if customer is logged in, don't show welcome instructions on register page */
.logged-in .welcome-to-entryways-registration-note {
    display: none;
}

.logged-in .entryways-account-benefits-message {
    display: none;
}

@media (min-width:768px) {
    .welcome-to-entryways-registration-note {
        font-size: 1.3em;
    }
}

/* Profile page / Media Resources */
/* can do Lora so it's like pdf, but only if someone asks. it would be best to stay consistent with Open Sans */
.funky-bold-text {
    /*font-family:Lora,'MS Sans Serif', Geneva, sans-serif;*/
    line-height: 2.3em;
    font-size: 1.1em;
}

.funky-bold-text strong {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.6em;
    color: #004733;
}

#post-139 .vc_toggle_title h4 {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.6em;
    color: #004733;
}

.funky-bold-text h3 {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.6em;
}

/* Hide price on AJAX search results, it shows default price, not RBP */
.woodmart-search-results .suggestion-price.price {
    display: none;
}

/* Improve size and layout of product images on category pages */
.product-grid-item .product-element-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-grid-item .product-element-top img {
    opacity: 0;
    width: auto !important;
    /*max-width: 100% !important;*/

    /*max-height:100% !important;*/
}

/* fix for function rmb_category_image_height() which breaks the product hover quick view */
.product-grid-item:hover {
    z-index: 50;
}

/* Fix product labels, like "New" so they display on top of product image instead of at top */
.product-grid-item .labels-rounded {
    top: calc(50% - 25px);
}

/* Hide author info */
.woodmart-entry-meta .meta-author {
    display: none;
}

/* Hide elements from not logged in users */
body:not(.logged-in) .logged-in-only {
    display: none;
}

/* Product Care */
.page-id-4300 .entry-content {
    max-width: 820px;
}

/* Wishlist */
.yith-wcwl-add-to-wishlist a:before {
    content: "\f108";
    font-family: woodmart-font;
}

.product-type-grouped .yith-wcwl-add-to-wishlist {
    display: none;
}

.product-type-grouped .wishlist-grouped-single-item .yith-wcwl-add-to-wishlist {
    display: block;
}