﻿/*
Theme Name: Kingi
Theme URI: http://kingi.fi/
Author: Ideasampo Oy
Author URI: http://ideasampo.fi/
Description: Kingin oma teema
Version: 1.0
*/

/**
 * Content:
 * 1.0 Reset
 * 2.0 Common elements
 * 3.0 Layout
 * 4.0 Header
 * 5.0 Content
 * 6.0 Footer
 * ---------------------------------------------------------------
 **/

/**
 * 1.0 Reset
 * ---------------------------------------------------------------
 **/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	min-height: 100%;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

sup {
	font-size: 0.75em;
}

em {
	font-style: italic;
}
/**
 * 2.0 Common elements
 * ---------------------------------------------------------------
 **/

html { height: 100%; }
body {
	font: 15px 'museo-sans', Arial, sans-serif;
	background: #fff;
	font-weight: 500;
}

a {
	text-decoration: none;
	color: #BE000F;
}

a:hover, a:focus {
	text-decoration: underline;
	color: #BE000F;
}

a.discret {
	color: inherit;
}

.button {
	font-size: 0.875em;
	padding: 0.7em 1.5em;
	display: inline-block;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;

	background: #BE000F;
	background: linear-gradient(to bottom,  #ff0000 0%,#BE000F 100%);
	color: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	border: none;
}

.button:hover, .button:focus {
	text-decoration: none;
	color: #E0E0E0;
}

p {
	margin-bottom: 1em;
	line-height: 1.4em;
	color: #4b4b4b;
}

.default-content li {
	line-height: 1.4em;
	margin-bottom: 4px;
}

.clear {
	clear: both;
}

p.subtile {
	color: #626262;
	font-size: 0.875em;
	margin-bottom:5px;
}

i {
	font-style: italic;
}

strong, b {
	font-weight: 700;
	color: #000;
}

blockquote {
	padding-left: 45px;
}

blockquote p {
	color: #717171;
}

h1, h2, h3, h4, h5 {
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.5em;
}

h1, .h1 {
	font-size: 1.875em;
}

h1 a {
	color: #fff;
}

h1 a:hover {
	color: #fff;
}

h2, .h2 {
	font-size: 1.125em;
}

table td {
	padding: 10px;
	border:1px solid #cbcbcb;
}

a.no-underline {
	text-decoration: none;
}
/* spammiturva */
.s-osoite {
	display: none;
}

/* SOME */
#fsb-social-bar {
	border:none !important;
}

/* comments */

.comments-area {
	padding: 0px;
}

.comment-reply-title,
.comments-title {
	margin: 0;
	text-transform: uppercase;
}

#comment-list {
	list-style: none;
	margin-bottom: 50px;
	padding: 0;
}

.comment-author {
	font-size: 14px;
	line-height: 1.7142857142;
}

.comment-list .reply,
.comment-metadata {
	font-size: 14px;
	line-height: 2;
	text-transform: uppercase;
}

.comment-list .reply {
	margin-top: 24px;
}

.comment-author .fn {
	font-weight: 900;
}

.comment-author a {
	color: #2b2b2b;
}

.comment-list .trackback a,
.comment-list .pingback a,
.comment-metadata a {
	color: #767676;
}



.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 24px;
	padding-top: 24px;
}

.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
	border-top: 0;
}

.comment-author {
	position: relative;
}

.comment-author .avatar {
	border: 1px solid rgba(0, 0, 0, 0.1);
	height: 18px;
	padding: 2px;
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
}


.says {
	display: none;
}

.comment-author,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply,
.comment-metadata {
	padding-left: 0px;
}

.comment-edit-link {
	margin-left: 10px;
}


.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
}

.comment-content ul,
.comment-content ol {
	margin: 0 0 24px 22px;
}

.comment-content li > ul,
.comment-content li > ol {
	margin-bottom: 0;
}

.comment-content > :last-child {
	margin-bottom: 0;
}

.comment-list .children {
	list-style: none;
	margin-left: 15px;
}

.comment-respond {
	margin-bottom: 24px;
	padding: 0;
}

.comment .comment-respond {
	margin-top: 24px;
}

.comment-respond h3 {
	margin-top: 0;
	margin-bottom: 24px;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
	color: #767676;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as {
	font-size: 14px;
	line-height: 1.7142857142;
}

.no-comments {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.5;
	margin-top: 24px;
	text-transform: uppercase;
}

.comment-form label {
	display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
}

.required {
	color: #c0392b;
}

.comment-reply-title small a {
	font-size: 0.875em;
}

.comment-reply-title small a:hover {
	color: #41a62a;
}

.comment-navigation {
	font-size: 12px;
	line-height: 2;
	margin-bottom: 48px;
	text-transform: uppercase;
}

.comment-navigation .nav-next,
.comment-navigation .nav-previous {
	display: inline-block;
}

.comment-navigation .nav-previous a {
	margin-right: 10px;
}

#comment-nav-above {
	margin-top: 36px;
	margin-bottom: 0;
}

