.thankyou-component, .wishes-component {
    z-index: 1;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: none;
    border-radius: .25em;
    
    height: 100%;
    width: 80%;
    max-width: 600px;

    margin: 0 auto;
    padding: 30px;
    
    box-shadow: none !important;
    background-color: white;
    color: black;
    text-align: center;
}
  @media (max-width: 480px) {
    .thankyou-component, .wishes-component {
      height: auto;
    }
  }

.rsvptitle, .summarytitle{
    text-transform: uppercase;
    font-family: "the season", serif;
    font-size: 3em;
    font-weight: 600;
}
.summarytitle{
    font-size: 3em;
}
    @media (max-width: 767px) {
        .summarytitle{
            font-size: 2em;
        }
    }
.rsvptitle{
    font-size: 3.2em;
}
    @media (max-width: 767px) {
        .rsvptitle{
            font-size: 2.2em;
        }
    }
.fullnametext {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    text-transform: capitalize;
    text-align: center;
    line-height: 1;
    margin-bottom: 1em;
    color: #1f1f1f;
}
.rsvppoint{
    font-size: 1.6em;
    text-transform: uppercase;
    color: #000;
}
@media (max-width: 767px) {
    .rsvppoint{
        font-size: 1.2em;
    }
}

.rsvpanswer{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    color: #525252;
}
@media (max-width: 767px) {
    .rsvpanswer{
        font-size: 1em;
    }
}
.wishes-title{
    font-size: 11px !important;
    color: #937259 !important;
    margin-bottom: 2px;
    margin-top: 6px;
    margin-left: 16px;
}

/* QR Code image */
.modal-qrcode {
    display: flex;
    justify-content: center;
    border-top: 2px solid #bebebe;
    margin-top: 1em;
}
.modal-qrcode img {
    width: 80%;
    max-width: 300px;
}
/* QR Code download buttton */
.downloadqr-btn{
    font-size: 1em;
}
.downloadqr-btn, .submitrsvp-btn{
    background-color: #d1cac5;
    color: white;

    padding: 1em 4em;

    outline: none;
    border: none;

    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    
    text-align: center;
}
    @media (max-width: 480px) {
        .downloadqr-btn, .submitrsvp-btn{
            padding: .8em 3em;
        }
    }
.submitrsvp-btn p{
    font-size: 1.2em;
}
.changersvp-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    margin-top: .8em;
}
.changersvp-btn span{
    color: #3d50d9;
    white-space: nowrap;
}
.modal-body-submit{
    margin-top: 1.6em;
}

/* #region Form CSS */
.form-group {
    position: relative;
    border-bottom: 1px solid #b6b6b6;
}
  .form-group.focus {
    border-bottom: 2px solid #937259 !important;
  }
  .form-group .input-title {
    position: absolute;
    max-width: calc(100% - (2 * 8px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 0px;
    top: 13px;
    padding: 0 16px;
    transition: 250ms;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    font-size: 16px;
    color: #6c6c6c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }
  .form-group .input-value,
  .form-group .date-value {
    box-sizing: border-box;
    height: 50px;
    border-radius: 4px 4px 0 0;
  }
  .form-group .input-value:focus,
  .form-group .date-value:focus {
    background-color: #ebebeb;
  }
  .form-group .input-value-phone {
    padding-top: 21px;
    padding-bottom: 8px;
    border-radius: 4px 4px 0 0;
  }
  .form-group .input-role {
    box-sizing: border-box;
    height: 50px;
    border-radius: 4px 4px 0 0;
    padding: 0 16px;
  }
  .form-group .textarea-value {
    box-sizing: border-box;
    border-radius: 4px 4px 0 0;
  }
  .form-group .textarea-value:focus {
    background-color: #ebebeb;
  }
  .form-group.focus .input-title {
    color: #937259;
  }
  .form-group.select-title {
    background-color: white;
  }
  .form-group.select-title select {
    border: none;
  }
  .form-group.active .input-title {
    top: 0;
    left: 0;
    font-size: 11px !important;
    padding: 6px 16px 0 16px;
    color: #937259 !important;
  }
  .form-group.active .input-value,
  .form-group.active .textarea-value {
    padding-top: 20px;
    padding-bottom: 6px;
    padding-left: 16px;
  }
  .form-group.active .date-value {
    padding-top: 20px;
    padding-bottom: 6px;
    padding-left: 14px;
  }
  
.form-group {
    width: 100%;
    label{
        display: block;
        width: 100%;
        font-size: 14px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        color: #937259;
        text-align: left;
    }
    select{
        color: black;
        width: 100%;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: 18px;
        outline: none !important;
        background-color: transparent !important;
    }
  
    textarea{
        resize: vertical;
        width: 100%;
        display: block;
        outline: none;
        font-size: 16px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        border: none;
        padding-left: 16px;
        background-color: white;
        color: black;
    }
  
    #count{ 
        text-align: right;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: 12px;
        color: #6c6c6c;
    }
}

/* #endregion */

/* #region Modal Gallery */

.image-previous, .image-next {
  position: absolute;
  top: 44%;
  font-size: 26px;
  color: #fff;
  text-shadow: 1px 1px 18px #000;
}

.image-previous { 
  left: -10px;
}

.image-next { 
  right: -10px;
}

.image-preview {
  max-height: 90vh;
  max-width: 100%;
  height: auto;
}

.modal#modalGallery{
  padding: 0px !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* #endregion */