div.field-name-field-bipac-letter-text {
  border: 1px solid #9b9b9b;
  background-color: #ebebeb;
  padding: 10px 5px 0px 5px;
  margin: 5px 5px 15px 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.sc-notes-field, .letter {
  display: none;
}

select#letter_select {
    border: 1px solid #ccc;
    padding: 0 10px;
    cursor: pointer;
    position: relative;
    color: #707070;
    font-size: 12px;
    background: url(select_arrow.gif) #f5f5f5 no-repeat right center;
}

.letter_tab label{
  display: inline-block;
  margin: 5px 5px 0 0;
  font-weight: 400;
}


.official-address > p {
  margin: 0;
}


.official-image-thumb, .official-address {
  padding:10px 5px 10px 14px;
}

.official-address p {
  /* margin-bottom: */
}

.official-full_name {
  margin-bottom: 10px !important;
  color: #333333;
}

.thankyou-message p {
    width: 50%;
    margin: auto;
}


.official-frame {
  display: flex;
  flex-direction: row;
  margin: 1em 0;
  border-bottom: 1px gray solid;
}

.official-frame:last-child { border-bottom: none; }

.title {
  font-size: 1.9em !important;
  /* color: #5df0ad !important; */
  text-align: center !important;
  padding: 20px !important;
  /* background-color: #0a1c6b !important; */
  /* width: 100%; */
  margin: 0;

}


@media (min-width: 700px) {
  .officials-addresses {
    width:50%;
    margin:auto;
}
}

@media (max-width: 500px) {
  .officials-addresses {
    width:100%;
    margin:auto;
  }



  .thankyou-message p {
      width: auto;
      margin: 0;
      text-align: left !important;
  }

  .title{
    width: auto;
    margin: 0 !important;
    text-align: left !important;
  }

}






.campaign-content {
  padding: 0 !important;
  border: none !important;
}


.thankyou-message {
  /* width: 100%; */
  background-color: #5df0ad;
  padding: 20px;
  color: #0a1c6b;
  text-align: center !important;
}



.item-list {
  width: 90%;
  margin: auto;
}


.full-page-block h2 {
  margin: 30px 32px !important;
  font-size: 1.3em !important;
}




.campaign-form .tab_switch.active {
  border-bottom-color: #ffffff;
  background-color: #0a1c6b !important;
  color: #fff !important;
}



#-bipac-campaigns-bipac-letter-form > div {
  display: flex;
  flex-direction: row-reverse;
}

.form-item-military > input {
  width: 20px !important;
}


#edit-mil label, #edit-contact-info label, #edit-address-info label {
    position: absolute;
    top: 5px;
    left: 7px;
    z-index: -1;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transition: top 200ms, opacity 200ms;
}

#edit-mil label.floating, #edit-contact-info label.floating, #edit-address-info label.floating {
    top: -7px;
    z-index: 1;
    padding: 0 0.5em !important;
    opacity: 1.0;
    background-color: #FFF;
    color: #0a1c6b !important;

}

/* a:hover,
a:active {
    text-decoration: underline;
}

form {
    width: 100%;
    margin: 0 auto;
}

form div {
    position: relative;
}

form div + div {
    margin-top: 20px;
}

input,
textarea {
    display: block;
    width: 100%;
    padding: 10px;
    font-family: 'Helvetica Neue', Helvetica, Arial, Sans-serif;
    font-size: 18px;
    font-size: 1.125rem;
    background-color: white;
    border: 1px solid #95ACC1;
    border-radius: 3.5px;
    transition: border 200ms;
}

input:focus,
textarea:focus {
    border-color: #0074D9;
    outline: none;
}

pre {
    overflow: auto;
} */

/* .content {
    margin: 50px auto 0 auto;
    padding-bottom: 20px;
    width: 90%;
    max-width: 600px;
}

.logo {
    display: block;
    width: 207px;
    margin: 0 auto 30px auto;
}

.content > p:first-of-type {
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.badges {
    margin: 10px 0 30px 0;
    text-align: center;
}

.h1 {
    margin: 50px 0 0 0;
    font-weight: 500;
}

dl {
    margin: 20px 0 40px 0;
}

dt {
    padding: 5px 10px;
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: bold;
    border-left: 5px solid #0476FA;
}

dt pre {
    margin: 0;
}

dd {
    margin-left: 0;
}

dd p:first-child {
    margin-top: 10px;
}

dd pre {
    padding: 10px;
    font-size: 14px;
    font-size: 0.875rem;
    border: 1px solid #95ACC1;
    border-radius: 3.5px;
}

dd + dt {
    margin-top: 40px;
} */




input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  /* border: 1px solid green; */
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}