/**
 * You can customize the template's look here, no need to edit default Bootstrap codes
 * or edit every page 'cause all the pages of this template follows a standard coding
 * which makes life and custom styling much easier for all.
 */

/* General Settings */
body {
  font-size: 0.875rem;
  font-weight: 400;
  font-family: "Lato";
  color: black;
  background-color: rgb(110, 100, 100);
  background-image: url("/disposable/theme_bg_B738.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Generic Link Style */
a {
  text-decoration: none;
  color: indigo;
  font-weight: 600;
}
a:hover {
  text-decoration: none;
  color: darkred;
  font-weight: 600;
}
a:active {
  text-decoration: none;
  color: indigo;
  font-weight: 600;
}

/* Card Style */
.card {
  background-color: rgba(206, 200, 194, 0.65);
  border-color: black;
  box-shadow: 0px 2px 3px black;
}
.card .card-header {
  background-color: rgba(16, 36, 58, 0.9);
}
.card .card-footer {
  background-color: rgba(223, 213, 203, 0.5);
}
.card .card-header h5 {
  font-size: 1rem;
  font-weight: 500;
  color: aliceblue;
}
.card .card-header a {
  text-decoration: none;
  color: lightgoldenrodyellow;
  font-weight: 500;
}
.card .card-header a:hover {
  text-decoration: none;
  color: goldenrod;
  font-weight: 500;
}
.card .card-header a:active {
  text-decoration: none;
  color: lightgoldenrodyellow;
  font-weight: 500;
}

/* Modal Style */
.modal .modal-header {
  background-color: rgba(16, 36, 58, 0.9);
  color: lightgoldenrodyellow;
}

.modal .modal-body {
  background-color: lightgray;
}

.modal .modal-footer {
  color: lightgoldenrodyellow;
  font-weight: 400;
  background-color: rgba(16, 36, 58, 0.9);
}

/* Accordion Style */
.accordion .accordion-button {
  box-shadow: none;
  color: goldenrod !important;
  background-color: rgba(16, 36, 58, 0.9) !important;
}
.accordion .collapsed {
  background-color: rgba(16, 36, 58, 0.6) !important;
  color: lightgoldenrodyellow !important;
}
.accordion .accordion-item {
  background-color: transparent !important;
}
.accordion .accordion-body {
  background-color: transparent !important;
}

/* NavBar Style */
#Dispo_NavBar {
  background-color: rgba(16, 36, 58, 0.8);
  box-shadow: 0px 2px 4px black;
  margin-bottom: 10px;
}
#Dispo_NavBar a {
  text-decoration: none;
  color: aliceblue;
  font-weight: 500;
}
#Dispo_NavBar a:hover {
  text-decoration: none;
  color: goldenrod;
  font-weight: 500;
}
#Dispo_NavBar a:active {
  text-decoration: none;
  color: lightgoldenrodyellow;
  font-weight: 500;
}

#Dispo_NavBar .dropdown-menu {
    background-color: rgba(16, 36, 58, 0.9);
}

#Dispo_NavBar .dropdown-menu a:hover {
    background-color: transparent;
    color: goldenrod;
}

#Dispo_NavBar .dropdown-item {
    font-size: 0.875rem;
}

/* SideBar Style */
#Dispo_SideBar .offcanvas {
  background-color: rgba(211, 211, 211, 0.85);
  min-width: 250px;
  width: auto;
  height: 96vh;
}
#Dispo_SideBar .offcanvas .dropdown-menu {
  background-color: transparent;
}

#Dispo_SideBar .dropdown-menu a:hover {
    background-color: transparent;
    color: darkblue;
}

#Dispo_SideBar .dropdown-item {
  font-size: 0.875rem;
}

/* Navigation Pills Style */
.nav-pills .nav-link {
  color: wheat;
  background-color: rgba(16, 36, 58, 0.6) !important;
}
.nav-pills .active {
  color: darkgoldenrod;
  background-color: rgba(16, 36, 58, 0.9) !important;
}

/* Navigation Tabs Style (when used in a card) */
.card .nav-tabs .nav-item .nav-link {
  background-color: transparent;
  color: wheat;
}

.card .nav-tabs .nav-item .active {
  background-color: transparent;
  color: darkgoldenrod;
}

/* Navigation Tabs Style (when used in a card's body) */
.card .card-body .nav-tabs .nav-item .nav-link {
    background-color: transparent;
    color: indigo;
}
  
.card .card-body .nav-tabs .nav-item .active {
    background-color: transparent;
    color: darkred;
}

/* Clock Style */
#clock {
  font-size: 0.825rem;
  font-weight: 600;
}

/* Footer Style */
#footer {
  font-size: 0.825rem;
}
#footer .card {
  background-color: rgba(211, 211, 211, 0.5);
}
#footer .card a {
  text-decoration: none;
  color: darkblue;
  font-weight: 600;
}
#footer .card a:hover {
  text-decoration: none;
  color: darkslateblue;
  font-weight: 600;
}
#footer .card a:active {
  text-decoration: none;
  color: darkblue;
  font-weight: 600;
}

