/* Tax Styles  */
/* styles-main-tax.css */

/* ///////////////////////// */
/* // Partner Logo Styles  //*/
/* ///////////////////////// */
#partnerLogo { 
  height: auto;
  height: 35px;  
  left: 144px;
  position: absolute;
  top: 0;
  width: 80px;
}

#partnerLogo img{ 
  height: 100%;
  width: auto;
}

@media only screen and (min-width: 450px) {
  #partnerLogo { 
    height: 40px;
    left: 190px;
  }
}

@media only screen and (min-width: 768px) {
  #partnerLogo  { 
    height: 50px;
    left: 220px;
  }
}

@media only screen and (min-width: 1024px) {
  #partnerLogo  { 
    height: 50px;
    left: 250px;
    right: inherit;   
  }
}

/* ///////////////////////////////// */
/* // Progress Bar Icons and Text // */
/* ///////////////////////////////// */
.en__component--row.en__component--row--1:nth-of-type(3n) {
  padding-top: 40px;
  /* ^ To allow for mobile banner */
}

@media only screen and (min-width: 768px) {
  .progress-bar-container .h1 {
    font-size: 2rem;
    /* ^ Smaller h1 To allow for more space for copy */
  }
}

.en__component--row--1 .en__component--copyblock {
  margin: 0;
  /* ^ To allow for Xpander */
}

@media only screen and (min-width: 1024px) {
  .en__component--row--1 .en__component--copyblock.progress-bar-container {
    margin-bottom: 0;
    /* ^ To allow for more space for copy */
  }

  .en__component--row.en__component--row--1:nth-of-type(3n) {
    padding-top: 0;
    /* ^ Padding no longer needed for non-mobile */
    width: 50%;
  }
}


/* ////////////////////////////// */
/* Custom Amount Radio Buttons */
/* ////////////////////////////// */

/* Hiding the fourth on Desktop */
@media only screen and (min-width: 768px) {
  .custom-radio-buttons .en__field__element--radio .en__field__item:nth-of-type(4n) {
    display: none;
  }
}

/* "Other" Button, Left of Donation Amount Input Field */
.custom-radio-buttons .en__field--radio .en__field__element--radio .en__field__item:nth-of-type(5n){
  margin-right: 0;
  width: 80px;
}

.custom-radio-buttons .en__field__item:nth-of-type(5n) input[type="radio"] + .en__field__label {
  border-radius: 8px 0 0 8px;
}


@media only screen and (min-width: 768px) {
  .custom-radio-buttons .en__field--radio .en__field__element--radio .en__field__item:nth-of-type(5n){
    width: 25%
  }

  .custom-radio-buttons .en__field__item:nth-of-type(5n) input[type="radio"] + .en__field__label {
    border-right: 1px solid transparent;
  }
}

.en__field--withOther .en__field__element--radio .en__field__item--other input {
  /* The input field on Other */
  background-color: #ddd;
  border: 1px solid #333;
  border-radius: 0 8px 8px 0;
  color: #333;
  font-family: 'Open Sans', Arial;
  font-size: 1.2em;
  font-weight: 600;
  height: 100%;
  margin: 0;
  padding: 0 5px 0 20px;
  position: relative;
  text-align: left;
  width: 100%;
}

.custom-radio-buttons .en__field--withOther .en__field__element--radio .en__field__item.en__field__item--other {
  display: inline-block;
  margin-left: -1px;
  width: calc(100% - 96px);
}

@media only screen and (min-width: 768px) {
  .custom-radio-buttons .en__field--withOther .en__field__element--radio .en__field__item.en__field__item--other {
    left: 0;
    margin-left: 0;
    width: auto;
  }
}

/* ////////////////////////////// */
/* ///// Form Button Styles ///// */
/* ////////////////////////////// */
.step-1 .en__submit {
  padding-top: 20px;
}

