/* list styles
----------------------------------------------------------------------------------*/

.disc,
.decimal,
.upper_roman,
.lower_roman,
.upper_alpha,
.lower_alpha,
.no_style {
  margin: 10px 0 18px 25px;
  list-style-position: outside;
}

.disc         { list-style-type: disc;        }
.decimal      { list-style-type: decimal;     }
.upper_roman  { list-style-type: upper-roman; }
.lower_roman  { list-style-type: lower-roman; }
.upper_alpha  { list-style-type: upper-alpha; }
.lower_alpha  { list-style-type: lower-alpha; }
.no_style     { list-style-type: none; }

.disc li,
.no_style li,
.decimal li,
.upper_roman li,
.lower_roman li,
.upper_alpha li,
.lower_alpha li {
  text-align: left !important;
  margin-bottom: 5px;
}

/* From Forms in Remix
-------------------------------------------------------------------------------------------*/

/* forms
--------------------------------------------------------------------------------------*/

form label { cursor: pointer; }

input,
textarea,
select {
  color: #999;
}

input.text,
input.wide,
textarea.wide,
textarea,
select {
  margin: 1px;
  border-width: 1px;
  border-style: solid;
  border-top-color:     #4C4C4C;
  border-left-color:    #4C4C4C;
  border-right-color:   #999999;
  border-bottom-color:  #999999;
  background-color: #fff;
  background-image: url("/images/bg_input.gif");
  background-repeat: no-repeat;
}

input[type=file]:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: #666;
  border-width: 2px;
  color: #222;
}

input[type=file]:focus,
input:focus,
textarea:focus {
  color: #222;
  margin: 0;
}

select:focus {
  padding: 0;
  margin: 1px;
}

.account_access select:focus {
  border-width: 2px;
}

p.search_global input.text {
  border-width: 1px;
}

#public input[type=file]:focus,
#public input:focus,
#public textarea:focus,
#public select:focus {
  background-color: #fff;
}

.inline_radios input {
  background: none;
  border: 0;
}

input.checkbox,
input.radio {
  vertical-align: text-top;
  margin-right: 0.5em;
}

select {
  height: 1.7em; /* set this to the project's line-height to make it the same height as other input elements */
}

input[type=file] {
  border: 0;
  background-image: none; /* safari */
  background-color: transparent; /* safari */
}

form input,
form textarea {
  padding: 2px;
}

form select {
  padding: 1px;
}

form dl {
  margin-bottom: 0;
}

form dt,
form li label,
legend {
  margin-bottom: 0;
}

form dd {
  margin-bottom: .6em;
}

fieldset {
  border: 0;
  width: 100%;
}

textarea {
  clear: both;
  height: 10em;
}

input.submit,
input.bn,
input.button {
  cursor: pointer;
}

/* messaging
---------------------------------------------------------------------------------*/

p.flash {
  z-index: 1000;
}

.errorExplanation {
  padding: 20px;
  border-width: 2px;
  border-style: solid;
  z-index: 1000;
  text-align: center;
}

p.flash {
  text-align: center;
}

p.error,
.errorExplanation {
  border-color: #662A08;
  background-color: #C5510F;
  color: #fff;
}

p.notice {
  color: #444;
}

.errorExplanation {
  margin-bottom: 20px;
}

p.notice a,
p.flash a,
p.error a {
  color: #fff;
  text-decoration: underline;
}

#errorExplanation.errorExplanation h2 {
  color: #fff;
  text-align: center;
}

dt.error .field_with_errors,
dt.error span.required,
.errorExplanation ul li {
  margin: 0;
}

/* eastmedia error messaging with dl_form helper
-----------------------------------------------------------------------------*/

.field_with_errors input,
.field_with_errors textarea {
  border-color: #C5510F !important;
}

span.required,
dt.error label,
form p.error {
  color: #C81606;
}

span.required {
  font-weight: bold;
}

dt.error div {
  display: inline;
}

.error.msg {
  font-size: 1em;
  color: #000;
}

span.error.msg:before { content: " "; }
span.error.msg:after  { content: ","; }

span.error.msg:last-child:after  { content: ""; }

/* clearfix
-------------------------------------------------------------------------*/

.clearfix:after,
.videos .video:after,
#profile_image_uploader:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
}

.clearfix,
.videos .video,
#profile_image_uploader {
  display: inline-block;
}

html[xmlns] .clearfix,
html[xmlns] .videos .video,
html[xmlns] #profile_image_uploader {
  display: block;
}

* html .clearfix,
* html .videos .video,
* html #profile_image_uploader {
  height: 1%;
}

/* file uploader
------------------------------------------------------*/

#profile_image_uploader {
  position: relative;
  margin: 10px 0 20px;
}

#old_profile_image,
.image_mask {
  width: 75px;
  height: 75px;
}

#old_profile_image {
  padding: 5px;
  border: 1px solid #ececec;
  background-color: #fff;
}

.image_mask {
  display: block;
  overflow: hidden;
}

#old_profile_image .file_meta,
#old_profile_image a {
  position: absolute;
  left: 100px;
  width: 225px;
  padding-left: 16px;
}

#old_profile_image a {
  top: 25px;
  display: block;
  background: url("/images/trash.gif") left 4px no-repeat;
}

#old_profile_image .file_meta {
  top: 45px;
  font-size: 0.8em;
  color: #666;
}

table {
  margin-bottom: 20px;
}