html {
	font-family: "IBM Plex Sans", sans-serif;
	/* font-weight: 100; */
	padding: 1rem;
	background-color: #ebebf1;
	background-image: url(/static/bg_app.jpg);
	color: #494949;
}

strong {
	font-weight: 600;
}

@keyframes cardin {
	from {
		transform: translateY(-250%)
	}

	to {
		transform: translateY(0%)
	}
}

.editor-container {
	color: black;
}

.info-container {
	color: black;
}

body {
	/*! max-width: 960px; */
    margin: 0 10px;
    background: white;
    border:10px solid #ed9228;
    border-radius: 15px;
    padding: 10px;

}

h1 {
	font-weight: 300;
	color: #b80124;
	margin: 1rem 0;
}

h2 {
	font-weight: 400
}

a:active {
	color: #377ba8;
}

hr {
	border: none;
	border-top: 1px solid lightgray;
}


nav {
	background-color: transparent;
	display: flex;
	align-items: center;
	padding: 0 0rem;
	margin-bottom: 12px;
	justify-content: center;
}

nav img {
	max-width: 100%;
	width: 300px;
	/*! padding: 20px; */
	/*! flex: 1; */
}

nav h1 {
	/*! flex: 1; */
	margin-left: 10px;
	font-weight: bold;
	font-family: "IBM Plex Sans", "Noto Sans", sans-serif;

}

nav h1 a {
	text-decoration: none;
	padding: 0.25rem 0.5rem;
}

nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav ul li a, nav ul li span, header .action {
	display: block;
	padding: 0.7rem;
}

.content {
	/*! padding: 0 1.1rem 1rem; */
}

.content>header {
	border-bottom: 2px solid #d3d3d340;
	display: flex;
	align-items: flex-end;
	margin-bottom: 10px;
	margin-right: -20px;
	margin-left: -20px;
	box-shadow: #0000000d 0px 3px 6px 0px;
	align-self: normal;
}

.content>header h1 {
	flex: auto;
	text-align: center;
	margin-top: 0px;
}

.flash {
	padding: 4px;
	margin: 1em 0;
	background: #b3d9f0ad;
	border: 1px dotted #377ba8;
	align-self: normal;
	box-shadow: 0px 4px 6px 0px #00000014;
	border-radius: 4px;
}

.flash_error {
	position: relative;
	font-size: 12px;
	background: #be213b70;
	padding: 10px;
	color: white;
	opacity: 0;
	transition: opacity 0.25s;
	border-radius: 4px;
	box-shadow: 0px 4px 6px 0px #00000014;
	border: 1px dotted red;

}

.post>header {
	display: flex;
	align-items: flex-end;
	font-size: 0.85em;
}

.post>header>div:first-of-type {
	flex: auto;
}

.post>header h1 {
	font-size: 1.5em;
	margin-bottom: 0;
}

.post .about {
	color: slategray;
	font-style: italic;
}

.post .body {
	white-space: pre-line;
}

.content:last-child {
	margin-bottom: 0;
}

.content form {
	margin: 1em 0;
	display: flex;
	flex-direction: column;
}

.content label {
	margin-bottom: 0.4em;
}

.content input, .content textarea {
	margin-bottom: 1em;
}

.content textarea {
	min-height: 12em;
	resize: vertical;
}

input.danger {
	color: #cc2f2e;
}

input[type=submit] {
	/*! align-self: start; */
	min-width: 10em;
	margin: 0;
	margin-top: 8px;
}

.hidden {
	display: none;
}

#popup,
#popup .popup_back {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#popup .popup_back {
	background-color: #00000029;
}

#popup_details_box {
	padding: 10px;
	box-shadow: 0px 1px 6px #00000069 inset;
	border-radius: 9px;
	margin-top: 10px;
}

#popup .popup_content {
	position: fixed;
	width: 50%;
	min-height: 200px;
	top: 5%;
	left: 24%;
	background-color: white;
	border-radius: 6px;
	box-shadow: 0px 6px 8px #0000006b;
	padding: 20px;
}

button.del_button,
#popup button {
	cursor: pointer;
	border-radius: 4px;
}

