/*
 Theme Name:     Concessionaria Auto
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/****************************/
/* INPUT FORM CONTATTI 
*/

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {

    padding: 10px;
    border-radius: 5px;
	width: 100%;

}

/****************************/
/* BOTTONE FORM CONTATTI 
*/
.wpcf7-form-control.wpcf7-submit {
    width: 143px;
    padding: 10px;
    border-radius: 7px;
    background: orange;

}

.cn-button.bootstrap {
    font-family: sans-serif !important;
    display: inline-block !important;
    *display: inline !important;
    padding: 4px 12px !important;
    margin-right: .3em !important;
    margin-bottom: 0 !important;
    *margin-left: .3em !important;
    line-height: 20px !important;
    color: #333 !important;
    text-align: center !important;
    text-shadow: 0 1px 1px rgba(255,255,255,.75) !important;
    font-style: normal !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25) !important;
    background-color: #006dcc !important;
    *background-color: #04c !important;
    background-image: -moz-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#0088cc),to(#0044cc)) !important;
    background-image: -webkit-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: -o-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: linear-gradient(to bottom,#0088cc,#0044cc) !important;
    background-repeat: repeat-x !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #04c #04c #002a80 !important;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.2) inset,0 1px 2px rgba(0,0,0,.05) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    outline: none !important;

}

/*css form su 2 colonne e privacy scorrevole*/

.riga-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.riga-flex p {
	width: 49%;
}

.privacy {
	overflow: auto;
    max-height: 90px;
    margin-bottom: 20px;
    background-color: #F9F9F9;
    padding: 10px;
    font-size: 12px;
    color: #999;
}
 
/* =Theme customization starts here
------------------------------------------------------- */

.home .et_pb_widget_area_left{
	border:none !important;
}

/* disattivo funzioni woocommerce */
.et-cart-info { display:none; }
form.cart{display:none;}

#et-info { float: none !important; }
#top-header .et-social-icons { float: right !important; } 


/* stile per scheda auto */
.schedaTit, #tab-additional_information h2 {
    color: #fff;
    background-color: #ee3b34;
    font-size: 18px;
    font-weight: bold;
    padding: 7px 15px;
	text-transform:uppercase;
}
.informazioni {
    clear: both;
    width: 100%;
    padding: 7px 0px;
}
.col-md-6{
	width:50%;
	float:left;
	padding:0 8px 0 0;
}

.informazioni ul li {
    width: 50%;
    float: left;
    min-width: 300px;
    display: block;
}
.informazioni ul {
    display: block;
    overflow: hidden;
    margin-top: 5px;
}
.woocommerce-product-details__short-description {
    margin: 25px 0px;
}
span.woocommerce-Price-amount.amount {
    background-color: #2ea3f2;
    padding: 5px;
    color: white;
    font-weight: bold;
    font-size: 18px;
}
h2.woocommerce-loop-product__title {
    font-weight: bold;
	margin-bottom: 5px !important ;
}
.single-product p.price {
    margin-top: 15px;
}
#content-area table td, #content-area table th, #content-area table tr, #main-content table.cart td, #main-content table.cart th, #main-content table.cart tr, table.cart td, table.cart th, table.cart tr {
    width: 50%;
    padding: 0;
    float: left;
}
.woocommerce table.shop_attributes td p {
    margin: 0;
    padding: 8px;
}
th {

    padding: 8px !important;

}
@media screen and (max-width: 600px) {
	.col-md-6{
		width:100%;
		float:left;
		padding:0 8px 0 0;
	}
	#content-area table td, #content-area table th, #content-area table tr, #main-content table.cart td, #main-content table.cart th, #main-content table.cart tr, table.cart td, table.cart th, table.cart tr {
		width: 100%;
		padding: 0;
		float: left;
	}
}

/*css nic*/

/*header negativo*/

.page-id-33 div#et-main-area {
    margin-top: -10%;
}

@media only screen and (max-width: 1400px) and (min-width: 400px)  {
.page-id-33 div#et-main-area {
    margin-top: -11%;
}
}

body:not(.home) #main-header { 
	background-color:#333;
}

body:not(.home) .mobile_menu_bar:before {
	color: #fff;
}

@media only screen and (max-width:980px){
	.page-id-33 div#et-main-area {
    margin-top: 0% !important;
}
}

/*underline menu*/

#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 55%;
 background: #EE3B34; /*** COLOR OF THE LINE ***/
 height: 3px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}

ul.sub-menu a:before {
    display: none;
}

/*form di contatto*/

.captcha-policy, span.wpcf7-list-item-label {
    font-size: 13px;
}

.wpcf7-form-control.wpcf7-submit {
background-color: #EE3B34;
color: #fff;
border: 0px !important;
max-width: 250px;
display: block;
width: 100%;
font-weight: bold;
padding-top: 22px;
padding-bottom: 22px;
font-size:14px;
	text-transform:uppercase;
	border-radius:0px;
}