.comment-form input[type="submit"] {
	font-size: 0.875em;
	padding: 0.7em 1.5em;
	display: inline-block;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;
	border: none;

	background: #BE000F;
	background: linear-gradient(to bottom,  #ff0000 0%,#BE000F 100%);
	color: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.comment-form input[type="submit"]:hover {
	text-decoration: none;
	color: #fff;
}

input, textarea {
	border: 1px solid #aaaaaa;
	padding: 5px;
	box-sizing: border-box;
	border-radius: 5px;
}

/* g-forms */


.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title {
	font-weight: 700 !important;
	font-size: 1em !important;
}

.gform_wrapper .gsection {
	margin: 30px 0 0px !important;
}

.gform_wrapper .top_label .gfield_label {
	margin: 20px 0 4px 0 !important;
}

.gform_wrapper ul.gfield_radio li, .gform_wrapper ul.gfield_checkbox li {
	overflow: visible !important;
	margin-left: 3px !important;
}

#gforms_confirmation_message {
	background: #E2FFE7;
	border: 1px solid #28BB00;
	padding: 20px;
	border-radius: 15px;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label textarea.textarea {
	padding: 10px !important;
	font-size: 14px;
}

#gform_15 input.medium,
#gform_15 select.medium {
	width: 100% !important;
}

.gf_right_half {
	float: right !important;
	clear: none !important;
}

.gf_left_half {
	float: left !important;
}

.yhteystieto-lomake_wrapper.gform_wrapper .top_label li.gfield.gf_right_half {
    top: -166px !important;
}

@media (min-width: 768px) {
	.ylipitka-label li {
		margin-right: -100% !important;
	}
}

/**
 * 3.0 Layout
 * ---------------------------------------------------------------
 **/

.site {
	position: relative;
}

.align_center {
	text-align: center;
}

.align_right {
	text-align: right;
}

/* WP styles */
.alignright {
	float: right;
	margin: 0 0 15px 15px;
}

.alignleft {
	float: left;
	margin: 0 20px 20px 0;
}

/**
 * 4.0 Header
 * ---------------------------------------------------------------
 **/

header#page-head {
	padding-top: 20px;
	margin-bottom: 60px;
}

#logo {
	width: 40%;
	float: left;
	font-size: 1.875em;
}

	#logo a {
		width: 300px;
		height: 47px;
		text-indent: -9999px;
		background: url(img/logo.png) no-repeat;
		background-size: 159px 47px;
		display: block;
	}

	.lang-en #logo a {
		background: url(img/logo_en.png) no-repeat;
	}

	.lang-ru #logo a {
		background: url(img/logo_ru.png) no-repeat;
	}

.nav-toggle-container {
	width: 60%;
	float: right;
}
	.nav-toggle {
		float: right;
		min-width: 60px;
		text-align: center;
	}

body.mobileNavVisible {
	overflow: hidden;
	height: 100%;
}

#nav-elements {
	display: none;
	position: fixed;
	overflow: auto;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 20px 0px;
	top:80px;
	background: #BE000F; /* Old browsers */
	background: linear-gradient(to bottom,  #BE000F 0%,#ff0000 30%,#a60011 100%);
	color: #fff;
	padding-bottom: 70px;
	z-index:100;
}

.verkkokauppa {
	float:right;
	margin-left: 10px;
}

.verkkokauppa .button {
	font-size: 0.875em;
	padding: 0.7em 1em;
	display: inline-block;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;

	background: #BE000F;
	background: linear-gradient(to bottom,  #fff 0%,#CCC 100%);
	color: #BE000F;
	box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	border: none;
}

.verkkokauppa .button:hover, .button:focus {
	text-decoration: none;
	color: #ff0000;
}

/* wp-admin fix */
.admin-bar div#nav-elements {
	top: 128px;
	padding-bottom: 122px;
}
	.nav-menu a{
		color: #fff;
	}

.nav-menu li {
	margin-bottom: 20px;
}
		.nav-menu li a {
			text-transform: uppercase;
			font-size: 1.1em;
			background: #c10012;
			display: block;
			padding: 5px 15px;
			font-weight: 700;
			box-sizing: border-box;
}


		.nav-menu li a:hover {
			text-decoration: none;
		}

		.nav-menu li .sub-menu{
			padding-left: 15px;
			z-index: 10;
		}
			.nav-menu li .sub-menu li {
				margin-bottom: 0;
				display: block;
				margin: 0 15px;
			}
				.nav-menu li .sub-menu li a{
					text-transform: none;
					background: none;
					padding: 0;
					font-size: 1em;
					margin: 8px 0;
				}

		#nav-elements .second-menu {
			padding-left: 15px;
			border-top: 1px solid #f86c73;
			padding-top: 15px;
			padding: 15px;
			margin-top:20px;
		}
			#nav-elements .second-menu li {
				margin-bottom: 0;
			}
				#nav-elements .second-menu li a{
					text-transform: none;
					background: none;
					padding: 0;
					font-size: 1em;
					margin: 8px 0;
					color: #fff;
					display: block;
				}

.search-box {
	background: #AB0010;
	border-radius: 15px;
	margin-bottom: 20px;
	padding: 5px 10px;
	margin: 0 0px 20px;
}

.search-text {
	width: 80%;
	float: left;
}

.search-button {
	width: 20%;
	float:left;
	text-align: right;
}

.search-icon {
	font-size: 16px;
	margin-top: 4px;
}

