/*
 Theme Name:     Divi Child
 Theme URI:      http://constra-demo.mm-dev.fi
 Description:    Divi Child Theme
 Author:         Myyntimaatio
 Author URI:     https://myyntimaatio.fi
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

/* Globaalit */

#page-container {
    overflow: hidden;
}


.et_pb_blurb_container h4 {
 min-height: 52px;
}

/* Arvot */

	.arvot-ikonit {
		font-size: 72px;
		padding-bottom: 40px;
		color: #7cda24;
	}

	.arvot-rivi h3 {
		font-size: 23px;
		font-weight: 600;
	}


/* Palvelut */

	.n10s-overlay h2 {
		margin-top: 5%;
		font-weight: 600 !important;
	}

		.n10s-block h2 {
			color: #7cda24;
	}

		.n10s-block:hover h2{
			color: #fff;
	}

	.n10s-kiev .n10s-overlay::before {
		background: #7cda24;
	}

	.n10s-overlay:hover {
		color: #000;
	}

	.description {
		opacity: 1 !important;
		border-right: none !important
	}

	.n10s-block.n10s-kiev p {
			font-size: 18px !important;
			font-weight: 600;
	}

	.n10s-kiev p {
		max-width:100% !important;
		    width:100% !important;
		left:0px !important;
		top: 30%;
		right: 30%;
		padding: 0 !important;
	}


	.page-id-4 #intense-palvelut-etusivu .et_pb_gutters3 .et_pb_column_1_4{
		width: 25% !important;
	}

	.lomake-column {
		width: 41.875% !important;
    }

    /* Uusien palvelu sivujen säännöt */

    .mm-bg-effect::before {
        background: #7cda24;
        content: '';
        position: absolute;
        height: 95px;
        width: 50px;
        top: -30px;
        left: -35px;
        transform: rotate(43deg);
    }

    .mm-bg-effect {
        overflow: hidden;
    }

	.mm-center-content .et_pb_column {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: center;
	}

	.mm-center-content .et_pb_column .et_pb_text {
   	 width: 80%;
	}

	.mm-center-content {
		overflow: hidden;
    }

    @media all and (max-width: 980px) {
        .mm-reverse-columns {
            display: flex;
            flex-direction: column-reverse;
        }

        .mm-align-left .et_pb_text_inner {
            text-align: left;
        }
    }

/* Yhteystiedot */

	#eka-spanni {
		margin-left: 15px  !important;

	}

	#toka-spanni {
		margin-left: 38px  !important;
	}

	.yhteystiedot-ikonit {
		font-size: 25px;
    }

    .mm-henkilosto {
        min-height: 360px;
    }

    .mm-row-flex {
        display: flex;
        flex-wrap: wrap;
    }

/* Henkilökunta */


	.titteli {
		font-size: 14px;
	}

	#eka-henkilokunta {
		width: 30.3%;
		float: left;
		margin-left: 20px;
	}

	#toka-henkilokunta {
		width: 30.3%;
		float: left;
	}

	#kolmas-henkilokunta {
		width: 90%;
	}

	.henkilokunta {
		padding-top: 54px;
	}

	.henkilokunta img {
		border-radius: 100%;
		margin: 0 auto !important;
	}



@media all and (max-width: 769px) {

	.et_pb_row_5.et_pb_row {
    margin-bottom: 0px!important;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: 90% !important;
	}

	.et_pb_row_6.et_pb_row {
    margin-top: 40px!important;
    margin-bottom: 0px!important;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: 90% !important;
	}

	.et_pb_row_7.et_pb_row {
    margin-top: 40px!important;
    margin-bottom: 0px!important;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: 90% !important;
	}

	.et_pb_row_8.et_pb_row {
    margin-top: 40px!important;
    margin-bottom: 0px!important;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: 90% !important;
	}

	.et_pb_row_9.et_pb_row {
    margin-top: 40px!important;
    margin-bottom: 0px!important;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: 90% !important;
	}

}

/* Contact Form 7 */

