@font-face {
    font-family: 'RegularLight';
    src: url('../font/regular/Regular-Light.eot');
    src: url('../font/regular/Regular-Light.eot?#iefix') format('embedded-opentype'),
    url('../font/regular/Regular-Light.woff') format('woff'),
   	url('../font/regular/Regular-Light.ttf')  format('truetype'), /* !!! */
  	url('../font/regular/Regular-Light.svg#RegularLight') format('svg');
}

@font-face {
    font-family: 'RegularRegular';
    src: url('../font/regular/Regular-Regular.eot');
    src: url('../font/regular/Regular-Regular.eot?#iefix') format('embedded-opentype'),
    url('../font/regular/Regular-Regular.woff') format('woff'),
    url('../font/regular/Regular-Regular.ttf')  format('truetype'), /* !!! */
    url('../font/regular/Regular-Regular.svg#RegularRegular') format('svg');
}

@font-face {
    font-family: 'RegularMedium';
    src:url('../font/regular/Regular-Medium.eot');
    src: url('../font/regular/Regular-Medium.eot?#iefix') format('embedded-opentype'),
   	url('../font/regular/Regular-Medium.woff') format('woff'),
    url('../font/regular/Regular-Medium.ttf')  format('truetype'), /* !!! */
   	url('../font/regular/Regular-Medium.svg#RegularMedium') format('svg');
}

@font-face {
    font-family: 'RegularSemiBold';
    src: url('../font/regular/Regular-Semibold.eot');
    src: url('../font/regular//Regular-Semibold.eot?#iefix') format('embedded-opentype'),
    url('../font/regular/Regular-Semibold.woff') format('woff'),
    url('../font/regular/Regular-Semibold.ttf')  format('truetype'), /* !!! */
   url('../font/regular/Regular-Semibold.svg#RegularSemiBold') format('svg');
}

@font-face {
    font-family: 'RegularBold';
    src: url('../font/regular/Regular-Bold.eot');
    src: url('../font/regular/Regular-Bold.eot?#iefix') format('embedded-opentype'),
   	url('../font/regular/Regular-Bold.woff') format('woff'),
   	url('../font/regular/Regular-Bold.ttf')  format('truetype'), /* !!! */
   	url('../font/regular/Regular-Bold.svg#RegularBold') format('svg');
}

@font-face {
    font-family: 'Avenir';
    src: url('../font/avenir/AvenirLTStd-Light.otf');

}

body {
	background-color: #ffffff;
	font-weight: normal; 
	font-size: 18px; 
	color: #333333; 
	font-family:'Avenir', Arial, Helvetica, sans-serif; 
	text-align: center;
	margin: 2px 0 0;
}

td {
	font-weight: normal; 
	font-size: 12px; 
	color: #333333; 
	font-family:'Avenir', Arial, Helvetica, sans-serif; 
}

.logo {
	background-image:url(../img/omasp-logo.png);
	background-repeat:no-repeat;
	height:80px;
	margin-left:12%;
	margin-top:10px;
}

.header-border {
	border-bottom: solid 2px #eeeeee;
	height: 2px;
	width:100%;
}

.wrapper {
	text-align:left;
}

.container{
	padding-left: 40px; padding-bottom:30px;
}

.module {
	font-family:'Avenir', Arial, Helvetica, sans-serif;
	text-align:left;
	border: solid 1px #cbcdcc;
	background:
			#ffffff linear-gradient(135deg, rgba(255, 255, 255, 1) 0%,
			rgba(255, 255, 255, .98) 30.39%, rgba(255, 255, 255, .96) 48.6%,
			rgba(255, 255, 255, .92) 88.19%, rgba(255, 255, 255, .88) 104.86%);
	width:690px;
	height:auto;
	margin-left:12%;
	margin-top:60px;
	padding-right:30px;
	padding-bottom: 30px;
}

.module-header {
	font-size:22px;
	color: #191919;
	height:auto;
	width: 100%;
    margin-left: -2px;
    margin-top: -1px;
	margin-bottom:30px;
	background-color:#fff;
	border:solid 1.5px #18aa67;
	padding-left: 30px;
    padding-top: 0;
	padding-bottom: 0;
}

.padding-b-5 {
	padding-bottom:5px;
}

.padding-b-10 {
	padding-bottom:10px;
}

.padding-b-15 {
	padding-bottom:15px;
}

.padding-b-20 {
	padding-bottom:20px;
}

.padding-t-5 {
	padding-top:5px;
}

