body{
  font: 15px/1.5 'Nunito',sans-serif;
  padding: 0;
  margin: auto;
  background-color: #f4f4f4;
  width: 100%;
  margin-bottom: 40px;
}
/* Global */
.bar {
  background: #26a69a;
  color: #ffffff;
  min-height: 40px;
  position: fixed;
  top: 0;
  width: 100%;
}
.container{
  width: 100%;
  margin: auto;
  overflow: hidden;
}
.card {
  padding: 8px;
  text-align: center;
  background-color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  margin: auto;
}

h1, h2, h3, h4, h5, h6 {
  display: block;
  font-size: 1em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

/* Header */
header{
  background: #26a69a;
  color: #ffffff;
  min-height: 40px;
  width: 100%;
}

aside{
  float: left;
  min-height: 100px;
  width: 320px;
}

article{
  float: right;
  min-height: 100px;
  width: 950px;
}

header a{
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

#sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 50px;
  background: #fff;
  border-right: 1px solid #ccc;
  box-shadow: 2px 0 8px rgba(0,0,0,0.15);
  padding: 20px;
  overflow-y: scroll; /* ✅ Always show scrollbar */
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  scrollbar-color: #ddf2f0 transparent; /* ✅ Firefox */
  scrollbar-width: thin;
}

/*header ul{
  margin: 0;
  padding: 0;
}

header li{
  float: left; 
  display: inline;
}

header li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
}

header li a:hover, .dropdown:hover .dropbtn {
  color: #666666;
  background-color: #ddf2f0;
}

header li.dropdown {
  display: inline-block;
}

header .dropdown-content {
  display: none;
  position: absolute;
  background-color: #ddf2f0;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

header .dropdown-content a {
  color: #666666;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

header .dropdown-content a:hover {
  background-color: #f1f1f1;
}

header .dropdown:hover .dropdown-content {
  display: block;
}*/

header #branding{
  float: left;
  display: inline;
}

header #branding a{
  float: left;
  display: inline;
}

header #branding img{
  height: 40px;
}

header nav{
  float: right;
}

section {
  padding: 8px;
  min-height: 810px;
  margin: auto;
  padding-bottom: 50px;
  overflow: auto;
}

/* Footer */
footer {
  background: #666666;
  color: #ffffff;
  height: 50px;
  margin-top: -50px;
  width: 100%;
  bottom: 0px;
  position: relative;
  clear: both;
}

/* Watermark Container */
.wmimg {
  position: relative;
  text-align: center;
  color: #ffffff;
  font: 15px/0.9 'Nunito',sans-serif;
}

/* Watermark Location */
.wmbtmr {
  position: absolute;
  bottom: 8px;
  right: 16px;
}
/* Remove extra left and right margins, due to padding */
.row {
  margin: 0 -5px;
  display: inline;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  display: inline;
}

input[type=text], input[type=password], input[type=date], input[type=email], textarea{
  width: 100%;
  padding: 10px 20px;
  margin: 4px 0;
  display: inline-block;
  font: 15px/1.1 'Nunito',sans-serif;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 3px 3px 3px 3px;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
}

form button, table button, input[type=submit] {
  background-color: #26a69a;
  color: white;
  padding: 12px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 3px 3px 3px 3px;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
}

form button:hover, table button:hover, input[type=submit]:hover{
  color: #666666;
  background-color: #ddf2f0;
  border-radius: 3px 3px 3px 3px;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
}

article img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 15px 15px 15px 15px;
}

