@charset "UTF-8";
/*!
Theme Name:   CarListings-Child
Template:   carlistings

*/

/* Button style Main menu  */
.button-site {
	border: 2px solid rgb(0, 0, 0);
	background-color: rgb(0, 0, 0);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-navigation ul a {
    padding: 10px;
}

.button-site a {
	color: #ffffff;
	transition: all 0.3s ease;
}

.main-navigation a, .topbar-contact .widget_nav_menu a {
    color: #fff;
}

.button-site:hover a{
	color:#000000
}

.button-site:hover{
  border: 2px solid #efdf00;
	background-color: #efdf00;
  color:#000000
}

/* Delete icons in databox and fix button problem */
.auto-listings-items li .at-a-glance {
  display: none;
}

.auto-listings-items.grid-view li .summary .title {
    display: block;
}

.auto-listings-items li .price {
      display: block;
}

.auto-listings-items.grid-view .price {
    margin-bottom: 4px;
}

.auto-listings-items .bottom-wrap {
    position: static;
  }

  .auto-listings-items .bottom-wrap {
    margin: 10px 0 0 0;
}

/* DENNIS */



/*Delete border bottom hover*/
.topbar-contact .menu > li > a, .primary-menu > li > a {
    border-bottom: 0px solid transparent;
}

/*Custom main menu button hover*/ 
/* .topbar-contact .menu > li:hover > a, .topbar-contact .menu > li.focus > a, .primary-menu > li:hover > a, .primary-menu > li.focus > a {
    color: #000000;
    background-color: #efdf00;
    border: 2px solid #efdf00;
}  */


/*Hide Highlight new*/
.auto-listings-items .highlight-new {
    display: none;
}

/*Custom listing title hover*/
.auto-listings-items .summary .title a:hover {
    color: #000;
}

/*Custom More details button hover*/
.auto-listings-items .bottom-wrap a.al-button:hover {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}

/*Custom More details button*/
.auto-listings-items .bottom-wrap a.al-button {
    background-color: #efdf00;
    border-color: #efdf00;
    color:#000000;
}
/*Location under title */
    .auto-listings-items .address {
    color: #333;
    font-weight: 600;
}

/* Custome brand hover */
.all--car .all-car-left ul li a:hover {
    color: #000000;
}

/* Custom hover Research button*/
.all--car .all-car-left .all-car__button:hover {
    border: 2px solid #000000;
    color: #ffffff;
    background-color: #000000;
}

/* Custom Research button*/
.all--car .all-car-left .all-car__button {
    color: #000000;
    background-color: #efdf00;
    border: 2px solid #efdf00;
}

/* Custom footer background */
.section--cta
 {
    background-color: #ececec;
}

.section--cta .section-cta__left .cta-title {
    color: #333333;
}

.section--cta .section-cta__left .cta-description {
    color: #333333;
}

/*Custom footer button*/
.section--cta .section-cta__right a {
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
}

/*Custom footer button hover*/
.section--cta .section-cta__right a:hover {
    background-color: #efdf00;
    color: #000000;
    border: 2px solid #efdf00;
}

.scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #ffffff;
    display: block;
    z-index: 99;
    background: #efdf00;
    border-radius: 100%;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.scroll-to-top i {
    font-size: 1.25rem;
    color: #000000;
}

.scroll-to-top:hover {
    background: #efdf00;
    text-decoration: none;
}

/* Single Listing */

.page-header {
    background-image: url(http://occasioni.local/wp-content/themes/carlistings/images/page-header.png);
    display: none;
}

.auto-listings-single .sidebar .contact-form button {
    background-color: #efdf00;
    color: #000;
    border: 2px solid #efdf00;
}

.auto-listings-single .sidebar .contact-form button:hover {
    background-color: #000;
    color: #fff;
    border: 2px solid #000000;
}

.auto-listings-single .sidebar h3:before
 {
    border-left: 10px solid #efdf00;

}

.auto-listings-single .has-sidebar .upper .price-amount {
    color: #000;
}

.auto-listings-single .has-sidebar .content .auto-listings-tabs .auto-listings-Tabs-panel h4 {
    color: #000;
}

.auto-listings-single .has-sidebar .content .auto-listings-tabs .active {
    box-shadow: 0 3px 0 #efdf00 inset;
    border-top: 0;
}

/* Shadow of the selected image */
.auto-listings-single .has-sidebar .image-gallery .lSGallery.lSGallery a:before {
    box-shadow: 0 -8px 0px -5px #efdf00 inset;
}

/* Price color */
.auto-listings-single .has-sidebar .content .tagline {
    color: #000;
}


.menu-toggle {
    background-color: #000000;
    color: #fff;
    border: 2px solid #000000;
}

.menu-toggle:hover {
    background: #efdf00;
    border: 2px solid #efdf00;
    color: #000000;
}

.menu-toggle:hover span.bar, .menu-toggle:hover span.bar:before, .menu-toggle:hover span.bar:after {
    background-color: #000000;
}

.mobile-menu a:hover, .mobile-menu .current-menu-item > a {
    color: #000;
    background:#efdf00
}

.mobile-menu li {
    position: relative;
    background-color:#000
}

/* Car Image Height */
.auto-listings-single .has-sidebar .image-gallery img {
    max-height: 500px;
}

element.style {
    height: 500px;
}

.auto-listings-single .has-sidebar .highlight-new {
    display:none;
}

/* Custom Find my car button */
.site-content .auto-listings-search .al-button {
    background-color: #efdf00;
    border: 2px solid #efdf00;
}

/* Custom Find my car button text color */
.auto-listings .al-button, .auto-listings .contact-form .button-primary {
    color: #000000;
}

/* Custom Find my car button hover */
.site-content .auto-listings-search .al-button:hover{
    border-color: #000;
    background-color: #000000;
    color: #fff;
}

/* Page switch button color */
.auto-listings-pagination ul li span {
    color: #000000;
    background-color: #efdf00;
    border-color: #efdf00;
}

/* Page switch button color hover */
.auto-listings-pagination span:hover, .auto-listings-pagination a:hover {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

/* Cursor over page numbers */
.auto-listings-pagination ul li span.current {
    cursor:auto;
}

/* Hide Car status "Occasione" */
.auto-listings-search .condition-wrap .SumoSelect {
    display: none;
}

.SumoSelect .select-all.partial>span i, .SumoSelect .select-all.selected>span i, .SumoSelect>.optWrapper.multiple>.options li.opt.selected span i {
    background-color: #000000;
}

/* List view active, shows only grid view */
body:has(.auto-listings-items.list-view) .auto-listings-view-switcher #list {
    display: none;
}

body:has(.auto-listings-items.list-view) .auto-listings-view-switcher #grid {
    display: inline-flex;
}

/* Grid view active, shows only list view */
body:has(.auto-listings-items.grid-view) .auto-listings-view-switcher #grid {
    display: none;
}

