/**
Theme Name: RS Retail Servizi
Author: Kotuko
Author URI: https://kotuko.it
Description: Child 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: rs-retail-servizi
Template: astra
*/

:is(.fe-hide, .fe-hide *) {
	display: none !important;
}

.entry-content #iscrizione {
	scroll-margin-top: 120px;
	scroll-padding-top: 120px;
}

#ast-scroll-top {
    bottom: 90px;
    right: 18px;
}

.form-fields {
    display: flex;
    flex-direction: column;
	gap: 1rem;
}

.form-fields .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 1rem;
}

.form-fields .row.full {
    grid-template-columns: 1fr;
}

.event-subscription-form form {
    width: min(1000px, 95%);
    margin-inline: auto;
    padding: 2rem;
    border: 2px solid var(--ast-global-color-0);
}

:is(.btn-iscrizione a, .btn-iscrizione a svg) {
    transition: 200ms ease-in-out !important;
}

.btn-iscrizione a:hover svg {
    transform: rotate(45deg);
}

/* STATO EVENTO NELLA CARD */
.cardhover .uagb-button__link {
    text-align: left;
}

/* ETICHETTA STATO EVENTO */
.event-status {
    position: absolute !important;
    right: 0;
    top: 0;
    width: 100% !important;
    text-align: right;
    padding: 0.5rem !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.event-status p {
    padding: 0.5rem 0.75rem;
    background-color: #f39200;
    width: max-content;
    color: #fff;
    font-size: 0.75rem !important;
    line-height: 1;
}

/* ETICHETTA TIPO EVENTO */
.event-type {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 100% !important;
    text-align: left;
    padding: 0.5rem !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.event-type p {
    padding: 0.5rem 0.75rem;
    background-color: #002d51;
    width: max-content;
    color: #fff;
    font-size: 0.75rem !important;
    line-height: 1;
}

/* FORM FOOTER MESSAGGIO SUCCESS */
.footer-form-container form .wpcf7-response-output {
    background-color: #fff;
    border: none;
    outline: 4px solid #46b450;
    box-shadow: 0px 2px 12px rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
    font-size: 0.85rem;
    position: relative;
}