html {
    -webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(233,229,228,0.5);
	height:100%;
}
body {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #383838;
	font-weight: 400;
	font-style: normal;
	height:100%;
}

@media screen and (min-width: 768px) {
	body.scrolling { pointer-events: none; }
}


p {
	margin-bottom: 20px;
	line-height: 1.4;
}
p.hide_this_in_print{
    margin-bottom:0px;
}
strong {
	font-weight: 700;
}
em {
	font-style: italic;
}
.smaller {
	font-size: 0.85em;
}
.bigger {
	font-size: 1.2em;
}
.naviruksi{display:none;}


div.pagesectioncontainer ul, div.myyntiteksti ul, #tuotetiedot_alue ul, #tuotekuvaus_alue ul, #tuote_popup ul, .tekstialue ul {
	margin-bottom: 25px;
}
div.pagesectioncontainer:not(.section_slider) ul li, div.myyntiteksti ul li, #tuotetiedot_alue ul li, #tuotekuvaus_alue ul li, #tuote_popup ul li, .tekstialue ul li {
	position: relative;
	/*margin-left: 10px;*/
	line-height: 1.4;
	list-style-type: none;
	margin-bottom: 1px;
	/*background: url(../images/listapallo.png) no-repeat 0 7px;*/
	padding-left: 15px;
	overflow: hidden;
	zoom: 1;
}
div.pagesectioncontainer:not(.section_slider) ul li:before, div.myyntiteksti ul li:before, #tuotetiedot_alue ul li:before, #tuotekuvaus_alue ul li:before, #tuote_popup ul li:before, .tekstialue ul li:before {

	content: '\f111';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);

	color: #0059a1;
	font-family: sotka_icon;
	font-size: .4em;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	vertical-align: middle;
}
.tekstialue ul li {
	background-image: none;
	list-style: inside;
}
div.pagesectioncontainer.section_slider ul li {
	margin: 0;
	line-height: 1;
	background: none;
	padding: 0;
}
div.pagesectioncontainer ol, div.myyntiteksti ol, #tuotetiedot_alue ol, #tuotekuvaus_alue ol, #tuote_popup ol, .tekstialue ol {
	margin-bottom: 25px;
}
div.pagesectioncontainer ol li, div.myyntiteksti ol li, #tuotetiedot_alue ol li, #tuotekuvaus_alue ol li, #tuote_popup ol li, .tekstialue ol li {
	margin-left: 30px;
	list-style-type: decimal;
	line-height: 1.4;
	list-style-position: outside;
}
.ol_inside ol li {
	margin-left: 5px !important;
	list-style-position: inside !important;
}

div.read_more_section {
	display: none;
}
p.read_more_link {
	display: inline-block;
	cursor: pointer;

	color: #0059a1;
}
p.read_more_link:hover {
	/*color: #666;*/
	text-decoration : underline;
}


a, a:link, a:visited {
	color: #383838;
	text-decoration : underline;
	outline: none;
}
a:hover, a:active {
	text-decoration: none;
	outline: none;
}
a.r:link, a.r:visited { text-decoration: none; }
a.r:hover, a.r:active { text-decoration: underline; }
a.korostus {
	color: #0059a1 !important;
}
img, area {
	outline: none;
}
div.pagesectioncontainer a:link, div.pagesectioncontainer a:visited {
	color: #0059a1;
	text-decoration: underline;
}
div.pagesectioncontainer a:hover, div.pagesectioncontainer a:visited {
	text-decoration: none;
}
a.tel:link, a.tel:visited {
	color: #383838 !important;
	text-decoration: none !important;
}


sup {
	font-size: 0.7em;
	position: relative;
	top: -0.3em;
	top: -0.5em\0; /* ie8/9 */
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* ie10+ */
	sup {
		top: -0.5em;
	}
}


.linktext {
	color : #666;
	text-decoration: none;
}

.nw {
	white-space: nowrap;
}


