:root{
	--color1: #1a689b;
	--backColorLight: #38a3e9;
	--backColor:#eaeef4;

/*	--color1: #a30;
	--backColorLight: #d71;
	--backColor:#9d9;
/*	green
	--color1: #252;
	--backColorLight: #479952;
	--backColor:#9d9;

*/
}
@media (prefers-color-scheme: dark) {
/*	:root{
		--color1: #1a689b;
		--backColorLight: #38a3e9;
		--backColor:#eaeef4;
	}*/
	
	div {
/*		background-color: #1D1D1D;*/
		filter: invert(100%) contrast(90%) hue-rotate(180deg);
	}
}
body {
	background: url('images/back.jpg') no-repeat center center fixed; 
	background-size: cover;
	font-family: 'Open Sans', sans-serif;
	overflow-x: hidden;
	overflow-y:auto;
}

*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}
h1 {
	color: var(--color1);
	font-family: 'Exo 2', sans-serif;
	font-size: 30px;
	padding: 25px 20px 25px 25px;
	font-weight: bold;
/*	text-transform: uppercase;*/
	float: left;
}
h2{
	color: var(--color1);
    font-size: 22px;
    font-weight: normal;
    width: 100%;
    text-align: right;
    padding-right: 34px;
}

a {
	color:var(--color1);
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}

#main {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 350px;
	box-shadow: 0px 2px 20px #432;
	background-color: #fffd;
	border-radius: 5px;
	overflow: hidden;
}
#header{
    height: 80px;
    padding: 0px 0 0 0;
    box-shadow: 0px 2px 8px 0px rgb(200, 200, 200);
    margin-bottom: 10px;
    margin-top: -8px;
}	

#lng{
	min-width: 45px;
	width: 0px;
	z-index: 999999999999;
	position: absolute;
	top: 17px;
	right: 10px;
	font-size: 16px;
	float:left;
	text-transform: uppercase;
}
#lng>p:first-child{
	padding:10px;
	width: 40px;
	float: left;
	line-height: 20px;
	color: var(--color1);
	cursor: pointer;
	border-left: 1px black solid;
}
#lng>div{
	float:left; clear:left;
	margin-top:10px;
	padding: 0px 5px;
	border: 1px var(--color1) solid;
	width:40px;
	background-color:#fff;
	height:0px;
	overflow: hidden;
	opacity: 0;
	transition: .8s;
}
#lng:hover >div{
	height: auto;
	padding:10px 5px;
	opacity: 1;
}
#lng>div > a{
	display:block;
	width:100%;
	text-align:center;
}
/* --- Forms */
form{
	width: 100%;
	padding:15px 10%;
}

input[type="text"], input[type="email"], input[type="password"]{
	display: inline-block;
	border: 1px solid #969696;
	height:30px;
	margin: 0 0 28px 0;
	height: 30px;
	width: 100%;
	
	padding-left: 10px;
	border-radius: 5px;
	color: var(--color1);
}
input[name="firstName"], input[name="lastName"]{
	width: 47%;
}
input[name="lastName"]{
	float: right;
}

#eye, .eye{
	position:relative;
	float: right;
	background-image: url('icons/eye.png');
	background-repeat: no-repeat;
	background-position: center;
	margin:-63px 5px 0 0;
	height:42px; width:30px;
	cursor: pointer;
	z-index: 1000;
	opacity:.3;
}

label{
	display:inline-block;
	margin: 10px 0 0 30px;
	font-size: 15px;
}

input[type="checkbox"]{
	display: none;
}
input[type="checkbox"] + label {
	display:block;
	margin:10px 0 0 33px;
	height: 22px; width:22px;
	background-color: #969696;
	border-radius: 50%;
	cursor: pointer;
}
input[type="checkbox"]:checked + label {
	background-color: var(--color1);
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 -2 25 25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
}
button{
	background-color: var(--backColorLight);
	color: white;
	cursor: pointer;
	height: 30px; width: 100%;
	border: none;
	margin: 5px auto 10px auto;
	border-radius: 15px;

}
input[type="submit"], button[type="submit"]{
	background-color: var(--color1);
	color: white;
	cursor: pointer;
	height: 30px; width: 100%;
	border: none;
/*	margin: 5px 0 10px 25px;*/
	margin: 5px auto 10px auto;
	border-radius: 15px;
}

label + input[type="submit"]{
	margin-top:55px;
}
::placeholder {
    color: #969696;
}

hr {
	position:relative;
	background-color: rgb(230, 230, 230);
	height: 3px;
	width: 100%;
	margin: 0 0 28px 0;
	border: none;
}

.contBellow{
	clear: both;
	width:100%;
	text-align: center;
	line-height: 22px;
	font-style: italic;
	margin-bottom: 20px;
}
.contBellow > p {
    color: #969696;
    text-align: center;
    margin-top: 9px;
}

.info, .badMsg{
	display:block;
	padding-top: 10px;
	width:100%;
	text-align:center;
	color: #888;
}
.badMsg{
	color:red;
}
.info{
    background-color: #d2ebd2;
    color: #060;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: .90em;
	line-height: 1.5em;
}
div.pwdLegend{
	margin-top: -25px;
	width: 100%;
	font-size: 0.9em;
	font-style: italic;
	color: red;
}
div.pwdLegend>span{
	margin-right:20px;
}
div.pwdLegend>span::before{
	display: inline-block;
	margin-right:5px;
	content:"\2718";
}
div.pwdLegend>span[is-valid]::before{
	content:"\2714";
}

div.pwdLegend>span[is-valid]{
	color:#060;
}