

/*--------------------------------------------------------------
	Widgets
--------------------------------------------------------------*/

	/*----*****---- << Transitions >> ----*****----*/

	.widget ul li:before, .widget ul li:hover:before, .widget.widget_archive ul li > a span, .widget.widget_archive ul li > a:hover span, .widget.widget_categories ul li > a span, .widget.widget_categories ul li > a:hover span, .widget .recent-portfolio-widget ul li a:before, .widget .recent-portfolio-widget ul li a:after, .widget.widget_flickr ul li a:before { -webkit-transition:all 0.3s linear; -moz-transition:all 0.3s linear; -o-transition:all 0.3s linear; -ms-transition:all 0.3s linear; transition:all 0.3s linear; }


	/*----*****---- << WP Widget Defaults >> ----*****----*/

	.wdt-sidebar-wrapper { 
		clear: both; float: left; 
		padding: clamp(3.125rem, 2.875rem + 1.25vw, 4.375rem) clamp(1.25rem, 1rem + 1.25vw, 2.5rem); /* 70px - 50px //  40px - 20px */
		background-color: var(--wdtTertiaryColor); }

	.widget { clear:both; float: left; margin-bottom: clamp(2.5rem, 2.25rem + 1.25vw, 3.75rem); /* 60px - 40px */
		padding: 0; position: relative; width: 100%; 
		-webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero); 
		-webkit-box-shadow: unset; box-shadow: unset; }

	.widgettitle, .widget_block > h2, .widget .wp-block-search__label, 
	.widget_block .wp-block-group .wp-block-group__inner-container > h2 { 
		clear:both; display: inline-block; font-size: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem); /* Min-24 & Max-36 */ 
		margin-top: 0; 
		margin-bottom: clamp(1.25rem, 1rem + 1.25vw, 2.5rem); /* 40px - 20px */
		padding-bottom:0; position: relative; }

	.widgettitle:before, .widget_block > h2:before, .widget .wp-block-search__label:before, 
	.widget_block .wp-block-group .wp-block-group__inner-container > h2:before { 
		content:""; height:0; position:absolute; bottom:0; left:0; width:0; }

	.widgettitle.aligncenter:before { right: 0; margin: auto;}

	.widgettitle.alignright { margin-left: 0; }
	.widgettitle.alignright:before { right: 0; left: auto; }

	.widget ul, .widget ol { clear:both; float:left; margin:0; padding:0; width:100%; }

	.widget ul li, .widget ol li { border-bottom:1px solid; clear:both; display:block; margin:0; padding:10px 0 10px 0; position:relative; width:100%; }
	.widget .widgettitle + ul > li:first-child, .widget .widgettitle + ol > li:first-child,
	.widget ul li:first-child:not(:only-child), .widget ol li:first-child:not(:only-child) { padding-top:0; }
	.widget ul li:last-child:not(:only-child), .widget ol li:last-child:not(:only-child) { border-bottom-width: 0; padding-bottom: 0; }

	.widget ul li > a, .widget ol li > a { display:inline-block; line-height: var(--wdtLineHeight_Base); width:100%; }
	.widget ul li:last-child:not(:only-child) > a, .widget ol li:last-child:not(:only-child) > a { padding-bottom:0; }


	/* Archives & Categories Widget */
	.widget_categories label, .widget_archive label { color: var(--wdtBodyTxtColor); display:inline-block; font-size:var(--wdtFontSize_Base); font-weight: 600; margin:0 0 10px; width: 100%; }
	.widget.widget_categories ul li > a { position:relative; /*text-transform:capitalize;*/ }
	/* .widget.widget_categories ul li, .widget.widget_archive ul li { text-align-last: justify; } */
	.widget.widget_categories ul li > a, .widget.widget_archive ul li > a { width: auto; }
	.widget.widget_categories ul li > a span, .widget.widget_archive ul li > a span { float: right; padding: 0; }


	/* Nav Menu Widget */
	.widget.widget_nav_menu ul.menu li:first-child { padding-top: 0; }
	.widget.widget_nav_menu ul.menu li > a { display:inline-block; line-height: var(--wdtLineHeight_Base); width:100%;  }

	.widget.widget_nav_menu ul li { padding:0; }
	.widget.widget_nav_menu ul li, .widget.widget_nav_menu ul li:last-child { border-width: 0 !important; }
	.widget.widget_nav_menu ul li a { border-bottom: 1px solid; padding:10px 0; }
	.widget.widget_nav_menu ul li a:empty { display:none; }
	.widget.widget_nav_menu > div[class*="menu-container"] > ul > li:last-child:not(:only-child) > a { border-bottom-width: 0; padding-bottom: 0; }


	/* RSS Widget */
	.widget_rss h3.widgettitle > a.rsswidget > img { display: none; margin-right:5px; margin-top: -3px; }
	.widget_rss ul li > a.rsswidget { font-weight: var(--wdtFontWeight_Alt); }
	.widget_rss ul li .rssSummary { margin-top: 0.5em; margin-bottom: 0.5em; }
	.widget_rss ul li .rss-date, .widget_rss ul li cite { font-size: 0.8em; }

	/* TagCloud Widget */
	.widget_tag_cloud .tagcloud, .widget .tagcloud { float:left; clear:both; width:100%; margin: 0 -18px -18px 0; padding:0; }
	.widget_tag_cloud .tagcloud a, .widget .tagcloud a, .wp-block-tag-cloud a { 
		float:left; font-size: var(--wdtFontSize_Ext) !important; line-height: normal; margin:0 18px 18px 0; 
		padding: 12px 28px; -webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero);
		-webkit-box-shadow: none !important; box-shadow: none !important;
		border: 1px solid rgb(var(--wdtBorderColorRgb),0.15); }

	.wp-block-tag-cloud a { display: inline-block; float: none; }
	.wp-block-tag-cloud a:not(:focus) { text-decoration: none; }


	/* Search Form */
	
	.widget #searchform { margin-bottom: 5px; max-width: 100%; position:relative; width: 100%; }
	.widget #searchform .wdt-search-icon { display: none; }
	.widget #searchform input[type="text"] { padding-right: 50px; height: clamp(3.75rem, 3.625rem + 0.625vw, 4.375rem); /* 70  -60 */ 
		width: 100%; border: 1px solid rgba(var(--wdtBorderColorRgb),0.15); box-shadow: unset; -webkit-box-shadow: unset; }
	.widget #searchform input[type="text"]:focus { border-color: var(--wdtSecondaryColor); }
	.widget #searchform input[type="submit"] { position: absolute; right: clamp(0.5rem, 0.475rem + 0.125vw, 0.625rem); 
		top: 0;  bottom: 0; padding: 0; margin: auto 0; height: clamp(3.125rem, 2.9808rem + 0.641vw, 3.75rem); }

	.widget_block .wp-block-search { margin-bottom: 0; }
	.widget_block .wp-block-search .wp-block-search__inside-wrapper { flex-wrap: wrap; position: relative; }
	.widget_block .wp-block-search__label { color: var(--wdtHeadAltColor); 
		font-family: var(--wdtFontTypo_Alt); font-weight: var(--wdtFontWeight_Alt); line-height: var(--wdtLineHeight_Alt); }
	.widget_block .wp-block-search .wp-block-search__button { margin-bottom: 0; }

	.widget_block .wp-block-search .wp-block-search__button { background-color: transparent;
		color: var(--wdtLinkColor); position: absolute; font-size: 0; top: 2px; right: 2px; bottom: 2px; 
		width: 48px; margin: 0; padding: 8px; border: none; }
	.widget_block .wp-block-search .wp-block-search__button:hover { color: var(--wdtLinkHoverColor); }

	.widget_block .wp-block-search .wp-block-search__button.has-icon { font-size: 17px; }

	.widget_block .wp-block-search .wp-block-search__button:not(.has-icon):before {
		content: ""; position: relative; display: block; width: 26px; height: 26px; 
		background-color: var(--wdtPrimaryColor); -webkit-transition: background-color .3s ease; transition: background-color .3s ease;
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cpath d='M97.7,83.7L80.1,66.1c4.1-6.7,6.3-14.3,6.3-22.4c0-11.4-4.4-22.1-12.5-30.2C65.8,5.4,55.1,1,43.7,1 C32.3,1,21.6,5.4,13.5,13.5S1,32.3,1,43.7c0,11.4,4.4,22.1,12.5,30.2s18.8,12.5,30.2,12.5c8,0,15.7-2.2,22.4-6.3l17.7,17.7 c1.7,1.7,4.5,1.7,6.2,0l7.8-7.8C99.4,88.2,99.4,85.4,97.7,83.7z M20.5,66.9c-6.2-6.2-9.6-14.4-9.6-23.2c0-8.8,3.4-17,9.6-23.2 c6.2-6.2,14.4-9.6,23.2-9.6c8.8,0,17,3.4,23.2,9.6c6.2,6.2,9.6,14.4,9.6,23.2c0,8.8-3.4,17-9.6,23.2c-6.2,6.2-14.4,9.6-23.2,9.6 C34.9,76.4,26.7,73,20.5,66.9z'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cpath d='M97.7,83.7L80.1,66.1c4.1-6.7,6.3-14.3,6.3-22.4c0-11.4-4.4-22.1-12.5-30.2C65.8,5.4,55.1,1,43.7,1 C32.3,1,21.6,5.4,13.5,13.5S1,32.3,1,43.7c0,11.4,4.4,22.1,12.5,30.2s18.8,12.5,30.2,12.5c8,0,15.7-2.2,22.4-6.3l17.7,17.7 c1.7,1.7,4.5,1.7,6.2,0l7.8-7.8C99.4,88.2,99.4,85.4,97.7,83.7z M20.5,66.9c-6.2-6.2-9.6-14.4-9.6-23.2c0-8.8,3.4-17,9.6-23.2 c6.2-6.2,14.4-9.6,23.2-9.6c8.8,0,17,3.4,23.2,9.6c6.2,6.2,9.6,14.4,9.6,23.2c0,8.8-3.4,17-9.6,23.2c-6.2,6.2-14.4,9.6-23.2,9.6 C34.9,76.4,26.7,73,20.5,66.9z'/%3E%3C/svg%3E");
		-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; 
		-webkit-mask-size: 20px auto; mask-size: 20px auto; }
	.widget_block .wp-block-search .wp-block-search__button:not(.has-icon):hover:before { background-color: var(--wdtSecondaryColor); }

	.widget .wp-block-search .wp-block-search__inside-wrapper  input[type="search"] {
		padding-right: clamp(2.5rem, 2.375rem + 0.625vw, 3.125rem); border: 1px solid rgba(var(--wdtBorderColorRgb),0.15); 
		box-shadow: unset; -webkit-box-shadow: unset; }
	.widget .wp-block-search .wp-block-search__inside-wrapper  input[type="search"]:focus { border-color: var(--wdtSecondaryColor); }


	/* WP-Calendar Widget */
	.widget #wp-calendar { border-collapse: collapse; }
	.widget #wp-calendar caption { font-size: var(--wdtFontSize_Base); font-weight: 600; margin-top: -0.35em; margin-bottom: 10px; }
	.widget #wp-calendar td { padding: 0.5em 0; }
	.widget #wp-calendar td#next { text-align: right; }
	.widget #wp-calendar td#prev { text-align: left; }

	.widget.widget_calendar .wp-calendar-nav { display: flex; justify-content: space-between; }
	.widget.widget_calendar .wp-calendar-nav span.pad { display: none; }


	/* Block Widgets */
	.widget.widget_block .wp-block-calendar,
	.widget.widget_block .wp-block-archives-dropdown, .widget.widget_block .wp-block-categories-dropdown, 
	.widget.widget_block .wp-block-latest-comments__comment-excerpt > *:last-child { margin-bottom: 0; }

	.widget.widget_block .wp-block-calendar table caption, .widget.widget_block .wp-block-calendar table tbody { color: var(--wdtBodyTxtColor); }

	.widget.widget_block .wp-block-archives-dropdown > label:first-child + select,
	.widget.widget_block .wp-block-archives-dropdown > label:first-child + select + .select2-container, 
	.widget.widget_block .wp-block-categories-dropdown > label:first-child + select,
	.widget.widget_block .wp-block-categories-dropdown > label:first-child + select + .select2-container { margin-bottom: 0; }

	.widget.widget_block .wp-block-archives-dropdown label:not(.screen-reader-text), 
	.widget.widget_block .wp-block-categories-dropdown label:not(.screen-reader-text) { margin-top: -0.35em; vertical-align: top; }

	/* .widget.widget_block .wp-block-latest-posts.wp-block-latest-posts__list .wp-block-latest-posts__post-excerpt, 
    .widget.widget_block .wp-block-latest-comments li.wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt { font-size: 0.9em; line-height: var(--wdtLineHeight_Base); } */

	.widget.widget_block .wp-block-latest-posts.wp-block-latest-posts__list li:last-child .wp-block-latest-posts__post-excerpt { margin-bottom: 0; }
	.widget.widget_block .wp-block-latest-posts.wp-block-latest-posts__list .wp-block-latest-posts__post-excerpt { margin-top: 0.5em; margin-bottom: 0.5em; }

	.widget.widget_block .wp-block-loginout form > p.login-remember label { display: inline-flex; vertical-align: top; }
	.widget.widget_block .wp-block-loginout form > p.login-remember label input#rememberme { margin-right: 8px; }
	.widget.widget_block .wp-block-loginout form > p:last-child { margin-bottom: 0; }

	.widget.widget_block .wp-block-social-links li.wp-social-link { float: none; width: auto; padding: 0; }
	.widget.widget_block .wp-block-social-links li.wp-social-link a { display: inherit; line-height: 0; padding: .25em; }
	
	


