/*
Theme Name: Innvolve Oy
Theme URI: www.innvolve.fi	
Author: Innvolve Oy
Author URI: www.innvolve.fi
Description: Child Theme
Template: Divi
Version: 2.0
*/
@import url("../Divi/style.css");
/* FONT IMPORT */
/* Webfonts: Copyright © Letters From Sweden. All rights reserved. To obtain a license, please see: http://lettersfromsweden.se */

@font-face {
	font-family: 'Trim ExtraBold';
	src: url('TrimWeb-ExtraBold.eot');
	src: url('TrimWeb-ExtraBold.eot?') format('embedded-opentype'),
    url('TrimWeb-ExtraBold.woff') format('woff'),
    url('TrimWeb-ExtraBold.ttf') format('opentype');
	font-weight: 800;
	font-style: normal;
}
.trim {
	font-family: 'Trim ExtraBold';
	font-weight: 800;
	font-style: normal;
}
@font-face {
  font-family: 'Mikro Bold';
  src:  url('Mikro-Bold.woff2') format('woff2'),
        url('Mikro-Bold.woff') format('woff');
}
@font-face {
	font-family: 'Mikro Regular';
	src:  url('Mikro-Regular.woff2') format('woff2'),
        url('Mikro-Regular.woff') format('woff');
}
.mikrobold {
	font-family: 'Mikro Bold' !important;
}
.mikro {
	font-family: 'Mikro Regular' !important;
}

/* MANDATORY */
body { font-family: 'Mikro Regular';}
.ylamargin10 {margin-top:10px;}
.ylamargin20 {margin-top:20px;}
.ylamargin30 {margin-top:30px;}
.ylamargin40 {margin-top:40px;}
.ylamargin50 {margin-top:50px;}
.ylamargin60 {margin-top:60px;}
.ylamargin70 {margin-top:70px;}
.ylamargin80 {margin-top:80px;}
  
.alamargin10 {margin-bottom:10px;}
.alamargin20 {margin-bottom:20px;}
.alamargin30 {margin-bottom:30px;}
.alamargin40 {margin-bottom:40px;}
.alamargin50 {margin-bottom:50px;}
.alamargin60 {margin-bottom:60px;}
.alamargin70 {margin-bottom:70px;}
.alamargin80 {margin-bottom:80px;}
.alamargin90 {margin-bottom:90px;}

.space-20 {margin-top:10px; margin-bottom: 10px;}
.space-40 {margin-top:20px; margin-bottom: 20px;}
.space-60 {margin-top:30px; margin-bottom: 30px;}
.space-80 {margin-top:40px; margin-bottom: 40px;}

/* TYPIS, VARIT JA LINKIT */
h1 {
	font-family: 'Trim ExtraBold';
	font-size: 50px !important;
}
h2 {
	font-family: 'Trim ExtraBold';
	font-size: 43px !important;
}
h3 {
	font-family: 'Trim ExtraBold';
	font-size: 22px !important;
}
h4 {font-family: 'Mikro Bold';}
h5 {font-family: 'Mikro Bold';}
h6 {font-family: 'Mikro Bold';}
p { }
a {color: black;}
a:visited {}
a:hover {text-decoration: underline;}

/* HEADER */
#et-info {
	float: right;
}
#top-menu li {
	display: inline-block;
	padding-right: 10px;
	font-size: 14px;
	padding-left: 10px;
	font-family: 'Mikro Bold';
}
#top-menu li.current-menu-item > a {
  /*border-bottom: solid 2px #ffe100;*/
  display: inline;
  padding-bottom: 7px !important;
}
#top-menu .vuokraa-camu-link {
  margin: 0;
  background-color: #ffe100;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 5px;
}

#top-menu .vuokraa-camu-link > a {
	color: #000 !important;
}


.et_mobile_menu li a {
	text-align:left;
}

