* {
  margin: 0px;
  padding: 0;
}

body {
  padding-top: 75px;
}

#brand {
  max-height: 50px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
}

.navbar-nav .nav-link.active {
  color: #0d6efd;
}

.navbar-nav .nav-link i {
  margin-right: 5px;
}

body {
  font-family: Arial;
  height: 100%;
}
img {
  border: none;
}

.invoice_details table tfoot {
  display: table-footer-group;
}

.invoice_details table tbody tr:last-child td {
  padding-bottom: 20px !important;
}

.border_top_grey {
  border-top: 2px solid lightgrey !important;
}

.litegreen {
  background: #c2e08b;
}

/* ----------------------------------------------- */
#wrap {
  position: relative;
}
/* ----------------------------------------------- */
#head {
  position: relative;
  width: 900px;
  height: 70px;
  margin: 20px auto 0 auto;
}
/* ----------------------------------------------- */
#logo {
  position: relative;
  width: 430px;
  float: left;
}
#logo_img {
  height: 55px;
  float: left;
  border-radius: 30px;
}
#brand {
  color: gold;
  display: inline-block;
  font-size: 40px;
  text-transform: capitalize;
  text-shadow: -2px 2px grey;
}
/* ----------------------------------------------- */
.log {
  float: right;
  margin-right: 10px;
  color: gold;
  text-decoration: none;
  text-shadow: -1px 1px black;
}
.log:hover {
  color: green;
}
#menubar {
  position: relative;
  width: 390px;
  color: #fff;
  float: right;
  margin-top: -1px;
  margin-right: -20px;
  padding: 3px 10px 3px 10px;
}
#menubar ul {
  list-style: none;
}
#menubar li {
  padding: 0 5px;
  float: left;
}
#menubar li#currentpage > a {
  color: gold;
  text-shadow: -1px 1px black;
}
a.menu {
  text-decoration: none;
  color: green;
}
a.menu:hover,
a.menu:active {
  color: gold;
  text-shadow: -1px 1px black;
}
/* ----------------------------------------------- */
#divider {
  border-top: 1px solid #888;
}
/* ----------------------------------------------- */
#main_content {
  position: relative;
  padding: 10px 0 10px 0;
  margin: 80px auto 10px;
}
.content_text {
  margin: 0 auto;
  width: 875px;
  /* background : #fff;
    border     : 1px solid; */
  padding: 1px;
  background: transparent;
}
.content_text p {
  font-size: 16px;
}
.insidecontent {
  background: white;
  padding: 50px 30px;
  margin: 0px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgb(165, 165, 165);
}
/* ----------------------------------------------- */
a {
  color: green;
}
a:hover {
  color: gold;
  /*text-shadow: -1px 1px black; */
}
/* ----------------------------------------------- */
p {
  text-align: justify;
}
/* ----------------------------------------------- */
.gm-style {
  margin: 0px;
}
/* ----------------------------------------------- */
.entou {
  height: 110px;
}
/* ------- TEAM PIX ---*/

.teampix {
  float: left;
  width: 300px;
  height: auto;
  margin-right: 40px;
  border: 1px solid grey;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.teamdes {
  text-align: justify;
}
.name {
  font-weight: bold;
  color: gold;
  text-shadow: -1px 1px black;
  font-size: 24px;
}
.position {
  font-style: italic;
  color: green;
}
.des {
}
/* ----------------------------------------------- */
#footer {
  position: relative;
  height: 30px;
  width: 100%;
  bottom: 0;
  font-size: 14px;
  text-align: center;
  padding: 5px 0;
  border-top: 1px solid #888;
  border-bottom: 1px solid #888;
  margin: 5px;
}

/* ----------------------------------------------- */
.tenantformtitle {
  color: gold;
  font-size: 30px;
}

body {
  font: 400 15px Lato, sans-serif;
  line-height: 1.8;
  color: #818181;
}

.subt {
  color: #72ae07;
  margin-bottom: 2rem;
}

h1 {
  /* color: #79B707 !important; */
}

h2 {
  font-size: 24px;
  text-transform: uppercase;
  color: #303030;
  font-weight: 600;
  margin-bottom: 30px;
}
h4 {
  font-size: 19px;
  line-height: 1.375em;
  color: #303030;
  font-weight: 400;
  margin-bottom: 30px;
}
.jumbotron {
  background-color: #79b707;
  color: #fff;
  padding: 30px 25px;
  font-family: Montserrat, sans-serif;
  margin-bottom: 0px;
}
.container-fluid {
  padding: 60px 50px;
}
.bg-grey {
  background-color: #f6f6f6;
}
/* ------- LOGO ---*/
.logo-small {
  color: #79b707;
  font-size: 50px;
}
.logo {
  color: #79b707;
  font-size: 200px;
}
.logoc {
  height: 40px;
}
/* ---- BRAND ---*/
#brand {
  color: white !important;
}
/* ------- THUMBNAIL ---*/
.thumbnail {
  padding: 0 0 15px 0;
  border: none;
  border-radius: 0;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}
