/*!
Theme Name: DevNetPress
Theme URI: http://underscores.me/
Author: DevNet Oy
Author URI: https://www.devnet.fi/etusivu
Description: A starter theme for DevNet development
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: devnetpress
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

DevNetPress is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/****** DEFAULT STYLES ******/
html {
  scroll-behavior: smooth;
}
body {
	font-size:17px;
  padding: 0;
  margin: 0;
	
}
#page *  {
	font-family: 'Barlow', sans-serif;
}

#sanottua p, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
	font-family: 'Barlow', sans-serif!important;
}

#page .fa, #page .fas {
    font-family: "FontAwesome"!important;
    font-weight: 900;
}

p {

  letter-spacing: normal;
 
}
.main-navigation {
    clear: both;
    display: inline-block;
    float: right;
    padding-top: 35px;
    width: auto;
}
.site-branding {
    display: inline-block;
}
.headeri{
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    background-position: top;
    height: 600px;
    max-height: 600px;
    background-size: 100% auto;
}
.header-text-bg {
    position: absolute;
    top: 0;
    width: 45%;
    height: 100%;
    max-height: 600px;
    padding-left: 12.5%;
    padding-top: 7%;
    /* background: #00919FCC; */
    background: #4F899ACC;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.6;
    color: #ffffff;
    left: 0;
}
.header-content{
    color:#fff;
}
.site-main{
    margin-bottom: 20px;
}
.content-main-footer, .content-form-footer {
 
    color: #fff;
    padding-top: 80px;
    padding-bottom: 100px;
}
.content-main-footer p{
    line-height: 24px;
}
  
.site-footer .yhteystiedot-footer .content-form .wpcf7-form{
    color: #000;
}
.yhteystiedot .content-map{
    border: solid 1px #000;
}
.content-form-footer {
    
    color: #fff;
    padding-top: 80px;
    padding-bottom: 100px;
}
div#n2-ss-2 .n2-font-02acd09e6d3bf7deaeeb9c6c8b8d184b-paragraph a, div#n2-ss-2 .n2-font-02acd09e6d3bf7deaeeb9c6c8b8d184b-paragraph a:FOCUS,  div#n2-ss-2 .n2-font-02acd09e6d3bf7deaeeb9c6c8b8d184b-paragraph a:visited{
	color: #fff !important;
	font-size: 18px !important
}
.n2-ss-slider .n2-ow ul{
    padding: 2% 0% 0% 10%;
    margin-left: 5%;
}
.n2-ss-slider .n2-ow li{
    text-align:left;
    color: #fff;
    font-size: 35px;
}
.etusivu-osio-1, .palvelut-osio-1{
    margin-top: 30px;
    margin-bottom: 30px;
}
.etusivu-osio-1 .content-main{
    margin-top: 70px;
}
.etusivu-osio-1 .content-main h1,
.etusivu-osio-1 .content-main h2,
.etusivu-osio-1 .content-main h3,
.etusivu-osio-1 .content-main h4{
    padding-top: 10px;
    text-align: center;
}
.etusivu-osio-1 .content-main h1{
    margin: 10px 0;
    margin-top: 30px;
    font-size: 24px;
}
/*.etusivu-osio-1 .content-main a, .palvelut-osio-1 .content-main a, .palvelut-osio-2 .content-main a*/
.etusivu-osio-1 .content-main a, .palvelut-osio-1 .content-main a a{
    background-color: #D26C3F;
    color: #fff;
    padding: 18px 30px 15px 30px;
    font-size: 18px;
    margin-top: 20px;
    display: inline-block;
}
/*.etusivu-osio-1 .content-main a:hover, .palvelut-osio-1 .content-main a:hover, .palvelut-osio-2 .content-main a:hover*/
.etusivu-osio-1 .content-main a:hover, .palvelut-osio-1 .content-main a:hover{
	background: #4F899A !important;
	text-decoration: none;
}
.etusivu-osio-1 .content-image img{
    width: 100%;
    height: auto;
	padding-left: 50px;
	max-width: 400px;
}

