/* - CSS RESET - v2 | 20100917 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, dialog, figure, footer, header, nav, section,
details, figcaption, hgroup, menu, summary, time, mark, audio, video, button {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul, li {
/*
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
*/
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
input, select {
	vertical-align:middle;
}
hr {
	display: block;
	height: 1px;
	border: 1px solid #aaa;
	background-color: #aaa;
	margin:1em 0;
}

body {
/*
	color: #333;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	background-color: #f9f9f9;
*/
	color: #2b2b2b;
	background-color: #fff;
	font-size: 16px;
	font-weight: 400;
	font-family: "Open Sans","proxima-nova",Helvetica,Arial,sans-serif;
	-webkit-font-smoothing: antialiased !important; 
	margin:0;
	padding:0;
	overflow-y:scroll;
	overflow-x: hidden;
}
h1 {
	line-height:30px;
	padding:15px 0 15px 0px;
	font-size: 20px;
	color: #444;
	color: rgb(0, 171, 208); /* tai tummempi versio (0, 105, 145)	*/
	background-color:#34495E;
	background-color: rgb(237, 241, 241);
	font-weight: bold;
}
h2 {
	line-height:25px;
	padding:15px 0 15px 10px;
	font-size: 16px;
	font-weight: bold;
	color: #444;
}
td {
	text-align: left;
}
a, a:hover, a:focus {
	color: #3498db;
}
button {
	background-color: #3498db;
	width: 100%;
	padding: 10px 15px 10px 15px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;

	-webkit-transition: all 0.3s ease;
	-o-transition:      all 0.3s ease;
	-moz-transition:    all 0.3s ease;
	transition:         all 0.3s ease;
}
.buttonDisabled {
	background-color: #bbb;
	border: 0px solid #999;
	width: 100%;
	padding: 10px 0px 10px 0px;
	text-align:center;
	line-height:22px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	cursor: none;
	-webkit-border-radius: 0px;
	-moz-border-radius:    0px;
	border-radius:         0px;
}
.buttonAanesta {
	margin: 10px 0 0 0;
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;
}
.buttonOK {
	background-color: #7Cc741;
	border: 1px solid #5C9721;
	width: 100%;
	margin: 0;
	padding: 10px 0px 10px 0px;
	text-align:center;
	line-height:22px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;
}
.buttonCancel {
	background-color: #e74c3c;
	border: 0px;
	width:100%;
	margin: 0;
	padding: 10px 0px 10px 0px;
	text-align:center;
	line-height:22px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;

	display: inline-block;
	text-decoration: none;
}
 .buttonCancel:hover, .buttonCancel:focus {
	background-color: #f75c4c;
}
.ylabanneri {
	width:100%;
	height: 25px;
	text-align:center;
	white-space:nowrap;
/*	background: url("kuvat/footer.png") repeat-x 0 0;	*/
	background-color: #488180;
	color: white;
}
.sisalto {
	max-width:800px;
	margin: 0 0 0 0;
	padding:0px 0px 0px 0px;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0px solid #efefef;
	border-top: 0;
	background-color: #fff;
}
.logo {
	padding:5px 15px 15px 15px;
}
.bottomNav {
	padding:0;
	margin:0;
	position:fixed;
	bottom:0;
	z-index:999;
	width:100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.piiri {
	width:100%;
	display: inline-block;
	margin: 0;
	padding: 10px 0px 10px 0px;
	text-align:center;
	line-height:22px;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	background-color: rgb(237, 241, 241);
}
#ehdokasTaulu {
	margin:  0;
	padding: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	display:inline-block;
	border: 0px solid #efefef;
	border-top: 0;
	background-color: #fff;
}
#ehdokasTaulu tr {
	display:inline-block;
	width:100%;
	padding: 0;
	margin:  0;
}
#ehdokasTaulu td {
	float:left;
	padding: 0;
	margin:  0;
}

.rengas {
	width:100%;
	display: inline-block;

	line-height:26px;
	padding:0;
	margin:0;
	font-size: 19px;
	font-weight: normal;
	text-align:left;
	color: #fff;
	background-color: rgba(74, 96, 97, .75);
}
.liitto {
	width:100% !important;
	display: inline-block;
	line-height:23px;
	padding:15px 0 15px 10px;
	font-size: 17px;
	font-weight: bold;
	text-align:left;
	color: #fff;
	background-color: #0067A4;
}
.liitto2 {
	width:100% !important;
	min-width:310px;
	display: inline-block;
	line-height:23px;
	font-size: 17px;
	font-weight: normal;
	text-align:left;
	color: #fff;
	background-color: rgb(74, 96, 97);
}
.liitto2:hover, .liitto2:focus {
	background-color: rgba(74, 96, 97, .75);
}