/* Pagination Style */
.pag-items {
  background-color: rgba(223, 214, 214, 0.5) !important;
  border-radius: 5px;
  color: indigo !important;
  border-color: black !important;
}
.pag-items-curr {
  background-color: rgba(6, 126, 193, 0.6) !important;
  border-radius: 5px;
  color: wheat !important;
  border-color: darkred !important;
}

/* Overflow-Auto Content Default Max Height */
.overflow-auto {
  max-height: 30vh;
}

/* Definitions below this line should not be altered with */
/* Only change them if you really need something that special */

/* Select2 Specific Fixes */
.select2-container {
  margin-top: 2px;
}

.input-group .select2-container {
  margin: 0px;
  width: auto;
  flex: 1 1 auto;
}

.input-group .select2-container .select2-selection--single {
  height: 100%;
  line-height: inherit;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* phpVMS LiveMap */
.map-info-box {
  position: absolute;
  bottom: 0;
  padding: 20px;
  height: 100px;
  z-index: 9999;
  background-color: rgba(232, 232, 232, 0.9);
}

.map-info-label {
  display: block;
  padding: 5px;
  background-color: rgba(232, 232, 232, 0.9);
}

/* Hover an image */
.HoverImage { position:relative; }
.HoverImage a { position:absolute; bottom:0; left:2; z-index:1978; }
.HoverImage img { display:none; }
.HoverImage:hover img { display:block; opacity:0.99; z-index:1978;}

/* Image Switcher and Base Fade Effect */
#stage a {
  position: relative;
}

#stage a img {
  border: none;
  background: transparent;
}

#stage a:nth-of-type(1) {
  animation-name: fader;
  animation-duration: 10s;
  z-index: 2100;
}

#stage a:nth-of-type(2) {
  z-index: 2200;
  display: none;
}

@keyframes fader {
  0% { opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; }
}

/* Card Body Icon Rotate */
.card-body .rotate {
  z-index: 8;
  float: right;
  height: 100%;
}

.card-body .rotate i {
  color: rgba(20, 20, 20, 0.15);
  position: absolute;
  left: 0;
  left: auto;
  right: -10px;
  bottom: 0;
  display: block;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* Fixed Height Images */
.img-h20 { width: auto; height: 20px; }
.img-h25 { width: auto; height: 25px; }
.img-h30 { width: auto; height: 30px; }
.img-h35 { width: auto; height: 35px; }
.img-h40 { width: auto; height: 40px; }
.img-h45 { width: auto; height: 45px; }
.img-h50 { width: auto; height: 50px; }
.img-h60 { width: auto; height: 60px; }
.img-h70 { width: auto; height: 70px; }
.img-h80 { width: auto; height: 80px; }
.img-h90 { width: auto; height: 90px; }
.img-h100 { width: auto; height: 100px; }
.img-h125 { width: auto; height: 125px; }
.img-h150 { width: auto; height: 150px; }
.img-h175 { width: auto; height: 175px; }
.img-h200 { width: auto; height: 200px; }

/* Max Height Images */
.img-mh20 { width: auto; max-height: 20px; }
.img-mh25 { width: auto; max-height: 25px; }
.img-mh30 { width: auto; max-height: 30px; }
.img-mh35 { width: auto; max-height: 35px; }
.img-mh40 { width: auto; max-height: 40px; }
.img-mh45 { width: auto; max-height: 45px; }
.img-mh50 { width: auto; max-height: 50px; }
.img-mh60 { width: auto; max-height: 60px; }
.img-mh70 { width: auto; max-height: 70px; }
.img-mh80 { width: auto; max-height: 80px; }
.img-mh90 { width: auto; max-height: 90px; }
.img-mh100 { width: auto; max-height: 100px; }
.img-mh125 { width: auto; max-height: 125px; }
.img-mh150 { width: auto; max-height: 150px; }
.img-mh175 { width: auto; max-height: 175px; }
.img-mh200 { width: auto; max-height: 200px; }

/* This needs to be defined for full screen image bg to work */
html {
  height: 100%;
  margin: 0;
}

/* Fixed Footer */
#page-container {
  position: relative;
  min-height: 100vh;
}
#page-contents {
  width: 98% !important;
  padding-bottom: 2rem; /* = Footer Height */
}
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2rem; /* Footer Height */
}

/* Mobile Device Compatability */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}
/* =========================================
   vAirMed Ops — Custom Branding
   ========================================= */

:root {
  --vairmed-navy: #10243a;
  --vairmed-blue: #164d73;
  --vairmed-red: #c62836;
  --vairmed-light: #f4f7fa;
}

/* Main navigation */
#Dispo_NavBar {
  background-color: var(--vairmed-navy);
  border-bottom: 3px solid var(--vairmed-red);
  padding: 10px 18px;
}

/* Navigation links */
#Dispo_NavBar .nav-link {
  color: #ffffff;
  font-weight: 600;
  transition: color 0.2s ease;
}

#Dispo_NavBar .nav-link:hover {
  color: #9fd3ff;
}