/* ------- CAROUSEL ---*/
.carousel-control.right,
.carousel-control.left {
  background-image: none;
  color: #79b707;
}
.carousel-indicators li {
  border-color: #79b707;
}
.carousel-indicators li.active {
  background-color: #79b707;
}
.carousel-inner {
  min-height: 220px;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  width: 100%;
  margin: auto;
}
.item h4 {
  font-size: 19px;
  line-height: 1.375em;
  font-weight: 400;
  font-style: italic;
  margin: 70px 0;
}
.item span {
  font-style: normal;
}
/* ------- PANEL ---*/
.panel {
  border: 1px solid #79b707;
  border-radius: 0 !important;
  transition: box-shadow 0.5s;
  box-shadow: 5px 0px 40px rgba(0, 0, 0, 0.2);
}
.panel:hover {
  box-shadow: 5px 0px 40px rgba(0, 0, 0, 0.2);
}
.panel-footer .btn:hover {
  border: 1px solid #79b707;
  background-color: #fff !important;
  color: #79b707;
}
.panel-heading {
  color: #fff !important;
  background-color: #79b707 !important;
  padding: 5px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.panel-body {
  padding: 25px;
}
.panel-footer {
  /* background-color: white !important; */
}
.panel-footer h3 {
  font-size: 32px;
}
.panel-footer h4 {
  color: #aaa;
  font-size: 14px;
}
.panel-footer .btn {
  margin: 15px 0;
  background-color: #79b707;
  color: #fff;
}
/* ------- NAVBAR ---*/
.navbar {
  margin-bottom: 0;
  background-color: #79b707;
  z-index: 9999;
  border: 0;
  font-size: 12px !important;
  line-height: 1.42857143 !important;
  letter-spacing: 4px;
  border-radius: 0;
  font-family: Montserrat, sans-serif;
}
.navbar li a,
.navbar .navbar-brand {
  color: #fff !important;
}
.navbar-brand {
  padding: 5px 15px;
}
.navbar-brand > img {
  display: inline;
}
.navbar-nav li a:hover,
.navbar-nav li.active a {
  color: #79b707 !important;
  background-color: #fff !important;
}
.navbar-default .navbar-toggle {
  border-color: transparent;
  color: #fff !important;
}
.navbar-toggle {
  background-color: #ddd;
}
.dropdown-menu > li > a {
  color: #818181 !important ;
}
/* ------- FOOTER ---*/
footer .secret {
  font-size: 20px;
  margin-bottom: 20px;
  color: #79b707;
}
/* ------- SLIDE PANEL ---*/
.slideanim {
  visibility: hidden;
}
.slide {
  animation-name: slide;
  -webkit-animation-name: slide;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  visibility: visible;
}
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

.hover_shadow {
  transition: box-shadow 0.5s;
}

.hover_shadow:hover {
  box-shadow: 5px 0px 40px rgba(0, 0, 0, 0.7);
}

.breakmobile {
  margin-left: 10px;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.container {
  max-width: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: space-between; /* Ensures brand and toggle button are spaced properly */
  align-items: center;
}

.navbar-collapse {
  flex-grow: 0; /* Prevents the collapse div from growing unnecessarily */
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-nav li {
  margin-left: 10px;
}

button {
  background-color: #79b707;
  color: white;
}

.hideonlaptop {
  display: none;
}

/* -----------------------TENANT DASHBOARD LEASE ------*/

.click-invoice {
  cursor: pointer;
}

.link {
  color: blue !important;
  text-decoration: underline;
}

.box-shadow-border {
  box-shadow: 5px 0px 40px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid #79b707;
  border-radius: 0 !important;
}

h1 {
  text-align: center;
}
.lease-section {
  margin-bottom: 30px;
  padding: 15px;
  /* border: 1px solid #ddd;
  background: #f1f1f1;
  border-radius: 5px; */
}
.lease-section h2 {
  margin-bottom: 5px;
}

.lightgrey {
  background: #f1f1f1;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.invoice-table th,
.invoice-table td {
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
}
.invoice-table th {
  background-color: #79b707;
  color: white;
}

.closed-invoice-table th {
  background-color: #a5d46f; /* Lighter Green */
  color: #6c757d;
}

/* Closed Invoices Styling */
.closed-invoice-table {
  border: 2px solid #d6d6d6; /* Light grey border */
}

.closed-invoice-table td {
  font-style: italic;
  color: #6c757d; /* Muted text color */
}

.paid {
  color: green !important;
  font-weight: bold;
}
.partially_paid {
  color: orange !important;
  font-weight: bold;
}
.unpaid {
  color: red !important;
  font-weight: bold;
}
.overpaid {
  color: purple !important;
  font-weight: bold;
}

.label-paid {
  background-color: green;
  font-weight: bold;
}
.label-partially_paid {
  background-color: orange;
  font-weight: bold;
}
.label-unpaid {
  background-color: red;
  font-weight: bold;
}
.label-overpaid {
  background-color: purple;
  font-weight: bold;
}

.modal-body img,
.modal-body video {
  max-height: 90vh;
  max-width: 100%;
}
/* ----------------------- END OF TENANT DASHBOARD LEASE ------*/

/* ------- MEDIA MAX 768PX ---*/
@media screen and (max-width: 846px) {
  .hideonlaptop {
    display: inline;
  }
  .breakmobile {
    display: block;
  }
  .col-sm-4 {
    text-align: center;
    margin: 25px 0;
  }
  .btn-lg {
    width: 100%;
    margin-bottom: 35px;
  }
  #gallery-single * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  #gallery-single table[id^="PageActionsCtnr"] {
    border-spacing: 0px !important;
    border-collapse: separate !important;
  }

  #gallery-single table[id^="PageActionsCtnr"] td {
    display: block;
    width: auto !important;
    float: left;
    text-align: left;
    padding: 1px !important;
  }

  #gallery-single table[id^="PageActionsCtnr"] td div {
    text-align: left !important;
  }

  #gallery-single table[data-cb-name^="cbTable"] {
    border-spacing: 30px !important;
    border-collapse: separate !important;
    margin-bottom: 7px;
  }

  #gallery-single table[data-cb-name^="cbTable"] td {
    display: block;
    width: 100% !important;
    float: left;
    text-align: left;
    margin-top: 10px;
  }

  #gallery-single table[data-cb-name^="cbTable"] td div {
    text-align: left !important;
  }

  #gallery-single table[data-cb-name^="cbTable"] td > div > div[name^="RACtnr"],
  #gallery-single
    table[data-cb-name^="cbTable"]
    td
    > div
    > div[name^="RACtnr"]:hover {
    vertical-align: middle !important;
    white-space: normal !important;
    background: transparent !important;
    overflow: hidden !important;
    display: inline-block !important;
    padding: 0px !important;
    margin: -6px 12px 8px 12px !important;
    line-height: 0px;
    position: static !important;
    width: auto !important;
    opacity: 1 !important;
  }

  .hei500 {
    height: 410px !important;
  }
}

