/* Copyright (c) NiXiE Studio, All rights reserved */

/* Common */

.section {
	position: relative;
	padding: 35px 0;
}

pre {
	white-space: pre-wrap;
}

.preline {
	white-space: pre-line;
}

.word-wrap {
	word-break: break-all;
}

.help-inline {
	margin-left: 10px;
	color: #404040;
}

.full-width {
	width: 100%
}

.topic {
	font-size: 1.2em;
	font-weight: bold;
}

.red {
	color: red;
	font-weight: bold;
}

.right {
	float: right;
}

.highlight {
	background-color: #f5f5f5;
}

footer a {
	color: white;
}

footer a:hover {
	color: yellow;
}

/* Cookie */

.cookie-banner {
	background-color: #282f4abb;
	color: #eee;
	position: fixed;
	bottom: 10px;
	right: 20px;
	border-radius: 8px;
	padding: 12px;
	width: 80%;
	max-width: 480px;
	z-index: 120;
}

.cookie-banner button {
	float: right;
}

/* Log */

.log-class {
	max-width: 150px;
	overflow: hidden;
	text-overflow: clip;
	white-space: normal;
}

.log-class:hover {
	overflow: scroll;
}

.log-method {
	max-width: 200px;
	overflow: hidden;
	text-overflow: clip;
	white-space: normal;
}

.log-method:hover {
	overflow: scroll;
}

.log-msg {
	max-width: 250px;
	overflow: hidden;
	text-overflow: clip;
	white-space: normal;
}

.log-msg:hover {
	overflow: scroll;
}

.log-data {
	max-width: 400px;
	overflow: hidden;
	text-overflow: clip;
	white-space: normal;
}

.log-data:hover {
	overflow: scroll;
}

/* Form Auto */

.formauto-list-pic {
	max-width: 64px;
	max-height: 64px;
	border: 2px solid lightgray;
}

.formauto-edit-pic {
	max-width: 256px;
	max-height: 256px;
	margin-top: 10px;
	border: 4px solid lightgray;
}

/* AdminTLE */

/* for Logo in Nav Bar */
/* .nav {
	margin-bottom: 40px;
} */

.section-primary {
	background-color: #337cbb;
	color: white;
}

.section-primary h1, .section-primary h2, .section-primary p {
	color: white;
}

.text-title {
	color: #f7f7f7;
	text-shadow: -1px -1px 0 rgb(0 0 0 / 30%);
}

.text-lead {
	color: #eee;
	text-shadow: -1px -1px 0 rgb(0 0 0 / 30%);
}

.cover {
	padding: 0;
	display: flex;
	align-items: center;
	overflow: hidden;
	height: calc(100vh - 150px);
	position: relative;
 }

 .cover-image {
	z-index: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.no-decor:link, .no-decor:visited {
	text-decoration: none;
	color: inherit;
}

h1 {
	margin-bottom: 0.5rem;
}

.dark-mode pre {
	color: #eee;
}

.content-wrapper>.content {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.miniTopic {
	color: orange;
}

.img-full {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-bottom: 16px;
}

.img-fit {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-bottom: 16px;
}

.img-list, .img-list-shadow {
	margin-bottom: 16px;
}

.img-list img, .img-list-shadow img {
	max-width: calc(100% - 24px);
	margin: 12px;
	border-radius: 10px;
}

.img-list-shadow img {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.caption {
	background-color: rgba(0, 123, 255, 0.56);
	border-radius:10px;
	display:inline-block;
	text-align:center;
	margin: 10px !important;
	padding-top: 10px;
}

.horz-banner {
	margin: auto;
}

.horz-banner img {
	width: 100%;
	max-width: 800px;
}

.small-box a {
	text-decoration: none;
	color: inherit;
}

.small-box h3 {	
	overflow: hidden;
}

.small-box img {
	width: calc(100% - 24px);
	margin: 12px;
	border-radius: 10px;	
}

.small-box a img {
	transition: all .2s ease-in-out;
}

.small-box a:hover img {
	transform: scale(1.025);
}
