/*----------------------------------------------------------------------------------------------
 *
 *	Base
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg [hidden] {
	display: none !important;
}

.aiovg .widefat {
	max-width: 100%;
}

.aiovg .spinner {
	float: none;
	visibility: visible;
	margin: 0;
}

.aiovg .aiovg-toggle-fields {
	display: none;
}

/* Player */
.aiovg-player {
	display: block;
	position: relative;
	padding-bottom: 56.25%;
	width: 100%;
	height: 0;	
	overflow: hidden;
}

.aiovg-player iframe {
	position: absolute;
	inset: 0;	
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

/* Block Editor */
.aiovg-block-panel .components-panel__row .aiovg-no-margin {
	margin: 0;
}

.aiovg-block-panel .components-panel__row .components-base-control {
	width: 100%;
}

.aiovg-block-panel .components-panel__row .components-range-control__wrapper {
    flex: 1 1 100%;
}

.aiovg-block-panel .components-panel__row .block-editor-panel-color-gradient-settings {	
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

.aiovg-block-panel .aiovg-block-multiselect:empty {
	display: none;
}

.aiovg-block-panel .aiovg-block-multiselect select.components-select-control__input {	
	padding-right: 8px;
	height: 75px;
	overflow-y: auto;
}

.aiovg-block-panel .aiovg-block-multiselect .components-input-control__suffix {
	display: none;
}

.wp-block-aiovg-categories .components-spinner,
.wp-block-aiovg-search .components-spinner,
.wp-block-aiovg-videos .components-spinner,
.wp-block-aiovg-video .components-spinner {
	display: flex;
	align-items: center;
	width: 100%;
}

.wp-block-aiovg-categories .components-placeholder,
.wp-block-aiovg-search .components-placeholder,
.wp-block-aiovg-videos .components-placeholder {
	display: none;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Utilities
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg .aiovg-block {
	display: block;
}

.aiovg .aiovg-flex {
	display: flex;
}

.aiovg .aiovg-flex-col {
	flex-direction: column;
}

.aiovg .aiovg-flex-grow-1 {
	flex-grow: 1;
}

.aiovg .aiovg-flex-shrink-0 {
	flex-shrink: 0;
}

.aiovg .aiovg-flex-wrap {
	flex-wrap: wrap;
}

.aiovg .aiovg-gap-1 {
	gap: 0.25em;
}

.aiovg .aiovg-gap-2 {
	gap: 0.5em;
}

.aiovg .aiovg-gap-3 {
	gap: 0.75em;
}

.aiovg .aiovg-gap-4 {
	gap: 1em;
}

.aiovg .aiovg-gap-6 {
	gap: 1.5em;
}

.aiovg .aiovg-items-center {
	align-items: center;
}

.aiovg .aiovg-pull-left {
	float: left;
}

.aiovg .aiovg-pull-right {
	float: right;
}

.aiovg .aiovg-clearfix {
	display: block;    
    clear: both;
	content: "";
}

.aiovg .aiovg-no-margin {
	margin: 0;
}

.aiovg .aiovg-margin {
	margin: 1em;
}

.aiovg .aiovg-margin-top {
	margin-top: 1em;
}

.aiovg .aiovg-margin-right {
	margin-right: 1em;
}

.aiovg .aiovg-margin-bottom {
	margin-bottom: 1em;
}

.aiovg .aiovg-margin-left {
	margin-left: 1em;
}

.aiovg .aiovg-no-padding {
	padding: 0;
}

.aiovg .aiovg-padding {
	padding: 1em;
}

.aiovg .aiovg-padding-top {
	padding-top: 1em;
}

.aiovg .aiovg-padding-right {
	padding-right: 1em;
}

.aiovg .aiovg-padding-bottom {
	padding-bottom: 1em;
}

.aiovg .aiovg-padding-left {
	padding-left: 1em;
}

.aiovg .aiovg-no-border {
	border: none;
}

.aiovg .aiovg-shadow {
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.aiovg .aiovg-text-left {
	text-align: left;
}

.aiovg .aiovg-text-right {
	text-align: right;
}

.aiovg .aiovg-text-center {
	text-align: center;
}

.aiovg .aiovg-text-muted {
	color:#757575;
}

.aiovg .aiovg-text-success {
	color: green;
}

.aiovg .aiovg-text-error {
	color:#b31105;
}

.aiovg .aiovg-text-small {
	font-size: 90%;
}

.aiovg .aiovg-font-bold {
	font-weight: 500 !important;
}

/** Animations: Dots */
@keyframes aiovg-dots {
	0%, 20% {
	  content: ".";
	}
	40% {
	  content: "..";
	}
	60% {
	  content: "...";
	}
	90%, 100% {
	  content: "";
	}
}

.aiovg .aiovg-animate-dots:before {
	display: inline-block;
	animation: aiovg-dots 2s linear infinite;
	width: 1.2em;
	content: "";
}

/** Animations: Rotate */
@keyframes aiovg-rotate {
	from {
	  	transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.aiovg .aiovg-animate-rotate {
	animation: aiovg-rotate 1s linear infinite;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Components
 *
 *--------------------------------------------------------------------------------------------*/
/* Metabox UI (Tabs + Accordion) */
.aiovg-metabox-ui .aiovg-tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid #dcdcde;	
	background: #f6f7f7;
}

.aiovg-metabox-ui .aiovg-tab {
	display: flex;	
	align-items: center;
	gap: 0.5em;
	transition: all 0.2s ease;
	border: none;
	border-bottom: 3px solid transparent;
	background: none;
	cursor: pointer;
	padding: 1em 1.5em;	
	color: #5a6065;
	font-weight: 500;
}

.aiovg-metabox-ui .aiovg-tab.aiovg-active {	
	border-color: #2271b1;
	color: #2271b1;
}

.aiovg-metabox-ui .aiovg-accordion {
	border-top: 1px solid #dcdcde;
}

.aiovg-metabox-ui .aiovg-accordion:first-child {
	border-top: none;
}

.aiovg-metabox-ui .aiovg-accordion .aiovg-accordion-header {
	display: flex;
	align-items: center;
	gap: 0.5em;
	outline: none;	
	border: none;
	background: none;
	cursor: pointer;
	padding: 1em;
	width: 100%;
	color: #2271b1;
	font-size: 1.1em;
	font-weight: 500;	
}

.aiovg-metabox-ui .aiovg-accordion[data-collapsible="false"] .aiovg-accordion-header {
	pointer-events: none;
	border-bottom: 1px solid #dcdcde;
	background: #fdfdfd;
}

.aiovg-metabox-ui .aiovg-accordion .aiovg-accordion-header:hover {
	background: #fdfdfd;
}

.aiovg-metabox-ui .aiovg-accordion .aiovg-accordion-header.aiovg-open {
	border-bottom: 1px solid #dcdcde;
	background: #fdfdfd;
}

.aiovg-metabox-ui .aiovg-accordion .aiovg-accordion-header .dashicons {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
	margin-left: auto;
	font-size: 1.2em;
}

.aiovg-metabox-ui .aiovg-accordion .aiovg-accordion-header.aiovg-open .dashicons {
	transform: rotate(360deg);
}

.aiovg-metabox-ui .aiovg-accordion .aiovg-accordion-body {
	display: none;	
	background: #fff;
	padding: 1.5em 1em;
}

.aiovg-metabox-ui .aiovg-accordion[data-collapsible="false"] .aiovg-accordion-body {
	display: block;
}

.aiovg-metabox-ui .description {
	margin: 0;
}

@media screen and (max-width: 599px) {
	.aiovg-metabox-ui .aiovg-tabs {
		justify-content: space-evenly;
	}
}

/* Accordion (HTML <details> Tag) */
.aiovg details.aiovg-accordion {
	transition: background-color 0.3s ease;
	margin-bottom: 8px;
    border: 1px solid #ddd;
	border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;	    
}

.aiovg details.aiovg-accordion:hover {
    background-color: #f1f1f1;
}

.aiovg details.aiovg-accordion[open] {
	border-color: #bbb;
    background-color: #fff;    
}

.aiovg details.aiovg-accordion > summary {
	outline: none;
	cursor: pointer;
	padding: 12px 15px;
	color: #333;
    font-weight: 600;    
}

.aiovg details.aiovg-accordion > div,
.aiovg details.aiovg-accordion > ol {
	margin: 0;
	padding: 12px 15px;
	line-height: 1.6;
    font-size: 14px;
    color: #555;    
}

.aiovg details.aiovg-accordion > ol {
	list-style-position: inside;
}

/* Alert */
.aiovg .aiovg-notice {
	border-radius: 2px;
	padding: 1em; 
}

.aiovg .aiovg-notice-info {	
	border: 1px solid #bfdbfe; 
	background-color: #dbeafe; 
	color: #1f2937;
}

.aiovg .aiovg-notice-success {	
	border: 1px solid #a3cfbb; 
	background-color: #d1e7dd; 
	color: #0a3622;
}

.aiovg .aiovg-notice-error {	
	border: 1px solid #f1aeb5; 
	background-color: #f8d7da; 	
	color: #58151c;
}

/* Form */
.aiovg .aiovg-form-controls {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.aiovg .aiovg-form-control {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.aiovg .aiovg-form-label {
	font-weight: 500;
}

.aiovg .aiovg-form-grid {
	display: grid;
	gap: 1.5em;
}

.aiovg .aiovg-input-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	width: 100%;
}

@media screen and (min-width: 783px) {
	.aiovg-form-horizontal .aiovg-form-control {
		flex-direction: row;
		align-items: flex-start;
	}

	.aiovg-form-horizontal .aiovg-form-label {
		flex-shrink: 0;
		width: 180px;
	}

	.aiovg .aiovg-form-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

/* Checklist */
.aiovg .aiovg-checklist {
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	background-color: rgb( 253, 253, 253 );
	padding: 0 0.5em;	
	width: 100%;
	min-height: 30px;
	max-height: 100px;
	overflow-y: auto;
}

.aiovg .aiovg-checklist ul,
.aiovg .aiovg-checklist li {
	margin: 0;
	padding: 0;	
}

.aiovg .aiovg-checklist ul.children {
	margin-left: 1.25em;
}

.aiovg .aiovg-checklist li::marker {
	content: "";
}

.aiovg .aiovg-checklist label {
	display: block;
	margin: 0.5em 0;
	padding: 0;
	line-height: normal;
}

@media screen and (max-width: 782px) {
	.aiovg .aiovg-checklist label {
		margin: 0.5em 0;
	}
}

/* Table */
.aiovg .aiovg-table th label {
	display: block;
}

@media screen and (min-width: 783px) {
	.aiovg .aiovg-table th[scope="row"] {
		max-width: 150px;
		font-size: 13px;
		font-weight: normal;
	}

	.aiovg .aiovg-table th {
		border: 1px solid #dcdcde;
		background-color: #f6f7f7;
		padding: 1em;
	}
}

/* Media Uploader */
.aiovg .aiovg-media-uploader {
	display: flex;
	gap: 0.25em;
	align-items: center;
}

.aiovg .aiovg-media-uploader button {
	margin: 0;
}

/* Repeatable Fields */
.aiovg .aiovg-repeatable-table {
	margin-top: 0;
	border-collapse: separate !important;
    border-spacing: 2px;
}

.aiovg .aiovg-repeatable-table > tbody > tr {
	background-color: #f6f7f7;
}

.aiovg .aiovg-repeatable-table > tbody > tr:nth-child(even) {
	background: #fdfdfd;
}

.aiovg .aiovg-repeatable-fields {
	display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.5em;
}

.aiovg .aiovg-repeatable-fields label {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 0.25em;
	padding: 0;
	font-size: 90%;
}

.aiovg .aiovg-repeatable-fields button {
	margin: 0;
}

.aiovg .aiovg-sort-handle {
	cursor: move;
	text-align: center;
	color: #2271b1;
}

@media screen and (max-width: 782px) {
	.aiovg .aiovg-repeatable-fields {
		padding: 1em;
	}	

	.aiovg .aiovg-sort-handle .dashicons::before {
		content: "\f11c";
	}
}

/* Modal */
.aiovg-modal {
	position: relative;  	
	margin: 2em auto;
	border-radius: 2px;
	background-color: #fff;
	padding: 1em;  
	width: auto;
	max-width: 640px; 
}

.aiovg-modal .aiovg-notice {
	margin-top: 1.75em;
	padding: 0.75em;
}

.mfp-fade.mfp-bg {
	-webkit-transition: all 0.15s ease-out;
	   -moz-transition: all 0.15s ease-out;
	        transition: all 0.15s ease-out;
	opacity: 0;
}

.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
			transition: all 0.15s ease-out;
	opacity: 0;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* Driver.js */
#aiovg-button-tour .dashicons {
	width: 20px;
	height: 24px;
	vertical-align: middle;
}

.driver-popover.driverjs-theme * {
	font-family: inherit;
}

.driver-popover.driverjs-theme .driver-popover-title {
	color: #135e96;
	font-weight: 500;
}

.driver-popover.driverjs-theme .driver-popover-navigation-btns button {	
	border: 1px solid #2271b1;
	background-color: #f6f7f7;
	color: #2271b1;	
	text-shadow: none;
}

.driver-popover.driverjs-theme .driver-popover-navigation-btns button:hover,
.driver-popover.driverjs-theme .driver-popover-navigation-btns button:focus {	
	border: 1px solid #135e96;
	background-color: #135e96;
	color: #fff;	
}

/*----------------------------------------------------------------------------------------------
 *
 *	Page: Dashboard
 *
 *--------------------------------------------------------------------------------------------*/
#aiovg-dashboard .wp-badge {	
	background: #0073aa url( '../images/logo.png' ) no-repeat top;
}

#aiovg-dashboard .button-hero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

#aiovg-dashboard .aiovg-right-col .about-description {
	font-weight: 500;
}

@media screen and (max-width: 500px) {
	#aiovg-dashboard .button-hero {
		width: 100%;
	}
}

/* Tab: Shortcode Builder */
#aiovg-shortcode-builder {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

#aiovg-shortcode-selector {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	padding: 1em;
}

#aiovg-shortcode-forms {
	display: grid;
	gap: 2em;
}

.aiovg-shortcode-form {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.aiovg-shortcode-section-header {	
	border: 1px solid #ccc; 
	background-color: #e5e5e5; 
	cursor: pointer;
	padding: 0.75em;
}

.aiovg-shortcode-section-header:hover {	
	background-color: #f9f9f9;
}

.aiovg-shortcode-section-header .dashicons-before {	
	color: #0073aa;
}

.aiovg-shortcode-section-header .dashicons-plus {
	display: inline-block;
}

.aiovg-shortcode-section-header .dashicons-minus {
	display: none;
}

.aiovg-active .aiovg-shortcode-section-header .dashicons-plus {
	display: none;
}

.aiovg-active .aiovg-shortcode-section-header .dashicons-minus {
	display: inline-block;
}

.aiovg-shortcode-controls {
	display: flex;
	flex-direction: column;
	gap: 1em;
	border: 1px solid #ccc;
	border-top: none;
	background-color: #fff;
	padding: 1em;
}

.aiovg-shortcode-control {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.aiovg .aiovg-shortcode-control-title,
.aiovg .aiovg-shortcode-control-id,
.aiovg .aiovg-shortcode-control-mp4,
.aiovg .aiovg-shortcode-control-hls,
.aiovg .aiovg-shortcode-control-dash,
.aiovg .aiovg-shortcode-control-youtube,
.aiovg .aiovg-shortcode-control-vimeo,
.aiovg .aiovg-shortcode-control-dailymotion,
.aiovg .aiovg-shortcode-control-rumble,
.aiovg .aiovg-shortcode-control-facebook,
.aiovg .aiovg-shortcode-control-ratio,
.aiovg .aiovg-shortcode-control-tracks,
.aiovg .aiovg-shortcode-control-chapters,
.aiovg .aiovg-shortcode-control-include,
.aiovg .aiovg-shortcode-control-exclude,
.aiovg .aiovg-shortcode-control-title_length,
.aiovg .aiovg-shortcode-control-excerpt_length,
.aiovg .aiovg-shortcode-control-show_more,
.aiovg .aiovg-shortcode-control-more_label,
.aiovg .aiovg-shortcode-control-more_link {
	display: none;
}
 
#aiovg-shortcode-form-video.aiovg-type-default .aiovg-shortcode-control-mp4 {
	display: flex;
}

#aiovg-shortcode-form-video.aiovg-type-adaptive .aiovg-shortcode-control-hls,
#aiovg-shortcode-form-video.aiovg-type-adaptive .aiovg-shortcode-control-dash {
	display: flex;
}

#aiovg-shortcode-form-video.aiovg-type-youtube .aiovg-shortcode-control-youtube {
	display: flex;
}

#aiovg-shortcode-form-video.aiovg-type-vimeo .aiovg-shortcode-control-vimeo {
	display: flex;
}