/*----*****---- << Common & Custom Widget Styles >> ----*****----*/

	/* Common Styles */

	.widget.widget_archive ul ul li:last-child, .widget.widget_categories ul ul li:last-child, 
    .widget.widget_meta ul ul li:last-child, .widget.widget_nav_menu ul.menu ul li:last-child, 
	.widget.widget_pages ul ul li:last-child { border-bottom-width: 1px; }

	.widget.widget_nav_menu ul li ul.sub-menu, .widget.widget_pages ul li ul.children, 
    .widget.widget_block .wp-block-page-list li ul.submenu-container { padding-left: 5%; width:100%;  }

	.widget.widget_archive ul li ul, .widget.widget_categories ul li ul,
	.widget.widget_nav_menu ul.menu li ul, .widget.widget_pages ul li ul,
	.widget.widget_block .wp-block-page-list li ul.submenu-container,
	.widget.widget_block .wp-block-page-list li ul { padding-left: 5%; padding-top: 0; }

	.widget.widget_archive ul li, .widget.widget_categories ul li,
	.widget.widget_nav_menu ul.menu li, .widget.widget_pages ul li,
	.widget.widget_meta ul li, .widget.widget_text ul li,
	.widget.widget_block .wp-block-page-list li { padding: 0; }

	.widget.widget_archive ul li > a, .widget.widget_categories ul li > a,
	.widget.widget_nav_menu ul.menu li > a, .widget.widget_pages ul li > a,
	.widget.widget_meta ul li > a, .widget.widget_text ul li > a,
	.widget.widget_block .wp-block-page-list li > a,
	.widget.widget_block .wp-block-page-list li a,
    .widget.widget_block .wp-block-page-list li ul > li a{ padding: 10px 0; }

	.widget.widget_archive ul li:first-child > a, .widget.widget_categories ul li:first-child > a,

	.widget.widget_pages ul li:first-child > a, .widget.widget_nav_menu ul.menu li:first-child > a,
	.widget.widget_meta ul li:first-child > a, .widget.widget_text ul li:first-child > a,
	.widget.widget_block .wp-block-page-list li:first-child > a { padding-top: 0; }

	.widget.widget_archive ul ul.children li > a, .widget.widget_archive ul ul.children li:first-child > a,
	.widget.widget_categories ul ul.children li > a, .widget.widget_categories ul ul.children li:first-child > a,
	.widget.widget_nav_menu ul ul.children li > a, .widget.widget_nav_menu ul ul.children li:first-child > a,
	.widget.widget_nav_menu ul ul.sub-menu li > a, .widget.widget_nav_menu ul ul.sub-menu li:first-child > a,
	.widget.widget_pages ul ul.children li > a, .widget.widget_pages ul ul.children li:first-child > a,
	.widget.widget_block .wp-block-page-list li ul.submenu-container li > a,
	.widget.widget_block .wp-block-page-list li ul.submenu-container li:first-child > a,
	.widget.widget_block .wp-block-page-list li ul li:first-child > a { padding-top: 10px; }

	.widget.widget_archive ul ul.children li > a, .widget.widget_archive ul ul.children li:last-child > a,
	.widget.widget_categories ul ul.children li > a, .widget.widget_categories ul ul.children li:last-child > a,
	.widget.widget_nav_menu ul ul.children li > a, .widget.widget_nav_menu ul ul.children li:last-child > a,
	.widget.widget_nav_menu ul ul.sub-menu li > a, .widget.widget_nav_menu ul ul.sub-menu li:last-child > a,
	.widget.widget_pages ul ul.children li > a, .widget.widget_pages ul ul.children li:last-child > a,
	.widget.widget_block .wp-block-page-list li ul.submenu-container li > a,
	.widget.widget_block .wp-block-page-list li ul.submenu-container li:last-child > a { padding-bottom: 10px; }

	.widget.widget_block .wp-block-page-list li ul.submenu-container li:last-child,
	.widget.widget_block .wp-block-page-list li ul li:last-child { border-bottom-width: 1px; }
	

	.widget .recent-posts-widget li:before, .widget .recent-posts-widget li:hover:before,
	.widget .recent-portfolio-widget ul li:before, .widget .recent-portfolio-widget ul li:hover:before { content:""; }

	.widget.widget_media_video .mejs-layers .mejs-overlay-button { background-color: transparent; }

	.widget_recent_entries ul li > a { width: auto; }
	.widget.widget_recent_posts .recent-posts-widget .entry-title h4 a[href*="title-should-not-overflow-the-content-area"] { word-break: break-all; }
	.widget.widget_recent_posts .recent-posts-widget .entry-title h4 { font-size: 1em; }

	/* .widget.widget_recent_posts .recent-posts-widget ul li:first-child .entry-image { top: 6px; }
	.widget.widget_recent_posts .recent-posts-widget .entry-image { position: absolute; max-width: 65px; top: 18px; }
	.widget.widget_recent_posts .recent-posts-widget .entry-image ~ *[class*="entry-"] { padding-left: 80px; }
	.widget.widget_recent_posts .recent-posts-widget .entry-image ~ *[class*="entry-"] h4 { margin-top: 10px; } */

	.widget_recent_comments ul li.recentcomments > a { font-family: var(--wdtFontTypo_Alt); font-weight: 400; line-height: var(--wdtLineHeight_Alt); }
	.widget_recent_comments ul li.recentcomments .comment-author-link a { font-weight: 500; }

	.widget_text form .selection-box + br:last-child { display: none; }
	.widget > p:last-child, .widget > p:only-child,
	.widget .plugin-description > p:last-child, .widget .plugin-description > p:only-child { margin-bottom: 0; }

	.widget .select2-container { margin-bottom: 5px; }

	.widget:not(.widget_text) a:not(:focus) { text-decoration: none; }

	.widget .wp-block-tag-cloud {
		display: flex;
		flex-wrap: wrap;
		width: auto;
		margin: -6px;
	}




