/**
 * Properties inherited by all elements
 */
html {
  line-height: 1.5;
  word-wrap: break-word;
}

/**
 * Fonts stacks
 */
html,
#wrapper-p * {
  font-family: Arial, FreeSans, sans-serif;
}
h1,
h2,
h3,
#site-name a,
#site-slogan,
.block h2,
#forum td.container .name a,
tr.region-title td,
table#permissions td.module {
  font-family: "Trebuchet MS", "Myriad Pro", "Bitstream Vera Sans", FreeSans, sans-serif;
}
h6 {
  font-family: Verdana, Helvetica, Arial, FreeSans, sans-serif;
}
pre,
tt {
  font-family: "Courier New", Monaco, "Nimbus Mono L", monospace;
}

/**
 * Headings
 */
h1 {
  margin: 9px 0 9px;
  font-size: 2em;
  line-height: 1.1;
}
h1 em {
  font-weight: 300;
}
h2 {
  margin: 7px 0 7px;
  font-size: 2em;
  line-height: 1.3;
}
h3 {
  margin: 12px 0 10px;
  font-size: 1.333em;
}
h4 {
  margin: 10px 0 8px 0;
  font-size: 1.167em;
}
h5 {
  font-size: 1em;
  margin: 12px 0 8px 0;
  font-weight: 700;
}
h6 {
  margin: 12px 0 8px 0;
  font-size: 0.833em;
  font-weight: 700;
}

/**
 * Block elements
 */
p {
  margin: 14px 0;
  text-shadow:0 1px 1px white;
}
p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}
pre {
  margin: 10px 0;
  padding: 15px;
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  white-space: pre-wrap;
  overflow: hidden;
}
blockquote {
  margin: 20px 0 20px 20px; /* LTR */
  padding: 0 0 0 15px; /* LTR */
  color: #808080;
  border-left: 7px solid #e25401; /* LTR */
  quotes: none;
}
blockquote:before,
blockquote:after {
  content: '';
  content: none;
}
.block-system-main .img {
  float: left;
}
hr {
  height: 1px;
  border: 1px solid #808080;
}

/**
 * Inline elements
 */
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
kbd {
  background-color: #F1EED4;
  border: 1px outset #575757;
  color: #333;
  padding: 2px 7px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}
abbr[title],
dfn[title],
acronym[title] {
  border-bottom: 1px solid #BF8060;
}
samp,
var,
code {
  background-color: #EFEFEF;
}
ins {
  text-decoration: underline;
}
del {
  text-decoration: line-through;
}
sub {
  vertical-align: sub;
}
sup {
  vertical-align: super
}
q {
  quotes: none;
}
q:before,
q:after {
  content: '';
  content: none;
}
b {
  font-weight: 700;
}
i {
  font-style: italic;
}
*::selection {
  background-color: #2E2E2E;
  color: #FFF;
}
*::-moz-selection {
  background-color: #2E2E2E;
  color: #FFF;
}

/**
 * Lists
 */
ul,
ol,
dl {
  list-style-position: inside;
}
p + ul {
  margin-top: 5px;
}
ul {
  list-style: disc inside none;
  margin: 0 0 0 15px; /* LTR */
}
li > ul {
  margin-top: 1px;
  margin-bottom: 1px;
}
ul.inline li {
  display: inline;
  margin: 0 10px 0 0; /* LTR */
}
ul.links li {
  padding: 0;
}
ol {
  list-style: decimal inside none;
  margin: 0 0 0 15px; /* LTR */
}
dt {
  margin-top: 5px;
  font-weight: 900;
}

/**
 * Links
 */
a {
  text-decoration: none;
}
a::selection {
  background-color: #086782;
  color: #FFF;
}
a::-moz-selection {
  background-color: #086782;
  color: #FFF;
}

