/* CSS Document */

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

/* Responsive behaviour */
@media (min-width: 1000px) {
	/* load on wide screens */
	body {
		background-color: transparent;
		background-size: cover;
	}

}
@media (max-height: 550px) {
	h2 {
		display: none;
	}
}
@media (min-height: 451px) {
	body {
		overflow:hidden;
	}
}

/* Layout */
*, *:before, *:after {
	box-sizing: border-box;
}
html {
	background: linear-gradient(145deg, #38414b 30%, #aaa 100%);
}
html, body {
	height: 100%;
	font: 100 16px/1.55 "Open Sans", sans-serif;
	margin: 0;
}

/* Elements / components theme */
h1 {
	font-size: 40px;
	font-weight: 100;
}
h2 {
	font-size: 30px;
	font-weight: 100;
	margin-bottom: 14px;
}
label {
	font-size: 14px;
	padding: 5px 0 5px 0;
	display: inline-block;
}
input[type='text'],input[type='password'] {
	width:100%;
    border:1px solid #38414b;
    border-radius:4px;
    margin:8px 0px;
    outline:none;
    padding:8px;
    box-sizing:border-box;
    transition:.3s;
}
input:focus{
    border-color:dodgerBlue;
    box-shadow:0 0 8px 0 dodgerBlue;
  }
.inputWithIcon input{
position:relative;
padding-left:40px;
}
.inputWithIcon{
position:relative;
}
.inputWithIcon i{
position:absolute;
left:0;
top:8px;
padding:9px 8px;
color:#aaa;
transition:.3s;
}
.inputWithIcon input:focus + i{
color:dodgerBlue;
}
button {
	position: relative;
	text-align: center;
	margin-top: 37px;
	height: 37px;
	background-color: #38414b;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
	font-weight: 600;
	cursor: pointer;
	font: inherit;
}
button:hover {
    opacity: 1;
}
form {
	max-width: 400px;
	margin: auto;
    width: 70%;
}

#logo {
	display: inline-block;
	width: 60px;
	height: 60px;
	border-radius: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-color: rgba(255,255,255,0.2);
	box-shadow: 3px 3px 8px rgba(0,0,0,.2);
}


#info {
	color: #fff;
	text-align: center;
	padding: 28px;
}
#formContainer {
	padding: 28px;
	height: 100%;
	width: 100%;
	background-color: #fff;
	justify-content: center;

}
#formContent {
	display: block;
	padding: 8px;
	max-width: 400px;
	margin: auto;
    width: 70%;
}

#button-submit:focus:after {
	box-shadow: 0 0 0 2px dodgerBlue;
	content: "";
	position: absolute;
	top: -2px;
	right: -2px;
	bottom: -2px;
	left: -2px;
	border-radius: inherit;
}
.error input {
	border-color: red;
}

.message_info, .message_success, .message_warning, .message_error {
	display: block;
	border-radius: 4px;
	font-size: 14px;
	padding: 8px;
	max-width: 600px;
	margin: auto;
    width: 70%;

}
.message_info {
    color: #00529B;
    background-color: #BDE5F8;
}
.message_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.message_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.message_error {
    color: #D8000C;
    background-color: #FFD2D2;
}

.message_info i, .message_success i, .message_warning i, .message_error i {
    margin:10px 22px;
    vertical-align:middle;
}

.link-bottom{
	display: block;
	width: 100%;
	font-size: 14px;
	padding: 8px;
	max-width: 400px;
	margin: auto;
    width: 70%;
}