/*!
 * Copyright 2016-2022 GrammarSoft ApS <info@grammarsoft.com> at https://grammarsoft.com/
 * Frontend by Tino Didriksen <mail@tinodidriksen.com>
 *
 * This project is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This project is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this project.  If not, see <http://www.gnu.org/licenses/>.
 */

html {
	height: 100%;
	box-sizing: border-box;
	position: relative;
}

* {
	vertical-align: top;
}

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

html, body {
	--font-size: 14px;
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-size: 14px;
	width: 100%;
	background-color: #fff;
}

body, iframe {
	min-height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

audio {
	display: none;
}

iframe {
	border: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}

.supportBtn {
	background-color: #4a90e2;
	color: #fff;
}

.whiteblue {
	color: #eaf7fe;
}
.lightblue {
	color: #0da9f6;
}
.lightblue_dis {
	color: #99ddfc;
}
.gray_dis {
	color: #9b9b9b;
}
.blue {
	color: #4a90e2;
}
.orange {
	color: #f5a623;
}
.darkorange {
	color: #e6930a;
}
.black {
	color: #000;
}

.strike {
	text-decoration: line-through;
	font-style: italic;
}

ul {
	list-style-type: none;
}

#error, #warning {
	display: flex;
	background-color: #fee;
	margin: 0 0 10px;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}

#error, #warning, .sidebar {
	padding: 0 18px;
	/* border-bottom: 1px dotted #ccc; */
}

#error ul {
	list-style-type: circle;
	padding-left: 18px;
	overflow-wrap: anywhere;
}

#warning {
	background-color: #fef7ea;
}

#error-text {
	padding: 18px 0;
	color: #f00;
}

#warning-text {
	padding: 18px 0;
	color: #f90;
}

.closable {
	position: relative;
}
.closer {
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;
	font-weight: bold;
}

.row {
	margin-top: 18px;
}

.buttonbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}
.buttonbar-edges {
	justify-content: space-between;
}
.buttonbar-wide {
	margin-left: -9px;
	margin-right: -9px;
}
.buttonbar-wide button {
	min-width: 80px;
}

.spacer {
	display: block;
	height: 18px;
}
.divider {
	border-bottom: 1px dotted #ccc;
	padding-bottom: 18px;
}

.left {
	text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.justify {
	text-align: justify;
}
.smallcaps {
	font-variant: small-caps;
}

button, .btn {
	vertical-align: middle;
	text-align: center;
	border: 0px;
	padding: 0 5px;
	min-height: 30px;
	min-width: 80px;
	color: #fff;
	cursor: pointer;
}

button {
	margin: 5px 0;
	border-radius: 3px;
	line-height: 18px;
}

.btn {
	line-height: 30px;
}
.btn-top {
	border-radius: 3px 3px 0 0;
}
.btn-bottom {
	border-radius: 0 0 3px 3px;
}

.btn-big {
	font-size: 15px;
	border-radius: 6px;
	margin: 5px;
	min-height: 40px;
	min-width: 180px;
	display: inline-block;
	clear: both;
	line-height: 22px;
}

.btn-link {
	padding: 0;
	background-color: transparent;
	font-weight: bold;
	color: #0da9f6;
}
.btn-link.left span {
	margin-right: 5px;
}
.btn-link.right span {
	margin-left: 5px;
}

.btn-blue {
	background-color: #4a90e2;
}
.btn-blue:hover, .btn-blue:focus {
	background-color: #326299;
}

.btn-orange {
	background-color: #f5a623;
}
.btn-orange:hover, .btn-orange:focus {
	background-color: #cc891d;
}

.btn-darkorange {
	background-color: #e6930a;
}
.btn-darkorange:hover, .btn-orange:focus {
	background-color: #b37107;
}

.btn-lightblue {
	background-color: #0da9f6;
}
.btn-lightblue:hover, .btn-lightblue:focus {
	background-color: #097ab3;
}

a, .link {
	text-decoration: none;
	cursor: pointer;
	color: #4a90e2;
}
a:hover, a:focus, .link:hover, .link:focus {
	color: #326299;
}

.disabled {
	cursor: auto;
}

button.disabled {
	background-color: #d9d9d9 !important;
}
button.disabled.selected {
	border: 1px solid #d9d9d9;
	background-color: #fff !important;
	color: #d9d9d9;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	color: #0da9f6;
	margin: 10px 0;
	padding: 0;
}
h1 {
	font-size: 16px;
}
h2 {
	font-size: 14px;
	font-weight: bold;
	color: #000;
}
h3 {
	font-size: 12px;
	font-weight: bold;
	color: #000;
}

h1, .text {
	margin: 18px 0;
}

hr.tall {
	margin: 36px 0;
}

.backed {
	padding: 18px 0;
	margin: 0 0 10px 0;
	background-color: #eaf7fe;
	margin-left: -18px;
	margin-right: -18px;
	padding-left: 18px;
	padding-right: 18px;
}

label {
	cursor: pointer;
	display: block;
	clear: both;
	margin: 9px 0;
	color: #0da9f6;
}

label.crbox * {
	display: inline-block;
}

label.crbox input[type="checkbox"] {
	margin: 2px 9px 0 0;
}

input[type="text"] {
	border-radius: 5px;
	border: 2px solid #4a90e2;
	width: 100%;
	padding: 3px;
	margin: 0;
}

th, td {
	padding: 5px;
}
tbody th {
	text-align: left;
}
thead, tfoot {
	background-color: #ddd;
}
.table-striped tbody tr:nth-child(even) {
	background-color: #eee;
}

.type-nok, .type-red {
	color: #c12e2a;
}
.type-ko, .type-yellow {
	color: #eb9316;
}
.type-ok, .type-nko, .type-info {
	color: #1693eb;
}
.type-k, .type-green {
	color: #419641;
}
.type-other {
	color: #666;
}

.crbox {
	position: relative;
	padding-left: 27px;
}
.crbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}
.crbox .checkbox, .crbox .radio {
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 20px;
	height: 17px;
}
.crbox .radio {
	width: 19px;
	height: 19px;
}
.crbox input ~ .checkbox {
	background-image: url('../imgs/checkbox-unchecked.png');
	top: 1px;
}
.crbox input:checked ~ .checkbox {
	background-image: url('../imgs/checkbox-checked.png');
	top: 0;
}
.crbox input:indeterminate ~ .checkbox {
	background-image: url('../imgs/checkbox-indeterminate.png');
	top: 0;
}
.crbox input ~ .radio {
	background-image: url('../imgs/radio-unchecked.png');
}
.crbox input:checked ~ .radio {
	background-image: url('../imgs/radio-checked.png');
}

