input:-moz-placeholder { opacity: 1; }
input::-moz-placeholder { opacity: 1; }
select:-moz-placeholder { opacity: 1; }
select::-moz-placeholder { opacity: 1; }
textarea:-moz-placeholder { opacity: 1; }
textarea::-moz-placeholder { opacity: 1; }

/* Form List Resets
--------------------------------------------------- */
form ol, 
form ul {
  list-style: none;
  margin: 0; }
form li { position: relative; }

/* Error INPUT
--------------------------------------------------- */

input.error, select.error, textarea.error { 
   color: #e2132b; 
   background: #f8dcdf;
  -moz-box-shadow:    inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.25); 
  box-shadow:         inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.25); }

input.error:hover, select.error:hover, textarea.error:hover { 
   color: #444;
   background: white;
  -moz-box-shadow:    inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.35);
  box-shadow:         inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.35); }

input.error:active, select.error:active, textarea.error:active { 
   color: #000;
   background: white;
  -moz-box-shadow:    inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.45);
  -webkit-box-shadow: inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.45);
  box-shadow:         inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.45); }   
  
  
  
.labels-above.animated input.error, .labels-above.animated select.error, .labels-above.animated textarea.error { 
   background: white;  
   border: 1px solid #ef3340;
  -moz-box-shadow:    inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0);
  -webkit-box-shadow: inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0); 
  box-shadow:         inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0); }

.labels-above.animated input.error:hover, .labels-above.animated select.error:hover, .labels-above.animated textarea.error:hover { 
   color: #444;
   background: white;
  -moz-box-shadow:    inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0);
  -webkit-box-shadow: inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0);
  box-shadow:         inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0); }

.labels-above.animated input.error:active, .labels-above.animated select.error:active, .labels-above.animated textarea.error:active { 
   color: #000;
   background: white;
  -moz-box-shadow:    inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0);
  -webkit-box-shadow: inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0);
  box-shadow:         inset 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.0); }    




/* Error LABEL
--------------------------------------------------- */

form label { position: relative; width: auto; height: auto; float: left;}

form#new_admin_member label {
  float: none;
  margin-top: 10px;
  padding-top: 10px;
}

.labels-above label {
  padding: .5em 0 .2em .2em;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition:    all .3s ease-in-out;
  -o-transition:      all .3s ease-in-out;
  -ms-transition:     all .3s ease-in-out;
  transition:         all .3s ease-in-out; }
.labels-above.animated label {
  position: absolute;
  left: .3em;
  top: 50%;
  z-index: 1000;
  color: #525252;
  font-size: .95em;
  padding: 0 .2em 0;
  -moz-transform:    translateY(-50%);
  -ms-transform:     translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform:         translateY(-50%); }
