/*--------------------------------------------------------------
	Sidebar Widget Area
--------------------------------------------------------------*/

    #secondary.secondary-sidebar { margin-bottom: 150px; }
    .secondary-sidebar .widget:last-child { margin-bottom: 0px; }
    .secondary-sidebar .widgettitle,
    .secondary-sidebar .widget .wp-block-group .wp-block-group__inner-container > .wp-block-heading,
    .secondary-sidebar .widget label { display: inline-block; float: none; line-height: 1; margin: 0; width: 100%; 
        padding: clamp(1.25rem, 1.1803rem + 0.3185vw, 1.5625rem) clamp(1.25rem, 1.041rem + 0.9554vw, 2.1875rem); font-size: clamp(1.125rem, 1.0414rem + 0.3822vw, 1.5rem);
        background: var(--wdtHeadAltColor); color: var(--wdtAccentTxtColor); transition: var(--wdt-Ad-Transition); }
    .secondary-sidebar .widget:hover .widgettitle,
    .secondary-sidebar .widget:hover .wp-block-group .wp-block-group__inner-container > .wp-block-heading,
    .secondary-sidebar .widget:hover label { background: var(--wdtPrimaryColor); }
    .secondary-sidebar .widgettitle:before, .secondary-sidebar .widgettitle:after { content:""; }
    .secondary-sidebar .widgettitle:empty { display: none; }
    .secondary-sidebar .widgettitle > a { color: currentColor; }
    .secondary-sidebar > div[class^="type"] { overflow: hidden; }

    .secondary-sidebar .widget_block input:not([type="submit"]),
    .secondary-sidebar .widget input:not([type="submit"]) { border-color: var(--wdtBorderColor); padding-right: 50px; border-radius: var(--wdtRadius_Zero); }
    .secondary-sidebar .widget_block input:focus,
    .secondary-sidebar .widget input:focus { border-color: var(--wdtPrimaryColor); }
    .secondary-sidebar .widget_block .wp-block-search__label, .secondary-sidebar .widget .widgettitle:has( + label) { margin-bottom: 20px; }
    .secondary-sidebar .widget .select2-container--default .select2-selection--single { border-color: var(--wdtBorderColor); }
    .secondary-sidebar .widget:has( > .wp-block-archives-dropdown ),
    .secondary-sidebar .widget:has( > .wp-block-categories-dropdown ) { border-width: 0; }
    .secondary-sidebar .widget .select2-container.select2-container--default .select2-selection--single .select2-selection__rendered { border-radius: var(--wdtRadius_Zero); border-width: 0; }

/*--------------------------------------------------------------
	Sidebar Toggle Style
--------------------------------------------------------------*/

    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget {
        border-bottom: 1px solid var(--wdtBorderColor); margin: 0; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group {
		position: relative; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget:first-child .widget-toggle-group { padding-top: 0; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group .widget-toggle {
        position: relative; font-family: var(--wdtFontTypo_Alt); font-size: var(--wdtFontSize_H5); 
        font-weight: var(--wdtFontWeight_Alt); line-height: var(--wdtLineHeight_Alt); text-transform: capitalize; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group ~ div,
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group ~ form,
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group ~ ul {     
        padding-top: 5px; padding-bottom: 20px; -webkit-transition: all .3s ease; transition: all .3s ease; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget.widget_nav_menu ul.menu > li:last-of-type:not(:has(> ul.sub-menu)) > a { 
        border-bottom: none; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group .wdt-dropdown-arrow {
        position: relative; width: 15px; height: 15px; display: flex; align-items: center; justify-content: center; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group .wdt-dropdown-arrow::after {
        content: ""; display: inline-block; position: relative; width: 10px; height: 10px; top: auto; 
        left: 0; right: 0; bottom: 2px; border-width: 0 2px 2px 0; border-style: solid; border-color: currentColor; 
        -webkit-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: all .3s ease; 
        transition: all .3s ease; margin: auto; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .widget-toggle-group .wdt-dropdown-arrow.rotate-icon::after { 
        -webkit-transform: rotate(180deg); transform: rotate(225deg); bottom: -2px; }
    .secondary-sidebar .wdt-sidebar-wrapper.wdt-sidebartoogle-wrapper .widget .select2-container { width: 100% !important; }

/*--------------------------------------------------------------
	Colors
--------------------------------------------------------------*/

    .secondary-sidebar .widgettitle { color: var(--wdtAccentTxtColor); }
    .secondary-sidebar .widget ul li > a, .secondary-sidebar .tagcloud a { color: var(--wdtHeadAltColor); }
    .secondary-sidebar .widgettitle a { color: inherit; }
    .secondary-sidebar .tagcloud a:hover { color:var(--wdtAccentTxtColor); }

/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

    /* Primary Color */
    .secondary-sidebar .widget ul li > a:hover { color: var(--wdtPrimaryColor); }

/*--------------------------------------------------------------
	Responsive
--------------------------------------------------------------*/

    @media only screen and (min-width:1281px) and (max-width:1540px) {
        .secondary-sidebar .widget #wp-calendar th { font-size: var(--wdtFontSize_Ext); }
        .secondary-sidebar .widget #wp-calendar td { font-size: var(--wdtFontSize_Ext); }
    }

    @media only screen and (min-width:1025px) and (max-width:1280px) {
        /* .secondary-sidebar aside.widget { font-size: var(--wdtFontSize_Ext); } */
        .secondary-sidebar .widget #wp-calendar td { font-size: calc(var(--wdtFontSize_Ext) - 2px); }
        .secondary-sidebar .widget #wp-calendar th { font-size: calc(var(--wdtFontSize_Ext) - 2px); }
        .secondary-sidebar .widget_tag_cloud .tagcloud a, .secondary-sidebar .widget .tagcloud a { 
            font-size: calc(var(--wdtFontSize_Ext) - 1px) !important; padding: 5px 12px; }
        #select2-archives-dropdown--1-results, #select2-cat-results { font-size: calc(var(--wdtFontSize_Ext) - 1px); }
    }

	@media only screen and (max-width: 767px) {
		.secondary-sidebar .widget #wp-calendar th, .secondary-sidebar .widget #wp-calendar td { 
            font-size: var(--wdtFontSize_Ext); }
	}

    /*--------------------------------------------------------------
        Sidebar - Default-Value
    --------------------------------------------------------------*/

    @media only screen and (min-width:1281px) and (max-width:1540px) { #secondary.secondary-sidebar { margin-bottom: 120px; } }
    @media only screen and (min-width:1025px) and (max-width:1280px) { #secondary.secondary-sidebar { margin-bottom: 100px; } }
    @media only screen and (min-width:768px) and (max-width:1024px) { #secondary.secondary-sidebar { margin-bottom: 80px; } }
    @media only screen and (min-width:480px) and (max-width:767px) { #secondary.secondary-sidebar { margin-bottom: 70px; } }
    @media only screen and (max-width: 479px) { #secondary.secondary-sidebar { margin-bottom: 60px; } }