body {
	background: #f8f8f8;
	font-size: 0.85em;
	font-family: 'Roboto', sans-serif;
}
a, a:hover, a:active {
	color: black;
	text-decoration: none;
}
.wrapper {
	border-radius: 10px;
	border: 1px solid #ccc;
	width: 85%;
	margin:auto;
	margin-top: 25px;
	box-shadow: 0 0 8px 0px #d6d6d6;
}
.title {
	padding: 12px;
	background: #eee;
	text-align: center;
	border-radius: 10px 10px 0 0;
	font-weight: bold;
	font-size: 1.2em;
	color: #111;
	line-height: 1em;
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
}
.title img {
	margin-left: 2px;
	position: absolute;
}
.title small {
	font-size: 0.7em;
	color: #666;
}
.wrapper .content {
	padding: 10px;
	background: white;
	border-radius: 0 0 10px 10px;
}
.copyright {
	text-align: center;
	font-size: 12px;
	margin-top: 10px;
	color: #888;
}
.success, .error {
	padding: 12px 10px;
	border-radius: 10px;
	margin-bottom: 8px;
	text-align:center;
	font-size: 1rem;
}
.success {
	background: #d4f5d6;
	color: #145417;
	border: 1px solid #7eb181;
	text-wrap: balance;
}
.error {
	background: #f8c9b7;
	color: #4b1a15;
	border: 1px solid #e79474;
}
.info {
    font-size: 1.3rem;
	font-weight: 300;
	margin: 30px 0;
	color: #5b5b5b;
	line-height: 1.5em;
	text-wrap: balance;
}
ul.files {
	padding-left:0;
	margin-top: 20px;
	margin-bottom: 20px;
}
ul.files li { display: block; }
ul.files a {
	display: block;
	padding: 12px;
	border-bottom: 1px solid #eee;
}
ul.files a:first-of-type {
	border-top: 1px solid #eee;
}
ul.files a:hover {
	background: #f8f8f8;
}
img.loader {
	display: block;
	margin: 15px auto;
	width: 60px;
}
.bt-back {
	background: #f6f6f6;
	cursor:pointer;
	padding: 8px 4px;
	transition: all linear 0.2s;
	display: none;
	border-radius: 0 0 5px 5px;
	margin-bottom:5px;
}
.bt-back:hover {
	background: #eee;
}
.titleCat {
	border-radius: 5px 5px 0 0;
	display:none;
	margin-top: 8px;
	background: #f0f0f0;
	padding:6px 8px;
	font-weight: 500;
	font-size: 1rem;
	text-transform:capitalize
}
.startIndex {
	display: block;
	text-align: center;
	padding: 12px;
	transition: all 0.2s linear;
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
	border-radius: 25px;
	color: rgba(0,0,0,0.75);
	border: 1px solid #ccc;
	font-size: 1.1rem;
}
.startIndex:hover {
	opacity: 0.95;
	color: black;
}

.modal-layer {
	background: rgba(0,0,0,0.65);
	width:100%;
	height:100%;
	top:0;
	left:0;
	position: fixed;
	z-index:90;
	display: none;
	opacity: 0;
}

.modal-win {
	display: none;
	border-radius: 20px;
	background: #483774;
	padding: 1px;
	position: fixed;
	left: 50%;
	top: 50%;
	width: 60%;
	translate: -50% -50%;
	z-index:99;
	font-size: 1rem;
	opacity: 0;
}
.show {
	transition: opacity .4s ease-in-out;
	display: inherit!important;
	opacity: 1!important;
}
.modal-win .content {
	background: white;
	border-radius: 20px 20px 0 0;
	padding: 20px;
	text-wrap: balance;
}
.modal-win .content input[type="password"] {
	width:80%;
	text-align:center;
	padding: 4px;
	border-radius: 25px;
	border: 1px solid #aaa;
	margin-top: 6px;
	font-size: 1.1rem;
}
.modal-win .content input[type="password"]:focus-visible {
	border: 1px solid #57497a;
	outline: none;
}
.modal-win .bt-ok {
	border-radius: 0 0 20px 20px; 
	padding: 8px;
	background: rgba(255 255 255 / 21%);
	cursor: pointer;
	text-align:center;
	transition: all linear 0.2s;
	text-transform: uppercase;
	color: white;
}
.modal-win .bt-ok:hover {
	background: rgba(255,255,255,0.4);
}
.modal-win .result { padding-top: 6px; }

/* ---------- Debug area styles ------------ */
.debug-area {
	position: fixed;
	bottom: 12px;
	left:0;
	width: 100%;
	background: #6e9feaad;
}
.debug-message {
	text-align:center;
	font-size: 9px;
	padding: 3px 6px;
	background: rgba(255,255,255,0.2);
}
.debug-tools, .button {
	font-size: 1.25em;
	padding: 6px;	
}
.debug-tools .item, .button {
	text-align:center;
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
	padding: 14px 60px;
	cursor: pointer;
	border-radius: 25px;
	margin-right: 2px; 
	border: 1px solid #ccc;
	display: inline-block;
	text-wrap: balance;
}
.debug-tools .item:hover, .button:hover, .startIndex:hover {
	background: linear-gradient(to top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
}

.logo {
	margin: auto; margin-top: 35px; width: 350px;
}
.message {
	opacity: 0;
	z-index: 99;
	position:fixed;
	bottom:0; left:0;
	width:100%;
	padding: 16px;
	text-align:center;
	background:rgba(0,0,0,0.6);
	color:white;
	font-size:1rem;
	box-sizing: border-box;
	text-wrap: balance;
	transition: opacity .4s ease-in-out;
}

.form-wrapper {
	position: relative;
	padding: 12px;
	padding-bottom: 40px;
}
form {
	text-align:center;
}
.error-reporting {
	margin: 20px 0;
	font-size: 0.9rem;
	> li {
		margin: 10px 0;
	}
}

@media (max-width: 800px) {
	.wrapper {
		width: 98%;
		box-shadow: 0 0 2px 0 #d6d6d6;
	}
	.modal-win {
		width: 92%;
	}
}
@media (max-width: 660px) {
	.info {
		font-size: 1.1rem;
	}
}
@media (max-width: 460px) {
	.logo {
		width: 88%;
	}
	.modal-win {
		width: 96%;
	}
	.button {
		padding: 14px;
	}
	.form-wrapper {
		padding-bottom: 16px;
	}
	.info {
		margin: 24px 0;
	}
}