button.del_button {
	width: 100%;
}

button.del_button:hover {
	background-color: #a74c4c;
}

#popup button {
	margin: 10px;
	padding: 10px 30px;
	border-color: #3d7db6;
	background-color: #b3d2ee;
}

button.del_button,
button#confirm_remove {
	border-color: red;
	background-color: pink;
	font-weight: bold;
}

table tr:hover {
	background-color: #bbc2c3;
}

table,
table th,
table tr {
	font-weight: 300;
	text-align: left;
}

table th {
	border-left: 1px solid gray;
	padding: 4px;
}

table tr.table_head th {
	font-weight: 400;
	text-align: center;
	border-bottom: 2px solid black;
}

#spinner-area {
	height: 50px;
	width: 50px;
	/*background-color: gray;*/
	position: relative;
	margin-left: 12px;
	/*! display: inline-block; */

}


#navigation {
	/*! box-shadow: 0px 1px 6px #00000069 inset; */
	/*! padding: 0px 0px 0px 12px; */
	margin: 10px 0px 0px;
	/*! border-radius: 9px; */
	justify-content: start;
}

#navigation a {
	background-color: #e1e1e1;
	color: #213d50;
	/*! border-radius: 4px; */
	/*! margin: 6px 9px; */
	/*! box-shadow: 0px 1px 4px #000000bf; */
	text-decoration: none;
	padding: 7px 21px;
}

#navigation a:hover {
	background-color: darkgray;
}

#navigation .current {
	background-color: #377ba8;
	color: white;
}


#top_nav {
	flex-wrap: wrap;
}

details>summary {
	padding: 2px 8px;
	background-color: #ddd;
	border: none;
	cursor: pointer;
}

details>div {
	background-color: rgba(221, 221, 221, 0.337);
	padding: 4px 4px 4px 8px;
}



details {
	margin-bottom: 4px;

}

details[open] {
	margin-bottom: 10px;
}

.carddetailsp {
	margin: 4px;
	display: flex;
}

.cardbutton {
	margin: 4px;
	min-width: 10em;
}

.cardsinput {
	background-color: transparent;
	flex: 1;
	margin-left: 4px;
	border: 1px solid darkgrey;
}

.scanqrbutton {
	background: #3a3737f5;
	border-width: 0px;
	color: white;
	padding: 8px;
	box-shadow: 0px 2px 0px 1px #3a3737b3;
	font-weight: bold;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin: 10px;
}

.submitanswerbutton {
    background: #d61f2d;
    border-width: 0px;
    color: white;
    padding: 10px;
    box-shadow: 0px 4px 8px 0px #6fafd187;
    font-weight: bold;
    border-radius: 10px;
}

.usermenubutton {
	background: #4d9bbb;
	border-width: 0px;
	color: white;
	padding: 8px;
	box-shadow: 0px 2px 6px 0px #0000001c;
	font-weight: normal;
	font-size: small;
	text-decoration: none;
	/*! border-radius: 10px 0px 0px 10px; */
}

.radio-button {
	display: flex;
}

.radio-button input[type="radio"] {
	display: none;
}

.radio-button label {
	display: inline-block;
	background-color: #b66127;
	padding: 6px 8px;
	color: white;
	border-radius: 6px;
	flex: 1;
	text-align: center;
	font-weight: bold;

}

.radio-button input[type="radio"]:checked+label {
	background-color: #ffe28c;
	color: black;
	font-weight: normal;
	box-shadow: 0px 1px 0px #f0b104;
}

.badges-grid {
	display: grid;
	grid-template-columns: 20% 20% 20% 20% 20%;
	max-width: 500px;

}

/* ========= CHARTS ==========*/

.chart_container {
	width: 50%;
	position: relative;
	margin: auto;

}

/* AJAX ERROR MESG */

#ajax_error {
	padding: 20px;
	background-color: pink;
}


/* BADGE SCREEN*/

.badge_main{
	object-fit: cover;
  background-color: white;
  border-radius: 50%;
  padding: 23px;
  margin: 20px;
}

.question,
.postdata{
	font-size: 26px;

}