/* ----------------------------------------------------------------
Custom Style For Widget Gallery
------------------------------------------------------------------ */

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery { display: grid; gap: 14px; margin: 0; }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item { 
	max-width: 100%; padding: 0; margin: 0; border: 1px solid rgb(var(--wdtBorderColorRgb),0.15); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a { margin: 0; overflow: hidden;  }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a img { 
	transition: var(--wdtBaseTransition); -webkit-transition: var(--wdtBaseTransition);
	transform: scale(1); -webkit-transform: scale(1); border: 0;
 }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a:hover img { transform: scale(1.1); -webkit-transform: scale(1.1); }

/* gallery column style */

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-1 { grid-template-columns: repeat(1,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-2 { grid-template-columns: repeat(2,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-3 { grid-template-columns: repeat(3,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-4 { grid-template-columns: repeat(4,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5 { grid-template-columns: repeat(5,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6 { grid-template-columns: repeat(6,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7 { grid-template-columns: repeat(7,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8 { grid-template-columns: repeat(8,1fr); }

.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9 { grid-template-columns: repeat(9,1fr); }


/* responsive */

@media (max-width:1540px) {
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5 { grid-template-columns: repeat(4,1fr); }
}

@media (max-width:1280px) {
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-4 { grid-template-columns: repeat(3,1fr); }
}

@media (max-width:1024px) {
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-4 { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 767px) {
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-4 { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 479px) {
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-4,
	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-3 { grid-template-columns: repeat(2,1fr); }
}


/* ----------------------------------------------------------------
Custom Style For Widget Gallery
------------------------------------------------------------------ */



/*--------------------------------------------------------------
	Colors
--------------------------------------------------------------*/

	.widget ul li, .widget ol li, .widget.widget_nav_menu ul.menu li, .widget.widget_nav_menu ul li a { 
		border-color: rgba(var(--wdtBorderColorRgb),0.15); }

	.widget #wp-calendar td a { color:rgba(var(--wdtHeadAltColorRgb),0.5); }
	.widget_tag_cloud .tagcloud a, .widget .tagcloud a, .wp-block-tag-cloud a { background: var(--wdtAccentTxtColor); }

	.wdt-dark-bg .widget input[type="text"], .wdt-dark-bg .widget input[type="password"], .wdt-dark-bg .widget input[type="email"], .wdt-dark-bg .widget input[type="url"], .wdt-dark-bg .widget input[type="tel"], .wdt-dark-bg .widget input[type="number"], .wdt-dark-bg .widget input[type="range"], .wdt-dark-bg .widget input[type="date"], .wdt-dark-bg .widget textarea, .wdt-dark-bg .widget input[type="search"], .wdt-dark-bg .widget select, .wdt-dark-bg .widget.widget_categories ul li > a span, .wdt-dark-bg .widget.widget_archive ul li > a span { background:rgba(var(--wdtBodyBGColorRgb),0.15); }

	.wdt-dark-bg .widget .selection-box:before { border-top-color:rgba(var(--wdtBodyBGColorRgb),0.15); }
	.wdt-dark-bg .widget .selection-box:after { background:rgba(var(--wdtBodyBGColorRgb),0.05); }

	.wdt-dark-bg .widget ul li, .wdt-dark-bg .widget.widget_nav_menu ul.menu li { border-color:rgba(var(--wdtBodyBGColorRgb),0.2); }

	.wdt-dark-bg .widget #wp-calendar td a { color:rgba(var(--wdtAccentTxtColorRgb),0.5); }
	.wdt-dark-bg .tagcloud a { background:rgba(var(--wdtBodyBGColorRgb),0.15); }

	.tagcloud a:hover, .wp-block-tag-cloud a:hover, #footer .wdt-dark-bg .tagcloud a:hover, #footer .tagcloud a:hover { 
		color:var(--wdtHeadAltColor) !important; }

	.widget #searchform:hover:before { color: var(--wdtAccentTxtColor); }

/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

    /* Primary Color */
	.widget ul li > a:hover, .widget .recent-posts-widget li .entry-meta p span, .widget #wp-calendar td a:hover,

	.wdt-dark-bg .widget #wp-calendar td a:hover { color: var(--wdtPrimaryColor); }

	.widgettitle:before, .widget_block > h2:before, .widget .wp-block-search__label:before, .widget_block .wp-block-group .wp-block-group__inner-container > h2:before, .tagcloud a:hover, .wp-block-tag-cloud a:hover, 

	.wdt-dark-bg .widget.widget_categories ul li > a:hover span, #footer .wdt-dark-bg .widget.widget_categories ul li > a:hover span, #footer .wdt-dark-bg .widget.widget_archive ul li > a:hover span, .wdt-dark-bg .tagcloud a:hover { background-color: var(--wdtPrimaryColor); }


	.tagcloud a:hover, .wp-block-tag-cloud a:hover, .wdt-dark-bg .tagcloud a:hover { border-color: var(--wdtPrimaryColor); }


/*--------------------------------------------------------------
	Responsive
--------------------------------------------------------------*/


	@media only screen and (min-width:1025px) and (max-width:1280px) {

		.tagcloud a { margin:0 4px 10px 0; }
		.widget #searchform input[type="text"] { font-size: 12px; padding-left: 12px; }
		.widget #searchform input[type="submit"] { padding: 0 }
		.widget #searchform:before, .widget #searchform input[type="submit"] { width: 40px; }

	}

	@media only screen and (min-width:768px) and (max-width:1024px) {

		.widgettitle { font-size:20px; }

		.tagcloud a { margin:0 4px 10px 0; }

	}


	@media only screen and (max-width: 767px) {

		.tagcloud a { margin:0 5px 10px 0; }

	}