/* ////////////////////////////// */
/* ////// Template Layout /////// */
/* ////////////////////////////// */
@media only screen and (max-width: 1023px) {
  .en__component--row.en__component--row--1:first-of-type > .en__component--column {
    margin: 0 -1em;
    width: auto;
  }
}

.en__component--imageblock {
  background: #333;
  background-image: url();
  background-size: cover;
  background-position: right;  
  display: none;
  height: 100% !important;
  left: 0;
  position: absolute !important;  
  right: 0;
  text-align: right;
  top: 0; 
  width: 100% !important;
}

@media only screen and (min-width: 1024px){
  .en__component--imageblock {
    display: block;
    opacity: 0;
    -webkit-transition: opacity .750s ease-in-out;
    transition: width opacity .750s ease-in-out;
  }

  .en__component--row--1:nth-of-type(1) {
    background-color: #be0000;
    /* ^ Tax landing page background color */
    background-image: linear-gradient(#111 30%, #aaa 70%);
    background: url(https://aaf1a18515da0e792f78-c27fdabe952dfc357fe25ebf5c8897ee.ssl.cf5.rackcdn.com/1951/09-1118DG-Tax+Campaign-Donation+Form_Icons.png);
    z-index: inherit;
  }
}

/* Text on Image */
.en__component--row--1:nth-of-type(2){
  text-align: center;
  width: 100%;
}

.en__component--copyblock.text-for-image.mobile-only {
  height: 0;
  overflow:visible;
}

.en__component--copyblock.text-for-image .h1, 
.en__component--copyblock.text-for-image .h2 {
  color: #fff;
}

.en__component--copyblock.text-for-image .total-credit-value {
  font-weight: 700;
}

@media only screen and (min-width: 768px) {
  .en__component--row--1:nth-of-type(2){
    text-align: inherit;
  }
}

@media only screen and (min-width: 1024px) {
  .en__component--row--1 .en__component--copyblock.text-for-image {
    color: #fff;
    margin: 0;
    margin-left: 50px;
    margin-top: 150px;
    max-width: 460px;
    width: 365px;
  }
  .en__component--row--1 .en__component--copyblock.text-for-image .h1 {
    font-size: 2rem;
  }
}

/* Text Left + Form */
.sub-header {
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
  margin-top: 0;
  padding-bottom: 30px;
}

@media only screen and (min-width: 1024px) {
  .en__component--row--1 .en__component--copyblock {
    margin: 20px 50px;
  }
}

/* ///////////////////////////// */
/* /// Tax Calculator Styles /// */
/* ///////////////////////////// */
@media only screen and (max-width: 1023px){ 
  .en__component--row.en__component--row--1:first-of-type {
    display: none !important;
  }

  .en__component--row.en__component--row--1:nth-of-type(2) {
    z-index: 999;
  }
}

#taxCalculatorMobile {
  background: #000;
  display: none;
  font-size: .75rem;
  /*  ^ 12px */
  padding: 20px 15px 20px 15px;
  text-align: left;
  width: 100%;
}

#xPander {
  background: #3a7ba6;
  box-shadow: 0px 4px 2px -2px #999;
  color: #fff;
  cursor: pointer;
  height: 40px;
  padding-top: 9px;
  
}

#xPander p {
  clip: unset;
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  height: auto;
  margin: 0;
  overflow: unset;
  position: relative;
  text-decoration: underline;
  width: auto; 
}


#xPander p::after {
  color: #fff;
  content: "\f067";
 /* Plus icon */
  font-family: FontAwesome;
  pointer-events: none;
  position: absolute;
  right: -18px;
  top: 0; 
}

#taxCalculatorMobile.open ~ #xPander p::after {
  content: "\f00d";
 /* Close icon */
}

@media only screen and (min-width: 1024px) {
  #taxCalculator {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #888;
    font-size: .8125rem;
    /* ^ 13px */
    padding: 20px 15px 40px 15px;
    width: 365px;
  }
}

.tax-calculator .h1 {
  font-size: 1.25rem;
  margin-top: 0;
}

