/*!
Theme Name: SOG NC Recovery Resource Hub
Theme URI: https://them.es/starter
Author: Sog Apps Team
Author URI: https://them.es/
Description: SOG NC Recovery Resource Hub
Version: 3.6.1
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: sog-recovery
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

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

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

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

/* Custom Navbar Styles - Moved to main.scss */

/* Keep only essential styles that aren't in main.scss */

#header.navbar .navbar-toggler {
	border-color: white;
}

#header.navbar .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Logo - Original Size */
#header.navbar .navbar-brand img {
	max-height: none !important;
	height: auto !important;
	width: auto !important;
	max-width: none !important;
}
/* =========================================================================
   FEMA Public Assistance Dashboard
   ========================================================================= */

/* Filter row */
.fema-filter-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
        align-items: center;
}

.fema-filter-select {
        flex: 1 1 180px;
        max-width: 260px;
        font-size: 0.875rem;
}

.fema-clear-btn {
        flex: 0 0 auto;
        font-size: 0.875rem;
}

/* Status bar */
.fema-status-bar {
        font-size: 0.8125rem;
        color: #666;
        margin-bottom: 0.5rem;
        min-height: 1.25em;
}

/* Table */
.fema-dashboard-table {
        font-size: 0.8125rem;
}

.fema-dashboard-table thead th {
        white-space: nowrap;
        font-size: 0.8125rem;
        vertical-align: middle;
}

.fema-dashboard-table thead th.currency {
        text-align: right;
}

.fema-dashboard-table td.currency {
        text-align: right;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
}

.fema-project-title {
        max-width: 260px;
}

/* Loading state */
.fema-loading {
        opacity: 0.5;
        pointer-events: none;
        cursor: wait;
}

/* Totals row */
.fema-totals-row {
        font-weight: 600;
        background-color: #f0f0f6 !important;
        border-top: 2px solid #403E7E;
}

.fema-totals-row td {
        padding: 0.75rem 1rem;
}

.fema-totals-label {
        color: #403E7E;
        font-size: 0.8125rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
}

/* Pagination */
.fema-pagination-list {
        flex-wrap: wrap;
}

@media (max-width: 576px) {
        .fema-filter-select {
                max-width: 100%;
                flex: 1 1 100%;
        }
        .fema-clear-btn {
                width: 100%;
        }
}