.search-box input#search {
	background: none;
	border: none;
	color: #ffd8dc;
	width: 100%;
	outline: none;
	font-size: 0.875em;
}

.search-box input#search::-webkit-input-placeholder {
	color: #f98e99;
}
.search-box input#search:-moz-placeholder {
	color: #f98e99;
}
.search-box input#search:-ms-input-placeholder {
	color: #f98e99;
}

.phone-box {
  text-align: center;
  width: 100%;
  display: inline-block;

}

.phone-box a {
	color: #fff;
}


.phone-box a:hover {
	text-decoration: none;
}

#submit-search {
	position: absolute;
	right: 15px;
	text-indent: -9999px;
	background: none;
	border: 0;
	width: 35px;
	outline: none;
}

/**
 * 5.0 Content
 * ---------------------------------------------------------------
 **/


/* Etusivu */

.legend h1 {
	color: #BE000F;
}

.legend ul {
	margin-bottom: 20px;
}

.legend p, .legend li {
	font-size: 1.245em;
	font-weight: 500;
}

.legend li {
	margin-bottom: 10px;
}

.legend-ruuvi {
	margin:30px 0;
	text-align: center;
}

.nostot {
	margin-bottom: 20px;
}

.nosto {
	min-height: 220px;
	border-radius: 15px;
	position: relative;
	text-align: center;
	padding-top: 15px;
	margin-bottom: 20px;
	font-weight: 500;
}

.nosto p {
	color: #fff;
}
	a.nostolinkki {
		color:#fff;
	}

	a.nostolinkki:hover {
		text-decoration: none;
	}

	.nosto .nostokuva {
		position: absolute;
		bottom:-4px;
		width: 100%;
	}

#news-snippets {
	list-style: none;
	padding: 0;
}
	#news-snippets li {
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid #cbcbcb;
	}
	#news-snippets .subtile {
		margin-bottom: 0;
	}


/* subnav */

.subnav_wrapper {
	display: none;
}

.main-content {
	padding: 15px 0 0;

}

.main-content img {
	max-width: 100%;
	height: auto;

}

.wp-post-image,
img.rounded {
	border-radius: 15px;
}

.wp-post-image {
	float: left;
	margin: 0 1em 1em 0;
	width: 300px;
}

.default-content {
	margin-bottom: 30px;
}


/* Kuvapalkit */

.kuvapalkki {
	margin-bottom: 30px;
	border-top: 1px solid #cbcbcb;
	padding-top:30px;
}

.kuvapalkki-no-border {
	border-top: none;
	padding-top: 0;
}

	.kuvapalkki img {
		margin-bottom: 20px;
	}

/* Ominaisuudet */

.iso_kingi_ruuvi {
	text-align: center;
}

.ominaisuus {
	margin-bottom: 20px;
}
.ominaisuus_kuva {
	margin-bottom: 10px;
}
.ominaisuus_teksti {

}

.c_luokat {
	text-align: center;
	margin: 30px 0 30px;
}

.c_luokka {
	border: 1px solid #BE000F;
	padding: 20px;
	margin: 0 5px 20px;
	width: 230px;
	height: 230px;
	text-align: center;
	border-radius: 50%;
	font-size: 0.875em;
	display: inline-block;
	vertical-align: top;
}

	.c_luokka p {
		line-height: 1.2em;
	}


.c_ruuvit table{
	width: 100%;
}

	.c_ruuvit table th {
		padding-bottom: 10px;
	}

	.c_ruuvit table td {
		background: #f1f1f1;
		border: 1px solid #fff;
		text-align: center;
	}

	.c_ruuvit table td.c-ruuvi-otsikko {
		text-align: left;
	}

	.c_ruuvit table td .fa-check {
		color: #33b600;
	}


/* list */

.main-content ul {
	list-style: disc;
	padding: 0 0 20px 20px;
}

.main-content ul.menu {
	padding: 0;
}

.main-content ol {
	list-style: decimal;
	padding: 0 0 20px 20px;
}

/* posts */

.post {
	margin-bottom: 30px;
}

.post_date {
	margin-bottom: 0;
}

/* faq */
.kysymys {
	margin: 20px 0 20px;
}

/* Ajankohtiasta */

.uutinen {
	margin-bottom: 30px;
}

.posts-archive {
	border-top: 1px solid #cbcbcb;
	padding-top: 50px;
	margin-top: 30px;
}

/* Blogi */
#main-post {
	margin-top: 30px;
}

.register-email {
	border-top: 1px solid #cbcbcb;
	border-bottom: 1px solid #cbcbcb;
	padding: 30px 0;
	min-height: 100px;
	margin: 30px 0;
}

.blog-post {
	margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
	.blog-post {
		min-height: 430px;
	}
}

p a.blogilinkki {
	color: #4b4b4b;
}

a.blogilinkki h2,
a.blogilinkki h3 {
	color: #333;
}

a.blogilinkki h2 {
	font-size: 26px;
}

a.blogilinkki:hover {
	text-decoration: none;
}

.blogiviiva {
    margin-bottom: 40px;
    border-top: 1px solid #cbcbcb;
    margin-top: 60px;
}

/**
 * 6.0 Footer
 * ---------------------------------------------------------------
 **/

