/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/



/* Etusivu - Vehicle Filter Front Page */





.grid-search .search-buttons.front-page-filter {
	max-width: 700px;
	margin: 0 auto;
}

.grid-search .vehicle-search-form.front-page-filter  {
	max-width: 700px;
}

.grid-search .vehicle-search-form.front-page-filter .form-group {
  flex-basis: 33% !important;
  margin: 0 !important;
  padding: 1% !important;
}

.grid-search .vehicle-search {
	border-radius: 4px !important;
}

.grid-search .vehicle-search:hover {
	background: #ee343f !important;
}

.wpcf7 .form-group:nth-child(2) {
	border: none;
}

input[type=text], select, textarea {
	border-radius: 4px !important;
}

/* Vaihtoautot-sivu */

form.wpv-filter-form.js-wpv-filter-form.js-wpv-filter-form-10019.js-wpv-form-full.js-wpv-dps-enabled.js-wpv-ajax-results-enabled {
	margin-bottom: 50px !important;
}

body.page-id-352 .grid-search .search-buttons .alert-info {
	color: #fff;
	font-size: 18px;
	background-color: #1d2127;
	padding: 12px;
	border-radius: 4px;
}

span.korostus {
	color: #ee343f;
}

.page-link {
	background-color: #1d2127;
	color: #fff !important;
}

.page-link:hover {
	background-color: #ee343f;
	color: #fff !important;
}


.leipateksti p {
	color: #ffffff;
}

i.fas.fa-mobile-alt {
	color: #000000;
}

.menu-puhelinnumero a {
	color: #000000 !important;
}


.menu-puhelinnumero a:hover {
	color: #EE404A !important;
}

.nappi {
	border-radius: 50px !important;
}

#header {
	background: rgba(255,255,255,0.7);
}

#footer .widget.follow-us .share-links a {
	font-size: 20px;
}

#main {
	background: #FFFFFF !important;
}

.alkukirjain h2::first-letter {
	color: #ee343f;
}

.palvelu-1 .wpb_wrapper.vc_column-inner, .palvelu-3 .wpb_wrapper.vc_column-inner, .palvelu-5 .wpb_wrapper.vc_column-inner {
	background: #E3E4E4;
}

.palvelu-2 .wpb_wrapper.vc_column-inner, .palvelu-4 .wpb_wrapper.vc_column-inner {
	background: #ecf3f3;
}




/* RESPONSIIVISUUS */

@media screen and (max-width: 426px) {

	.auto-grid > div {
		flex-basis: 35% !important;
	}
}


@media screen and (max-width: 375px) {

	.auto-grid > div {
		flex-basis: 33% !important;
	}
}


/* Vaihtoauto lomake / form

form label {
	display: none;
}

.vaihtoauto-laatikko {
		float: left;
  	padding: .5em;
    font-size: 13px;
}

.vaihtoauto-laatikko-header {
		background: #ed3641;
  	color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px;
		margin-bottom: 10px;
}

.wpcf7 .form-group:nth-child(2) {
		border: 1px solid #d7d7d7;
		width: 95%;
		margin: auto;
}

.wpcf7 input {
	padding: 0.6em;
}

****/

@media only screen and (min-width: 480px) {

.front-page-vehicle-filter-small-devices {
	display: none;
}
	
}