@charset "UTF-8";
/* CSS Document */

@font-face										{font-family:'Roboto';src:url('../fonts/Roboto-Regular.woff') format('woff');font-weight:normal;font-style:normal;}

*												{box-sizing:border-box;}

html, body
{
	height:100%;
	margin:0;
}

body
{
	font-family: Roboto,sans-serif;
//	font-family: Signika,sans-serif;
//	background-image: -webkit-linear-gradient(270deg,rgba(45,161,215,1.00) 0%,rgba(83,178,222,1.00) 100%);
//	background-image: -moz-linear-gradient(270deg,rgba(45,161,215,1.00) 0%,rgba(83,178,222,1.00) 100%);
//	background-image: -o-linear-gradient(270deg,rgba(45,161,215,1.00) 0%,rgba(83,178,222,1.00) 100%);
//	background-image: linear-gradient(180deg,rgba(45,161,215,1.00) 0%,rgba(83,178,222,1.00) 100%);
//	background-color:#2389B9;
//	background-repeat: no-repeat;
//	background-attachment: fixed;
	background:white;
    height: 100%;
	max-height:100%;
	font-size:100%;
	margin:0;
	overflow:auto;
    padding:0;
    display:flex;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Vertalingen */
body.nl .en,
body.en .nl										{display:none;}

.center											{text-align:center;}
.hidden											{display:none;}

#bar
{
	display: block;
	position:fixed;
	left:0;
	top:0;
    right:0;
    height:env(safe-area-inset-top);
	background-color:#376D5B;
}

#app
{
	display: flex;
    flex: 1;
	flex-direction: column;
	width: 100%;
	margin: 0;
	padding: 0;
	height: 100%;
    max-height:100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

img {
	width: 100%;
}

#logos {
	position: relative;
	top: 20px;
	width: 100%;
	height: 100px;
	min-height: 100px;
	display: block;
	flex: 0;
	background:white url(../images/logos.png) 0px center repeat-x;
	background-size: 1000px 100px;
	margin:0;
	animation: slide 30s linear infinite;
}

@keyframes slide {
  0% {background-position:0px center;}
  100% {background-position:-1000px center;}
}

#wrapper {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 500px;
	max-width:100%;
	margin:30px auto 0;
	padding:0 10px;
}

header {
	margin-bottom: 30px;
	flex: 0;
	text-align: center;
}	

header h1 {
	/*color: #362860;*/
	color: #376D5B;
	font-size: 3em;
	/*font-style:italic;*/
	text-transform:uppercase;
	margin:0;
	text-align:center;
	cursor:pointer;
}

header h2 {
	color: #362860;
	font-size: 1em;
	margin:0;
	text-align:center;
}

#fasulator {
	flex: 1;
}

footer {
	margin-top: 50px;
	flex: 0;
	color: gray;
	font-size: 80%;
}

#form_fasu label {
	display:block;
	color:#362860;
	font-size:1.5em;
	font-style: italic;
	font-weight: 400;
	margin-bottom:4px;
}

#form_fasu input {
	padding: 10px 20px;
	width: 100%;
	height: 55px;
	font-size:1.5em;
	margin-bottom:16px;
	border:1px solid #222222;
	outline:none;
	border-radius:5px;
}

#form_fasu p {
	margin:0 0 5px;
}

#form_fasu p.note {
	color:silver;
}

#screen1, #screen2, #screen3 {
	/*height:400px;*/
	padding:20px 0;
	opacity:0.2;
	transition:opacity 0.5s;
}

#fasulator.screen1 #screen1 {
	opacity:1;
}

#fasulator.screen2 #screen1,
#fasulator.screen2 #screen2 {
	opacity:1;
}

#fasulator.screen3 #screen1,
#fasulator.screen3 #screen2,
#fasulator.screen3 #screen3 {
	opacity:1;
}

#screen1 {
	display:none;
}

#fasulator.screen1 #screen3,
#fasulator.screen2 #screen3 {
	display:none;
}

#screen2, #screen3 {
	/*display:none;*/
}

.buttons {
	display:flex;
}
.buttons button + button {
	margin-left:25px;
}
.buttons .button-keuze {
	opacity:0.75;
}
.buttons .button-keuze:hover,
.buttons .button-keuze.active {
	opacity:1;
}

button,
#form_fasu input[type="submit"] {
	padding: 10px 20px;
	width: 100%;
	min-height: 60px;
	font-size:1.5em;
	margin-top:16px;
	margin-bottom:16px;
	border:none;
	outline:none;
	border-radius:0;
	background-color:#3E2B3A;
	color:#FFFFFF;
	text-shadow: none;
	-webkit-appearance: none;
	cursor:pointer;
}

#form_fasu input.focus
{
	color: rgba(11,84,118,1.00);
	border-color:#362860;	
	background-color:#F9F9F9;
}

#uitkomst
{
	display:none;
}

#fasulator.screen4 #screen1,
#fasulator.screen4 #screen2,
#fasulator.screen4 #screen3 {
	display:none;
}

#fasulator.screen4 #tekst-welkom {
	display:none;
}

/*
#fasulator.screen4.hoog #tekst-resultaat,
#fasulator.screen4.hoog #tekst-uitkomst {
	display:none;
}
*/

#fasulator.screen1 #tekst-resultaat,
#fasulator.screen2 #tekst-resultaat,
#fasulator.screen3 #tekst-resultaat {
	display:none;
}

#fasulator.screen4 #uitkomst
{
	display:block;
}

/*
#uitkomst button#reset {
	background: dimgray;
}
*/

#uitkomst p {
	font-size: unset;
	font-style: italic;
	font-weight: 300;
	color:#362860;
	margin:0 0 15px;
}

#uitkomst .toelichting p {
	font-size: unset;
}

h2#uitkomst_getal {
	/*font-size: 6em;*/
	font-weight:bold;	
	color:#376D5B;
	margin:0;
	text-align:center;
	display:flex;
	justify-content:space-between;
	align-items:end;
}

h2#uitkomst_getal div {
	width:200px;
}

h2#uitkomst_getal span {
	display:block;
	text-align:center;
}

.languages{
	margin-top:15px;
}

span.language{
	cursor:pointer;
}

body.nl span.language-nl{
	text-decoration:underline;
}

body.en span.language-en{
	text-decoration:underline;
}

.tekst-resultaat-huisnummer,
.tekst-resultaat-toevoeging{
	font-weight:bold;
	color:#376D5B;
	font-family:sans-serif;
}


i.help{
	display:inline-block;
	font-style:normal;
	font-size:16px;
	line-height:30px;
	color:white;
	background:#362860;
	width:30px;
	height:30px;
	border-radius:15px;
	vertical-align:middle;
	margin-left:15px;
	cursor:pointer;
	text-align:center;
}

#popup{
	position:fixed;
	display:flex;
	justify-content:center;
	align-items:center;
	top:0;left:0;right:0;bottom:0;
	background:rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
}

#popup > div{
	width:400px;
	max-width:80%;
	/*min-height:500px;*/
	background:white;
	padding:50px;
	box-shadow:0px 10px 50px rgba(0, 0, 0, 0.5);
}

#meer-info{
	background-color:#87B6A6;
	color: white;
	padding:10px;
	margin-top:50px;
}
#meer-info a{
	color: white;
	text-decoration:none;
}
#meer-info a:hover{
	text-decoration:underline;
}

@media screen and (max-width: 600px)
{
	 #form_fasu label {
		display:block;
		width:100%;
	}
	
	#logo {
		max-width:60%;	
	}
	
	header {
		margin-top:40px;	
	}
	
	header h1 {
		font-size: 2.5em;
	
	}
}
