/*
Theme Name: Tema di Edizione Caserta
Description: 
Theme URI:
Author: Sergio de Falco
Author URI:  https://www.envire.it
Template: salient
Version: 1.0
*/

/*** Main styles ***/

body {
	color: #333 !important;
}

#boxed {
	box-shadow: unset;
}

/*** Fix immagini blog masonry classic e widget recent posts ***/

/* Rende block gli elementi inline che wrappano le immagini (fix spazio bianco sotto) */
.masonry.classic .content-inner > a,
.blog-recent .col a.img-link {
	display: block;
	line-height: 0;
}

.masonry.classic .post-featured-img,
.blog-recent .col .post-featured-img {
	display: block;
	line-height: 0;
}

/* Forza le immagini a riempire il container (fix spaginamento) */
.masonry.classic .post-featured-img img,
.blog-recent .col .post-featured-img img {
	display: block;
	width: 100% !important;
	height: auto;
}

/*** Home Widgets ***/

.vc_separator h4 {
	font-size: 2rem !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
}

.masonry.classic .post.masonry-blog-item h3.title {
	font-size: 26px !important;
	font-weight: 700;
	line-height: 1.23;
}

.post-content.classic .post-header > span.meta-category:after {
	display: none;
}

.blog-recent .date {
	font-size: 14px;
	margin-left: 0;
	vertical-align: baseline;
}

.recent-post-container .date {
	vertical-align: middle;
	margin-left: 10px;
}

.blog-recent .date:before,
.recent-post-container .date:before {
	content: ' - ';
	display: inline-block;
	margin-right: 10px;
}

@media only screen and (max-width: 690px) {
	.post-area.masonry.classic .posts-container:not(.meta-moved) .post-content > .post-meta { /* Salient nasconde le date in mobile, questo lo evita */
		opacity: unset !important;
		position: relative !important;
	}
}

/*** Articolo singolo ***/

body[data-button-style*="slightly_rounded"].single .heading-title[data-header-style="default_minimal"] .meta-category a {
	background-color: #36a970 !important;
	border-color: #36a970 !important;
	color: #fff !important;
}

body[data-button-style*="slightly_rounded"].single .heading-title[data-header-style="default_minimal"] .meta-category a:hover {
	transform: unset !important;
	box-shadow: unset !important;
}

body.single .post .content-inner {
	font-size: 18px !important;
	line-height: 1.5;
	padding-bottom: 10px !important;
}

/*** Sidebar Widgets ***/

#sidebar h4 {
	font-size: 24px;
	font-weight: 700;
	font-weight: 700;
	letter-spacing: 0;
}

.recent_posts_extra_widget a .post-title {
	font-family: "Open Sans";
	font-size: 18px !important;
	font-weight: 700;
	letter-spacing: -1px;
}

@media ( min-width: 1200px ) {
	body.single .post .content-inner {
		/* margin-left: 90px; */
	}
}

@media ( max-width: 782px ) {
	.col h2 {
		font-size: 28px !important;
		line-height: 1.2 !important;
	}
}

@media only screen and (min-width: 690px) and (max-width: 999px) {
	body #boxed {
		width: 90% !important;
	}
	
	.container {
		max-width: 90% !important;
	}
}

/*** Banner */

.banner-desktop {
	display: none !important;
}

@media only screen and (min-width: 980px) {
	.banner-desktop {
		display: block !important;	
	}
	
	.banner-mobile {
		display: none !important;
	}
}

/*** Messaggio WhatsApp ***/

.whapp-message {
    margin-top: 22px;
}

@media ( min-width: 1024px ) {
    .whapp-message {
        display: none;
    }
}

