/*----------------------------------------------------------------------------------------------
 *
 *	Base
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg {	
	box-sizing: border-box;
	margin-bottom: 1em;
	line-height: 1.5;
}

.aiovg *, 
.aiovg *:before, 
.aiovg *:after {
	box-sizing: inherit;
}

.aiovg img {
	display: block;	
	border-radius: 0;
	box-shadow: none;
	max-width: 100%;
}

.aiovg h2,
.aiovg h3 {
	margin: 0;
	margin-bottom: 1em;
}

.aiovg .aiovg-player-title {
    font-size: 1.25em;
}

.aiovg a.aiovg-link-title {
	text-decoration: none;
}

.aiovg .aiovg-relative {
	position: relative;
}

.aiovg .aiovg-flex,
.aiovg .aiovg-d-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-justify-center {
	justify-content: 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-text-left {
	text-align: left;
}

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

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

.aiovg .aiovg-leading-none {
	line-height: 1;
}

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

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

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

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

.aiovg .aiovg-text-separator {
	margin: 0 0.125em;
	color: #ccc;
	font-size: 90%;
}

.aiovg .aiovg-disable-mouse-events {
	pointer-events: none;
}

.aiovg .aiovg-hide-if-empty:empty {
	display: none !important;
}

.aiovg [hidden] {
	display: none !important;
}

@media only screen and (max-width: 480px) {
	.aiovg-hidden-mobile {
		display: none !important;
	}
}

@media only screen and (min-width: 481px) {
	.aiovg-hidden-desktop {
		display: none !important;
	}
}

/*----------------------------------------------------------------------------------------------
 *
 *	Icons
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-svg-icon {
	display: inline-block;	
	stroke: none;
	stroke-width: 0;
	fill: #666;
	width: 1em;
	vertical-align: middle;
}

.aiovg-svg-icon-videos {
	margin-top: -2px;
}

.aiovg-svg-icon-play,
.aiovg-svg-icon-locked {
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 3;	
	margin: auto;
	width: 33%;
    height: 33%;
    min-width: 32px;
    min-height: 32px;
    max-width: 64px;
    max-height: 64px;
	fill: #fff;
	filter: drop-shadow( 1px 2px 4px rgba( 0, 0, 0, 0.2 ) );
}

.aiovg-svg-icon-locked {
	min-width: 24px;
	min-height: 24px;
	max-width: 48px;
    max-height: 48px;
}

/*----------------------------------------------------------------------------------------------
 *
 *	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: "";
}

/** Pulse */
@keyframes aiovg-pulse {
	0%, 100% {
	  	opacity: 1;
	}
	50% {
	  	opacity: .5;
	}
}

