
/*=================== CSS RESET =====================*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: inherit;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*=================== CSS RESET (END) =====================*/

html, body{
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 28px;
	color: #404040;
}

section{
	padding: 75px 25px;
	box-sizing: border-box;
}

a{
	transition: 0.3s;
	color: #117bd7;
}

h1,h2,h3{
	line-height: 1.2em;
}

h1{
	margin-bottom: 40px;
	font-size: 31px;
}

h4{
	margin-bottom: 20px;

}

hr{
	border:none;
	border-bottom: #bebebe 1px solid;
	width: 100%;
	margin: 30px 0;
}

div{
	box-sizing: border-box;
}

p{
	margin-bottom: 15px;
}

.contain{
	margin: auto;
	max-width: 1120px;
}

.whitediv{
	padding: 35px;
	border-radius: 10px;
	background-color: white;
	box-shadow: rgba(0,0,0,0.15) 0 0 30px;
}

.small{
	font-size: 12px;
	line-height: 1.4em;
}

.whitetext{
	color: white;
}


/*================== HEADER AND FOOTER ===================*/



header{
	background-color: #e8e8e8;
	padding: 20px 25px;
}

header > div{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header nav a{
	color: inherit;
	text-decoration: none;
	margin: 0 10px;
	font-size: 15px;
}

header img{
	object-fit: contain;
	object-position: center;
	margin: auto;
	display: block;
}

@media (max-width: 768px){
	header nav{
		display: none;
	}
	header > div{
		justify-content: center;
	}
}

footer{
	padding: 30px 20px;
	height: auto;
	background-color: #2e2e2e;
	color: #bebebe;
}

footer ul{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 5px;
}

footer a{
	color: #bebebe;
	text-decoration: none;
	padding: 7px 10px;
}

footer a:hover{
	color: white;
}


/*=================== STYLES ==================*/


.moreinfo{
	max-width: 800px;
}

.login .whitediv{
	max-width: 550px;
	margin: auto;
}

.form{
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: auto;
	flex-wrap: wrap;
	justify-content: space-between;
}

.form select[name=gender],
.form input[name=from],
.form input[name=pass1],
.form input[name=pass2],
.form input[name=fname],
.form input[name=lname]{
	width: 49.5%;
}


.form h1,
.form h2,
.form h3{
	text-align: center;
	font-size: 23px;
	width: 100%;
	margin-bottom: 20px;
}

.form p {
	font-size: 14px;
	line-height: 24px;
}
.form > div{
	width: 100%;
}

.form input::placeholder,
.form select::placeholder{
	color: #404040;
}

.form input,
.form select{
	font-family: inherit;
	font-size: 15px;
    padding: 15px 20px;
    border-radius: 5px;
    background-color: #ededed;
    border: 1px solid rgba(0,0,0,0);
    transition: 0.3s;
    margin: 0;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.form input[type=submit]{
	background-color: #117bd7;
	color: white;
	font-weight: 700;
	cursor: pointer;
	white-space: normal;
	font-size: 17px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.form input[type=submit]:hover{
	opacity: .8;
}

#forgot-form > div{
	display: flex;
	align-items: stretch;
}

#forgot-form input[type=submit]{
	width: auto;
	margin-left: 10px;
	background-color: white;
	border: 1px #bebebe solid;
	color: #404040;
}

#forgot-form input[type=submit]:hover{
	background: #535353;
	color: white;
	opacity: 1;
}

@media (max-width: 768px){
	section{
		padding: 50px 25px;
	}
	h1{
		font-size: 28px;
	}
	h2{
		font-size: 22px;
	}

	.form select[name=gender],
	.form input[name=from],
	.form input[name=pass1],
	.form input[name=pass2],
	.form input[name=fname],
	.form input[name=lname]{
		width: 100%;
	}

	.form input[type=submit]{
		font-size: 16px;
	}

	.login .whitediv{
		padding: 0;
		box-shadow: none;
		background-color: none;
		padding-bottom: 35px;
		border-radius: 0;
	}

	#forgot-form > div{
		flex-direction: column
	}
	#forgot-form input[type=submit]{
		margin-left: 0;
	}
}