.palvelu-background {
	background-image:url('https://kiinteistoturva.fi/wp-content/uploads/2021/02/21.png');
}

.palvelu-ikoni {
	padding-bottom: 15px;
}
.palvelu-content h3 {
    padding-bottom: 5px;
}

#sanottua {
	
	height: 550px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#sanottua h3 {
	text-align: center;
	font-size: 24px;
  font-weight: bold;
	margin-bottom: 20px;
}
#sanottua > div {
	margin: 0 auto;
	max-width: 850px;
	width: 100%;
}

/*********Palvelut-sivut template*******/
.palvelut-osio-1 .content-main{
    padding-top: 50px;
    text-align: center;
}
.palvelut-osio-1 .content-main h1,
.palvelut-osio-1 .content-main h2,
.palvelut-osio-1 .content-main h3,
.palvelut-osio-1 .content-main h4{
    padding-top: 10px;
    text-align: center;
}

.palvelut-osio-1 .content-main p a {
    margin-bottom: 45px;
}
.palvelut-osio-1 .content-image{
    height: 340px;
    width: 340px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    background: #4F899A;
}
.palvelut-osio-1 .ankkurit a{
    color: #fff;
    padding: 18px 30px 15px 30px;
    font-size: 18px;
    line-height: 60px;
    text-decoration: none;
}
.palvelut-osio-1 .ankkurit{
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: 40px;
}
.lue-lisaa-linkki {
    background-color: #f37443;
    line-height: 60px;
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
}
.palvelut-osio-1 .ankkurit .lue-lisaa-linkki:hover {
	background: #4F899A !important;
	text-decoration: none;
}
.osio-2-wrapper{
    margin-top: 150px;
}
.palvelut-osio-2 {
    padding: 60px 0;
}
.palvelut-osio-2 .content-main{
    margin-top: 40px;
}
.odd-accordion{
    background-color:#fbfbfb;
}
.palvelut-card-header .palvelut-accordion-link::after {
    content: "\f107";
    font-family: FontAwesome;
    display: inline-block;
    float: right;
    font-size: 35px;
    color: #d26c3f;
    margin-top: -10px;
}
.card-header {
    background-color: #fff;
    padding: .75rem 0;
}
.odd-accordion .card-header {
    background-color: #fbfbfb;
    padding: .75rem 0;
}

.palvelut-osio-2 .content-image{
    float: right;
    margin-right: 80px;
}
.palvelut-osio-2 .content-image{
    height: 340px;
    width: 340px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
 
}
/*********Yhteystiedot sivu************/
.yhteystiedot{
    margin: 100px 0;
}