footer#site-footer {
	border-top: 1px solid #cbcbcb;
	padding: 20px 15px;
	margin: 0px -15px 0 -15px;

}

#breadcrumbs {
	margin: 10px 0;
	overflow: hidden;
	border-bottom: 1px solid #cbcbcb;
	border-top: 1px solid #cbcbcb;
	padding-bottom: 10px;
	position: absolute;
	top: 70px;
	left: 0;
	width: 100%;
	padding: 10px 15px;
	font-size: 0.875em;
	font-weight: 700;
		margin-top: 20px;
}


	#breadcrumbs a{
	    color: #666666;
	}
	#breadcrumbs a:hover{
	    color: #000;
	}
#site-footer .some-icons li {
	display: inline-block;
	margin-right: 7px;
}

#site-footer .second-menu  {
	margin-bottom: 1em;
	font-weight: 700;
}

#site-footer .second-menu li  {
	margin-bottom: 13px;
}

	#site-footer .second-menu li a {
		color: #000;
		text-transform: uppercase;
	}

	#site-footer .second-menu li a:hover {
		color: #BE000F;
		text-decoration: none;
	}

/*********************************************************************************************
 *********************************************************************************************
 * Meadia Queries
 *********************************************************************************************
 ********************************************************************************************/



@media screen and (min-width:768px) {

/**
 * 2.0 Common elements
 * ---------------------------------------------------------------
 **/

html {
	background: #ececec;
}

body{
	background: #BE000F; /* Old browsers */
	background: linear-gradient(to bottom,  #BE000F 0%,#ff0000 30%,#a60011 100%);
	background-attachment: fixed;
	box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

.text-right-sm {
	text-align: right;
}

/**
 * 3.0 Layout
 * ---------------------------------------------------------------
 **/

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

/**
 * 4.0 Header
 * ---------------------------------------------------------------
 **/

header#page-head {
	padding-top: 0px;
	margin-bottom: 30px;
}

#logo {
	z-index: 5;
	position: relative;
	width: 300px;
	float: none;
	background: #fff;
	padding: 20px 0 27px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
}
	#logo a {
		width: 229px;
		height: 70px;
		margin: 0px auto;
		background-size: 229px 67px;
	}

.nav-toggle-container {
	display: none;
}

#nav-elements {
	display: block !important;
	position: absolute;
	background: none;
	overflow:visible;
	max-width: 1000px;
	height:auto;
	color: #fff;
	padding:10px 15px 0;
	top:10px;
	z-index: auto;
}
.admin-bar div#nav-elements {
	top: 10px;
	padding-bottom: 0px;
}

.nav-elements-upper {
	text-align: right;
}

.nav-elements-bottom{
	text-align: right;
}

.nav-menu {
	background: #AB0010;
	border-radius: 15px;
	float: right;
	padding: 7px 12px;
	line-height: 1.3em;
	z-index: 5;
	position: relative;
}

#nav-elements .second-menu {
	display: none;
}

	.nav-menu li {
		display: inline-block;
		margin: 0 6px;
		position: relative;

	}
		.nav-menu li a {
			text-transform: uppercase;
			font-size: 0.875em;
			background: none;
			padding: 5px 0;
			color: #fff;
		}
		.nav-menu li:hover a,
		.nav-menu li.current_page_item a,
		.nav-menu li.current_page_ancestor a,
		.nav-menu li.current_page_parent a{
			color: #FFBBBB;
		}

		.nav-menu li:hover a {
			background: #fff;
		    border-radius: 3px;
		    color: #000;
		    left: 6px;
		    padding: 5px 6px;
		    margin: 0px;
		    position: relative;
		    box-sizing: border-box;
		    color: #BE000F;
		}

		.nav-menu li:hover {
			margin: 0 1px;
		}

		.nav-menu li .fa {
			font-size: 20px;
			/*vertical-align: bottom;*/
		}

		.nav-menu li .sub-menu{
			display: none;
		}

		.nav-menu li:hover .sub-menu {
			display: block;
			position: absolute;
			background: #fff;
			text-align: left;
			padding: 10px 0;
			border-radius: 5px;
			box-shadow: 0 1px 3px rgba(0,0,0,0.5);
			min-width: 150px;
			left: 5px;
		}

			.nav-menu li:hover .sub-menu li {
				font-size: 0.875em;
				margin-bottom: 3px;
			}
				.nav-menu li:hover .sub-menu li a{
					color: #000;
					margin: 0;
				}
				.nav-menu li:hover .sub-menu li a:hover{
					color: #BE000F;
					margin: 0;
				}

.search-box {
	max-width: 170px;
	float: right;
	margin-right: 0;
	margin-bottom: 17px;
}

/**
 * 5.0 Content
 * ---------------------------------------------------------------
 **/


/* Etusivu */

.fb-post-wrap {
	overflow: hidden;
}

.legend {
	min-height: 454px;
}

.legend_content {
	padding-top: 40px;
}

.legend-ruuvi-tausta {
	background: url(img/bg_valot.png) no-repeat center top;
	position: absolute;
	width: 100%;
	top: -162px;
	z-index: 0;
	height: 616px;
	padding-top: 150px;
}

	.legend h1 {
		color: #fff;
		font-size: 2em;
	}


	.legend ul {
		margin-bottom: 20px;
	}

	.legend p, .legend li {
		font-size: 1.2em;
		color:#fff;
	}

	.legend .button {
		color: #000;
		background: #fff;
		background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 100%);
		box-shadow: 0 1px 3px rgba(0,0,0,0.3);
		font-size: 0.75em;
	}


