html {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
    overflow-x: hidden; /* Prevent any horizontal scrolling issues */

}


@media (min-width: 1025px) {
  .h-custom-2 {
    height: 100%;
  }
}

.page_head {
  display: inline-block;
  padding-bottom: 5px;
  position: relative;
  transition: 0.4s;
}

.page_head:before {
  content: "";
  position: absolute;
  width: 70%;
  height: 1px;
  bottom: 0;
  left: 0%;
  border-bottom: 5px solid #003058;
}

body, html {
 font-family: 'Roboto', sans-serif;
  height: 100%;
  margin: 0;
  background-color: #F8F9FA !important;
  padding:0;
}

@media (min-width: 1025px) {
  .h-custom {
    height: 100vh !important;
  }
}

.select2-container .select2-selection--multiple {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

#25_pad_left {
  padding-left: 25px !important;
}

.add_border {
  border: 1px solid #474f5a !important;
}

.table-white-td td {
  color: white !important;
}

.modal {
  z-index: 1050 !important;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.select2-container--open {
  z-index: 1060 !important;
}

.readonly-grey {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

#total_contractors_table thead {
  display: none;
}

.dataTables_processing {
  background: url('../img/Spinner-3.gif') center center no-repeat !important;
  background-size: 50px !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  z-index: 9999999999 !important;
}

.dataTables_wrapper .dataTables_processing {
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  margin-left: 0px !important;
}

#total_contractors_table table.dataTable {
  border: none;
}

.dataTables_length {
  padding-bottom: 10px !important;
}

.parallax {
  background-image: url("../img/drone-08.jpg");
  min-height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.center {
  position: relative;
  z-index: 2;
  color: white;
}

.color_text {
  color: #010025;
}

.top_nav_cl {
  background: black;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .navbar-toggler {
  color: white !important;
}

.nav-pills .nav-link {
  color: #007bff;
}

.nav-pills .nav-link.active {
  background-color: #007bff;
  color: white;
}

.tab-content {
  padding-top: 10px;
}

#dashboard-content {
min-height: 100vh; /* Ensure the content covers the entire viewport */
  padding-bottom: 0;
}

.nav-link.active {
  background-color: #157347;
  color: white;
}

#map {
  height: 100vh;
}

.profile-box {
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  border-radius: 5px;
}

.preload {
  margin: 0 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin-right: -50% !important;
  transform: translate(-50%, -50%) !important;
}

#main {
  display: none;
}

#footer {
  display: none;
}



.sidebar {
  background-color: #003058;

  padding: 10px 0; 
}

.sidebar-header {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;

}

.nav-item {
  margin: 2px 0;
}

.nav-link {
  color: #fff;

  text-align: center;
  display: block;
  padding: 5px 0;
}

.nav-link img {
  display: block;
  margin: 0 auto 5px auto;
}

.nav-title {
  font-size: 0.8rem;
    color: #fff;
}

.profile-box p {

  text-align: center;
    color: #fff;
}

.profile-info-box {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-info-box h6 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
}

.profile-info-box a.btn {

  color: #fff;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 20px;
}


/* Tab Styling Fix */
.nav-tabs .nav-link {
    color: #333; /* Ensures dark text for inactive tabs */
    background-color: #f8f9fa; /* Gives the tabs a background */
    border: 1px solid #ddd; /* Border around tabs */
    margin-right: 0.2rem; /* Slight space between tabs */
    border-radius: 0.25rem 0.25rem 0 0; /* Smooth corners on the top */
    padding: 0.5rem 1rem; /* Increased padding for a better look */
}

.nav-tabs .nav-link.active {
    color: #fff; /* White text for active tab */
    background-color: #28a745; /* Active tab has a green background */
    border-color: #28a745; /* Active tab border matches the background */
}

.nav-tabs .nav-link:hover {
    color: #333; /* Dark text on hover */
    background-color: #e9ecef; /* Light background color on hover */
}

.tab-content {
    padding: 1rem;
    background-color: #fff; /* White background for content */
    border: 1px solid #ddd;
    border-top: none; /* Remove border on top to connect with tabs */
}
/* Tab Styling Fix for Proper Alignment and Spacing */
.nav-pills .nav-link {
 display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  color: black;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  margin-right: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #157347; /* Active tab with green color */
    color: #fff;
    border-color: #157347; /* Border matching the active tab */
}

.nav-pills .nav-link i {
  margin-right: 0.5rem; /* Add space between icon and text */
}

.nav-pills .nav-item {
    display: inline-block; /* Ensure tabs are inline */
    margin-bottom: -1px; /* Align tabs with content below */
}

