/**
 *   Wordpress Default Widgets
 *   =========================
 */


/* 
 ===============
     General
 ===============
*/
.sidebar .widget {
     margin-bottom: 2.5rem;
}

.widget_rss li,
.widget_meta li,
.widget_pages li,
.widget_archive li,
.widget_nav_menu li,
.widget_categories li,
.widget_layered_nav li,
.widget_rating_filter li,
.widget_product_categories li,
.widget_recent_comments li,
.widget_recent_entries li {
     margin-bottom: 0.5rem;
}
.widget_rss li:last-child,
.widget_meta li:last-child,
.widget_pages li:last-child,
.widget_archive li:last-child,
.widget_nav_menu li:last-child,
.widget_categories li:last-child,
.widget_layered_nav li:last-child,
.widget_rating_filter li:last-child,
.widget_product_categories li:last-child,
.widget_recent_comments li:last-child,
.widget_recent_entries li:last-child {
     margin-bottom: 0;
}

.widget_rss li a::before,
.widget_meta li a::before,
.widget_pages li a::before,
.widget_archive li a::before,
.widget_nav_menu li a::before ,
.widget_categories li a::before,
.widget_layered_nav li a::before,
.widget_product_categories li a::before,
.widget_recent_comments li span::before,
.widget_recent_entries li a::before {
     font-family: "Font Awesome 7 Free";
     font-weight: 900;
     content: "\f105";
     font-size: 11px;
     margin-right: 8px;
     vertical-align: middle;
}


.widget_nav_menu .sub-menu,
.widget_pages .children,
.widget_categories .children,
.widget_product_categories .children {
     margin-top: 0;
     clear: both;
}

.widget_nav_menu .sub-menu,
.widget_pages .children li,
.widget_categories .children li,
.widget_product_categories .children li {
     padding-top: 0.5rem;
     padding-left: 1rem;
}

.widget_rss .rss-date,
.widget_recent_entries a+span {
     display: inline;
     color: #767676;
     font-size: 90%;
}

.widget_rss .rss-date:before,
.widget_recent_entries a+span:before {
     content: ' - ';
}

.widget_rss img.rss-widget-icon {
     display: none;
}


/* 
 =================
     WP Widget
 =================
*/

/* WP Calendar Widget */
#wp-calendar {
     width: 100%;
     caption-side: top;
}

#wp-calendar caption {
     font-weight: 600;
     padding: 0 0 10px 0;
     text-align: center;
}

#wp-calendar caption,
#wp-calendar thead th {
     color: inherit;
}

#wp-calendar thead th,
#wp-calendar tbody td {
     text-align: center;
     padding: 10px;
}

#wp-calendar tbody a {
     text-decoration: underline;
}

#wp-calendar tbody .pad {
     background: none;
     border: none;
}

#wp-calendar tfoot #next {
     text-align: right;
}

#wp-calendar #today {
     background-color: var(--theme-color);
}

#wp-calendar #today,
#wp-calendar #today a {
     color: #ffffff;
}

.wp-calendar-nav {
     display: flex;
     justify-content: space-between;
     padding: 10px 10px 0;
}

/**
 *    WP Gallery Widget
 *   ===================
 */
.gallery-item {
     display: inline-block;
     max-width: 33.33%;
     padding: 0 1.1400652% 2.2801304%;
     text-align: center;
     vertical-align: top;
     width: 100%;
     margin: 0
}

.gallery-columns-1 .gallery-item {
     max-width: 100%;
}

.gallery-columns-2 .gallery-item {
     max-width: 50%;
}

.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-item a {
     display: block;
}
.gallery-icon img {
     margin: 0 auto;
}

.gallery-caption {
     font-style: italic;
     padding-top: 5px;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
     display: none;
}


/* WP Image Widget */
.widget_media_image img {
     margin: 0 auto;
     display: block;
}

/* WP Tag Cloud Widget */
.widget_layered_nav_filters li a,
.tagcloud a {
     display: inline-block;
     padding: 0 12px;
     margin-right: 8px;
     margin-bottom: 10px;
     font-size: 13px !important;
     border: 1px solid var(--theme-color);
     color: var(--theme-color) !important;
}
.tagcloud a:before {
     background-color: var(--theme-color);
     color: #ffffff !important;
     filter: none;
}