@font-face {
	font-family: DM_Sans;
	src: url(../font/DMSans-Regular.ttf);
}
@font-face {
	font-family: DM_Sans-bold;
	src: url(../font/DMSans-Bold.ttf);
	font-weight: bold;
}
@font-face {
	font-family: DM_Sans-italic;
	src: url(../font/DMSans-Italic.ttf);
	font-weight: italic;
}
@font-face {
	font-family: DM_Sans-bolditalic;
	src: url(../font/DMSans-BoldItalic.ttf);
	font-weight: italic;
}
@font-face {
	font-family: DM_Sans-medium;
	src: url(../font/DMSans-Medium.ttf);
	font-weight: italic;
}

:root
{
	/*--pri: #DDDDDD;*/
	--pri: #777777;
	--sec: #242424;
}

body
{
	margin: 0;
	padding: 0;
	font-family: DM_Sans;

	background-color: white;
}

.bold
{
	font-weight: bold;
}

.background
{
	position: absolute;
	height: 40%;
	min-height: 300px;
	width: 100%;

	z-index: -1;
	background-color: var(--sec);
}

.document
{
	display: grid;
	width: 100%;
	min-height: 100vh;

	grid-gap: 10px;
	grid-template-columns: 1fr  auto  1fr;
	grid-template-rows: minmax(100px, 1fr) auto auto minmax(100px, 2fr) 80px;
}

.logo
{
	grid-column: 2;
	grid-row: 2;
	min-height: 120px;

	background-position: center;
	background-repeat: no-repeat;
}

.mainWrapper
{
	grid-column: 2;
	grid-row: 3;

	min-height: 400px;
	max-width: 700px;

	background-color: var(--pri);
	border-radius: 20px;
	filter: drop-shadow(0 0 4px #AAAAAA);

	overflow: visible;

	display: grid;
	grid-template-columns: minmax(25px, 1fr) auto minmax(25px, 1fr);
	grid-template-rows: 10px auto auto auto auto 10px;

	justify-items: center;
}

.mainBackground
{
	grid-column: 1/4;
	grid-row: 2/6;

	width: 100%;
	height: 100%;

	background-color: white;
	border-radius: 15px;
}

.title
{
	grid-column: 2;
	grid-row: 2;

	display: inline-block;
	font-family: DM_Sans-bold;
	font-size: 40px;

	color: var(--pri);
}

.description
{
	grid-column: 2;
	grid-row: 3;

}

.questions
{
	grid-column: 2;
	grid-row: 4;

	min-height: calc(100% - 20px);

	padding-left: 20px;
	padding-right: 20px;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	overflow: visible;
}


.buttons
{
	grid-column: 2;
	grid-row: 5;
}

p
{
	text-align: center;
	width: 100%;
}

ul
{
	margin-left: 12px;
	list-style-type: none;
}
li
{
  display: list-item;
}

.listSpan
{
	width: 200px;
	display: inline-block;

	font-size: 20px;
}

.document input, .document input:focus
{
		font-size: 20px;
		font-family: DM_Sans;
		border: 0;
		padding: 5px;
		border-bottom: 2px solid var(--pri);

		outline:none;
}

.document input[type=text] { width: 250px; }
.document input[type=number] { width: 50px; text-align: center; }
.document input[type=date] { width: 130px; }

.birth_day, .birth_month
{
	width: 25px !important ;
	text-align: center;
}
.birth_year
{
	width: 50px !important ;
	text-align: center;
}


.button
{
	margin: 10px;

	display: inline-block;
	background-color: var(--pri);

	width: 200px;
	height: 35px;

	color: white;
	font-size: 18px;

	border-radius: 20px;
	padding-top: 10px;

	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;

	text-align: center;
}
.button:hover
{
	cursor: pointer;
	background-color: var(--sec);

}



.top2_dot
{
	display: inline-block;
	background-color: var(--pri);
	width: 20px;
	height: 20px;
	border-radius: 10px;
	margin-right: 15px;
	margin-bottom: 4px;
}



/* footer container */
.footer
{
	grid-column: 1/4;   /* 1 to 3 */
	grid-row: 5;

	background-color: #F7F7F7;

	display: flex;
	align-items: center;
}
.footer > div:first-child
{
	flex-grow: 1;
}
.footer_text
{
	font-family: DM_Sans-medium;
	font-size: 12px;
	color: #919191;
	padding-right: 20px;
}
.footer > img
{
	margin-right: 30px;
}
.footer:hover > img, .footer_text:hover
{
	cursor: pointer;
}


input::-webkit-calendar-picker-indicator { display:none;}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}


.empty
{
	font-style: italic;
	color: grey;
	display: none;
}