/* Navigation logo */
#Dispo_NavBar .navbar-brand img {
  max-height: 55px;
  width: auto;
}

/* Page styling */
body {
  font-family: 'Lato', sans-serif;
}

/* Primary buttons */
.btn-primary {
  background-color: var(--vairmed-blue);
  border-color: var(--vairmed-blue);
}

.btn-primary:hover {
  background-color: var(--vairmed-navy);
  border-color: var(--vairmed-navy);
}

/* Cards */
.card {
  border-radius: 8px;
}


/* =========================================
   vAirMed Ops — Dashboard Refinements
   ========================================= */

/* Navigation logo */
#Dispo_NavBar .navbar-brand img {
  max-height: 65px;
  max-width: 220px;
  width: auto;
  height: auto;
}

/* Dashboard cards */
.card {
  background-color: rgba(255,255,255,0.96);
  border: 1px solid #d8e1e9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Standard card headers */
.card-header {
  background-color: #10243a;
  color: #ffffff;
  border-bottom: 2px solid #c62836;
  font-weight: 600;
}

/* Tables */
.table {
  color: #243746;
}

/* Links */
a {
  color: #164d73;
}

a:hover {
  color: #c62836;
}

/* Navigation */
#Dispo_NavBar {
  min-height: 85px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #Dispo_NavBar {
    min-height: 65px;
  }

  #Dispo_NavBar .navbar-brand img {
    max-height: 45px;
  }
}


/* vAirMed Ops — Card Readability */

.card .card-header {
  background-color: #10243a !important;
  color: #ffffff !important;
  border-bottom: 2px solid #c62836;
}

.card .card-header a,
.card .card-header h5 {
  color: #ffffff !important;
}

.card .card-body {
  background-color: rgba(255,255,255,0.94);
}


/* =========================================
   vAirMed Ops — Page Background
   ========================================= */

body {
  background: linear-gradient(
    135deg,
    #e8eef4 0%,
    #d5e1eb 55%,
    #b9ccdc 100%
  ) fixed !important;
  background-image: none !important;
  min-height: 100vh;
}


/* vAirMed Ops — Homepage Carousel */
#DT_HomeSlide {
    overflow: hidden;
    border-radius: 8px;
}

#DT_HomeSlide .carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}

#DT_HomeSlide .carousel-control-prev,
#DT_HomeSlide .carousel-control-next {
    width: 8%;
}

@media (max-width: 768px) {
    #DT_HomeSlide .carousel-item img {
        height: 240px;
    }
}

/* vAirMed Ops — Operations Welcome Banner */

.vairmed-welcome {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border-left: 5px solid #c62836;
    background: linear-gradient(
        115deg,
        #10243a 0%,
        #164d73 65%,
        #23658a 100%
    );
    color: #ffffff;
    padding: 30px 36px;
    box-shadow: 0 4px 14px rgba(16,36,58,0.16);
}

.vairmed-welcome-content {
    position: relative;
    z-index: 1;
}

.vairmed-welcome-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #d6e7f4;
    margin-bottom: 8px;
}

.vairmed-welcome h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vairmed-welcome-missions {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vairmed-welcome-description {
    color: #dbe8f2;
    font-size: 14px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .vairmed-welcome {
        padding: 22px;
    }

    .vairmed-welcome h1 {
        font-size: 25px;
    }

    .vairmed-welcome-missions {
        font-size: 13px;
        line-height: 1.7;
    }
}

/* vAirMed Ops — Operations Dashboard */

.vairmed-ops-dashboard {
    padding: 22px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    border-top: 4px solid #c62836;
    box-shadow: 0 4px 14px rgba(16,36,58,0.10);
}

.vairmed-ops-heading h2 {
    color: #10243a;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vairmed-ops-heading p {
    color: #526477;
    font-size: 14px;
    margin-bottom: 18px;
}

.vairmed-ops-card {
    display: block;
    position: relative;
    height: 100%;
    min-height: 165px;
    padding: 22px 18px;
    background: linear-gradient(135deg,#10243a,#164d73);
    border-radius: 8px;
    border-bottom: 4px solid #c62836;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

a.vairmed-ops-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(16,36,58,0.25);
}

.vairmed-ops-card i {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 16px;
}

.vairmed-ops-card h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vairmed-ops-card p {
    color: #d7e5f0;
    font-size: 13px;
    margin-bottom: 8px;
}

.vairmed-ops-status {
    font-size: 10px;
    letter-spacing: 1px;
    color: #b8cad8;
}

@media (max-width: 768px) {
    .vairmed-ops-dashboard {
        padding: 15px;
    }
}

/* vAirMed Special Operations Mission Control */
.vairmed-mission-header {
    background: linear-gradient(115deg, #10243a 0%, #194c70 100%) !important;
    border-top: 5px solid #c62836 !important;
    border-radius: 8px !important;
}

.vairmed-mission-header .card-body {
    background: transparent !important;
}

.vairmed-mission-header h2 {
    color: #ffffff !important;
}

.vairmed-mission-header p {
    color: #d5e5ef !important;
}
