/**
 *
 * @category            WordPress_Theme
 * @package             NNC-Coins
 * @author              NNC IT
 * @license             GPL-2.0+
 * @copyright           Copyright: (c) 2017
 *
 * @wordpress-theme
 *
 * Theme Name:          NNC Coins
 * Theme URI:           https://northernnevadacoin.net/wordpress
 * Description:         NNC Coins - Starter child theme for Extra theme from <a href="http://www.elegantthemes.com/gallery/extra/">Elegant Themes</a>
 * Version:             20251218.1
 * Author:              NNC IT
 * License:             GPL-2.0+
 * License URI:         http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:         NNC-Coins
 * Domain Path:         /languages
 *
 * GitHub Theme URI:    https://github.com/NorthernNevadaCoin/NNC-Coins
 * GitHub Branch:       master
 *
 * Tags: child-theme, Extra Theme
 *
 * Template:            Extra
 *
 * Requires at least: 6.7.x
 * Tested up to:      6.7.2
 * Requires PHP:      7.x
 *
 * WC requires at least: 9.8.0
 * WC tested up to: 9.8.0
 *
 * Support URI:         https://northernnevadacoin.net/wordpress
 * Documentation URI:   https://northernnevadacoin.net/wordpress
 *
 * Released under the GPL license
 * http://www.opensource.org/licenses/gpl-license.php
 *
 * This is an add-on for WordPress
 * http://wordpress.org/
 *
 * **********************************************************************
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * **********************************************************************
*/
/* @import url("../Extra/style.css"); */

/* =Child Theme customization starts here
-------------------------------------------------------------- */
/**
@import url('/css/typography.css');
@import url('/css/layout.css');
 */

/*@import url('/css/tribe-events.css');
@import url('/css/contact-form7.css');*/

h1, h1 a {
    font-size: 30px !important;
}

h2, h2 a {
    font-size: 26px !important;
}

h3, h3 a {
    font-size: 22px !important;
}

h4, h4 a {
    font-size: 18px !important;
}

h5 {
    font-size: 16px !important;
}

h6 {
    font-size: 14px !important;
}

h2.woocommerce-loop-product__title, h2.woocommerce-loop-product__title a {
    font-size: 16px !important;
    font-weight: 500;
}

/** start block -> stop forcing width of featured images **/
.post-thumbnail img {
    display: block;
    width: auto;
    margin: auto;
}

img {
    display: block;
    width: auto;
    margin: auto;
}


#footer {
    color: #f8f8f8;
}

/** fixed footer bottom **/
#footer-bottom {
    background-color: #232323;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
}

/** stop block -> stop forcing width of featured images **/
.posts-blog-feed-module.masonry .post-content {
    padding-top: 20px;
}

.et_pb_pagebuilder_layout .post-content a {
    color: red;
}

.et_pb_widget .widgettitle {
    font-size: .8em;
    background-color: #60017a;
}

.tbl-versions td {
    padding: 1em;
}

#perfect-quotes-2 li {
    margin: 1em;
    font-size: 1em;
}

.et_post_meta_wrapper > img {
    height: 350px;
    width: auto;
}


/* Fixes `related products` on mobile displays */
@media only screen and ( max-width: 441px), all {
    .woocommerce div.product .related li.product:nth-child(n), .woocommerce-page div.product .related li.product:nth-child(n) {
        max-width: 100% !important;
    }
}


/* search & filter fix - fields were being cut off */
.widget_search_filter_register_widget form {
    width: 99% !important;
    padding-left: 7px;
}

/* Fixes checkout credit/debit card image widths.  Without this, they take up the max width of the payment area. */
#payment ul.payment_methods li.payment_method_trustcommerce label[for="payment_method_trustcommerce"] img {
    width: 75px;
    display: inline;

}

/* Global Paragraph Link Styles */
p a {
    color: #c0911c !important;
}

p a:hover {
    color: #dca620 !important;
    text-decoration: underline;
}

.logo {
    width: 400px !important;
}

#logo {
    text-align: left;
    display: inline-block;
}

#main-header-title {
    display: inline-block;
    padding: 30px 0 0 15px;
    font-family: 'Open Sans', Arial, sans-serif !important;
    color: #efefef;
    font-size: 1.2em;
    font-weight: bold;
    vertical-align: top;
    transition: all ease;

}

.et_fixed_nav .et-fixed-header #main-header-title {
    padding-top: 20px;
    font-size: 1em;
    transition: all ease;
}

@media (max-width: 832px) {
    #logo {
        height: 40px !important;
    }
}

@media (max-width: 441px) {
    #main-header-title {
        display: none !important;
    }

    .logo {
        width: initial !important;
        height: initial !important;
    }

    #logo {
        height: 100px !important;
    }
}

/* Price Styles */
div.product-wrapper span.woocommerce-Price-amount, .product span.woocommerce-Price-amount {
    /*background: #505050;*/
    padding: 3px 6px;
    border-radius: 3px;
    color: #dca620;
}

.et_pb_widget .widgettitle {
    background-color: #242424 !important;
    font-size: .9em;
}

.woocommerce-product-search {

}

#woocommerce-product-search-field-0 {
    width: 70%;
    height: 30px;
    padding: 0 !important;
    margin: 0 !important;
}

/* Pagination Button Styles */
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.current, .woocommerce-page nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background: #daa520 !important;
}


/* Hide product pagination */
div.et_pb_extra_column_main > nav.woocommerce-pagination {
    /*display: none;*/
}


