
@font-face{
	font-family: 'SofiaPro';
    src: url('SofiaProRegular.woff') format('woff');
	font-weight: normal;
    font-style: normal;
}
@font-face{
	font-family: 'SofiaProBold';
    src: url('SofiaProBold.woff') format('woff');
	font-weight: normal;
    font-style: normal;
}


html, body {
	min-height: 100vh;

}

html {
	background-color: rgb(20, 27, 52);
	background-image: url('../img/degerfors_bg.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;


}

body {
	flex: 1 0 auto;
	position: relative;
	background-color: rgba(44,62,80 , 0.0 );
	background-position: center;
	background-repeat: repeat;
	font-family: 'roboto_slabregular','Raleway', 'Arial', sans-serif;
	font-family: SofiaPro;
	overflow-y: auto;
}

.mask{
    position: fixed;
    top: 0;
    left:0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
	z-index: 0;
}
.text-wrapper {
	position: relative;
	z-index: 1;
}

.text-wrapper{
	max-width: 900px;
	margin: 0px auto;
}


.logo-footer {
  background: #fff;
  border-radius: 12px;      /* match your button */
  padding: 16px 20px;
  margin: 24px auto;
  max-width: 320px;
  box-shadow: 0 0 40px 8px rgba(0,0,0,0.25);
}
.logo-footer img { width: 100%; height: auto; display: block; }

.outro {
	margin: 5px;
}


#title-container {
	text-align: center;
	color: white;
/*
	width: 100%; z-index: 5; position: absolute; top: 15%; text-align:center;
*/
}
.form{
	display: flex;
	flex-direction: column;
	padding-right: 5%;
	padding-left: 5%;
}
.email_form{
	width: 500px;
	display: block;
	padding-bottom: 100px;
	color: black;
	font-size: 20px;
}
.white{
	color: white;
}

.margin-top{
	margin-top: 40px;
}

.text-size{
	font-size: 35px;
}

.margin-bottom{

}

.padding-bottom{
	padding-bottom: 5%;
}

.input{
	height: 50px;
	font-size: 20px;
	border-radius: 4px;
}
.email_input{
	display: block;
	width: 500px;
	height: 300px;
	text-align: center;
	margin: auto;
}

.send_btn{
	height: 50px;
	color: black;
	background-color: rgb(161, 222, 233);
	margin-top: 10px;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.05s ease;
}

.btn:hover, .btn:focus {
	color: black;
}

.send_btn:hover, .send_btn:focus {
	background-color: rgb(196, 236, 245);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.send_btn:active {
	background-color: rgb(126, 200, 214);
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.error{
	color: red;
	border: 2px solid red;
	padding: 8px;
	display: block;
	margin: 10px 10px;
	color: white;
	border-radius: 4px;
}

#reg-container {
	text-align: center;
	color: white;
	margin-bottom: 30px;

}
#reg-container input {
	width: 700px;
	margin: auto;
	border: none;
	color: black;
	font-size: 50px;
	font-weigth: bold;
	text-align:center;
}

.optIn {
	display: flex;
	padding: 12px 16px;
	text-align: left;
	border-radius: 4px;
	margin-top: 10px;
	margin-left: 5px;

}

a {
	color: rgb(161, 222, 233);
	transition: color 0.2s ease;
}

a:hover, a:focus {
	color: rgb(196, 236, 245);
	text-decoration: underline;
}

.text {
	color: #fff;
	font-size: 22px;
	font-weight: 100;
	text-align: left;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
	box-shadow: 0 0 0 rgba(0,0,0,0)!important;
	width: 100%;
	padding-left: 5%;
	padding-right: 5%;
}

.text-shadow{
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}
.text.header {
	font-size: 45px;
	padding-top: 5%;

}

.text.subheader {
	max-width: 900px;
	font-size: 24px;
	margin: auto;
}