.aiovg .aiovg-animate-pulse {
	animation: aiovg-pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/** Pulse bar */
@keyframes aiovg-pulse-bar {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

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

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

/** Spinner */
@keyframes aiovg-wait {
	12.5% {
		background-position-x: -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, 0, 0;
	}

	25% {
		background-position-x: -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, 0, 0, 6px, 6px;
	}

	37.5% {
		background-position-x: -4px, -4px, -4px, -4px, -4px, -4px, 0, 0, 6px, 6px, 12px, 12px;
	}

	50% {
		background-position-x: -4px, -4px, -4px, -4px, 0, 0, 6px, 6px, 12px, 12px, -4px, -4px;
	}

	62.5% {
		background-position-x: -4px, -4px, 0, 0, 6px, 6px, 12px, 12px, -4px, -4px, -4px, -4px;
	}

	75% {
		background-position-x:  0, 0, 6px,  6px, 12px, 12px, -4px, -4px,  -4px, -4px,  -4px, -4px;
	}

	87.5% {
		background-position-x:  6px, 6px, 12px, 12px, -4px, -4px, -4px, -4px,  -4px, -4px,  -4px, -4px;
	}

	100% {
		background-position-x: 12px, 12px, -4px, -4px, -4px, -4px, -4px, -4px,  -4px, -4px,  -4px, -4px;
	}
}

.aiovg .aiovg-spinner {
	background: 
		linear-gradient(0deg, #f4f5fa 1px, transparent 0, transparent 8px, #f4f5fa 8px),   /* 6  */
		linear-gradient(90deg, #f4f5fa 1px, #f6f9fb 0, #f6f9fb 3px, #f4f5fa 3px),

		linear-gradient(0deg, #ececf5 1px, transparent 0, transparent 8px, #ececf5 8px),   /* 5  */
		linear-gradient(90deg, #ececf5 1px, #f2f3f9 0, #f2f3f9 3px, #ececf5 3px),

		linear-gradient(0deg, #e7eaf4 1px, transparent 0, transparent 8px, #e7eaf4 8px),   /* 4  */
		linear-gradient(90deg, #e7eaf4 1px, #eef1f8 0, #eef1f8 3px, #e7eaf4 3px),

		linear-gradient(0deg, #b9bedd 1px, transparent 0, transparent 10px, #b9bedd 10px), /* 3  */
		linear-gradient(90deg, #b9bedd 1px, #d0d5e8 0, #d0d5e8 3px, #b9bedd 3px),

		linear-gradient(0deg, #9fa6d2 1px, transparent 0, transparent 15px, #9fa6d2 15px), /* 2  */
		linear-gradient(90deg, #9fa6d2 1px, #c0c5e1 0, #c0c5e1 3px, #9fa6d2 3px),

		linear-gradient(0deg, #8490c6 1px, transparent 0, transparent 15px, #8490c6 15px), /* 1  */
		linear-gradient(90deg, #8490c6 1px, #aeb5da 0, #aeb5da 3px, #8490c6 3px); 

	background-repeat: no-repeat;

	background-size: 
		4px 9px,   /* 6 */
		4px 9px,

		4px 9px,   /* 5 */
		4px 9px,

		4px 9px,   /* 4 */
		4px 9px,

		4px 11px,  /* 3 */
		4px 11px,

		4px 16px,  /* 2 */
		4px 16px,

		4px 16px,  /* 1 */
		4px 16px;

	background-position-x: -4px; /* Hide All */
	background-position-y: 3px, 3px, 3px, 3px, 3px, 3px, 2px, 2px, 0, 0, 0, 0;

    zoom: 1; /* Increase this for a bigger symbol*/	
	width: 16px;
    min-width: 16px;	
	height: 16px;
    min-height: 16px;

    animation: aiovg-wait .80s steps(1, start) infinite;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Grid
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-grid {
    margin: -0.75em;
}

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

.aiovg-col {
    width: 100%;
}

@media only screen and (min-width: 420px) {
    .aiovg-col-xs-2 { 
        width: 50%; 
    }
}

@media only screen and (min-width: 600px) {
    .aiovg-col-sm-3 { 
        width: 33.33%; 
    }  
}

@media only screen and (min-width: 768px) {
	.aiovg-col-2 { 
		width: 50%; 
	}
	
	.aiovg-col-3 { 
		width: 33.33%; 
	}    
	
	.aiovg-col-4 { 
		width: 25%; 
	}
	
	.aiovg-col-5 { 
		width: 20%; 
	}
	
	.aiovg-col-6 { 
		width: 16.66%; 
	}
	
	.aiovg-col-7 { 
		width: 14.28%; 
	}
	
	.aiovg-col-8 { 
		width: 12.5%; 
	}
	
	.aiovg-col-9 { 
		width: 11.11%; 
	}
	
	.aiovg-col-10 { 
		width: 10%; 
	}
	
	.aiovg-col-11 { 
		width: 9.09%; 
	}
	
	.aiovg-col-12 { 
		width: 8.33%; 
	}
	
	.aiovg-col-p-25 {
		width: 25%;
	}
	
	.aiovg-col-p-40 {
		width: 40%;
	}
	
	.aiovg-col-p-60 {
		width: 60%;
	}
	
	.aiovg-col-p-75 {
		width: 75%;
	}
}

/*----------------------------------------------------------------------------------------------
 *
 *	Thumbnail
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-thumbnail {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	margin: 0.75em;
}

.aiovg-thumbnail-image-left {
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: start;
}

.aiovg-responsive-container {	
	display: block;
	position: relative;
	padding-bottom: 56.25%;	
	width: 100%;
	height: 0;
}

.aiovg-responsive-container img:not(.aiovg-play),
img.aiovg-responsive-element {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	border-radius: 3px;
	background-color: #f0f0f0;
	width: 100%;
	height: 100%;	
	object-fit: cover;	
}

.aiovg-duration,
.aiovg-now-playing {
	pointer-events: none;
	position: absolute;
	right: 5px;
	bottom: 5px;
	z-index: 2;
	border-radius: 2px;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0.25em 0.5em;	
	line-height: 1;
	color: #fff;
	font-size: 0.85em;	
}

.aiovg-now-playing {
	padding: 0.25em 0.5em 0.35em 0.5em;	
}

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

.aiovg-caption .aiovg-title {
	margin: 0;
	font-size: 1.1em;
}

.aiovg-caption .aiovg-restricted-label,
.aiovg-caption .aiovg-trailer-label {
	display: inline-flex;
	border-radius: 2px;
	background-color: #999;
	padding: .25em .5em;
	color: #fff;
	font-size: 90%;
	line-height: 1;
}

.aiovg-caption .aiovg-excerpt,
.aiovg-caption .aiovg-description,
.aiovg-caption .aiovg-content-after-thumbnail {
	margin-top: 0.5em;
}

.aiovg-active .aiovg-thumbnail .aiovg-svg-icon-play {
    display: none;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Pagination
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-pagination,
.aiovg-more {
	display: block;
	margin-top: 2em;
}

.aiovg-pagination .aiovg-pagination-links {
	display: flex;
	gap: 0.25em;
	align-items: center;
	justify-content: center;
}

.aiovg-pagination-links .page-numbers {
	border: 1px solid #ddd;
	border-radius: 2px;
	padding: 0.5em 0.75em;		
	text-decoration: none;	
	line-height: 1;
}
  
.aiovg-pagination-links a:hover,
.aiovg-pagination-links .current {	
	border: 1px solid var(--aiovg-color-primary, #3b82f6);
	background-color: var(--aiovg-color-primary, #3b82f6);
	color: #fff;	
}

.aiovg-pagination .aiovg-pagination-info {
	margin: 0;
	margin-top: 0.5em;
}

.aiovg-pagination.aiovg-spinner,
.aiovg-more.aiovg-spinner {
	margin-left: auto;
	margin-right: auto;
}

.aiovg-pagination.aiovg-spinner *,
.aiovg-more.aiovg-spinner * {
	display: none;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Share Buttons
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em;
	align-items: center;
    margin-top: 1em;
}

.aiovg-link-social,
.aiovg-link-social:hover,
.aiovg-link-social:active {
	border-radius: 2px;
	cursor: pointer;	
    padding: 0.5em;	
	text-decoration: none;
	line-height: 1;
	color: white;
	font-size: 1.4em;
}
 
.aiovg-link-social:hover,
.aiovg-link-social:active {   
	opacity: 0.8;
} 

.aiovg-social-facebook,
.aiovg-social-facebook:hover,
.aiovg-social-facebook:active {
    background-color: #3B5996;
}

.aiovg-social-twitter,
.aiovg-social-twitter:hover,
.aiovg-social-twitter:active {
    background-color: #55ACEE;
}
 
.aiovg-social-linkedin,
.aiovg-social-linkedin:hover,
.aiovg-social-linkedin:active {
    background-color: #006699;
}
 
.aiovg-social-pinterest,
.aiovg-social-pinterest:hover,
.aiovg-social-pinterest:active {
    background-color: #C00117;
}

.aiovg-social-tumblr,
.aiovg-social-tumblr:hover,
.aiovg-social-tumblr:active {
    background-color: #28364B;
}

.aiovg-social-whatsapp,
.aiovg-social-whatsapp:hover,
.aiovg-social-whatsapp:active {
    background-color: #25d366;
}

.aiovg-social-email,
.aiovg-social-email:hover,
.aiovg-social-email:active {
    background-color: #6E6E6E;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Custom Select
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-dropdown-terms {
	position: relative;
}

.aiovg-dropdown-terms .aiovg-dropdown-input {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 0.5em center;
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	cursor: default;
	padding-right: 2.5em !important;
	width: 100%;
	text-overflow: ellipsis;
}

.aiovg-dropdown-terms .aiovg-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99999;	
	margin-top: 1px;	
	outline: 1px solid #9ca3af;
	border-radius: 3px;	
	box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	background-color: #fff;
	max-height: 200px;
	overflow-x: hidden;
	overflow-y: auto;	
}

.aiovg-dropdown-terms .aiovg-dropdown-search {
	position: relative;
	border-bottom: 1px solid #eee;
	padding: 0.75em 1em;
}

.aiovg-dropdown-terms .aiovg-dropdown-search input[type="text"] {
	all: unset;	
	box-sizing: border-box;
	width: 100%;
	font-size: 0.95em;	
}

.aiovg-dropdown-terms .aiovg-dropdown-search button {
	position: absolute;	
	top: 0;
	right: 1em;
	bottom: 0;	
}

.aiovg-dropdown-terms .aiovg-dropdown-search button,
.aiovg-dropdown-terms .aiovg-dropdown-search button:hover,
.aiovg-dropdown-terms .aiovg-dropdown-search button:focus {	
	margin: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	background-color: transparent;
	background-image: none;
	padding: 0;
	width: 16px;
	height: 100%;
	line-height: 1;
}

.aiovg-dropdown-list .aiovg-dropdown-item {
	display: flex;	
	flex-wrap: nowrap;
	gap: 1em;
	align-items: center;
	border-bottom: 1px solid #eee;
	background-color: #fff;
	padding: 0.65em 1em;	
	line-height: 1.25em;
	color: #000;
	font-size: 0.95em;
}

.aiovg-dropdown-list .aiovg-dropdown-item:last-child {
	border-bottom: none;
}

.aiovg-dropdown-list .aiovg-dropdown-item:hover,
.aiovg-dropdown-list .aiovg-dropdown-item.aiovg-item-active,
.aiovg-dropdown-list .aiovg-dropdown-item.aiovg-item-selected {
	background-color: var(--aiovg-color-primary, #3b82f6);
	color: #fff;
}

.aiovg-dropdown-list .aiovg-dropdown-item .aiovg-item-name {
	pointer-events: none;
	margin-right: auto;
}

.aiovg-dropdown-list .aiovg-dropdown-item input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	clear: none;
	transition: .05s border-color ease-in-out;
	margin: 0;
	outline: 0;
	border: 1px solid #8c8f94;
	border-radius: 0;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	background: #fff;
	cursor: default;
	padding: 0 !important;
	width: 1em;
	min-width: 1em;
	height: 1em;
	vertical-align: middle;
	text-align: center;
	line-height: 0;
	color: #50575e;	
}

.aiovg-dropdown-list .aiovg-dropdown-item.aiovg-item-selected input[type="checkbox"],
.aiovg-dropdown-list .aiovg-dropdown-item:hover input[type="checkbox"] {
	border: 1px solid #50575e;
}

.aiovg-dropdown-list .aiovg-dropdown-item input[type="checkbox"]:checked::before {	
	display: inline-block;
	margin: -0.1875em 0 0 -0.25em;	
	width: 1.3125em;
	height: 1.3125em;
	vertical-align: middle;	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Use the "Yes" SVG Dashicon */
	content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");
	speak: never;
}

.aiovg-dropdown-list .aiovg-dropdown-item input[type="checkbox"]:focus {
	/* Only visible in Windows High Contrast mode */
	outline: 2px solid transparent;
	border-color: #50575e;
	box-shadow: 0 0 0 1px #50575e;	
}

.aiovg-dropdown-terms.aiovg-is-searching .aiovg-dropdown-list .aiovg-dropdown-item {
	padding-left: 1em !important;
}

.aiovg-dropdown-terms .aiovg-dropdown .aiovg-dropdown-no-items {
	padding: 0.65em 1em;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Autocomplete
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-autocomplete {
	position: relative;
}

.aiovg-autocomplete-items {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99999;	
	margin-top: 1px;	
	border: 1px solid #9ca3af;
	border-radius: 3px;	
	box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	max-height: 180px;
	overflow-x: hidden;
	overflow-y: auto;	
}

.aiovg-autocomplete-items div {	
	border-bottom: 1px solid #eee;
	background-color: #fff;
	cursor: pointer;
	padding: 0.5em 0.75em;	
	line-height: 1;
	color: #000;
	font-size: 90%;
}

.aiovg-autocomplete-items div:last-child {
	border-bottom: none;
}

.aiovg-autocomplete-items div:hover,
.aiovg-autocomplete-items div.aiovg-autocomplete-active {
	background-color: var(--aiovg-color-primary, #3b82f6);
	color: #fff;
}

.aiovg-autocomplete-items div.aiovg-autocomplete-selected {
	color: #999;
}

.aiovg-autocomplete-tags {
	display: flex;
	flex-wrap: wrap;
	row-gap: 0.5em;
	column-gap: 0.75em;
	margin-top: 0.5em;
}

.aiovg-tag-item {		
	font-size: 90%;
}

.aiovg-tag-item a {
	display: flex;
	gap: 0.25em;
	align-items: center;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Categories
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-categories-template-list ul,
.aiovg-categories-template-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aiovg-categories-template-list .children {
	margin-left: 1.25em;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Videos
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-videos .aiovg-count {
	margin-bottom: 1em;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Video
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-content-after-player {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
}

/* Likes / Dislikes */
aiovg-like-button {
	display: flex;
	gap: 0.5em;
	align-items: center;
}

aiovg-like-button:empty {
	display: none;
}

aiovg-like-button button {
	display: flex;
    gap: 0.35em;
    align-items: center;
    justify-content: center;
	margin: 0;
}

aiovg-like-button:not([loaded]) {
	pointer-events: none;
	animation: aiovg-pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Comments */
aiovg-comment-button:empty {
	display: none;
}

aiovg-comment-button button {
	display: flex;
    gap: 0.35em;
    align-items: center;
    justify-content: center;
	margin: 0;
	white-space: nowrap;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Search Form
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-search-form form {
	display: flex;
	gap: 0.5em;
}

.aiovg-search-form select {
	-webkit-appearance: none;
	   -moz-appearance: none;   
            appearance: none;

	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 0.5em center;
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	padding-right: 2.5em !important;
}

.aiovg-search-form .aiovg-form-group {	
	flex-grow: 1;
}

.aiovg-search-form .aiovg-form-control {	
	width: 100%;
}

.aiovg-search-form .aiovg-field-keyword {
	position: relative;
}

.aiovg-search-form .aiovg-field-keyword button {
	position: absolute;	
	top: 0;
	right: 0;
	bottom: 0;	
}

.aiovg-search-form .aiovg-field-keyword button,
.aiovg-search-form .aiovg-field-keyword button:hover,
.aiovg-search-form .aiovg-field-keyword button:focus {
	margin: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	background-color: transparent;
	background-image: none;
	padding: 0;
	width: 2em;
	height: 100%;
	line-height: 1;
}

.aiovg-search-form .aiovg-field-submit,
.aiovg-search-form .aiovg-field-reset {	
	flex-grow: 0;
}

/* Template: Compact */
.aiovg-search-form-template-compact {
	position: relative;
}

.aiovg-search-form-template-compact .aiovg-field-submit {
	position: absolute;	
	top: 0;
	right: 0;
	bottom: 0;	
}

.aiovg-search-form-template-compact .aiovg-field-submit button,
.aiovg-search-form-template-compact .aiovg-field-submit button:hover,
.aiovg-search-form-template-compact .aiovg-field-submit button:focus {	
	margin: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	background-color: transparent;
	background-image: none;
	padding: 0;
	width: 2em;
	height: 100%;
	line-height: 1;
}

/* Template: Vertical */
.aiovg-search-form-template-vertical form {
	flex-direction: column;
}

/* Template: Horizontal */
.aiovg-search-form-template-horizontal form {	
	flex-wrap: wrap;
	align-items: center;
}

.aiovg-search-form-template-horizontal .aiovg-field-keyword {
	flex-grow: 4;
}

.aiovg-search-form-template-horizontal .aiovg-field-category,
.aiovg-search-form-template-horizontal .aiovg-field-tag {
	flex-grow: 2;
}

.aiovg-search-form-template-horizontal .aiovg-autocomplete-tags {
	margin-top: 0;
	width: 100%;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Videos + Filters
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg-videos-filters-wrapper {
	display: grid;
	gap: 1.5em;
	grid-template-columns: 1fr;
}

.aiovg-videos-filters-wrapper .aiovg-videos-template-slider {
    display: block;
    width: 100%;
    overflow: hidden;
}

@media only screen and ( min-width: 768px ) {
	.aiovg-filters-position-left {
		grid-template-columns: minmax( 180px, 30% ) 1fr;
	}

	.aiovg-filters-position-right {
		grid-template-columns: 1fr minmax( 180px, 30% );
	}

	.aiovg-filters-position-right .aiovg-search-form {
		order: 2;
	}
}

@media ( min-width: 1600px ) {
	.aiovg-filters-position-left {
		grid-template-columns: minmax( 180px, 400px ) 1fr;
	}

	.aiovg-filters-position-right {
		grid-template-columns: 1fr minmax( 180px, 400px );
	}
}

/* Progress bar container */
.aiovg-filters-progress-bar {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
	z-index: 99999;
    height: 4px;
    width: 100%;    
    overflow: hidden;    
}

/* Inner bar (actual progress) */
.aiovg-filters-progress-bar-inner {
	background-color: var(--aiovg-color-primary, #3b82f6);    
    width: 0;
    height: 100%;
    transition: width 0.2s ease, background-color 0.2s ease;
    animation: aiovg-pulse-bar 1.5s infinite;
    will-change: width, background-color;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Block Editor
 *
 *--------------------------------------------------------------------------------------------*/
.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;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Third-party conflicts
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg .wp-video-shortcode .mejs-controls .mejs-time,
.aiovg .wp-audio-shortcode .mejs-controls .mejs-time {
	padding: 0 6px;
    height: 40px;
	line-height: 40px;
}

/*----------------------------------------------------------------------------------------------
 *
 *	Deprecated
 *
 *--------------------------------------------------------------------------------------------*/
.aiovg .aiovg-responsive-button {
	width: 100%;
}

@media only screen and (min-width: 481px) {
	.aiovg .aiovg-responsive-button {
		width: auto;
	}
}

.aiovg-thumbnail-style-image-left .aiovg-caption {
	margin: 0;
	margin-top: 0.75em;
}

@media only screen and (min-width: 768px) {
    .aiovg-thumbnail-style-image-left .aiovg-caption {
		margin: 0;
		margin-left: 0.75em;
	}

	.aiovg-thumbnail-style-image-left .aiovg-caption .aiovg-title {
		margin-top: -0.2em;
	}
}