/* container */
#sis-page-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* globals */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0 auto;
  font-size: 16px;
}

/* grid */
.sis-grid {
  display: flex;
  flex-flow: wrap;
  margin-bottom: 1em;
}

.col-3 {
  flex: 25%;
  max-width: 25%;
  padding-right: 1.5em;
}

.col-8 {
  flex: 66.6667%;
  max-width: 66.6667%;
}

.col-4 {
  flex: 33.3333%;
  max-width: 33.3333%;
  padding-right: 1.5em;
}

.col-6 {
  flex: 50%;
  max-width: 50%;
  padding-right: 1.5em;
}

.col-3:last-of-type,
.col-6:last-of-type {
  padding-right: 0;
}

.col-4:only-child {
  max-width: 100%;
  padding-right: 0;
}

.valign {
  align-items: center;
  align-self: center;
}

@media (max-width: 768px) {
  .sis-grid {
    display: block;
  }

  .col-4, .col-6, .col-8, .col-3 {
    max-width: 100%;
  }
}

/* typography */

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 1em;
  line-height: 1.55em;
  margin: .75em 0;
}

p a,
p a:visited {
  text-decoration: none;
}

p a:hover,
p a:active {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

label {
  font-weight: 600;
}

.input-error-txt {
  color: red;
}

.input-help-txt {
  font-size: 14px;
  line-height: 1.5em;
  font-style: italic;
}

/* tables */
p table {
  border-spacing: 0;
}

p table td {
  padding: .5em;
}

/* buttons */
button, input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding: 6px 12px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
}

.btn-row {
  margin-top: 1em;
  display: flex;
  align-items: center;
}

.btn-row button:first-child {
  margin-right: 1em;
}

@media (max-width: 768px) {
  .btn-row {
    flex-direction: column-reverse;
  }

  .sis-btn,
  .sis-btn--secondary,
  .sis-btn--warning {
    display: block;
    width: 100%;
    margin-bottom: 1em;
  }

  .btn-row button:first-child {
    margin-right: 0;
  }
}

/* inputs */
select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-color: #2e3137;
  padding: .5em;
  font-size: 14px;
}

textarea {
  resize: none;
  min-height: 120px;
}

.sis-radio-list,
.sis-checkbox-list {
  margin-bottom: 1em;
}


.file-upload-icon-container
{
    display: inline-block;
    margin-right: 1rem;
}



.file-upload-nofile-icon
{
    color: #ffbf00;
}
.file-upload-uploading-icon
{
    color: #ffbf00;
}
.file-upload-success-icon
{
    color: #32CD32;
}
.file-upload-failure-icon
{
    color: #FF0000;
}
.file-upload-approved-icon
{
    color: #32CD32;
}
.file-upload-rejected-icon
{
    color: #FF0000;
}
.file-upload-separator
{
    margin-top: 2rem;
}

.file-upload-uploading-icon
{
    height: 40px;
    width: auto;
    float: left;
}
.file-upload-uploading-text
{
    display: inline-block;
    margin-top: 10px;
}




.input-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: .75em;
}

.input-wrapper label {
  display: block;
  font-weight: normal;
}

.input-wrapper input {
  display: block;
  margin-right: 1em;
}

/* datepicker */
#ui-datepicker-div {
  display: none;
}

.ui-datepicker {
  max-width: 352px;
  border-width: 1px;
  border-style: solid;
  border-color: #2e3137;
}

.ui-datepicker-header {
  padding: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #2e3137;
}

.ui-datepicker-prev {
  order: 0;
  cursor: pointer;
  color: #fff;
}

.ui-datepicker-next {
  order: 1;
  cursor: pointer;
  color: #fff;
}

.ui-datepicker-title {
  order: 0;
}

.ui-datepicker-header select {
  border: none;
  width: auto;
  padding: 5px;
}

.ui-datepicker-calendar {
  border-spacing: 0;
  background: white;
}

.ui-datepicker-calendar .ui-state-default,
.ui-datepicker-calendar th {
  width: 3em;
  height: 3em;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  text-decoration: none;
  color: black;
}

