/* Customizer Scroll CSS */

.accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar {
	width: 6px;
	background-color: #f1f1f1;
}

.accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #d8d8d8;
}

.accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,.3);
    width: 6px;
}

.wp-full-overlay-sidebar:after {
    display: none;
}

#customize-theme-controls .control-section-ast-section-separator{
	margin-top: 15px;
	border-top: 1px solid #ddd;
	display: block !important;
}

.customize-control:not(.customize-control-nav_menu_item) {
	position: relative;
	margin-bottom: 0;
	margin-top: 25px;
}

[ID*="-builder-layout-ast-context-tabs"] {
    margin-top: 10px;
}

.customize-section-title {
	margin: -12px -20px 0 -20px;
}

.customize-section-description-container, #customize-controls .customize-info.section-meta, #customize-controls .customize-info {
	margin-bottom: 0;
}

#customize-controls #sub-accordion-panel-nav_menus .customize-info {
	margin-bottom: 15px;
}

#customize-control-astra-settings-header-transparent-link-heading {
    margin-top: 15px;
}

.components-base-control {
	.components-base-control__field {
    	margin-bottom: 0;
	}
}

.customize-control .customize-inside-control-row {
	padding-top: 0;
	padding-bottom: 0;
}

.customize-control-title {
	display: inline-block;
	margin-bottom: 20px;
    vertical-align: middle;
}

.customize-control-ast-color .customize-control-title, .customize-control-ast-responsive-background .customize-control-title,
.customize-control-ast-background .customize-control-title, .customize-control-ast-responsive-color .customize-control-title {
	display: contents;
}

.customize-control-ast-font-variant .select2 {
	margin-bottom: 12px;
}

.customize-control .ast-control-tooltip {
    position: absolute;
    top: 0;
    right: 0;
}
.customize-control.customize-control-ast-divider .ast-control-tooltip {
    position: absolute;
    top: auto;
    bottom: 3px;
    right: 0;
}
.ast-fields-wrap .customize-control .ast-control-tooltip {
    right: 15px;
    top: 6px;
}

/* Select2 WP 5.3 compatibility */

.customize-control {
    .select2-search {
        input[type="text"] {
            &.select2-search__field {
                min-height: 17px;
            }
        }
    }
}
input[type="text"] {
    &.select2-search__field {
        line-height: 1;
        border-radius: 0;
    }
}

/* CSS for a Description as a Notice. */
.ast-customizer-notice {
    margin: 0 -12px;
    padding: 12px;
}

/* CSS to show popups without scroll */
#customize-theme-controls .control-section.open {
    height: 100%;
    padding: 12px 20px 25px 20px;
}

/* Safari Browser specific CSS */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper {
            display: inline-block;
            width: 100%;
        }
        .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before {
            color: #000000;
            opacity: .75;
        }
        .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select {
            width: 20%;
		}
		.ast-reset-btn {
			&.components-button svg {
				padding: 0px;
    			height: 13px;
			}
		}
    }
}

/* Firefox Browser specific CSS */
@-moz-document url-prefix() {
    .control-section.open .customize-control:last-child {
        margin-bottom: 20px;
    }
}

/* IE Browser specific CSS */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .control-section.open .customize-control:last-child {
        padding-bottom: 20px;
    }
    #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title {
        margin-left: 0px;
        margin-right: 20px;
    }
 }

 .wp-customizer li:not(.customize-control-sidebar_block_editor){
	h1,
	h2,
	h3,
	h4,
	h5,
	h6{
		font-weight: 600;
	}
}

/* Customizer - widget appender bottom space CSS */
.block-list-appender {
    margin-bottom: 20px;
}

.block-editor-block-inspector{
    .block-editor-block-card{
        margin-top: 12px;
    }
}

/* Customizer - builder widget area's block gets round shapes in more-settings tab */
.components-circular-option-picker__option-wrapper::before{
    background: unset;
}

.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper{
	position: relative;
}
