/*
Theme Name: Kattohuolto
Theme URI: 
Author: Kotisivupalvelut
Author URI:
Description:
Version: 2.0
License:
License URI:
Text Domain:
Domain Path: 
Tags:
*/


/* =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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html,body { height: 100%;}

td {
	border: 0;
	outline: 0;
}


html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
 
    position: absolute;
	height:100%; 
	width:100%; 
	top:0; 
	left:0;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}


article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
/*	border-spacing: 0;*/
}

 a.anchor {
    display: block;
    position: relative;
    top: -190px;
}

caption, th, td {
	font-weight: normal;
	text-align: left;
}


blockquote:before {
   position: absolute;
    top: 0;
    left: 0;
    content: "“";
    font: 700 40px/54px Georgia,serif;
    color: #999;
}

blockquote {
    display: table;
    position: relative;
    padding: 20px 40px 20px 30px;
font-size:15pt;
}

blockquote:after {
    position: absolute;
    bottom: 10px;
    right: 10px;
    content: "”";
    font: 700 40px/54px Georgia,serif;
    color: #999;
}

a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

a img:hover {
	opacity: 0.8;
    filter: alpha(opacity=80);
}

/* =Global
----------------------------------------------- */




body,
button,
input,
select,
textarea {
	color: #333;
    font-size: 11pt;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
    color: #000;
	margin: 0.6em 0;
	line-height: 1.2; 
}


h1 {
	font-size: 30px;
	font-size: 3.0rem;
    color:#345c70 ;
    text-transform: uppercase;
}
h2 {
	font-size: 26px;
	font-size: 2.6rem;
    
}
h3 {
	font-size: 22px;
	font-size: 2.2rem;
} 
h4 {
	font-size: 20px;
	font-size: 2.0rem;
}
h5 {
	font-size: 18px;
	font-size: 1.8rem;
}
h6 {
	font-size: 14px;
	font-size: 1.4rem;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.0em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	
	/* margin: auto; */ /* If enabled, tables acts as clear=both and align=center in mobile */
/* margin: 0 0 1.5em; width: 100%;*/
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

/*
.imagefix img { firefox-ie imagesize fix in table
    width: 100%;
}
*/

button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: 3px;
    border:solid 2px #eee;
	background: rgba(0,0,0,0.5);
	color: #fff;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .6em;
    text-transform: uppercase;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #4c768b;
    text-decoration: none;
}
a:visited {
	color: #4c768b;
}
a:hover,
a:focus,
a:active {
	color: #4c768b;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

#floatfix {
	clear: both;
	height: 1px;
}

#space {
	clear: both;
	height: 30px;
}

/* =Structure
----------------------------------------------- */


#page {
    width:100%; 

}



.site-content {
    max-width: 1200px;
	margin: 0 auto;
	padding: 30px 60px 0 60px; 
    background-color: #fff;
    
}

.home .site-content {
	
}

.etusivuingressi{
    font-size: 16pt;
    line-height: 1.2;
}

.content-area {
	float: right;
	width: 70%;
	padding-left: 20px;
}

.content-area-fullwidth {
	float: left;
	width: 100%;
}

.site-main {
}



.site-footer .widget-title {
/*	display: none;*/
    color: #fff;
    font-size: 18pt;
}

.widget-title {
/*	display: none;*/
}


.site-content .widget-area h2 a {
     color:#000 !important; 
}


.site-content .widget-area h4 a {
     color:#b61018 !important; 
    margin-bottom:20px;
}

.site-content .widget-area h4 {
     color:#b61018 !important; 
    margin-bottom:20px;
}

.widget-area h4:after {
    content:" ";
     display: block;
    float:left;
    height: 1px;
    width: 100%;
    background: #b61018;
}
    
.site-content .widget-area {
	float: left;
	overflow: hidden;
	width: 27%;
    
}

.site-content .widget img {
     border-radius: 5px; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px;
}