/* Ensure Tab Content Looks Clean */
.tab-content {
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0.25rem;
  margin-top: 10px;
}

/* General Fix for Inline-Block Elements to Avoid Collapsing */
ul.nav.nav-pills {
    display: flex; /* Ensures tabs align horizontally */
    justify-content: center; /* Centers tabs horizontally */
    flex-wrap: wrap; /* Prevents overflow issues */
}

#noFlyZoneMap {
    width: 100%;
    height: 600px; /* Adjust height as per your requirement */
}


.fetch-notification {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    font-family:'Roboto', sans-serif;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

  .validate-button {
        margin-bottom: 20px; /* You can adjust this value as per your needs */
    }
	
	
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #003058; /* Fiji blue */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOutSlomo 2.0s ease forwards;
  animation-delay: 2s; /* Keep splash for 3 seconds */
}

@keyframes fadeOutSlomo {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}


.splash-content {
  text-align: center;
   color: white;
}

.fiji-flag {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  animation: flagSlide 2s ease;
}

.loading-text {
  color: white;
  font-size: 18px;
  margin-top: 10px;
  font-family: 'Roboto', sans-serif;
  animation: blink 1s infinite;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes flagSlide {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  50% {
    opacity: 0.5;
  }
}


.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-text {
  color: white;
  font-size: 18px;
  margin-right: 10px;
  border-right: 2px solid white;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 2s steps(23, end) forwards, blink 0.75s step-end infinite; /* Adjusted steps and duration */
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 180px; /* Adjusted width to fit "Connecting the skies..." */
  }
}

@keyframes blink {
  50% {
    border-right-color: transparent;
  }
  100% {
    border-right-color: white;
  }
}


.drone-gif {
  width: 50px; /* Adjust the size as needed */
  height: auto;
  animation: flyDrone 3s ease-in-out infinite;
}

@keyframes flyDrone {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
  100% {
    transform: translateX(0);
  }
}


 #AuthorizeZoneMap {
            height: 600px;
            width: 100%;
        }
		
		   /* Scoped styling using modalID */
    #gs900_form_modal .modal-body p {
        margin-bottom: 15px;
    }

    #gs900_form_modal .form-section {
        padding: 15px;
        background-color: #f1f1f1;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    #gs900_form_modal .form-section h5 {
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }

    #gs900_form_modal .form-floating label {
        margin-left: 10px; /* Add left margin to labels */
    }

    #gs900_form_modal .form-floating .form-control,
    #gs900_form_modal .form-floating label {
        height: calc(3.5rem + 2px);
    }
	
	
	#total_uav_flights_table {
    padding: 20px;
}

#total_uav_flights thead th {
    color: white;
    background-color: #333;
    text-align: center;
    font-weight: bold;
    padding: 10px;
}

#total_uav_flights tbody tr td {
    text-align: center;
    padding: 10px;
}

#total_uav_flights tbody tr {
    border-bottom: 1px solid #444;
}

#total_uav_flights tbody tr:hover {
    background-color: #555;
}

.view-edit-uav-btn{
	margin-right:10px;
}



    /* Styles for the main dropdown buttons */
    .custom-dropdown .dropdown-toggle {
        background-color: #003058 !important; /* Primary color for button */
        color: white !important; /* White text color */
        border: none;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow */
        padding: 0.5rem 1.25rem;

    }

    /* Hover and focus state for the main buttons */
    .custom-dropdown .dropdown-toggle:hover,
    .custom-dropdown .dropdown-toggle:focus {
        background-color: #002846 !important; /* Slightly darker for hover */
        color: white !important;
    }

    /* Styles for dropdown menu */
    .custom-dropdown .dropdown-menu {
        background-color: white; /* Light background for dropdown items */
        border: 1px solid #ddd;
        border-radius: 0.5rem;
        padding: 0.5rem 0; /* Spacing for dropdown */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Softer shadow */
    }

    /* Styles for dropdown items */
    .custom-dropdown .dropdown-item {
        color: #003058; /* Primary color for item text */
        font-weight: 500;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }

    /* Icon spacing and color */
    .custom-dropdown .dropdown-item i {
        margin-right: 8px;
        color: #003058; /* Default color for icons */
        transition: color 0.01s ease; /* Smooth transition for color change */
    }

    /* Hover effect for dropdown items */
    .custom-dropdown .dropdown-item:hover {
        background-color: #003058; /* Hover background color */
        color: white;
    }

    /* Icon color on hover */
    .custom-dropdown .dropdown-item:hover i {
        color: white; /* Change icon color to white on hover */
    }