#aiovg-shortcode-form-video.aiovg-type-dailymotion .aiovg-shortcode-control-dailymotion {
	display: flex;
}

#aiovg-shortcode-form-video.aiovg-type-rumble .aiovg-shortcode-control-rumble {
	display: flex;
}

#aiovg-shortcode-form-video.aiovg-type-facebook .aiovg-shortcode-control-facebook {
	display: flex;
}

#aiovg-shortcode-form-video .aiovg-shortcode-control-ratio {
	display: flex;
}

#aiovg-shortcode-form-categories .aiovg-shortcode-control-id {
	display: flex;
}

#aiovg-shortcode-form-categories.aiovg-template-grid .aiovg-shortcode-control-hierarchical {
	display: none;
}

#aiovg-shortcode-form-categories.aiovg-template-list .aiovg-shortcode-control-columns,
#aiovg-shortcode-form-categories.aiovg-template-list .aiovg-shortcode-control-limit,
#aiovg-shortcode-form-categories.aiovg-template-list .aiovg-shortcode-control-show_description,
#aiovg-shortcode-form-categories.aiovg-template-list .aiovg-shortcode-control-show_pagination {
	display: none;
}

#aiovg-shortcode-form-categories.aiovg-template-dropdown .aiovg-shortcode-control-columns,
#aiovg-shortcode-form-categories.aiovg-template-dropdown .aiovg-shortcode-control-limit,
#aiovg-shortcode-form-categories.aiovg-template-dropdown .aiovg-shortcode-control-show_description,
#aiovg-shortcode-form-categories.aiovg-template-dropdown .aiovg-shortcode-control-show_pagination {
	display: none;
}

