/* UI Consistency */
::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input[type="search"]::-webkit-search-decoration {
  display: none;
}

input,
button,
select,
textarea {
  margin: 0;
  vertical-align: middle;
}

button {
  *padding-top: 1px; /* IE7 */
  *padding-bottom: 1px; /* IE7 */
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  -webkit-appearance: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid;
  border-color: #848484 #c1c1c1 #e1e1e1;
  color: #000;
  outline: 0;
  padding: 2px 3px;
  font-size: 13px;
  font-family: Helvetica, Arial, sans-serif;
  height: 1.8em;
  *padding-top: 2px; /* IE7 */
  *padding-bottom: 1px; /* IE7 */
  *height: auto; /* IE7 */
}

/* Separate rule for Firefox. Cannot stack with WebKit's. */
input.placeholder_text,
textarea.placeholder_text,
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #888;
}

::-webkit-input-placeholder {
  color: #888;
}

button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active {
  -moz-box-shadow: #06f 0 0 7px;
  -webkit-box-shadow: #06f 0 0 7px;
  box-shadow: #06f 0 0 7px;
  z-index: 1; /* For Opera */
}

input[type="file"]:focus,
input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

select[disabled],
textarea[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
  background-color: #eee;
}

button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled] {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  color: #888;
  cursor: default;
}

textarea,
select[size],
select[multiple] {
  height: auto;
}

/* Normal Buttons */
#edit-cancel,
button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
  background-color: #bddbfa;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #84bbf3;
  display: inline-block;
  color: #000000;
  font-family: arial;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  cursor: pointer;
  cursor: hand;
  margin: 10px 10px 10px 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  z-index: 1;
}
#edit-cancel:hover,
button:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #80b5ea;
}
#edit-cancel:active,
button:active,
input[type="reset"]:active,
input[type="submit"]:active,
input[type="button"]:active {
  position: relative;
  top: 1px;
}

/* Grey buttons */
#edit-cancel,
button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
  background-color: #ededed;
  border: 1px solid #dcdcdc;
  color: #222;
}

#edit-cancel:hover,
button:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #dfdfdf;
  border-color: #acacac;
}

/* Warning Buttons */
#edit-delete,
#edit-cancel,
.classname {
  background-color: #ffec64;
  border: 1px solid #ffaa22;
  color: #333333;
}
#edit-delete:hover,
#edit-cancel:hover,
.classname:hover {
  background-color: #ffab23;
}

/* Cancel Buttons */
#node-delete-confirm #edit-actions input[type="submit"],
.classname {
  background-color: #fa665a;
  border: 1px solid #d83526;
  color: #000000;
}
#node-delete-confirm #edit-actions input[type="submit"]:hover,
.classname:hover {
  background-color: #d34639;
}

textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}

optgroup {
  color: #000;
  font-style: normal;
  font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.0em 0 0.5em;
  font-weight: inherit;
}

h1 {
  font-size: 1.357em;
  color: #000;
}

h2 {
  font-size: 1.143em;
}

p {
  margin: 0 0 1.2em;
}

body {
  line-height: 1.5;
  font-size: 87.5%;
}

textarea {
  line-height: 1.5;
}

label {
  color: #775;
  font-size: 12px;
  text-transform: uppercase;
  display: block;
  font-weight: bold;
  margin: 0px;
  padding: 0px;
}

label.option {
  display: inline;
  font-weight: normal;
}

img {
  border: 1px solid #ddd;
  background: white;
  padding: 1px;
}
a img {
  background: transparent;
}

/* Tables */
table {
  *border-collapse: collapse; /* IE7 and lower */
  border-spacing: 0;
  width: 100%;
  margin: 10px 0;
}
thead a,
thead a:hover,
thead a:visited,
thead a:link {
  color: #222;
}

thead a img {
  padding: 0px 10px;
}
table {
  border: solid #ccc 1px;
  border-radius: 10px;
}
tbody {
  background: white;
}
tr:hover {
  background: #ffffb0;
}
td,
th {
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}
th {
  background-color: #dce9f9;
  border-top: none;
}

td:first-child,
th:first-child {
  border-left: none;
}
th:first-child {
  -moz-border-radius: 6px 0 0 0;
  -webkit-border-radius: 6px 0 0 0;
  border-radius: 6px 0 0 0;
}
th:last-child {
  -moz-border-radius: 0 6px 0 0;
  -webkit-border-radius: 0 6px 0 0;
  border-radius: 0 6px 0 0;
}
th:only-child {
  -moz-border-radius: 6px 6px 0 0;
  -webkit-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}
tr:last-child td:first-child {
  -moz-border-radius: 0 0 0 6px;
  -webkit-border-radius: 0 0 0 6px;
  border-radius: 0 0 0 6px;
}
tr:last-child td:last-child {
  -moz-border-radius: 0 0 6px 0;
  -webkit-border-radius: 0 0 6px 0;
  border-radius: 0 0 6px 0;
}
