/* COMMON *********************************************************************/
body {
  font-family: Arial;
  background: steelblue;
}

h1,
h2,
h3 {
  font-family: Verdana;
}

h1 {
  font-size: 1.4em;
}

h2 {
  font-size: 1.2em;
}

h3 {
  font-size: 1em;
}

.container {
  width: 40em;
  margin: 0 auto;
  border-radius: 0.5em;
  padding: 1em;
  background: white;
}

/* TABLES *********************************************************************/
table {
  margin-bottom: 1em;
}

table,
th,
td {
  border: 1px black solid;
  border-collapse: collapse;
  padding: 0.25em;
}

th[scope="col"] {
  background-color: black;
  color: white;
  text-align: left;
}

th[scope="row"] {
  text-align: right;
}

tr:nth-child(even) {
  background: #EEE;
}


/* FORMS **********************************************************************/
form {
  display: inline-block;
}

label,
input {
  display: block;
  margin: 0.2em 0;
}

label {
  font-weight: bold;
}

input[type="submit"] {
  margin-top: 1em;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
}

/* CLASSES ********************************************************************/
.warning,
.error {
  color: red;
  font-weight: bold;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

/* Success */
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-success hr {
  border-top-color: #b1dfbb;
}

.alert-success .alert-link {
  color: #0b2e13;
}


/* Info */
.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-info hr {
  border-top-color: #abdde5;
}

.alert-info .alert-link {
  color: #062c33;
}

/* warning */
.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-warning hr {
  border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
  color: #533f03;
}

/* danger */

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger hr {
  border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
  color: #491217;
}
