/* Sodalite native CSS system
   A deliberately small replacement for the Bootstrap primitives used by this project. */

:root {
  --ui-gutter: 15px;
  --ui-text: #333;
  --ui-muted-border: #ddd;
  --ui-surface: #fff;
  --ui-primary: #337ab7;
  --ui-primary-border: #2e6da4;
  --ui-success: #5cb85c;
  --ui-success-border: #4cae4c;
  --ui-info: #5bc0de;
  --ui-info-border: #46b8da;
  --ui-radius: 4px;
}

html {
  box-sizing: border-box;
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  color: var(--ui-text);
  font-size: 14px;
  line-height: 1.42857143;
  background-color: var(--ui-surface);
}

p { margin: 0 0 10px; }

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
}

h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 18px;
}

img {
  border: 0;
  vertical-align: middle;
}

a {
  color: #337ab7;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button {
  overflow: visible;
  text-transform: none;
}

.container,
.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--ui-gutter);
  padding-left: var(--ui-gutter);
}

@media (min-width: 768px) {
  .container { width: 750px; max-width: 720px; }
}

@media (min-width: 992px) {
  .container { width: 970px; max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { width: 1170px; max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--ui-gutter) * -1);
  margin-left: calc(var(--ui-gutter) * -1);
}

.row::before,
.row::after,
.container::before,
.container::after,
.container-fluid::before,
.container-fluid::after,
.modal-header::before,
.modal-header::after,
.modal-footer::before,
.modal-footer::after {
  display: table;
  content: " ";
}

.row::after,
.container::after,
.container-fluid::after,
.modal-header::after,
.modal-footer::after {
  clear: both;
}

.col,
.col-md-1,
.col-md-4,
.col-md-6,
.col-md-10,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-right: var(--ui-gutter);
  padding-left: var(--ui-gutter);
}

.col { flex: 1 0 0%; }

@media (min-width: 992px) {
  .col-md-1,
  .col-md-4,
  .col-md-6,
  .col-md-10,
  .col-md-12 { float: left; }
  .col-md-1 { width: 8.33333333%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-6 { width: 50%; }
  .col-md-10 { width: 83.33333333%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 1400px) {
  .d-xxl-flex { display: flex !important; }
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.m-3 { margin: 1rem !important; }

.btn {
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 0;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: var(--ui-radius);
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.btn-primary {
  color: #fff;
  background-color: var(--ui-primary);
  border-color: var(--ui-primary-border);
}

.btn-success {
  color: #fff;
  background-color: var(--ui-success);
  border-color: var(--ui-success-border);
}

.btn-info {
  color: #fff;
  background-color: var(--ui-info);
  border-color: var(--ui-info-border);
}

.btn-group {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.btn-group > .btn {
  position: relative;
  float: left;
}

.btn-group > .btn + .btn { margin-left: -1px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.shadow-2-strong {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.form-group { margin-bottom: 15px; }

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  color: #555;
  font-size: 14px;
  line-height: 1.42857143;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: var(--ui-radius);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.input-group {
  position: relative;
  display: table;
  width: 100%;
  border-collapse: separate;
}

.input-group .form-control {
  position: relative;
  z-index: 2;
  display: table-cell;
}

.input-group-btn {
  position: relative;
  display: table-cell;
  width: 1%;
  font-size: 0;
  vertical-align: middle;
  white-space: nowrap;
}

.form-inline .form-group {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}

.well {
  min-height: 20px;
  margin-bottom: 20px;
  padding: 19px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: var(--ui-radius);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
}

.embed-responsive-16by9 { padding-bottom: 56.25%; }

.embed-responsive .embed-responsive-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.fade.is-open { opacity: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: block;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  transition: opacity 0.15s linear, visibility 0s linear 0.3s;
}

.modal.is-open {
  visibility: visible;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
  transition-delay: 0s;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
  transform: translateY(-25%);
  transition: transform 0.3s ease-out;
}

.modal.is-open .modal-dialog {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
}

.modal-content {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  outline: 0;
}

.modal-header {
  min-height: 16.42857143px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
}

.modal-body {
  position: relative;
  padding: 15px;
}

.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

.modal-footer .btn + .btn { margin-left: 5px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal-backdrop.is-open { opacity: 0.5; }

body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .fade,
  .modal,
  .modal-dialog,
  .modal-backdrop {
    transition: none;
  }
}

@media (max-width: 767px) {
  .form-inline .form-group { display: block; margin-bottom: 15px; }
}
