

/*--------------------------------------------------------------
	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 >> ----*****----*/

	.secondary-sidebar .wdt-sidebar-wrapper {
		display: block;
		clear: both;
		float: left;
		width: 100%;
		padding: clamp(1.875rem, 1.625rem + 1.25vw, 3.125rem) clamp(1.25rem, 0.875rem + 1.875vw, 3.125rem);  /*50px- 30px*/ /*50px- 20px*/
		background-color: var(--wdtTertiaryColor);
	}

	.widget { clear:both; float: left; margin-bottom: 50px; padding: 0; position: relative; width: 100%; 
		-webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero); background-color: transparent;
	}

	.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.625rem, 1.575rem + 0.25vw, 1.875rem); /* Min-26 & Max-30 */
		margin-top: 0; margin-bottom: 30px; padding-bottom:0; position: relative;
		font-family: var(--wdtFontTypo_Alt); font-weight: var(--wdtFontWeight_Alt);
	 }

	/* .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:3px; position:absolute; bottom:0; left:0; width:35px; } */

	.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: 14px 0 14px 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:only-child, .widget > ol > li:only-child { border: 0; padding: 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; }
	.wdt-sidebar-wrapper .widget.widget_archive #archives-dropdown--1 { border-color: var(--wdtBorderColor) }
	.wdt-sidebar-wrapper .widget .select2-container--default .select2-selection--single { border-color: var(--wdtBorderColor) !important; }
	.wdt-sidebar-wrapper .widget .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--wdtPrimaryColor) !important; }


	/* 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 -10px -10px 0; padding:0; }
	.widget_tag_cloud .tagcloud a, .widget .tagcloud a, .wp-block-tag-cloud a { float:left; font-size:var(--wdtFontSize_Base) !important; line-height: 1; margin:0 10px 10px 0; padding: 10px 20px; -webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero); -webkit-box-shadow: none !important; box-shadow: none !important; }

	.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%; background: none; }
	.widget #searchform .wdt-search-icon { display: none; }
	.widget #searchform input[type="text"] { padding-right: clamp(3.125rem, 3rem + 0.625vw, 3.75rem); /*60px - 50px*/  height: clamp(3.125rem, 3rem + 0.625vw, 3.75rem); /*60px - 50px*/ width: 100%; color: var(--wdtHeadAltColor); border-color: var(--wdtBorderColor); }
	.widget #searchform input[type="text"]:focus { border-color: var(--wdtPrimaryColor); }
	.widget #searchform input[type="text"]::placeholder { color: var(--wdtHeadAltColor); }
	.widget #searchform input[type="submit"] { position: absolute; right: clamp(0rem, -0.15rem + 0.75vw, 0.75rem); /*12px - 0px*/ 
		top: 0; padding: 0; margin: 0; height: clamp(3.125rem, 3rem + 0.625vw, 3.75rem); /*60px - 50px*/ 
		transform: unset; -webkit-transform: unset; box-shadow: unset; -webkit-box-shadow: unset; }

	.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__input { border-color: var(--wdtBorderColor); }
	.widget_block .wp-block-search .wp-block-search__input:focus { border-color: var(--wdtPrimaryColor); }
	.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: 0; transform: unset; -webkit-transform: unset; box-shadow: unset; -webkit-box-shadow: unset;}
	.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(--wdtLinkColor); -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='M62.2,74.5C82.5,74.5,99,58,99,37.7S82.5,1,62.2,1C41.9,1,25.5,17.5,25.5,37.7S42,74.5,62.2,74.5L62.2,74.5z M34.7,37.7 c0-15.2,12.4-27.6,27.5-27.6c15.2,0,27.6,12.4,27.6,27.6c0,15.2-12.4,27.6-27.6,27.6C47.1,65.3,34.7,52.9,34.7,37.7z'/%3E%3Cpath d='M16.7,96.3l22.5-22.5c-5.2-3.3-9.6-7.8-13-13L3.7,83.3c-3.6,3.6-3.6,9.4,0,13C7.3,99.9,13.1,99.9,16.7,96.3z'/%3E%3C/svg%3E%0A");
        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='M62.2,74.5C82.5,74.5,99,58,99,37.7S82.5,1,62.2,1C41.9,1,25.5,17.5,25.5,37.7S42,74.5,62.2,74.5L62.2,74.5z M34.7,37.7 c0-15.2,12.4-27.6,27.5-27.6c15.2,0,27.6,12.4,27.6,27.6c0,15.2-12.4,27.6-27.6,27.6C47.1,65.3,34.7,52.9,34.7,37.7z'/%3E%3Cpath d='M16.7,96.3l22.5-22.5c-5.2-3.3-9.6-7.8-13-13L3.7,83.3c-3.6,3.6-3.6,9.4,0,13C7.3,99.9,13.1,99.9,16.7,96.3z'/%3E%3C/svg%3E%0A");
        -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(--wdtLinkHoverColor); }



	/* 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; }






	/* Product Search */

	.widget.woocommerce.widget_product_search form.woocommerce-product-search {
		position: relative;
	}

	.widget.woocommerce.widget_product_search form.woocommerce-product-search input {
		border-color: var(--wdtSecondaryColor);
		padding-right: 50px;
	}

	.widget.woocommerce.widget_product_search form.woocommerce-product-search input:focus {
		border-color: var(--wdtPrimaryColor);
	}

	.widget.woocommerce.widget_product_search form.woocommerce-product-search button {
		background: none;
		margin: 0;
		padding: 0;
		font-size: 0;
		position: absolute;
		top: 2px;
		bottom: 0;
		right: 34px;
		margin: auto;
		width: 20px;
		height: 20px;
		color: var(--wdtLinkColor);
		transform: unset;
		-webkit-transform: unset;
		box-shadow: unset;
		-webkit-box-shadow: unset;
	}

	.widget.woocommerce.widget_product_search form.woocommerce-product-search button:hover {
		color: var(--wdtLinkHoverColor);
	}

	.widget.woocommerce.widget_product_search form.woocommerce-product-search button:before {
		content: '\0816';
		font-family: "karimotors-extra-icons";
		font-style: normal;
		font-weight: normal;
		position: relative;
		display: block;
		width: 100%;
		height: 100%;
		font-size: 18px;
	}
	
	


