/*
Theme Name: The Fox Child
Description: Child theme for The Fox Theme
Template: fox
Version: 0.1

Merriweather Regular. Licensed under the OFL 1.1. See: https://wickedtruths.org/wp-content/themes/fox-child/fonts/merriweather-ofl.txt

Oswald Variable Font Weight. Licensed under the OFL 1.1. See: https://wickedtruths.org/wp-content/themes/fox-child/fonts/oswald-ofl.txt
*/

:root {
    --orange: #db4a36;
    --orange-light: #d07766;
}

.strikethrough {
    text-decoration: line-through;
}

label[for="cren_subscribe_to_comment"] {
    font-size: 0.9em !important;
    margin-left: 1rem !important;
    vertical-align: middle !important;
}

.commentlist p {
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

.videoContainer {
    margin-bottom: 2rem;
}

div.entry-content h2:first-child, div.entry-content blockquote:first-child {
    margin-top: 0;
    margin-bottom: 4rem;
    padding-top: 0;
}

blockquote {
    margin: 3rem 3rem 4rem !important;
    padding: 0 !important;
}

#ez-toc-container {
    margin-top: 0;
    margin-bottom: 3rem;
}

blockquote + p {
    margin-top: 3rem;
}

ul li {
    line-height: 2;
    word-wrap: break-word;
}

ul ul {
    margin-bottom: 0;
}

/* Featured image single thumbnail (hero). */
.thumbnail-main img {
    border: none;
}

img {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

figure p {
    margin-bottom: 0;
}

figure img,
figure iframe {
    width: 100%;
    max-width:100%;
    height:auto 
}

figure iframe {
    aspect-ratio: 16 / 9;
}

figure figcaption,
.post-thumbnail-standard figcaption {
    margin: 0.4rem 0 0 !important;
    padding: 1rem !important;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    color: #2b2b2b !important;
    font-size: 13px !important;
    font-style: italic !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
}

.wp-block-audio figcaption,
.wp-block-video figcaption {
    margin: -0.4rem 0 0 !important;
    padding: 0 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    color: #2b2b2b;
    font-size: 13px !important;
    font-style: italic;
    text-align: center;
    /*width: 100%;*/
    /*max-width: none;*/
}

figure.wp-block-gallery.has-nested-images figure figcaption {
    /*background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);*/
    background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.5) 80%,transparent) !important;
    /*background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 80%,transparent);*/
    color: white !important;
    padding-bottom: 0.5rem !important;
}

.wp-block-gallery.has-nested-images figure figcaption a {
    color: var(--orange-light) !important;
}

.wp-block-table > figcaption {
    margin-top: -20px;
}

.wp-block-image.is-resized figcaption {
    display: block;
}

figcaption .mfp-title {
    color: white;
}

/* Simply Gallery */
.pgc-rev-lb-b-view .pgc-rev-lb-b-item-title {
    font-size: 14px !important;
    font-family: "merriweather-regular-webfont", sans-serif;
}

button.mfp-close,
button.mfp-arrow-left,
button.mfp-arrow-right {
    color: white !important;
}

button.mfp-close:hover,
button.mfp-arrow-left:hover,
button.mfp-arrow-right:hover {
    color: var(--orange) !important;
}

.header-search-form .searchform {
    margin-top: 0.5rem;
}

.cookie-notice-container {
    border-top: 1px solid black;
}

.header-search-form .searchform .s {
    background-color: white;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
}

.wp-block-column iframe {
    min-height: 200px;
}

/*
.wp-block-column figure img {
    width: unset;
    height: unset;
}
*/

article div.entry-content > iframe:first-child {
    margin-bottom: 3.5rem;
}


/* tweak list styles */
article div.entry-content ul {
    list-style-type: disc;
}

article div.entry-content ul ul {
    list-style-type: circle;
}

article div.entry-content ol li {
    line-height: 2;
}

/* Fix gallery issues. */
figure.wp-block-gallery {
    margin-bottom: 3.5rem;
}

figure.wp-block-gallery figcaption {
    width: 100%;
}

figure.wp-block-gallery ul li:last-child {
    margin-bottom: 0;
}

/* Cookie button. */
#cn-accept-cookie.cn-button {
    border-radius: 0;
}

/* Fix category description layout. */
div.archive-description p {
    line-height: 2;
    margin: 0 0 1rem 0;
}

div.archive-description p:first-child {
    line-height: 2;
    margin: 0.7rem 0;
}

/* Fix Ninja Forms layout */
.nf-form-content .ninja-forms-field {
    padding: 0 12px !important;
}

.page-id-733 .page-title,
.page-id-745 .page-title {
    text-align: center;
}

.page-id-6586 .container {
    width: auto;
}

@media only screen and (max-device-width: 480px) {
    .wp-block-column {
        margin-bottom: 1.5em;
    }

    .wp-block-column:last-child {
        margin-bottom: 0;
    }

    .wp-block-file:last-child {
        margin-bottom: 1.5em;
    }

    .control-flow {
        margin-top: 1.5em;
    }

    .wp-block-column blockquote {
        margin-top: 0 !important;
    }

    .wp-block-column:last-child blockquote {
        margin-bottom: 0 !important;
    }

    .wp-dark-mode-side-toggle-wrap.floating, .wp-dark-mode-switcher.floating {
        bottom: 1px;
    }

    .wp-dark-mode-side-toggle-wrap.left_bottom, .wp-dark-mode-switcher.left_bottom {
        left: 1px;
    }
}

.dark-blue {
    color: #0D47A1;
}

.dark-green {
    color: #00a100;
}

.align-right-children {
    display: flex;
    justify-content: end;
}

.underline {
    text-decoration: underline black;
}

.margin-bottom {
    margin-bottom: 1.5em;
}

.margin-bottom-none {
    margin-bottom: 0 !important;
}

.margin-top-none {
    margin-top: 0 !important;
}

.margin-none {
    margin: 0 !important;
}

.border-none * {
    border: none !important;
}

/** Dark Theme.
 * Make cards dark gray instead of same color as background.
 */
html.wp-dark-mode-active .blog-card-normal .post-item-inner {
    background-color: #2d2d2d;
}

.wp-dark-mode-side-toggle-wrap.floating, .wp-dark-mode-switcher.floating {
    bottom: 1px;
}

.wp-dark-mode-side-toggle-wrap.left_bottom, .wp-dark-mode-switcher.left_bottom {
    left: 1px;
}

.menu li:hover > a:hover {
    color: #db4a37;
}

html.wp-dark-mode-active .sticky-header-background {
    background-color: #242525;
}

.col-vertical-align {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

figure.is-provider-rumble-com iframe {
    width: 100% !important;
    height: auto !important;
}


/*.menu ul a {*/
/*    color: black;*/
/*}*/

/*.menu ul ul > li:hover a{*/
/*    color: #db4a37;*/
/*    background-color: #2d2d2d;*/
/*}*/
