#my_head {
	text-align: center;
	height: var(--my-bar-height-l);
	margin: auto;
	max-width: 960px;
}

#logo {
	font-size: x-large;
	font-family: LogoFont, sans-serif;
	height: var(--my-bar-height-l);
	display: flex;
	align-items: center;
	justify-content: center;
}

#logo a {
	text-decoration: none;
}

#logo a:hover {
	text-decoration: underline;
}

#searchCtrl {
	display: flex;
	align-items: center;
}

#prompt {
	flex-shrink: 1;
	flex-grow: 1;
	box-sizing: border-box;
	font-size: medium;
	border-radius: 8px;
	padding: 8px;
	margin: 0px;
	height: var(--my-bar-height-l);
}

#prompt::placeholder {
	font-size: x-large;
}

#searchIt {
	flex-shrink: 0;
	cursor: pointer;
	background-color: transparent;
	border-right: none;
	border-bottom: none;
	border-top: none;
	border-left: 2px solid rgb(128, 128, 128);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px;
	width: var(--my-bar-height-l);
	height: var(--my-bar-height-l);
}

#searchIt:hover {
	background-color: var(--my-button-hover);
}

#generateIt {
	flex-shrink: 0;
	cursor: pointer;
	background-color: transparent;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px;
	width: var(--my-bar-height-l);
	height: var(--my-bar-height-l);
}

#generateIt:hover {
	background-color: var(--my-button-hover);
}

#progressBar {
	display: none;
	flex-grow: 1;
	box-sizing: border-box;
	height: var(--my-bar-height-l);
	justify-content: space-between;
	align-items: center;
	margin: 0px 4px;
}

#progressBar>div:last-child {
	margin-left: 6px;
	white-space: pre;
}

#my_foot {
	text-align: center;
}

/* body */
#info {
	font-size: small;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	min-height: var(--my-bar-height-s);
}

#info>span+span {
	margin-left: 16px;
}

#info>span:last-child {
	display: none;
}

#my_body {
	padding: 0px 2px;
	display: flex;
	justify-content: center;
}

#details {
	border: 1px solid #000;
	border-collapse: collapse;
}

#details td {
	border: 1px solid #666;
	padding: 4px;
	word-break: break-all;
}

#details img {
	max-width: calc(100vw - 10px);
}

.td-m {
	vertical-align: middle !important;
}

.td-buttons {
	display: flex;
}

.td-buttons button+button {
	margin-left: 4px;
}

.label {
	white-space: pre;
	text-align: right;
	vertical-align: top;
}

.details-image {
	text-align: center;
	height: 256px;
}

.details-image>img {
	vertical-align: bottom;
}

.details-title,
.details-description {
	color: yellow;
}

.details-creativity,
.details-quality,
#image-size {
	font-family: DigitFont;
}

.details-prompt {
	color: lightgreen;
}

.details-param {
	white-space: pre-wrap;
}

.a0 a {
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
}

.a0 a:hover {
	text-decoration: underline;
}

#src1 {
	color: yellow;
}

.ver {
	display: inline-block;
	margin-left: 4px;
	padding: 0px 4px;
	color: white;
	background-color: darkcyan;
	border-radius: 4px;
}

.param-label {
	display: inline-block;
	margin-right: 4px;
	padding: 0px 4px;
	color: white;
	background-color: darkcyan;
	border-radius: 4px;
}

.param-label+.param-label {
	margin-top: 2px;
}

.download>img {
	margin-right: 4px;
}

.download {
	height: var(--my-bar-height-ns);
	cursor: pointer;
	color: var(--my-button-dark);
	background-color: var(--my-button-light);
	border: 1px solid var(--my-button-dark);
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	padding: 0px 8px;
}

.download:hover {
	background-color: var(--my-button-hover);
}

.copy-button {
	border: none;
	background: none;
	vertical-align: bottom;
	cursor: pointer;
}

@media (max-width: 575.98px) {
	.gen-buttons {
		flex-direction: column;
	}

	.gen-buttons button+button {
		margin-left: 0px;
		margin-top: 4px;
	}
}

@media (min-width: 1366px) {
	#ad-H1 {
		display: none;
	}

	#ad-H2 {
		display: none;
	}
}

@media (max-width: 1365.98px) {
	#ad-V1 {
		display: none;
	}
}