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

.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;
}

.nixie-pending-alert i
{
	margin-right: 10px;
	font-size: 0.75em;
}

.nixie-pending-img {
	margin-right: 10px;
}

/* 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-sender {
	max-width: 150px;
	overflow: hidden;
	text-overflow: clip;
	white-space: normal;
}

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

.log-msg {
	max-width: 200px;
	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;
}

.pdf {
	width:100%;
	height: calc(100vh - 80px);
}

.card-scroll {
	width: 100%;
	height: calc(100vh - 120px);
	overflow-y: scroll;
}

.ans-table {
	text-align: center;
}

.ans-text {
	background-color: seashell;
}

.nx-form input, .nx-form select {
	border: 1px solid gray;
	border-radius: 5px;
	padding: 3px;
	margin: 3px 12px 3px 3px;	
}

.nx-form input:hover, .nx-form input:focus,
.nx-form select:hover, .nx-form select:focus {
	border: 0px;
	box-shadow: 0px 0px 3px 2px #43a2f5;
}

.fraction {
	font-size: 1.8em;
}

.fraction > .border {
	border-bottom: 1px solid #337cbb;
	margin: 8px -8px;
	padding: 12px;
}

.vocab-content {
	border-radius: 25px;
	background-color: #eee;
	padding: 20px;
}

.vocab-question {
	font-family: NotoSansThai_Condensed-Regular;
	font-size: 50px;
	color: #2a5bf1;
}

.vocab-answer {
	font-family: K2D-Light;
	font-size: 30px;
	color: #f18023;
}