.rengas2 {
	width:100%;
	display: inline-block;
	line-height:25px;
	padding:15px;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: #50b748;
}

#ehdokasTaulu .vali {
/*	background:#448844;	*/
	width: 10px;
}
.ehdokas {
	background-color: #ffffff !important;
	cursor: pointer !important;
	text-align:left;
}
.ehdokas2 {
	background-color: #ffffff !important;
	cursor: pointer !important;
	text-align:left;
}
.numero {
	text-align: right;
	font-weight: normal;
/*	width:40px !important;	*/
	display:inline-block;
	padding:0;
	margin:0;
}
.nimi {
	text-align: left;
	font-weight: normal;
}

.ehdokasBoksi {
	width:100%;
	padding:0;
	margin:0;
	border-collapse: collapse;
	border-spacing: 0;
}
.ehdokasBoksi:hover {
/*	background-color: #a6cef2;	*/
}

#ehdokasTiedot {
	padding:15px 15px 15px 15px;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
}

#ehdokasTiedot tr, #ehdokasTiedot td {
	line-height: 20px;
	padding:0;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
}
#ehdokasTiedot td:first-letter {
	text-transform: uppercase;
}
#ehdokasTiedot .radio {
	vertical-align:top;
	padding: 0 10px 5px 0;
}


.alue {
	text-align: center;
	border: #888 solid 1px;
	padding:10px 10px 15px 10px;
	width:240px;
	margin-bottom: 10px;

	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
.otsikko1 {
	line-height:25px;
	font-size:18px;
	font-weight:bold;
}
.otsikko2 {
	line-height:25px;
	font-size:18px;
}
.tupas_pankki {
	text-align:center;
}
.tupas_otsikko {
	padding:20px 0 10px 0;
}
.abort {
	margin-left:0px;
	color: #880000;
	font-weight: bold;
}
#taulu {
}
#taulu td {
	margin: 15px;
}
#taulu .lomakeOtsikko {
	padding:10px;
	text-align:right;
}
.error_viesti {
	margin: 0;
	padding: 15px 0 0px 10px;
	font-size:14px;
	font-weight: normal;
	color: #F22613;
	text-align:left;
}
.error {
	color: #990000;
	padding: 10px;
	font-weight: normal;
}
.search {
	width:100%;
	height:35px;
	font-size:16px;
	color:#555;
	border: 1px solid #1478bb;
	border-bottom:0;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	-moz-border-radius:    0;
	border-radius:         0;
}
.helppiAsemointi {
	position: fixed;
	top: 200px;
	left: 50%;
	margin-left:145px;
}
.helppi {
	line-height:25px;
	padding: 15px;
	background-position: 8px center;
	background-repeat: no-repeat;
	margin: 10px 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-align:left !important;
	font-size:18px;
	background-color: #c6e8f3;
	border: solid #86c0d3 2px;
	color: #165063;
}
.footer {
	font-size: 12px;
}
.ylalogo {
	margin-top:15px;
	margin-right:750px;
	height:50px;
}

#ylaosa {
	margin: 0;
	padding: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	border: 0px solid #efefef;
	border-top: 0;
	border-bottom: 0;
	background-color: #fff;
}


input[type=text],
input[type=password] {
	padding-left: 4px;
	font-size: 14px;
	color: #222;
	height: 16px;
}

#taulu input[type=text], #taulu input[type=password] {
	height: 25px;
	border: 1px solid #bbbbbb;

	-webkit-box-shadow: 0px 0px 1px #bbbbbb;
	-moz-box-shadow:    0px 0px 1px #bbbbbb;
	box-shadow:         0px 0px 1px #bbbbbb;
}

#taulu input:hover, #taulu textarea:hover {
	border: 1px solid #bbbbbb;
	-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 8px;
	-moz-box-shadow:    rgba(0, 0, 0, 0.35) 0px 0px 8px;
	box-shadow:         rgba(0, 0, 0, 0.35) 0px 0px 8px;
}
#taulu input:focus, #taulu textarea:focus {
	border: 1px solid #96bee2;

	-webkit-box-shadow: 0px 0px 8px #96bee2;
	-moz-box-shadow:    0px 0px 8px #96bee2;
	box-shadow:         0px 0px 8px #96bee2;
}

