/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.1
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.photogallery-item .thumbnail img{
    max-width:  100%;
    max-width: -moz-available;          /* WebKit-based browsers will ignore this. */
    max-width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
}

.travel-cnt.photogallery.row > .column {
	margin: 0 15px 15px 0;
}

#searchform {
    z-index: 1 !important;
}

.scroll-top.on {
    right: 12px;
    bottom: 5rem;
}

/* RESPONSIVE GRID ITEMS 24.09.2024 */
.post-grid .grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	height: max-content !important;
	grid-gap: 1rem;
}

.post-grid .grid-items a.woocommerce-field.info-button.right-button {
    display: none !important;
}

.post-grid .grid-items .item {
	width: 100% !important;
	display: block !important;
	margin: 0 !important;
	position: relative !important;
	top: unset !important;
	left: unset !important;
}

.post-grid .grid-items .layer-wrapper {
    position: relative;
	padding: 0.5rem;
}

.post-grid .grid-items .layer-wrapper .layer-media.box-effetto {
    filter: none !important;
    border-radius: 0 !important;
	background-color: #00b050;
	padding: 0.5rem 0.5rem 0.75rem;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100% !important;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content > * {
    position: relative !important;
    margin: 0 !important;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content > :is(.title, .title.card_date, .title.card_free-text) {
    background-color: #00b050;
    color: #fff !important;
	padding: 0 0.5rem 0.75rem 0.5rem !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 500;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content .title + .card_date {
    margin-top: -0.5rem !important;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content .card_date + .card_free-text {
    padding-bottom: 0.5rem !important;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content > .title a {
	text-decoration: none;
	color: #fff !important;
	font-size: 16px !important;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content > .title:last-of-type {
	padding: 0 0.5rem 0.75rem 0.5rem !important;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content > .info-box {
    position: absolute !important;
    top: 1rem;
    right: 1rem;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content > .info-box .mezzo-trasporto {
    width: 32px;
    height: 32px;
    top: 0;
    right: 0;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content .travel-info .extra-content {
    padding-inline: 1rem;
}

.post-grid .grid-items .layer-wrapper .layer-media + .layer-content .travel-info .extra-content:first-child {
    padding-block-start: 0.5rem;
}

/* END RESPONSIVE GRID ITEMS */

.breadcrumbs {
	display: flex;
}

.twr-custom-hr {
	display: flex;
}