/*----*****---- << Common & Custom Widget Styles >> ----*****----*/

	/* Common 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: 0px;
} */

.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.wp-block-navigation__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.wp-block-navigation__submenu-container {
	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 {
	padding: 14px 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.wp-block-navigation__submenu-container li>a,
.widget.widget_block .wp-block-page-list li ul.wp-block-navigation__submenu-container li:first-child>a {
	padding-top: 14px;
}

.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.wp-block-navigation__submenu-container li>a,
.widget.widget_block .wp-block-page-list li ul.wp-block-navigation__submenu-container li:last-child>a {
	padding-bottom: 14px;
}

.widget.widget_block .wp-block-page-list li ul.wp-block-navigation__submenu-container 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: calc(var(--wdtFontSize_Base) + 0px);
	/* text-transform: uppercase; */
	line-height: var(--wdtLineHeight_Alt);
	margin-bottom: 0;
}

.widget.widget_recent_posts .recent-posts-widget .entry-title h4 a {
	color: var(--wdtHeadAltColor);
}

.widget.widget_recent_posts .recent-posts-widget .entry-title h4 a:hover {
	color: rgb(var(--wdtLinkHoverColorRgb),1);
}

/* .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_Base); font-size: var(--wdtFontSize_Base); font-weight: var(--wdtFontWeight_Alt); line-height: var(--wdtLineHeight_Alt);
}

.widget_recent_comments ul li.recentcomments .comment-author-link a {
	font-weight: var(--wdtFontWeight_Alt);
}

.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;
}

.sidebar-image-container a.wdt-button {
	position: absolute;
	bottom: 22px;
	right: 0;
	left: 0;
	background: transparent;
	color: var(--wdtAccentTxtColor);
	width: fit-content;
	margin: auto;
	font-family: var(--wdtFontTypo_Alt);
	text-transform: uppercase;
	font-weight: var(--wdtFontWeight_Alt);
}

.sidebar-image-container a.wdt-button:hover {
	color: var(--wdtLinkHoverColor);
}

.sidebar-image-container img {
	margin-bottom: 0px;
}

	.wdt-sidebar-wrapper .widget.widget_block input { border-color: var(--wdtBorderColor); }

	.wdt-sidebar-wrapper .widget.widget_block input:focus { border-color: var(--wdtPrimaryColor); }



	/* ----------------------------------------------------------------
	Custom Style For Widget Gallery
	------------------------------------------------------------------ */

	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery { display: grid; gap: 10px; margin: 0; }

	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item { max-width: 100%; padding: 0; margin: 0; border: 0; }

	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a { 
		margin: 0; overflow: hidden; position: relative; border-radius: var(--wdtRadius_Zero); -webkit-border-radius: var(--wdtRadius_Zero);  }

	/* .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a:after {
		content: ""; position: absolute; 
		transition: var(--wdt-Ad-Transition); -webkit-transition: var(--wdt-Ad-Transition);
		background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 100%);
		background: -moz-linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 100%);
		background: -webkit-linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 100%);
		background: -ms-linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 100%);
		height: 100%; width: 50%; left: -100%; top: 0; z-index: 2; transform: skewX(-25deg); -webkit-transform: skewX(-25deg);
	} */

	/* .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a:hover:after {
		animation: wdt-cus-image-overlay-effect-animation 1s; -webkit-animation: wdt-cus-image-overlay-effect-animation 1s; } */

	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a img { 
		border: 0; transform: scale(1); -webkit-transform: scale(1); 
		transition: var(--wdtAltTransition); -webkit-transition: var(--wdtAltTransition); }

	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a:hover img {
		transform: scale(1.2); -webkit-transform: scale(1.2); }

	/* 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 (min-width: 1025px) and (max-width:1280px) {
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-9,
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-8,
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-7,
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-6,
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-5,
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-4,
		.secondary-sidebar .wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-3 { grid-template-columns: repeat(2,1fr); gap: 16px; } }

	@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,
		.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery.gallery-columns-3 { grid-template-columns: repeat(3,1fr); gap: 8px; }
	}

	@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); gap: 6px; }
	}


	/* ----------------------------------------------------------------
	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(--wdtHeadAltColorRgb),0.2); }

	.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(--wdtSecondaryColor); color: 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(--wdtAccentTxtColor) !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: calc(var(--wdtFontSize_Base) - 2px); padding-left: 16px; }
		.widget #searchform input[type="submit"] { padding: 0 }
		.widget #searchform:before, .widget #searchform input[type="submit"] { width: 40px; mask-size: 16px auto; -webkit-mask-size: 16px auto; }

	}

	@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; }

	}