/**
 * @file
 */

*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  font-family: arial;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

/**
 * CKEditor fix for content width
 */

html[dir=ltr] {
  font-size: 100% !important;
  background: #fff;
}

body {
  margin: 0;
  background: #213a4e;
}

a {
  color: #1fa3ec;
  text-decoration: none;
  outline: 0;
}

.container {
  margin: 0 auto;
  max-width: 960px;
  padding: 1rem;
}

#logo img,
#logo div {
  display: inline-block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  vertical-align: middle;
}

#logo div {
  margin: 1rem;
}

#logo div span {
  font-size: 0.6rem;
  padding-left: 0.4rem;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
hr,
table,
form,
pre {
  margin: 1rem 0;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

hr {
  border: 0;
  border-top: 1px solid #ddd;
}

pre {
  font: 10px monospace;
}

label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: bold;
}

fieldset {
  border: 1px solid #ddd;
}

button,
input,
select,
textarea,
.button {
  margin: 0;
  font: inherit;
  line-height: inherit;
  color: inherit;
  padding: 0.4rem 0.75rem;
  display: block;
  border: 1px solid #ddd;
  width: 100%;
  background-color: #fff;
  border-radius: 0.2rem;
  transition: box-shadow 0.5s;
}

button,
input[type="button"],
input[type="submit"],
.button {
  width: auto;
  margin-top: 1rem;
  border: 1px solid #1fa3ec;
  background-color: #1fa3ec;
  cursor: pointer;
  color: #fff;
  display: inline-block;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
.button:focus {
  outline: 0;
  border: 1px solid #1fa3ec;
  box-shadow: 0 0 1px 1px rgba(31, 163, 236, 0.4);
}

input[type="checkbox"],
input[type="radio"],
.form-type-checkbox label,
.form-type-radio label {
  width: auto;
  display: inline-block;
  margin: 0 0.5rem 0 0;
  vertical-align: middle;
}

input[type="color"] {
  padding: 1px 2px;
  width: 3rem;
}

select:not([size]):not([multiple]) {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23444' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
}

.form-item {
  margin: 1rem 0;
}

.form-required label::after {
  content: " *";
  color: #cf563b;
}

table {
  border-collapse: collapse;
  width: 100%;
  font: inherit;
  line-height: inherit;
  color: inherit;
}

td,
th {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

th {
  background: #eee;
}

table ul.links {
  margin: 0;
}

ul.tabs {
  padding: 0 1rem;
  border-bottom: 1px solid #ddd;
}

ul.tabs li {
  display: inline-block;
}

ul.tabs li a {
  display: block;
  padding: 0.2rem 1rem;
  margin-bottom: -1px;
}

ul.tabs a.active {
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  border-top-left-radius: 0.2rem;
  border-top-right-radius: 0.2rem;
  color: inherit;
}

ul.links {
  padding: 0;
}

ul.links li {
  display: inline-block;
  margin: 0 0.5rem;
}

#pager ul {
  text-align: center;
}

#pager ul li {
  list-style: none;
  display: inline;
  padding: 0 15px;
}

#nav {
  padding: 0;
}

#nav ul {
  margin: 0;
  padding: 0;
}

#nav ul li {
  list-style: none;
  display: inline-block;
}

#nav ul li a {
  display: block;
  padding: 1rem;
  color: #fff;
}

#nav ul a.active {
  background: #152430;
}

.description,
.submitted {
  font-size: 0.75rem;
}

div.messages {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.2rem;
  background: #eee;
}

div.status {
  color: #468847;
  background: #dff0d8;
}

div.error {
  color: #b94a48;
  background: #f2dede;
}

div.messages ul,
div.messages li * {
  margin: 0;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Site specific styles.
 */

#header a {
  color: #fff;
}

#main-wrapper {
  background: #fff;
}

#footer-wrapper,
#copyright-wrapper {
  text-align: center;
  color: #aaa;
}

#site-name {
  margin-top: 10px;
  font-size: 30px;
  font-weight: bold;
}

.blacklist-stats,
.blacklist-result {
  background: #eee;
  padding: 1rem;
}
