
/**
 *
 * PAGE STYLING
 *
 */

body {
  background-color:#58595c;
}

.molection__previous-step-container {
  text-align: center;
  color:#ccc;
}
.molection__next-step-container {
  text-align: center;
}
.molection__next-step-container a,
.molection__next-step-container input[type=submit]{
  display:block;
  width:100%;
  padding: 0.8em 0.6em;
}

.error-highlight {
  background-color: #f9bdbb !important;
  color: #58595b !important;
}

.error-msg span.fa {
  margin-right:2px;
  color: #f58220;
}

.form-intro-text {
  text-align: center;
  font-weight: bold;
}

.slick-dots li button {
  cursor:default;
}

#unsub_form br {
  display:none;
}

.bsd__form-container > img {
  margin-bottom:1.25rem;
}

.bsd__thank-you-page-container img {
  width:100%;
  max-width:320px;
}

.bsd__thank-you-page-container .image-container {
  margin-bottom:1em;
}

.bsd-unsubscribe__thank-you-social-icons {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-bottom: 1.25rem;
}

.bsd-unsubscribe__thank-you-social-icons a {
  border-radius:50%;
  margin-left: 10px;
  color:#fff;
  width:70px;
  height:70px;
  line-height: 70px;
  text-align: center;
  font-size: 40px;
}

.bsd-unsubscribe__thank-you-social-icons a:first-child {
  margin-left: 0px;
}
.bsd-unsubscribe__thank-you-social-icons a.facebook {
  background-color:#3b5998;

}
.bsd-unsubscribe__thank-you-social-icons a.twitter {
  background-color:#55acee;

}
.bsd-unsubscribe__thank-you-social-icons a.instagram {
  background-color:#e1306c;

}

.bsd-unsubscribe__thank-you-social-icons a.email {
  background-color:#f98686;

}

ul.molection__donate-page-buttons {
  list-style-type: none;
  margin:0;
  padding:0;
  display: flex;
  display:-webkit-flex;
  flex-flow: center;
  justify-content: center;
  align-items: center;
  align-content: center;
}

ul.molection__donate-page-buttons li {
  margin:0;
  padding:0;
}

ul.molection__donate-page-buttons li a {
  display:block;
  margin:0 5px;
  width:15px;
  height:15px;
  /*border-radius:50%;*/
  background-color: #670000;

}
@media screen and (max-width: 40em) {
  ul.molection__donate-page-buttons li a {
    width:50px;
    border-radius: 0;
  }
  ul.molection__donate-page-buttons li:first-child a {
    border-radius: 5px 0 0 5px;
  }
  ul.molection__donate-page-buttons li:last-child a {
    border-radius: 0px 5px 5px 0px;
  }
}
ul.molection__donate-page-buttons li a.current {
  background-color: #d71920;
}

img#bsd__mobile-image {
  width:100%;
}

.molection__field-container {
  position: relative;
}

.molection__field-container .asterix {
  color:#d71920;
  position: absolute;
  top:1px;
  right:6px;
  font-size:20px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #ccc;
}
:-moz-placeholder { /* Firefox 18- */
  color: #ccc;
}

.error-highlight::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: darkgrey;
}
.error-highlight::-moz-placeholder { /* Firefox 19+ */
  color: darkgrey;
}
.error-highlight:-ms-input-placeholder { /* IE 10+ */
  color: darkgrey;
}
.error-highlight:-moz-placeholder { /* Firefox 18- */
  color: darkgrey;
}

.bsd__form-container span.error {
  font-style: normal;
  font-size:inherit;
  margin:0;
  position:relative;
  display:inline-block;
  color:#d71920;
  padding:6px 10px 6px 28px;
}
.bsd__form-container span.error:after {
  content: "\f071"; 
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  position: absolute;
  bottom:5px;
  left:5px;
  z-index: 1;
  
}

.molection__tax-savings-container {
  padding:12px;
  background-color:rgba(200,200,200,0.3);
  margin-bottom:1em;
}

.molection__tax-savings-container p{
  line-height: normal;
  margin-bottom: 1em;
}

.molection__tax-savings-container p:last-child{
  margin-bottom:0;
}

.molection__tax-savings-container #tax-credit-summary {

}

.molection__tax-savings-container #tax-credit-summary .fa {
  font-size: 20px;
  padding-right: 2px;
}

.molection__tax-savings-container #tax-credit-notice {
  font-size:90%;
}

