

/*--------------------------------------------------------------
	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 >> ----*****----*/

	.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.625rem, 1.575rem + 0.25vw, 1.875rem); /* Min-26 & Max-30 */ margin-top: 0; margin-bottom: clamp(1.25rem, 1.125rem + 0.625vw, 1.875rem); /*30px - 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: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: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: -6px; padding:0; }
	.widget_tag_cloud .tagcloud a, .widget .tagcloud a, .wp-block-tag-cloud a { 
		float:left; font-size: calc(var(--wdtFontSize_Base) - 2px) !important; line-height: var(--wdtLineHeight_Ext); 
		margin: 6px; padding: 12px 18px; font-weight: var(--wdtFontWeight_Base); text-transform: capitalize;
		-webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero); 
		-webkit-box-shadow: inset 0 0 0 1px rgb(var(--wdtHeadAltColorRgb),0.15) !important; 
		box-shadow: inset 0 0 0 1px rgb(var(--wdtHeadAltColorRgb),0.15) !important; 
		text-decoration: 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); padding-right: 50px; }
	.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' viewBox='0 0 100 100'%3E%3Cpath d='M83.5,47.4c0,19.9-16.2,36.1-36.1,36.1c-19.9,0-36.1-16.2-36.1-36.1s16.2-36.1,36.1-36.1C67.4,11.3,83.5,27.5,83.5,47.4z M83.7,76.4c6.4-7.9,10.2-18,10.2-29C93.8,21.8,73.1,1,47.4,1C21.8,1,1,21.8,1,47.4c0,25.6,20.8,46.4,46.4,46.4c11,0,21-3.8,29-10.2 l13.8,13.8c2,2,5.3,2,7.3,0c2-2,2-5.3,0-7.3L83.7,76.4z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M83.5,47.4c0,19.9-16.2,36.1-36.1,36.1c-19.9,0-36.1-16.2-36.1-36.1s16.2-36.1,36.1-36.1C67.4,11.3,83.5,27.5,83.5,47.4z M83.7,76.4c6.4-7.9,10.2-18,10.2-29C93.8,21.8,73.1,1,47.4,1C21.8,1,1,21.8,1,47.4c0,25.6,20.8,46.4,46.4,46.4c11,0,21-3.8,29-10.2 l13.8,13.8c2,2,5.3,2,7.3,0c2-2,2-5.3,0-7.3L83.7,76.4z'/%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(--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; }
	
	


/*----*****---- << 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-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); }



	/* Additional Styles  */

	.wp-block-calendar table:where(:not(.has-text-color)) td, 
	.wp-block-calendar table:where(:not(.has-text-color)) th {
		border-color: rgba(var(--wdtBorderColorRgb),0.15);
	}


/* ----------------------------------------------------------------
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: 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);  
		border: 1px solid rgba(var(--wdtHeadAltColorRgb), 0.15);
		box-shadow: unset;
    	-webkit-box-shadow: unset;
	}


	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a img { 
		width: 100%; height: 100%; object-fit: cover; object-position: center;
		border: 0; transform: scale(1.1); -webkit-transform: scale(1.1); 
		transition: var(--wdt-Ad-Transition); -webkit-transition: var(--wdt-Ad-Transition); 
	}

	.wdt-sidebar-wrapper .widget.widget_media_gallery .gallery .gallery-item a:hover img {
		transform: scale(1); -webkit-transform: scale(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 (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
------------------------------------------------------------------ */


/* ---------------
Image Border
---------------- */

.wdt-sidebar-wrapper .widget.widget_media_image img {
	box-shadow: inset 0 0 0 1px rgba(var(--wdtHeadAltColorRgb), 0.15);
    -webkit-box-shadow: inset 0 0 0 1px rgba(var(--wdtHeadAltColorRgb), 0.15);
}


/* ---------------
Image Border
---------------- */







/*--------------------------------------------------------------
	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(--wdtBodyBGColor); }

	.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); 
		box-shadow: inset 0 0 0 1.5px rgb(var(--wdtAccentTxtColorRgb), 0.3) !important;
		-webkit-box-shadow: inset 0 0 0 1.5px rgb(var(--wdtAccentTxtColorRgb), 0.3) !important;
	}


/*--------------------------------------------------------------
	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; }

	}