#prefooter {
	clear: both;
	width: 100%;
    font-size: 16px;
	margin: 0 auto;
    background: url(images/footerbg.png);
       box-shadow: 0 -4px 1px rgba(0,0,0,0.2);
	-moz-box-shadow:0 -4px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow:0 -4px 1px rgba(0,0,0,0.2);

}

#prefooter a {
    color:#fff !important;
}

.prefooter-content .widget-container { padding-bottom:20px; border-bottom: solid 2px #b8e7f8;}

.prefooter-content {
	color: #fff;
    position: relative;
	margin:0 auto;
	font-size: 12pt;
    max-width: 1200px;
    padding: 30px 30px 10px 30px;
	line-height:1.1;
     
}

.prefooter-content h1,
.prefooter-content h2,
.prefooter-content h3,
.prefooter-content h4{
	color: #fff;
}

.site-footer {
	clear: both;
	width: 100%;
	margin: 0 auto;
     background: #000;
}

.site-footer .menu {float:left;}

.site-footer a {
	color: #fff;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5{
	color: #fff;
}


.site-info .widget-container {
 display: inline-block;
    padding: 0 30px;
    vertical-align: top;
    width: 32%;
}


.site-info {
	color: #fff;
    position: relative;
	margin:0 auto;
	font-size: 10pt;
    max-width: 1200px;
    padding: 30px 0;
}

/* =Site Header
----------------------------------------------- */

#banner {
	max-width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 0 2px;
    border-top:8px solid #000;
    border-bottom:8px solid #000;
}

.page-id-2164 #banner {display:none;}

#ingressi {
	max-width: 100%;
    margin: 0 auto;
    background: #000;
    padding: 10px 20px;
}

.site-header {
    width:100%;
    margin:0 auto;
	position: relative;  
    border-top: 12px solid #000;
    -moz-box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.2);
    -webkit-box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.2);
    box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.2);
   background: url(https://kattohuolto.pro/wp-content/uploads/headerbg-1.jpg) fixed center top;
}


.site-branding {
    max-width: 1220px;
	margin: 0 auto;
	position: relative;
   padding: 10px 10px 1em 10px;
}

.logo {
    float:left;
    margin-top: 15px;
}

#headercontent {
    float:right;
    margin-top:5px;
    font-size: 12pt;
    color:#000;
	margin-top:30px;
}

.searchbutton {
    cursor: pointer;
}

#searchform {
    display: none;
    float:right;
    clear:both;
    width:100%;
    text-align:right;
    margin-bottom:10px;
}

.appear {display:block !important;}


/* =Menu
----------------------------------------------- */

#menubar {
    
    float:right;
    margin-top:10px;
    z-index: 9999;
   }

.menu {
    float:left;
}

.main-navigation {
    clear: both;
    display: block;
    margin: 0 auto;
       max-width:1200px;
}

.main-navigation:after {
	clear: both;
	content: "";
	display: block;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	margin-top: 0px;
}
.main-navigation li {
	float: left;
	/* margin: 0.5em 0; */
	position: relative;
}
.main-navigation a {
	color: #fff;
    display: block;
    font-size: 1.5rem;
   margin-left: 1em;
    margin-right: 0.5em;
    text-decoration: none;
    text-transform: uppercase;
	font-weight: bold;

}

.main-navigation .delimiter {
}

.main-navigation li:last-child .delimiter{
	display: none;
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 1.5em;
	/* left: 0; */
	z-index: 999;
   background: url(images/headerbg.jpg) fixed center top;
    white-space: nowrap;
    border:solid 1px #fff;
    padding:10px 10px 10px 0;
    margin-left: 0;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
    border:none !important;
	
}
.main-navigation ul ul li {
	clear:both;
	/* width: 100%; */ /* li same width as ul */
}


.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
	border-bottom: 2px solid #35618e;
}

.main-navigation .sub-menu li.current_page_item a,
.main-navigation .sub-menu li.current-menu-item a,
.main-navigation .sub-menu ul ul a:hover,
.main-navigation .sub-menu li:hover > a{
	color: #35618e !important;
}


.main-navigation ul ul a:hover,
.main-navigation li:hover > a{
	border-bottom: 2px solid #35618e;
}