@media screen and (min-width: 783px) {
	#aiovg-shortcode-forms { 
		grid-template-columns: 3fr 2fr;
	}
}

/*----------------------------------------------------------------------------------------------
 *
 *	Page: Videos
 *
 *--------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1200px) {
	.post-type-aiovg_videos .wp-list-table th.column-image,
	.post-type-aiovg_videos .wp-list-table td.image {
		display: none !important;
	}
}

/* Video Metabox */
#aiovg-video-metabox .inside {
    margin: 0;
    padding: 0;
}

#aiovg-tab-content-general .aiovg-accordion:first-child .aiovg-accordion-body {
	background-color: #fdfdfd;
}

#aiovg-tab-content-general .aiovg-accordion[data-collapsible="false"] .aiovg-accordion-body .aiovg-form-label {
	font-size: 1.1em;
}

#aiovg-field-mp4 .aiovg-quality-selector label {
	font-size: 90%;
}

#aiovg-add-new-source {
	align-self: flex-start;
}

/* Bunny Stream */
.aiovg-is-bunny-stream .aiovg-sources .aiovg-source:not(:first-child),
.aiovg-is-bunny-stream .aiovg-sources .aiovg-quality-selector,
.aiovg-is-bunny-stream #aiovg-add-new-source {
	display: none !important;
}