/* subnav */

ul#child-pages {
	padding: 0;
}
.subnav_wrapper {
	display: block;
	padding-bottom: 0px;
	margin-bottom: 50px;
	min-height: 1px;
}
	.subnav {
		text-align: center;
		border-bottom: 1px solid #cbcbcb;
	}
		.subnav li {
			display: inline-block;
			padding: 20px 0 15px;
			margin: 0px 8px;
			border-bottom: 3px solid #fff;
			font-weight: 500;
		}
		.subnav li.current_page_item {
			border-bottom: 3px solid #BE000F;
		}
			.subnav li a {
				color: #000;
			}
			.subnav li a:hover {
				text-decoration: none;
				color: #BE000F;
			}
			.subnav li.current_page_item a {
				color: #BE000F;
			}

.main-content {
	background: #fff;
	padding: 0px 0 1px;
	border-radius: 30px;
	min-height: 200px;
}

	.main-content .row {
		margin: 0 15px;
	}
		.main-content .row .row {
			margin-left: -15px;
			margin-right: -15px;
		}

#main-etusivu {
	padding: 30px 0 5px;
}

 .default-content {
	margin-bottom: 60px;
}


/* Kuvapalkit */
.kuvapalkki {
	margin-bottom: 40px;
	border-top: 1px solid #cbcbcb;
	padding-top:60px;
}

.single .kuvapalkki {
	padding-top: 0;
}

.kuvapalkki-no-border {
	border-top: none;
	padding-top: 0;
}

/* Ominaisuudet */
.iso_kingi_ruuvi {
	padding: 0 20px 0 40px;
}

.ominaisuudet {
	margin-bottom: 30px;
}

.ominaisuus {
	margin-bottom: 10px;
}

	.ominaisuus_kuva {
		float: left;
		width: 20%
	}
	.ominaisuus_teksti {
		float: right;
		width: 75%;
	}

.c_luokat {
	margin: 30px 0px 30px;
}

/**
 * 6.0 Footer
 * ---------------------------------------------------------------
 **/
footer#site-footer {
	background: #fff;
	margin-top: 30px;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	padding: 0px 0px 5px 0;
	margin: 30px 0 0 0;
	font-size: 0.875em;
}
#breadcrumbs{
   position:relative;
   top:0;
   border-top: none;
   padding: 10px 30px 15px;
   margin-bottom: 20px;
   font-size: 1em;
}
	footer#site-footer .row {
		margin: 0 15px;
	}

#site-footer .some-icons li {
	margin-left: 7px;
	margin-right: 0;
}

#site-footer .second-menu   {
	margin-bottom: 30px;
}

	#site-footer .second-menu li  {
		display: inline-block;
		margin-right: 5px;
	}

}

.phone-mobile {
	position: absolute;
	top: 46px;
	right: 15px;
}
.phone-mobile a:active,
.phone-mobile a:hover {
	text-decoration: none;
}

@media screen and (min-width: 765px) {
	.phone-box {
		width: 160px;
		text-align: left;
		line-height: 36px;

	}
	#nav-elements {
		padding-left: 300px;
	}

	.lang-ru .phone-box,
	.lang-en .phone-box {
		width: 170px;
	}
}


@media screen and (min-width:868px) {

	.nav-menu li {
		margin: 0 7px;
	}

	#site-footer .second-menu li  {
		margin-right: 10px;
	}

	.phone-box {
	  width: 170px;
	  text-align: left;
	  font-size: 1.15em;
	}


}

@media screen and (min-width:1000px) {
	#nav-elements {
		left: 50%;
		margin-left: -500px;
	}

	.phone-box {
	  float: right;
	  line-height: 36px;
	  text-align: left;
	  width: 150px;
	  display: inline-block;
	}

	.lang-ru .phone-box,
	.lang-en .phone-box {
		width: 170px;
	}

	.legend_content {
		padding-top: 20px;
	}

		.legend h1 {
			color: #fff;
			font-size: 2.2em;
		}

		.legend p, .legend li {
			font-size: 1.4em;
			color:#fff;
		}
}

	.lang-fi .choose-lang {
		display: none;
	}


/* Retina */
/*
@media
(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	#logo a {
		background-image: url(img/logo@2x.png);
		background-size: 229px 67px;
	}
}*/

@media screen and (max-width:870px) {
	.nav-menu li:hover {
	    margin: 0;
	}
}

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

	h1 a,
	h1 a:hover {
		color: #E60017;
	}

	.wp-post-image {
		float: none;
	}
}

.youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 2em;
}

.youtube iframe,
.youtube object,
.youtube embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
		max-height: 335px;
}

.isot-videot iframe {
	max-height: 510px;
}

.isot-videot {
	margin-bottom: 0;
}

.video,
.video-etusivulla {
	border-bottom: 1px solid #9b9b9b;
	padding-top: 2em;
}

video,
.video-etusivulla p {
	margin-bottom: 2em;
}

.kuvapalsta h2 {
	margin-top: 2em;
}