div {
	box-sizing: border-box;
}
div.clear {
	clear: both;
	font-size: 0;
	height: 0;
	line-height: 0;
}


.last {
	margin-right: 0 !important;
}

a.kaikki_matot_banneri {
  background-image: url("../images/kaikki-matot-mobiili-06072017.jpg");
  width: 469px;
  height: 130px;
  display: block;
}

img.left {
	float: left;
}
img.right {
	float: right;
}


img {
	outline: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
	image-rendering: optimizeQuality;
}
svg {
	outline: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}


h1 {
	font-weight: 400;
	font-size: 27px;
	margin-bottom: 30px;
	line-height: 1.2;
}
h1 + a#seo_toggle {
	padding: 10px;
}
h1 + a#seo_toggle > img {
	margin-top: -10px;
	transition: transform 0.5s ease;
}
h1 + a#seo_toggle.open img {
	transform: rotate(90deg);
}
h2 {
	font-weight: 400;
	font-size: 22px;
	margin-bottom: 20px;
	line-height: 1.2;
}
h2.on_image {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 40px;
}
h2.myymala {
	padding-left: 25px;
	background-position: left 35px;
	background-repeat: no-repeat;
}
h2.myymala.palvelut {
	background-image: url(../images/myymalan_palvelut_icon.png);
}
h2.myymala.yhteystiedot {
	background-image: url(../images/yhteystiedot_icon.png);
}
h2.myymala.aukioloajat {
	background-image: url(../images/aukioloajat_icon.png);
}
div.pagesectioncontainer h3 {
	line-height: 1.4;
}
h3 {
	font-weight: 400;
	font-size: 17px;
	margin-bottom: 15px;
	line-height: 1.2;
}

/* Generic icons & colors */
.background_sotkablue{
	background-color:#00AAC8;
	color:white;
}
.circle_w_icon{
	width:35px;
	height:35px;
	line-height: 35px;
	text-align: center;
	border-radius: 50%;
}

/* Yleiset asemointimääritykset */
.left {
	text-align : left;
}
.center {
	text-align : center;
}
.right {
	text-align : right;
}
.offline {
	color: #cc0000;
}
.required {
	color: red;
	font-weight: bold;
}
.note {
	font-size: 11px;
	color: #666;
}
.done {
	padding: 15px 45px;
	border-radius: 15px;
	background: #e6ffe6 url(../images/done.png) no-repeat 15px center;
	box-shadow: inset 0 -1px 3px #008800;
	color: #008800;
}
.error {
	padding: 15px 45px;
	border-radius: 15px;
	background: #ffe8e8 url(../images/error.png) no-repeat 15px center;
	box-shadow: inset 0 -1px 3px #cc0000;
	color: #cc0000;
}
.error p, .done p { margin: 0; }
.highlight {
	color: #0059a1;
}

.hyphenate {
	overflow-wrap: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}


/* Form Styles */
input, textarea, formfield, button, select {
	background-color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #383838;
	font-weight: 400;
	border: 1px solid #383838;
	outline: none;
}
input[type=submit], input[type=text], textarea, button {
	-webkit-appearance: none;
	border-radius: 0;
}
input[type=text] {
	line-height: 2.2\0/; /* ie8 */
}
select {
	border-radius: 0;
}
::-webkit-input-placeholder {
    color: #828282;
}
:-moz-placeholder {
    color: #828282;
}
::-moz-placeholder {
    color: #828282;
}
:-ms-input-placeholder {
    color: #828282;
}
input[type=text], input[type=email], input[type=password], select, textarea {
	height: 35px;
	width: 100%;
	box-sizing: border-box;
	padding: 0 10px;
	border: 1px solid #E5E5E5;
	background: #F9F9F9;
	display: block;
}
textarea {
	height: 100px;
	padding-top: 10px;
	padding-bottom: 10px;
	resize: none;
	overflow: auto;
	line-height: 1.4
}
label + input, label + textarea, label + div.styled_select {
	margin-top: 5px;
}


