/*

Tooplate 2131 Wedding Lite

https://www.tooplate.com/view/2131-wedding-lite

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #ff9142;
    --secondary-color: #fbcb74;
    --section-bg-color: #f9f9f9;
    --custom-btn-bg-color: #cb7575;
    --dark-color: #000000;
    --p-color: #717275;
    --border-color: #e9eaeb;
    --icon-color: #28856b;
    --form-color: #212529;
    --placeholder-color: #6c757d;

    --body-font-family: 'Source Sans Pro', sans-serif;
    --title-font-family: 'Amatic SC', cursive;

    --h1-font-size: 72px;
    --h2-font-size: 48px;
    --h3-font-size: 36px;
    --h4-font-size: 32px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 20px;
    --menu-font-size: 14px;
    --copyright-font-size: 16px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

html,
body {
    overflow-x: hidden;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);
}


/*---------------------------------------
    TYPOGRAPHY
  -----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--title-font-family);
    font-weight: var(--font-weight-bold);
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
    color: var(--secondary-color);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
    line-height: normal;
}

h6 {
    font-size: var(--h6-font-size);
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    color: var(--p-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
}

::selection {
    background: var(--secondary-color);
    color: var(--white-color);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--white-color);
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

.custom-icon {
    color: var(--icon-color);
}

.section-bg {
    background: var(--section-bg-color);
}

.bg-timeline {
    background: var(--section-bg-color);
}

.section-padding {
    padding-top: 30px;
    padding-bottom: 30px;
    scroll-margin-top: 80px;
}

.section-block {
    padding: 20px;
}

.section-divider {
    background: var(--border-color);
    width: 1px;
    height: 50%;
    margin: auto;
}


/*---------------------------------------
    SECTION TITLE
  -----------------------------------------*/
.section-title-wrap {
    display: block;
    margin: auto;
    position: relative;
    text-align: center;
}

.section-title-line {
    background: var(--border-color);
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 2px;
    margin: 0 auto;
}

.section-title-icon {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}


/*---------------------------------------
    PRE LOADER
  -----------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 var(--white-color);
}

.spinner {
    animation: pulse 1s infinite ease-in-out alternate;
}

.spinner svg {
    fill: var(--primary-color);
    font-size: var(--h4-font-size);
}

@keyframes pulse {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1.2);
    }
}


/*---------------------------------------
    IMAGE HOVER
  -----------------------------------------*/