.padding-t-10 {
	padding-top:10px;
}

.padding-t-15 {
	padding-top:15px;
}

.padding-t-20 {
	padding-top:20px;
}

#codeapplink {
	border-style: solid !important;
}

#bindingMessageId {
    font-weight: bold;
}

#bindingMessageId .screen-reader-only {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mt-10 {
	margin-top: 10px;
}

.mb-20 {
	margin-bottom: 20px;
}

.Virhe {
	padding-left: 5px;
	width:95%;
}

.bulletin-panel {
	font-size:13px;
	border-top: solid 1px #b4b4b4;
	margin-left:40px;
	margin-right:10px;
	padding-bottom: 20px;
	padding-top: 20px;
}

.validate-info{
	padding-bottom: 20px;
	padding-top: 10px;	
}

.content {
	width: 100%;
	background-image: url(../img/omaSp_bg.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 800px;
	padding-bottom: 20px;
}

.Copyright {
	font-weight: normal; 
	font-size: 12px; 
	text-decoration: none;
	width: 100%;
	padding-bottom: 10px;
	padding-left: 40px;
	
}

/* Button tyylit */

.btn {
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
	-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
	margin: .2em;
    padding: 5px 25px 5px 25px;
    cursor: pointer;
    background: #fff;
    font-size:16px;
    text-decoration: none;
    color: #1a1a1a;
	border-radius:20px;
	border: 1.5px solid #17ca80;
	min-width: 33px;
	display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
	-webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow;
    transition-property: box-shadow;
     font-weight: 400;
    box-shadow: inset 0 0 0 4px #fff, 0 0 1px rgba(0, 0, 0, 0);
    -webkit-box-shadow: inset 0 0 0 4px #fff, 0 0 1px rgba(0, 0, 0, 0);
	-moz-box-shadow: inset 0 0 0 4px #fff, 0 0 1px rgba(0, 0, 0, 0);
} 

.btn:hover {
	box-shadow: inset 0 0 0 3px #1dca7a, 0 0 1px rgba(0, 0, 0, 0);
    -webkit-box-shadow: inset 0 0 0 3px #1dca7a, 0 0 1px rgba(0, 0, 0, 0);
	-moz-box-shadow: inset 0 0 0 3px #1dca7a, 0 0 1px rgba(0, 0, 0, 0);
	 font-weight:bold;
	 padding: 5px 24px 5px 25px;
}

.btn.disabled {
	background-color:#f2f2f2;
	font-weight:normal;
}

.info:link, .info:visited {
    background-color:#1ecb7c;
    padding:2px 10px 5px 10px;
    border:1px solid #1ecb7c;
    text-shadow:none;
    text-align:center;
    text-transform:none;
    text-decoration:none;
    font-family:'Avenir', Arial, Helvetica, sans-serif; 
	font-size:20px;
    color:#ffffff;
    cursor:default;
}

.info:hover, .info:active {
	background-color:#a7f7d6;
	color:#1e1e1e; 
}

.qtip-content {
    font-size: 18px;
    line-height: 18px;
}

textarea, input[type="text"], input[type="password"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"],
input[type="number"], input[type="email"], input[type="url"],
input[type="search"], input[type="tel"], input[type="color"],
.uneditable-input {
	border-radius:0;
	border:1px solid #adb3b6;
	margin-bottom:0;
	color:#1e1e1e;
	background-color:#ffffff;
	width: 280px;
	font-size: 18px;
	padding: 5px 0 5px 5px;
	-moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus,
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus,
input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus,
input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus,
.uneditable-input:focus {
	border:1px solid #17ca80;
	margin-bottom:0;
	background-color:#f3fdf9;
	color:#1e1e1e;
	box-shadow:none;
	padding: 5px 0 5px 5px;
	box-sizing:border-box;
}

select {
	border-radius:0;
	color:#1e1e1e;
	background-color:#ffffff;
	border:1px solid #adb3b6;
}

select:focus {
	border-radius:0;
	color:#1e1e1e;
	background-color:#f3fdf9;
	border:1px solid #17ca80;
	box-shadow:none;
}

select {
	height:auto;
}

select:hover {
	border:1px solid #17ca80;
	background-color:#f3fdf9;
	color:#1e1e1e;
}

select:focus {
	outline:none;
} 

textarea:hover, input[type="text"]:hover, input[type="password"]:hover,
input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="date"]:hover,
input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover,
input[type="number"]:hover, input[type="email"]:hover, input[type="url"]:hover,
input[type="search"]:hover, input[type="tel"]:hover, input[type="color"]:hover,
.uneditable-input:hover {
	border:1px solid #17ca80;
	background-color:#f3fdf9;
	color:#1e1e1e;
	box-sizing:border-box;
}

.alert {
	text-shadow: none;
	color:#646464;
	border:0;
	font-weight:normal;
}

.alert-wrapper {
	border:0;
	background: none;
	margin:0 0 20px 0;
	position: relative;
	font-weight:normal;
}

.alert-error {
	background-color:#fff5f5;
	margin-right:30px;
	margin-bottom:10px;
	border:1px solid #c30;
	border-radius: 4px;
}

.alert-error > .alert-error {
	background:none;
	color:#646464;
	border:0;
	margin-left:35px;
}

.alert-error > .icon {
	background:url('../img/') -64px -144px no-repeat;
	width:27px;
	height:27px;
	position:absolute;
	left:10px;
	top:20px;
	margin-top:-16px;
}

/* Wanhat ... */

A:link {
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
	border-style: none; 
	text-decoration: underline;
  	color: #191919;
  	font-size: 15px;

}

A:hover {
	font-weight:bold;

}

A:visited {
	font-family:'Avenir', Arial, Helvetica, sans-serif; 
	text-decoration: underline;
  	color: #191919;
  	font-size: 15px;
}

h1 {
	color:#191919;
	font-size: 22px;
	font-family: 'Avenir', Arial, Helvetica, sans-serif;
	font-weight:500;
}

H2 {
	font-weight: bold; 
	font-size: 18px; 
	color: #191919; 
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
}

H3 {
	font-weight: bold; 
	font-size: 16px; 
	color: #191919; 
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
}

.Alert {
	font-weight: bold; 
	font-size: 16px; 
	color: red; 
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
}

.Small {
	font-weight: normal; 
	font-size: 12px; 
	color: #cccccc; 
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
	text-decoration: none;
}

.TxtBox {
	font-weight: normal; 
	font-size: 14px; 
	font-family: 'Avenir', Arial, Helvetica, sans-serif; 
}

#Bg {
	width: 100%;
	height: 40px;
	margin: 1px;
	border-top: 1px solid #bed600;
}

.clear {
	clear: both;
}

.Taustataulukko {
	width: 55%;
	margin: 0 0 0 200px;
	float: left;
}

.Width-50 {
	width: 50%;
}

.Width-95 {
	width: 95%;
}

.Width-100 {
	width: 100%;
}

.pull-left {
	float: left;
}

.pull-right {
	float: right;
}

p {
	margin: 10px 0;
	padding: 0;
}

.Bold {
	font-weight: bold;
}

.Info {
	width: 100%;
	border-left: 1px #bed600 solid;
	border-right: 1px #bed600 solid;
}

.InfoTeksti {
	font-weight: bold;
	display: block;
	padding-top: 15px;
	padding-bottom: 20px;
	text-align: center;
}

.textLeft {
    display: block;
    text-align: left;
}

.mobileload {
	background: url('../img/mobileload.gif') no-repeat;
	height: 70px;
	width: 70px;
	margin-top: 6px;
	margin-bottom: 3px;
	display:block;
}

.mobileSignatureId {
	font-size:22px;
}

.mobileAuthentication, .mobileSignatureId, .mobileload {
	text-align: center;
	margin-left: auto;
    margin-right: auto;
    padding-left: 0;
}

.error {
	font-weight: bold;
	color: red;
	padding-top: 5px;
	padding-left: 6px;
	padding-bottom: 4px;
}

.mobileSignatureRadio {
	display: block;
	text-align: left;
}

.mobileSignatureRadioGroup {
	display: inline-block;
	margin: 10px 0 20px 0;
}

.ui-dialog {
	left:740px;
	width:450px;
	background: #fff;
	padding: 10px 20px 0 20px;
	-webkit-box-shadow:2px 2px 6px 1px #d2d2d2;
    -moz-box-shadow:2px 2px 6px 1px #d2d2d2;
	box-shadow:2px 2px 6px 1px #d2d2d2;
}

.ui-dialog-titlebar{
	background: #fff; 
	padding:5px 0 10px 0;
}

.ui-dialog-title {
	font-size: 22px;
}

.timeout-dialog {
	position: fixed;
    top: 17% !important;
    left: 50% !important;
    display: block;
    margin-left: -235px;
    background-color: white;
    border: black 1px solid;
}

.timeout-dialog {
	top: 13% !important;
}

.ui-dialog-buttonpane {
	padding-top:20px;
}

.ui-dialog-buttonset{
	background-color: #eeeeee;
	padding: 10px 20px 10px 20px;
    margin-left: -20px;
	margin-right: -20px;
}

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
	display: table;
	content: " ";
}