.deleted, h1.deleted, a.deleted, a.deleted:link, a.deleted:visited {
	text-decoration: line-through;
}
a.deleted:hover, a.deleted:active {
	text-decoration: line-through;
}


/* Content Section Styles */
div.pagesectioncontainer {
	padding: 0;
	margin: 0 0 40px 0;
}
div.pagesectioncontainer.video {
	margin-bottom: 40px;
}
div.pagesectioncontainer.video div.left_column {
	margin-bottom: 40px;
}
div.pagesectioncontents {
	margin: 0;
	padding: 0;
}
div.left_column, div.right_column {
	padding: 0;
	margin: 0;
}


/* Section images printed with div */
.sectionimageleft {
	display: block;
	padding-bottom: 25px;
}
.sectionimageright {
	display: block;
	padding-bottom: 25px;
}
.sectionimageonlyleft {
	text-align: left;
	padding-bottom: 25px;
}
.sectionimageonlycenter {
	text-align: center;
	padding-bottom: 25px;
}
.sectionimageonlyright {
	text-align: right;
	padding-bottom: 25px;
}
.sectionimagesonly {
	padding-bottom: 25px;
}
.sectionimagesonly div.left,
.sectionimagesonly div.right {
	text-align: center;
}
.sectionimagesonly div.left + div.right {
	margin-top: 20px;
}
p.kuvateksti, .kuvateksti {
	color: #666;
	font-size: 0.9em;
	padding: 5px 0;
	text-align: left;
	margin: 0;
}
.kuvateksti.desktop {
	display: none;
}
@media(min-width: 768px){
	.kuvateksti.desktop {
		display: block;
	}
	.kuvateksti.mobile {
		display: none;
	}		
}
.slider_image {
	width: 240px;
	float: left;
	padding: 0 10px;
	box-sizing: border-box;
	text-align: center;
}
.section_slider img {
	max-width: 240px;
	max-height: 200px;
}


/* Images with thumb border */
.thumbborder, img.thumbborder {
	border: 1px solid #666;
}
.galleryimage {
	height: 100px;
	float: left;
	margin: 0 10px 10px 0;
}


/* Notification Box Styles */
td.huombox {
	background-color: #D8EAFB;
	border: 1px solid #003466;
	/* background-color: #FFD9DF;
	border: 1px solid #cc0000; */
	padding: 10px;
	vertical-align: middle;
}
td.huombox p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
td.notice {
	background-color: #FBEDBB;
	border: 1px solid #999999;
	padding: 10px;
	vertical-align: middle;
}
td.notice p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	color: #333;
}


/* Article styles */
#uutisnavi {
	float: right;
	padding-top: 10px;
	line-height: 1.2;
}
#uutisnavi a:link, #uutisnavi a:visited {
	text-decoration: none;
}
#uutisnavi a.on, #uutisnavi a:hover, #uutisnavi a:visited {
	text-decoration: underline;
}
p.newsaika {
	margin-bottom: 5px;
	font-size: 14px;
}
table.attachment_table {
	margin: 0;
}
table.attachment_table td {
	vertical-align: middle;
}
table.attachment_table td.icon {
	width: 35px;
}
table.attachment_table p {
	margin: 0;
	font-size: 12px;
}
a.lue_lisaa:link, a.lue_lisaa:visited {

}
div.listauutinen {
	padding-bottom: 30px;
}
@media screen and (min-width: 768px) {
	div.listauutinen {
		width: 45%;
		margin-right: 5%;
		float: left;
	}
}


/* Search styles */
ol.searchresults li {
	margin: 0 0 20px 20px;
	line-height: 1.4;
	list-style-type: decimal;
}
a.searchresultname, a.searchresultname:link, a.searchresultname:visited {
	font-size: 15px;
	text-decoration: none;
	color: #000;
}
a.searchresultname:hover, a.searchresultname:active {
	text-decoration: underline;
}
a.searchresult, a.searchresult:link, a.searchresult:visited {
	color: #666;
	text-decoration: underline;
}
a.searchresult:hover, a.searchresult:active {
	text-decoration: none;
}


