/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

label       { font-weight: bold; }
fieldset    { padding:6px 0; margin: 0;  }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input.text, input.title,
textarea, select {
  margin:0.5em 0;
  border:1px solid #bbb;
}

input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border:1px solid #666;
}

input.text, 
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; padding:5px; }

input.checkbox { width: 20px; }



/* Success, notice and error boxes
-------------------------------------------------------------- */

.formfielderror  { color: #8a1f11; }



/* Search  -------------------------------------------------------- */


#topnav_search {
    font-size: 11px;
    line-height: 11px;
    }


#topnav_search .input, #topnav_search .submit {
    font-size: 11px;
    line-height: 11px;
    .line-height: 13px;
    background: #02143a;
    border: 1px #143d7c solid;
    font-family: arial,verdana,sans-serif;
    }


#topnav_search .input {
    padding: 1px 0 1px 4px;
    .padding: 1px 0 0 4px;
    color: #8394af;
    width: 125px;
    margin: 0 0 0 6px;
    }

#topnav_search .submit {
    width: 25px;
    padding: 1px 0;
    .padding: 1px 0 0 0;
    color: #8394af;
    font-weight: bold;
    margin: 0 0 0 3px;
    }


/* Stay Informed -------------------------------------------------------- */

#signup {
    width: 278px;
    background: #f1f3f6 url('http://www.ncpanow.org/assets/img/signup_tile.jpg') no-repeat left top;
    height: 103px;
    font-size: 11px;
    line-height: 11px;
    }

#home #signup {
    width: 299px;
    height: 94px;
    }

#index #signup {
    width: 388px;
    height: 94px;
    }

#signup .title {
    width: 134px;
    height: 12px;
    background: #f1f3f6 url('http://www.ncpanow.org/assets/img/title_stay_informed.png') no-repeat left top;
    }

#signup .title span {
    display: none;
    }

#signup p {
    font-size: 11px; line-height: 1.1em; color: #7b7b7b; padding: 0 9px 9px 10px; margin: 0;
    }

#signup form {
    padding: 0 0 0 10px;
    }

#signup .input, #signup .submit{
    font-size: 11px;
    line-height: 11px;
    border: 1px #656667 solid;
    padding: 3px 2px 3px 6px;
    color: white;
    margin: 0;
    background: #8e9db1 url('http://www.ncpanow.org/assets/img/8e9db1.png') repeat;
    }

#signup .submit {
    padding: 2px;
    margin: 0;
    font-weight: bold;
    }
    

fieldset {
   width: 100%;
}

fieldset label {
   float: left;
   width: 20%; text-align: left; padding: 0;
   font-size: 1em; line-height: 28px; padding: 0; margin: 0;
}

fieldset input { 
   float: left;
   width: 70%; text-align: left; padding: 0; margin: 0;
}

fieldset input, fieldset  textarea, fieldset select {
    font-size: 12px;
    font-weight: normal;
    border: 1px #656667 solid;
    padding: 5px 5px;;
    color: #8e9db1;
    background: white;
    width: calc(50% - 10px);
    }

fieldset select {
   width: auto;
}

.checkbox_check {
   width: 20px; text-align: right; padding: 0; 
}

.checkbox_text { 
   width: auto; text-align: left; padding: 0; margin: 0;line-height: 1em;
}

fieldset.submit-field {
   margin-top: 1em;
}

fieldset.submit-field input {
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px #656667 solid;
    padding: 8px 0;
    text-align: center;
    color: white;
    margin: 0;
    background: #8e9db1;
    }
    
.button {
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px #656667 solid;
    padding: .5em 1em;
    text-align: center;
    color: white;
    margin: 0;
    background: #8e9db1;
    display: inline-block;
    }

/* Contact Forms -------------------------------------------------------- */

form dl {
    width: 600px;
    }

form dt, form dd {
    float: left;  
    }

form dt {
    width: 155px; text-align: right; padding: 0; margin: 0;
    }

form dd {
    width: 350px; padding: 0; margin: 0;
    }

form dt label {
    font-size: .9em; line-height: .9em; padding: 0; margin: 0;
    }

form dd input, form dd textarea, form dd select {
    font-size: 11px;
    line-height: 11px;
    font-weight: normal;
    border: 1px #656667 solid;
    padding: 3px 2px 3px 6px;
    color: white;
    margin: 0 0 0 10px;
    background: #8e9db1 url('http://www.ncpanow.org/assets/img/8e9db1.png') repeat;
    width: 400px;
    }

form dd select {
   width: auto;
}

form .submit {
    font-size: 11px;
    line-height: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px #656667 solid;
    padding: 3px 6px;
    color: white;
    margin: 0;
    background: #8e9db1 url('http://www.ncpanow.org/assets/img/8e9db1.png') repeat;
    }

/* TG added on 9.23.08 for RR form */   
input.dateField {
    width: 35px;
    }



/* Index Contact Forms -------------------------------------------------------- */

#index form dl { width: 370px; }

#index form dt { width: 120px; }

#index form dd { width: 250px; }

#index form dt label { font-size: .9em; line-height: .9em; padding: 0; margin: 0; }

#index form dd input, #index form dd textarea {
    padding: 2px 1px 2px 4px;
    margin: 0 0 0 6px;
    width: 240px;
    }

#index form .submit {
    font-size: 10px;
    line-height: 10px;
    padding: 2px 4px;
    }

#index p {margin: 0; padding: 0 0 9px 0;}


#index .primary_index_narrow form dl { width: 240px; }
#index .primary_index_narrow form dt { width: 75px; }
#index .primary_index_narrow form dd { width: 150px; }
#index .primary_index_narrow form dt label { font-size: .9em; line-height: .9em; padding: 0; margin: 0; }

#index .primary_index_narrow form dd input, #index .primary_index_narrow form dd textarea {
    padding: 2px 1px 2px 4px;
    margin: 0 0 0 6px;
    width: 140px;
    }

#index .primary_index_narrow form .submit {
    font-size: 10px;
    line-height: 10px;
    padding: 2px 4px;
    }

#index .primary_index_narrow p {margin: 0; padding: 0 0 9px 0;}


/* RSS by Email Forms -------------------------------------------------------- */

.rssemail {
    margin: 9px;
    padding: 8px 8px 0 8px;
    background: white;
    font-size: 11px;
    line-height: 11px;
    }

.primary_index_wide .rssemail {
    width: 495px;
    }

.bgrss {
    width: 240px;
    }

.rssemail p {
    font-size: 11px; line-height: 1.1em; font-weight: bold; color: #7b7b7b; padding: 0; margin: 0;
    }

.rssemail .input, .rssemail .submit{
    font-size: 11px;
    line-height: 11px;
    border: 1px #656667 solid;
    padding: 3px 2px 3px 6px;
    color: white;
    margin: 0;
    background: #8e9db1 url('http://www.ncpanow.org/assets/img/8e9db1.png') repeat;
    }

.rssemail .submit {
    padding: 2px;
    margin: 0;
    font-weight: bold;
    }

.blogrss h4 {margin: 0 0 6px 0;}
.blogrss .input, .blogrss .submit {margin-bottom: 9px;}

/* iFrame OpenSecrets Widget -------------------------------------------------------- */

#os_widget { 
    height: 340px;
    width: 238px;
    overflow: hidden;
 }
