.contact_main{
    width: 100%;
    margin: 0;
    padding: 0 0 70px 0;
    /* background: #fff; */
    background: url('../imgs/pxby_meditation_gold.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.contact_hdr{
    display: flex;
    flex-direction:column;
    width: 86%;
    justify-content: center;
    align-items: center;
    background: rgb(255, 255, 255, .7);
    padding: 10px 7% 0px 7%;
}
.contact_hdr h1{
    margin: 0 !important;
    padding: 0 !important;
    font-size: 3em;
    font-family: 'Cormorant Garamond'; 
    font-weight: bolder; 
    font-style: italic;
    /* letter-spacing: 1px; */
    font-variant: small-caps;
    color: #000;
}
.main_content{
    background: rgb(255, 255, 255, .7); 
    font-family: 'Poppins';
    font-weight: 300;
    font-style: normal;
    width: 80%;
    /* background: #fff; */
    padding: 20px 10% 80px 10%;
}
.contact_form_sect{
    color: var(--drk);
    /* border-radius: 15px; */
    font-family: 'Poppins';
    font-weight: 300;
    font-style: normal;
    width: calc(100%);
    margin: 0;
    padding: 0;
}
.contact_form_sect ul{
    list-style-type: none;
    margin: 0;
}

.contact_form_sect a{
    color: var(--blue);
    font-weight: bolder;
    &:hover{
        text-decoration: underline;
    }
}

.lft_side{
    /* border-radius: 15px 0 0 15px; */
    padding: 0 0 25px 30px;
    width: 33%;
    /* background: #eaa328 */
}
.lft_side h3{
    margin: 15px 0 0 0;
    padding: 0;
    line-height: 1.1em;
}
.rght_side{
  flex: 1;
    /* border-radius: 0 15px 15px 0; */
    padding: 0 15px 0 5px;
    /* background: #eaa328 */
    /* background: #dd9727 */
}
.lft_side_box{
    background: var(--bronze);
    color: #fff;
    font-size: 1.3em;
    font-style: italic;
    font-family: 'Cormorant Garamond';
    padding: 40px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}
/*** CODEPEN ***/
.contain {

  /* background-color: #eee; */
  max-width: 1170px;
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* padding: 1em; */
}

div.form {
    /* flex: 1; */
  /* background-color: #eee; */
}
.contact-wrapper {
  margin: auto 0;
}

.submit-btn {
  float: left;
}
.reset-btn {
  float: right;
}

.form-headline:after {
  content: "";
  display: block;
  width: 10%;
  padding-top: 10px;
  /* border-bottom: 3px solid #ec1c24; */
}

.highlight-text {
  /* color: #ec1c24; */
}

.hightlight-contact-info {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
}

.highlight-text-grey {
  font-weight: 500;
}

.email-info {
    margin-top: 20px;
}

::-webkit-input-placeholder { /* Chrome */
  font-family: 'Poppins', sans-serif;
}

.required-input {
  color: black;
}
@media (min-width: 600px) {
  .contain {
    padding: 0;
  }
}

h3,
ul {
  margin: 0;
}

h3 {
  margin-bottom: 1rem;
}

.form-input:focus,
textarea:focus{
  outline: 1.5px solid var(--bronze);
}

.form-input,
textarea {
  width: 100%;
  border: 1px solid var(--bronze);
  border-radius: 5px;
}

.wrapper > * {
  padding: 1em;
}
@media (min-width: 700px) {
  .wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  .wrapper > * {
    padding: 2em 2em;
  }
}

ul {
  list-style: none;
  padding: 0;
}

.contacts {
  color: #212d31;
}

.form {
    /* flex: 1; */
  /* background: #fff; */
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
form label {
  display: block;
}
form p {
  margin: 0;
}

.full-width {
  grid-column: 1 / 3;
}
button{
    cursor: pointer;
}
button,
.submit-btn,
.form-input,
textarea {
  padding: 15px;
}

button, .submit-btn {
  background: transparent;
  border: 1px solid var(--bronze);
  /* color: #ec1c24; */
  border-radius: 15px;
  padding: 5px 30px;
  text-transform: uppercase;
}
button:hover, .submit-btn:hover,
button:focus , .submit-btn:focus{
  /* background: #ec1c24; */
  outline: 0;
  color: var(--blue);
}
.error {
  color: #710004;
}

/****** CODEPEN TABS *********/
/**
 * Tabs
 */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tabs label {
  order: 1;
  display: block;
  padding: 5px;
  width: calc(50% - 30px);
  margin: 0 0 0 0;
  margin-bottom: 10px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 8px;
  padding-top: 10px;
  /* background: #90CAF9; */
  background: var(--blue);
  color: #fff;
  transition: background ease 0.2s;
  text-align: center;
  &:hover{
    text-decoration: underline;
  }
}

.tabs .tab {
  order: 99;
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;
  /* background: #fff; */
}

.tabs input[type=radio] {
  display: none;
}

.tabs input[type=radio]:checked + label {
    border-radius: 0;
  background: none;
  color: var(--drk);
  font-weight: bold;
  margin-bottom: -10px;
  font-size: 1.3em;
  text-align: left;
  &:hover{
    text-decoration: none;
    cursor:default;
  }
}

.tabs input[type=radio]:checked + label + .tab {
  display: block;
}

@media (max-width: 45em) {
  .tabs .tab,
.tabs label {
    order: initial;
  }

  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}

/*** NMW FORM REWRITE FROM SCRATCH **/
.yb_form{
    display: flex;
    background:#eaa328;
    color: var(--drk);
    align-items: center;
    justify-content: space-between;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    width: 86%;
    margin: -100px 7% 50px 7%;
    padding: 0;
}

.yb_form a{
    color: var(--blue);
}

/****** NMW ADDITIONS ****************/


input[type='text'],
input[type='email'],
textarea,
option,
select{
    width: calc(100% - 30px) !important;
    padding: 25px;
    font-size: 1.1em;
    border: 1px solid var(--gold) !important;
}

@media screen and (max-width: 800px) {
    .yb_form{
      width: 90%;
      margin: -100px 5% 50px 5%;
  }
  .tabs input[type=radio]:checked + label {
  font-size: 1.1em;
}
input[type='text'],
input[type='email'],
textarea,
option,
select{
    width: calc(100% - 20px) !important;
    padding: 15px;
    font-size: 1em;
}
.yb_form{
  font-size: .9em
}
}
@media screen and (max-width: 640px) {
    .lft_side{
    width: 40%;
  }
  .rght_side{
    order: 1;
  }
}
@media screen and (max-width: 550px) {
  .yb_form{
    flex-direction: column;
  }

    .lft_side{
    flex: 1;
    padding: 0;
    width: calc(100% - 30px);
    text-align: left;
    padding: 0 15px;
    margin: 0;
    order: 2;
  }

.lft_side_box{
    /* font-size: 1.1em; */
    font-style: italic;
    padding: 20px;
    margin: 18px 30px;
    width: calc(100% -40px);
    text-align: center;
    justify-content: center;
}
  .tabs label {
  /* padding: 5px; */
  width: calc(90% - 15px);
  text-align: center !important;
  font-size: 1.5em !important;
}
}