.aiovg-is-bunny-stream .aiovg-uploading {
	cursor: wait;
}

.aiovg-is-bunny-stream .aiovg-uploading input[type="text"],
.aiovg-is-bunny-stream .aiovg-uploading button {
	pointer-events: none;
}

#aiovg-bunny-stream-upload-button {
	display: flex;
	align-items: center;
	gap: 0.25em;
	border: none;
	background: linear-gradient( 171.02deg,#ffaf48 4.38%,#ff7854 111.49% );
	line-height: 1;
	color: #fff;
}

#aiovg-bunny-stream-upload-button:hover {
	background: linear-gradient( 53.28deg,#ffaf48 35.53%,#ff7854 79.13% );
}

#aiovg-bunny-stream-upload-button:focus {
	box-shadow: none;
}

.aiovg-uploading #aiovg-bunny-stream-upload-button .dashicons,
.aiovg-uploading #aiovg-bunny-stream-upload-button .dashicons:before {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.aiovg-uploading #aiovg-bunny-stream-upload-button .dashicons {
	animation: aiovg-rotate 1s linear infinite;	
}

.aiovg-uploading #aiovg-bunny-stream-upload-button .dashicons:before {
	content: "\f531";
}

#aiovg-field-mp4:not(.aiovg-is-bunny-stream) .aiovg-upload-status,
.aiovg-is-bunny-stream .aiovg-upload-status:empty {
	display: none;
}

