.content-page {
  background-image: url(media/MRT_bglogo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.content-overlay {
  background-color: rgba(21, 25, 33, 0.8);
  margin-top: 1em;
}

.content-overlay .call-to-action p {
  color: white;
}

.landscape-img {
  width: 100%;
}

#delete-form {
  display: inline;
}

.no-link-style {
  text-decoration: inherit;
  color: inherit;
}

.no-link-style:hover {
  text-decoration: inherit;
  color: inherit;
}

/* Override default Boostrap 4 btn class text-wrap behavior. The default setting causes text to overflow on accordions and add width to the page. */
.btn {
  white-space: normal !important;
  word-wrap: break-word;
}

header {
  height: 75px;
  background-color: #fff;
}
.video-container {
  overflow: hidden;
  position: relative;
}

video {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
#contact-info h6 a {
  font-size: 1.1rem;
}

#hours-of-op {
  font-size: 0.75rem;
}

#contact-icons i {
  font-size: 1.5rem;
}

.sticky.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
}

#logo-grey {
  height: 42px;
  display: inline-block;
}

#header-img {
  height: 70px;
}

.brand-fade {
  opacity: 0;
  position: absolute;
  transition: opacity 200ms;
}

.brand-show {
  opacity: 1;
  position: static;
  transition: opacity 200ms;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(204, 204, 204, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
  border-color: #ccc;
  color: #ccc;
}

.nav-active-custom {
  background-color: #07477a;
  border-left: 2px solid #063b66;
  border-top: 2px solid #063b66;
}

.zoom {
  transition: transform 0.2s;
}

.zoom:hover {
  transform: scale(1.1);
  z-index: 100;
}

.zoom-sm {
  transition: transform 0.3s;
}

.zoom-sm:hover {
  transform: scale(1.0075);
  z-index: 100;
}

.mrt-blue {
  background-color: #07477a;
}

.btn-lg.mrt-blue {
  box-shadow: 2px 2px 8px #aaa;
}

.mrt-blue:hover {
  background-color: #0a5ea3;
}

.mrt-blue-plain {
  background-color: #07477a;
}

.jumbotron {
  background-size: cover;
  padding-bottom: 10%;
  padding-top: 10%;
  border-radius: 0%;
}

.jumbotron h1 {
  text-shadow: 2px 2px 4px rgb(44, 43, 43);
  text-shadow: -2px -2px 4px rgb(49, 49, 49);
}

.navbar-custom {
  background-color: #07518d;
  color: #07518d;
  border-bottom: 3px solid #07477a;
}

.jumbotron .tagline {
  font-style: italic;
}

.jumbo-contact {
  text-transform: uppercase;
}

footer {
  background-color: #07477a;
  height: 12em;
}

.nav-active {
  background-color: #07518d;
}

hr {
  width: 80%;
  margin-top: 3rem;
}

.custom-hr {
  display: none;
}

.custom-hr2 {
  display: block;
}

#header-img {
  height: 60px;
}

.industry-text {
  background-color: rgba(21, 25, 33, 0.7);
}

#accordion span {
  opacity: 0;
  transition: 0.2s linear;
  margin: auto 0;
  height: 35px;
  float: right;
  width: 35px;
  color: white;
  font-size: 30px;
}

#accordion span:hover {
  opacity: 1;
}

/* 
=========================
Home Page
=========================
*/