.page-id-672 label {
	font-size: 18px !important;
	font-weight: 500 !important;
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar, .wpcf7-select {
background-color: #eee !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #000 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpcf7-form-control-wrap {
    width: 100% !important;
    display: block !important;
}

.wpcf7-submit {
color: #fff !important;
margin: 8px auto 0;
cursor: pointer;
font-size: 20px;
font-weight: 500;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 6px 20px;
line-height: 1.7em;
background: #7cda24;
border: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
font-family: 'Lato';
}
.wpcf7-submit:hover {
background-color: rgba(124,218,36,0.7) !important;
	padding: 6px 20px !important;
}

.wpcf7 label {
    padding: 5.5px 0 !important;
    display: block;
}

.wpcf7-form-control-wrap {
    margin-top: 5px;
}

.mm-tarjous label {
    padding: 21px 0 !important;
}

	.boldaa label{
		font-weight: 800 !important;
	}
	.page-id-672 select {
		width: 100% !important;
		background: #eee;
		text-align: left !important;
		border: none !important;
	}

	.page-id-672 option {
		text-align: left !important;
	}

	.wpcf7-acceptance span.wpcf7-list-item {
		margin: 0 0 0 0em;
	}

	.page-id-672 span.wpcf7-list-item {
		margin: 0 0 0 0em;
		padding-right: 10px;
	}

	.page-id-52 .wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	background-color: #eee !important;
	border: none !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	color: #000 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	font-size: 24px;
	font-weight: 500;
	box-sizing: border-box;
	}
	.page-id-52 .wpcf7-submit {
	color: #fff !important;
	margin: 8px auto 0;
	cursor: pointer;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 20px;
	line-height: 1.7em;
	background: #7cda24;
	border: 2px solid #7cda24;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	font-family: 'Lato';
	}
	.page-id-52 .wpcf7-submit:hover {
	background-color: rgba(124,218,36,0.7) !important;
	padding: 6px 20px !important;
	}

@media all and (min-width: 300px) and (max-width: 1026px) {

	.et_pb_row_1.et_pb_row {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 27px;
    padding-left: 0;
	width: 90% !important;
	}

	.et_pb_row_2.et_pb_row {
    padding-top: 0;
    padding-right: 0px;
    padding-bottom: 27px;
    padding-left: 0px;
	width: 90% !important;
	}

	.et_pb_row_3.et_pb_row {
    padding-top: 0;
    padding-right: 0px;
    padding-bottom: 27px;
    padding-left: 0px;
	width: 90% !important;
	}

	.et_pb_row_4.et_pb_row {
    padding-top: 0;
    padding-right: 0px;
    padding-bottom: 27px;
    padding-left: 0px;
	width: 90% !important;
	}

}



@media all and (max-width: 768px) {
	.page-id-52 .lomake .g-recaptha {
		width: 100%;
		float: none;
	}

	.page-id-52 .wpcf7-submit{
	width: 100%;
	}

	.page-id-52 .lomake h1 {
		font-size: 26px;
	}
}



	.page-id-52 .lomake-mobiili .g-recaptcha {
		width: 100%;
	}







@media all and (min-width: 981px) {
	.wp-image-193 {
		width: 75%;
	}

	.wp-image-194 {
		width: 75%;
	}

	.wp-image-192 {
		width: 25%;
	}

	.henkilokunta h3 {
		font-size: 18px;
	}

	.henkilokunta p {
		font-size: 13px;
	}
}

@media all and (min-width: 981px) and (max-width: 1025px) {
	.page-id-52 .wpcf7-submit {
		font-size: 15px;
		float: right;
	}

}

	.page-id-52 .wpcf7-submit {
		float: right;
	}

	.page-id-52 .lomake {
			overflow: auto;
		}


	.et_pb_gutters2 .et_pb_column_1_4, .et_pb_gutters2.et_pb_row .et_pb_column_1_4 {
		width: 25%;
	}

	.et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {
		margin-right: 0% !important;
	}

