/*
Theme Name: DM Costruzioni
Theme URI: https://www.dmcostruzioni.it/
Author: DM Costruzioni
Author URI: https://www.dmcostruzioni.it/
Description: Tema WordPress per impresa di costruzioni, basato su un template Bootstrap 4. Costruito con Timber/Twig; logo, contatti e dati del sito si gestiscono dal Customizer di WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dmcostruzione
Tags: construction, business, timber, twig
*/

/*
 * Questo file è richiesto da WordPress solo per i metadati del tema.
 * Gli stili reali sono caricati da /css/style.css (vedi inc/enqueue.php).
 * Le regole qui sotto vengono caricate DOPO css/style.css e ne
 * personalizzano la palette per un'azienda agricola (accento verde).
 */

:root {
	--dmc-green: #5b9a2f;
	--dmc-green-dark: #457521;
	--dmc-green-darker: #33561a;
}

/* ---- Testo / icone accento ---- */
a,
a:hover,
a:focus,
button:hover,
button:focus,
.top span.fa,
.social-media p a span,
.social-media p a:hover span,
.topper .icon span,
.topper .text .con span:first-child,
.topper .text .time span:last-child,
.ftco-navbar-light .navbar-nav > .nav-item .nav-link.active,
.ftco-navbar-light .navbar-toggler:hover,
.ftco-navbar-light .navbar-toggler:focus,
.navbar-brand span small,
.slider-text .subheading,
.slider-text .breadcrumbs span a:hover,
.slider-text .breadcrumbs span a:focus,
.slider-text .breadcrumbs span a:hover i,
.slider-text .breadcrumbs span a:focus i,
.about .icon span,
.services-wrap .text .icon span,
.project .text .subheading,
.project .text p span.fa,
.ftco-footer .ftco-footer-widget ul li a:hover,
.ftco-footer .logo a,
.heading-section .subheading,
.heading-section.heading-section-white .subheading,
.ftco-counter .icon span,
.contact-section .dbox .icon span,
.block-23 ul li a:hover .text {
	color: var(--dmc-green); }

.text-primary {
	color: var(--dmc-green) !important; }

/* ---- Sfondi accento ---- */
.bg-primary,
.ftco-navbar-light .navbar-nav > .nav-item.cta > a,
.ftco-navbar-light .navbar-nav > .nav-item.cta > a:hover,
.ftco-navbar-light .navbar-nav > .nav-item.active a,
.navbar-brand .flaticon,
.ftco-intro h2 span,
.about-wrap .icon,
.services-wrap:hover .text .icon,
.services-wrap:hover .text .btn-custom,
.ftco-services-2 .services.services-2,
.ftco-services-2 .services .icon,
.project .img .icon,
.project:hover .text,
.ftco-counter .block-18.bg-primary,
.block-2 .back,
.social-media p a:hover,
.ftco-footer-social li a:hover {
	background: var(--dmc-green) !important; }

.about-wrap:after {
	border-color: var(--dmc-green) transparent transparent transparent; }

/* Barra copyright del footer */
.ftco-footer .bg-primary .aside-stretch,
.ftco-footer .bg-primary .aside-stretch:after,
.ftco-footer .bg-primary .aside-stretch:before {
	background-color: var(--dmc-green) !important; }

/* ---- Pulsanti ---- */
.btn.btn-primary,
.btn-primary {
	background: var(--dmc-green) !important;
	border-color: var(--dmc-green) !important;
	color: #fff !important; }

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-custom:hover {
	background: var(--dmc-green-dark) !important;
	border-color: var(--dmc-green-dark) !important;
	color: #fff !important; }

.btn.btn-primary.btn-outline-primary,
.btn.btn-white.btn-outline-primary,
.btn.btn-black.btn-outline-primary {
	background: transparent !important;
	border-color: var(--dmc-green) !important;
	color: var(--dmc-green) !important; }

.btn.btn-primary.btn-outline-primary:hover,
.btn.btn-white.btn-outline-primary:hover,
.btn.btn-black.btn-outline-primary:hover {
	background: var(--dmc-green) !important;
	color: #fff !important; }

/* ---- Certificazioni (sezione home) ---- */
.ftco-certifications .cert-logo {
	max-height: 130px;
	width: auto;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: .75;
	transition: all .3s ease; }

.ftco-certifications .cert-logo:hover {
	-webkit-filter: none;
	filter: none;
	opacity: 1; }

/* ---- Certificazioni (loghi nel footer) ---- */
.footer-certifications .footer-cert-title {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px; }

.footer-certifications .footer-cert-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 4px;
	padding: 4px 6px; }

.footer-certifications .footer-cert-logo img {
	height: 28px !important;
	max-height: 28px !important;
	width: auto !important;
	max-width: 70px !important;
	object-fit: contain; }


