html {
  font-size: 16px;
  position: relative;
  min-height: 100%;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #0D090A;
}

body {
  margin: 0;
  padding: 0;
  background-color: #eff0f1;
}

main {
  padding: 1em;
  margin: 1em;
}

header {
  background-color: #fff;
  padding: 1em;
  margin: 0;
  border-bottom: 1px solid #dddddd;
  box-shadow: #dddddd 0 10px 10px;

  display: flex;
  flex-direction: row;
  align-items: center;
}

header #headerLeft,
header #headerRight {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
  gap: 10px;
}

header #headerRight {
  justify-content: flex-end;
}

header .headerValue {
  font-weight: bold;
}

.divider {
  font-size: 16px;
  color: #521945;
  text-transform: uppercase;
  font-weight: 200;
  padding-bottom: 5px;
  border-bottom: 1px solid #c49bce;
  margin-top: 2em;
}

.pageContents {
  padding: 12px 18px;
  background-color: #fff;
  border-bottom: 1px solid #dddddd;
  box-shadow: #dddddd 0 10px 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.calloutBox {
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  font-style: italic;
  background-color: #fff;
  border: 1px solid #dddddd;
  color: #521945;
}

.warningCalloutBox {
  width: 70%;
  margin: 0 auto 10px auto;
  padding: 10px;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #dddddd;
  color: #000;
  background-color: rgb(255, 209, 160);
}

.errorCalloutBox {
  width: 70%;
  margin: 0 auto 10px auto;
  padding: 10px;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #dddddd;
  color: #f00;
}

/* type */

h1 {
  font-size: 30px;
  color: #521945;
  text-transform: uppercase;
  font-weight: 200;
}

h2 {
  font-size: 16px;
  color: #521945;
  text-transform: uppercase;
  font-weight: 200;
}

a {
  color: #912F56;
  text-decoration: dotted underline;
}

/* controls */

label {
  font-weight: bold;
  color: #521945;
}

input[type='text'] {
  padding: 8px;
  font-size: 14px;
}

button {
  font-size: 16px;
  background-color: #521945;
  color: #fff;
  padding: 0.6em 0.8em;
  border: none;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

button:disabled {
  background-color: #e4abc2;
  color: #521945;  
  cursor: not-allowed;  
}

button.secondary {
  padding: .5em .7em;
  font-size: 14px;
}

select {
  border: 1px solid dimgray;
  padding: 8px;
  font-size: 14px;
}

textarea {
  font-size: 14pt;
}

/* tables */

table.simpleTable {
  border-collapse: collapse;
  margin: 10px 0;
}

table.simpleTable > thead > tr > th {
  padding: 8px;
  text-align: left;
  background-color: #521945;
  color: #ffffff;  
}

table.simpleTable > thead > tr > th:first-child {
  border-top-left-radius: 5px;
}

table.simpleTable > thead > tr > th:last-child {
  border-top-right-radius: 5px;
}

table.simpleTable > tbody > tr > td {
  padding: 8px;
  border-bottom: 1px solid #d3c4d6;
  background-color: #fff;
}

/* Parsley.js */

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: 5px 0;
  padding: 0;
  list-style-type: none;
  opacity: 0;
  color: #B94A48;

  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}

/* tabs */

#simpleTabStrip {
  border-bottom: 1px solid #521945;
}

#simpleTabStrip .simpleTab {
  font-size: 16px;
  display: inline-block;
  background-color: #d3c4d6;
  color: #521945;  
  text-align: center;
  padding: 12px 18px;
  margin-top: 2px;
  margin-right: 2px;
  cursor: pointer;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#simpleTabStrip .simpleTab:hover {
  background-color: #fff;
}

#simpleTabStrip .simpleTab.activeTab {
  background-color: #521945;
  color: #fff;
}

.simpleTabContents {
  padding: 4px 18px 12px 18px;
  background-color: #fff;
  border-bottom: 1px solid #dddddd;
  box-shadow: #dddddd 0 10px 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}


/* modal dialog box */

.md-modal {
  position: fixed;
  left: 50%;
  top: 35%;
  -moz-transform: translate(-50%, -35%);
  -ms-transform: translate(-50%, -35%);
  -o-transform: translate(-50%, -35%);
  -webkit-transform: translate(-50%, -35%);
  transform: translate(-50%, -35%);
  max-width: 800px;
  min-width: 560px;
  z-index: 2000;
  visibility: hidden;
  -moz-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.25);
}

.md-show {
  visibility: visible;
}

.md-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  top: 0;
  left: 0;
  z-index: 1000;
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}

.md-show~.md-overlay {
  opacity: 1;
  visibility: visible;
}

.md-content {
  background: #fff;
  position: relative;
  border-radius: 5px;
  margin: 0 auto;
}

.md-content h3 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  color: #fff;
  background-color: #505050;
  border-radius: 5px 5px 0 0;
  padding: 8px;
}

.md-content>div {
  padding: 15px;
  margin: 0;
}

.md-effect-fadeandscale .md-content {
  opacity: 0;
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}

.md-show.md-effect-fadeandscale .md-content {
  opacity: 1;
}