@media(max-width: 1800px) and (min-width: 1200px){
    .palvelut-osio-2.odd-accordion .content-image{
     margin-right: -100px;
    }   
    .palvelut-osio-2.odd-accordion .content-main{
     margin-right: 130px;
    margin-left: -100px;
    }
    .page-id-44 .palvelut-osio-1 .content-main {
        margin: 0 -80px;
}
}
@media(max-width: 1339px) {
    .n2-ss-slider .n2-ow li{
        font-size: 25px;
    }
    .etusivu-osio-1 .content-main {
    margin-top: 10px;
    }
}
@media(max-width: 1199px) {
   .content-image{
       margin-bottom: 30px;
       margin-left: 10px;
   }
   .palvelut-osio-1, .palvelut-osio-2{
       padding-left: 10px;
       padding-right: 10px;
   }
}
@media(max-width: 991px) {
    .page-template-default .content-image{
        height: 350px;
        overflow: hidden;
    }
    .palvelut-osio-2 .content-image {
        float:left;
    }
    .cont {
        display:grid;
    }
    .cont-img {
        grid-row:1;
    }

}
@media(max-width: 899px) {
    .n2-ss-slider .n2-ow li{
        font-size: 16px;
    }
    .palvelut-osio-1 .content-main {
        padding-top: 0px;
    }
    
    .content-image {
        margin-bottom: 0px;
        margin-left: 0px;
    }
    .yhteystiedot{
        margin: 30px 0;
    }
    .palvelut-osio-2 .content-image {
        margin-right: 0;
    }
}
@media(max-width: 699px) {
	.n2-ss-slider .n2-ow li{
        font-size: 12px;
    }
    .lue-lisaa-linkki{
        width: 100%;
    }  
    .palvelut-osio-1 .ankkurit {
    position: initial;
    -ms-transform: none;
    transform: none;
    margin-top: 40px;
}
    .osio-2-wrapper {
       margin-top: 10px;
    }
}
@media(max-width: 599px) {
    
	.content-form-footer {
    padding: 50px;
	}

	.content-main-footer{
		padding: 50px
	}
	div#n2-ss-2 .n2-style-13b22cca1c918fba4f156bc92b4ac3a3-heading{
	    font-size: 12px !important;
	    padding-left: 10% !important;
	}
	.n2-ss-slider .n2-ow li{
        font-size: 10px;
    }
    .lue-lisaa-linkki{
     width: 100%;
     margin-bottom: 5px;
    }
  
.palvelut-osio-2 .content-image {
    float: left;
    margin-right: 0px;  
    margin-bottom: 20px;
    margin-top: 20px;
}
}
@media(max-width:425px){
    .palvelut-osio-1 .content-image {
        width: 80%;
        height: 250px;
    }
    .site-footer{
      /*  width: 100%;*/
        padding: unset;
    }
    input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea{
        width: 100%;
    }
}


/************vanhat css************/
.slider-image-wrapper {
	display: flex;
	width: 33% !important;
	height: 33% !important;
	border-radius: 100%;
	background: #FFFFFF5C;
	margin: 0 auto 5% !important;
}
.slider-image-wrapper * {
	justify-content: center !important;
}

.slider-image-wrapper .taloyhtion-icon {
	  max-width: 40% !important;
    width: 55px !important;
}
.slider-image-wrapper .yrityksen-icon {
	max-width: 62% !important;
    width: 84px !important;
}

.entry-header {
	display: none;
}

@media(max-width: 768px) {
	#masthead {
		margin-left: 0;
		padding-left: 6.333%;
		align-items: flex-end;
	}
	#masthead .site-branding {
		margin-bottom: 8px;
	}
}

#site-navigation {
	grid-column: 2;
	grid-row: 1;
}
#site-navigation>.menu-toggle {
	display: none;
}

.site-branding {
	grid-column: 1;
	grid-row: 1;
	margin-bottom: 5px;
}

.front-post {
	grid-template-columns: minmax(456px, 1fr) 1fr;
	margin-top: 80px;
	margin-bottom: 80px;
	padding: 0;
	grid-gap: 1em;
}
.front-post .wp-block-media-text__content,
.front-post .wp-block-group__inner-container {
	align-self: flex-start;
	padding: 0;
}
.front-post .wp-block-media-text__content {
	padding-top: 45px;
	max-width: 600px;
}
.front-post figure img {
	width: auto;
	max-width: 100%;
}
.front-post h2 {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 1.35px;
}
.front-post p {
	font-size: 16px;
	line-height: 24px;
	color: #111517;
}
@media(max-width: 768px) {
	
	}
	.front-post {
		margin: 0 auto;
	}
	.front-post figure {
		display: none;
	}
	.front-post > div.wp-block-media-text__content {
		/*padding-top: 0;*/
		grid-row: 1 !important;
	}
}
.wrapper {
	padding-left: 4%;
	margin-bottom: 85px;
}
/*gridi*/
.wrapper > div {
	display: grid;
	grid-template-columns: minmax(450px, 1.5fr) 2fr;
}
/*text element*/
.wrapper > div > div:first-child {
	padding: 45px 0 0 0;
}
.wrapper > div > div:first-child h2 {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 1.35px;
	margin-bottom: 20px;
}
.wrapper > div > div:first-child p {
	font-size: 16px;
  line-height: 1.5;
}
/*slider element*/
.wrapper > div > div:last-child {
	justify-self: end;
	max-width: 800px;
	width: 100%;
}
/*.wrapper > div > div:last-child .n2-padding {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}*/
@media(max-width: 1199px) {
	.front-post {
		grid-template-columns: 100%;
	}
	.front-post > figure {
		grid-row: 1;
	}
	.front-post > div {
		grid-column: 1 !important;
		grid-row: 2 !important;
	}
	.wrapper {
		padding: 0;
	}
	.wrapper > div {
		grid-template-columns: 100%;
	}
	
}

