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, form div { position: relative; float:left; display:block; }

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

input.error { 
  -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 { 
  -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 { 
  -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); }     

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



strong.error { 
  background: #ce5606;
  padding: 3px 5px;   
  display: block;
  white-space: nowrap;
  position: absolute; 
  top: 40px;
  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; } 
strong.error:after { 
  height: 0; 
  width: 0;    
  content: " ";    
  position: absolute; 
  left: 15px; 
  bottom: 100%;
  border: solid transparent; 
  pointer-events: none;
  border-color: rgba(206, 86, 6, 0);    
  border-bottom-color: #ce5606; 
  border-width: 4px; 
  margin-left: -4px; }

.text { 
  padding: 0;
  line-height: 1.4;
  float:left;
  margin-right: 20px;
  font-size: 18px;
  width: 60%;
}



form h2 {
    color: #fad000;
    font-size: 29px;
    line-height: 1;
    margin-bottom: 15px;
    text-align: center;
}

.hub-form.left .form { 
  margin-right: 20px;
  float: left; }
.hub-form.right .form { 
  margin-left: 20px;
  float: right; }


form input,
form select,
form textarea { 
   font-family: "Roboto Slab", serif;
  border: 1px #d0d0d0 solid;
  color: #777;
  margin: 0 auto;
  padding: 12px 8px;   
  cursor: pointer; 
  font-size: 17px;
  line-height: 1;
  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;
  background: #fff;   
  cursor: text;  } 
  
form select { width: 320px; }
form textarea { height: 100px; }


form .email {
    width: 211px;
}
form .zip { width: 115px; }
form input:hover,
form select:hover,
form textarea:hover { 
   color: #000;
  background: #d0d0d0; 
  }

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

form input:-moz-placeholder                 { opacity: 1; }
form input::-moz-placeholder                { opacity: 1; }
form input:-ms-input-placeholder            { color: #414141; }
form input::-webkit-input-placeholder       { color: #414141; }
form input:hover:-ms-input-placeholder      { color: #414141; }
form input:hover::-webkit-input-placeholder { color: #414141; }     

form textarea:-moz-placeholder                 { opacity: 1; }
form textarea::-moz-placeholder                { opacity: 1; }
form textarea:-ms-input-placeholder            { color: #414141; }
form textarea::-webkit-input-placeholder       { color: #414141; }
form textarea:hover:-ms-input-placeholder      { color: #414141; }
form textarea:hover::-webkit-input-placeholder { color: #414141; }      

form input:focus,
form select:focus,
form textarea:focus { 
  background: #F0EFF1; 
  cursor: text; 
   box-shadow:         1px 1px 2px rgba(0, 0, 0, 0.2);       
  -moz-box-shadow:    1px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
   }    

#content option { 
  border-radius:         4px;
  -moz-border-radius:    4px; 
  -webkit-border-radius: 4px; }    

/* Generic
--------------------------------------------------- */
form.generic .radioboxes {
   margin: 0 0 1em 0;
   font-size: 20px;
   line-height: 1.5;
   float: none;
   z-index: 9999; }
   
form.generic li {
   float: none;
   display: block;
   margin: 5px 0;
}

form button { 
   border: 0;
   margin: .5em auto; }


/* HUB Form
--------------------------------------------------- */
.content.left .form { clear:both; }
.content.right .form { clear: none; }
.content.center .form form  { float: none !important; clear: both;}

#hub-form, #hub-form-response, #twitter-widget, #share-widget { 
  background: #d1d6db; 
  border: none;
  color: #333;
  width: 350px;
  float:left;
  padding: 20px;
  -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; }
#hub-form:hover { background: #a7b8c8; } 

#hub-form h2, #hub-form-response h2 { color: #344a5e; font-weight: 700; }

#hub-form select {
  font-size: 14px;
  margin: 0 0 10px;
  width: 50%;  }

#hub-form li {
    display: inline-block;
    float: left;
    padding: 0 5px 5px 0;
    text-align: left;
}

#hub-form li, #hub-form div {
    display: block;
    float: left;
    position: relative;
}

#hub-form input, #hub-form select, #hub-form textarea {
    border: medium none;
    cursor: pointer;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    height: 20px;
    line-height: 1;
    margin: 0 auto;
    padding: 10px 0 10px 10px;
    transition: all 0.35s ease-in-out 0s;
    width: 160px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#hub-form textarea {
  width: 335px;
  height:100px;
}

#hub-form #zip       { width: 90px; }
#hub-form #address1  { width: 335px; }
#hub-form #city      { width: 135px; }
#hub-form #state     { width: 90px; height: 40px; }
#hub-form #email     { width: 335px; }
   
#hub-form input#phone { width: 335px; } 

#hub-form button {
 width:350px; 
}

#content form.unsubscribe input[type="radio"] {
  width: auto;
  margin-right: 10px;
}



.divider {
    background-image: url("/theme/img/divider_left.png");
    background-position: -3em 0.75em;
    background-repeat: no-repeat;
    color: #999;
    font-size: 14px;
    margin: 0 auto;

}

.divider span {
    background-image: url("/theme/img/divider_right.png");
    background-position: 127px 0.75em;
    background-repeat: no-repeat;
    display: block;
}

/* constituency page custom styles */

.constituency-trilogy-hub-form .text {
    background: none repeat scroll 0 0 #ffffff;
    padding: 20px;
    width: 60%;
}

.constituency-trilogy-hub-form .form {
    background: none;
    float: left;
    margin: 0;
    padding: 20px;
    text-align: center;
    width: auto;
    clear: right;
}

.constituency-trilogy-hub-form #content {width: auto;}

.constituency-trilogy-hub-form #share-widget img {width: 98%; height: auto; border: 2px solid #fff;}

#constituency-sidebar {float: left; width: 320px;}
