/*
    Styles for NSCL forms 
*/

/* Container for the form (same size as standard page middle column) */
.nscl-form {
    background: #edefe6;
    border: 1px solid #d6d9d3;
    line-height: 1.6;
    padding: 0 2.2em 1.5em 1.5em;   
    width: 70%;
} 

.required {
	color: #cc0000;	
}

.nsclMessageGreen {
    color: #008000;
    font-size: 100%;
}
.nsclMessageRed {
    color: #cc0000;
    font-size: 90%;
}

/* Major topic section */
.nscl-section { 
    border-bottom: 1px solid #847135; 
    margin: 0 0 1.75em 0; 
    padding: 0; 
    width: 100%; 
}

/* *** Form element styles *** */

.nsclform h2 {
    font-size: 1.5em;      
    margin: 0.8em 0 0.8em 0;
}

.nsclform h3 {
    font-size: 1.2em;    
    margin: 0.6em 0 0.6em 0;
}

.nsclform hr {
    background: #ccc;      
    border: none; 
    height: 1.5px;     
    margin: 2em 0 2em 0;   
    width: 100%; 
}

.nsclform label { 
    font-size: 1em; 
    margin-bottom: 1em; 
    padding: 1em 0 0 0;
} 

/* Small label to end nested Fieldsets */
.nsclform label.small { 
    font-size: 0.8em; 
    margin-bottom: 1em; 
    padding: 1em 0 0 0;
} 

p.nsclform {
    font-size: 1em;   
    margin: 0;   
    margin: 1em 0 1em 0;
}

.nsclform textarea { 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 1em; 
    margin-bottom: 2em;
    padding: 0.3em; 
    width: 80%; 
}

/* Default style for NSCL text box */
.nsclform input { 
    font-size: 1em; 
    margin-bottom: 0.5em;   
    padding: 0.3em; 
    width: 70%; 
} 

/* Text box style for narrow width */
.nsclform input.w10 { 
    font-size: 1em; 
    margin-bottom: 0.5em;   
    padding: 0.3em; 
    width: 10%; 
} 

.nsclform input[type="checkbox"] { 
    height: 16px; 
    margin: 0; 
    padding: 0.5em; 
    vertical-align: middle; 
    width: 16px; 
}
.nsclform label.checkbox {
/* Label for radio buttons or checkboxes */
    font-size: 1em; 
    margin: 0;   
    padding: 0;
}

.nsclform input[type="radio"] { 
    height: 1em; 
    margin: 1em 0.5em 1.2em 0; 
    padding: 0.5em 0.5em 0.8em 0.5em;
    vertical-align: middle; 
    width: 1em; 
}

/* FIELDSET */
.nsclform fieldset {
    margin: 0 0 1.5em 0; 
}

fieldset.nsclform-n2  {
    /* Nested fieldset */
    margin: 2em; 
}

.nsclform fieldset > legend {   
    font-weight: bold; 
    padding: 0 0.2em 0 0.2em;
}
.nsclform fieldset > label {
/* Label for radio buttons or checkboxes */
    font-size: 1em; 
    margin: 0;   
    padding: 0;
}
.nsclform fieldset > input[type="checkbox"] { 
    height: 16px; 
    margin: 0; 
    padding: 0.5em 0.5em 0.8em 0.5em; 
    vertical-align: middle; 
    width: 16px; 
}
.nsclform fieldset > input[type="radio"] { 
    height: 1em; 
    margin: 0;
    padding: 0.5em 0.5em 0.8em 0.5em;
    vertical-align: middle; 
    width: 1em; 
}

/* Submit button */
.nsclform input[type="submit"] {
    background: #f2f2f2; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YyZjJmMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f2f2f2 0%, #cccccc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f2f2f2 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f2f2f2 0%,#cccccc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f2f2f2 0%,#cccccc 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f2f2f2 0%,#cccccc 100%); /* W3C */
    border: 1px solid #999;
    border-radius: 3px 3px 3px 3px; 
    box-shadow: inset 0 1px 1px #fff,
                0 1px 2px rgba(0,0,0,0.20); /* Remove this line if you dont want a dropshadow on your buttons*/ 
    cursor: pointer;
    display: inline-block;      
    font-size: 1em; 
    line-height: 14px;
    margin-top: 15px;
    overflow: hidden;
    padding: 0.5em 1em 0.5em 1em;
    position: relative;
    text-align: center;
    -moz-border-radius: 3px 3px 3px 3px; 
    -webkit-border-radius: 3px 3px 3px 3px;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#cccccc',GradientType=0 ); /* IE6-8 */
    -webkit-box-shadow: inset 0 1px 1px #fff,
        0 1px 2px rgba(0,0,0,0.20); /* Remove this line if you dont want a dropshadow on your buttons*/
    width: auto;
}

.nsclform:hover input[type="submit"] {
    background: #f9f9f9; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZGRkZGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f9f9f9 0%, #dddddd 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#dddddd)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f9f9f9 0%,#dddddd 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f9f9f9 0%,#dddddd 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f9f9f9 0%,#dddddd 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f9f9f9 0%,#dddddd 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#dddddd',GradientType=0 ); /* IE6-8 */
	-webkit-box-shadow: inset 0 1px 1px #fff,
        0 1px 2px rgba(0,0,0,0.20); /* Remove this line if you dont want a dropshadow on your buttons*/
    box-shadow: inset 0 1px 1px #fff,
                0 1px 2px rgba(0,0,0,0.20); /* Remove this line if you dont want a dropshadow on your buttons*/
}
