/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* =========================
   Newsletter form CSS
========================= */

#wpcf7-f21-p27-o1 .form-flat{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:36px;
  padding-bottom:18px;
}

#wpcf7-f21-p27-o1 .form-flat::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:rgba(255,255,255,.30) !important;
}

#wpcf7-f21-p27-o1 p{
  margin:0 !important;
}

#wpcf7-f21-p27-o1 .flex-grow{
  flex:1 1 auto;
}

#wpcf7-f21-p27-o1 .ml-half{
  margin-left:0 !important;
  flex:0 0 auto;
}

/* Email field */
#wpcf7-f21-p27-o1 input[type="email"]{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#fff !important;
  font-family:"Plus Jakarta Sans",sans-serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:15px !important;
  letter-spacing:1px !important;
  text-transform:uppercase !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
}

#wpcf7-f21-p27-o1 input[type="email"]::placeholder{
  color:rgba(255,255,255,.30) !important;
  opacity:1 !important;
  font-family:"Plus Jakarta Sans",sans-serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:3px !important;
  text-transform:uppercase !important;
}

#wpcf7-f21-p27-o1 input[type="email"]:focus{
  outline:none !important;
}

/* Submit*/
#wpcf7-f21-p27-o1 input[type="submit"]{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#C6A992 !important;
  font-family:"Plus Jakarta Sans",sans-serif !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:15px !important;
  letter-spacing:1px !important;
  text-transform:uppercase !important;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
}

#wpcf7-f21-p27-o1 input[type="submit"]:hover,
#wpcf7-f21-p27-o1 input[type="submit"]:focus{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:#C6A992 !important;
}

/* Keep spinner visible */
#wpcf7-f21-p27-o1 .wpcf7-spinner{
  display:inline-block !important;
  margin:8px 0 0 10px !important;
  vertical-align:middle;
}

/* Show response message */
#wpcf7-f21-p27-o1 .wpcf7-response-output{
  display:block !important;
  margin:16px 0 0 0 !important;
  padding:10px 12px !important;
  border:0 !important;
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  font-family:"Plus Jakarta Sans",sans-serif !important;
  font-size:11px !important;
  line-height:16px !important;
  letter-spacing:.5px !important;
  text-transform:uppercase !important;
  text-align:center !important;
}

/* Success */
#wpcf7-f21-p27-o1 form.sent .wpcf7-response-output{
  background:rgba(198,169,146,.18) !important;
  color:#C6A992 !important;
}

/* Error states override */
#wpcf7-f21-p27-o1 form.invalid .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.unaccepted .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.failed .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.aborted .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.spam .wpcf7-response-output{
  color:#ffffff !important;
}

#wpcf7-f21-p27-o1 .wpcf7-not-valid-tip{
  display:none !important;
}

/* Below form text */
.newsletter-note{
  color:rgba(255,255,255,.20);
  text-align:center;
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:9px;
  font-weight:400;
  line-height:13.5px;
  letter-spacing:.5px;
  text-transform:uppercase;
  margin-top:-10px;
}

/* Hide response box by default */
#wpcf7-f21-p27-o1 .wpcf7-response-output{
  display:none !important;
}


/* Show ONLY after submission */
#wpcf7-f21-p27-o1 form.sent .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.invalid .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.unaccepted .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.failed .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.aborted .wpcf7-response-output,
#wpcf7-f21-p27-o1 form.spam .wpcf7-response-output{
  display:block !important;
}

@media (max-width:549px){
  #wpcf7-f21-p27-o1 .form-flat{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) max-content !important;
    align-items:baseline !important; /* <--- Updated to baseline */
    column-gap:12px !important;
    padding-bottom:14px !important;
    width:100% !important;
  }

  #wpcf7-f21-p27-o1 .form-flat > p{
    margin:0 !important;
  }

  #wpcf7-f21-p27-o1 .flex-grow{
    min-width:0 !important;
    width:100% !important;
    margin:0 !important;
  }

  #wpcf7-f21-p27-o1 .ml-half{
    width:max-content !important;
    margin:0 0 0 auto !important;
    justify-self:end !important;
    text-align:right !important;
  }

  #wpcf7-f21-p27-o1 input[type="email"]{
    width:100% !important;
    min-width:0 !important;
    font-size:12px !important;
    line-height:15px !important;
    letter-spacing:2px !important;
    padding:0 !important;
  }

  #wpcf7-f21-p27-o1 input[type="email"]::placeholder{
    font-size:12px !important;
    letter-spacing:2px !important;
  }

  #wpcf7-f21-p27-o1 input[type="submit"]{
    display:block !important;
    width:max-content !important;
    margin-left:auto !important;
    white-space:nowrap !important;
    font-size:12px !important;
    line-height:15px !important;
    letter-spacing:1.5px !important;
    padding:0 !important;
    text-align:right !important;
  }

  .newsletter-note{
    margin-top:12px;
    font-size:8px;
    line-height:12px;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}