/*
Theme Name: Apelle uno
Author: DevFabio
Author URI: https://inventyourtrade.it/
Description: A simple, clean Bootstrap theme with a modern look: post lists as cards, a customizable accent colour, block styles (Hero, Card, Soft box, Highlighted box, Cards for Latest Posts) and ready-made block patterns for home, contact and news pages.
Version: 1.3.0
Requires at least: 5.5
Tested up to: 7.1
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: apelle-uno
Tags: blog, grid-layout, custom-colors, custom-menu, custom-logo, custom-header, custom-background, featured-images, right-sidebar, sticky-post, full-width-template, block-patterns, block-styles, editor-style, threaded-comments, translation-ready, footer-widgets
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.wp-caption{
	max-width:100%;
	}
.wp-caption-text{}
.sticky{
    border: 1px solid #dee2e6;
    border-color: #005cbf;
    text-align: center;
  }
.screen-reader-text{}
.gallery-caption{}
.bypostauthor{}
.alignright{ text-align:right;}
.alignleft{ text-align:left;}
.aligncenter{ text-align:center; }

a:hover {
    
    text-decoration: none !important;
}
ul.children{ 
display:none}
.c-site-tools__item--burger {
    display: none;
}
@media only screen and (max-width: 992px)
{
.c-site-tools__item--burger {
    display: inline-block !important;
}
}
img{ max-width:100%!important;}
h1{
	    overflow-wrap: break-word;}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    /*top: 0;
    left: 100%;
    margin-top: -9px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;*/
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

 .dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  display:none;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

body.admin-bar nav.fixed-top {
	top:28px;}
li.widget {
	list-style: none;
	}
#apelleuno-sidebar-laterale{
	    padding: 2px;
		padding-top: 12px;}
#apelleuno-sidebar-laterale  ul{
	    padding: 2px;}
#apelleuno-sidebar-laterale  li{
	    list-style: none;}
		
		
#container-apelleuno-footer-1 ul li ul{
	    padding: 2px;
		}
#container-apelleuno-footer-1 ul li ul li {
		list-style: none;}
#container-apelleuno-footer-1 ul li ul li a{
		color: #6c757d!important;}
		
#container-apelleuno-footer-2 ul li ul{
	    padding: 2px;
		}
#container-apelleuno-footer-2 ul li ul li {
		list-style: none;}
#container-apelleuno-footer-2 ul li ul li a{
		color: #6c757d!important;}
		
#container-apelleuno-footer-3 ul li ul{
	    padding: 2px;
		}
#container-apelleuno-footer-3 ul li ul li {
		list-style: none;}
#container-apelleuno-footer-3 ul li ul li a{
		color: #6c757d!important;}
.apelle-uno-header-image{
	text-align:center;}
.apelleuno-menu.show {
    display: inline-flex;
}

.apelleuno-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
.skip-link {
	left: -9999rem;
	top: 1em;
	z-index: 999999;
	text-decoration: underline;
}
.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	padding: 15px 23px 14px;
	background: #f1f1f1;
	color: #21759b;
	z-index: 100000;
	text-decoration: none;
	outline: none;
}

/* Modal layering (moved from inline templates) */
#contenuto-centrale.l-takeover__content { z-index: unset; }
#contenuto-menu-sinistro.l-takeover__wrapper { position: absolute; z-index: 99; background-color: rgba(26,26,26,0.7); }
#mappa-di-sfondo.l-takeover__media:before { z-index: 0; }
.modal-backdrop { z-index: 10; }

/* ==========================================================
 * 1.3.0 - Modern look
 * Colours: --apelleuno-accent and --apelleuno-highlight come from
 * Appearance > Customize > Colors (see assets/css/blocks.css).
 * ========================================================== */