.tax-calculator-description {
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.tax-calculator-province-field {
  padding-top: 10px;
  position: relative;
}

@media only screen and (min-width: 1024px) {
  .tax-calculator-province-field {
    margin-bottom: 50px;
    position: relative;
  }
}

.tax-calculator-province-field label {
  color: #fff;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  padding: 3px 0;
}

@media only screen and (min-width: 1024px) {
  .tax-calculator-province-field label {
    color:#333;
  }
}

.tax-calculator-province-field select {
  appearance: none; 
    -moz-appearance: none;
    -webkit-appearance: none;    
  background: #fff;
  border-radius: 3px;
  border: 1px solid #c0c0c0;
  font-family:'open sans';
  font-size: .75rem;
  /* ^ 12px */
  outline: none;
  padding: 10px;
  transition: none;
  width: 100%;
}

.tax-calculator-province-wrapper {
  position: relative; 
}

.tax-calculator-province-wrapper::after {
  color: #333;
  content: "\f078";
  font-family: FontAwesome;
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 12px;  
}

.tax-calculator-calculations {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tax-calculator-ftc {
  display: inline-block;
}

.tax-calculator-ftc-amount,
.tax-calculator-ptc-amount,
.tax-calculator-total-amount {
  font-size: 1.375em;
  /* ^ 22px*/
  font-weight: 700; 
}

.tax-calculator-total-amount {
  white-space: nowrap;
}

.tax-calculator-ftc-label,
.tax-calculator-ptc-label {
  font-weight: 600; 
  margin-top: 5px;
}

.tax-calculator-plus {
  display: inline-block;
  font-size: 2.5rem;
  /* ^ 40px */
  font-weight: 700;
}

.tax-calculator-ptc {
  display: inline-block;  
}

.tax-calculator-total { 
  align-items: center;
  border-top: 1px solid #000;
  display: flex;
  flex: 0 0 100%;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
}

.tax-calculator-total-label {
  font-weight: 600; 
  padding-left: 10px;
}

/* ///////////////////////////// */
/* ///// Countdown Styles ////// */
/* ///////////////////////////// */
#languageLink {
  color: #767676;
}

.step-1 {
  padding-bottom: 0;
}

.step-1 .en__component--formblock::after {
  clear: both;
  content: " ";
  display: block;
}

.custom-radio-buttons .en__field--withOther.en__field--othamt2 {
  padding-bottom: 0;
}

.tax-deadline {
  border-top: 1px solid #000;
  clear: both;
  margin-top: 30px;
  padding-top: 30px;
}

.tax-deadline p {
  font-size: 13px;
  margin: 0;
  text-align: center;
}

.countdown-timer-container {
  color: #e00;
  display: grid;
  font-size: 40px;
  grid-template-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
  margin: 10px auto;
  max-width: 320px;
  text-align: center;
}

.countdown-timer-container .timer-label {
  color: #333;
  font-size: 12px;
}

.countdown-completed {
  display: none;
}

.countdown-completed p {
  font-size: 24px;
}

@media all and (min-width: 500px) {

  .tax-deadline p {
    font-size: 16px;
  }

  .countdown-completed p {
    font-size: 24px;
  }

  .countdown-timer-container {
    font-size: 60px;
    max-width: 400px;
  }

  .countdown-timer-container .timer-label {
    font-size: 12px;
  }
}

@media all and (min-width: 768px) {
  .custom-radio-buttons .en__field--withOther.en__field--othamt2 {
    padding-bottom: 40px;
  }
}

/* ////////////////////////////// */
/* //// Thank You Styles //////// */
/* ////////////////////////////// */
.ty-bg {
  background-size: cover !important;
  background-position: bottom right !important;
}

@media only screen and (max-width: 1023px) {
  .ty-page {
    margin-top: -20px;
    padding: 0 20px 20px;
  }
  
}

/* Tax Styles */
/* styles-main-tax.css */