.vuokraa-camu-link {
  list-style: none;
}
/*WANHA
.vuokraa-camu-link.current-menu-item a {
  display: block;
  background-color: black;
  color: #ffe100 !important;
  padding-bottom: 7px !important;
  padding-top: 0px !important;
}*/

#top-menu .vuokraa-camu-link.current-menu-parent {
  margin:0;
  background-color: black;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 5px;
}

#top-menu .vuokraa-camu-link.current-menu-parent > a {
	color: #ffe100 !important;
}

/*#top-menu .current-menu-item a.mPS2id-highlight{
	border-bottom: solid 2px #ffe100;
	padding-bottom: 2px;
	margin-bottom: 2px;
	color: black;
}*/

#main-header {
	border-bottom: 3px solid #ffe100;
}
.et-fixed-header #top-menu-nav #top-menu .vuokraa-camu-link a{
	color: #000 !important;
}
.et-fixed-header #top-menu-nav #top-menu .vuokraa-camu-link.current-menu-item a{
	color: #000 !important;
}

/* overhanging logo by Geno Quiroz */
/*
#top-header {z-index: 99999;} 
#logo {
    max-height: 200% !important;
    z-index: 100000;
}
*/
@media only screen and (max-width : 980px) {
    #logo { margin-top: 0px}}

/* NEWS */
.et_pb_blog_grid .et_pb_post {
    /*background-color: transparent;*/
    padding: 0px;
}

/* feature thumbnails alongside post titles on blog page */
.et_pb_posts .et_pb_post a img {
	max-width: 400px!important;
	float: left;
	padding-right: 20px;
}
@media only screen and (max-width: 980px) {
	.et_pb_posts .et_pb_post a img{
		float:none;
		max-width: 250px!important;
	}
}

/* BLOG */
s a.more-link {
	/*margin-top:10px;*/
	color:#ffe100;
    display: inline;
    clear: both;		
}	
.single-post #main-content, .single-post .et_pb_section { 
	background-color:#FFFFFF;
	color:#000000;
}
/* Etusivun blogilaatikon välipalkki*/
.single-post .entry-title {padding-top:50px;}
.divi-100-article-card .et_pb_blog_grid .article-card__category {
	color: #000;
}
/* FOOTER */
#footer-info {display:none;}
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget, .footer-widget:nth-child(n) {
    width: 100% !important;
}
.footer-widget .et_pb_widget {
    text-align: center;
    width: 100%;
  color:#ffe100;
}
#main-footer {
    background-color: #000000;
}

/* CONTACTFORM */
/* Formin opt-in rasti(t) */
.et_pb_contact p input[type="checkbox"]:checked + label i::before {
	color: black;
}


/* CONTACT-FORM 7
.wpcf7 {color:#FFFFFF !important;}
.wpcf7-textarea {
	width: 50%;
  	border: 1px solid #4e4e4e;
  	background-color: #4e4e4e;
  	color: #fff;
}
input[type="text"], input[type="password"], input[type="tel"], input[type="email"], input.text, input.title, textarea, select {
 	padding: 2px;
  	border: 1px solid #4e4e4e;
  	color: #FFFFFF;
  	background-color: #4e4e4e;
  	width:100% !important;
}
input[type="text"]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {
	border-color: #2d3940;
	color: #FFFFFF;
}
input[type="number"], number {
	padding: 2px;
	border: 1px solid #4e4e4e;
	color: #FFFFFF;
	background-color: #4e4e4e;
}
.contact-form input:-moz-placeholder,.contact-form textarea:-moz-placeholder {
	color:#666;
}
span.wpcf7-list-item {
    margin-left: -0.5em;
}
*/
/* ADDITIONAL MODS */
.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/* ADDITIONAL RESPONSIVENESS */
@media (min-width: 1200px) {
}
@media (min-width: 768px) and (max-width: 979px) {
}
@media (max-width: 767px) {
}
@media (max-width: 480px) {
}