.main-navigation ul li:hover > ul { display: block;}
/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
	margin: 0 auto;
	height: 45px;
    padding-left:10px;
}

.menu-toggle:before { 
    border-bottom: 12px double white;
    border-top: 4px solid white; 
    padding-top:5px;
    content:"MENU";
    text-indent: 40px;
    height: 5px; 
    position: absolute;  
    width:30px; 
    line-height: 0.2;
    font-size:14pt;
    margin-top:8px;
    color:#fff;
}

@media screen and (max-width: 960px) {
    
    #headercontent {float:none;}    
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}
	
#menubar 
    {
        float:none !important;
       
	}
.menu {
		position: relative;
		width: 100%;
	}

	   
	.main-navigation ul {
		display: none;
		padding-bottom: 20px;
       

	}
    
    .main-navigation a {
        margin: 0em;
        border-bottom: 1px solid #eee;
         border-top: 1px solid #eee;
        text-indent: 15px;
        line-height: 2;
    }

	   
	.main-navigation li {
	clear: left;
	display: inline;
	float: left;
	width: 100%;
	}
	.main-navigation ul ul {
	position: static;
	display: block;
	text-indent: 0px;
     border:none;
     margin:0;
	}
    
    .main-navigation ul ul a {
    border:none !important;
    text-transform: lowercase !important; 
	
}
    
    .main-navigation ul ul li{     
   
        text-indent:25px;
}
    
  .main-navigation ul ul li:before {     

      float:left;
      padding: 5px;
}
    
    .main-navigation li:hover > a,
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a,
.main-navigation ul ul a:hover {
   
}
        
	  
	}

/* =Content
----------------------------------------------- */

.sticky {
}

.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	/* margin: 1.5em 0 0; */
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}




/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Shortcodes
----------------------------------------------- */


.site-content .linkbutton a {
     padding: 6px 20px 6px 20px;
      margin-bottom: 2px;
    float:left; 
     width: 100%;
     font-weight: bold;
    color:#fff;  
    font-size: 13pt; 
     display: block;
      background: #000; 
}

.site-content .linkbutton a:hover {
    background: #e3000f;
}

.site-content .linkbutton2 {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9d232c+0,e10009+100 */
background: #9d232c; /* Old browsers */
background: -moz-linear-gradient(top, #9d232c 0%, #e10009 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #9d232c 0%,#e10009 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #9d232c 0%,#e10009 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d232c', endColorstr='#e10009',GradientType=0 ); /* IE6-9 */ 
  
   
    margin-bottom: 2px;
    text-align:center;
      color:#fff;  
    font-weight: bold;
    display: block;
 
}

.site-content .linkbutton2 a {
    color:#fff;  
    font-size: 12pt; 
     display: block;
    padding: 8px 20px 8px 20px;
}

.p-nomargin {
    margin:0 !important;
}

.site-content .linkbutton2:hover {
    background: #000;
}



.site-info .linkbutton a {
    color:#fff;  
    padding: 0px 10px 0px 10px;
    font-size: 12pt; 
     display: inline-block;
    border: solid 1px #fff;
    margin-top:2px
}

.site-info .linkbutton a:hover {
    color:#fff;  
    background: #335a6e;
}

.linkbutton3 {
    margin-bottom: 30px !important;
    margin-top: 20px;
}

.linkbutton3 a {
    color:#fff;  
    font-size: 13pt; 
     padding: 10px 20px 10px 20px;
    text-align:center;
    color:#fff;  
    font-size: 15pt;
    font-weight: bold;
     border-radius: 25px; 
    -moz-border-radius: 25px; 
    -webkit-border-radius: 25px;
    text-transform: uppercase;
    display: block;
}

.p-nomargin p{margin:0;}

.backgroundright {
   background-position: right center;
}



/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}


/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
    float: left;
    margin: 0 0 1.5em;
    width: 100%;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/* =Custom
----------------------------------------------- */