/* ------- MEDIA MAX 480PX ---*/
@media screen and (max-width: 480px) {
  .logo {
    font-size: 150px;
  }
}

.g-recaptcha > div {
  margin: auto;
}

.modal {
  padding-top: 60px; /* your navbar height */
}

.modal-dialog {
  max-height: calc(100vh - 60px); /* adjust to navbar height */
  margin: 0 auto;
}

.modal-body {
  max-height: calc(
    100vh - 120px
  ); /* navbar height + modal header/footer spacing */
  overflow: hidden;
}

.modal-body video,
.modal-body img {
  max-height: 100%;
  width: auto;
}

.modal-header > h2 {
  margin-bottom: 10px;
  color: #79b707;
}
.modal-header,
.modal-footer {
  text-align: center;
  background-color: #fafafa;
}
/* ------- BTN-LINK ---*/
.btn-link,
.btn-link:active,
.btn-link:focus,
.btn-link:hover {
  outline: none;
}
/* ---- VIEW ON MAP BUTTON ---*/
.mapbut > a {
  color: white !important;
  text-decoration: none !important;
}
.scrolloff {
  pointer-events: none;
}

#Mymap,
#Mypano {
  height: 525px;
  width: 100%;
  border: 1px solid rgb(165, 165, 165);
  position: relative;
  background-color: rgb(229, 227, 223);
  overflow: hidden;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.4);
  margin: 20px auto;
}

/* ---- TENANT TITLE ---*/
.tenantformtitle {
  color: black;
  font-size: 27px;
  margin-top: -20px;
}
.slideanim {
  visibility: visible !important;
}

#contract1,
#statement,
#extension1 {
  /* width: 800px;
height: 915px;*/
  /*width: 950px;
    height: 1235px;*/
  width: 1140px;
  height: 1455px;
  border: 2px #818181 solid;
  margin: auto;
}

#masterlease {
  width: 100%;
  height: 1160px;
  border: 2px #818181 solid;
  margin: auto;
}