/* Navi */

	#top-menu a:hover {
        color: #7cda24;
	}

    .current-menu-item a {
    color: #7cda24 !important;
    }

	.ds-fullwidth-specialty> .et_pb_row {
	min-width: 89% !important;
	}

	.intense-palvelut .et_pb_gutters3 .et_pb_column_1_4 {
		width: 41.875%;
	}

	.et_pb_gutters3 .et_pb_column_3_4 {
			width: 52.625%;
	}

	.et_pb_column_single {
		padding: 0.145%;
	}

	.mm-yhteystiedot-header .et_parallax_bg::before {
		content: '';
		background: rgba(0,0,0,0.65);
		width: 100%;
		height: 100%;
		position: absolute;
	}

	@media all and (max-width: 768px) {
		div.mm-yhteystiedot-header div.et_parallax_bg {
			background-attachment: initial;
			background-size: auto;
			background-position: center -175px;
		}
	}

	@media all and (max-width: 465px) {
		.et_pb_fullwidth_header_0.et_pb_fullwidth_header .et_pb_header_content_wrapper {
			font-size: 30px !important;
		}
		.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
			margin-left: 0 !important;
		}
	}

	.et_pb_specialty_column {
		box-shadow: 0px 2px 28px 0px #000000;
		background: rgba(14,53,80,0.9);
	}

	 .et_pb_gutters3 .et_pb_column_3_4 .et_pb_row_inner .et_pb_column_1_4 {
		margin-right: 3.47%;
	}

	.et_pb_gutters3 .et_pb_column_3_4 .et_pb_row_inner .et_pb_column_1_4 {
		margin-left: 1.5%;
	}

	@media all and (max-width: 980px) {

        .mm-align-mobile {
            text-align: left;
        }

				.intense-palvelut .et_pb_column {
			margin-bottom: 0 !important;
        }

        #intense-palvelut-etusivu .description {
            padding-top: 21px !important;
            padding-left: 7px !important;
        }

		.et_pb_image_n10s_1 .n10s-block h2 {
			font-size: 24px !important;
		}

		.et_pb_image_n10s_2 .n10s-block h2 {
			font-size: 24px !important;
		}

		.et_pb_image_n10s_3 .n10s-block h2 {
			font-size: 24px !important;
		}

		.intense-palvelut .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {
			margin-top: 0 !important;
		}

		.page-id-4 .et_pb_row_4col > .et_pb_column.et_pb_column_1_4 {
			width: 50% !important;
		}
}

	@media all and (max-width: 769px) {


				.page-id-50 .et_pb_row_4col > .et_pb_column.et_pb_column_1_4 {
				width: 50% !important;
			}

		.page-id-4 .et_pb_row_4col > .et_pb_column.et_pb_column_1_4 {
			width: 100% !important;
		}
	}

@media all and (max-width: 450px) {
	.page-id-4 .n10s-block.n10s-kiev p {
		font-size: 14px !important;
	}
}

@media all and (min-width: 768px) and (max-width: 980px) {
	.page-id-4 .n10s-block.n10s-kiev p {
		font-size: 15px !important;
	}
}


@media all and (min-width: 981px) and (max-width: 1215px) {
		.page-id-4 .n10s-block.n10s-kiev p {
			font-size: 14px !important;
}
}

@media all and (min-width: 1341px) and (max-width: 1500px) {
		.page-id-4 .n10s-block.n10s-kiev p {
			font-size: 16px !important;
}
}

@media all and (max-width: 768px) {
				.page-id-50 .et_pb_row_4col > .et_pb_column.et_pb_column_1_4 {
				width: 50% !important;
			}

		.page-id-50 .et_pb_row_4col > .et_pb_column.et_pb_column_1_4 {
			width: 100% !important;
		}
	}

@media all and (max-width: 450px) {
	.page-id-50 .n10s-block.n10s-kiev p {
		font-size: 14px !important;
	}
}

@media all and (min-width: 768px) and (max-width: 980px) {
	.page-id-50 .n10s-block.n10s-kiev p {
		font-size: 15px !important;
	}
}

@media all and (min-width: 320px) and (max-width: 981px) {


	.et_pb_row_10.et_pb_row{
	padding-right: 0px!important;
    padding-left: 0px!important;
	width: 90%;
    }

    .mm-henkilosto {
        min-height: auto;
        background: none !important;
        padding-bottom: 0 !important;
    }

    .mm-henkilosto .et_pb_image {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .mm-henkilosto .et_pb_text {
       display: none !important;
    }

}


@media all and (min-width: 981px) and (max-width: 1215px) {
		.page-id-50 .n10s-block.n10s-kiev p {
			font-size: 14px !important;
}
}

@media all and (min-width: 1341px) and (max-width: 1500px) {
		.page-id-50 .n10s-block.n10s-kiev p {
			font-size: 16px !important;
}
}
	.boldaa {
		font-weight: 600;
	}

	.eka-paragrafi {
		width: 78%;
		margin: 0 auto;
		text-align: center
	}


	@media all and (min-width: 981px) {
				.henkilo-teksti {
					height: 175px !important;
				}
	}

	@media all and (min-width: 981px) and (max-width: 1150px) {
		#iso-otsikko h3 {
			font-size: 30px;
		}
	}


	@media all and (min-width: 1151px) and (max-width: 1300px) {
		#iso-otsikko h3 {
			font-size: 37px;
		}
	}

	@media all and (min-width: 1301px) and (max-width: 1601px) {
		#iso-otsikko h3 {
			font-size: 42px;
		}

	}