/* Admin Table Styles */
tr.otsakkeet, td.header {
	background-color : Gray;
}
tr.otsakkeet td, td.header {
	padding : 2px;
	border-left: 1px solid White;
	border-right: 1px solid White;
}
table.edit {
	margin-bottom: 20px;
}
table.edit img {
	max-width: none;
}
table.edit td {
	padding: 2px;
}
tr.otsakkeet td p, td.header p, td.tuoteheader p, table.edit p {
	margin: 0;
}
tr.otsakkeet td p, td.header p {
	color: #fff;
}
td.header a, td.header a:link, td.header a:visited {
	color: #fff;
	text-decoration: underline;
}
td.header a:hover, td.header a:active {
	color: #fff;
	text-decoration: none;
}
td.colored {
	background-color: #F0F0F0;
}
table.edit a:link, table.edit a:visited {
	text-decoration: none;
	display: block;
}
table.edit a:hover, table.edit a:active {
	text-decoration: underline;
}

.center_xy, .center_y {
	width: 100%;
	height: 100%;
	display: table;
}
.center_xy > *, .center_y > * {
	display: table-cell;
	vertical-align: middle;
}
.center_xy > * { text-align: center; }


/* back to top -nappi */
.cd-top {
	display: inline-block;
	height: 37px;
	width: 37px;
	position: fixed;
	z-index: 99;
	bottom: 10px;
	right: 10px;
	overflow: hidden;
	/*text-indent: 100%;
	white-space: nowrap;*/
	/*background:  url(../images/ylos.png) no-repeat center 50%;*/
	text-decoration: none !important;
	background-color: #777777;
	border-radius: 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top > span {
	position: relative;
	display: block;
	height: 100%;
}
.cd-top > span:after {
	position: relative;
	top: 5px;
	color: #fff;

	content: '\e829';
	font-family: sotka_icon;
	font-size: 1.7em;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	opacity: .5;
}
.no-touch .cd-top:hover {
	background-color: #e86256;
	opacity: 1;
}


/* kustomoidut checkbox ja radio */
input.custom_checkbox {
	width: 25px;
	height: 25px;
	margin: 0;
	padding: 0;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	cursor: pointer;
	border: none;
	float: left;
}
input.custom_radio {
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	cursor: pointer;
	border: none;
	float: left;
}
input.custom_checkbox + label {
	display: block;
	margin-left: -25px;
	padding-left: 35px;
	background: url(../images/checkbox.png) no-repeat 0 0;
	line-height: 25px;
	height: 25px;
	float: none;
}
input.custom_radio + label {
	display: block;
	margin-left: -20px;
	padding-left: 30px;
	background: url(../images/radiobutton.png) no-repeat 0 0;
	line-height: 20px;
	height: 20px;
	float: none;
}
input.custom_checkbox:checked + label {
	background-position : 0 -25px;
}
input.custom_radio:checked + label {
	background-position : 0 -20px;
}
input.custom_checkbox + label.custom_pitka {
	margin-top: -25px;
	margin-left: 0;
	line-height: 1.4;
}
input.custom_radio + label.custom_pitka {
	margin-top: -20px;
	margin-left: 0;
	line-height: 1.4;
}


/* slider-valitsin (lisämuokkaukset widgetin omiin tyyleihin) */
#slider-range {
	margin: 10px 9px;
}
#slider-range .ui-slider-handle {
	margin-left: -9px;
	width: 18px;
	height: 18px;
	background: #4ba2a9;
	border-radius: 9px;
	outline: none;
	border: none;
}


.tooltip {
	box-shadow: none !important;
	background: #f9f9f9 !important;
	border: 1px solid #ccc !important;
	border-radius: 5px !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	font-family: 'Montserrat', sans-serif !important;
	text-align: left !important;
}
.tooltip_plussa {
	box-shadow: none !important;
	background: #f9f9f9 url(../images/k-plussa-100.png) no-repeat 10px 10px !important;
	border: 1px solid #ccc !important;
	border-radius: 5px !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	font-family: 'Montserrat', sans-serif !important;
	text-align: left !important;
	padding-top: 35px !important;
}


