/******************************* standard stuff *************************************/

body{
  font-family: 'Trebuchet MS', arial, helvetica, sans-serif;
  font-size:   13px;
  line-height: 18px;
  color: #666666;
}

h1 { font-size: 200%; letter-spacing: -2px; margin-bottom: 20px; }

h2 { font-size: 180%; letter-spacing: -1px; margin-bottom: 20px; }

h3 { font-size: 150%; letter-spacing: -1px; margin-bottom: 20px; }

h4 { font-size: 120%; letter-spacing: -1px; margin-bottom: 20px; }

h5 { font-size: 110%; margin-bottom: 20px; }

a { 
  outline:none;
  color: #78C042;
  text-decoration: none;
  border-bottom: 1px dotted #78C042;
}
a:visited { color: #78C042; }
a:hover { 
  /*color: #ffffff; 
  background-color:#ff5398;*/
  color: #009900;
  border-bottom: 1px solid; 
}

strong {
  font-weight:bold;
}

em {
  font-style: italic;
}

p {
  margin: 0.5em 0;
  padding-bottom: 0.5em;
}

blockquote {
    color:#888888;
    text-indent:37px;
    padding-top:20px;
    background:transparent url(../img/generic/blockquote.png) top left no-repeat;
}

blockquote span.blockquoteEnd {
  height:20px;
  width:22px;
  float:right;
  display:block;
  margin:0 0 0 16px;
  border:0;
  padding:0;
  background:transparent url(../img/generic/blockquoteEnd.png) top left no-repeat;
}

cite {
  font-weight: bold;
}

pre {
  padding: 10px;
  font-size: 11px;
  background-color:#f7f7f7;
  padding:2%;
  border:1px solid #e3e3e3;
  margin:0;
  line-height:140%;
 
  /* make lines wrap in pre tag - browser specific so not valid css - lousy browsers */
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

code {
  font-family: "bitstream vera sans mono", monaco,"lucida console","courier new",courier,serif;
  font-size-adjust: none;    
  font-stretch: normal;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: normal;
}

hr {margin:10px 0 10px 0; }
/*********************************** forms *****************************************/

label { font-weight: bold; }

input, select {
  width:100px;
}

input, textarea, select {
  border:1px solid #aaaaaa;
  padding:2px;
  background:#ffffff url(../img/generic/inputBg.gif) top left no-repeat;
  margin-top:2px;
}

input.checkbox {
  width:15px;
  background:none;
  border:0;
}

input.radio {
  width:15px;
  background:none;
  border:0;
  margin-right:10px;
}

input.small, select.small {
  width:50px;
}

input.large, select.large {
  width:200px;
}

input.extra_large, select.extra_large {
  width:300px;
}

input:hover, textarea:hover, select:hover {
  border:1px solid #888888;
}

input:active, textarea:active, select:active {
  border:1px solid #888888;
}

input.submit {
  background:#ffffff url(../img/generic/submitBg.png) -20px 0 no-repeat;
  color:#ffffff;
  width:inherit;
}

input.submit:hover {
  cursor: pointer;
}

.submit input {
  cursor: pointer;
}

textarea {
  width:300px;
  height: 200px;
}

textarea.deep {
  height:350px;
}

textarea.shallow {
  height:50px;
}

fieldset {
  background:#f7f7f7;
  padding:2%;
  border:1px solid #e3e3e3;
  margin:0;
}

legend {
  font-weight:bold;
  font-size: 120%; 
  letter-spacing: -1px;
  color:#666666;
}

/******************************** images ****************************************/

img {
  padding:2px;
  border: 2px solid #cccccc;
  background-color: #eeeeee;
}

.loader {
  display:none;
}

/******************************** tables ***************************************/

table {
  border: 1px solid #999999;
}

thead {
  color: #ffffff;
  border-bottom: 1px solid #999999;
}

thead tr {
    background: #999999 url(../img/generic/theadBg.jpg) top left repeat-x;
}

tr { background-color: #ffffff; }

tr.odd { background-color: #eeeeee; }

th, td {
  padding:3px;
  border-right: 1px solid #999999;
}

/********************************** lists **************************************/

ol li {
  list-style-type: decimal;
}

ul li {
  list-style-type: disc;
}

ol, ul, dl {
  padding-left: 30px;
}

dd {
  margin:0 0 4px 0;
  background-color: #eeeeee;
  padding:10px;
}

li.odd {
  background:#FFE2C4;
}

ul.no_bullets {
  margin:0;
  padding:0;
}

ul.no_bullets li {
  margin:20px 0;
  list-style:none;
}


/********************************* LiveValidation *************************************/
/* standard text version */
.LV_valid {
    color:#78C042;
}
	
.LV_invalid {
	color:#990000;
}
	
.LV_validation_message{
    font-weight:bold;
    margin:0 0 0 5px;
}
    
.LV_valid_field,
input.LV_valid_field:hover, 
input.LV_valid_field:active,
textarea.LV_valid_field:hover, 
textarea.LV_valid_field:active,
.fieldWithErrors input.LV_valid_field,
.fieldWithErrors textarea.LV_valid_field {
    border: 1px solid #78C042;
}
    
.LV_invalid_field, 
input.LV_invalid_field:hover, 
input.LV_invalid_field:active,
textarea.LV_invalid_field:hover, 
textarea.LV_invalid_field:active,
.fieldWithErrors input.LV_invalid_field,
.fieldWithErrors textarea.LV_invalid_field {
    border: 1px solid #990000;
}

/************************************ HELPERS ***************************************/		

.floatRight {
  float:right;
}

.floatLeft {
  float:left;
}

.floatNone {
  float:none;
}

.clearBoth {
  clear:both;
}

.clearLeft {
  clear:left;
}

.clearRight {
  clear:right;
}

.inline {
  display:inline;
}

.block {
  display:block;
}

.hidden {
  display:none;
}

.invisible {
  visibility:hidden;
}

.visible {
  visibility:visible;
}

/** margin helpers (useful for floated images) **/

.marginTop10 {
  margin-top:10px;
}

.marginRight10 {
  margin-right:10px;
}

.marginBottom10 {
  margin-bottom:10px;
}

.marginLeft10 {
  margin-left:10px;
}

.marginTop20 {
  margin-top:20px;
}

.marginRight20 {
  margin-right:20px;
}

.marginBottom20 {
  margin-right:20px;
}

.marginLeft20 {
  margin-left:20px;
}


.padding {
  padding: 5px;
}

.last {
    margin-bottom:0;
}

.no_height {
    height:0px;
    margin:0;
    padding:0;
    border:0;
}


.clearfix:after {
    content: "."; 
    display: block; 
    height: 0px; 
    clear: both; 
    visibility: hidden;
}

* html .clearfix { height: 1%; }


.container_with_padding {
  padding: 20px;
}

.small {
  font-size: 85%;
}


/** pagination ***********************/

.pagination {
  float:right;
}

.pagination a {
  /*border: 1px solid #FFE2C4;
  color: #FF9422;*/
}

.pagination a:hover, .pagination a:active {
  /*border: 1px solid #FF9422;
  color: #000;*/
}

.pagination span.current {
  /*border: 1px solid #FF9422;
  background-color: #FF9422;
  color: #FFF;*/
}

.pagination span.disabled {

}

/** divider **************************/

.divider {
    height:0;
    margin:20px 0;
    width:100%;
    border:0;
    border-top: 1px dashed #cccccc;
}

/** information *****************************************************************/
#flash {
    margin:0 0 20px 0;
}
.failure, .success, .information {
  padding:12px 12px 12px 34px;
}
.failure, .success {
  padding:12px 12px 12px 34px;
  font-weight:bold;
}
.failure {
    border: 1px solid #B64A4A;
    color: #990000;
    background:#F5CAC5 url(../img/generic/icons/validationFail.png) no-repeat scroll 10px 14px;
}
.success {
    border: 1px solid #8ED28E;
    color: #009900;
    background:#D8EAD0 url(../img/generic/icons/validationPass.png) no-repeat scroll 10px 14px;
}
.information {
    border:1px dashed #2F6FAB;
    color:#2F6FAB;
    background:#D1DCE9 url(../img/generic/icons/validationInfo.png) no-repeat scroll 10px 14px;
}

/** LiveValidation *****************************************************************/

span.required {
  color:#990000;
}
.LV_validation_message {
  margin-left:10px;
  padding:3px 5px 3px 24px;
  position:relative;
}
.LV_info {
  background:#D1DCE9 url(../img/generic/icons/validationInfo.png) no-repeat scroll 5px;
  border:1px dashed #2F6FAB;
  color:#2F6FAB;
}
.LV_invalid {
  background:#F5CAC5 url(../img/generic/icons/validationFail.png) no-repeat scroll 5px;
  color:#990000;
}
.LV_valid {
  background:#D8EAD0 url(../img/generic/icons/validationPass.png) no-repeat scroll 5px;
  color: #009900;
}
.LV_valid,
.LV_valid_field,
input.LV_valid_field:hover, 
input.LV_valid_field:active,
textarea.LV_valid_field:hover, 
textarea.LV_valid_field:active,
.fieldWithErrors input.LV_valid_field,
.fieldWithErrors textarea.LV_valid_field {
    border: 1px solid #009900;
}
.LV_invalid,
.LV_invalid_field, 
input.LV_invalid_field:hover, 
input.LV_invalid_field:active,
textarea.LV_invalid_field:hover, 
textarea.LV_invalid_field:active,
.fieldWithErrors input.LV_invalid_field,
.fieldWithErrors textarea.LV_invalid_field {
    border: 1px solid #990000;
}


/********************************************************************************/


/** forms *****/

input, select {
  padding:3px;
}

input.radio_button {
  margin-left:50px;
}

input.submit {
  width: inherit;
  background:#cccccc;
  border:0;
  border-bottom: 1px solid #999999;
  border-right: 1px solid #999999;
}

textarea {
  width:400px;
}

textarea.shallow {
  height:100px;
}

form label {
	display:block;
}


input, select {
  width:300px;
}


input.extra_small, select.extra_small {
  width:100px;
}

input.small, select.small {
  width:200px;
}

input.large, select.large {
  width:400px;
}

input.extra_large, select.extra_large {
  width:500px;
}

.submit input {
  width:100px;
}

div.input {
    margin:5px 0;
}

div.submit {
    margin:10px 0 5px 0;
}

.error-message {
    color: #990000;
    font-weight:bold;
}

.date_inputs select {
  width:auto;
}

/* file items **********************************************/


.item_left {
  float:left;
}

.item_right {
  float:left;
  width:84%;
}


img.file_item {
  float: left;
  margin:0 10px 5px 0;
  border:none;
  padding:0;
}

/* file items **********************************************/

a.picture {
  float: left;
  border:none;
}

img.picture {
  margin:0 10px 5px 0;
}

/* categories **********************************************/

.sub_box.categories.sub_categories {
    float:right;
    margin:0 0 0 10px;
}


#main .categories li {
    margin:3px 0 3px 20px;
    list-style-image:url(../img/generic/icons/arrow.gif);
}

#main .categories ul ul {
    padding: 5px 0 0 0;
}


.sub_box {
  background:#f7f7f7;
  padding:2%;
  border:1px solid #e3e3e3;
  margin:0;
}


/** radio table ******************************************/

table.radio_table {
  background:transparent;
  border:0;
}

table.radio_table label {
  display:inline;
}

table.radio_table td {
  border-right:0;
}

table.radio_table tr {
  background:transparent;
}

/** overide links for lytebox *******************************/

div#lbMain div#lbOuterImageContainer a, 
div#lbMain div#lbImageDataContainer a {
  border:none;
}

div#lbMain div#lbOuterImageContainer a:hover,
div#lbMain div#lbImageDataContainer a:hover {
  border:none;
}