#sanottua {
	
	height: 550px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#sanottua h3 {
	text-align: center;
	font-size: 24px;
  font-weight: bold;
	margin-bottom: 20px;
}
#sanottua > div {
	margin: 0 auto;
	max-width: 850px;
	width: 100%;
}


.bg-layer {
	display: grid;
  grid-template-columns: repeat(auto-fit,minmax(384px, 1fr));
	min-height: 760px;
	width: 100%;
}

.yhteytta {
	/*background: #00919fd9*/;
	background: #4F899AD9;
	height: 100%;
}
.yhteytta > div,
.formi > div {
	padding: 0;
  margin-top: 80px;
  margin-bottom: 80px;
}
.yhteytta h2 {
	font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: 1.35px;
	margin-bottom: 50px;
}
.formi {
	padding-right: 12.5%;
}
.formi div * {
	width: 100%;
}
.formi h2 {
	font-size: 24px;
	letter-spacing: 1.35px;
  font-weight: normal;
}

.footer-bottom {
	width: 100%;
}

.footer-bottom * {
  font-size: 16px;
  line-height: 1.5;
	color: #000000;
}
.footer-bottom img {
	margin-bottom: 25px;
}
.footer-logo {
}
@media(max-width: 768px) {
	.footer-bottom {
		grid-template-columns: 100%;
	}
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	color: #FFFFFF;
	outline: none;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
	font-size: 16px;
	color: #FFFFFF;
}

input[type="submit"] {
	/*background: #e88446;*/
	background: #D26C3F;
	border: none;
	width: 200px;
	height: 55px;
	font-size: 18px;
	color: #ffffff;
	margin-top: 30px;
	border-radius: 0;
	padding: 0;
}

div.entry-content{
	margin-top: 0;
}

.yrityksenTiedot {
	grid-template-columns: 1fr 60% !important;
  margin: 80px 0;
	padding: 0;
	min-height: 500px;
}
.yrityksenTiedot  * {
	padding: 0 !important;
}
.yrityksenTiedot .wp-block-media-text__content {
	align-self: start;
	margin-bottom: 2rem;
}
.yrityksenTiedot h2 {
	font-family: Lato;
  font-size: 24px;
  font-weight: bold;
	letter-spacing: 1.35px;
}
.yrityksenTiedot figure {
	max-width: 750px !important;
	border: 1px solid #979797;
}
@media(max-width: 767px) {
	.yrityksenTiedot > div.wp-block-media-text__content {
		grid-row: 1 !important;
	} 
	.yrityksenTiedot figure.wp-block-media-text__media {
		margin: auto !important;
		grid-row: 2 !important;
	}
}
pre {
	font-family: Lato;
  font-size: 16px;
	line-height: 1.5;
	padding-left: 0;
	background: none;
}
.header-image {
	position: relative;
}

.text-bg-layer {
	position: absolute;
  top: 0;
  width: 45%;
  height: 100%;
  padding-left: 12.5%;
  padding-top: 7%;
	/*background: #00919FCC;*/
	background: #4F899ACC;
	font-size: 30px;
  font-weight: bold;
  line-height: 1.6;
  color: #ffffff;
}