p a{
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

p a:hover{
  color: #26a69a;
  font-weight: 600;
}

.nav-tabs .nav-link {
  color: #26a69a;
}

.nav-tabs .nav-link.active {
  color: #26a69a;
  border-color: #26a69a #26a69a #fff;
  background-color: #e6f4f3;
}

.nav-tabs .nav-link:hover {
  color: #1e8d7c;
}

.styled-table {
  border-collapse: collapse;
  margin: 15px 0px;
  font-size: 0.9em;
  border-radius: 3px 3px 3px 3px;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
}
.styled-table a{
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.styled-table a:hover{
  color: #26a69a;
  font-weight: 600;
}

.styled-table thead tr {
  background-color: #26a69a;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}

.styled-table th,
.styled-table td {
  padding: 6px 2px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
  font-size: 0.8em;
  text-decoration: none;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
  font-size: 0.8em;
}

.styled-table tbody tr:hover {
  border-bottom: 1px solid #dddddd;
  background-color: #ddf2f0;
}

.styled-table tbody tr:nth-of-type(even):hover {
  background-color: #ddf2f0;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #26a69a;
}


.gall-table {
  border-collapse: collapse;
  margin: 9px 0px;
  overflow: hidden;
}

.gall-table thead tr {
  background-color: #26a69a;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}

.gall-table th,
.gall-table td {
  padding: 10px 2px;
}

.gall-table tbody tr {
  border-top: 2px solid #dddddd;
  border-bottom: 2px solid #dddddd;
  font-size: 0.9em;
  text-decoration: none;
}

.gall-table tbody tr:nth-of-type(even) {
  font-size: 0.9em;
}

.gall-table tbody tr:last-of-type {
  border-bottom: 2px solid #26a69a;
}

.gall-table a{
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.gall-table a:hover{
  color: #26a69a;
  font-weight: 600;
}
.forum-table {
  border-collapse: collapse;
  margin: 15px 0px;
  font-size: 0.9em;
  border-radius: 25px 25px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
}
.forum-table a{
  color: #000;
  text-decoration: none;
}

.forum-table thead tr {
  background-color: #26a69a;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}

.forum-table th,
.forum-table td {
  padding: 6px 2px;
}

.forum-table tbody tr {
  font-size: 0.9em;
  text-decoration: none;
}

.forum-table tbody tr:last-of-type {
  border-bottom: 2px solid #26a69a;
}
.tab {
  overflow: hidden;
  background-color: #ddf2f0;
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -16px;
  height: 43px;
}

.tooltip, .tooltip a{
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext, .tooltip .tooltiptext a {
  visibility: hidden;
  width: 30px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip:hover .tooltiptext, .tooltip:hover .tooltiptext a {
  visibility: visible;
}

#map, #map img {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
  box-shadow: none;
  border-radius: 0;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: #ddf2f0;
  color: #666666;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #26a69a;
  color: #ffffff;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #26a69a;
  color: #ffffff;
}

/* Style the tab content */
.tabcontent {
  display: none;
  border-top: none;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 40px;
}

aside img{
  border-radius: 100% 100% 100% 100%;
  border: 2px solid #26a69a;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
}

progress::-webkit-progress-bar {background-color: #000; width: 100%;}
progress::-webkit-progress-value {background-color: #26a69a !important;}

/* Datatables */

.dataTables_wrapper{
  position:relative;
  clear:both;
  *zoom:1;
  zoom:1;
}
.dataTables_wrapper .dataTables_length{
  float:left;
  padding: 0 10px 10px 10px;
}
.dataTables_wrapper .dataTables_length select{
  border:1px solid #aaa;
  border-radius:3px;
  padding:5px;
  background-color: transparent;
  display: inline-block;
}
.dataTables_wrapper .dataTables_filter{
  float:right;
  text-align: right;
  display: inline;
  padding:0 10px 10px 10px;
}
.dataTables_wrapper .dataTables_filter input{
  border:1px solid #aaa;
  border-radius:3px;
  padding:5px;
  background-color: transparent;
  margin-left:3px;
  display: inline;
}
.dataTables_wrapper .dataTables_info{
  clear:both;
  float:left;
  padding-top:0.755em
}
.dataTables_wrapper .dataTables_paginate{
  float:right;
  text-align:right;
  padding-top:0.25em
}
.dataTables_wrapper .dataTables_paginate .paginate_button{
  box-sizing:border-box;
  display:inline-block;
  min-width:1.5em;
  padding:0.5em 1em;
  margin-left:2px;
  text-align:center;
  text-decoration:none !important;
  cursor:pointer;
  *cursor:hand;
  color:#333 !important;
  border:1px solid transparent;
  border-radius:2px
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  color:#333 !important;
  border:1px solid #979797;
  background-color:white;
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #ddf2f0));
  background:-webkit-linear-gradient(top, #fff 0%, #ddf2f0 100%);
  background:-moz-linear-gradient(top, #fff 0%, #ddf2f0 100%);
  background:-ms-linear-gradient(top, #fff 0%, #ddf2f0 100%);
  background:-o-linear-gradient(top, #fff 0%, #ddf2f0 100%);
  background:linear-gradient(to bottom, #fff 0%, #ddf2f0 100%)
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{
  cursor:default;
  color:#666 !important;
  border:1px solid transparent;
  background:transparent;
  box-shadow:none
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  color:white !important;
  border:1px solid #26a69a;
  background-color:#ddf2f0;
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ddf2f0), color-stop(100%, #26a69a));
  background:-webkit-linear-gradient(top, #ddf2f0 0%, #26a69a 100%);
  background:-moz-linear-gradient(top, #ddf2f0 0%, #26a69a 100%);
  background:-ms-linear-gradient(top, #ddf2f0 0%, #26a69a 100%);
  background:-o-linear-gradient(top, #ddf2f0 0%, #26a69a 100%);
  background:linear-gradient(to bottom, #ddf2f0 0%, #26a69a 100%)
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active{
  outline:none;
  background-color:#26a69a;
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #111));
  background:-webkit-linear-gradient(top, #26a69a 0%, #111 100%);
  background:-moz-linear-gradient(top, #26a69a 0%, #111 100%);
  background:-ms-linear-gradient(top, #26a69a 0%, #111 100%);
  background:-o-linear-gradient(top, #26a69a 0%, #111 100%);
  background:linear-gradient(to bottom, #26a69a 0%, #111 100%);
  box-shadow:inset 0 0 3px #26a69a
}
.dataTables_wrapper .dataTables_paginate .ellipsis{
  padding:0 1em
}
.dataTables_wrapper .dataTables_processing{
  position:absolute;
  top:50%;left:50%;
  width:100%;
  height:40px;
  margin-left:-50%;
  margin-top:-25px;
  padding-top:20px;
  text-align:center;
  font-size:1.2em;
  background-color:white;
  background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));
  background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
  background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)
}


  .btn-primary {
    background-color: #26a69a !important;
    border-color: #26a69a !important;
    color: white !important;
  }
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #1f8f83 !important;
    border-color: #1f8f83 !important;
    color: white !important;
  }

/* Default outline buttons */
.btn-outline-primary {
  color: #26a69a !important;
  border-color: #26a69a !important;
  background-color: white !important;
}

/* Hover effect for outline buttons */
.btn-outline-primary:hover {
  background-color: #ddf2f0 !important;
  color: #26a69a !important;
  border-color: #26a69a !important;
}

/* Active button override */
.btn-outline-primary.active,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary.active:focus {
  background-color: #26a69a !important;
  border-color: #26a69a !important;
  color: white !important;
  box-shadow: none !important;
}


  /* Optional: Card border highlight for selected plans */
  .card.border-primary {
    border-color: #26a69a !important;
  }

  /* Currency button active color */
  .btn-group .btn.active, 
  .btn-group .btn:active {
    background-color: #26a69a;
    border-color: #26a69a;
    color: white;
  }

.card-body p {
  text-align: left !important;
}

.alert-info {
  background-color: #ddf2f0 !important;
  border-color: #b6e4e0 !important;
  color: #0f4d4d !important;
}

.list-group-item.active {
  background-color: #26a69a !important;
  border-color: #1e857b !important;
  color: #fff !important;
}

.list-group-item-action.active {
  background-color: #ddf2f0 !important;
  border-color: #b6e4e0 !important;
  color: #000 !important;
}

.discussion-card a {
  color: #000 !important;
  text-decoration: none !important;
}

.discussion-card a:hover,
.discussion-card a:focus {
  color: #26a69a !important;
  text-decoration: none !important;
}

.page-item.active .page-link {
  background-color: #26a69a !important;
  border-color: #26a69a !important;
  color: #fff !important;
}

.page-link {
  color: #26a69a !important;
}

.page-link:hover {
  color: #1f8e82 !important;
}

.feature-col {
  width: 40%;
  text-align: left;
  font-weight: 600;
}

.plan-col {
  width: 20%;
  vertical-align: middle;
  position: relative;
}

.popular-plan {
  border: 2px solid #26a69a;
  background-color: #e0f2f1;
}

.badge-success {
  background-color: #26a69a;
  color: white;
  font-size: 0.75rem;
  padding: 0.3em 0.6em;
  border-radius: 0.25rem;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #26a69a;
}

.table thead th {
  background-color: #f9f9f9;
}

/* Stripe card element inside a Bootstrap-like input */
#card-element.form-control {
  padding: 10px 12px;
  height: auto;
  background-color: white;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Add focus style */
#card-element.StripeElement--focus {
  border-color: #26a69a;
  box-shadow: 0 0 0 0.25rem rgba(38, 166, 154, 0.25);
}

/* Make it visually consistent when invalid */
#card-element.StripeElement--invalid {
  border-color: #dc3545;
}


.leaflet-tooltip.custom-tooltip {
  background-color: #263238;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  font-family: "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  max-width: 220px;
  transform: translateY(5px) translateX(5px); /* fine tune */
  pointer-events: none;
}

.leaflet-tooltip.custom-tooltip::before {
  display: none !important;
}

.leaflet-tooltip.custom-tooltip .tooltip-header {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}


  /* Arrow rotation */
  .toggle-detail .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1.25rem;
    user-select: none;
  }

  .toggle-detail[aria-expanded="true"] .arrow {
    transform: rotate(90deg);
  }

  /* Smaller detail text */
  .feature-detail-row td {
    background-color: #f8f9fa;
    font-size: 0.9rem;
    color: #555;
    padding: 0.75rem 1.5rem;
  }

  /* Cursor pointer on toggle buttons */
  .toggle-detail {
    cursor: pointer;
  }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
     background-color: #ddf2f0;
     color: #333333; 
}

  .ck-editor__editable[role="textbox"] {
    min-height: 300px;
  }

  .pagination-container button {
  font-family: 'Nunito', sans-serif;
  background-color: #ddf2f0;
  color: #26a69a;
  border: 1px solid #26a69a;
  border-radius: 5px;
  width: 47px;
  transition: all 0.2s ease-in-out;
}

.pagination-container button:hover {
  background-color: #26a69a;
  color: white;
}

.pagination-container .active-page {
  background-color: #26a69a;
  color: white;
  font-weight: bold;
}

.pagination-container span.ellipsis {
  font-family: 'Nunito', sans-serif;
  color: #999;
  padding: 6px 10px;
}


#sidebar::-webkit-scrollbar {
  width: 8px;
}

#sidebar::-webkit-scrollbar-track {
  background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
  background-color: #ddf2f0;
  border-radius: 10px;
  border: 2px solid transparent; /* Optional for padding effect */
}

/*Modals*/

.modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
.modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}
.display-topright{position:absolute;right:0;top:0;width:40px;height:40px}
.card-4,.hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)}
.button:hover{color:#000!important;background-color:#ccc!important}

@media screen and (max-width: 1000px) {
  .container,
  header #branding,
  header #branding a,
  header ul,
  header li,
  header nav,
  aside,
  article {
    float: none;
    width: 100%;
  }

  header #branding img{
    margin: auto;
    height:60px;
  }
}