.wpcf7-form-control.wpcf7-submit:hover {
	padding-top: 22px;
	padding-bottom: 22px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    max-height: 120px !important;
}

.et_pb_button:after, .et_pb_button:before {
    font-size: 26px;
}

.captcha-policy a, .wpcf7-list-item-label a {
	color: #333;
	text-decoration: underline;
}

.captcha-policy, span.wpcf7-list-item, .riga-flex p, p.info-agg {
    color: #333;
}

.wpcf7-form-control.wpcf7-submit:hover {
	background-color: #333;
	color: #fff;
	border-radius:0px;

}

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
    border-radius: 0px;
}
	
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #f5f5f500;
    border-bottom: 2px solid #33333333;
	border-top:0px;border-left:0px;border-right:0px;
}

input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus {
    border-color: #113660;
}

input[type=tel]:focus, input[type=email]:focus, input[type="text"]:focus, textarea:focus {
	border-color: #113660;
    color: #333;
}

.wpcf7-list-item {
	margin: 0px;
}

a.et-cart-info {
    display: none;
}

.et_pb_blurb_content {
    max-width: none;
}

iframe{
	display: block;
}

i.fa-solid.fa-phone {
    color: #EE3B34;
}

.pallino-hover:hover {
    filter: grayscale(1);
}

/*css small desktop*/

@media only screen and (max-width: 1600px) and (min-width: 1201px)  {
    #logo {
        max-height: 40% !important;
    }
	.img-slider-freccia {
    width: 400px !important;
}
		ul#top-menu li a {
    font-size: 13px !important;
}
.pallino-hover {
    width: 5% !important;
}
		.riga-storia h2 {
    font-size: 40px !important;
}
	.riga-storia .et_pb_text_1.subtitle {
    font-size: 20px !important;
}
	.riga-storia .et_pb_text_inner {
    font-size: 16px !important;
    line-height: 1.6em !important;
}
	.et_pb_row.et_pb_row_0.riga-storia.et_pb_equal_columns {
    background-position: 450px !important;
}
		.sez-servizi {
    background-position:550px !important;
}
		.riga-doppibox .et_pb_column_6, .riga-doppibox .et_pb_column_7 {
    padding-left: 100px !important;
}
		.riga-doppibox h4 {
		font-size:32px !important;
	}
		#top-menu li {
    padding-right: 8px !important;
}
}
@media only screen and (max-width: 1200px) and (min-width: 981px)  {
    #logo {
        max-height: 20% !important;
    }
	ul#top-menu li a {
    font-size: 12px !important;
}
	.pallino-hover {
    width: 5% !important;
}
	.testo-slide {
    transform: translate(525px, 425px) translate(-50%, -50%) !important;
}
	.riga-storia h2 {
    font-size: 35px !important;
}
	.riga-storia .et_pb_text_1.subtitle {
    font-size: 18px !important;
}
	.riga-storia .et_pb_text_inner {
    font-size: 15px !important;
    line-height: 1.6em !important;
}
	.et_pb_row.et_pb_row_0.riga-storia.et_pb_equal_columns {
    background-position: 300px !important;
}
	.riga-servizi h4.et_pb_module_header {
    font-size: 18px !important;
}
	.sez-servizi {
    background-position: 450px !important;
}
	.riga-doppibox .et_pb_column_6, .riga-doppibox .et_pb_column_7 {
    padding-left: 80px !important;
}
	.riga-doppibox h4 {
		font-size:30px !important;
	}
	.riga-footer1 h5 {
		font-size:15px !important;
	}
	#top-menu li {
    padding-right: 8px !important;
}
	.riga-box-servizi-int .et_pb_column_8, .riga-box-servizi-int .et_pb_column_15, .riga-box-servizi-int .et_pb_column_9, .riga-box-servizi-int .et_pb_column_10, .riga-box-servizi-int .et_pb_column_11, .riga-box-servizi-int .et_pb_column_12, .riga-box-servizi-int .et_pb_column_7, .riga-box-servizi-int .et_pb_column_13, .riga-box-servizi-int .et_pb_column_14, .riga-box-servizi-int .et_pb_column_16, .riga-box-servizi-int .et_pb_column_5, .riga-box-servizi-int .et_pb_column_6, .riga-box-servizi-int .et_pb_column_17, .riga-box-servizi-int .et_pb_column_18 {
		padding:15px !important
	}
}

#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, #top-menu li.current_page_item>a {
    font-weight: bold;
}

/* filtro di ricerca auto*/

.chosen-container.chosen-container-single {
	width: 100% !important;
}