span#tax-savings-credit-amount {
  /*background-color: #d71920;*/
  display: inline-block;
  padding: 0px 2px;
  /*color: #fff;*/
  font-weight: 900;
}

/**
 *
 * PAGE STRUCTURE
 *
 */

a.molection__pane-toggle span.fa {
  padding-left: 3px;
}

.bsd__form-container__outer {
  margin: 40px 0;
}
@media screen and (max-width: 40em) {
  .bsd__form-container__outer {
    margin: 0;
  }
}


.form-intro-subheader-container {
  position:relative;
  padding:30px;
  background-color:#fff;
  text-align: center;
}

.secure-note {
  position:absolute;
  top:15px;
  right:30px;
  opacity:0.7;
  text-transform: uppercase;
  font-size:80%;
}

.secure-note span.fa{
  padding-right: 3px;
  color: #A2CB1F !important;
}

#tax-credit-summary-default .fa, #tax-credit-summary .fa{
	color: #A2CB1F !important;
}

.bsd__content-wrapper {
	background-color: #f1f2f2;
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  min-height: 1000px;
}

@media screen and (max-width: 40em) {
  .bsd__content-wrapper {
    min-height: 0px;
  }
}

@media screen and (max-width: 40em) {
  .bsd__content-wrapper {
    background:none !important;
  }
}

.bsd__form-container {
	padding:30px;
	position:relative;
  /* margin:40px 0; */
	background-color:rgba(255,255,255,0.8);
	/*
  max-height: 1000px;
	overflow-y: scroll;
  */
}

#molection__donate_form_structure {
  display:none;
}



/**
 *
 * LAYOUT ADJUSTMENTS AND OVERIDES
 *
 */

#addr2 {
  display:none;
}

.creditCardTypeSelector-creditCardTextBox {
  position: relative;
}

.molection__field-container .creditCardTypeSelector-creditCardTextBox .asterix {

  top:4px;

}

#contribution .molection__section-container .molection__field-container input,
#contribution .molection__section-container .molection__field-container select {
  margin-bottom: 1em;
}

td.legal-confirm-container {
  display: flex;
  display: -webkit-flex;
  flex-wrap: nowrap;
  position:relative;
}

#bsd-contribution-section-header-legal {
  display:none;
}

#legal_confirm {
  margin-top:5px !important;
}

label[for=legal_confirm] {
  padding-left: 30px !important;
}

.bsd__credit-card-td-container {
  width:100%;
}

.bsd__custom_donation_amount_td {
  position: relative;
}

.bsd__custom_donation_amount_td > * {
   float:left;

}

.bsd__custom_donation_amount_td input#amt_other {
  transform:translateY(2px);
  -webkit-transform:translateY(2px);
}

.bsd__custom_donation_amount_td > label{
  transform:translateY(-3px);
  -webkit-transform:translateY(-3px);
}

#amt_other_text {
 
}

#amt_other_text.disabled {
  background-color: #d1d3d4;
}

#cc_expir_month {
  width:40%;
  max-width: 120px;
}

#cc_expir_year {
  width:40%;
  max-width: 120px;
}

#naissance_year,#naissance_month,#naissance_day {
  width:30%;
  max-width: 120px;
  margin-right: 10px;
}

#contribution table.amounts td {
  vertical-align: top !important;
}


.paginated-donate-form form > table {
  display:none;
}

table {
	border:none;
	margin:0;
	background:none;
}

tr.bsd__credit-card-row td.label {
  width:100% !important;
}

.creditCardTypeSelector li.card {
  clear:none;
  padding:0;
  border:none;
}

.label {
  background:none;
  padding:0;

}

.donate-full-page #contribution td.contribheader, #contribution #pa_status {
    border: none;
    border-bottom: 1px solid #a7a9ac !important; 
    /* font-size: 18px; */
    /* font-weight: bold; */
    /* line-height: 24px; */
    /* margin-bottom: 6px; */
    /* padding-top: 18px; */
    padding-bottom: 0px; 
    /* text-align: left; */
}

.paginated-donate #contribution td.contribheader {
  border: none !important;
}

table tr th, table tr td {
    /* padding: 0.5625rem 0.625rem; */
    font-size: 1rem;
    color: #58595c;
    text-align: left;
}

#contribution td td td {
    /* padding-top: 6px; */
    /* padding-bottom: 6px; */
    vertical-align: top;
}