.labels-above.animated li:hover label { color: #0470bd ; }  
.labels-above.animated li.focused label { color: #525252; }  

.labels-above.animated li.focused label,
.labels-above.animated li.entered label {
  background: #fff;   
  top: 0%;
  font-size: .8em; 
  -moz-transform:    translateY(-15%);
  -ms-transform:     translateY(-15%);
  -webkit-transform: translateY(-15%);
  transform:         translateY(-15%); }  



.labels-above.animated label abbr { 
  color: #fff; 
  border-bottom: none !important; }

.labels-above label:hover {
  cursor: pointer; 
  color: #ef3340; }
  
.labels-above label abbr { 
  color: #ef3340; 
  border-bottom: none !important; }
.labels-above label abbr[title], .labels-above label dfn[title] {
 border-bottom: none !important;  
}

li.submit-button { padding-top: .4em; }

.with-icons li { position: relative; }
.with-icons li:before { 
  position: absolute;
  left: .5em;
  top: 50%;
  -moz-transform:    translateY(-50%);
  -ms-transform:     translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform:         translateY(-50%);
  display: inline-block; 
  font-family: 'trilogyicons';
  content: attr(data-icon);
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
  -webkit-transition: all .3s ease-in-out;
  -moz-transition:    all .3s ease-in-out;
  -o-transition:      all .3s ease-in-out;
  -ms-transition:     all .3s ease-in-out;
  transition:         all .3s ease-in-out; }
.with-icons li:hover:before { color: #0470bd; }
.with-icons li.focused:before { color: #ef3340; }

.with-icons li.name-field:before { content: "u"; }
.with-icons li.email-field:before { content: "e"; }
.with-icons li.zip-field:before { content: "Q"; }


strong.error { 
  background: #ff0000;
  padding: 3px 5px;   
  display: block;
  white-space: nowrap;
  position: absolute; 
  top: 38px;
  left: -5px;
  z-index: 9999;
  -moz-border-radius:    2px;
  -webkit-border-radius: 2px;
  border-radius:         2px; 
  font-size: 10px;
  line-height: 10px;
  font-weight: 400;
  color: #fff; 
  text-transform: uppercase;
  -moz-transform:    translateY(-50%);
  -ms-transform:     translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform:         translateY(-50%); }
    
strong.error:after { 
  height: 0; 
  width: 0;    
  margin-left: -6px;  
  content: " ";    
  position: absolute; 
  left: 15px; 
  bottom: 100%;
  border-color: #ff0000;    
  border: solid transparent; 
  pointer-events: none;
  border-bottom-color: #ff0000; 
  border-width: 6px; 
  }

.labels-above strong.error {
  left: 0;
  top: 105%;
  bottom: auto; }


.labels-above.animated strong.error { 
  background: #ff0000;
  padding: 3px 5px;    
  top: 50%;
  left: 100%;
  z-index: 9999;
  -moz-border-radius:    2px;
  -webkit-border-radius: 2px;
  border-radius:         2px; 
  font-size: .7em;
  font-weight: 400;
  color: #fff; 
  text-transform: uppercase;  }
    
.labels-above strong.error:after { display: none;  }



/* Generic Form Elements
--------------------------------------------------- */

form li.textarea { float: right; z-index: 999; }

form li.submit { 
  padding-top: 15px;
  text-align: center;
  display: block; 
  }
  
form li { 
  margin: 0;
  display: block; }
.labels-above.animated li { padding: .4em 0; }

input,
select,
textarea { 
    background: rgba(255,255,255,.8); 
    border: none;
    width: 100%;
    height: 42px;
    margin: 0 auto;
    padding: 5px 11px;   
    cursor: pointer; 
    font-style: normal;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.5;
    color: black;
    transition:         all .35s ease-in-out;    
    -webkit-transition: all .35s ease-in-out;  
    -moz-transition:    all .35s ease-in-out;  
    -o-transition:      all .35s ease-in-out;  
    -ms-transition:     all .35s ease-in-out; 
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    } 

.checkbox {
  display: block !important;
}

input[type='checkbox'] {
  height: auto !important;
  display: block !important;
}

.ie8 input.checkbox {
    background: none;
    border: normal;
    color: black;
    padding: 0;
    margin: 0;
    width: 15px;
    }


input:hover,
select:hover,
textarea:hover { 
    background: rgba(255,255,255,1);
    color: #0470bd;
    }
    
input:focus,
select:focus,
textarea:focus { 
    background: rgba(255,255,255,1);
    color: black;
    }


/* ---- Placeholder Text Equalizer ---- */

input:-ms-input-placeholder            { color: #4a4a4a; }
input::-webkit-input-placeholder       { color: #4a4a4a; }
input:hover:-ms-input-placeholder      { color: #4a4a4a; }
input:hover::-webkit-input-placeholder { color: #4a4a4a; }     

textarea:-ms-input-placeholder            { color: #4a4a4a; }
textarea::-webkit-input-placeholder       { color: #4a4a4a; }
textarea:hover:-ms-input-placeholder      { color: #4a4a4a; }
textarea:hover::-webkit-input-placeholder { color: #4a4a4a; }      


/* Generic Button
--------------------------------------------------- */
.button, .can_button, #can_embed_form input[type="submit"], #can_embed_form .button, #donate_auto_modal input[type="submit"], #donate_auto_modal .button {
   position: relative;
   background-color: #06369d;
   font-size: 20px;
   letter-spacing: 0;
   font-weight: 700;
   line-height: 54px;
   padding: 0 40px;
   height: 54px;
   color: #fff;
   display: inline-block;
   text-transform: uppercase;
   cursor: pointer;
   -webkit-border-radius: 3px 3px 3px 3px;
   border-radius: 3px 3px 3px 3px;
   -webkit-transition: all .35s ease-in-out;
   -moz-transition:    all .35s ease-in-out;
   -o-transition:      all .35s ease-in-out;
   -ms-transition:     all .35s ease-in-out;
   transition:         all .35s ease-in-out; }
   
button { height: 54px !important; border: 0; padding: 0 40px; }

.button:hover {
   background-color: #0032a0;
   color: white;
   -moz-transform: scale(1.15);
   -webkit-transform: scale(1.15);
   -o-transform: scale(1.15);
   -ms-transform: scale(1.15);
   transform: scale(1.15); }

.button:active {
   background-color: white;
   color: #06369d;}
   
.button.white { background: none; color: white; -webkit-box-shadow:inset 0 0 0 2px #ffffff; box-shadow:inset 0 0 0 2px #ffffff; }
.button.white:hover { background-color: white; color: #0e101f; }
.button.white:active { background-color: #df3f43; color: white; -webkit-box-shadow:inset 0 0 0 2px #df3f43; box-shadow:inset 0 0 0 2px #df3f43; }

.button.blue { background: none; color: #0032a0; -webkit-box-shadow:inset 0 0 0 2px #0032a0; box-shadow:inset 0 0 0 2px #0032a0; }
.button.blue:hover { background-color: #0032a0; color: white; }
.button.blue:active { background-color: #df3f43; color: white; -webkit-box-shadow:inset 0 0 0 2px #df3f43; box-shadow:inset 0 0 0 2px #df3f43; }

/* Unsubscribe form styles */
form.unsubscribe input:focus, form.unsubscribe select:focus, form.unsubscribe textarea:focus {
  background: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}
form.unsubscribe ol, form.unsubscribe ul {
    list-style: none;
    margin: 0;
}

form.unsubscribe li {
    margin: 0 0 7px;
    display: block;
}

form.unsubscribe input, form.unsubscribe select, form.unsubscribe textarea {
  float: none; 
}

form.unsubscribe input[type="radio"] {
  display: inline;
  width: auto;
  margin-right: 10px;
  -webkit-appearance: radio;
}

form.unsubscribe input[type="radio"] + label {
  display: inline;
  float: none;
}

form.unsubscribe textarea#reason {
  clear: both;
  display: block;
  margin: 0;
  width: 320px; 
  height: 60px;
}


/* Layout pieces */
form div.title {
    width: 15%;
    color: white;
    font-size: 180%;
    font-weight: 700;
    line-height: 40px;
    margin-right: 3%;
    text-align: right;
    vertical-align: middle;
    display: inline-block; }

form div.fields {
   width: 50%;
    vertical-align: middle;
    display: inline-block;
}

   li.email-container { width: 75%; }
   li.zip-container { width: calc(25% - 2px); margin-left: 2px; }

form div.submission {
   width: 15%;
    vertical-align: middle;
    display: inline-block;
    margin-left: 1%;
}


.can_embed.form #can_embed_form_inner>h2, 
.event_campaign #can_embed_form>h2,
#can_embed_form .event_map_wrap, 
#can_embed_form #event_map_wrap,
#can_embed_form #action_info .action_owner { display: none; }

.can_button, #can_embed_form input[type="submit"], #can_embed_form .button, #donate_auto_modal input[type="submit"], #donate_auto_modal .button {
   background-color: #06369d !important;
   /*font-size: 20px !important;*/
   letter-spacing: 0 !important;
   font-weight: 700 !important;
   /*line-height: 54px !important;*/
   /*padding: 0 40px !important;*/
   /*height: 54px !important;*/
   color: #fff !important;
   -webkit-border-radius: 3px 3px 3px 3px !important;
   border-radius: 3px 3px 3px 3px !important; }
   
   #dash_intro #can_embed_form #can_zip_search #form-zip_code-submit {
      background: #06369d !important;
      color: white !important;
      }

#can_embed_form #can_thank_you {
    background-color: transparent !important;
    color: initial !important;
    padding: 0 !important; }
    
#can_embed_form #can_thank_you #action_info .action_info_user, #can_embed_form #can_thank_you #action_info .action_info_user a { color: initial !important; }

#can_embed_form #can_thank_you #action_info { border-top: 1px solid #ccc !important; }

#can_embed_form.can_768 #form_col3, #can_embed_form.can_768 #form_col4 {
    float: left;
    width: 48% !important;
    margin-left: 4%;
}

#can_embed_form #can_thank_you #action_info .action_info_user {
    display: none !important;
}

#can_embed_form #d_sharing label {
    display: none !important;
}

#can_embed_form #can_thank_you h1 {
    display: none !important;
}

#can_embed_form #can_thank_you #action_info.alt_action_info {
  border-bottom: none !important;
}

#can-form-area-academy-sign-up #form_col2, #can-form-area-academy-sign-up #form_col1, #can-form-area-no-filter-sign-up #form_col2, #can-form-area-no-filter-sign-up #form_col1 {
  float: none !important;
  width: 100% !important;
}

#can-form-area-no-filter-sign-up h4 {
  display: none !important;
}

#can_embed_form .check_radio_field label input {
  width: 25px !important;
  }

