/* Color Palette
    Teal:  #5FD0DF
    Dark Gray/Black:  #4A4F54 
    Medium Gray: #7B868C
    Yellow: #E1D355 rgba(225,211,85,.5)
 */

html, body {
  margin: 0;
  height: 100%;
}

body {
  padding-top: 73px;
  font-family: "Montserrat", sans-serif;
  color: #616161;
  display: flex;
  flex-flow: column nowrap;
}

body > * {
  flex-grow: 0;
  z-index: 1;
}

body div.header {
  z-index: 999;
}

.bg-datadx {
  background-color: #5fd0df;
}

h1 {
  color: #909090;
}

h2 {
  color: #7b868c;
}

h2.underlined {
  border-bottom: 1px solid rgba(0, 96, 114, 0.75);
  padding-bottom: 0.5rem;
  margin: 2rem 0;
}

h3 {
  color: #5fd0df;
  font-size: 20px;
}

h4 {
  color: #5fd0df;
}

h1.title {
  margin-left: 20px;
}

.body-content {
  z-index: 100;
  margin-top: 2rem;
  flex-grow: 1;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column */
.dl-horizontal dt {
  white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
}

/* Forms */
.field-group {
  margin-bottom: 10px;
}

.field-group label {
  display: block;
}

.field-validation-valid {
  display: none;
}

.validation-summary-valid {
  display: none;
}

.form-vertical {
  background-color: rgba(204, 196, 167, 0.35);
  padding: 15px;
}

.form-container {
  max-width: 400px;
}

.btn.btn-primary {
  background-color: #5fd0df;
  border-color: #5fd0df;
}

.btn.btn-primary:hover:not("[disabled]") {
  color: #5fd0df;
  background-color: #ffffff;
  border-color: #5fd0df;
}
/* Header */

/* Navigation */

@media (min-width: 1px) {
  .container {
    max-width: none;
    width: 100%;
  }
}

@media (min-width: 1500px) {
  .container {
    max-width: 1500px;
    width: 1500px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Landing */
.splash-container {
  background-image: url('/lib/datadx/img/dataDx-Splash.png');
  background-size: cover;
  font-size: 36px;
  color: #fff;
  height: 200px;
  padding: 2rem;
}

.kpis {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 15px;
  padding: 0;
}

.kpis .kpi {
  background-color: rgba(204, 196, 167, 0.35);
  padding: 20px 20px;
  min-height: 250px;
}

.kpis .kpi .title {
  line-height: 20px;
}

.kpis .kpi:first-child {
  border-right: 5px solid #fff;
}

.kpis .kpi:last-child {
  border-left: 5px solid #fff;
}

.kpis a.title {
  color: #616161;
  font-size: 20px;
  display: block;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.kpis a.title:hover {
  color: #5fd0df;
  text-decoration: none;
}

.kpis .subtitle {
  text-transform: uppercase;
  font-weight: bold;
  z-index: 100;
  position: relative;
}

.visual {
  height: 250px;
  max-height: 250px;
  margin-top: -65px;
}

.kpis .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #5fd0df;
}

.visual iframe {
  border: none;
  height: 280px;
  max-height: 280px;
  position: relative;
  z-index: 1;
  visibility: hidden;
}

.videoWrapper {
  position: relative;
  padding-bottom: 51%;
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news-item img {
  width: 100%;
  max-width: 100%;
}

.news-item a:hover {
  text-decoration: none;
  color: #5fd0df;
}

/* Reports */
.report-container {
  margin-top: 1rem;
}

.report-container h1 {
  padding: 10px 20px;
  font-size: 26px;
  margin: 0;
  margin-top: 25px;
}

#reportContainer {
  height: auto;
  width: 100%;
}

#reportContainer iframe {
  border: none;
}

.videos {
  *display: flex;
}

.videos video {
  width: 100%;
  padding-right: 15px;
}

/* Headers */
.row.content-header {
  vertical-align: middle;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.row.content-header > [class*="col-"] {
  display: flex;
  flex-direction: column;
  vertical-align: middle;
}

.row.content-header .btn {
  background-size: auto;
}

/* Footer */
footer.container {
  color: #616161;
  margin-top: 25px;
  padding: 25px 15px;
}

footer p {
  padding: 0;
  margin: 0;
}

footer span.dev,
footer span.qa footer span.demo {
  font-weight: bold;
}

footer span.dev {
  color: #ff0031;
}

footer span.qa {
  color: #e8b30f;
}

footer span.demo {
  color: #00b645;
}

/* Admin - Edit News */

.edit-news-image img {
  width: 100%;
}

.field-validation-error {
  color: red;
  font-weight: 500;
}

.jumptarget::before {
  content: "";
  display: block;
  height: 100px; /* fixed header height*/
  margin: -50px 0 0; /* negative fixed header height */
}

/* Responsive */
@media (max-width: 1599px) {
  .landing .recent-media {
    /*padding-left: 15px;
        padding-right: 15px;*/
    margin: 0;
  }
}

@media (max-width: 994px) {
  .kpis .kpi:first-child,
  .kpis .kpi:last-child {
    border: none;
  }

  .kpis .kpi {
    margin-top: 15px;
  }
}

.loader,
.loader:before,
.loader:after {
  background: #5fd0df;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loader {
  color: #5fd0df;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: "";
}

.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

@keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}


/* boostrap overrides */

.bg-info {
  background-color: #5fd0df !important;
}

.badge-info {
  background-color: #5fd0df !important;
}

.border-info {
  border-color: #5fd0df !important;
}

.alert.alert-info {
  color: #fff !important;
  border-color: #00bed6 !important;
  background-color: #5fd0df !important;
}

.list-group-item.active,
.list-group-item:not(.no-hover):hover {
  color: #fff !important;
  border-color: #00bed6 !important;
  background-color: #5fd0df !important;
}

.list-group-item.active:not(.no-hover):hover {
  color: #5fd0df !important;
  border-color: initial !important;
  background-color: #ffffff !important;
}

.btn-outline-primary {
  color: #5fd0df;
  border-color: #5fd0df;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #5fd0df;
  border-color: #5fd0df;
}

.btn-link {
  color: #5fd0df;
}

.btn-link:hover {
  color: #5fd0df;
}

/* https://www.color-hex.com/color/006d8e */

.nav-pills .nav-link.active {
  background-color: #006d8e;
}

.nav-pills .nav-link.active:hover {
  background-color: #197b99;
}

a {
  color: #006d8e;
}

a:hover {
  color: #003647;
}

/* other option #E1D355*/
.badge-warning {
  background-color: #ece49a !important;
}

.bg-warning {
  background-color: #ece49a !important;
}

.border-warning {
  border-color: #ece49a !important;
}

.alert.warning-info {
  color: #fff !important;
  border-color: #e1d355 !important;
  background-color: #ece49a !important;
}

/* other option #00C08B*/

.badge-success {
  background-color: #74e0c1 !important;
}

.bg-success {
  background-color: #74e0c1 !important;
}

.border-success {
  border-color: #74e0c1 !important;
}

.alert.success-info {
  color: #fff !important;
  border-color: #00c08b !important;
  background-color: #74e0c1 !important;
}

/* other option #FF595A*/

.badge-danger {
  background-color: #ffb1b9 !important;
}

.bg-danger {
  background-color: #ffb1b9 !important;
}

.border-danger {
  border-color: #ffb1b9 !important;
}

.alert.danger-info {
  color: #fff !important;
  border-color: #ff595a !important;
  background-color: #ffb1b9 !important;
}

.btn-outline-danger {
  color: #ffb1b9;
  border-color: #ffb1b9;
}

.btn-outline-danger:hover {
  color: #fff;
  background-color: #ffb1b9;
  border-color: #ffb1b9;
}

table.vertical-align-middle th,
table.vertical-align-middle td {
  vertical-align: middle;
}

/* FF595A */
/*body > .container > .row:first-child > div > * {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
*/

.h1.responsive {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .h1.responsive {
    font-size: 1.8rem;
  }
}

@media (min-width: 992px) {
  .h1.responsive {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .h1.responsive {
    font-size: 2.5rem;
  }
}

/*.h1, .h2, .h3, h1, h2, h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
*/

.position-fixed-100 {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.bg-dim {
  background-color: rgba(0, 0, 0, 0.6);
}

.datadx-notification-popup {
  position: fixed;
  z-index: 1029;
  top: 90px;
  left: 10px;

  width: 300px;
  max-width: 95%;
  padding: 0.3em;

  background-color: #FAFAFA;
  border: 1px solid black;
  color: black;
}

.datadx-notification-popup button {
  line-height: 1;
}
