/* Typography */
h1, h2, h3, h2, h5, h6, p {
  margin: 0 0 1rem 0;
}

h1 {
  font-size: 2.5em;
  line-height: 1.2;
}

h2 {
  font-size: 2em;
  line-height: 1.25;
}

h3 {
  font-size: 1.75em;
  line-height: 1.3;
}

h2 {
  font-size: 1.5em;
  line-height: 1.35;
}

h5 {
  font-size: 1.25em;
  line-height: 1.5;
}

h6 {
  font-size: 1em;
  line-height: 1.6;
}

p, li {
  line-height: 1.5em;
}

/* Inline */
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

u {
  text-decoration: underline;
}

s {
  text-decoration: line-through;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href^=tel] {
  text-decoration: none;
  display: inline;
}

a[href],
input[type="submit"],
button {
  cursor: pointer;
}

.button {
  display: inline-block;
  padding: 1em 2em;
  margin-bottom: 1rem;
  background-color: #CCC;
  border: none;
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  cursor: pointer;
  text-align: center;
  font-size: 100%;
  word-break: normal;
}

.button.alt,
button.alt,
input[type="submit"].alt {
  background: #AAA;
}

.button.full,
button.full,
input[type="submit"].full {
  display: block;
  width: 100%;
}

input[type="submit"]:focus {
  border: none;
}

/* Forms */
input,
textarea,
select {
  padding: 0.5em;
  background-color: #FFF;
  border: 1px solid #EEE;
  border-radius: 3px;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  font: inherit;
  font-weight: normal;
  margin-bottom: 1rem;
}

input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  min-height: 65px;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 3px;
  background: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid #33C3F0;
}

[type="radio"],
[type="checkbox"] {
  width: auto;
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

[type="radio"] + label,
[type="checkbox"] + label {
  position: relative;
  padding-left: 1.25rem !important;
  margin-right: 0.25em;
}

[type="radio"] + label:before,
[type="checkbox"] + label:before {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(1em - 2px);
  width: calc(1em - 2px);
  background: #FFF;
  border: 1px solid #AAA;
  -webkit-box-shadow: inset 0px 0px 0px 1.5px #FFF;
          box-shadow: inset 0px 0px 0px 1.5px #FFF;
  border-radius: 50%;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

[type="radio"]:focus + label:before,
[type="checkbox"]:focus + label:before  {
  outline: 1px solid #3CF;
}

[type="radio"]:checked + label:before,
[type="checkbox"]:checked + label:before {
  background: #3CF;
}

[type="checkbox"] + label:before {
  border-radius: 3px;
}

[type="file"] {
  width: 0.1px;
	height: 0.1px;
	opacity: 0;
  position: absolute;
	z-index: -1;
}

[type="file"] + button {
  position: relative;
  padding: 10px 20px 10px 45px;
  border-radius: 3px;
  border: none;
  background-color: #1167ac;
  color: #ffffff;
  cursor: pointer;
}

[type="file"]:hover,
[type="file"]:focus + button,
[type="file"] + button:hover {
  background-color: #0b538f;
}

.upload-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  opacity: .9;
  fill: #ffffff;
}

label {
  display: inline-block;
  margin-bottom: 1rem;
}

label.invalid,
legend.invalid,
input[type="radio"].invalid + label {
  color: #DD0000;
  /* border: 1px dashed red;
  padding: 0 .25rem; */
}

/* label.invalid::before,
label.invalid::after {
  content: '*';
} */

input.invalid,
textarea.invalid,
select.invalid,
input[type="radio"].invalid + label::before {
  outline: 1px solid #DD0000;
}

input[type="file"].invalid + button {
  outline: 1px solid #DD0000;
}

/* List Styles */
.list {
  margin-bottom: 1rem;
  padding-left: 1em;
}

/* Bulleted List */
.list.list.is-bulleted {
  list-style: disc;
}

/* Numbered List */
.list.is-numbered {
  list-style: decimal;
}
