body {
	margin: 2em 1em;
	font-family: Calibri, Arial, Helvetica, Courier, sans-serif;
	font-size: 1em;
	background: #f7f7f7;
}

#wrapper {
	min-height: 600px;
	width: 100%;
	text-align: center;
	position: relative;
}

img {
	vertical-align: top;
}

a,
a:visited,
a:focus {
	color: #0080c0;
	text-decoration: none;
}

a:hover {
	color: #333;
}

.formbox {
	padding: 2em 2em;
	border: solid 1px #ddd;
	border-radius: 6px;
	background-color: #fff;
	max-width: 340px;
	margin: 0 auto;
}

.formbox label {
	display: inline-block;
	width: 100px;
	margin-right: 1em;
}

.formbox label.sel {
	width: 100px;
}

.formbox2 {
	margin-bottom: 0.5em;
	padding: 1em 1em;
	border: solid 1px #ddd;
	background: rgba(190, 190, 190, 0.1);
	border-radius: 6px;
}

.formbox2 select {
	max-width: 300px;
	min-width: 300px;
}

input, select, textarea {
	font-family: Calibri, Arial, Helvetica, Courier, sans-serif;
	font-size: 0.95em;
	color: #000;
	border: solid 1px #aaa;
	background-color: #fff;
	max-width: 280px;
}

textarea {
	width: 400px;
}

input.checkbox {
	margin-left: 0px;
}


input[type=submit],
input[type=reset],
input[type=button] {
	padding: 8px 14px;
	cursor: pointer;
	border-radius: 5px;
	background-color: #000;
	color: #fff;
	border: none;
	margin-top: 0.3em;
	letter-spacing: 1px;
	line-height: 1.5;
	width: 160px;
}

input[type=submit] {
	margin-top: 1em;
}

input[type=file] {
	font-size: 0.8em;
	padding: 1em 1em;
}

select,
input[type=text] {
	margin-top: 1em;
	font-size: 1em;
	padding: 0.3em 0.3em;
	border-radius: 6px;
	min-width: 300px;
	max-width: 300px;
}

input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover {
	background-color: #bbb;
}

.wrong {
	color: #cc0000;
}

.hdl {
	margin-top: 1em;
	font-weight: bold;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
	margin-top: 0.5em;
}

ul li {
	display: block;
	font-style: italic;
}

@media only screen and (max-width: 390px) {
	.hdl {
		text-align: left;
	}
	
	ul {
		text-align: left;
	}
	
	ul li {
		display: block;
		font-style: italic;
	}
}



/* --- */

#js-warning {
	position: absolute;
	top: 180px;
	left: 0;
	height: auto;
	line-height: 1.6em;
	padding: 1em 1em;
	color: #fff;
	font-size: 1.3em;
	text-align: center;
	width: 100%;
	background: rgba(255, 0, 0, 0.8);
	z-index: 300;
}

#overlay {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(250, 50, 50, 0.8);
	background: linear-gradient(180deg, rgba(0, 0, 20, 0.6) 0%, rgba(103, 103, 103, 0.6) 50%, rgba(204, 204, 204, 0.46) 100%);
	z-index: 200;
	cursor: pointer;
}

#el {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 120%;
	color: #333;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
}

.lds-ripple {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

.lds-ripple div {
	position: absolute;
	border: 4px solid #fff;
	opacity: 1;
	border-radius: 50%;
	animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
	animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.custom-file-input {
	display: inline-block;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.custom-file-input .file {
	padding: 10px 6px;
	border-radius: 5px;
	cursor: pointer;
	background: rgba(0, 128, 64, 0.1);
}

.custom-file-input input[type="file"] {
	width: 100%;
	height: 100%;
	padding: 10px 6px;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	cursor: pointer;
}