.woof_redraw_zone {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.woof_price_filter_dropdown_container, .woof_block_html_items {
	padding: 20px;
	background-color: #fff !important;
	padding-bottom: 15px;
}

.chosen-container-single .chosen-single {
	border: 0px;
	border-radius:0px;
	background: #fff !important;
	box-shadow: unset;
}

.chosen-container-active .chosen-single {
	border: 1px solid #5897fb;
	box-shadow: unset;
}

.chosen-container-single .chosen-single span {
	font-size: 17px;
}

div#woof_widget-3 {
    width: 100%;max-width: 100% !important;
}

span.woocommerce-Price-amount.amount {
    background-color: #93939300;
    padding: 0px;
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

/* nuovo filtro di ricerca auto*/

.wpcm-vehicle-listings .wpcm-vehicle-results-wrapper .wpcm-vehicle-results li.wpcm-listings-item.wpcm-listings-item-featured a, .wpcm-vehicle-listings .wpcm-vehicle-results-wrapper .wpcm-vehicle-results li.wpcm-listings-item.wpcm-listings-item a {
    background: #ffffff;
}

.wpcm-vehicle-listings .wpcm-vehicle-results-wrapper .wpcm-vehicle-results li.wpcm-listings-item.wpcm-listings-item-featured a:hover, .wpcm-vehicle-listings .wpcm-vehicle-results-wrapper .wpcm-vehicle-results li.wpcm-listings-item.wpcm-listings-item a:hover {
    background-color: #e9e9e9;
}

.wpcm-listings-item-description h3 {
    font-weight: bold;
}

.wpcm-vehicle-listings .wpcm-vehicle-listings-pagination ul li a {
    color: #333;
}

.wpcm-vehicle-listings .wpcm-vehicle-listings-pagination ul li a, .wpcm-vehicle-listings .wpcm-vehicle-listings-pagination ul li span {
    padding: 0px 8px;
    border: 1px solid #333;
    border-radius: 50px;
}

span.page-numbers.current {
    background-color: #333;
    color: #fff;
}

.wpcm-vehicle-listings .wpcm-vehicle-listings-pagination ul li a:hover, .wpcm-vehicle-listings .wpcm-vehicle-listings-pagination ul li span:hover {
    background-color: #333;
    color: #fff;
}

.wpcm-vehicle-listings .wpcm-vehicle-filters .wpcm-filter-button input {
    background-color: #EE3B34;
    color: #fff;
    border-radius: 50px;
    border: 0px;
}

.wpcm-vehicle-listings .wpcm-vehicle-filters .wpcm-filter-button input:hover {
    background-color: #333;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 15px;
}

.wpcm-vehicle-listings .wpcm-vehicle-filters .wpcm-filter label {
    font-weight: 600;
    text-transform: uppercase;
}

.wpcm-vehicle-listings .wpcm-vehicle-sort {
    padding: 1.5em 1em;
}

/*pagina singolo veicolo*/

.single-wpcm_vehicle p.post-meta {
    display: none !important;
}

.single-wpcm_vehicle .et_post_meta_wrapper img {
    display: none;
}

.single-wpcm_vehicle h2 {
    font-weight: bold;
}

div#wpcm-vehicle-content p {
    padding-top: 20px;
}

.wpcm_vehicle .wpcm-vehicle-content .wpcm-content-block h2 {
    border-bottom: 0px;
}

.wpcm-images img:hover {
    opacity: 0.5;
}

.wpcm-button {
    font-size: 16px;
    background-color: #ee3b34;
    border-radius: 50px;
    font-weight: bold;
}

.wpcm-button:hover {
    background-color: #333 !important;
}

.wpcm-price-wrapper {
    background-color: #ebebeb;
    padding-top: 10px;
    padding-left: 20px;
    margin-bottom: 20px;
}

.wpcm-summary-data th, .wpcm-summary-data td, div#wpcm-vehicle-data th, div#wpcm-vehicle-data td {
    padding: 5px !important;
}

.wpcm_vehicle .wpcm-vehicle-content .wpcm-content-block#wpcm-vehicle-data table tr th {
    width: 50%;
}

@media only screen and (max-width:37.5em) { 
.wpcm_vehicle .wpcm-vehicle-content .wpcm-content-block#wpcm-vehicle-data table tr th {
    width: 100%;
}
	.wpcm-price-wrapper {
    margin-top: 20px;
}
}

.wpcm_vehicle .wpcm-vehicle-content .wpcm-content-block#wpcm-vehicle-data table tr th {
  background-color: #f2f2f2; /* Grigio chiaro */
  font-weight: bold;
}

.wpcm_vehicle .wpcm-vehicle-content .wpcm-content-block#wpcm-vehicle-data table tr td {
  background-color: #ffffff; /* Bianco */
}

/*gallery pagination*/

.wpcm-thumbnails-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.wpcm-thumbnails {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.3s ease-in-out;
}

.wpcm-thumbnails a {
  flex: 0 0 auto;
  margin-right: 10px;
}

.gallery-nav {
  text-align: center;
  margin-top: 10px;
}

.gallery-nav button {
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
}

.single-wpcm_vehicle div#sidebar {
    display: none;
}