/* Some */

.some-row {
	display: inline-block;
	float: right;
    	margin-right: 10px;
}

.some-row li {
	display: inline-block;
}

.some-row img {
	height: 22px;
    margin-right: 5px;
    margin-top: 6px;
}

/* .some-row img.twitter {
	height: 28px;
}
*/



.ominaisuudet-default .ominaisuus_teksti {
	float: left;
}

.ominaisuudet-default .ominaisuus,
.ominaisuudet-default .ominaisuus_kuva {
	margin-bottom: 0;
}

.ominaisuudet-default .ominaisuus_kuva {
	position: relative;
	top: -40px;
}

.page-id-3072 .ominaisuudet-default .ominaisuus_kuva,
.lang-en.page-id-1488 .ominaisuudet-default .ominaisuus_kuva {
	top: 0;
	margin-bottom: 26px;
}

.page-id-3072 .ominaisuudet-default .ominaisuus_teksti,
.lang-en.page-id-1488 .ominaisuudet-default .ominaisuus_teksti {
	padding-top: 10px;
}

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

	.ominaisuudet-default {
		text-align: center;
	}
	.ominaisuudet-default .ominaisuus_kuva {
		position: relative;
		top: 0;
	}

	.ominaisuudet-default .ominaisuus_teksti {
		float: none;
	}
}


/* Modaali */

.gfield_label,
.gfield_checkbox label {
	font-family: "museo-sans", sans-serif !important;
	font-weight: normal !important
}

.emodal-content h2 {
	font-family: "museo-sans", sans-serif !important;
}

/* Lomakkeet */

.gfield {
	margin-top: 20px;
}


/* Ruuvitilauslomake */

#field_7_20 tr td:first-of-type input,
#field_7_20 tr td:nth-of-type(2) input {
	width: auto;
	border: none;
	background: transparent;
}

#field_7_20 tr td:first-of-type {
	width: 1px;
}

#field_7_20 tr td:nth-of-type(2) input,
#field_7_20 tr td:nth-of-type(2) {
	width: 300px;
}

#field_7_20 tr td:nth-of-type(3) input {
	max-width: 100px
}

#field_7_20 .gfield_list_icons {
	display: none;
}

.page-id-15 .gform_wrapper  .gsection_description {
	font-family: "museo-sans", sans-serif !important;
	font-size: 1em;
}

.page-id-15  .gform_wrapper .gsection {
	border-bottom: none;
}

.single h1 {
	margin-bottom: 1.3em;
}

.single h2 {
	margin-top: 2em;
	margin-bottom: 1em;
}


/* Ruuvitilauslomake jatkuu */

.tarkennus .gfield_label,
.tuote .gfield_label {
	display: inline-block;
	width: 60%;
}

.tarkennus .gfield_label {
	width: 30%;
}

.tarkennus .ginput_container,
.tuote .ginput_container {
	display: inline-block;
	max-width: 160px;
}

.tarkennus .gfield_description,
.tuote .gfield_description {
	width: auto !important;
	display: inline-block;
}

.tarkennus input,
.tuote input {
	width: 60px !important;
	height: 36px;
	margin-top: 10px;
	margin-right: 10px;
}

/* Yhteystiedot */

.yhteystieto {
	margin-bottom: 20px;
}
.yhteystieto img {
	float: left;
	margin-right: 10px;
	border-radius: 10px;
	width: 135px;
	max-height: 135px;
}

.page-id-1586 .fa-envelope,
.yhteystieto .fa-envelope {
		margin-right: 6px;
}

.row.padding {
	margin-top: 2em;
}

.yhteystieto-lomake_wrapper .gform_footer,
.yhteystieto-lomake_wrapper.gform_wrapper .top_label li.gfield.gf_right_half {
	position: relative;
	top: -150px;
}

.yhteystieto-lomake_wrapper.gform_wrapper .top_label li.gfield.gf_left_half {
	width: 45%;
}


.yhteystieto-lomake_wrapper.gform_wrapper .top_label li.gfield.gf_right_half {
	width: 52%;
}

.yhteystieto-lomake_wrapper .gform_footer {
	text-align: right;
	padding-right: 1em !important;
}


@media screen and (max-width: 768px) {
	.yhteystieto {
		clear: both;
		min-height: 150px;
	}

	.yhteystieto-lomake_wrapper .gform_wrapper .top_label li.gfield.gf_left_half,
	.yhteystieto-lomake_wrapper .gform_wrapper .top_label li.gfield.gf_right_half {
		float: none !important;
		width: 90% !important;
		top: 0;
	}

}

img.rounded {
	border-radius: 10px;
}

.oikea {
  	display: inline-block;
    margin-left: 286px;
}

@media screen and (max-width: 768px) {
	.oikea {
		margin-left: 0;
	}
}


/* Kuvatekstit blogissa */

.wp-caption-text {
	font-style: italic;
	font-size: 0.94em;
	margin-bottom: 1em;
}

.wp-caption-text-featured {
	margin-bottom: 0;
}
/* Korjaa ylileveät kuvat */

figure {
	max-width: 100% !important;
}

.vastaus {
	display: none;
}


/* KV etusivu */

.viiva-ylos {
	border-top: 1px solid #9b9b9b;
	margin-bottom: 2em !important;
	margin-top: 2em !important;
}

