/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
	--scroll-w: .001px;
	--sticky-nav-w: .001px;
    --form-height: 42px;
    --form-brd-width: 2px;
    --form-brd-color: rgba(0, 0, 0, 0.1);
    /* --form-brd-color-focus: rgba(0, 0, 0, 0.15); */
    --form-brd-color-focus: var(--ast-global-color-0);
    --form-brd-radius: 5px;
    --form-bg: transparent;
    --form-color: inherit;
    --form-placeholder-color: inherit;
    --form-chevron: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==);
    --bgcolor-white: #fff;
    --btn-default-bgcolor: #F7F7F7;
    --btn-default-bgcolor-hover: #EFEFEF;
    --btn-default-color: #333;
    --btn-default-color-hover: #333;
    --btn-default-brd-radius: 25px;
    --btn-default-box-shadow: none;
    --btn-default-box-shadow-hover: none;
    --btn-default-brd-width: 0;
    --btn-default-brd-style: solid;
    --btn-default-brd-color: #E9E9E9;
    --btn-default-brd-color-hover: #EFEFEF;
    --btn-default-font-size: 13px;
    --btn-default-transform: uppercase;
    --btn-default-font-weight: 600;
    --btn-default-font-family: inherit;
    --btn-default-font-style: unset;
    --btn-default-padding: 5px 20px;
    --btn-default-height: 42px;
    --btn-bgcolor: var(--ast-global-color-0);
    --btn-bgcolor-hover: var(--ast-global-color-6);
    --btn-color: #FFF;
    --btn-color-hover: #FFF;
    --btn-brd-radius: 5px;
    --btn-box-shadow: none;
    --btn-box-shadow-hover: none;
    --btn-brd-width: 0;
    --btn-brd-style: solid;
    --btn-brd-color: var(--ast-global-color-0);
    --btn-brd-color-hover: var(--ast-global-color-0);
    --btn-font-size: 0;
    --btn-transform: uppercase;
    --btn-font-weight: 600;
    --btn-font-family: inherit;
    --btn-font-style: unset;
    --btn-padding: 5px 20px;
    --btn-height: 42px;
}

html { overflow-x: hidden; }

:root textarea {
    overflow: auto;
    padding: 10px 15px;
    min-height: 190px;
    resize: vertical; }

:root select {
    padding-right: 30px;
    background-image: var(--form-chevron);
    background-position: right 10px top 50%;
    background-size: auto 18px;
    background-repeat: no-repeat; }

:root select option { background-color: var(--bgcolor-white); }

p, .entry-content p { text-align: justify; }

input[type='email'],
input[type='search'],
input[type='number'],
input[type='url'],
input[type='tel'],
input[type='text'],
input[type='password'],
:root textarea,
:root select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
:root textarea,
:root select {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    height: var(--form-height);
    border: var(--form-brd-width) solid var(--form-brd-color);
    border-radius: var(--form-brd-radius);
    background-color: var(--form-bg);
    box-shadow: none;
    color: var(--form-color);
    vertical-align: middle;
    font-size: 14px;
    transition: border-color .5s ease; }

input[type='email']:focus,
input[type='date']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='text']:focus,
input[type='tel']:focus,
input[type='url']:focus,
input[type='password']:focus,
:root textarea:focus,
:root select:focus {
    outline: none;
    /* border-color: var(--form-brd-color-focus); */
    transition: border-color .4s ease;
    border: var(--form-brd-width) solid var(--form-brd-color-focus) !important; }

::-webkit-input-placeholder { color: var(--form-placeholder-color); }
::-moz-placeholder { color: var(--form-placeholder-color); }
:-moz-placeholder { color: var(--form-placeholder-color); }

input[type="radio"],
input[type="checkbox"] {
    box-sizing: border-box;
    margin-top: 0;
    padding: 0;
    vertical-align: middle;
    margin-inline-end: 5px; }

input[type="search"] { box-sizing: border-box; -webkit-appearance: textfield; }

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

input[type="number"] { padding: 0; text-align: center; }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { height: auto; }

input[type="date"]::-webkit-inner-spin-button { display: none; }

input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; }