.palvelut-heading {
	height: 520px;
	display: flex;
  margin: auto;
  flex-direction: row;
  align-items: center;
}
.palvelut-heading h2,
.palvelut-icon-text h2 {
	font-size: 24px;
  font-weight: bold;
  letter-spacing: 1.35px;
}
.palvelut-heading p, 
.palvelut-icon-text p{
	font-size: 16px;
  line-height: 1.5;
	margin-bottom: 25px;
}

.palvelut-icon-text {
	min-height: 480px;
	padding: 10px 0;
	margin: 10px 0;
}
.palvelut-icon-text:nth-of-type(odd) {
	grid-template-columns: 56% 1fr;
	background: #fbfbfb;
}
.palvelut-icon-text:nth-of-type(even) {
	grid-template-columns: 1fr 60%;
}
.palvelut-icon-text:nth-of-type(odd) figure {
	justify-self: start;
	margin-left: 5%;
}
.palvelut-icon-text:nth-of-type(even) figure {
	justify-self: end;
	margin-right: 5%;
}
.palvelut-icon-text:nth-of-type(even) > div {
	padding: 0 12.5% 0 8%;
}
@media(max-width: 767px) {
	.palvelut-icon-text {
		min-height: 400px;
		grid-template-columns: 100%;
	}
	div.palvelut-icon-text > div.wp-block-media-text__content {
		grid-row: 1 !important;
		padding: 0 8%;
}
	.palvelut-icon-text figure.wp-block-media-text__media {
		display: none;
	}
}
.palvelut-icon-text figure {
	height: 340px;
	width: 340px;
	border-radius: 100%;
	display: flex;
  justify-content: center;
  align-items: center;
	justify-self: center;
	/*background: #00919f;*/
	background: #4F899A;
}
.palvelut-icon-text figure img {
	height: auto;
	width: auto;
}

@media(max-width: 767px) {
.wp-block-media-text.is-stacked-on-mobile {
		grid-template-columns: 100% !important;
	}
.has-media-on-the-right .wp-block-media-text__media, .wp-block-media-text__media {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}
.has-media-on-the-right .wp-block-media-text__content, .wp-block-media-text__content {
		grid-column: 1 !important;
		grid-row: 2 !important;
	}
	
}
.orange-button {
	margin: 0 !important;
  /*background: #e88446;*/
	background: #D26C3F;
}
.orange-button a {
	width: 195px;
  height: 55px;
}
.onHoverBgTurquoise:hover > * {
	/*background: #00919f !important;*/
	background: #4F899A !important;
	text-decoration: none;
}

/*** ACCORDION ***/

.accordion-wrapper {
    margin-bottom: 7px;
}
.information-accordion-wrapper {
    padding-top:40px;
    padding-bottom:40px;
}

.accordion-title {
    background-color: #f37443;
    padding: 23px 28px 18px 20px;
    color: #fff;
}

.accordion-title::after {
    font-family: "FontAwesome";
    font-weight: 300;
    content: "\f067";
    font-size: 26px;
    float: right;
    position: relative;
    top: -6px;
}

.accordion-title.active::after {
    font-family: "FontAwesome";
    font-weight: 300;
    content: "\f068";
}

.accordion-content {
    background-color: #fff;
    padding: 23px 28px 60px 20px;
    display:none;
}

.accordion-wrapper:first-child .accordion-content {

    display:block;
}

.page-id-1613 .palvelut-osio-1 .content-main .accordion-content a {

    font-weight: normal;
    font-stretch: condensed;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    padding: 0;
    color: #f37443;
background-color:transparent;
    font-size: 17px;
	margin:0;
}

.page-id-1613 .palvelut-osio-1 .content-main .accordion-content a:hover {

color:#4F899A;
background-color:transparent!important;
    font-size: 17px;
}