/* SP - share links */
.woocommerce div.product div.summary .product-share-links, .woocommerce-page div.product div.summary .product-share-links {
    background: #daa520;
}

/* SP - Accordion */
.woocommerce-page div.product .extra-woocommerce-details-accordion .header {
    background: #565656;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* SP - Accordion Title Icons */
.ui-accordion-header-icon:before {
    color: #daa520 !important;
}

/* SP - Title Color */
.woocommerce-page div.product .extra-woocommerce-details-accordion .header .title {
    color: #efefef;
}


/* SP - Accordion content */
.extra-woocommerce-details-accordion .content {
    background: #fefefe !important;
}

div.woocommerce-MyAccount-content mark {
    background-color: #d8d8d8;
    padding: 0 5px;
    border-radius: 5px;
}

/* Mobile fixes for divi gear product carousel */
/*
@media only screen and (max-width: 1024px) {
    .with_sidebar .woocommerce ul.products li.product, .with_sidebar .woocommerce-page ul.products li.product,
    .with_sidebar.woocommerce ul.products li.product, .with_sidebar.woocommerce-page ul.products li.product {
        width: 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        margin: 0 0 0 -1px !important
    }
}

@media only screen and (max-width: 768px) {
    .with_sidebar .woocommerce ul.products li.product, .with_sidebar .woocommerce-page ul.products li.product,
    .with_sidebar.woocommerce ul.products li.product, .with_sidebar.woocommerce-page ul.products li.product {
        width: 60% !important;
        max-width: 60% !important;
        min-width: 60% !important;
        -webkit-flex-basis: 60%;
        -ms-flex-preferred-size: 60%;
        flex-basis: 60%;
        margin: 0 0 0 -1px !important
    }
    .dgpc_product_carousel_0.dgpc_product_carousel .woocommerce .products .product .price {
        line-height: 3em !important;
    }
    ul.products li.product .price span.amount {
        font-size: 28px !important;
    }
}

@media only screen and (max-width: 420px) {
    .with_sidebar .woocommerce ul.products li.product, .with_sidebar .woocommerce-page ul.products li.product,
    .with_sidebar.woocommerce ul.products li.product, .with_sidebar.woocommerce-page ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        margin: 0 0 0 -1px !important
    }
}
*/

/* Add to Cart button style to 'on hover' */

.woocommerce ul.products li.product .button.nnc_already_added {
    opacity: 1 !important;
    text-transform: initial !important;
    -webkit-transform: translatey(0) !important;
    transform: translatey(0) !important;
    z-index: 9;
}

.woocommerce ul.products li.product .button.nnc_already_added:before {
    font-family: 'ET-Extra' !important;
    content: '\e631';
    vertical-align: middle;
    color: inherit;
    font-size: 1.3em;
    padding: 0 10px 0 0;
}

.woocommerce ul.products li.product {
    overflow: hidden;
}

.woocommerce ul.products li.product:hover .button, .woocommerce ul.products li.product a.added_to_cart {
    -webkit-transform: translatey(0) !important;
    transform: translatey(0) !important;
    z-index: 9;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .button.loading,
.woocommerce ul.products li.product .button.added {
    background-color: #dfaf4b !important;
    opacity: 0.6;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #202020 !important;
    color: #dfaf4b !important;
    opacity: 0.9;
    transition: 0.35s;
}

.woocommerce ul.products li.product .button.loading,
.woocommerce ul.products li.product .button.added {
    -webkit-transform: translatey(0) !important;
    transform: translatey(0) !important;
    opacity: 1 !important;
}

.woocommerce ul.products li.product .button.added:before {
    content: '';
}

.woocommerce ul.products li.product .button.loading:hover,
.woocommerce ul.products li.product .button.added:hover {
    background-color: #dfaf4b !important;
    color: initial !important;
}

.woocommerce ul.products li.product a.added_to_cart {
    padding: 10px;
    background-color: #dfaf4b !important;
    color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 5px;
    font-weight: 600;
}

.woocommerce ul.products li.product a.added_to_cart:hover {
    background-color: #202020 !important;
    color: #dfaf4b !important;
}

.woocommerce ul.products li.product a.added_to_cart:before {
    font-family: 'ET-Extra' !important;
    content: '\e631';
    vertical-align: middle;
    color: inherit;
    font-size: 1.3em;
    padding: 0 10px 0 0;
}

@media (min-width: 1132px) {
    .woocommerce ul.products li.product .button {
        position: absolute;
        top: 0;
        -webkit-transform: translatey(-150%);
        transform: translatey(-150%);
        -webkit-transition: 0.35s;
        transition: 0.5s;
        margin-top: 10px;
        margin-left: 10px !important;
    }

    .woocommerce ul.products li.product a.added_to_cart {
        position: absolute;
        top: 50px;
        -webkit-transform: translatey(-150%);
        transform: translatey(-150%);
        -webkit-transition: 0.35s;
        transition: 0.35s;
        margin-top: 10px;
        margin-left: 10px !important;
    }
}

@media (max-width: 1132px) {
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product a.added_to_cart {
        margin: 7px auto 0 auto;
        width: 55%;
        display: block;
        text-align: center;
        opacity: 0.9;
    }
}

.nnc_location_abb {
    border-radius: 3px;
    padding: 0px 4px;
    color: #202020;
    box-shadow: 1px 1px 1px 1px #979797;
    font-size: .8em;
    display: block;
    max-width: 40px;
    margin: 0 auto;
    text-align: center;
}

.product_meta {
    margin-bottom: 10px;
}