.viiva-alas {
	border-bottom: 1px solid #9b9b9b;
	margin-bottom: 2em !important;
	margin-top: 2em !important;
}

.viiva-ylos > div {
	margin-top: 2em;
}

.main-content-top {
	margin-top: 40px;
	padding-top: 30px;
}

.kv-fp h1 {
	margin-bottom: 1em;
}

.kv-fp .nostokuva {
	margin-bottom: 1em;
}

.kv-fp h2 {
	line-height: 2;
}

.kv-alakuva {
	text-align: center;
	margin: 2em 0;
}

.kv-alalinkki {
	text-align: center;
	font-size: 1.1em;
	font-weight: 700;
}

.kv-nosto {
	padding-top: 2em;
	padding-bottom: 2em;
}

.kv-nosto .nostokuva {
	text-align: center;
}

.kv-linkkilaatikko {
	border-radius: 8px;
	background: blue;
	text-align: center;
	height: 200px;
	width: 100%;
	padding-top: 60px;
	font-size: 16px;
	margin-bottom: 2em;
	padding-left: 1em;
	padding-right: 1em;
}

.linkkilaatikot .col-sm-4 a .kv-linkkilaatikko {
	background: #A60011;
}

.linkkilaatikot .col-sm-4:nth-child(2) a .kv-linkkilaatikko {
	background: #CA000F;
}

.linkkilaatikot .col-sm-4:nth-child(3) a .kv-linkkilaatikko {
	background: #ff0000;
}

.kv-linkkilaatikko p {
	color: white !important;
}

.kv-linkkilaatikko .isoteksti {
	text-transform: uppercase;
	font-size: 1.1em;
}

.kv-ikoni {
	display: inline-block;
	margin: 0 1em;
}

.kv-blog img {
	float: none;
}

/* Kielivalinta */

#language_chooser {
	float: right;
	margin-left: 6px;
	margin-right: 15px;
}


#language_chooser li {
	display: inline-block;
	width: auto;
}

#language_chooser li a {
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
}

.lang-ru #language_chooser,
.lang-en #language_chooser {
	margin-right: 1em;
}

/* Googlen konversio-palikka piiloon */

iframe[name='google_conversion_frame'] {
    height: 0 !important;
    width: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin-top: -13px;
    float: left;
}

#language_chooser img {
	background: #AB0010;
    padding: 4px;
    border-radius: 90px;
    height: 24px;
    width: 24px;
    position: relative;
    top: 6px;
}

/* Taulukko kuvapalkissa */

.table-responsive {
	width: 100%;
	max-width: 100%;
	overflow: scroll;
}

#taulukko table {
	font-size: 13px;
	width: 100%;
}

#taulukko td {
	color: #fff;
	background: #939393;
	border: 3px solid #fff;
	white-space: nowrap;
	text-align: center;
	padding: 5px;
}

#taulukko td.red {
	background: #fc2200;
}

#taulukko td.darkred {
	background: #a61212;
}

#taulukko td.white {
	background: #fff;
}

#taulukko td:first-of-type {
	font-weight: bold;
	color: #000;
	background: #fff;
	text-align: right;
}

#taulukko tr:first-child td {
	border: none;
	color: #939393;
	background: #fff;
}

.page-id-1816 #taulukko tr:first-child td {

}


@media screen and (max-width: 1000px) {
	#language_chooser {
	   float: left;
	   padding-left: 30px;

	}

	.lang-ru .phone-box,
	.lang-en .phone-box {
		width: auto;
	}

	.lang-en #language_chooser {
		margin-bottom: 10px;
	}

	.lang-fi #language_chooser {
		position: absolute;
	    right: 0;
	    top: 44px;
	}

	.lang-fi ul#menu-paavalikko {
		position: relative;
		top: 16px;
	}

	#language_chooser .choose-lang {
		display: none;
	}

	.lang-fi #language_chooser {
		left: auto;
		top: 45px;
		right: 350px;
	}

	.lang-ru #language_chooser,
	.lang-en #language_chooser {
		float: right;
		display: inline-block;
	}

	.lang-fi #language_chooser li {
		float: left;
	}
}

@media screen and (max-width: 768px) {
	.lang-fi #language_chooser {
		left: 0;
		top: 75px;
		right: auto;
	}
}



/* Kestävyys poikkileikkauskuva */

.poikkileikkauskuva.border {
	border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 4em;
    padding-top: 2em;
}

.poikkileikkauskuva h3 {
	margin-top: 4em;
	margin-left: 4em;
}

.poikkileikkauskuva ul,
.poikkileikkauskuva li {
	list-style-type: none;
	padding-left: 0;
	margin-left: 4em;
}

.poikkileikkauskuva li {
	margin: 1em 0;
}

.poikkileikkauskuva .kuvaus {
	position: relative;
	top: -10px;
	display: inline-block;
	padding-left: 1em;
}



@media (max-width: 768px) {
 .poikkileikkauskuva img {
	 max-width: 400px;
 }

 .poikkileikkauskuva {
	 text-align: center;
 }

 .poikkileikkauskuva ul {
	 display: inline-block;
	 width: auto;
	 text-align: left;
	 margin-left: 0;
 }

 .poikkileikkauskuva h3 {
	 margin-left: 0;
 }
}



