/*
Theme Name: CityBook Child
Theme URI: https://demowp.cththemes.com/citybook/
Author: CTHthemes
Author URI: http://themeforest.net/user/cththemes/
Description: Directory Listing WordPress Theme
Version: 1.0.0
Tags: custom-background, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, translation-ready
Template: citybook
Text Domain: citybook-child
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/* =Theme customization starts here
------------------------------------------------------- */
/*UTILITY*/

.btn-block {
    display: block;
    text-align: center;
    max-width: 100%;
}


/*Styles*/
.add-list {
    display: none;
}

button.main-search-button {
    background-color: #ac2d32;
}


button.main-search-button:hover {
    background-color: #ff454c;
}

.switchchat-btn  {
	display: none;
}


.logo-holder {
	transition: all 200ms ease-in-out;	
}

@media (min-width: 501px) {
	.logo-holder {
		top: 10px !important;
		height: 60px !important;
	}
}

@media (min-width: 380px) and (max-width: 500px) {
	.logo-holder {
		top: 15px !important;
		height: 45px !important;
	}
}



/*Hide meta - author and comments*/

.post-opt li:last-child,
.post-author {
	display: none !important;
}

/*Hide lets start in blog*/
.blog .header-sec-link {
	display: none !important;
}

.widget-posts .post-comments {
	display: none !important;
}

#masthead .show-reg-form {
	display: none !important;
}


.custom-scroll-link {
	display: none !important;
}

/*Main search tweaks*/
.main-search-button,
.main-search-input-item #main_search_loc,
.main-search-input-item .nice-select {
    font-size: 16px;
}

/*hide bookmark button*/
.bookmark-listing-btn {
	display: none !important;
}


/*Hide order by dropdown in search*/
.listsearch-advance-inputs .listsearch-input-item:last-child {
	display: none !important;
}


/*Hide sidebar search widget title spacing*/
.widget_search .box-widget-item-header {
	display:none;
}


/*Youtube embed fix*/
.pos-single iframe {
    max-width: 100%;
}


/* Cristian */
/*global*/
p,
.geodir-category-content, 
.section-title p {
	font-size: 14px;
}
p, .list-single-main-item p {
	color: #5f647a;
}
/* map*/
@media (max-width: 497px) {
    .map-container.column-map {
	 	height: 460px;
	}
	.map-container #map-osm-main {
        padding: 0 0.5rem 0.5rem 2rem;
		background-color:#2f3b59;
	}
	.ol-touch.ol-viewport {
    	border-radius: 0.8rem;
	}
}
/* end map */


/*HOME*/
/*nascondi leocation in home searchbar*/
	
.main-search-input-item.location.lsearch-location {
    display: none;
}


.card-listing .geodir-category-img img {
	aspect-ratio: 4/3;
}
.card-listing .geodir-category-listing {

    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-listing .geodir-category-content {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.listing-cats-wrap ~ h3.entry-title {
	min-height: 2lh;
}

.listing-carousel .listing-item {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	min-height: 29.4em;
}

/* blog */
.card-post-content h3 a:hover{
	color: #1a84c0; /*text grand, #166fa8 text normal */
}

/* Allinea tutte le slide in altezza 
.listing-carousel .slick-slide > div {
  height: 100%;
}
*/
/* Rende ogni card una colonna flessibile e con altezza massima 
.listing-carousel .slick-slide-item {
  height: 100%;
  display: flex !important;
  flex-direction: column;
}*/
/*
.listing-carousel .listing-item {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}*/

/* Forza le immagini a rispettare il rapporto ma non influire sull'altezza totale 
.listing-carousel .geodir-category-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

.listing-carousel .geodir-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}*/

/* Per assicurarti che il contenuto prenda lo spazio residuo 
.listing-carousel .geodir-category-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
*/
/* fine HOME */


/* luoghi interesse*/
/*slide*/
@media (max-width: 497px){
	.sw-btn.swiper-button-prev, .sw-btn.swiper-button-next {
		top: 80% !important;
	    width: 32px;
	    height: 32px;
	    line-height: 32px;
	}
}
.slick-dots {
    position: absolute;
    bottom: 2em;
}
.slick-dots li button {
    width: .6rem;
    height: .6rem;
    border: 1px solid #fff;
}

/* fine luoghi */