/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-family: "Times New Roman", Times, serif;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*-----------------------------------------------------------------------------
 *           
 *---------------------------------------------------------------------------*/
body {
  border-top: 17px solid #1e4074;
}

/* Hide elements while remain accesible to screen readers and bots */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/* Remove margin on element */
.no-margin {
  margin: 0 !important;
}
 
.clear {
  clear: both;
}

/* Clearfix for floats */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}
 
/*-----------------------------------------------------------------------------
 *           Structure            
 *---------------------------------------------------------------------------*/
.main-container {
  margin: 0 auto;
  width: 940px;
}
/*-----------------------------------------------------------------------------
 *           HEADER            
 *---------------------------------------------------------------------------*/
.header {
  padding: 22px 0 26px;
}
 
.banner {
  margin-bottom: 30px;
}
 
/*-----------------------------------------------------------------------------
 *           FORM            
 *---------------------------------------------------------------------------*/
.form-container {
  color: #bababa;
}
 
fieldset {
  margin: 10px 0;
}
 
.form-group {
  border: thin solid #dddddd;
  padding: 28px 31px;
}
 
.form-item {
  float: left;
  margin-right: 29px;
  margin-bottom: 29px;
  width: 272px;
}
 
.form-legend {
  display: block;
  margin: 0 auto 30px;
  text-align: center;
  text-indent: -9999px;
}

.information .form-legend {
  background: url(img/legend_information.png) no-repeat left top;
  height: 22px;
  width: 228px;
}
 
.amount .form-legend {
  background: url(img/legend_amount.png) no-repeat left top;
  height: 22px;
  width: 221px;
}
 
.payment .form-legend {
  background: url(img/legend_payment.png) no-repeat left top;
  height: 22px;
  width: 215px;
}

/* Text Inputs */
.form-text {
  background: #f7f7f7;
  border: thin solid #dddddd;
  color: #bababa;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  padding: 9px 10px;
  width: 91%;
}

.form-select {
  background: url(img/arrow.png) no-repeat right center #f7f7f7;
  border: thin solid #dddddd;
  color: #bababa;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  padding: 8px 10px;
  width: 100%;
  -webkit-appearance: button;
}

/* darker color for options */
option {
  color: #666;
}
 
.state {
  float: left;
  width: 137px;
}
 
.zipcode {
  width: 90px;
}
 
.separator {
  background: url(img/separator.png) repeat-y center top;
  height: 60px;
}
 

/* Amount fields */
.amount .form-item {
  margin: 0 !important;
  width: 70px;
}
 
.radio-container {
  margin: 0 auto 27px;
  width: 490px;
}

/* AMount field */
.amount-container {
  width: 230px;
  margin: 0 auto;
}
 
.amount-field {
  float: left;
  width: 153px;
}

.amount-field .form-text {
  width: 100%;
}

/* Recurrent donation */
.subscribe-donation {
  margin-top: 29px;
  text-align: center;
}

/* PAYMENT */
.card-type {
  display: block;
  float: left;
  margin-right: 30px;
}

/* row */
.row {
  clear: both
}
 
.row-1 {
  margin-left: 210px;
  width: 560px;
}
 
.row-1 .form-item {
  margin-right: 16px;
  width: 162px;
}
  
.cvv {
  margin-right: 15px;
  width: 138px;
}

.cvv .form-text {
  width: 82%;
}

.cvv-image {
  display: block;
  float: left;
  margin-right: 29px;
  padding-top: 11px;
}
 
.exp-date.form-item {
  width: 345px;
}

#month {
  width: 110px;
}

.exp-date label {
  padding-top: 20px;
  margin-right: 5px;
}

.exp-date .form-select,
.exp-date label {
  float: left;
}
 
.exp-date .form-select {
  font-size: 18px;
  margin-right: 14px;
  width: 92px;
}

/* Submit button */
.submit {
  clear: both;
  float: none;
  margin-left: auto;
  margin-right: auto;
  width: 273px;
}
 
.form-submit {
  background: url(img/submit.png) no-repeat left top;
  border: none;
  cursor: pointer;
  height: 56px;
  text-indent: -9999px;
  text-transform: uppercase;
  width: 273px;
}

/* Parsley error */
.parsley-error {
  border: thin solid #1e4074;
}

.parsley-error-list li {
  color: #1e4074;
}
 

/* Thanks messages */
.thanks-message {
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin: 30px 0;
}
 
.thanks-message p {
  margin-bottom: 10px;
}

.thanks-title {
  text-transform: uppercase;
  font-size: 60px;
  color: #1e4074;
  letter-spacing: -4px;
}

.thanks-message a {
  color: #c00101;
}

.donation-message {
  text-align: center;
}
 