.whitetext,
.whitetext a,
.whitetext h1,
.whitetext h2,
.whitetext h3,
.whitetext h4,
.whitetext h5
{color: #fff !important;} 

.blacktext {color: #000 !important;}

.mobileshow {display:none;}


.site-header .wpb_start_animation.wpb_appear {
    animation: 1.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s normal none 1 running wpb_appear;
    opacity: 1;
    transform: scale(1);

}

.esittely {color:#fff; font-size: 14pt;}
.esittely h2 {color:#fff; text-transform: uppercase;}

.pullout-button.rotate {
    font-size:16pt;
}

.pullout-button span {
 animation: 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s normal none 1 running wpb_appear;
    opacity: 1;
    transform: scale(1);
}

.flexslider {margin-bottom:0 !important;}

.flexslider .ms_content_wrap  {
    
    box-shadow: 2px 12px 23px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:2px 12px 23px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow:2px 12px 23px rgba(0, 0, 0, 0.5);
}


.flexslider .content span {
   /* text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); */
    color:#fff !important;
    line-height: 1.3 !important;
}

.flexslider .animated {
    animation-duration: 2s !important;
    
}

.imgstyle1 {border: solid 6px #eee;}


.itemshadow {
     box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.3);
    
}

.numeropallo {
    background: #35618e;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    display: block;
    line-height: 40px;
    margin-right: 15px;
    text-align: center;
    width: 40px;
    float:left;
}

.numeropallo2 {
    background: #35618e;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    margin:0 auto;
    line-height: 40px;
    text-align: center;
    width: 40px;
}

#contactbtn {
  animation: swing 2s infinite ease-in-out;
}

.event{
  
    position:fixed;
    right: 10px;
    bottom:40px;
    z-index: 99999;
}

.slogan {
    font-size: 36pt;
    color:#fff !important;
    text-shadow: 1px 4px 5px #222;
}

.kuvituskuva { max-width: 500px; margin-bottom:20px !important;} 


.paikkakuntalista {
	-webkit-column-count: 6;
	column-count: 6;
	-moz-column-count: 6;
    font-size: 12pt; 
}

.paikkakuntalista ul {
	list-style:none;
    margin:0;
    font-size: 11pt;
    color:#fff; 
	
}

.aakkosjarjestys {
	border-bottom: 1px solid #fff;
    font-size: 11pt;
    display: block;
    margin-top: 10px;
}

@media (max-width: 768px) {

.paikkakuntalista {
    -webkit-column-count: 4;
    column-count: 4;
    -moz-column-count: 4;
    }
}

@media (max-width: 480px) {

    .paikkakuntalista {
    -webkit-column-count: 2;
    column-count: 2;
    -moz-column-count: 2;
    }
}	


/* =Laskurit
----------------------------------------------- */


#RISP_roofType {
   border: 1px solid #ccc;
    height: 40px;
    margin-top: 8px;
    display:block;
    width:100%;
    padding: 10px;
}

#RISP_form input {
   border: 1px solid #ccc;
    padding: 10px;
    margin-top: 8px;
    display:block;
   width:100%;
}

#RISP_form input[type="submit"] {
    color:#fff;
      padding: 10px;
    font-weight: bold;
    font-size:12pt;
    background: #c51820; 
    background: -moz-linear-gradient(top,  #c51820 0%, #960007 100%); 
    background: -webkit-linear-gradient(top,  #c51820 0%,#960007 100%);
    background: linear-gradient(to bottom,  #c51820 0%,#960007 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c51820', endColorstr='#960007',GradientType=0 ); 
}

#RISP_form input[type="submit"]:hover {
background: #9b0309
}

#RISP_output_wrap,
#HHR_output_wrap,
#SP_output_wrap{
    background: #eee;
    padding: 10px;
    float: left;
    margin-top: 10px;
    width: 100%;
    font-weight: bold;
    }


#SP_wrapper input,#SP_wrapper2 input{
   border: 1px solid #ccc;
  padding: 10px;
    margin-top: 8px;
    display:block;
    width:100%;
}

