@charset "UTF-8";

html, body, div, span, h1, h2, h3, p, 
a, img, strong, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside, footer, header {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

body {
  background: #fff;
  font-family: arial,helvetica,sans-serif;
	font-size: 87.5%;
  line-height: 1.3em;
}

body #header h1 {
  position: relative;
  margin: 7px;
  font-size: 2em;
  display: inline;
}
.hsyLogo {
  	background: transparent url(../images/content/HSY_logo.png) 0 0 no-repeat;	
}

.hsyLogo.sv {
  	background: transparent url(../images/content/HSY_logo_sv.png) 0 0 no-repeat;
	background-size: contain;
}

.hsyLogo a {
	float:right;
	padding: 0.5em;
	text-decoration: none;
	color: #00807B;
	position: relative;
	display: block;
	z-index: 1;
}

.hsyLogo, 
.hsyLogo.sv {
	background-size: contain;
	height: 4em;
	padding-left: 9em;
	color: #00807B;
	margin-bottom: .5em;  	
	position: relative;
	margin-left: 5%;
}


.hsyLogo p {
	position: absolute;
	bottom: 0;
	min-height: 10%;
	padding-bottom: 0.15em;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1em;	
}

.theme-crisis {
	background-color: rgba(249,216,0,0.15);
	border: 1px solid rgba(249,216,0,0.75);
	display: flex;
	margin: 1em 0;
}
.theme-crisis #warning-icon {
	color: #2C2A29;
	width: 4em;
	height: 4em;
	margin: 2em;
	stroke-width: 0;
	stroke: currentColor;
	fill: currentColor;
}
.theme-crisis #warning-text {
	display: flex;
	flex-direction: column;
	font-size: 1.25em;
	justify-content: center;
	margin-right: 1em;
	padding: 1em 0;
}
.theme-crisis #warning-text h1 {
	font-size: 1.25em;
	margin-bottom: 1em;
	width: 100%;
	text-align: left;
}


.formField input[type="text"],
.formField textarea {
	border: 0px;
	border-bottom: 1px dashed #666;
	border-radius: 5px; 
	width: 80%;
}


.formField input[type="text"],
.formField input[type="select"],
.formField textarea {
	
	background-color:#f0f9f9;
	abackground-color:#e0e9e9;
}

.formField_locked input[type="text"],
.formField_locked input[type="select"],
.formField_locked textarea {
	border: none;
	background-color: none !important;
	background: none;
	font-weight: bold;
	width: 90%;
/*	background-color:#e4f1f1;*/
}

.addressPostalCode.formField_locked input[type="text"] {
	width: auto !important;	
}

.errorMsg {
	color: #BD3429;
}

#synerall-info {
  padding: 1em;
  margin: 2em;
  clear: both;
  background: #e3f2f2;
}

div#header {
  position: absolute;
  z-index:100;
  pointer-events:none;	
  width: 100%;
}

div#header .envInfo {
    margin: 20px auto;  
	padding: 20px 20px 10px 20px; 
	border: 1px solid rgb(243, 203, 203); 
	background: rgba(243, 203, 203, .2); 
	width: 30%;
	min-width: 25em;
	text-align: center;
}

ol {
  counter-reset:li;
  float: left;
  clear: both;
  width: 100%;
  padding: 0.25em 0 1em 1em;
  list-style: none;
	min-width: 20em;
}

ol > li {
  position:relative;
  list-style:none;
  background: #f0f9f9;
  display: inline;
  float: left;
  display: inline-block;
  padding: 0.5em 0.25em;
  min-width: 2.5em;
  width: 23%;
  text-align: center;
  margin: 0 1.25em;
  white-space: nowrap;
}

ol > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    position:absolute;
    top:0px;
    left:-1.5em;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:1.75em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:1em;
    padding:0.5em 0;
    color:#fff;
    background:#96acab;
    font-weight:bold;
    text-align:center;
}

ol > li:last-child
{
	margin-right: 0;
}

li.active {
	background: #00807B;
	color: #fff;
}
li.active:before {
	background: #666;
}


.content {
    border: 1px solid red;
}
.wrapper {
    margin: 0 auto;
    width: 35em;
    padding: 0.5em;
}

.fieldValueWrapper {
	min-width: 20em;
	float: left;
    width: 70%;
}