input[type="date"]::-webkit-clear-button {
    position: relative;
    right: 5px;
    width: 30px;
    opacity: .4;
    filter: grayscale(100%); }

input[type="date"]::-webkit-date-and-time-value { text-align: start; }

@supports not (-moz-appearance: none) {
    input[type="date"] {
        background:no-repeat url("../../inc/admin/assets/images/calend-d.svg") right 15px top 50%;
        background-size: auto 14px; }
}

input:-webkit-autofill {
    border-color: var(--form-brd-color);
    -webkit-box-shadow: 0 0 0 1000px var(--form-bg) inset;
    -webkit-text-fill-color: var(--form-color); }

input:focus:-webkit-autofill { border-color: var(--form-brd-color-focus); }

a,
button,
input { touch-action: manipulation; }

button,
input,
optgroup,
select,
textarea { margin: 0; color: inherit; font: inherit; }

button { overflow: visible; }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

button::-moz-focus-inner,
input::-moz-focus-inner { padding: 0; border: 0; padding: 0; border: 0; }

button[disabled],
input[disabled] { opacity: 0.6 !important; cursor: default !important; }

.btn-cookie { color: #fff; }
.btn-cookie:hover { background-color: var(--ast-global-color-6); }

.bandi-search-form :is(.btn,.button,button,[type=submit],[type=button]) {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none;
    border-radius: var(--btn-brd-radius, var(--btn-default-brd-radius));
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    line-height: 1.2;
    cursor: pointer;
    transition: all .25s ease;
    color: var(--btn-color, var(--btn-default-color));
    border: var(--btn-brd-width, var(--btn-default-brd-width)) var(--btn-brd-style, var(--btn-default-brd-style,)) var(--btn-brd-color, --btn-default-brd-color);
    background-color: var(--btn-bgcolor, var(--btn-default-bgcolor));
    box-shadow: var(--btn-box-shadow, var(--btn-default-box-shadow));
    text-transform: var(--btn-transform, var(--btn-default-transform));
    font-weight: var(--btn-font-weight, var(--btn-default-font-weight));
    font-family: var(--btn-font-family, var(--btn-default-font-family));
    font-style: var(--btn-font-style, var(--btn-default-font-style));
    padding: var(--btn-padding, var(--btn-default-padding));
    min-height: var(--btn-height, var(--btn-default-height));
    font-size: var(--btn-font-size, var(--btn-default-font-size));
    width: 100% }

.bandi-search-form :is(.btn,.button,button,[type=submit],[type=button]):hover {
    color: var(--btn-color-hover, var(--btn-default-color-hover));
    border-color: var(--btn-brd-color-hover, var(--btn-default-brd-color-hover));
    background-color: var(--btn-bgcolor-hover, var(--btn-default-bgcolor-hover));
    box-shadow: var(--btn-box-shadow-hover, var(--btn-default-box-shadow-hover)); }

.primary-color { color: var(--ast-global-color-0); }

a:focus-visible, a:focus, [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus { outline: none !important; }

.table-responsive { display: block; width: 100%; overflow-x: auto; }

input:focus, input[type="search"]:focus,
.ast-menu-toggle:focus,
[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus { border: none; }

.ast-nav-menu button { box-shadow: none; }

@media (min-width: 922px) {
    .site-content .ast-container { flex-direction: column; }
}

/* Header */
.ast-primary-header-bar .site-logo-img { display: none; }

.ast-header-search .astra-search-icon {
    background: var(--ast-global-color-0);
    padding: 10px;
    border-radius: 50%;
    line-height: 0; }

.ast-header-break-point .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle { line-height: 2.5; }
.ast-menu-toggle:focus { outline: none; }


@media (max-width: 1200px) {
	.main-header-menu .menu-link { font-size: 14px; padding: 0 .5em !important; }
}
@media (max-width: 1030px) {
	.main-header-menu .menu-link { font-size: 14px; padding: 0 .25em !important; }
	.ast-icon.icon-arrow svg { margin-left: 5px; }
}
.sub-menu { border-top-width: 3px !important; background-color: var(--ast-global-color-5) !important; }
.main-header-menu .sub-menu .menu-link { padding: .5em 1em; }
.astra-search-icon .icon-search svg { height: 1.2em; width: 1.2em; }

/* Footer */
.site-footer .ast-builder-grid-row-container-inner { padding-left: 20px; padding-right: 20px; }
.footer-widget-area .textwidget,
.footer-widget-area h2.widget-title { color: var(--ast-global-color-4); }
.ast-footer-copyright ul {
	list-style-type: none;
	margin: 0;
	display: inline-flex;
	font-size: 15px; }
@media (max-width: 921px) {
	.ast-footer-copyright ul { flex-direction: column; }
}
@media (min-width: 921px) {
	.ast-footer-copyright li:not(:last-child) a { border-right: 1px solid #fff; }
}
.ast-footer-copyright a { color: #fff !important; padding: 0 15px; }

.footer-widget-area a { color: #fff !important; }

/* Custom edits */
.cover {
    position: relative;
    background-size: cover;
    background-position: center center;
	background-repeat: no-repeat;
    padding: 100px 0; }
.cover .title {
	color: #fff;
	font-weight: 700;
    font-size: 36px;
    text-align: center;
	margin-bottom: 0; }

.cover .subtitle {
    color: #fff;
    font-weight: 700;
    font-size: 25px;
    text-align: center;
    margin-top: 20px; }

.page-breadcrumbs { background-color: var(--ast-global-color-5) }
.page-breadcrumbs .ast-breadcrumbs { padding: 10px 0; }
.page-breadcrumbs .ast-breadcrumbs .trail-items:before {
	content: 'Sei in: ';
	font-weight: 700; }
.trail-items li::after { content: ">"; }
.page-pubblish-date {
	text-align: right;
	font-size: 14px;
    line-height: 26px;
	font-weight: 500;
    margin-bottom: 20px; }

.page-pubblish-date .ast-container { padding-inline: 0; }

.custom-subtitle { margin-top: 20px; }
.custom-subtitle h2 { font-size: 25px; }
.custom-url { display: flex; align-items: end; margin-top: 30px; }
.custom-url a { font-weight: 600; margin-left: 2px; }

/* Home */
@media (min-width: 1200px) {
    .home.ast-plain-container.ast-no-sidebar #primary { margin-top: 0; margin-bottom: 0; }
}

/* Blog */
.ast-separate-container .ast-blog-layout-4-grid .ast-article-post { padding: 0 1em; }
@media (max-width: 921px) {
    .ast-separate-container .ast-blog-layout-4-grid .ast-article-post { padding: 0; }
}

.ast-article-post .post-thumb-img-content img { object-fit: cover; display: block; }

.ast-page-builder-template .site-content > .ast-container { padding-left: 20px; padding-right: 20px; }
.ast-blog-layout-4-grid .ast-article-inner { box-shadow: none; }
.ast-article-post .ast-article-inner { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); }
.ast-article-post:hover .post-thumb-img-content img { transform: scale(1); }
.ast-article-post .post-thumb-img-content > a { position: relative; display: block; transition: transform .4s ease, opacity .4s ease; }
.ast-article-post .post-thumb-img-content > a:after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(48, 87, 75, .7);
    opacity: 0;
	transition: visibility .4s ease, opacity .4s ease; }
.ast-article-post:hover .post-thumb-img-content > a:after { opacity: 1; }
.ast-article-post .ast-blog-meta-container { font-size: 0; }
.ast-article-post .ast-blog-meta-container .posted-on { font-size: 0.8125rem; margin-bottom: 1.2em; display: block; }

.ast-article-inner, .post-content { display: flex; flex-direction: column; height: 100%; }

.ast-excerpt-container, .entry-content { flex-grow: 1; }

.post-read-more { margin-top: auto; padding-top: 15px; font-size: .9em; font-weight: 700; }

.post-read-more > a:hover { color: var(--e-global-color-astglobalcolor6); }

/* Video format */
.single-format-video .wp-video { margin: 0 auto 40px !important; }
.single-format-video .entry-content p { text-align: center; }

.post_format-post-format-video.ast-article-post .post-thumb-img-content > a:before {
    content: "\ebbd";
    font-family: boxicons;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    display: block;
    position: absolute;
    left: 1em;
    bottom: 1em;
    color: var(--ast-global-color-2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 1; }

/* Category */
.section-category-title { padding-top: 50px; }
.section-category-title h2 { text-align: center; font-size: 42px; font-weight: 300; }

@media (max-width: 921px) {
    .section-category-title h2 { font-size: 30px; }
}

/* Single */
:is(.search, .author, .archive) .ast-archive-description { display: none; }
.single .post-navigation { padding: 2em 0; border-bottom: 1px solid var(--ast-single-post-border, var(--ast-border-color)); margin-bottom: 2em; }

@media (min-width: 1200px) {
    .single.ast-plain-container.ast-no-sidebar #primary { margin-top: 30px; margin-bottom: 30px; }
}

#primary.content-area.primary { margin-block: 0 !important; padding-block: 50px !important; }
.home #primary.content-area.primary { margin-block: 0 !important; padding-block: 0 !important; }

.featured-image { margin-bottom: 50px; }

.post-navigation .nav-next a p { text-align: right; }

/* Elementor */
.full-section {
    --el-column-gap: var(--gap);
    position: relative !important;
    min-width: calc(100vw - var(--scroll-w) - var(--sticky-nav-w)) !important;
    width: calc(100vw - var(--scroll-w) - var(--sticky-nav-w)) !important;
    left: calc(50% - 50vw + var(--scroll-w) / 2 + var(--sticky-nav-w) / 2) !important; }
.full-section > .e-con-inner { padding-inline: 20px !important; }
.elementor-button { font-weight: bold !important; font-family: "Open Sans" !important; }
.elementor-image-box-title { margin-bottom: 0; }
.elementor-image-box-title a { text-decoration: none !important; }
.elementor-image-box-title { margin-bottom: 0 !important; }
.elementor-image-box-img > a { display: inline-block; }

/* Archive Bandi */
.template-bandi .row {
	display: flex;
    flex-wrap: wrap;
    flex-flow: row wrap;
    align-items: stretch;
    margin-left: -1em;
    margin-right: -1em; }
:is(.post-type-archive, .page-template) .ast-blog-layout-4-grid :is(.bandi, .cat-bandi, .altri-bandi, .cat-altri-bandi) {
    width: 33.33%;
    padding: 0 1em;
    margin-bottom: 2em;
    border-bottom: 0;
    background-color: transparent; }
@media (max-width: 921px) {
    :is(.post-type-archive, .page-template) .ast-blog-layout-4-grid :is(.bandi, .cat-bandi, .altri-bandi, .cat-altri-bandi) { width: 100%; }
}
.template-bandi .article-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-wrap: break-word;
    padding: 1.5em;
    background-color: var(--ast-global-color-4);
    background-image: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
    transition: box-shadow .35s ease; }
.template-bandi :is(.cat-bandi, .bandi, .cat-altri-bandi, .altri-bandi):hover .article-inner { box-shadow: 0 0 9px rgba(0, 0, 0, 0.2); }
.template-bandi .bandi-content { position: relative; flex: 1 1 auto; min-height: 1px; }

.status { margin-bottom: .8em; }
.status span {
    position: relative;
    font-size: 80%;
    font-weight: 600;
    padding-inline-start: 18px;
    text-transform: uppercase; }
.status .close { color: rgb(255, 0, 0); }
.status .open { color: rgb(0, 128, 16); }
.status span:before {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    transform: translate(0, -50%); }
.status .close:before {
    content: "\ec8d";
    font-family: boxicons;
    color: currentColor;
    line-height: 1;
    font-size: 18px; }
.status .open:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse-open 2s infinite; }

.template-bandi .entry-title { margin-bottom: .6em; font-size: 1.25rem; }
.template-bandi .entry-subtitle { margin-bottom: .6em; font-size: 0.9rem; color: #000; font-weight: 800;}
.template-bandi .entry-title a { text-decoration: none; }
.template-bandi .excerpt > p { font-size: 15px; margin-bottom: 0; }
.template-bandi .cat-links { display: block; margin-top: .8em; font-weight: var(--ast-blog-meta-weight, ""); }
.template-bandi .cat-links > a { display: flex; font-size: .875rem; text-decoration: none; }
.template-bandi .cat-links span { margin-inline-start: 5px; }
.template-bandi .cat-links i { margin-block-start: 4px; }
:is(.page-template-bandi-aperti, .page-template-bandi-chiusi, .tax-azioni, .page-template-altri-bandi-aperti, .page-template-altri-bandi-chiusi, .tax-settori) #primary { margin-top: 60px !important; }
 @media (max-width: 921px) {
    :is(.tax-azioni, .tax-settori).ast-separate-container .ast-blog-layout-4-grid .ast-article-post { padding: 0 1em; }
}
@media (max-width: 544px) {
    :is(.tax-azioni, .tax-settori).ast-separate-container #content .ast-container { padding-left: 20px; padding-right: 20px; }
}
/* @-webkit-keyframes pulse-close {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8); }
    70% { -webkit-box-shadow: 0 0 0 5px rgba(255, 0, 0, 0); }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}
@keyframes pulse-close {
    0% { -moz-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8); }
    70% { -moz-box-shadow: 0 0 0 5px rgba(255, 0, 0, 0); box-shadow: 0 0 0 5px rgba(255, 0, 0, 0); }
    100% { -moz-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
} */
@-webkit-keyframes pulse-open {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(0, 128, 16, 0.8); }
    70% { -webkit-box-shadow: 0 0 0 5px rgba(0, 128, 16, 0); }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(0, 128, 16, 0); }
}
@keyframes pulse-open {
    0% { -moz-box-shadow: 0 0 0 0 rgba(0, 128, 16, 0.8); box-shadow: 0 0 0 0 rgba(0, 128, 16, 0.8); }
    70% { -moz-box-shadow: 0 0 0 5px rgba(0, 128, 16, 0); box-shadow: 0 0 0 5px rgba(0, 128, 16, 0); }
    100% { -moz-box-shadow: 0 0 0 0 rgba(0, 128, 16, 0); box-shadow: 0 0 0 0 rgba(0, 128, 16, 0); }
}

/* Custom search bandi */
.bandi-search-form {
    max-width: 900px;
    width: 100%;
    margin: -50px auto 0;
    background-color: #FFF;
    padding: 25px;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.1);
    z-index: 1; }
.bandi-search-form .bandi-searchform { position: relative; display: flex; flex-wrap: wrap; gap: 5px; }
.bandi-search-form .form-column { min-width: 0; }
.bandi-search-form .form-column:nth-child(-n+3) { flex: 0 0 30%; }
.bandi-search-form .form-column:last-child { flex: 1; }
@media (max-width: 1200px) {
    .bandi-search-form { margin-bottom: 60px; }
}
@media (max-width: 921px) {
    .bandi-search-form { margin-top: 50px; margin-bottom: 25px; }
    .bandi-search-form .bandi-searchform { row-gap: 10px; }
    .bandi-search-form .form-column,
    .bandi-search-form .form-column:nth-child(-n+3),
    .bandi-search-form .form-column:last-child { flex: 1 1 100%; width: 100%; }
}
.bandi-search-form .searchsubmit { gap: 0; font-size: 0; }
.bandi-search-form .searchsubmit:before {
    font-family: boxicons;
    content: "\ebf7";
    font-weight: 400;
    font-size: 24px; }
.bandi-search-form label { font-size: 0; visibility: hidden; opacity: 0; display: none; }

:is(.page-template-ricerca-altri-bandi, .page-template-ricerca-bandi-csr) .not-found-text { margin: 0 auto; }

:is(.single-bandi, .single-altri-bandi).ast-separate-container .ast-article-post,
:is(.single-bandi, .single-altri-bandi).ast-separate-container .ast-article-single { padding: 0 !important; }

/* Single Bandi - Altri Bandi*/
.term-list {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px; }
.term-list a {
    position: relative;
    display: inline-flex;
    padding-inline: 25px 15px;
    padding-block: 5px;
    border: 1px solid var(--ast-global-color-6);
    color: var(--ast-global-color-6);
    font-weight: 600;
    font-size: 90%;
    text-decoration: none !important; }
.term-list a:hover { color: #FFF; background-color: var(--ast-global-color-6); }
.term-list a:after {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-start: 10px;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--ast-global-color-6);
    transition: background .25s ease; }
.term-list a:hover:after { background-color: #FFF; }
.type-bandi .bando-content h5 { margin-top: 0; margin-bottom: 10px; }
.page-attachments { margin-top: 30px; }
.page-attachments ul { list-style: none; padding-left: 0; }
.page-attachments ul li:not(:last-child) { margin-bottom: 5px; }
.page-attachments ul li a { font-weight: 600; vertical-align: super; font-size: 15px; }


/* Search Modal */
.search-full-screen {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    z-index: 400;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s, visibility 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translate3d(0, 100%, 0); }

.search-full-screen .close-search { position: absolute; top: 0; right: 0; }

.search-full-screen .close-search a { width: 100px; height: 100px; display: flex; justify-content: center; align-items: center; }

.search-full-screen .close-search .ast-icon svg { height: 38px; width: 38px; fill: #000; }

.search-opened { overflow: hidden; }

.admin-bar .search-full-screen { top: 32px; }
@media(max-width:782px) {
    .admin-bar .search-full-screen { top: 46px; }
}

.search-full-screen.opened {
    visibility: visible;
    opacity: 1;
    transition: opacity 0s, visibility 0s, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform: none; }

.search-full-screen .search-form { max-width: 700px; width: 100%; }
.search-full-screen .search-form .search-field { --form-height: 110px; border-width: 0 0 var(--form-brd-width) !important; border-radius: 0; font-size: 48px; text-align: center; }
.search-full-screen .search-form .ast-search-submit,
.search-form input.search-submit { display: none; }
.widget_search .search-form .search-field { background: transparent; border-width: var(--form-brd-width); border-color: var(--form-brd-color); padding: 0 15px; }

.widget_search .search-form .search-field button { box-shadow: none; }
.widget_search .search-form .search-field .ast-icon.icon-search svg { margin: 0; }

@media(max-width:922px) {
    .search-full-screen .search-form .search-field { font-size: 25px; }
    .search-full-screen .close-search .ast-icon svg { height: 25px; width: 325px; }
    .search-full-screen .search-form .search-field { --form-height: 60px; }
}

.ast-icon.icon-search svg {
    height: 1em;
    width: 1em;
    margin-top: 0;
    margin-right: 0; }

.widget_search .search-form button {
    position: absolute;
    top: -11px;
    right: 0;
    height: 45px;
    background-color: var(--ast-global-color-1);
    padding: 16px;
    border-radius: 5px; }

.widget_search .search-form i {
    color: #FFF; }

/* Gallery */
.gallery { display: grid; gap: 10px; }
  
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
  
/* Responsive sotto i 768px */
@media (max-width: 768px) {
    .gallery-columns-2,
    .gallery-columns-3,
    .gallery-columns-4,
    .gallery-columns-5 { grid-template-columns: repeat(2, 1fr); }
}
  
@media (max-width: 480px) {
    .gallery-columns-2,
    .gallery-columns-3,
    .gallery-columns-4,
    .gallery-columns-5 { grid-template-columns: 1fr; }
}
  
/* Fade-in animato */
.fade-in-img {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease; }

.fade-in-img-loaded {
    opacity: 1;
    transform: scale(1); }

/* Uniformità e taglio */
.gallery a {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block; }

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }

/* PhotoSwipe gallery */
.pswp__bg { opacity: .9 !important; }

#load-more-bandi .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5em;
    vertical-align: middle; }

#load-more-bandi.loading .spinner { display: inline-block;}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#load-more-bandi {
    background-color: transparent;
    color: var(--ast-global-color-0);
    border: 2px solid var(--ast-global-color-0);
    text-transform: uppercase;
    transition: all .25s ease; }

#load-more-bandi:hover { color: #fff; background-color: var(--ast-global-color-0); }

.cmplz-link.cmplz-manage-third-parties { display: none; }
