html {
    font-family: 'Raleway', sans-serif;
    padding: 1rem;
    background-color: #e9e9e9;
    /*background-image: radial-gradient(#ffffffaa 0.65px, #70707e 0.65px);*/
/*    background-image: url(/static/bg_app.jpg);*/
   /* background-size: 13px 13px;*/
    color: #424242;
}

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;
	box-shadow: 0px 3px 6px 3px #0000001c;
	padding: 0px 20px 20px 20px;
	/*opacity: 0.9;*/
	border-radius: 10px;
}

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

h2 {
	font-weight: 400
}

a:active {
	color: #377ba8;
}

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

input[type=text] {
/*width: 100%;*/
    padding: 12px 20px;
    background-color: #fdfdfd;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    border-bottom: 1px solid #cbc7c7;
}



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

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

nav h1 {
	/*! flex: 1; */
	margin-left: 10px;
	font-weight: bold;
	font-family: "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;
	color: white;
}

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

.nomet {
	    color: #569bc1;
    font-weight: 600;
    text-transform: uppercase;
}

.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;
}
#intropage {max-width: 150px;
    margin: 20px;
}

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

.flash {

    align-self: normal;
}

.trofei {
	background-color: #00b2b4;
    font-size: 18px;
    color: #FFF;
    text-align: center;
    padding: 4px;
    margin: 10px;
}

.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: 0;
    display: flex;
    flex-direction: column;
}

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

.content input, .content textarea {
	margin-bottom: 0px;

}

.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;
}
.nomeutente {
margin-bottom: 0px;
    padding: 5px;
    height: 24px;
    border-radius: 10px;
    border: 1px solid #c5bdbd;
}

.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;
	background-color: #fff;
}

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

#footer {
	margin-top: 20px;
    border-top: 2px solid #00b2b4;
    padding: 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;
}
.nome {text-transform: uppercase;
color: #622e0f}
.userid {font-size: 6px;}

#introp {text-align: left;
    margin-top: 0;
    margin-bottom: 0;
}

.submitanswerbutton {
background: #4fb2db;
    border-width: 0px;
    color: #ffffff;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    min-height: 32px;
    border-radius: 25px;
    font-size: 18px;


}
.pulsante {
    background: #00bcd4;
    border-width: 0px;
    color: #ffffff;
    padding: 10px;
    box-shadow: 0px 4px 8px 0px #6fafd187;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
        margin-bottom: -25px;
    margin-top: -20px;
}

.usermenubutton {
	background: #4fb2db;
    border-width: 0px;
    color: #ffffff;
    padding: 8px;
    box-shadow: 0px 2px 6px 0px #0000001c;
    font-weight: bold;
    font-size: small;
    text-decoration: none;
    margin-right: 2px;

}

.radio-button {
	display: flex;
}

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

.radio-button label {
display: inline-block;
    background-color: #2196f3;
    padding: 8px;
    flex: 1;
    color: #ffffff;
    text-align: center;
    border-radius: 24px;
}

.radio-button input[type="radio"]:checked+label {
	background-color: #ef6f32;
	color: white;
	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;
}