.default {
	background-color: #5aa0f2;
}

.itw_tts {
	transition: background-color 1s linear, color 1s linear;
}
.itw_tts:hover {
	background-color: yellow;
	color: #000;
}

.pos-rel {
	position: relative;
}
.label-abs-right {
	position: absolute;
	right: 0;
	top: 0;
	margin: 0;
	white-space: nowrap;
	font-size: 12px;
}

.bi img {
	width: var(--font-size);
}
.pos {
	display: inline-block;
	text-align: center;
}
.pos span {
	display: inline-block;
	border-bottom: 3px solid transparent;
	margin-bottom: 3px;
}
.pos .func {
	user-select: none;
	border-bottom: 0px;
}
.pos_V span {
	border-color: #f00;
}
.color_V {
	color: #f00;
}
.pos_N span {
	border-color: #00f;
}
.color_N {
	color: #00f;
}
.pos_PROP span {
	border-color: #008;
}
.color_PROP {
	color: #008;
}
.pos_ADJ span {
	border-color: #060;
}
.color_ADJ {
	color: #060;
}
.pos_ADV span {
	border-color: #fc0;
}
.color_ADV {
	color: #fc0;
}
.pos_PRON span {
	border-color: #39f;
}
.color_PRON {
	color: #39f;
}
.pos_ART span, .pos_DET span {
	border-color: #990;
}
.color_ART, .color_DET {
	color: #990;
}
.pos_NUM span {
	border-color: #0c0;
}
.color_NUM {
	color: #0c0;
}
.pos_PRP span {
	border-color: #900;
}
.color_PRP {
	color: #900;
}
.pos_CONJ span {
	border-color: #999;
}
.color_CONJ {
	color: #999;
}
.pos_INTJ span {
	border-color: #f0f;
}
.color_INTJ {
	color: #f0f;
}
.pos_INFM span {
	border-color: #f60;
}
.color_INFM {
	color: #f60;
}
.pos_off span {
	border-color: transparent;
}
.func_off .func {
	display: none;
}

.flex-cols {
	display: flex;
	justify-content: space-between;
}
.flex-cols ul {
	padding: 0;
}
.flex-cols li {
	--font-size: 12px;
	font-size: 12px;
	white-space: nowrap;
}
.flex-cols input {
	display: none;
}

footer {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
}