.navbar-light .navbar-toggler {
  background: lightgrey;
}

.panel-heading > h2 {
  margin: 10px;
  color: white;
  text-transform: none;
  text-align: center;
}

.disabledcontent {
  border: 1px solid #ccc;
  border-radius: 4px;
  /*background: #eee;*/
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  text-transform: uppercase;
}

.accordion-button::after {
  margin-left: 0px !important;
  background-image: url(https://www.officepark.online/img/bluedown.png);
  width: 30px;
  background-size: 3rem;
  height: 30px;
}

.accordion-button:not(.collapsed)::after {
  background-image: url(https://www.officepark.online/img/blueup.png);
}

#availroom {
  width: auto;
  height: 100vh;
}

/* ------- MEDIA MAX 480PX ---*/
@media only screen and (max-width: 768px) {
  #availroom {
    width: 100%;
    height: auto;
  }

  #contract1,
  #statement {
    height: 450px !important;
    width: 100% !important;
    margin: auto !important;
  }

  thead th:not(:first-child) {
    display: none;
  }
  td,
  th {
    display: block;
    clear: both;
  }
  td[data-th]:before {
    content: attr(data-th);
    float: left;
  }
  td.text-center {
    text-align: right !important;
  }

  tfoot th.text-right {
    text-align: left !important;
  }

  .maxwidth-80 {
    max-width: 100% !important;
  }

  .HideOnMobile {
    display: none !important;
  }

  .truncatemobile {
    max-width: 127px;
  }
}

/* -------END OF MEDIA MAX 480PX ---*/

/*-------------MOBILE LANDSCAPE---------------*/
/* ✅ Force navbar to stay collapsed in the 769px - 1024px range */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
  .navbar-collapse {
    display: none !important; /* Always hide the navbar menu */
  }

  .navbar-collapse.show {
    display: block !important; /* Allow toggling */
  }

  .navbar-toggler {
    display: block !important; /* Ensure the toggle button is always visible */
  }
}

/* ✅ Override Bootstrap's rule for 768px+ screens */
@media (min-width: 768px) {
  .navbar-collapse.collapse {
    /*  display: none !important; */ /* Override Bootstrap's default `display: block;` */
  }
}
/*-------------END OF MOBILE LANDSCAPE---------------*/

#section-to-print {
  width: 100% !important;
  max-width: 100%;
}
/* ------- MEDIA TO PRINT ---*/
@media print {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    overflow: visible !important;
    visibility: hidden; /* Hide everything except the section */
  }

  #section-to-print,
  #section-to-print * {
    visibility: visible !important;
  }

  #section-to-print {
    position: fixed;
    top: 0;
    left: 0;
    width: 210mm; /* A4 */
    min-height: 297mm;
    padding: 20mm;
    background: white;
    box-sizing: border-box;
    z-index: 9999;
  }

  /* Ensure no breaks in tables */
  table {
    page-break-inside: avoid !important;
    width: 100%;
    border-collapse: collapse;
  }

  tr,
  td,
  th {
    page-break-inside: avoid !important;
    page-break-after: auto !important;
    border: 1px solid #000;
    padding: 8px;
  }

  /* Hide interactive elements */
  .no-print,
  button {
    display: none !important;
  }

  #invoice-to-print {
    position: absolute;
    top: 0;
    left: 0;
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
    box-sizing: border-box;
  }

  #invoice-to-print .well li {
    white-space: nowrap !important;
  }

  .no-break {
    white-space: nowrap;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ------- MEDIA TO PRINT ---*/

.pl-0 {
  padding-left: 0 !important;
}

#payselect select {
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* background: #eee; */
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}

.black-text {
  color: black !important;
}

.red-text {
  color: red !important;
}

.green-text {
  color: green !important;
}

#loading-img {
  display: none;
}
.response_msg {
  margin-top: 10px;
  font-size: 13px;
  background: green;
  color: #ffffff;
  padding: 3px;
  display: none;
}

.float-right {
  float: right !important;
}
.float-left {
  float: left !important;
}

.prices,
.priceslong {
  /*float: right;*/
}

.nowrap {
  white-space: nowrap;
}

.greenborder {
  border: 1px solid green;
}

.maxwidth-80 {
  max-width: 80%;
  margin: auto;
}

table > tbody > tr > th,
table > tfoot > tr > th {
  text-align: center !important;
}

#clientForm .form-control {
  border-radius: 0.25rem;
  border: 1px solid #ccc;
}

#clientForm button {
  background-color: #79b707 !important;
  border: none;
}

#clientForm button:hover {
  background-color: #5f9106 !important;
}

#clientForm label {
  font-weight: 500;
}