.formField, 
.formField_locked {
	clear: left;
    padding-top: 0.313em;
	margin-bottom: 0.313em;
	height: 1em;
}

#email-note {
  display: inline-block;
	margin-left: .75em;
}

/*
.formField > div, .formField label, 
.formField_locked > div, .formField_locked label {
*/

.buttons label,
.formField label, 
.formField_locked label {
	clear:both;
	float: left;	
	text-align: right;
	width:20%;
	min-width: 10em;
}


.dualInput {
	min-width: 15.5em !important;
	clear: none !important;
}
.dualInput input + input {
	clear: none !important;
}

.formField div + div, 
.formField input, 
.formField select, 
.formField textarea, 
.formField_locked div + div, 
.formField_locked input, 
.formField_locked textarea {
	float:left;
	margin-left: 1em;
    clear: left;
}

.formField .errorMsg,
.formField_locked .errorMsg {
	float:left;
    margin-left: 1em;
    clear: left;
    display:block;
}

#metersDiv {
	clear:left;
}

.addressStreet {
	clear: both;
	margin-top: 1.5em;
}
.meterNumber,
.meterDiv,
.submitterName,
.timeStamp {
	clear: both;
	margin-top:2em;
	
}


.errorMessage, .infoMessage, .overrideTooBigWarning {
	padding: 0.5em;
	border-radius: 5px;
	margin: 0.75em 3em;
	text-align: center;
	clear: both;    			
}

.infoMessage {
	border: 1px solid #00807B;
	background: #e3f2f2;
	clear:both;
}
.infoMessage .label {
	clear: both;
}

.infoMessage .value {
	font-weight: bold;
}
	
.errorMessage {
	border: 2px solid #f0e0e0;
	background: #fff0f0;
	color: #BD3429;
}

.overrideTooBigWarning {
	border: 2px solid #ddd;
    background: #fafafa;
    padding: 2em 0;
}
.overrideTooBigWarning label,
.overrideTooBigWarning input {
	cursor: pointer;
}

.buttons {
	clear:both;
	padding-top: 1em;	
}
	
.button, .submit-button {
	display: inline-block;
	padding:6px 12px;
	text-decoration: none;
	text-transform: uppercase;
	border: 0 none;
	line-height: 1em;
	font-size: 12px;
	line-height: 1em;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	text-align: center;
	margin: 0 0 1em 1em;
	background: #666;
}

.button, .button:visited, .submit-button, .submit-button:visited {
  color: white !important;
}
.button:not(.disabled):not(:disabled), .submit-button:not(.disabled):not(:disabled) {
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
}

.button:not(.disabled):not(:disabled):focus {
  outline: none;
}

.submit-button {
  background: #00807B;
}
/*
.loader-wrapper {
	position: absolute;
	top: 30%;
	left: 53%;
  margin-top: -50px;
  margin-left: -50px;
  width: 100px;
  height: 100px;
	border: 1px solid black;
	border-radius: 50%;
	width: 36px;
	height: 36px;
}
.loader {
	border: 8px solid #f3f3f3;
	border-top: 8px solid #3498db;
	border-bottom: 8px solid #3498db;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
*/

.modal-cover {
  background: rgba(0,106,167, .3);
  height: 100%;
  left: 0;
	position: fixed;
	top: 0;
	width: 100%;
  z-index: 2;
  -webkit-animation: fadein .5s cubic-bezier(.5, 0, 1, 1) forwards;
	animation: fadein .5s cubic-bezier(.5, 0, 1, 1) forwards;
	display: none;
}
.modal-cover-vertical-container {
	width: 100%;
	height: 100%;
	text-align: center;
}
.modal-cover-vertical-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	text-align: center;
}
/*
Sininen: rgba(0,106,167, 1);
Turkoosi: rgba(129, 68, 148, 1);
Tumman vihreä: rgba(0, 100, 49, 1);
Vaalean vihreä: rgba(116, 170, 80, 1); 
 Keski Turkoosi: rgba(0, 170, 163, 0.6)
 Vaalean turkoosi rgba(100, 195, 205, 0.6) 100 / G195 / B205
 
 rgba(0, 170, 163, .4)
*/
.modal-cover-message-container {
  background-color: #fff;
  border: 1px solid rgba(0,106,167, .6);
  box-shadow: 1px 2px 8px rgba(0,39,62);
	display: inline-block;
	max-width: 50%;
	min-width: 25em;
}
.modal-cover-message-container > div {
  background: rgba(0,106,167, 1);
	padding: 1.75rem;
  border: 6px solid rgba(0,106,167, 1);;
  color: white;
}