/* Poster Image */
#aiovg-video-image-footer {
	border: 1px solid #dcdcde;
	background-color: rgb( 253, 253, 253 );
	padding: 1em;
}

/* Tracks */
#aiovg-tracks .aiovg-track-src {
	flex-basis: 240px;
	flex-grow: 3;
}

#aiovg-tracks .aiovg-track-label,
#aiovg-tracks .aiovg-track-srclang {
	flex-basis: 80px;
	flex-grow: 1;
}

/* Categories Metabox */
#aiovg_categoriesdiv .categorydiv div.tabs-panel {
    max-height: 240px;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Page: Categories
 *
 *--------------------------------------------------------------------------------------------*/
#aiovg-categories-image-wrapper img {
  	max-width: 200px;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Page: Settings
 *
 *--------------------------------------------------------------------------------------------*/
#aiovg-player-settings.aiovg-player-videojs tr.theme_color {
	display: none;
}

#aiovg-categories-settings.aiovg-template-grid tr.hierarchical {
	display: none;
}

#aiovg-categories-settings.aiovg-template-list tr.columns,
#aiovg-categories-settings.aiovg-template-list tr.limit,
#aiovg-categories-settings.aiovg-template-list tr.show_description {
	display: none;
}

#aiovg-categories-settings.aiovg-template-dropdown tr.columns,
#aiovg-categories-settings.aiovg-template-dropdown tr.limit,
#aiovg-categories-settings.aiovg-template-dropdown tr.show_description {
	display: none;
}