#SP_wrapper input[type="submit"],
#SP_wrapper2 input[type="submit"],
#HHR_submit_btn {
    color:#fff;
    width:100%;
    font-weight: bold;
    font-size:12pt;
    background: #c51820; 
    background: -moz-linear-gradient(top,  #c51820 0%, #960007 100%); 
    background: -webkit-linear-gradient(top,  #c51820 0%,#960007 100%);
    background: linear-gradient(to bottom,  #c51820 0%,#960007 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c51820', endColorstr='#960007',GradientType=0 ); 
}

#HHR_submit_btn{ margin-top:10px;}

#SP_wrapper input[type="submit"]:hover,
#SP_wrapper2 input[type="submit"]:hover {
background: #9b0309
}


#HHR_label_work_sum,
#HHR_work_sum,
#SP_label_areaSize{
    width:100%;
    font-weight: bold;
    margin-bottom:5px;
    float:left;
}

#HHR_label_hasSpouceQuery {
    width:100%;
    font-weight: bold;
    margin-bottom:5px;
      float:left;
}

#HHR_label_hasSpouceYes,
#HHR_label_hasSpouceNo {
    
padding:5px;    
}



/* =Visual composer
----------------------------------------------- */

.wpb_column h1:first-of-type,
.wpb_column h2:first-of-type,
.wpb_column h3:first-of-type{
    margin-top:10px;
    
}

.fontsize18 {font-size: 18pt;}


.wpb_heading.wpb_singleimage_heading {
    background: rgba(255,255,255,0.7);
    font-size: 22pt;
    margin: 0;
    padding: 15px 10px 15px 30px;
    position: absolute;
    width: 100%;
    color: #4c3534;
    bottom: 35px;
    
}

.pieninosto h2 {font-size:16pt !important;}

#secondary .wpb_heading.wpb_singleimage_heading {
    background: rgba(255,255,255,0.7);
    font-size: 22pt;
    margin: 0;
    padding: 15px 10px 15px 30px;
    position: absolute;
    width: 100%;
    color: #4c3534;
    bottom: 0px;
    
}

#secondary .pieninosto {position:relative !important;}

.vc_btn3-style-modern {
    
     border-radius: 7px !important; 
    -moz-border-radius: 7px !important; 
    -webkit-border-radius: 7px !important;

    text-transform: uppercase !important;
    font-weight: bold;
    background: #35618e !important;
    color:#fff !important;
    border: none !important;
    
}

.vc_btn3-style-modern:hover {
    background: #000 !important;
}



/* =Media queries
----------------------------------------------- */
/* Landscape phones and down */
@media (max-width: 480px) {
.alignright {float:none; clear: both; display: block; margin: 0 auto;} /*layoutfix*/
.site-info {text-align:center;}
.mobilehide {display:none;}
h1 {font-size: 30px;}
.vc_grid-item.vc_clearfix.vc_col-sm-3 {max-width: 100% !important;}
.slogan {font-size: 26pt;}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 768px) {
.site-main {margin: 0 }
.site-content .widget-area {width: 100%;}
.titlestyle1 h1 {border: none; line-height: 1;}
.titlestyle1 h1 span {  background:transparent !important; }
    .site-footer .widget-container {width: 100%; text-align:center;}
.mobileshow {display:inline;}
    .content-area {float: left; width: 100%; padding-left: 0px;}
    .site-content {padding:10px 20px;}
    .vc_grid-item.vc_clearfix.vc_col-sm-3 {max-width: 33%; float:left !important;}
    #menubar {float:none;}
}

/* Landscape phones and down */
@media (max-width: 960px) {
    .site-header {text-align: center;}
    .logo {text-align: center;}
      .ms_content_wrap{display:none;} 
    .kuvituskuva {
	display: block;
	float: none;
	margin-left: 0;
	max-width:100%;
    }
}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 992px) {
.widget-area{width:35%;padding:0;display:inline;}
.site-footer{width:100%;padding:0;}

}
 
/* Large desktop */
@media (max-width: 1250px) {
    #contactbtn {display:none;}
    
}


/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}