body:has(.auto-listings-items.grid-view) .auto-listings-view-switcher #list {
    display: inline-flex;
}

/* Youtube embed */

.youtube-video-slide {
    overflow: hidden;
}

.youtube-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.youtube-video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.youtube-thumbnail {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.youtube-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.youtube-thumbnail iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.youtube-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 50px;
	background: #ff0000;
	color: #fff;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
	line-height: 1;
	pointer-events: none;
}

@media (max-width: 767px) {
	#image-gallery + .lSSlideOuter .lSGallery {
		display: block !important;
	}
}

/* mobile preview slider images */

@media (max-width: 574px) {
    .auto-listings-single .image-gallery .lSPager {
        display:inherit
    }
}

/* mobile preview slider images */

@media (max-width: 574px) {
    .auto-listings-single .image-gallery .lSPager {
        display: inherit;
    }

    .auto-listings-single .image-gallery .lSAction {
        display: block !important;
    }

    .auto-listings-single .image-gallery .lSAction > a {
        display: block !important;
    }
}


/* PDF Documents */

.auto-listings-documents {
    margin-bottom: 25px;
}

.auto-listings-documents a {
    display: block;
    margin-bottom: 12px;
}

/* MENU MOBILE */

@media (max-width: 768px) {

    /* Hide real menu button */
    #site-navigation .menu-toggle {
        display: none !important;
    }

    /* Force container view */
    #site-navigation .menu-main-menu-container {
        display: block !important;
        width: auto;
    }

    /* Force view listing */
    #site-navigation ul.primary-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
    }

    /* link become normal button */
    #site-navigation .button-site a {
        display: inline-block;
        text-decoration: none;
    }

    .main-navigation li, .topbar-contact .widget_nav_menu li {
    float: left;
    position: relative;
    margin-top: 20px;
}

.auto-listings-documents
 {
    margin-left: 20px;
}
}

/* mediaquery tablet */

@media (max-width: 990px) {

    /* Hide real menu button */
    #site-navigation .menu-toggle {
        display: none !important;
    }

    /* Force container view */
    #site-navigation .menu-main-menu-container {
        display: block !important;
        width: auto;
    }

    /* Force view listing */
    #site-navigation ul.primary-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
    }

    /* link become normal button */
    #site-navigation .button-site a {
        display: inline-block;
        text-decoration: none;
    }
}

/* Opening Hours */

#block-13 > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#block-13 > ul > li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

#block-13 > ul > li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#block-13 > ul > li > ul > li {
    margin: 0 0 4px 0;
}

#block-13 > ul > li > ul {
    margin-left: 25px;
}

#block-13 > ul > li {
    line-height: 1.4;
}

#block-13 {
    color: #000;
}

/* sidebar padding-bottom  */

.auto-listings-single .sidebar > div {
    padding: 16px 30px 8px;
}

/* Whatsapp font-weight */
.wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
    font-weight: 600;
}

/* Remove line between items */
.auto-listings-single .sidebar > div {
    border-bottom: 0px solid #e4e4e4;
}