.modal-cover.error .modal-cover-message-container > div {
  background: #BD3429;
  padding: 1.75rem;
  border: 6px solid #BD3429;
} 

@media (max-width:430px) {
  .modal-cover-message-container {
    max-width: 90%;
	}
}

.modal-cover-message {
  border: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #fafafa;	
  background-color: blue;
  overflow: hidden;
}

.modal-cover-message span {
	vertical-align: middle;
	display: inline-block;
	margin: .5em;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}
.spinner-container {
    height: 1.75rem;
    margin-bottom: .5em;
    position: relative;
}
.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #ccc;
  border-top-color: #333;
  animation: spinner .6s linear infinite;
}




@media (max-width: 34em) {
	div#header .envInfo {
	  padding: 5px 5px; 
	  min-width: 20em;
	}
	
	.hsyLogo {
		margin-left: 0.5em;
	}

	.hsyLogo p {
		font-size: 1.35em;
		padding-bottom: 0.25em
	}
	
    body #header h1 {
      font-size: 1.5em;
    }
		
	.wrapper {
		width: auto !important;
	}

	.errorMessage, .infoMessage {
		margin-left: 0 !important;
	}
	
	.formField, 
	.formField_locked {
    	margin-top: 2em;
    	height: 2em;		
	}
  .formField label { 
	   width: auto;
  }
	.formField_locked input {
		clear: left;
	}

	.formField label, 
	.formField_locked label {
	    text-align: left;
		font-weight: bold;
		clear: left;
	}
	
	.fieldValueWrapper {
		margin-left: 1em;
		min-width: 10em;
		clear: left;
	}
	
	.formField_locked input[type="text"],
	.formField_locked input[type="select"],
	.formField_locked textarea {
		font-weight: normal;
	}
	
	
	ol {
		counter-reset:li;
		float: left;
		clear: both;
		width: 100%;
		padding: 0 0 0.5em 0;
	}

	ol > li {
		padding: 0.5em 0.5em;
		min-width: 2.5em;
		margin: 0 0.75em;
		font-size: 90%;
	}
	
	ol > li:before {
		left:-1em;
		width:1.25em;
		margin-right:1em;
		padding:0.5em 0;
	}
	
	.buttons label {
		display: none;
	}
	
}

#sf-top-menu {
  display: flex;
  border-bottom: 3px solid #ccc; box-shadow : 0px 0px 8px #CCC;
  padding: 20px;
  box-shadow: 0px 0px 8px #CCC;
}

#sf-top-menu .heading-col {
  margin-top: 31px;
  flex-grow: 2;
  white-space: nowrap;
}
#sf-top-menu .heading-col a {
  text-decoration: none;
}
#sf-top-menu .heading-col h1 {
  white-space: nowrap;
}
#sf-top-menu .heading {
  display: inline-block;
  font-size: 1.75em;
  vertical-align: bottom;
  color: #00807B;
  line-height: 1.5em;
  margin-bottom: 0;
}

#sf-top-menu img {
  height: 65px;
  margin-top: -31px;
  margin-right: .5em;
}

#sf-top-menu .col {
  flex: 1;
}

#sf-top-menu .col+.col {
  text-align: right;
}

#sf-top-menu .col.user-info .lang, 
#sf-top-menu .col.user-info #user-name,
#sf-top-menu .col.user-info #logout {
  display: inline-block;
  margin-left: 1em;
}

#sf-top-menu .user-info #user-name {
  font-weight: 600;
}

#sf-top-menu .user-info #user-name, 
#sf-top-menu .user-info #logout {
  margin-top: .25em;
  
}

#sf-top-menu .user-info a:active, 
#sf-top-menu .user-info a:visited, 
#sf-top-menu .user-info a {
  color: #000;
  margin-left: 1em;
}

@media (max-width: 40em) {
  #sf-top-menu {
    padding: 5px;
  }
  #sf-top-menu .heading {
    display: inline-block;
    font-size: 1.5em;
    vertical-align: bottom;
  }
  
  #sf-top-menu .heading-col {
    white-space: normal;
    margin-top: 0;
  }
  
  #sf-top-menu img {
    margin-top: -35px;
    margin-left: -35px;
  }
}
