/*
Theme Name: CharityFoundation Child
Theme URI: https://themeforest.net/collections/2503200-nicdark-wordpress-themes
Description: Child theme for CharityFoundation.
Author: Nicdark
Author URI: http://www.nicdarkthemes.com
Template: charityfoundation
Version: 1.0
License: http://www.nicdarkthemes.com
License URI: http://www.nicdarkthemes.com
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
Text Domain: charityfoundation-child
*/

/* Add your custom CSS overrides below this line */


/*
   TABLES
*/

.kecosce-post-content table {
    width: 100%;
    margin: 35px 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 13px;
    letter-spacing: 1.1px;
    line-height: 1.6;
}

.kecosce-post-content table td,
.kecosce-post-content table th {
    padding: 12px 14px;
    border: 1px solid #ddd;
    color: #555;
    text-align: left;
    vertical-align: top;
}

/* Header row (your first row uses <td><strong>, so target it directly) */
.kecosce-post-content table thead th,
.kecosce-post-content table tr:first-child td {
    background: #1882BA;
    border-color: #1882BA;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    vertical-align: middle;
}

.kecosce-post-content table tr:first-child td strong {
    color: #fff;
}

/* Remove paragraph spacing and empty paragraphs inside cells */
.kecosce-post-content table td p {
    margin: 0;
    letter-spacing: inherit;
    font-size: inherit;
    line-height: inherit;
}

.kecosce-post-content table td p:empty {
    display: none;
}

/* First column (County) */
.kecosce-post-content table tr:not(:first-child) td:first-child {
    background: #f6f6f6;
    color: #333;
}

.kecosce-post-content table td strong {
    color: #333;
    font-weight: 700;
}

@media (max-width: 900px) {
    .single-post article table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .single-post article table td {
        min-width: 150px;
    }
}