/**
 * Tables
 */
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td {
  padding: 10px 14px;
  text-align: left; /* LTR */
  vertical-align: middle;
}
td.help,
td.permissions,
td.configure {
  padding-left: 8px;
  padding-right: 8px;
}
td.active {
  background-color: #EEE;
}
td.empty {
  background: none;
}
th.checkbox {
  padding-left: 14px;
  padding-right: 7px;
}
th,
thead,
thead th {
  background-color: #4B4B4B;
  color: #FCFCF8;
  border: none;
}
tr,
tr.even,
tr.odd {
  border-bottom: 1px solid #CCC;
  background: none;
}
caption {
  margin-bottom: 5px;
  text-align: left; /* LTR */
}

/**
 * Forms
 */
fieldset {
  margin: 15px 0;
  padding: 13px 20px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
}
legend {
  margin-left: -8px;
  padding: 1px 8px 1px 9px;
  color: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
}
.form-item {
  margin: 10px 0;
}
legend + .form-item {
  margin-top: 0;
}
fieldset .form-item:first-child {
  margin-top: 0;
}
.form-item:last-child {
  margin-bottom: 0px;
}
.form-item label {
  vertical-align: middle;
  font-size: 0.9em;
  font-weight: 300;
}
label.option {
  display: inline;
  font-weight: normal;
  color: inherit;
  margin-left: 3px;
}
span.form-required {
  font-weight: 700;
  color: #E25401;
}
.container-inline div,
.container-inline label {
  display: block;
}
input.form-text,
input.form-password,
input.form-file,
textarea {
  padding: 6px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background-color: #fafafa;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing: border-box;
  box-sizing: border-box;
}
fieldset input.form-text,
fieldset input.form-password,
input.form-file,
textarea {
  background-color: #FDFDFD;
}
input.form-text:focus,
input.form-password:focus,
input.form-file:focus,
textarea:focus {
  border: 1px solid #A5A5A5!important;
  background-color: #FFF;
}
input.form-text,
input.form-password,
input.form-file {
  width: auto;
}
textarea {
  resize: none;
  height: 200px;
}
select {
  padding: 4px;
  width: 100%!important;
  max-width: 230px;
}
.form-radios,
.form-checkboxes {
  margin: 3px 0;
}
.form-item-choice {
  padding: 3px 0;
}
.form-radios label,
.form-checkboxes label,
.form-item-choice label {
  font-size: 1em;
}
.form-item.form-type-radio,
.form-item.form-type-checkbox {
  margin: 4px 0;
}
input.form-checkbox,
input.form-radio {
  display: inline;
  vertical-align: middle;
}
input.form-button,
input.form-submit {
  margin: 0 5px 0 0; /* LTR */
  padding: 5px 11px;
  background: url(../images/button.png) repeat-x top left;
  border: 1px solid #ccc;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
}
input.form-button:hover,
input.form-submit:hover,
input.form-button:focus,
input.form-submit:focus {
   border-color: #666!important;
}
input[disabled="disabled"] {
  background-color: #EAEAEA;
}
input.error,
textarea.error,
select.error {
  background-color: #FEFAF8;
  border: 1px solid #F4B09E;
}
input.error:focus,
textarea.error:focus,
select.error:focus {
  background-color: #FEF7F5;
  border: 1px solid #D43308!important;
}

/**
 * Selectively remove border-bottom from anchors.
 */
body.page-admin a,
#skip-link a,
#logo a,
#site-name a,
#main-links li a,
#navigation li a,
#sidebar-first a,
#sidebar-second a,
.node h1.node-title a,
.node h2.node-title a,
ul.pager li a,
.block ul li a,
.node .meta a,
.element-invisible,
a.feed-icon,
.comment h3.title a,
.user-picture a,
ul.action-links li a,
legend a,
th a,
thead a,
#forum td.container .name a,
a.tabledrag-handle,
ul.contextual-links li a,
a.contextual-links-trigger:hover,
.overlay .ui-dialog-titlebar a,
a.contextual-links-trigger,
.book-navigation .page-links a {
  border-bottom: none;
}
