/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }

/* colors for form validity */
input:valid   {  }
input:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid { background-color: #f0dddd; }

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 


.form-message {
  background: #ffeb8f;
  border: 1px solid #af0a0a;
  color: #4f0000;
  margin: 10px 0 20px;
  padding: 5px;
  max-width: 97%;
  width: 500px;
}

.form-message h3 {
  background: url(//www.gfamedia.org/images/famfamicons/exclamation.png) 0 3px no-repeat;
  color: #4f0000;
  padding-left: 20px;
}

.form-message li {
  margin-left: 18px;
  list-style-type: disc;
}

.form-0 {
  margin-bottom: 1em;
  position: relative;
}

.form-1 {
  margin-bottom: 1em;
  position: relative;
}

.form-0 .field-error-message {
  color: darkred;
  display: block;
  padding: 0 0 10px 190px;
}

.form-0 fieldset {
  border: 0;
  margin: 0 0 1em;
  padding: 0;
}

.form-1 fieldset {
  border: 0;
  margin: 0 0 1em;
  padding: 0;
}

.form-0 label {
}

.form-0 input.address {
  width: 300px;
}

.form-0 input.city {
  width: 150px;
}

.form-0 input.email {
  width: 200px;
}

.form-0 input.password {
  width: 100px;
}

.form-0 input.postal_code {
  width: 125px;
}

.form-0 input.state {
  width: 100px;
}

.form-0 input.zip {
  width: 125px;
}

.form-0 input.quantity {
  width: 50px;
}

.form-0 button {
  margin-left: 185px;
}

.form-1 button {
  margin-left: 185px;
}

.form-0 button.left {
  margin-left: 0px;
}

.form-1 button.left {
  margin-left: 0px;
}

.form-0 .field-error input {
  background: #ffeb8f;
}

.form-0 .feedback {
  display: none;
}

.form-0 .field-note {
  color: #666;
  font-size: 0.9em;
  padding-left: 1em;
}

.form-0 .help-text {
  font-size: 80%;
  color: #555;
  margin: 0 0 -9px;
  padding-left: 190px;
  position: relative;
  top: -7px;
}

.form-0 .input-checkbox {
  clear: both;
  margin: 1em 0;
}

.form-0 .input-text {
  clear: both;
  padding: 5px 0;
}

.form-1 .input-text {
  clear: both;
  padding: 5px 0;
}

.form-0 .input-text input {
  float: left;
  margin-left: 0px;
}

.form-1 .input-text input {
  float: left;
  margin-left: 0px;
}

.form-0 .input-text label {
  display: block;
  float: left;
  font-weight: bold;
  padding-right: 10px;
  text-align: right;
  width: 180px;
}

.form-1 .input-text label {
  display: block;
  float: left;
  font-weight: bold;
  padding-right: 10px;
  text-align: right;
  width: 180px;
}

.form-0 .input-radio {
  clear: both;
  padding: 5px 0;
}

.form-0 .input-select {
  clear: both;
  padding: 5px 0;
}

.form-0 .input-select label {
  display: block;
  float: left;
  font-weight: bold;
  padding-right: 10px;
  text-align: right;
  width: 180px;
}

.form-0 .input-submit {
  clear: both;
  padding: 5px 0;
}

.credit-card {
  margin: 10px 0;
}

.credit-card input {
  margin-right: 5px;
}

.credit-card select {
  margin-right: 4px;
}

.credit-card img {
  margin-left: 190px;
  margin-top: 10px;
}

.form-0 .currency {
  width: 5em;
}

.form-0 .credit-card-inline {
  margin: 2em 0 2em 20px;
}

.form-0 .credit-card-inline ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.form-0 .credit-card-inline li {
  float: left;
  padding-right: 15px;
}

.form-0 .credit-card-inline img {
  position: relative;
  top: 0.5em;
}

.form-0 .credit-card-inline label {
  display: block;
  float: none;
  font-weight: bold;
  text-align: left;
  width: auto;
}

.form-0 .credit-card-inline select {
  margin-right: 5px;
}

.form-0 .credit-card-inline .input-text {
  padding: 0;
}

.sn {
  background: url(//www.gfamedia.org/images/buttons/button_white_128x35.gif) no-repeat scroll left top;
  border: 0;
  color: #8c402a;
  cursor: pointer;
  font: bold 0.9em Arial, Sans-serif;
  height: 34px;
  line-height: 34px;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 128px;
}


.sl {
  background: url(//www.gfamedia.org/images/buttons/button_white_s_200px.gif) no-repeat scroll left top;
  border: 0;
  color: #8c402a;
  cursor: pointer;
  font: bold 0.9em Arial, Sans-serif;
  height: 34px;
  line-height: 34px;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 200px;
}

.button-1 {
  background: #8f0000;
  border: 0.5em solid #8f0000;
  border-radius: 0.5em;
  color: #fff;
  cursor: pointer;
  font-size: 1.4em;
  margin: 1em 0;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -moz-box-shadow: rgba(0,0,0,0.65) 0.25em 0.25em 0.5em;
}   

.button-1:hover {
  background: #6f0000;
  border: 0.5em solid #6f0000;
}   

.button-2 {
  background: #4f4a82;
  border: 0.5em solid #4f4a82;
  border-radius: 0.5em;
  color: #fff;
  cursor: pointer;
  font-size: 1.4em;
  margin: 1em 0;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -moz-box-shadow: rgba(0,0,0,0.65) 0.25em 0.25em 0.5em;
}   

.button-2:hover {
  background: #b3add6;
  border: 0.5em solid #b3add6;
  color: #000;
}   

a.button-2 {
  text-decoration: none;
  color: #fff; 
}

button.link {
  font-size: inherit;
  color: blue;
  cursor: pointer;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  -moz-user-select: text; 
  text-align: left;
}

button.link span {
  text-decoration: underline;
}

button.link:hover {
  color: #00016f;
}

button::-moz-focus-inner{
  padding:0;
  border: 0;
}

/* ZipCodeMagic highlighting */
.zip-highlighted, div form .zip-highlighted {
  background: #ffa;
}