.image-hover-thumb {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.image-hover-thumb:hover .img-fluid {
    transform: scale(1.05);
}

.image-hover-thumb .img-fluid {
    border-radius: var(--border-radius-small);
    display: block;
    transition: all 0.5s;
}


/*---------------------------------------
    CUSTOM BUTTON
  -----------------------------------------*/
.custom-btn {
    background: var(--custom-btn-bg-color);
    border: 0;
    color: var(--white-color);
    font-family: var(--title-font-family);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    padding: 12px 24px;
}

.custom-btn::after {
    content: "";
    background: var(--icon-color);
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    position: absolute;
    top: 0;
    right: -10px;
    width: 30px;
    height: 20px;
    transform: translateY(-100%);
    transition: all 0.5s;
}

.custom-btn:hover::after {
    transform: translate(0);
}

.custom-btn:hover {
    background: var(--secondary-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    color: var(--white-color);
}


/*---------------------------------------
    NAVIGATION
  -----------------------------------------*/
.sticky-wrapper {
    min-height: 98px;
}

.navbar {
    position: absolute;
    z-index: 9;
    right: 0;
    left: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.is-sticky .navbar {
    background: var(--white-color);
}

.navbar-brand {
    font-family: var(--title-font-family);
    font-size: var(--h4-font-size);
    font-weight: var(--font-weight-bold);
}

.navbar-brand,
.navbar-brand:hover {
    color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    margin-right: 20px;
    margin-left: 20px;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--custom-btn-bg-color);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--dark-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--dark-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

.special-item {}

.special-link {
    background-color: var(--primary-color);
    border-radius: 15px;
    width: 135px;
    text-align: center;
    color: white !important;
    font-family: 'Amatic SC';
    font-size: 26px !important;
    font-weight: bold !important;
    letter-spacing: 0.05em;
    line-height: 23px;
}

/*---------------------------------------
    HERO
  -----------------------------------------*/
.hero-container {
    height: 100vh;
    background: url('../images/cover/Texturelabs_Wood_150M.jpg?v=1.0.0') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.hero-container h2 {
    color: var(--custom-btn-bg-color);
}

.hero-container .image-container {
    width: 50%;
    height: 85%;
    background-size: contain;
    background-repeat: no-repeat;
    flex: 1;
    margin-top: auto;
    margin-bottom: auto;

}

@media screen and (orientation: portrait) {
    .d-md-flex { display: none !important; }
    .d-md-none { display: flex !important; }
}

@media screen and (orientation: landscape) {
    .d-md-none { display: none !important; }
    .d-md-flex { display: flex !important; }
}

@media screen and (min-height: 796px) {
    .hero-container .image-container {

        height: 677px;
    }
    .hero-container .image-left {
        margin-bottom: auto !important;
    }
}

.hero-container .image-left {
    background-image: url('../images/cover/savethedate_cal.png?v=1.0.0');
    transform: rotate(-6deg);
    transform-origin: right;
    background-position: right;
    margin-right: 6vh;
    margin-bottom: 11vh;
}

.hero-container .image-right {
    background-image: url('../images/cover/savethedate_pic.png?v=1.0.0');
    background-position: left;
    margin-left: 6vh;

}

.hero-container .image-mobile {
    background-image: url('../images/cover/cover_mobile_risto_light.png?v=1.0.0');

    width: 50%;
    height: 95%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex: 1;
    margin-top: auto;
    margin-bottom: auto;
    transform: rotate(3deg);
}


/*---------------------------------------
    SAVE THE DATE
  -----------------------------------------*/
.save-the-date-thumb {
    background: var(--white-color);
    border-radius: var(--border-radius-small);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.save-the-date-title {
    background: var(--primary-color);
    color: var(--white-color);
    margin-bottom: 0;
    padding: 10px 20px;
}

.save-the-date-body {
    padding: 15px 20px;
}

/*---------------------------------------
    THE WEDDING
  -----------------------------------------*/
.google-map {
    border-radius: var(--border-radius-small);
    display: block;
    line-height: normal;
}


/*---------------------------------------
    ABOUT
  -----------------------------------------*/
.about-info-wrap {
    height: 100%;
    padding: 20px;
}

.about-tag {
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
}

.nav-tabs {
    border-bottom: 0;
    margin-top: 20px;
}

.nav-tabs .nav-link {
    color: var(--p-color);
    display: block;
    text-align: left;
}

.nav-tabs .nav-link {
    border-radius: 0;
    border: 0;
    border-right: 2px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.nav-tabs .nav-link:last-child {
    border-bottom: 0;
}

.nav-tabs .nav-link::after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 19px;
    height: 19px;
    background: transparent;
    text-indent: -9999px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    transition: all 250ms ease-in-out;
    text-decoration: none;
    color: transparent;
    top: 50%;
    right: -11px;
    transform: translate(0, -50%) rotate(135deg);
}

.nav-tabs .nav-link.active::after {
    background: var(--white-color);
    border-top-color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus {
    border-color: var(--border-color);
    border-right-color: var(--secondary-color);
}

.nav-tabs .nav-link.active h3,
.nav-tabs .nav-link:focus h3,
.nav-tabs .nav-link:hover h3 {
    color: var(--primary-color);
}


/*---------------------------------------
    GALLERY
  -----------------------------------------*/
.gallery-thumb,
.people-thumb {
    margin-bottom: 24px;
}

.gallery-thumb-small {
    height: 100%;
}

.gallery-thumb-small .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icon-wrap-left {
    margin-left: auto;
}

.social-icon-wrap {
    margin-right: auto;
}

/*---------------------------------------
    RSVP
  -----------------------------------------*/
.rsvp-section {
    background-image: url('../images/sedie.jpg?v=1.0.0');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.rsvp-form-wrap {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 50px;
}

@media screen and (max-width: 992px) {
    .rsvp-form-wrap {
        padding: 25px;
    }
}


/*---------------------------------------
    CUSTOM FORM
  -----------------------------------------*/
.custom-form .form-control {
    background: var(--white-color);
    box-shadow: none;
    border: 2px solid var(--border-color);
    color: var(--form-color);
    font-weight: var(--font-weight-light);

    padding-top: 12px;
    padding-bottom: 12px;
    outline: none;
    transition: all 0.5s;
}

.form-control::placeholder {
    color: var(--p-color);
    font-weight: 100;
    font-style: italic;
}

.placeholder-option {
    font-style: italic;
    color: var(--p-color);
    font-weight: 100;
    font-style: italic;
}

.form-select {
    border: 2px solid var(--border-color);

    margin-bottom: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
    background: var(--section-bg-color);
    border-color: var(--border-color);
}

.custom-form button {
    background: var(--primary-color) !important;
    border: none !important;
    color: var(--white-color) !important;
    font-size: var(--p-font-size) !important;
    font-family: var(--title-font-family) !important;
    font-weight: var(--font-weight-bold) !important;
    transition: all 0.3s !important;
    margin-bottom: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.custom-form button:hover,
.custom-form button:focus {
    background: var(--secondary-color) !important;
    border-color: transparent;
}

.custom-form button::after {
    content: "";
    background: var(--primary-color);
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    position: absolute;
    top: 0;
    right: -10px;
    width: 30px;
    height: 20px;
    transform: translateY(-100%);
    transition: all 0.5s;
}

.custom-form button:hover::after {
    transform: translate(0);
}


/*---------------------------------------
    SITE FOOTER
  -----------------------------------------*/
.site-footer {
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 35px;
    padding-bottom: 35px;
    text-align: center;
    position: relative;
}

.site-footer::after {
    content: "";
    background: var(--dark-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.65;
    pointer-events: none;
}

.site-footer .navbar-brand {
    color: var(--white-color);
    position: relative;
    z-index: 2;
}

.copyright-text {
    font-size: var(--copyright-font-size);
}


/*---------------------------------------
    SOCIAL ICON
  -----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--secondary-color);
    border-radius: var(--border-radius-large);
    font-size: var(--menu-font-size);
    color: var(--dark-color);
    display: inline-block;
    vertical-align: top;
    margin: 2px;
    width: 30px;
    line-height: 30px;
    line-height: 30px;
    text-align: center;
}

.social-icon-link:hover {
    color: var(--white-color);
}


/*---------------------------------------
    RESPONSIVE STYLES
  -----------------------------------------*/

@media screen and (min-width: 992px) {

    .the-wedding-section .image-hover-thumb,
    .the-wedding-section .google-map {
        height: 45%;
    }

    .the-wedding-section .section-block {
        height: 45%;
    }

    .save-the-date-thumb {
        text-align: right;
    }
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 42px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .section-padding {
        padding-top: 30px;
        padding-bottom: 30px;
        scroll-margin-top: 80px;
    }

    .custom-btn {
        font-size: 18px;
        padding: 10px 20px;
    }

    .navbar {
        background: var(--white-color);
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-nav .nav-link {
        padding-bottom: 0;
    }

    .about-info-wrap {
        padding: 10px 20px 40px 20px;
    }

    .site-footer {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    #sposa_img {

    }
    #sposo_img {

    }

    .sposi_img_cont {
    }

}

@media screen and (max-width: 767px) {
    .section-divider {
        width: 100%;
        height: 1px;
    }

    .nav-tabs {
        margin-top: 0;
        margin-bottom: 50px;
    }

    .nav-tabs .nav-link {
        border-bottom: 2px solid var(--border-color);
        width: 50%;
        text-align: center;
    }

    .nav-tabs .nav-link:last-child {
        border-bottom: 2px solid var(--border-color);
    }

    .nav-tabs .nav-link:last-child {
        border-right: 0;
    }

    .nav-tabs .nav-link::after {
        top: inherit;
        right: 0;
        left: 50%;
        transform: translate(-50%, 0) rotate(225deg);
        bottom: -11px;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active,
    .nav-tabs .nav-link:focus {
        border-color: var(--border-color);
        border-right-color: var(--border-color);
        border-bottom-color: var(--secondary-color);
    }

    .people-thumb {
        margin-bottom: 0;
    }

    .people-section .section-block {
        padding-top: 10px;
    }
}


@media screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 20px;
    }

    .hero-container {
        padding: 30px;
    }
}

.timeline .row {
    position: relative;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .timeline::after {
        position: absolute;
        content: "";
        width: 2px;
        top: 0;
        bottom: 0;
        left: 4%;
        margin-left: -1px;
        background: var(--primary-color);
    }

    .timeline .row::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        top: calc(50% - 15px);
        left: calc(8% - 15px);
        background: #FFFFFF;
        border: 2px solid var(--primary-color);
        border-radius: 100px;
        transform: rotate(45deg);
        z-index: 1;
    }

    .timeline .row::after {
        content: "";
        font-family: var(--title-font-family);
        font-weight: 400;
        position: absolute;
        top: calc(50% - 10px);
        left: calc(8% - 15px);
        color: var(--primary-color);
        z-index: 2;
    }

    .timeline .row .story-div {
        margin-left: 8%;
        width: 91%;
    }
}

@media (min-width: 768px) {
    .timeline::after {
        position: absolute;
        content: "";
        width: 2px;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -1px;
        background: var(--primary-color);
    }

    .timeline .row::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        top: calc(50% - 15px);
        left: calc(50% - 10px);
        background: #FFFFFF;
        border: 2px solid var(--primary-color);
        border-radius: 100px;
        transform: rotate(45deg);
        z-index: 1;
    }

    .timeline .row::after {
        content: "";
        font-family: var(--title-font-family);
        font-weight: 400;
        position: absolute;
        top: calc(50% - 10px);
        left: calc(50% - 8px);
        color: var(--primary-color);
        z-index: 2;
    }
}

.ticket {
    width: 93%;
    max-width: 900px;
    min-height: 300px;
    display: flex;
    flex-wrap: nowrap;
    margin: 15px auto;
}

.left-section,
.right-section,
.airport-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.airport-section {
    flex: 1;
    position: relative;
    background: var(--secondary-color);
}

.left-section {
    flex: 7;
    position: relative;
}

.right-section {
    flex: 4;
    text-align: center;
}

.airport-text {
    font-family: var(--title-font-family);
    color: var(--white-color);
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
    /* Impedisce il testo di andare a capo */
    display: inline-block;
    /* Permette alla trasformazione di funzionare correttamente */
}

.plane {
    margin: 0px 5px 0px 5px;
}

.flight {
    margin-bottom: 10px;
}

.boardingpass-text {
    font-family: var(--title-font-family);
    color: var(--primary-color);
    font-size: 36px;
    font-weight: var(--font-weight-bold);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.barcode {
    width: 11%;
    background: repeating-linear-gradient(black 0px, black 5px,
            white 5px, white 10px,
            black 10px, black 15px,
            white 15px, white 20px,
            black 20px, black 35px,
            white 35px, white 40px,
            black 40px, black 50px,
            white 50px, white 55px,
            black 55px, black 65px);
}

.qrcode {
    position: absolute;
    bottom: 18px;
    right: 72px;
}

.info strong,
.bank-info strong {
    font-family: Arial, sans-serif;
    display: block;
}

.info span,
.bank-info span {
    font-family: monospace;
}

@media (min-width: 992px) {

    .left-section,
    .right-section,
    .airport-section {
        box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.2);
        border-radius: 20px;
        overflow: hidden;
    }

    .airport-section {
        border-right: 2px dashed #ccc;
    }

    .left-section {
        border-right: 2px dashed #ccc;
    }

    .right-section {
        border-left: 0;
    }

    .airport-text {
        transform: rotate(-90deg);
        margin: 255% 0px auto 0px;
    }

}

@media (max-width: 991px) {
    .ticket {
        flex-direction: column !important;
        overflow: hidden;
        box-shadow: 0px 1px 38px -20px rgba(0, 0, 0, 0.2);
    }

    .left-section,
    .right-section,
    .airport-section {}

    .left-section::after,
    .right-section::after,
    .airport-section::after {
        content: '';
        width: 26px;
        height: 26px;
        background-color: #fff;
        position: absolute;
        bottom: -13px;
        right: -13px;
        border-radius: 50%;
        box-shadow: inset 12px 0px 18px -11px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .left-section::before,
    .right-section::before,
    .airport-section::before {
        content: '';
        width: 26px;
        height: 26px;
        background-color: #fff;
        position: absolute;
        bottom: -13px;
        left: -13px;
        border-radius: 50%;
        box-shadow: inset -12px 0px 18px -11px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .airport-section {

        border-radius: 20px 20px 0px 0px;
    }

    .left-section {
        border-top: 2px dashed #ccc;
        border-bottom: 2px dashed #ccc;
    }

    .right-section {
        border-top: 0;
        border-radius: 0px 0px 20px 20px;
    }

    .airport-text {
        text-align: center;
    }

    .barcode {}
}

#listaSuggerimenti {
    z-index: 1000;
    left: 0;
    right: 0;
}

#loading {
    width: 1.5rem;
    height: 1.5rem;
    top: 25% !important;
    color: var(--secondary-color) !important;
}

.rsvp-table {
    overflow-x: hidden !important;
}

.rsvp-textarea {
    resize: none;
}

/* Stile per il placeholder iniziale */
.stato-partecipazione:invalid {
    font-style: italic;
    color: var(--placeholder-color);
    /* Grigio Bootstrap */
}

.stato-partecipazione>option {
    font-style: normal;
    color: var(--form-color);
    /* Colore di default del testo */

}

/* Quando viene selezionata un'opzione diversa, rimuove l'italico */
.stato-partecipazione option[value=""],
.stato-partecipazione option:not([value]) {
    font-style: italic;
    color: var(--placeholder-color);
    /* Grigio Bootstrap */
}

#status-badge {
    transition: opacity 1s ease-out;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
}

.login-err-badge {
    position: fixed;
    left: 50%;
    width: 280px;
    transform: translateX(-50%);
    z-index: 1050;
}

.login-background {
    position: relative;
    overflow: hidden;
}

.login-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/sedie.jpg?v=1.0.0');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(7px);
    z-index: -1;

}

.login-div .card {
    border-radius: 16px;
}

@media (min-width: 768px) {
    .login-div {}
}

.description {
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 767px) {

    /* Solo su mobile */
    .description {
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
    }

    .description.fade-in {
        opacity: 1;
        height: auto;
    }

    .scheda-story-title {
        margin: auto;
    }
}

.toggle-description {
    font-size: xx-large;
}


/* Cornici nei 4 angoli con rotazione */
.corner-frame {
    position: absolute;
    width: 15vw;
    height: auto;
}

.top-left {
    top: 1%;
    left: 0;
    transform: rotate(90deg);
}

.top-right {
    top: 1%;
    right: 0;
    transform: rotate(180deg);
}

.bottom-left {
    bottom: 1%;
    left: 0;
    transform: rotate(0deg);
}

.bottom-right {
    bottom: 1%;
    right: 0;
    transform: rotate(-90deg);
}

/* Contenitore fedi e testo */
.rings-container {
    text-align: center;
}

.rings-container img {
    max-height: 14vmin;
    width: auto;
    margin-bottom: 5vh;
}

.cover-sposi-names {
    font-family: var(--title-font-family);
    font-size: 10vh;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    margin-bottom: -2.5vh;
    margin-top: -2.5vh;
}

.cover-data-matrimonio {
    font-family: var(--title-font-family);
    font-size: 5vh;
    font-weight: var(--font-weight-bold);

    margin-top: 5vh;
}

.cover-ristorante {
    font-family: var(--title-font-family);
    font-size: 5vh;
    font-weight: var(--font-weight-bold);

    margin-top: 5vh;
}



/* Responsività */
@media (max-width: 768px) {
    .corner-frame {
        width: 25vw;
    }

    .rings-container img {
        max-width: 60%;
    }

    .rings-container span {
        font-size: 4vw;
    }

    .right-image {
        max-width: 50%;
    }
}

.container-fluid { height: 100vh; }
.scrollable {
    height: 90vh;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
}