@media only screen and (max-width: 800px) {
    #reg-container input {
		width: 400px;
		font-size: 60px;
    }
	.text.header {
		font-size: 40px;
	}

	.text.subheader {
		font-size: 20px;
		top: 50px;
		max-width: 550px;

	}
	.optIn {
		max-width: 300px;
	}
}
@media only screen and (max-width: 500px) {

	body {

	}

	.send_btn{
		height: 40px;
		color: black;
		background-color: rgb(161, 222, 233);
		margin-top: 10px;
	}

	.margin-top {
	margin-top: 15px;
	}

	.green-border{
		border: 4px solid darkgreen !important;
		padding: 0px;
	}

	.red-border{
		border: 4px solid darkred !important;
		padding: 0px;
	}

	#reg-container input {
		width: 250px;
		font-size: 30px;
    }

	.text {
		font-size: 16px;
	}

	.text.header {
		font-size: 22px;
		text-align: left;
	}

	.reg_success {
		font-size: 22px;
	}

	.text.subheader {
		font-size: 16px;
		top: 40px;
		max-width: 300px;
		margin: 0 auto;
	}

	.optIn {
		max-width: 150px;
		margin: 0;
		padding: 12px 14px;
		text-align: left;
		margin-left: 5px;
		margin-top: 10px;
	}

	#optIn {
		width: 24px;
		height: 24px;
	}

	.form{
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		text-align: left;

	}

	.input{
		margin: 0 auto;
		border-radius: 4px;
		font-size: 16px;
	}

	.green-border#resultscreen {
		top: unset;
		padding: 5px;
	}
	.red-border#resultscreen {
		top: unset;
		padding: 5px;
	}

	.green-border#resultscreenSMS {
		top: unset;
		padding: 5px;
	}
	.red-border#resultscreenSMS {
		top: unset;
		padding: 5px;
	}
	#resultscreenSMS {
		text-align: left;
		padding: 20px;
		padding-left: 5%;
		margin-bottom: 0;
		background: transparent;
		color: white;
		border-radius: 4px;
		display: block;
		overflow: auto;
		margin-top: 0;
	}
}

@media only screen and (max-width: 320px) {

	#title-container{
		position: relative;
		top: unset;
	}

	.margin-top {
		margin-top: 15px;
	}
	.input{
		height: 25px;
		max-width: 300px;
		font-size: 16px;
	}

	.text.header{
		font-size: 22px;
		padding-top: 5%;
	}

	.reg_success {
		font-size: 20px;
	}

	.text.subheader{
		font-size: 15px;
		padding-top: 5%;
	}

	.error {
		font-size: 12px;
		padding: 0 5px 0 5px;
	}
}

input[type=text], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
}

input[type=text]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}



	#resultscreen	{
		text-align: center;
		padding: 20px;
		width: 250px;
		margin:auto;
		margin-bottom: 50px;
		background: white;
		color: #05477F;
		border-radius: 4px;
		display: block;
		overflow: auto;
		margin-top: 70px;
	}

	#resultscreenSMS {
		text-align: left;
		padding: 20px;
		padding-left: 5%;
		background: transparent;
		color: white;
		border-radius: 4px;
		display: block;
		overflow: auto;
	}
	.green-border{
		border: 4px solid darkgreen !important;
	}

	.red-border {
		border: 4px solid darkred;
	}

/*	#keypad	{
		!*position: relative;*!
		text-align: center;
		!*top: 200px;*!
		width: 250px;
		!*height: 350px;*!
		margin:auto;
		margin-bottom: 50px;
	}

	#keypad table	{
		background: #inherit;
		border-spacing: 5px;
		border-collapse: separate;
	}

	#keypad td	{
		width: 75px;
		height: 60px;
		background: #DDDDDD;
		margin: 5px;
!*
		 -webkit-border-radius: 25px;
 *!
	}
	#keypad td:hover	{
		background: #DDDDFF;
	}
	#keypad td:active	{
		background: #AAAAFF;
	}

	#keypad .secondary_digit	{
		background: #AAA;
		color: #444;
	}*/
