:root {
  /* colors for bootswatch flatly */
  --blue: #042440;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #e74c3c;
  --orange: #fd7e14;
  --yellow: #f39c12;
  --green: #18bc9c;
  --teal: #20c997;
  --cyan: #3498db;
  --white: #fff;
  --gray: #95a5a6;
  --gray-dark: #343a40;
  --primary: #042440;
  --secondary: #a5a16d;
  --tertiary: #377488;
  --success: #18bc9c;
  --info: #3498db;
  --warning: #f39c12;
  --danger: #e74c3c;
  --light: #ecf0f1;
  --dark: #7b8a8b;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* override bootstrap theme colors */

.bg-primary {
  background-color: var(--primary) !important;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-info {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-info:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

html {
  position: relative;
  min-height: 100%;
  /* forces scrollbar so there's no difference between pages */
  overflow-y: scroll;
  background: whitesmoke
    url("https://www.eorinc.com/assets/images/design/pattern-background.png");
  font: 300 17px / calc(32 / 17);
}

body {
  margin-bottom: 50px;
  background: transparent;
}

.nav-tabs > .nav-item > .active,
.nav-tabs > .nav-item > .active:hover {
  border-color: var(--secondary);
  background-color: var(--secondary);
}

.nav-tabs > .nav-item:hover {
  border-color: var(--secondary);
  background-color: var(--secondary);
  border-radius: 5px;
}

/* Dropdown Button */
.dropbtn {
  color: white;
  padding: 8px;
  font-size: 32px;
  border: none;
}

/* Change the color of the dropdown button on hover */
.dropbtn:hover {
  color: var(--green);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: var(--primary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: var(--secondary);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: var(--primary);
}

.tab-content {
  background-color: var(--secondary);
  padding: 5px;
}

.form-wrapper {
  border: solid var(--secondary) 5px;
  padding: 20px 10px 20px;
  background-color: white;
}

.form-control {
  margin-bottom: 1rem;
}

.col-form-control {
  margin-bottom: 1rem;
}

.container-padded {
  padding: 1em;
}



@media print {
  .logo-container,
  .img-wrapper,
  img {
    max-height: none !important;
    max-width: none !important;
    height: 100px !important;
    width: 185px !important;
  }

  .printbutton {
    /* hide print button */
    font-size: 0px;
    background-color: white !important;
    border: 0px !important;
  }
}

label {
  float: right;
  vertical-align: middle;
}

span {
  display: block;
  overflow: hidden;
  padding: 0px 4px 0px 6px;
}

/* fixes span elements for selectize search */
span.highlight {
  display: inline-block;
  overflow: visible;
  padding: 0;
}

input {
  width: 70%;
}

.checkbox {
  width: 25%;
}

.tab-pane {
  background-color: white;
}

.navbar {
  font-weight: bold;
  font-size: 125%;
  margin-bottom: 10px;
}

.dropdown-item {
  font-size: 110%;
}

a.new-tab:after {
  font-family: "FontAwesome";
  content: " \f08e";
}

a.disabled {
  pointer-events: none;
}

.new-section {
  width: 100%;
  height: 10px;
  border: 0px none;
  margin-right: auto;
  margin-left: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: var(--primary);
}

h1 {
  width: 100%;
  margin: 20px auto;
  /* text-transform: uppercase; */
  color: var(--white);
  padding: 10px 20px 10px 20px;
  line-height: 1.6;
  position: relative;
  background: var(--primary);
  font-size: 34pt;
}

h2 {
  font-size: 28pt;
}

h3 {
  font-size: 20pt;
}

h4,
h5,
h6 {
  font-size: 16pt;
}

h6 {
  font-style: italic;
}

h2,
h5 {
  /* color: var(--white); */
}

h3,
h6 {
  /* color: var(--light); */
}

h4 {
  /* color: var(--primary); */
}

/* gives color to the activate, edit and delete buttons on all admin pages */

a.clickbutton {
  color: var(--primary);
}

.table-hover > tbody > tr:hover a.clickbutton {
  color: var(--green);
}

.table-hover > thead > tr:hover {
  color: var(--white);
}

.th-sortable:hover {
  color: var(--green);
}

.table-hover > tbody > tr:hover {
  background-color: var(--primary);
  color: var(--white);
}

.table-hover > tbody > tr:hover a {
  color: var(--primary);
}

.th-sortable {
  cursor: pointer;
  color: var(--light);
}

.tbl-content-center {
  text-align: center;
}

.table-fees {
  border: solid 1px black;
}

.table-report > tbody > tr > td,
.table-report > thead > tr > th {
  border: 0px;
}

.table-report > thead > tr > th,
.table-report > thead {
  color: white;
  border: 10px solid white;
  font-weight: bold;
  background-color: var(--primary) !important;
}

.table-report td,
.table-report th {
  padding: 3px;
}

.table-admin-update > tbody > tr > td,
.table-admin-update > thead > tr > th,
.table-admin-update > tbody,
.table-admin-update > thead {
  border: 1px solid lightgrey;
}

th,
td {
  font-size: 100%;
}

td.break {
  word-break: break-all;
}

th {
  color: var(--white);
  background-color: var(--primary);
}

tr {
  background-color: var(--white);
}

.table > thead > tr {
  background-color: var(--primary);
}

.table > tfoot > tr {
  background-color: var(--primary);
}

.table-hover > thead > tr:hover {
  color: var(--white);
}

.table-hover > tbody > tr:hover {
  background-color: var(--primary);
  color: var(--white); /*for some reason this does not change the text */
}

.table > tfoot > tr {
  background-color: var(--primary);
}

.table-hover > tfoot > tr:hover {
  color: var(--white);
}

.table-hover > tfoot > tr:hover {
  background-color: var(--primary);
  color: var(--white); /*for some reason this does not change the text */
}

.table-hover tbody tr:hover td {
  color: var(--white);
}

.table-hover > tbody > tr:hover a {
  color: var(--primary);
}

.dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.btn-top {
  margin-bottom: 1em;
}

.btn-bottom {
  margin-bottom: 1em;
}

.btn-left {
  float: left;
}

.btn-right {
  float: right;
}

.link-left {
  float: left;
  text-align: left;
}

.link-right {
  float: right;
  text-align: right;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  padding: 20px;
}

.footer-title {
  float: left;
  color: var(--primary);
  font-weight: bold;
}

.footer-title > a:hover {
  color: var(--white);
}

.footer-social-links svg {
  float: right;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  fill: var(--primary);
}

.footer-social-links svg:hover {
  fill: var(--white);
}

.footer-social-links a:not(:first-child) {
  margin-left: 6px;
}

.footer-social-links a,
.footer-social-links a:hover {
  text-decoration: none;
}

.card {
  box-shadow: 0 4px 8px 0 var(--secondary);
  transition: 0.3s;
  margin: 0 auto;
  float: none;
  margin-bottom: 10px;
  background-color: var(--secondary);
  color: white;
  text-shadow: 1px 1px black;
}

.card:hover {
  box-shadow: 0 8px 16px 0 var(--primary);
  background-color: var(--primary);
  color: white;
}


.card-signin,
.card-signin:hover,
.card-history,
.card-history:hover {
  box-shadow: 0 8px 16px 0 var(--gray);
  background-color: var(--gray);
  color: var(--primary);
  text-shadow: none;
}

.card-history:hover {
  box-shadow: 0 8px 16px 0 var(--gray-dark);
}

.card:hover h2 button{
  color: white;
}

.form-label-group {
  padding-top: 5px;
  padding-bottom: 5px;
}

blockquote {
  width: 100%;
  margin: 60px 0px 60px 0px;
  font-style: italic;
  font-size: 1.2em;
  /* color: var(--white); */
  padding: 10px 20px 10px 60px;
  border-left: 8px solid var(--primary);
  line-height: 1.6;
  position: relative;
  background: var(--secondary);
}

blockquote::before {
  content: "\201C";
  color: var(--primary);
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: "";
}

blockquote span {
  display: block;
  color: var(--white);
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

.wrapper-two-col {
  height: auto;
  width: auto;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  /* -webkit-column-break-inside: avoid; */
  -webkit-column-gap: 2.5%;
  -moz-column-gap: 2.5%;
  column-gap: 2.5%;
  /* padding-bottom: 10px; */
}

.wrapper-two-col img {
  width: auto;
  max-width: 95%;
  float: right;
  overflow: hidden;
}

ol.when-in-rome li {
  position: relative;
  list-style-type: upper-roman;
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--green);
}

li p {
  font-size: 16px;
  padding-left: 10px;
  /* color: var(--white); */
}

ul.rating {
  list-style: none;
  margin-left: 0px;
  padding-left: 23px;
}

li.rating::before {
  content: "\2022";
  font-size: 80%;
  /* color: var(--white); */
  padding-right: 10px;
}

li.expert::before,
li.proficient::before,
li.novice::before {
  padding-right: 5px;
  margin-left: 39px;
}

li.expert::before {
  content: "\2605""\2605""\2605"" ";
  color: var(--success);
}

li.proficient::before {
  content: "\2605""\2605""\2606"" ";
  color: var(--info);
}

li.novice::before {
  content: "\2605""\2606""\2606"" ";
  color: var(--warning);
}

pre,
code {
  font-family: monospace, monospace;
  /* color: var(--white); */
}

pre {
  overflow: auto;
}

pre > code {
  padding: 0em 1em 1em 1em;
  display: block;
  border-left: 8px solid var(--primary);
  background: var(--secondary);
}

div > iframe {
  display: flex;
  align-items: center;
  justify-content: center;
}

iframe {
  display: block;
  margin: 0 auto;
}

/* the below is not currently used */

.iframe-container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

input:valid {
  color: green;
}

input:invalid {
  color: red;
}

/* The side navigation menu */
.sidenav {
  height: 100%;
  /* 100% Full-height */
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Stay on top */
  top: 0;
  /* Stay at the top */
  left: 0;
  background-color: var(--primary);
  /* Black*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  /* Place content 60px from the top */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidenav */
}

.sidenav > .sidenavInner {
  height: 100%;
  border-right: 5px solid var(--white);
  padding-top: 60px;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: var(--green);
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#push {
  transition: margin-left 0.5s;
  /* padding: 20px; */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

/* adds a red asterisk next to labels for required inputs if the labels have the required-field class */
.required-field::after {
  content: "*";
  color: red;
}

/* shows an information icon when class is supplied to a label */
/* should be used when a title is supplied for a field or row */
.info-on-hover::before {
  content: "ⓘ ";
}