#refining {
  background-image: url(/media/refinery-workers.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#power-gen {
  background-image: url(/media/wind-turbines.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

#gen-manuf {
  background-image: url(/media/factory-workers.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#transport {
  background-image: url(/media/transport.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#oilGas {
  background-image: url(/media/upstream-oil.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#refrigeration {
  background-image: url(/media/hvac.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#machining {
  background-image: url(/media/metalworking.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

video[poster] {
  object-fit: cover;
}

.accordionImage {
  height: 20em;
}

/*
==============================
Contact Us
==============================
*/

#contact-header {
  height: 10em;
  background-image: url(media/contact/contact.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
==============================
Routine Testing
==============================
*/

#routine-header {
  height: 10em;
  background-image: url(media/routine/oil-pour-dark.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#compressors {
  background-image: url(/media/routine/compressor.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#hydraulics {
  background-image: url(/media/routine/hydraulic.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#turbines {
  background-image: url(/media/routine/turbine.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#gearboxes {
  background-image: url(/media/routine/gearbox.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#engines {
  background-image: url(/media/routine/diesel-engine.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
==============================
Premium Testing
==============================
*/

#premium-header {
  height: 10em;
  background-image: url(media/premium/premium-header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#mpc {
  background-image: url(media/premium/mpc-landscape.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}
#centrifuge {
  background-image: url(media/premium/premium-centrifuge.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#ruler {
  background-image: url(media/premium/premium-ruler.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}
/*
==============================
Test Descriptions (External CSS file also related)
==============================
*/
#testDesc-header {
  height: 10em;
  background-image: url(media/test-descriptions/test-desc.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.wrapper {
  min-height: 100%;
  margin-bottom: 213px;
}

/*
==============================
Coolant Analysis
==============================
*/
#coolant-header {
  height: 10em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/coolants/coolants-header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
=============================
Refrigerant Analysis
=============================
*/
#refrigerants-header {
  height: 10em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/refrigerants/refrig-tank.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
==============================
Fuels Analysis
==============================
*/
#fuels-header {
  height: 10em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/transport.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
==============================
Analytical Ferrography
==============================
*/
#micro-header {
  height: 10em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/micro/micro-header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
==============================
The Company
==============================
*/
#the-company-header {
  height: 10em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/micro/micro-header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*
==============================
FAQs
==============================
*/
#faqs-header {
  height: 10em;
  background-image: url(media/faqs/faqs.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-shadow: 2px 2px 4px rgb(44, 43, 43);
  text-shadow: -2px -2px 4px rgb(49, 49, 49);
  text-shadow: 2px 0px 4px rgb(49, 49, 49);
  text-shadow: 0px 2px 4px rgb(49, 49, 49);
}

/*
==============================
MRT Tracker
==============================
*/
#mrt-tracker-header {
  background: rgb(2, 0, 36);
  background: radial-gradient(
    circle,
    rgb(10, 7, 100) 0%,
    rgba(7, 71, 122, 1) 35%,
    rgba(3, 177, 213, 1) 100%
  );
}

#mrt-tracker-header img {
  width: 60%;
}

/*
==============================
Blog
==============================
*/
.home-blog-img p {
  font-size: 25px;
  color: white;
  text-decoration: none;
}

#blog-header {
  height: 10em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/blog/mrt-blog-banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.blog-img {
  max-height: 20em;
}

#blog-lg-img {
  max-width: 50%;
  max-height: 18em;
}

#blog-show-body {
  font-size: 1.1rem;
}

#blog-show-body .ql-size-small {
  font-size: 0.75em;
}

#blog-show-body .ql-align-center {
  text-align: center;
}

/* For embedded images in blog posts */
#blog-show-body p img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 20em;
}

#blog-show-title {
  font-size: 2.25rem;
  font-weight: 125;
}

#blog-show-subheading {
  font-size: 1.25rem;
  font-weight: 150;
}

.blog-index-pill {
  width: 90%;
}

.blog-index-img {
  min-height: 12em;
}

.blog-index-title {
  font-weight: 125;
}

#editor-container {
  height: 50%;
}

#blog-show-body ul,
ol li {
  list-style-position: inside;
  /* overflow: hidden also works */
}

.blog-preview-pane-outer {
  overflow: hidden;
  max-height: 96px;
  line-height: 24px;
  position: relative;
  word-wrap: break-word;
}

/*
==============================
Admin Page
==============================
*/
.uploaded-img:hover {
  cursor: pointer;
}

.user-img-select {
  border: 2px dashed black;
}

/*
==============================
MRT Tracker Dashboard
==============================
*/

#dashboard-navbar {
  color: black;
  padding: 50px 0;
}

#dashboard-navbar a {
  text-decoration: none;
  color: black !important;
}

#dashboard-navbar .col {
  border: 1px solid black;
  height: 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: white;
  text-transform: uppercase;
}

.dashboard-row {
  height: 16vh;
  display: flex;
  align-items: center;
}

.dashboard-box {
  border-radius: 20px;
  font-size: 1.1em;
}

.dashboard-box-sm {
  width: 283px;
  height: 16vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

#dashboard-back-button {
  text-decoration: none;
}

#headlines-view {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-content: space-between;
  height: 80vh;
}

#routineProgress {
  background: rgb(230, 233, 229);
  border: 3px solid rgb(115, 117, 114);
  border-radius: 30px;
}

#routineProgressBar {
  margin: 0;
  width: 0%;
  height: 35px;
  background: repeating-linear-gradient(
    110deg,
    #ffa600,
    #ffa600 20px,
    #ffa600b5 20px,
    #ffa600b5 40px
  );

  text-align: center;
  line-height: 30px;
  color: black;
  border-radius: 30px;
}

#routineProgressStatement {
  z-index: 10;
  color: black;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1rem;
}

#routineSamplePct {
  font-size: 1.5rem;
}

.dashboard-metric {
  font-size: 1.5em;
  font-style: italic;
  font-weight: 600;
}

.dashboard-chart-bg {
  z-index: 10;
}

.lab-data-btn {
  z-index: 200;
}

.dashboard-date-box {
  height: 2rem;
}

.sample-list tr {
  margin: 0;
  padding: 0;
}

/* .sample-list tr:nth-child(even) {
  background-color: white;
} */

#overall-view,
#rush-view,
#advanced-summary-view,
#advanced-batches-view,
#glycol-summary-view,
#glycol-batches-view,
#refrigerant-summary-view,
#refrigerant-batches-view {
  height: 85vh;
  max-height: 85vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 11px;
  width: 11px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(21px);
  -ms-transform: translateX(21px);
  transform: translateX(21px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.sx_completed {
  text-decoration: line-through;
  padding: 0.2em;
  background-color: #2ae8559c;
}

.alert_danger_custom {
  background-color: #f2dede !important;
  color: #a94442 !important;
  border-color: #ebccd1 !important;
}

.proven-process-img {
  width: 90%;
}

/*
==============================
Media Queries
==============================
*/

/* Phone portrait size = 368px, landscape = 640px */
@media (max-width: 640px) {
  #carouselContent {
    height: 250px;
  }
  /* To prevent navbar toggle breaking from position change. */
  #brand {
    position: static;
  }

  #contact-info {
    display: none;
  }
}

/* Phone size */
@media (max-width: 576px) {
  .custom-hr {
    display: block;
  }

  .accordionImage {
    height: 10em;
  }

  #routine-header {
    background-position: left;
  }
}

@media (min-width: 576px) {
  .custom-hr {
    display: none;
  }
}
/* Portrait tablet size */
@media (max-width: 770px) and (min-width: 641px) {
  /* To avoid navbar toggle breaking due to brand fading on portrait tablets and smaller. */
  #brand {
    position: static;
  }

  /* Resize text in Why sections. */
  h2.tablet-txt-size {
    font-size: 1.25rem;
  }

  h4.tablet-txt-size {
    font-size: 1rem;
  }

  #carouselContent {
    height: 176px;
  }
}