.login {
	background-color: #f0f0f0;
	text-align: center;
	border: #ddd solid 2px;
	padding:25px 10px 25px 10px;
	margin: 0;

/*
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
*/
}
.form-group {
	margin: 0 25px 15px 0;
}
.form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 10px 12px 10px 12px;
	font-size: 14px;
	line-height: 1.428571429;
	color: #555555;
	vertical-align: middle;
	background-color: #ffffff;
	background-image: none;
	border: 1px solid #cccccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.ohje {
	line-height:25px;
	padding: 15px;
	margin: 10px 10px 10px 10px;
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;
	text-align:left;
	font-size:18px;
	background-color: #c6e8f3;
	border: solid #86c0d3 1px;
	color: #165063;
}

.warning {
	font-size: 18px;
	font-weight:normal;
	color: #880000;
}
div.error, div.warning, div.info, div.success {
	padding: 10px 10px 10px 45px;
	font-size: 16px;
	line-height:22px;
	margin: 0;
	color: #222;
	text-align:left;
/*
	border-image: none;
	border-style: none none none solid;
	border-width: 0 0 0 4px;
*/
/*
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;
*/
}

div.error {
	background: url('kuvat/icons/error.png') no-repeat 5px 10px;
	color: #a94442;
	border-color: #a94442;
	background-color: #f2dede;
}
div.warning {
	background: url('kuvat/icons/warning.png') no-repeat 5px 10px;
	color: #8a6d3b;
	border-color: #D5AC08;
	background-color: #fcf8e3;
}
div.info {
	background: url('kuvat/icons/info.png') no-repeat 5px 10px;
	color: #266073;
	border-color: #266073;
	background-color: #D9E8F1;
}
div.success {
	background: url('kuvat/icons/success.png') no-repeat 5px 10px;
	color: #3c763d;
	border-color: #77AB49;
	background-color: #dff0d8;
}
div.info2 {
	padding: 10px 10px 10px 20px;
	font-size: 16px;
	line-height:24px;
	margin: 10px 10px 10px 10px;
	text-align:left;
	color: #266073;
	border-color: #266073;
	background-color: #D9E8F1;
/*
	border-image: none;
	border-style: none none none solid;
	border-width: 0 0 0 4px;
*/
/*
	-webkit-border-radius: 2px;
	-moz-border-radius:    2px;
	border-radius:         2px;
*/
}

/* Uudet tilatut tyylit 12.4.2017 - Miika */

/* Mobiili äänestyssivu */

/*
body .buttonCancel {
	background-color: rgba(255, 0, 0, .9);
	color: rgb(74, 96, 97);
}

body .buttonCancel span:first-child {
	color: rgb(74, 96, 97)!important;
}

body .buttonCancel:hover, body .buttonCancel:focus {
	background-color: rgb(255, 0, 0);
	color: rgb(74, 96, 97);
}
*/

label[for="search"] {
	color: rgba(74, 96, 97, .75)!important;
}

button[type="submit"] {
	background-color: rgba(74, 96, 97, .75);
	border:none!important;
}


.form-tupas {
	width: 310px;
	margin:30px auto;
	display:block;
	clear:both;
}
.form-tupas button {
	float:left;
	margin:0px 7px 30px 7px;
	cursor:pointer;
	width: 140px;
	height: 100px;
	border: 1px solid #ccc;
	background-color: #fff !important;
	
	-webkit-box-shadow: 0px 0px 10px #aaa;
	-moz-box-shadow:    0px 0px 10px #aaa;
	box-shadow:         0px 0px 10px #aaa;
}
.form-tupas button:focus, .form-tupas button:hover {
	border: 1px solid #fff;
	background-color: #ffffff !important;
	-webkit-box-shadow: 5px 5px 10px #96bee2;
	-moz-box-shadow:    5px 5px 10px #96bee2;
	box-shadow:         5px 5px 10px #96bee2;
}

