/*
Theme Name: Child theme for AUK Jämsän Äijät ry
Version: 1.0
Author: AUK Jämsän Äijät ry
Editor: Mimmi Puhakka
Author URI: http://www.aukjamsanaijat.fi
Description: A child theme of Divi
Template: Divi
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: AUK Jämsän Äijät ry
This theme, like WordPress, is licensed under the GPL.
*/

@import url("../Divi/style.css");
/* Your awesome customization starts here */

@media (max-width: 414px) {
.et_pb_button_0 {
    margin-top: 50px;
  	}
}

@media (max-width: 414px) {
	.et_pb_button_1 {
	margin-top: 50px;
	}
}

/* Footerin keskitys*/
#footer-info {
    float: none;
    text-align: center;
}

/* Captcha tekstin väri */
.et_pb_contact_right {
    color: #ffffff;
}

/* Facebook stream asetuksia */
.facebook-stream-white-panel {
    font-family: Cuprum;
    font-size: 14px;	
  	background: #ffffff;
  	color: #244a83;
}

/* Sliderin palkintekstin säätö mobiiliin */
.et_pb_slide_description {
    word-wrap: normal;
    margin-left: -6em !important;
    margin-right: -6em !important;
}

/* Rivikorkeuden säätö mobiiliin */

.et_pb_text > :last-child {
    padding-bottom: 0;
    line-height: 1.2em;
}

/* Mobiilivalikon säätö, menuvalikko liikkuu mukana */

@media (max-width: 980px) {
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed;
	}
}

.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
}

/* Logo karusellin asetukset */

.ed-carousel .owl-controls {
    margin-top: 10px;
    text-align: center;
    display: none !important;
}

@media (max-width: 320px) {
.et_pb_contact_right {
    color: #ffffff;
    margin-bottom: 10px;
	}
}

@media (max-width: 1280px) {
.et_pb_contact_form_0.et_pb_contact_form_container .input {
    height: 50px;
    margin-bottom: -5px;
	}
}

#et_search_icon:hover, .mobile_menu_bar::before, .mobile_menu_bar::after, .et_toggle_slide_menu::after, .et-social-icon a:hover, .et_pb_sum, .et_pb_pricing li a, .et_pb_pricing_table_button, .et_overlay::before, .entry-summary p.price ins, .woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price, .et_pb_member_social_links a:hover, .woocommerce .star-rating span::before, .woocommerce-page .star-rating span::before, .et_pb_widget li a:hover, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .wp-pagenavi span.current, .wp-pagenavi a:hover, .nav-single a, .posted_in a {
    color: #ffffff !important;
}

@media (max-width: 1024px) {
.et_header_style_split #top-menu, .et_header_style_split .fullwidth-menu, .et_header_style_split nav#top-menu-nav, .et_header_style_split nav.fullwidth-menu-nav {
  	float: none;
    font-size: 5px;
	}
}

.et_pb_code_inner {
    position: relative;
    margin-left: -35px;
    margin-right: -35px;
}

.et_pb_row.et-last-child .et_pb_column.et-last-child, .et_pb_row:last-child .et_pb_column:last-child {
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
.et_header_style_split #top-menu, .et_header_style_split .fullwidth-menu, .et_header_style_split nav#top-menu-nav, .et_header_style_split nav.fullwidth-menu-nav {
    font-size: 10px !important;
	}
}

/* FB hakutoiminto ja ruutu pois */
.ff-filter-holder .ff-search {
    display: none !important;
}

/* Liity jäseneksi lomakkeen asetukset */
div.wpcf7 {
    margin-left: 300px;
}

.et_pb_text_0 h1 {
    margin-top: 60px;
}

input {
    -webkit-appearance: none;
    font-size: 20px;
}

/* Lomakkeen asetukset */

.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
background-color: #eee !important;
border: none !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #999 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.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: transparent;
border: 2px solid;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.wpcf7-submit:hover {
background-color: #696969;
border-color:#696969;
padding: 6px 20px !important;
}

div.wpcf7 {
    margin-left: 170px;
}

div.wpcf7 {
  	margin-left: 250px;
    margin-right: 100px;
}
/* Lomakkeen asetukset tabletti */
@media screen and (max-width: 3000px) and (min-width: 1025px) {
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	width: 100% !important;
	}
}
/* Lomakkeen asetukset tabletti */
@media screen and (max-width: 1024px) and (min-width: 768px) {
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	width: 150% !important;
	}
}

/* Lomakkeen asetukset tabletti */
@media screen and (max-width: 767px) and (min-width: 615px) {
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	width: 175% !important;
	}
}
/* Lomakkeen asetukset mobiili */
@media screen and (max-width: 614px) and (min-width: 565px) {
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	width: 225% !important;
	}
}

/* Lomakkeen asetukset mobiili*/ 
@media screen and (max-width: 415px) and (min-width: 320px) {
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
    width: 230px;
	}
}