/* evästeiden hyväksyntä */
#acceptCookies {
	position: fixed;
	bottom: 0;
	width: 100%;
	background: #0059a1;
	z-index: 9999;
	padding: 10px 0;
}
#acceptCookies p {
	max-width: 1024px;
	text-align: left;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 10px;
	color: #fff;
	overflow: hidden;
	zoom: 1;
	font-size: 13px;
}
#acceptCookies p a i {
	float: right;
	width: 31px;
	height: 31px;
	margin: 0 0 10px 20px;

	background-color: #fff;
	color: #0059a1;
	font-size: 1.7em;
}
#acceptCookies p a {
	color: #fff;
}
@media screen and (min-width: 768px) {
	#acceptCookies p {
		padding: 0 20px;
	}
}
@media screen and (min-width: 1024px) {
	#acceptCookies p {
		padding: 0 30px;
	}
	#acceptCookies p a img {
		margin: 0;
	}
}
@media screen and (min-width: 1044px) {
	#acceptCookies p {
		padding: 0;
	}
}

.bg_color_fb { background-color: #3A5898 !important; }
.bg_color_insta { background-color: #E6007E !important; }
.bg_color_twitter { background-color: #00ACEE !important; }
.bg_color_whats { background-color: #25D066 !important; }
.bg_color_pin { background-color: #CB2028 !important; }
.bg_color_gp { background-color: #D34836 !important; }


.sisalto .created-date {
	background: transparent url(../images/paivamaara-ikoni.png) no-repeat left center;
	padding-left: 25px;
	font-size: 13px;
	min-height: 18px;
	line-height:18px;
	color: #CBCED1;
}

pre{
	text-align: left;
	font-family: Helvetica, serif;
}


/* faq/ukk-osiot */
div.pagesectioncontainer.faq {
	margin-bottom: 0;
}
div.pagesectioncontainer.faq h2, 
div.pagesectioncontainer.faq h3 {
	cursor: pointer;
	position: relative;
}
div.pagesectioncontainer.faq div.faqs,
div.pagesectioncontainer.faq div.answer {
	display: none;
}
div.pagesectioncontainer.faq h2 {
	background: #EAEDF2;
	text-transform: uppercase;
	padding: 10px 50px 10px 0;
	font-size: 22px;
	line-height: 1.2;
}
div.pagesectioncontainer.faq h2::after {
	content: '\e802';
	font-family: sotka_icon;
	display: inline-block;
	position: absolute;
	right: 15px;	
}
div.pagesectioncontainer.faq h2.open::after {
	content: '\e803';
}
div.pagesectioncontainer.faq h3 {
	border-bottom: 2px solid #ccc;
	font-size: 18px;
	font-weight: 700;
	padding-right: 40px;
}
div.pagesectioncontainer.faq h3::after {
	content: '\e802';
	font-family: sotka_icon;
	position: absolute;
	right: 15px;
}
div.pagesectioncontainer.faq h3.open::after {
	content: '\e803';
}
div.pagesectioncontainer.faq div.faqs {
	padding-bottom: 20px;
}
@media screen and (max-width: 599px) {
	div.pagesectioncontainer.faq h2 {
		padding-left: 10px;
		font-size: 18px
	}
	div.pagesectioncontainer.faq h3 {
		font-size: 14px;
	}
}
@media screen and (min-width: 600px) {
	div.pagesectioncontainer.faq h2::before {
		content: '\e810';
		font-family: sotka_icon;
		margin: 0 15px;
		color: #fff;
		font-size: 20px;
		line-height: 1.2;
	}
	div.pagesectioncontainer.faq h3,
	div.pagesectioncontainer.faq div.answer {
		margin-left: 40px;
	}
}
