/* Tabs */
.nav-tab-content {
	display: none;
	margin-top: .5em;
}

.nav-tab-content-active {
	display: block;
}


/* Loading indicator */
#loading_tab_venues, #loading_tab_organizers, #loading_tab_events, #loading_tab_settings, #loading_save_venue, #teoai_status_search_images, .teoai-loading {
	display: none;
	clear: both; 
	background: url('../images/loading.gif') left top no-repeat; 
	text-align: left;
	padding: 0px 0px 30px 25px;
}


/* Table layout */
.form-table th {
	padding-left: 12px;	
}

.widefat th {
	font-weight: 600;
}

input.flexible-textfield {
	width: 90%;
}
textarea {
	width: 90%;
}


/* Error and warning messages */
.field-status-ok {
	color: green;
}

.field-status-warning {
	color: orange;
}

.field-status-error {
	color: red;
}


/* Icons */
.external-link-icon {
	width: 10px;
	height: 10px;
}

.search-icon {
	width: 10px;
	height: 10px;
}

.delete-icon {
	width: 12px;
	height: 12px;
}

.delete-icon, .pointer {
	cursor: pointer;
}

.teoai-info-box ul {
	list-style: disc;
	margin-left: 20px;
	padding-left: 0;
}

.teoai-info-box {
	margin-left: 0;
}

.teoai-location-picker {
	display: inline-flex;
	flex-direction: row;
	gap: 8px;
	align-items: stretch;
	position: relative;
}

.teoai-language-picker {
	display: inline-flex;
	flex-direction: row;
	gap: 8px;
	align-items: center;
	flex-wrap: nowrap;
}

.teoai-language-picker select {
	min-width: 200px;
	width: auto;
}

.teoai-location-picker select {
	min-width: 400px;
	width: auto;
}

.teoai-location-select {
	width: 100%;
}

.teoai-language-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.teoai-inline-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 8px;
}

.teoai-inline-status .teoai-loading {
	padding: 0 0 0 20px;
	min-height: 16px;
	background-size: 16px 16px;
	background-position: 0 50%;
	clear: none;
}

.teoai-status-message {
	color: inherit;
	line-height: 1.2;
}

.teoai-status-line {
	margin: 2px 0 0 0;
	line-height: 1.2;
	display: block;
	color: inherit;
}

.code-display {
	font-weight: 600;
}


/* Hover tooltips for generating content */
.field-tip {
	position:relative;
}

.field-tip .tip-content {
	z-index:1; /* needs to be in front of the the "beta"sign */	
	position:absolute;
	top:-17px; /* - top padding */
	right:9999px;
	width:360px;
	margin-right:-360px; /* width + left/right padding */
	padding:4px 8px 4px 8px;
	color:#fff;
	background:#666;
	-webkit-box-shadow:2px 2px 5px #aaa;
	-moz-box-shadow:2px 2px 5px #aaa;
	box-shadow:2px 2px 5px #aaa;
	opacity:0;
	-webkit-transition:opacity 250ms ease-out;
	-moz-transition:opacity 250ms ease-out;
	-ms-transition:opacity 250ms ease-out;
	-o-transition:opacity 250ms ease-out;
	transition:opacity 250ms ease-out;
}

.field-tip .tip-content:before {
	content:' '; /* Must have content to display */
	position:absolute;
	top:50%;
	left:-16px; /* 2 x border width */
	width:0;
	height:0;
	margin-top:-8px; /* - border width */
	border:8px solid transparent;
	border-right-color:#666;
	line-height: 1.3;
}

.field-tip:hover .tip-content {
	right:-20px;
	opacity:1;
}

.question-mark-centered {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	margin-left: 0px;
	padding-left: 0px;
}


/* Hover tooltips for fetching data */
.field-tip-generate-description {
	position:relative;
}

.field-tip-generate-description .tip-content-generate-description {
	z-index:1; /* needs to be in front of the the "beta"sign */	
	position:absolute;
	top:-12px; /* - top padding */
	right:9999px;
	width:360px;
	margin-right:-400px; /* width + left/right padding */
	padding:4px 8px 4px 8px;
	color:#fff;
	background:#666;
	-webkit-box-shadow:2px 2px 5px #aaa;
	-moz-box-shadow:2px 2px 5px #aaa;
	box-shadow:2px 2px 5px #aaa;
	opacity:0;
	-webkit-transition:opacity 250ms ease-out;
	-moz-transition:opacity 250ms ease-out;
	-ms-transition:opacity 250ms ease-out;
	-o-transition:opacity 250ms ease-out;
	transition:opacity 250ms ease-out;
}

.field-tip-generate-description .tip-content-generate-description:before {
	content:' '; /* Must have content to display */
	position:absolute;
	top:50%;
	left:-16px; /* 2 x border width */
	width:0;
	height:0;
	margin-top:-8px; /* - border width */
	border:8px solid transparent;
	border-right-color:#666;
	line-height: 1.3;
}

.field-tip-generate-description:hover .tip-content-generate-description {
	right:-20px;
	opacity:1;
}

.question-mark-centered-generate-description {
	margin-left: 3px;
	position: absolute;
	top: 5%;
}

/* Beta sign */
.beta_version {
	font-size: 9px;
	color: #ffffff;
	background: #ff8e3c;
	margin-bottom: 3px;
	margin-left: 8px;
	border-radius: 10px;
	padding: 0 10px;
	display: inline-block;
	position: relative;
	vertical-align: middle;
}


/* Frame around buttons */
.frame_around {
	background: #e6e6e6;
	padding: 12px 6px 12px 6px;
	border-radius: 8px;
	margin-right: 15px;
	border-color: #ddd;
	border-style: solid;
	border-width: thin;
}

/* Thumbnail preview of Google Images */
.google_images {
	width: auto;
	height: 100px !important;
}
