/*
*
* Theme widget areas and widgets
*
* Code order:

	> Widgets {
		> Global
		> Archives/categories
		> Calendar
		> Featured Posts
		> Featured Tabs
		> Gallery
		> Image
		> Member Profile
		> Navigation Menu
		> Ninja Forms
		> Opt-in Forms
		> Recent Comments
		> Responsive Slider
		> RSS
		> Search
	}

*
*/

/* Global */

.widget:not(:last-child) {
	margin-bottom: 20px;
}

.widget input[type='submit'] {
	width: 100%;
}

/* END */

/* Archives/Categories */

.widget.widget_archive select,
.widget.widget_categories select {
	width: 100%;
	color: #0f0f0f;
	padding: 10px;
	background: #fff;
}

.widget.widget_archive select:focus,
.widget.widget_categories select:focus {
	outline: none;
}

.widget.widget_archive select option,
.widget.widget_categories select option {
	color: #0f0f0f;
}

/* END */


/* Calendar */

.widget.widget_calendar {
	float: left;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 15px 0px #00000030;
}

.widget.widget_calendar h4 {
	color: #0f0f0f;
}

.widget.widget_calendar table {
	width: 100%;
}

.widget.widget_calendar table caption {
	text-align: right;
	color: #0f0f0f;
	font-size: 12px;
	margin-top: 10px;
	margin-bottom: 15px;
}

.widget.widget_calendar table thead {
	font-size: 10px;
}

.widget.widget_calendar table thead th {
	padding-bottom: 10px;
	color: #0f0f0f;
}

.widget.widget_calendar table tbody {
	color: #aaa;
}

.widget.widget_calendar table tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	text-align: center;
	padding: 8px;
	color: #0f0f0f;
}

.widget.widget_calendar table tbody td:hover {
	background: #fff;
}

.widget.widget_calendar table tbody .pad {
	background: none;
}

.widget.widget_calendar table tfoot #next {
	font-size: 10px;
	text-transform: uppercase;
	text-align: right;
	color: #0f0f0f;
}

.widget.widget_calendar table tfoot #prev {
	font-size: 10px;
	text-transform: uppercase;
	padding-top: 10px;
	color: #0f0f0f;
}

/* END */

/* Featured Posts */

.widget.featuredpost article {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.widget.featuredpost span.alignleft:has(.avatar) {
	width: 70px;
}

.widget.featuredpost .avatar {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.widget.featuredpost .entry-content {
	flex-basis: 100%;
}

.widget.featuredpost .entry-title {
	margin-bottom: 0;
	font-size: 24px;
	flex-basis: 70%;
}

.widget.featuredpost .entry-meta {
	font-size: 14px;
	text-align: left;
}

.widget.featuredpost .entry-comments-link {
	display: block;
}

.widget.featuredpost .more-link {
	display: block;
}

/* END */

/* Featured Tabs */

.widget.ui-tabs .ui-tabs-panel {
	background: #ddd;
	padding: 10px 20px;
}

.widget.ui-tabs .ui-tabs-panel p {
	color: #0f0f0f;
}

/* END */


/* Gallery */

.widget.widget_media_gallery .gallery,
.home-default-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 10px;
	justify-items: center;
}

.widget.widget_media_gallery .gallery .gallery-item {
	width: 100% !important;
}

.widget.widget_media_gallery .gallery img,
.home-default-gallery img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: none !important;
}

.widget.widget_media_gallery .gallery > br {
	display: none;
}

/* END */

/* Image */

.widget.widget_media_image img {
	display: block;
	margin: 0 auto;
}

/* END */

/* Member Profile */

.widget.user-profile img {
	margin-right: 10px;
}

.widget.user-profile .pagelink {
	display: block;
}

/* END */

/* Ninja Forms */

.widget.widget_ninja_forms_widget input:not(type=submit),
.widget.widget_ninja_forms_widget textarea {
	color: #0f0f0f;
}

/* END */

/* Opt in Form */

.widget.enews-widget input:not(:last-child) {
	margin-bottom: 10px;
	height: 50px;
	padding: 10px 15px;
	font-weight: 700 !important;
}

.widget.enews-widget .enews p:last-child {
	margin-top: 15px;
}

/* END */

/* Pages */

.widget.widget_pages ul {
	padding-left: 0;
}

/* END */

/* Recent Comments */

.widget.widget_recent_comments .recentcomments {
	color: #fff;
}

/* END */

/* Responsive Slider */

.widget.genesis_responsive_slider .slide-excerpt {
	width: 100%;
}

.widget.genesis_responsive_slider .slides {
	padding: 0;
}

.widget.genesis_responsive_slider .slides * {
	color: #333;
}

.widget.genesis_responsive_slider .slides h2 {
	font-size: 26px;
	margin-bottom: 0;
}

.widget.genesis_responsive_slider .slides p {
	font-size: 16px;
	text-align: left;
}

.widget.genesis_responsive_slider .slides p a {
	display: block;
}

/* END */

/* RSS */

.widget.widget_rss .rssSummary {
	margin: 15px 0;
}

.widget.widget_rss li a {
	font-size: 20px;
	font-weight: 700;
}

.widget.widget_rss .rss-date {
	font-style: italic;
	font-size: 14px;
	display: block
}

.widget.widget_rss ul li:not(:last-child)::after {
	content: '';
	border-bottom: 1px solid #242424;
	width: 70%;
	margin: 0 auto;
	padding-top: 15px;
	margin-bottom: 15px;
	color: #fff;
	display: block;
}

/* END */

/* Search */
.widget.widget_search .search-form {
	flex-direction: column;
}

/* END */

/* WP Table */
figure.wp-block-table {
	border: 2px solid #f0f0f0;
	border-radius: 20px;
}

.wp-block-table td,
.wp-block-table th {
	text-align: start;
}

/* END */
