body {
	font-family: 'Lato', sans-serif;
	margin: 0px;
	padding: 0px;
}

/***** Grid *****/
.col-6 {
	width: 50%;
}

.col-12 {
	width: 100%;
}

section {
	background: white;
	width: 1200px;
	max-width: 90%;
	margin: 0 auto;
	padding: 20px;
	border-radius: 30px;
	position: relative;
	z-index: 12;
}

.form-container {
    width: 800px;
    max-width: 100%;
    margin: 40px auto;
}

.form-success {
    width: 800px;
    max-width: 100%;
    margin: 40px auto;
    text-align: center;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}

/***** Header *****/

header {
	text-align: center;
	position: relative;
	z-index: 11;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	height: 90px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 0 10px;
}

.title_section {
	display: flex;
    background: #f8f9fa no-repeat center;
    background-size: cover;
    border-top-width: 0px;
    border-top-color: #f8f9fa;
    border-top-style: solid;
    border-bottom-width: 0px;
    border-bottom-color: #f8f9fa;
    border-bottom-style: solid;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: rgb(44, 44, 44);
	font-size: 42px;
	padding: 50px 10px;
	justify-content: center;
	text-align: center;
}

.top-container {
	display: flex;
    justify-content: center;
    padding: 20px 0;
}
.top-container img {
	max-width: 100%;
}
/***** Form *****/

.form {
    padding: 5px 10px 17px 10px;
    box-sizing: border-box;
	position: relative;
}

.form-section {
	display: flex;
	flex-wrap: wrap;
}

.form>label {
    display: block;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    margin-bottom: 5px;
    font-size: 14px;
    color: black;
}

/* Input */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
    background: none;
    border: 1px solid #e9e9e9;
    padding: 17px 26px;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    color: #000000;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    border-radius: 4px;
	transition: all 500ms ease-in-out;
}

select:focus,
input:focus {
	outline: none;
    border: 1px solid #b9b9b9;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px white inset;
    -webkit-text-fill-color: #000000;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #000000;
} 

label {
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Top */
#register-section .top-container h1 {
	background: none;
	color: #302f2f;
    text-align: center;
    font-size: 50px;
    padding: 0;
    margin: 22px;
    font-weight: 700;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#register-section .top-container p {
	width: 600px;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
	color: gray;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Errors */
.error {
	font-weight: 700;
    color: red;
    margin-top: 10px;
    display: none;
    font-size: 12px;
    position: absolute;
    bottom: 0;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.success {
	font-weight: 700;
    color: green;
    margin-top: 10px;
    display: none;
    font-size: 12px;
    position: absolute;
    bottom: 0;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-group .error {
	padding-left: 35px;
}

.has-error {
	border-color: red !important;
	transition: all 500ms ease-in-out;
}

.has-success {
	border-color: green !important;
	transition: all 500ms ease-in-out;
}

/* Section */

h2 {
	background: #B5121B;
	color: white;
	font-size: 16px;
	padding: 5px 15px;
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	text-transform: uppercase;
}

/* Checkbox */

.checkbox-group {
	margin:5px 10px;
	position: relative;
}

.checkbox-group label {
	display: block;
	position: relative;
	margin-bottom: 20px;
	padding-left:35px;
	margin-right:35px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-align: left;
	font-size: 18px;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}
.checkbox-group label input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.checkbox-group label .checkbox {
	position: absolute;
	top: -2px;
	left: 0;
	height: 25px;
	width: 25px;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
}

.checkbox-group label .checkbox:after {
	content: "";
	position: absolute;
	display: none;
}
.checkbox-group label input:checked ~ .checkbox:after {
	display: block;
}
.checkbox-group label .checkbox:after {
	left: 5px;
	top: 5px;
	width: 15px;
	height: 15px;
	background: #000000;
	border-width: 0 3px 3px 0;
}

/* Button */

.button-group {
	display: flex;
	justify-content:flex-end;
	margin:10px;
	box-sizing: border-box;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.button-group button {
	cursor: pointer;
	padding: 15px 20px;
	border-radius: 5px;
	border:0;
	font-size: 18px;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	text-align: center;
	width: 314px;
	height: 56px;
	margin-top: 0;
    transition: all 0.3s ease-in-out;
}
.button-group button:hover {
    scale: 1.1;
}


/***** Footer *****/

footer {
	width: 100%;
	height: 100px;
	background:#f4f4f4;
	position: relative;
	z-index: 10;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer span {
	text-align: center;
	color: #bbbbbb;
}
footer span a {
	color: #bbbbbb;
	text-decoration: none;
}
footer span a:hover {
	text-decoration: underline;
}


/* Mobile */
@media only screen and (max-width: 1200px) {
	section {
		width: 90%;
		margin-left:5%;
		box-sizing: border-box;
	}
    .form-container,
    .form-success {
        width: 100%;
        margin: 40px auto;
    }
}

@media only screen and (max-width: 600px) {
	section {
		width: 90%;
		margin-left:5%;
		box-sizing: border-box;
	}
	#register-section .top-container {
		width: auto;
	}
	#register-section .form-container {
		width: 100%;
	}

	.col-6 {
		width: 100%;
	}

	#register-section .top-container h1 {
		font-size: 40px;
		padding: 0;
		margin: 0;
	}

	#register-section .top-container {
		margin-bottom: 0;
	}

	#register-section .form-container {
		margin: 0 auto;
	}
	.radio-group {
		display: flex;
		flex-direction: column;
	}
	.radio-group label {
		margin: 10px 0;
	}
}

.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: none;
}

.loader__container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loader__item {
	width: 20px;
	height: 20px;
	background: #B5121B;
	border-radius: 50%;
	display: inline-block;
	animation: loader 1.5s infinite ease-in-out;
}

.loader__item:nth-child(2) {
	animation-delay: 0.5s;
	
}

.loader__item:nth-child(3) {
	animation-delay: 1s;
}

@keyframes loader {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1);
	}

	100% {
		transform: scale(0);
	}
}