/*
Theme Name: CarListings Child APV
Template: carlistings
Author: Autoparco Villacidro
Description: Customization of CarListings Theme for Autoparco Villacidro
Version: 0.31_hotfix_1
*/


@import url('../carlistings/style.css');




/* WPMGEST */


.imt {    
      opacity:0;    
      transition-duration:1.5s;
      }

.imt:hover {   
      opacity:1;
      }

/* Text To Image */

.tti {
    opacity:1;
    transition-duration:1.5s;
}

.tti:hover {
    opacity:0;
}

#button1
{
	color: white;
	
}

#button1:hover
{
		background-color: rgb(243,68,89)
}

[class^="wp_mgest"] a {
	color: var(--e-global-color-0cefefa) !important;
}

.wp_mgest_submit{
		background-color: var(--e-global-color-0cefefa) !important;
	border: none;
}

.wp_mgest_annunci td.wp_mgest_ad_row a{
	font-weight: bold;
	
	text-align: start !important;
}

.wp_mgest_annunci .description ul{
	margin: .6rem 2rem;
}

.wp_mgest_ad_title{
	font-size: 1.6rem !important;
}

table.wp_mgest_annunci{
	font-size: 1.2rem !important;
}

th, td{
	text-align: start !important;
	color: white !important;
}

.wp_mgest_slider_ad img{
	object-fit: cover !important;
}



.wp_mgest_list_ad .price{
	display: block;
}

.wp_mgest_panel-container{
	color: black !important;
}

.wp_mgest_mainad{
	max-width: 100% !important;
}

.wp_mgest_mainad h3{
	color: white !important;
}

.wp_mgest_textarea_contact {
	min-height: 10rem !important;
}

.wp_mgest_textarea_privacy, #privacycheck{
	left: 0 !important;
		top: 0 !important;
	margin-top: .5rem;
}

#privacycheck{
	margin-right: .5rem;
}

@media (min-width:800px) {
	.home #wp_mgest_annunci{
	   grid-template-columns: repeat(3, 1fr);
	}
	
	.wp_mgest_annunci td.wp_mgest_ad_row {
    width: 80%;
}
	
}


@media (max-width:799px) {
	.home #wp_mgest_annunci{
	   grid-template-columns: repeat(1, 1fr);
	}
	
	#wp_mgest_annunci tr{
		display: flex !important;
	flex-direction: column;
}
	#wp_mgest_annunci img{
		width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	}
}


	
.home #wp_mgest_annunci{
	display: grid !important;
	   font-size: 1.4rem !important; 
  /* 3 colonne da 100px ciascuna */
    grid-gap: 1.5rem; /* Spazio tra gli elementi */
	width: auto !important;
}


.home #wp_mgest_annunci a{
	font-weight: bold;
}

.home .wp_mgest_ad_row_div{
		line-height: 1.5 !important;
}

.home .wp_mgest_ad_row_div a{
line-height: 2 !important;
}


.home #wp_mgest_annunci img{
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.home .wp_mgest_annunci_paginazione, .home .wp_mgest_annunci_trovati,
.home #wp_mgest_annunci thead{
	display: none !important;
}

.home #wp_mgest_annunci tr{
	display: flex !important;
	flex-direction: column;
}


.wp_mgest_ad_row_div br:nth-of-type(1),
.wp_mgest_ad_row_div br:nth-of-type(2) {
  display: none !important;
}


/* Difetto pagina */

.wp_mgest_mainad, .wp_mgest_mainad span.price{
	color: white;
}

.elementor-button-link{
	background-color: var(--e-global-color-0cefefa);
}

.home section:not(header section):not(footer section):not([data-elementor-type="wp-page"] section) {
  display: none;
}





.auto-listings-items .status:before {
    content: unset;
    font-family: unset;
    display: inline-block;
    line-height: 1;
}

.auto-listings-items .status i {
    display: block;
}

.auto-listings-items span.status {
    font-weight: bold;
}


body .lg-actions .lg-next:before {
    content: "\f105" !important;
}

body .lg-actions .lg-prev:after {
    content: "\f104" !important;
}

body .lg-toolbar .lg-close:after {
    content: "\f00d" !important
}

body .lg-toolbar .lg-download:after {
    content: "\f019" !important
}


.auto-listing .summary h3.title {
    width: 100%;
}






/* Featured Post Box Component Style */

.section--homepagePost .post-featured-title {
    color: white;
}

.section--homepagePost .post-featured-content {
    min-height: 150px;
    color: white;
}

.section--homepagePost .post-featured-image-wrap {
    padding: 0 0 25px 0;
}

.section--homepagePost .post-featured-image {
    width: 250px;
    float: left;
    padding: 0 15px 15px 0;
}




/* Single Box Item Listings Auto Adjustment Style in At a Glance Component */

.auto-listings-items.grid-view .at-a-glance li {
    padding: 10px 10px;
}




/* Loop Components At a Glance */

.grid-at-a-glance {
    width: 50% !important;
}


@media all and (max-width: 650px) { 
 .summary {
	width: 100% !important;
 }
}