.clearfix:after {
  clear: both;
}

/* Vain screen readerille näkyvä teksti */
.screen-reader-only {
  position: absolute;
  height: 1px;
  width: 1px;
  clip: rect(1px,1px,1px,1px);
  clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
  -webkit-clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
  overflow: hidden !important;
}

@media screen and (max-width: 480px) {
	.logo {
		margin-left:2%;
		margin-top:10px;
		background-size:130px;
		height:60px;
	}

	.header-border {
		width:90%;
	}

	.module {
		text-align:center;
		width:97%;
		margin-left:1%;
		padding-right:0;
		margin-top:20px;
	}

	.module-header {
		padding-left: 5px;
		padding-top: 0;
		padding-bottom: 0;
		width: 99%;
		height:auto;
	}

	.container {
		padding-left: 8px;
		padding-right: 8px;
		padding-bottom:30px;
	}

	.btn {
		padding: 6px 10px 6px 10px;
		font-size: 18px;
		width:60%;
	}

	textarea, input[type="text"], input[type="password"],
	input[type="datetime"], input[type="datetime-local"], input[type="date"],
	input[type="month"], input[type="time"], input[type="week"],
	input[type="number"], input[type="email"], input[type="url"],
	input[type="search"], input[type="tel"], input[type="color"],
	.uneditable-input {
		width: 60%;
		font-size: 20px;
	}

	.Copyright {
		font-size: 12px;
		width: 90%;
		padding-bottom: 10px;
		padding-left: 20px;
	}

	.bulletin-panel {
		font-size:13px;
		border-top: solid 1px #b4b4b4;
		margin-left:9%;
		margin-right:9%;
		padding-bottom: 20px;
		text-align: center;
	}

	.validate-info {
		margin-left:3%;
		margin-right:3%;
		padding-bottom: 20px;
		text-align: center;
	}

	.timeout-dialog {
		width: 380px;
		position: fixed;
		top: 17% !important;
		left: 50% !important;
		display: block;
		margin-left: -170px !important;
	}

	.ui-dialog {
		width: 290px !important;
		padding: 10px 20px 0 20px;
	}

	.ui-dialog-buttonpane {
		margin-top: 30px;
		padding-top:20px;
	}

	.textLeft {
		text-align: center;
	}

	.content {
		background-size:1688px 1365px;
		background-position: top;
		min-height: 750px;
	}
}