.op            { background:url(kuvat/op.png?4)            no-repeat 50% 50%; }
.sampo         { background:url(kuvat/danskebank.png?4)    no-repeat 50% 50%; }
.nordea        { background:url(kuvat/nordea.png?4)        no-repeat 50% 50%; }
.sp            { background:url(kuvat/Spmaksunappi.png?4)  no-repeat 50% 50%; }
.aktia         { background:url(kuvat/aktia.png?4)         no-repeat 50% 50%; }
.pop           { background:url(kuvat/POP.png?4)           no-repeat 50% 50%; }
.spankki       { background:url(kuvat/spankki.png?4)       no-repeat 50% 50%; }
.handelsbanken { background:url(kuvat/handelsbanken.png?4) no-repeat 50% 50%; }
.alandsbanken  { background:url(kuvat/alandsbanken.png?4)  no-repeat 50% 50%; }
.OmaSP         { background:url(kuvat/omasp-logo.png?4)    no-repeat 50% 50%; }

.clockdiv {
	color: #266073;
	background: #D9E8F1;
	font-weight: 100;
	font-size: 16px;
	line-height:22px;
	padding:10px;
}
.minutes, .seconds {
	padding: 10px;
	color: #c6e8f3;
	background: #266073;
	display: inline-block;
}
/* <TRADENOMIT>
.rengas {
	background-color: #00a88e;
}
.liitto2 {
	background-color: #dbdad7;
	font-weight: 500;
	color: #000;
} .liitto2:hover, .liitto2:focus {
	background-color: #bbbab7;
}
.tek1 {
	background-color: #00a88e;
}
.tek2 {
	background-color: #ffc20e;
}
h1 {
	color: #fff;
	background-color: #00a88e;
	font-weight: 400;
}

.button_otsikko_tek {
	background-color: #00a88e;
	border:0;
} .button_otsikko_tek:hover, .button_otsikko_tek:focus, .button_otsikko_tek:active {
	background-color: #10b89e;
}
button {
	background-color: #ffc20e;
	border-bottom: 4px solid #dfa200;
} button:hover, button:focus, button:active {
	background-color: #efb200;
}
</TRADENOMIT> */

/* <NLY>
.rengas {
	background-color: #00AAD0;
}
.liitto2 {
	background-color: #dbdad7;
	font-weight: 500;
	color: #000;
} .liitto2:hover, .liitto2:focus {
	background-color: #bbbab7;
}
.tek1 {
	background-color: #00AAD0;
}
.tek2 {
	background-color: #ffc20e;
}
h1 {
	color: #fff;
	background-color: #00AAD0;
	font-weight: 400;
}

.button_otsikko_tek {
	background-color: #00AAD0;
	border:0;
} .button_otsikko_tek:hover, .button_otsikko_tek:focus, .button_otsikko_tek:active {
	background-color: #10BAE0;
}
button {
	background-color: #ffc20e !important;
	border-bottom: 4px solid #dfa200 !important;
} button:hover, button:focus, button:active {
	background-color: #efb200 !important;
}

.buttonOK {
	background-color: #00AB65 !important;
	border-bottom: 4px solid #008B45 !important;
	color: #fff;
} .buttonOK:hover, .buttonHyvaksy:focus, .buttonHyvaksy:active {
	background-color: #00cb85 !important;
}

</NLY> */

/* <JURISTILIITTO> */
.rengas {
	background-color: #dbdad7;
	font-weight: 500;
	color: #000;
}
.liitto2 {
	background-color: #dbdad7;
	color: #000;
} .liitto2:hover, .liitto2:focus {
	background-color: #bbbab7;
}
.tek1 {
	background-color: #810240;
}
.tek2 {
	background-color: #ffc20e;
}
h1 {
	color: #FFFD8F;
	background-color: #810240;
	font-weight: 400;
}

.button_otsikko_tek {
	background-color: #810240;
	border:0;
} .button_otsikko_tek:hover, .button_otsikko_tek:focus, .button_otsikko_tek:active {
	background-color: #911250;
}
button {
	background-color: #ffc20e !important;
	border-bottom: 4px solid #dfa200 !important;
} button:hover, button:focus, button:active {
	background-color: #efb200 !important;
}

.buttonOK {
	background-color: #00AB65 !important;
	border-bottom: 4px solid #008B45 !important;
	color: #fff;
} .buttonOK:hover, .buttonHyvaksy:focus, .buttonHyvaksy:active {
	background-color: #00cb85 !important;
}

/* </JURISTILIITTO> */