body {
	color: #23202b;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--apelleuno-accent-2, #6a43a3);
}
a:hover,
a:focus {
	color: var(--apelleuno-accent, #4b2a7b);
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	font-weight: 700;
}
.apelleuno-main {
	padding-top: 1.75rem;
	padding-bottom: 2rem;
}

/* Buttons */
.btn-apelleuno {
	background-color: var(--apelleuno-accent, #4b2a7b);
	border-color: var(--apelleuno-accent, #4b2a7b);
	color: #fff;
	font-weight: 600;
	border-radius: 8px;
	padding: .5rem 1.1rem;
}
.btn-apelleuno:hover,
.btn-apelleuno:focus {
	background-color: var(--apelleuno-accent-2, #6a43a3);
	border-color: var(--apelleuno-accent-2, #6a43a3);
	color: #fff;
}
.btn-apelleuno:focus,
.wp-block-button__link:focus,
a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--apelleuno-highlight, #f2c14e);
	outline-offset: 2px;
	box-shadow: none;
}

/* Archive header */
.apelleuno-archive-header {
	background: linear-gradient(135deg, var(--apelleuno-accent, #4b2a7b) 0%, var(--apelleuno-accent-2, #6a43a3) 100%);
	color: #fff;
	border-radius: 14px;
	padding: 1.5rem 1.8rem;
	margin-bottom: 1.6rem;
}
.apelleuno-archive-title {
	color: #fff;
	font-size: 1.7rem;
	margin: 0;
}
.apelleuno-archive-description {
	margin-top: .5rem;
	opacity: .92;
}
.apelleuno-archive-description p:last-child {
	margin-bottom: 0;
}

/* Post cards */
.apelleuno-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.4rem;
	margin-bottom: 2rem;
}
.apelleuno-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--apelleuno-line, #e4e0ea);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--apelleuno-shadow, 0 2px 10px rgba(40, 20, 70, .07));
	transition: box-shadow .2s ease, transform .2s ease;
}
.apelleuno-card:hover {
	box-shadow: 0 8px 24px rgba(40, 20, 70, .12);
	transform: translateY(-2px);
}
.apelleuno-card.sticky {
	border: 2px solid var(--apelleuno-highlight, #f2c14e);
	text-align: left;
}
.apelleuno-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--apelleuno-accent-soft, #f6f3fa);
}
.apelleuno-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.apelleuno-card__body {
	padding: 1.1rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.apelleuno-card__meta,
.apelleuno-entry__meta {
	font-size: .82rem;
	color: var(--apelleuno-muted, #625d6e);
	margin-bottom: .35rem;
}
.apelleuno-card__meta a,
.apelleuno-entry__meta a {
	color: inherit;
	font-weight: 600;
}
.apelleuno-card__title {
	font-size: 1.2rem;
	margin: 0 0 .5rem;
}
.apelleuno-card__title a {
	color: var(--apelleuno-accent, #4b2a7b);
}
.apelleuno-card__excerpt {
	font-size: .95rem;
	color: #3d3947;
}
.apelleuno-card__excerpt p:last-child {
	margin-bottom: 0;
}
.apelleuno-card__more {
	margin: 1rem 0 0;
	margin-top: auto;
	padding-top: 1rem;
}

/* Single entry */
.apelleuno-entry__header {
	margin-bottom: 1.2rem;
}
.apelleuno-entry__title {
	color: var(--apelleuno-accent, #4b2a7b);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin: 0 0 .3rem;
}
.apelleuno-entry__image {
	margin: 0 0 1.5rem;
}
.apelleuno-entry__image img {
	border-radius: 14px;
	width: 100%;
	height: auto;
}
.apelleuno-entry__content > * + * {
	margin-top: 1rem;
}
.apelleuno-entry__content h2,
.apelleuno-entry__content h3 {
	color: var(--apelleuno-accent, #4b2a7b);
	margin-top: 2rem;
}
.apelleuno-entry__content table {
	width: 100%;
	border-collapse: collapse;
}
.apelleuno-entry__content th,
.apelleuno-entry__content td {
	border-bottom: 1px solid var(--apelleuno-line, #e4e0ea);
	padding: .5rem .6rem;
	text-align: left;
}
.apelleuno-entry__footer {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--apelleuno-line, #e4e0ea);
}
.apelleuno-tags a {
	display: inline-block;
	background: var(--apelleuno-accent-soft, #f6f3fa);
	color: var(--apelleuno-accent, #4b2a7b);
	border-radius: 999px;
	padding: .15rem .7rem;
	margin: 0 .3rem .3rem 0;
	font-size: .85rem;
}
.apelleuno-comments-button {
	margin-top: 2rem;
}

/* Pagination */
.apelleuno-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	justify-content: center;
}
.apelleuno-pagination .page-numbers {
	display: inline-block;
	min-width: 2.4rem;
	padding: .4rem .8rem;
	border: 1px solid var(--apelleuno-line, #e4e0ea);
	border-radius: 8px;
	text-align: center;
	color: var(--apelleuno-accent, #4b2a7b);
}
.apelleuno-pagination .page-numbers.current {
	background: var(--apelleuno-accent, #4b2a7b);
	border-color: var(--apelleuno-accent, #4b2a7b);
	color: #fff;
}

/* Forms: search, comments and contact form plugins */
.apelleuno-main input[type="text"],
.apelleuno-main input[type="email"],
.apelleuno-main input[type="url"],
.apelleuno-main input[type="tel"],
.apelleuno-main input[type="search"],
.apelleuno-main input[type="password"],
.apelleuno-main input[type="number"],
.apelleuno-main select,
.apelleuno-main textarea,
.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="url"],
.modal-body textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid #cfc8db;
	border-radius: 8px;
	padding: .55rem .7rem;
	font: inherit;
	background: #fff;
}
.apelleuno-main input:focus,
.apelleuno-main select:focus,
.apelleuno-main textarea:focus,
.modal-body input:focus,
.modal-body textarea:focus {
	outline: none;
	border-color: var(--apelleuno-accent, #4b2a7b);
	box-shadow: 0 0 0 3px var(--apelleuno-accent-soft, #f6f3fa);
}
.apelleuno-main input[type="submit"],
.modal-body input[type="submit"],
.search-form .search-submit {
	background: var(--apelleuno-accent, #4b2a7b);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: .6rem 1.3rem;
	font-weight: 600;
	cursor: pointer;
}
.apelleuno-main input[type="submit"]:hover,
.modal-body input[type="submit"]:hover {
	background: var(--apelleuno-accent-2, #6a43a3);
}
.apelleuno-main label {
	font-weight: 600;
}
.search-form {
	display: flex;
	gap: .5rem;
	max-width: 480px;
}
.search-form label {
	flex: 1;
	margin: 0;
}

/* Sidebar */
.apelleuno-sidebar #apelleuno-sidebar-laterale {
	background: var(--apelleuno-accent-soft, #f6f3fa);
	border-radius: 14px;
	padding: 1.2rem 1.3rem;
	margin-top: 1rem;
}
.apelleuno-sidebar .widgettitle {
	font-size: 1.05rem;
	color: var(--apelleuno-accent, #4b2a7b);
}

/* 404 and empty results */
.error-404,
.apelleuno-empty {
	background: var(--apelleuno-accent-soft, #f6f3fa);
	border-radius: 14px;
	padding: 2rem;
	margin: 2rem 0;
}
.error-404 .page-title {
	color: var(--apelleuno-accent, #4b2a7b);
}

/* Footer */
footer.border-top {
	border-color: var(--apelleuno-line, #e4e0ea) !important;
}
footer .widgettitle {
	color: var(--apelleuno-accent, #4b2a7b);
	font-size: 1rem;
}

@media (max-width: 575px) {
	.apelleuno-archive-header {
		padding: 1.2rem;
	}
	.apelleuno-cards {
		grid-template-columns: 1fr;
	}
}

/* Widget titles (classic and block widgets) */
.apelleuno-sidebar h2,
.apelleuno-sidebar .wp-block-heading,
footer .wp-block-heading,
footer h2 {
	font-size: 1.1rem;
	color: var(--apelleuno-accent, #4b2a7b);
	margin: 1rem 0 .5rem;
}
.apelleuno-sidebar li > *:first-child,
footer li.widget > *:first-child {
	margin-top: 0;
}
.apelleuno-sidebar ul ul,
footer ul ul {
	padding-left: 0;
	list-style: none;
}