.ui-datepicker-calendar .ui-state-hover,
.sis-ct-timeslot:hover {
  background: #2e3137;
}

.ui-state-active,
.sis-ct-timeslot-selected {
  background: #2e3137 !important;
  color: white !important;
}

/* choose time column */
.sis-ct-date-column {
  border-width: 1px;
  border-style: solid;
  border-color: #2e3137;
  border-bottom: none;
}

.sis-ct-date-column div {
  padding: .5em;
}

.sis-ct-header {
  background: #2e3137;
  color: white;
  text-align: center;
}

.sis-ct-timeslot {
  cursor: pointer;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #2e3137;
}

.sis-earliestinoffice-template {
  margin: 1em 0;
}

.sis-ct-btn:hover {
  background: none;
  cursor: default;
}

.sis-ct-btn a {
  text-decoration: none;
  color: inherit;
}

/* basket */
.sis-basket {
  border-collapse: collapse;
  font-family: sans-serif;
  width: 100%;
}

.sis-basket, th, td {
  border: 1px solid #000;
  padding: 1em;
  font-size: 0.8em;
}

.sis-basket input,
.sis-basket select {
  border: none;
  text-align: center;
  font-size: 100%;
  width: auto;
  margin: 0 auto;
  border-bottom: 1px dashed #000;
}

.sis-basket select {
    width: 100%;
}

.sis-basket input:hover,
.sis-basket select:hover {
  background: #f2f2f2;
  border-bottom: 1px dashed #000;
}

.sis-basket input:focus,
.sis-basket select:focus {
  outline: 0;
  border-bottom: 1px dashed #000;
  background: #f2f2f2;
}

.sis-basket button {
    font-size: 12px;
    margin: auto;
}

@media (max-width: 920px) {
  .sis-basket {
    border: none;
  }

  .sis-basket thead {
    display: none;
  }

  .sis-basket tr {
    display: block;
    margin-bottom: 1em;
    border: 2px solid #000;
  }

  .sis-basket td {
    display: flex;
    justify-content: space-between;
    border: none;
  }

  .sis-basket input,
  .sis-basket select {
    text-align: right;
  }

  .sis-basket td::before {
    margin-right: 1em;
    font-weight: bold;
    font-family: sans-serif !important;
  }

  .sis-basket tr td:nth-child(1)::before {
    content: 'Register Type';
  }

  .sis-basket tr td:nth-child(2)::before {
    content: 'Name';
  }
  .sis-basket tr td:nth-child(3)::before {
    content: 'Quantity';
  }
  .sis-basket tr td:nth-child(4)::before {
    content: 'Certificate Type';
  }
  .sis-basket tr td:nth-child(5)::before {
    content: 'Cost';
  }
}

/* errors */
.sis-page-message-systemerror {
  display: none;
}

.alert-testsystem {
  color: white;
  background-color: red;
  border-color: red;
  font-size: 2rem;
  text-align: center;
  padding: 1em 0;
}

/* debug */
.sis-debug {
  margin-top: 3rem;
  border: 1px solid black;
  border: 0.2rem;
}

.sis-debug input {
  font-size: 0.8rem;
}

/* utilities */
.sis-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[v-cloak] {
  display: none;
}

/* New Basket Layout */
.sis-basket-template {
  overflow-x: auto;
}

.v-table {
  display: flex;
  flex-wrap: nowrap;
  font-size: 14px;
  width: fit-content;
  border: 1px solid black;
}

.v-table input[type="text"],
.v-table select {
  width: auto !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  border: none;
  font-size: 14px;
  box-shadow: none;
  background: transparent !important;
  border-radius: 0;
  border-bottom: 1px dotted black;
}

.v-table-col {
  width: auto;
}

.v-table-col:first-child {
  font-weight: bold;
}

.v-table-col:not(:last-child) {
  border-right: 1px solid black;
}

.v-table-cell {
  padding: 1em;
  border-bottom: 1px solid black;
  height: 4.5em;
  display: flex;
  align-items: center;
}

.v-table-cell:last-child {
  border-bottom: none;
}