#contribution td, #contribution th {
    /* padding-top: 2px; */
    /* padding-bottom: 2px; */
    vertical-align: top;
}

table tr td,
table tr th {
	padding:0;
}

table tr.even, table tr.alt, table tr:nth-of-type(even) {
  background: none; 
}


@media (max-width: 500px) {
  #bsd__form-column {
    margin:0;
    padding:0;
  }
  
  .bsd__form-container {
    padding: 30px 15px 15px;
  }

}

table#contributeconfirm {
  border-collapse: collapse;
}

table#contributeconfirm tr {
  border-bottom:1px solid #eee;
}

table#contributeconfirm tr.no-border,
table#contributeconfirm tr:first-child,
table#contributeconfirm tr:nth-last-child(2){
  border-bottom:none;
}

table#contributeconfirm tr th#contributeconfirmheader {
  text-align: left;
}

table#contributeconfirm tr th,
table#contributeconfirm tr td {
  vertical-align: top;
  padding: 3px 4px 3px 0;
}

table#contributeconfirm tr th:first-child {
  text-align: right;
}

#molection__legal-confirm,
#molection__save_credit-confirm{
  display: flex;
  -webkit-display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-content: flex-start;
  position: relative;
}
#molection__save_credit-confirm{
  margin-left: 30px;
}

/**
 *
 * INPUT ELEMENT STYLING
 *
 */

.paginated-donate-form #amt_other_text {
  padding: 0.25em 0.3em;
  height:auto;
  border-width: 2px;
}


input[type=submit] {
  cursor: pointer;
}

p {
  text-transform: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"], 
select, 
textarea {
  background-color: #fff;
  border: 1px solid #a7a9ac;
  font-size: 1.4rem;
  font-family: lato;
  font-weight: 300;
  color: #808285;
  border-radius: 2px;
  height: 2em;
  margin:0;
}
/*
textarea {
  min-height: 160px;
}*/

select#state_cd option:first-child {
  
}

label {
  font-size: 1rem;
  color: #4d4d4d;
  cursor: pointer;
  display: block;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 0;
}

input[type=submit]{
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
  margin-top: 1em;
  background-color: #fff;
  color: #d71920;
  border: 2px solid #d71920;
  letter-spacing: -0.03em;
  padding: 0.4em 0.6em;
  font-family: lato;
}
input[type=submit]:hover{
  color: #fff;
  background-color: #d71920;
}
input[type=submit]:after{
  content: "";
}


table.amounts span.radio {
  margin: 0 1em 0 0;
  padding: 0.4em 0;
  font-size: 1rem;
  font-weight: 900;
  display: inline-block;
  border-radius: 3px;
  background-color: #fff;
  color: #d71920;
  border: 2px solid #d71920!important;
  letter-spacing: -0.03em;
  width:100%;
  text-align: center;
}

table.amounts input[type=radio]:checked + label span.radio {
  color: #fff;
  background-color: #d71920;
}

table.amounts input#amt_other_text {
  background-color: #f1f2f2;
  color:#a7a9ac;
  margin:0;
}

table.amounts input[type=radio]:checked ~ input#amt_other_text {
  background-color: #fff;
  color:#808285;
}

table.amounts table td {
  padding-left:1em;  

}
table.amounts table td:first-child {
  padding-left:0em;  

}
table.amounts tr {

}
table.amounts tr td {
  float:left;
  display:block;
  width:25.33%;
}

table.amounts tr td:first-child {
  width:24%;
}

#contribution table.amounts td {
  padding-left:18px;
}

#contribution table.amounts td:first-child {
  padding-left:0px;
}

table.amounts input[type="radio"] + label {
  width:100%;
  display:block;
}

#contribution .text {
  margin:0;
}

input[type="checkbox"],input[type="radio"] {
  vertical-align: middle;
  @extend .visuallyhidden;
}

input[type="checkbox"]+label:before, input[type="radio"]:not([name=amount])+label:before {
  content: "";
  display: inline-block;
  height: 25px;
  margin: 0 5px 0 -30px;
  vertical-align: middle;
  width: 25px;
  top: -1px;
  position: absolute;
  background: url(../img/form-sprite.png);
  background-repeat: no-repeat
}

input[type="checkbox"]+label:before {
  background-position: left top
}

input[type="checkbox"]:checked+label:before {
  background-position: -25px top
}

input[type="radio"]:not([name=amount]):checked+label:before{
  background-position: -75px top !important;
}