#aiovg-bunny-stream-settings.aiovg-token-authentication-disabled tr.token_authentication_key,
#aiovg-bunny-stream-settings.aiovg-token-authentication-disabled tr.token_expiry {
	display: none;
}

#aiovg-restrictions-settings tr.restricted_roles fieldset {
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #ccc;
	background-color: #fff;
	padding: 0.5em;	
	width: 100%;
	max-width: 500px;
	min-height: 30px;
	max-height: 100px;
	overflow-y: auto;
}

#aiovg-restrictions-settings tr.restricted_roles label {
	line-height: normal;
}

@media screen and ( min-width: 783px ) {
	#aiovg-settings input[type="text"],
	#aiovg-settings input[type="number"],
	#aiovg-settings select {
		width: 25em;
	}
}

/*----------------------------------------------------------------------------------------------
 *
 *	Widgets
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-widget-section-header {
	margin-top: 2em;
	border-radius: 2px; 
	background-color: #0073aa;
	padding: 0.75em; 
	color: #fff; 	
}

.aiovg-widget-section {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.aiovg-widget-field {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.aiovg-widget-form label {
	line-height: normal !important;
}

.aiovg-widget-form .aiovg-widget-label {
	font-weight: 500 !important;
}

.aiovg-widget-form p {
	margin: 0 !important;
}

.aiovg-widget-form-categories.aiovg-template-grid .aiovg-widget-field-hierarchical {
	display: none;
}

.aiovg-widget-form-categories.aiovg-template-list .aiovg-widget-field-columns,
.aiovg-widget-form-categories.aiovg-template-list .aiovg-widget-field-limit,
.aiovg-widget-form-categories.aiovg-template-list .aiovg-widget-field-show_description,
.aiovg-widget-form-categories.aiovg-template-list .aiovg-widget-field-show_more,
.aiovg-widget-form-categories.aiovg-template-list .aiovg-widget-field-more_label,
.aiovg-widget-form-categories.aiovg-template-list .aiovg-widget-field-more_link {
	display: none;
}

.aiovg-widget-form-categories.aiovg-template-dropdown .aiovg-widget-field-columns,
.aiovg-widget-form-categories.aiovg-template-dropdown .aiovg-widget-field-limit,
.aiovg-widget-form-categories.aiovg-template-dropdown .aiovg-widget-field-show_description,
.aiovg-widget-form-categories.aiovg-template-dropdown .aiovg-widget-field-show_more,
.aiovg-widget-form-categories.aiovg-template-dropdown .aiovg-widget-field-more_label,
.aiovg-widget-form-categories.aiovg-template-dropdown .aiovg-widget-field-more_link {
	display: none;
}

.aiovg-widget-form-videos .aiovg-widget-field-include,
.aiovg-widget-form-videos .aiovg-widget-field-exclude,
.aiovg-widget-form-videos .aiovg-widget-field-ratio,
.aiovg-widget-form-videos .aiovg-widget-field-show_count,
.aiovg-widget-form-videos .aiovg-widget-field-title_length,
.aiovg-widget-form-videos .aiovg-widget-field-excerpt_length,
.aiovg-widget-form-videos .aiovg-widget-field-show_pagination {
	display: none;
}

.aiovg-widget-form-video input[type="text"].ui-autocomplete-loading {
	background-position: 99% center;
}

.aiovg-widget-form-video .aiovg-autocomplete-result .dashicons-yes-alt {
	color: green;
}