/* Referenssit */

.referenssi-kuva .wp-post-image {
	width: auto;
}

.referenssi-kuva img {
		margin-bottom: 2em;
}

.refer {
	margin-top: 2em;
}
.refer p {
	font-style: italic;
}

.refer .wp-post-image {
	width: 100%;
	border: 1px solid #ccc;
}

@media (max-width: 1170px) {
	.refer .wp-post-image {
		width: 300px;
	}
}

@media (max-width: 768px) {
	.refer .wp-post-image {
		width: 100%;
	}
}

.emph {
	font-style: italic;
}

.referenssit {
	text-align: left;
}

ul.referenssit {
	padding-left: 0;
}

.referenssit li {
	display: inline-block;
	color: #fff;
	background: #c5000e;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 6px;
	margin: 6px;
	transition: all 0.3s ease-in;
}

.referenssi-valinta .active,
.referenssit li:hover {
	cursor: pointer;
	background: #FF0000;
}

.referenssi-lista li {
	list-style-type: none;
	display: inline-block;
}


ul.referenssi-tagit {
	color: #555;
	margin: 0;
	padding: 0;
	text-transform: capitalize;
	text-transform: uppercase;
	font-size: 0.9em;
}

.referenssi-tagit li {
	line-height: 2;
}

ul.referenssit-toimialueet {
	text-transform: uppercase;
	list-style-type: none;
	padding: 0;
	margin-bottom: 1em;
}

.referenssit-toimialueet li {
	list-style-type: none;
	display: inline-block;
}

.referenssi-logo {
	text-align: center;
    margin-bottom: 40px;
}

.referenssi-logo img {
	width: 200px;
}

.single-referenssi h1 {
	text-align: center;
}

@media screen and (min-width: 1200px) {

	p.kruunusanomat {
		padding-top: 80px;
	}

	p.kattoremontin-ostajan-opas {
		padding-top: 60px;
	}

	img.kruunusanomat {
		max-width: 290px;
		float: right;
	}

}


/* Määräykset */

.rasitusluokka .ominaisuus {
	text-align: center;
}

.rasitusluokka h3,
.rasitusluokka p {
	text-align: left;
}


@media (max-width: 768px) {
	.rasitusluokka h3,
	.rasitusluokka p {
		text-align: center;
	}
}


.page-id-254 .main-content img {
	margin-bottom: 3em;
}

.korostus {
	border: 2px solid #BE000F;
    border-radius: 8px;
    padding: 10px;
    display: block;
}

.ylavaliviiva {
    border-top: 1px solid #cbcbcb;
    margin: 30px 0;
    min-height: 100px;
    padding: 30px 0;
}

#gform_confirmation_message_15 {
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.1em;
}



/* Vuosisopimusasikkuus lomake */

#gform_fields_16 .gfield .ginput_container input {
	width: 100% !important;
}

#gform_fields_17 .gfield .ginput_container input[type="checkbox"] {
	width: auto !important;
}

#gform_confirmation_message_17,
.gform_confirmation_message_16 {
    font-weight: bold;
    /* border: 1px solid red; */
    padding: 1em;
    border-radius: 12px;
    background: #f2f2f2;
}

.gchoice_17_18_0,
.gchoice_17_18_1 {
    width: auto;
    display: inline-block;
}

li.gchoice_17_18_0 {
	margin-right: 1em !important;
}

#field_17_19 {
	margin: 0 !important;
}

@media (min-width: 768px) {
	img.ruuviarvonta {
	    max-width: 300px;
	}
}

#gform_wrapper_17 .gf_left_half,
#gform_wrapper_17 .gf_right_half {
	float: none !important;
}


img.sinetti-jalleenmyyja {
	position: absolute;
    top: -10px;
    max-width: 100px;
	right: -10px;
}

.sinetti-wrap {
    display: inline-block;
    position: relative;
    width: auto;
}

.sinetti-wrap-etusivu {
    display: inline-block;
    position: relative;
    width: auto;
}

.sinetti-wrap-etusivu img.sinetti-jalleenmyyja {
	left: -10px;
}

.nostokuva .wp-post-image {
	float: left;
}

.blog img.rounded,
.blogikuva {
	 border: 1px solid grey;
}

.main-content .row.video-tekstit {
	margin-bottom: 40px;
}

.video-video {
	padding-top: 1em;
}

.countdown-laskuri {
    text-align: center;
    font-size: 3em;
}

.countdown-laskuri .col-sm-3,
.countdown-laskuri .col-xs-3 {
	width: 23%;
	border-radius: 10px;
	margin: 0 2px;
	color: white;

	/*Linear gradient settings*/

	background: #BE000F;
	background: -webkit-linear-gradient(to bottom,  #ff0000 0%,#BE000F 100%); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom,  #ff0000 0%,#BE000F 100%); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom,  #ff0000 0%,#BE000F 100%); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom,  #ff0000 0%,#BE000F 100%); /* Standard syntax */

}

.countdown-laskuri .col-md-2:first-of-type {
   border: none;
}

.countdown-laskuri-aika {
    font-size: 16px;
    display: block;
    line-height: 1.6;
    color: #white;
}