@media screen and (min-width: 481px) and (max-width: 768px) {
	.logo {
		margin-left:7%;
		margin-top:10px;
	}

	.module {
		text-align:left;
		width:80%;
		margin-left:7%;
	}

	.content {
		background-size:1688px 1365px;
		background-position: top;
	}

	.module-header {
		height:auto;
		padding-left:30px;
		padding-top:0;
		padding-bottom: 0;
		margin-bottom:30px;
		width:100%;
		font-size:24px;
	}

	.btn {
		font-size: 17px;
	}
}
@media screen and (min-width: 650px)  {
	.module-header {
		height:auto;
		padding-left:30px;
		padding-bottom: 0;
		padding-top:0;
		margin-bottom:30px;
		width:100%;
		font-size:24px;
	}
}

@media screen and (min-width: 769px)  {
	.logo {
		margin-left:40px;
		margin-top:10px;
	}

	.module-header {
		height:auto;
		padding-left:30px;
		padding-bottom: 0;
		padding-top:0;
		margin-bottom:30px;
		width:100%;
		font-size:24px;
	}

	.module {
		text-align:left;
		width:609px;
		margin-left:40px;
	}

	.content {
		background-size:1688px 1365px;
		background-position: initial;
		min-height:90%;
	}
}

@media screen and (min-width: 1024px)  {
	.module-header {
		height:auto;
		padding-left:30px;
		padding-bottom: 0;
		padding-top:0;
		margin-bottom:30px;
		width:100%;
		font-size:24px;
	}

	.module {
		text-align:left;
		width:690px;
	}
}

@media screen and (min-width: 1650px) {
	.content {
		background-position: top;
		background-size:cover;
	}
}

