/**
 * 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: #ffffff;
  background-color: #0f0f0f;
  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: #ffffff;
  font-weight: 600;
}
a:hover {
  text-decoration: none;
  color: #ff2a2a;
  font-weight: 600;
}
a:active {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}

/* Card Style */
.card {
  background-color: rgba(18, 18, 18, 0.88);
  border-color: #000000;
  color: #ffffff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.75);
}
.card .card-header {
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid #ff2a2a;
}
.card .card-footer {
  background-color: rgba(20, 20, 20, 0.85);
  color: #dddddd;
}
.card .card-header h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}
.card .card-header a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}
.card .card-header a:hover {
  text-decoration: none;
  color: #ff2a2a;
  font-weight: 500;
}
.card .card-header a:active {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

/* Modal Style */
.modal .modal-header {
  background-color: rgba(10, 10, 10, 0.95);
  color: #ffffff;
  border-bottom: 1px solid #ff2a2a;
}

.modal .modal-body {
  background-color: #171717;
  color: #ffffff;
}

.modal .modal-footer {
  color: #ffffff;
  font-weight: 400;
  background-color: rgba(10, 10, 10, 0.95);
  border-top: 1px solid #ff2a2a;
}

/* Accordion Style */
.accordion .accordion-button {
  box-shadow: none;
  color: #ffffff !important;
  background-color: rgba(10, 10, 10, 0.95) !important;
  border: 1px solid rgba(255, 42, 42, 0.25);
}
.accordion .accordion-button:hover {
  color: #ff2a2a !important;
}
.accordion .collapsed {
  background-color: rgba(22, 22, 22, 0.9) !important;
  color: #dddddd !important;
}
.accordion .accordion-item {
  background-color: transparent !important;
}
.accordion .accordion-body {
  background-color: rgba(18, 18, 18, 0.88) !important;
  color: #ffffff;
}

/* NavBar Style */
#Dispo_NavBar {
  background-color: #000000;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 42, 42, 0.3);
  margin-bottom: 10px;
}
#Dispo_NavBar a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}
#Dispo_NavBar a:hover {
  text-decoration: none;
  color: #ff2a2a;
  font-weight: 500;
}
#Dispo_NavBar a:active {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

#Dispo_NavBar .dropdown-menu {
  background-color: rgba(8, 8, 8, 0.98);
  border: 1px solid rgba(255, 42, 42, 0.2);
}

#Dispo_NavBar .dropdown-menu a {
  color: #ffffff;
}

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

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

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

#Dispo_SideBar .dropdown-menu a {
  color: #ffffff;
}

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

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

/* Navigation Pills Style */
.nav-pills .nav-link {
  color: #ffffff;
  background-color: rgba(20, 20, 20, 0.85) !important;
}
.nav-pills .nav-link:hover {
  color: #ff2a2a;
}
.nav-pills .active {
  color: #ffffff;
  background-color: rgba(255, 42, 42, 0.92) !important;
}

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

.card .nav-tabs .nav-item .nav-link:hover {
  color: #ff2a2a;
}

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

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

.card .card-body .nav-tabs .nav-item .active {
  background-color: transparent;
  color: #ff2a2a;
}

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

/* Footer Style */
#footer {
  font-size: 0.825rem;
  color: #ffffff;
}
#footer .card {
  background-color: rgba(12, 12, 12, 0.88);
}
#footer .card a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}
#footer .card a:hover {
  text-decoration: none;
  color: #ff2a2a;
  font-weight: 600;
}
#footer .card a:active {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}

/* Pagination Style */
.pag-items {
  background-color: rgba(22, 22, 22, 0.92) !important;
  border-radius: 5px;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.pag-items-curr {
  background-color: rgba(255, 42, 42, 0.92) !important;
  border-radius: 5px;
  color: #ffffff !important;
  border-color: #aa0000 !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;
}

/* Select2 text color fix */
.select2-container .select2-selection--single .select2-selection__rendered {
  color: #000 !important;
}

.select2-dropdown {
  background: #fff !important;
}

.select2-results__options {
  background: #fff !important;
}

.select2-results__option {
  color: #000 !important;
  background: #fff !important;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[aria-selected] span {
  color: #fff !important;
  background: #4d8df7 !important;
}

.select2-results__option[aria-selected="true"] {
  color: #000 !important;
  background: #e9ecef !important;
}

.select2-search--dropdown .select2-search__field {
  color: #000 !important;
  background: #fff !important;
}

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

.map-info-label {
  display: block;
  padding: 5px;
  background-color: rgba(15, 15, 15, 0.94);
  color: #ffffff;
}

/* 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(255, 255, 255, 0.08);
  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 */
}

/* METAR / Weather alanı */
[id*="metar"],
[class*="metar"],
.weather-card,
.wx-card {
  background-color: rgba(10, 10, 10, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 42, 42, 0.35) !important;
}

[id*="metar"] a,
[class*="metar"] a,
.weather-card a,
.wx-card a {
  color: #ffffff !important;
}

[id*="metar"] a:hover,
[class*="metar"] a:hover,
.weather-card a:hover,
.wx-card a:hover {
  color: #ff2a2a !important;
}

/* TABLE FIX */
table,
table th,
table td {
  color: #ffffff !important;
}

table a {
  color: #ffffff !important;
}

table a:hover {
  color: #ff2a2a !important;
}

/* Forms */
input,
select,
textarea {
  color: #ffffff;
  background-color: rgba(18, 18, 18, 0.95);
  border: 1px solid #333333;
}

input:focus,
select:focus,
textarea:focus {
  color: #ffffff;
  background-color: rgba(18, 18, 18, 0.95);
  border-color: #ff2a2a;
  box-shadow: none;
}

/* Buttons */
.btn-primary,
.btn-warning,
.btn-danger {
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-warning:hover,
.btn-danger:hover {
  color: #ffffff !important;
}

/* Mobile Device Compatability */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}