@media all and (min-width: 981px) and (max-width: 1150px) {
		#iso-otsikko h2 {
			font-size: 30px;
		}
	}


	@media all and (min-width: 1151px) and (max-width: 1300px) {
		#iso-otsikko h2 {
			font-size: 37px;
		}
	}

	@media all and (min-width: 1301px) and (max-width: 1601px) {
		#iso-otsikko h2 {
			font-size: 42px;
		}
	}


	@media all and (min-width: 981px) and (max-width: 1200px) {
		.et_pb_image_n10s_3 .n10s-block h2 {
			font-size: 25px !important;
		}

		.et_pb_image_n10s_2 .n10s-block h2 {
			font-size: 25px !important;
		}

		.et_pb_image_n10s_1 .n10s-block h2 {
						font-size: 25px !important;
		}

		.et_pb_image_n10s_0 .n10s-block h2 {
			font-size: 25px !important;
		}

		.n10s-overlay h2 {
			margin-top: 0 !important;
		}

		.n10s-kiev p {
			top: 20% !important;
			right: 0% !important;
		}

		.n10s-block.n10s-kiev p {
			font-size: 18px !important;
		}
	}



@media all and (min-width: 770px) and (max-width: 980px){
	.et_pb_column {
    width: 100%;
}
}



	@media all and (min-width: 1201px) and (max-width: 1340px) {

			.n10s-overlay h2 {
			margin-top: 0 !important;
		}

		.n10s-kiev p {
			top: 20% !important;
			right: 20% !important;
		}
		.et_pb_image_n10s_3 .n10s-block h2 {
			font-size: 32px !important;
		}

		.et_pb_image_n10s_2 .n10s-block h2 {
			font-size: 32px !important;
		}

		.et_pb_image_n10s_1 .n10s-block h2 {
			font-size: 32px !important;
		}

		.et_pb_image_n10s_0 .n10s-block h2 {
			font-size: 32px !important;
		}

	}


	.et_pb_map {
		height: 250px;
	}

	.numero {
		background: #333;
	color: #7cda24;
	font-size: 30px;
	padding: 5px 10px;
	float: left;
		margin-right: 20px;
	}

	.pallo-lista {
		list-style: circle !important;
	}

	.pallo-lista li {
		padding-bottom: 20px;
	}


	/* Tarjouspyyntöpainike */


	.tarjouspyynto a {
	color: #fff !important;
		line-height: 9px;
		font-weight: 600;
		padding: 16px 19px !important;
		text-transform: uppercase;
		border-radius: 50px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		display: block;
		transition: all .5s ease;
		-webkit-transition: all .5s ease;
		-moz-transition: all .5s ease;
        background: #7cda24;
        text-align: center;
	}


	.et-fixed-header #top-menu li.current-menu-item > a{
		color: #fff !important;
	}

@media (min-width: 981px){
	.et_pb_gutters4 .et_pb_column_1_4 .et_pb_module, .et_pb_gutters4.et_pb_row .et_pb_column_1_4 .et_pb_module {
    margin-bottom: 32.053%;
}
}

/* 1-6 boxes */

@media only screen and (max-width: 767px){
	.et_pb_row_11.et_pb_row {
    margin-top: 30px;
    padding-right: 0px!important;
    padding-left: 0px!important;
    width: 90%;
	}
}

/* Pidetään animaatio palkit aina hyvän kokoisena */

@media all and (min-width: 768px) and (max-width: 1125px) {
    #intense-palvelut-etusivu .et_pb_column {
		width: 50% !important;
	}
}

/* Tietosuojaseloste */

.page-id-1743 #main-header {
	background: rgb(0,0, 0) !important;
}