/*****************************************
* Reset (Remove Default Browser Styles)
******************************************/

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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

body {
  display:flex;
  flex-direction:column;
  height: 100%;
  min-height: 100vh;
}
  
footer {
  margin-top:auto;
}

strong {
	font-weight: bold;
}

em {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.strikeout {
  text-decoration: line-through;
}

/* List Styles */
ol, ul {
  list-style: none;
}

.list {
  margin-bottom: 1rem;
  padding-left: 1em;
}

.bulleted {
  margin: 0 0 1rem .5rem;
	list-style-type: disc;
}

.bulleted li {
  margin: 0 0 .5rem 1rem;
}

.numbered {
  list-style: decimal;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  width: 100%;
}

/****************************************
* Form Elements
****************************************/

input,
textarea,
select {
  padding: 0.5em;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  font: inherit;
  line-height: 1rem;
  margin-bottom: 1rem;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

textarea {
  overflow: auto;
  resize: vertical;
  min-height: 65px;
}

select {
  cursor: pointer;
}

::-moz-focus-inner {
  border: 0;
}

input:focus,
textarea:focus,
select:focus,
[type="file"]:focus + label {
  outline: 1px solid #0070ce;
}

[type="checkbox"] {
  width: auto;
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

[type="checkbox"] + label {
  position: relative;
  margin-right: 1em;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

[type="checkbox"] + label:before {
  content: '';
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  height: 1.5rem;
  width: 1.5rem;
  background-color: #0d62a9;
  color: #ffffff;
  transition: background-color 0.3s;
}

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

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

[type="checkbox"]:checked + label:before {
  content: "\2713";
  background: #0d62a9;
}

/* Radio */
[type="radio"] {
  position: relative;
  margin: 0 .5rem 0 0;
  background-color: #0d62a9;
  border-radius: 50%;
  height: 1.5rem;
  width: 1.5rem;
}

[type="radio"]:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: scale(0.2);
  transform: scale(0.2);
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
  opacity: 0;

  width: 4px;
  height: 4px;
  margin-left: -2px;
  margin-top: -2px;
  background-color: #ffffff;
  border-radius: 50%;
}

[type="radio"]:checked:after {
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  opacity: 1;
}

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

[type="file"] + label,
button.upload-button {
  position: relative;
  margin-top: .5rem;
  border-radius: 5px;
  background-color: #0e698b;
  padding: 10px 20px 10px 45px;
  color: #ffffff;
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
[type="file"]:focus + label,
[type="file"]:focus + button {
  outline: 1px solid #0070ce;
}

label {
  display: inline-block;
  margin-bottom: 4px;
}

/* label.invalid {
  color: #DD0000;
  border: 1px dashed #DD0000;
  padding: .25rem;
} */

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

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

[type="submit"]:disabled {
  cursor: not-allowed;
}

/****************************************
* Fields
****************************************/

.field {
  position: relative;
  width: 100%;
}

.field label {
  position: absolute;
  top: 0;
  margin: 5px 0;
  background-color: transparent;
  width: 100%;
  padding: 0 8px;
  color: #737373;
  font-size: 13px;
  visibility: hidden;
}

.field label.show {
  visibility: visible;
}

.field input,
.field textarea {
  height: 46px;
  color: #767676;
  font-size: 18px;
  transition: all .04s ease-in;
}

.field input:focus,
.field textarea:focus {
  padding-top: 1.5rem;
  font-size: 16px;
}

input,
[type="submit"],
[type="radio"] {
  -webkit-appearance: none;
}

/****************************************
* Styled Select
****************************************/

.styledSelect {
  position: relative;
  background-color: inherit;
  width: 100%;
}

.angleDown svg {
  position: absolute;
  top: 9px;
  right: 3px;
  width: 15px;
  height: 15px;
  fill: #bdbdbd;
}

.styledSelect select {
  margin-bottom: 0;
  padding-right: 23px;
}

/****************************************
* Notification
****************************************/

.notification.hidden {
  display: none;
}

.notification {
  display: flex;
  flex-direction: row;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 5px;
  padding: 1rem 1rem 1rem 3rem;
}

.notification:before {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  margin-right: .5rem;
  background-color: #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-weight: 700;
}

.notification svg {
  position: absolute;
  top: 50%;
  left: .75rem;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  fill: #ffffff;
}

.notification.error {
  background-color: #d52536;
}

.notification.error:before {
  content: '\0021';
  color: #d52536;
}

.notification.success {
  background-color: #4ec957;
}

.notification.success:before {
  content: '\2713';
  color: #4ec957;
}

.notification.notice {
  background-color: #0070ce;
}

.notification p {
  margin-bottom: 0;
  color: #ffffff;
  font-weight: 600;
}

/****************************************
* Error message
****************************************/

#errorMessage {
  color: #d52536;
}

/****************************************
* Display
****************************************/

.hidden,
.honey {
  display: none !important;
}

/****************************************
* Flex
****************************************/

.flexRow {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.flexColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

/****************************************
* Centering
****************************************/

.xCenter {
  margin: 0 auto;
  text-align: center;
}
