:root {
  --main-bg-color: #253578;
  --secondary-color: silver;
  --dark-color: black;
}

html,
body {
  font-family: "Roboto", "Arial", Helvetica, sans-serif;
  overflow-x: hidden
}

body {
  background-color: #f1f1f1;
  color: #666;
  font-size: 16px
}

body.wait,
body.wait * {
  cursor: wait !important;
}

p,
li,
a {
  font-size: 16px
}

h2 {
  font-size: 30px;
  color: #124c19
}

h3 {
  font-size: 24px;
  color: #5c675d
}

h4 {
  font-size: 18px;
  color: #5c675d
}

h5 {
  font-size: 14px;
  color: #373e38
}

h6 {
  font-size: 12px;
  color: #373e38
}

a {
  color: black;
  &:hover {
    color: #24b93c;
  }
}

.detail-link {
  color: #000000;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  &:hover {
    color: #000000;
    text-decoration: none
  }
}

.form-control:focus {
  border-color: #24b93c !important
}

.btn-warning {
  background-color: #f60;
  border-color: #f60
}

.btn-info {
  background-color: #29adee
}

.text-warning {
  color: #f60
}

.text-fb {
  color: #3b5998
}

.text-tw {
  color: #55acee
}

.text-report {
  color: #ff0000
}

.close-safety-panel,
.close-category-panel,
.close-account-panel,
.close-filter-panel {
  background: #123c19;
  border-radius: 50%;
  border: none;
  color: #FFF
}

.close-safety-panel:focus,
.close-category-panel:focus,
.close-safety-panel:active,
.close-category-panel:active,
.close-account-panel:focus,
.close-account-panel:active,
.close-filter-panel:focus,
.close-filter-panel:active {
  outline: none !important;
  border: none
}

.home_searchbox-filters {
  width: 100%;
  position: relative;
  margin-top: 15px;
  left: auto;
  right: auto
}

.ad-row {
  height: 90px;
  margin-bottom: 30px
}

.ad-row img {
  max-width: 100%
}

@media screen and (max-width: 991px) {
  .ad-row {
    height: auto;
    margin-bottom: 0
  }
}

.category-col {
  height: 250px;
  margin-bottom: 15px;
  transition: all ease-out 175ms;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  .cat-box-col-txt {
    font-family: var(--silva-display);
    font-weight: bold;
    padding: 10px;
    .cat-col-header {
      font-size: 24px;
      font-weight: bolder;
      color: black;
      display: block;
      text-align: center;
      background-color: rgba(255, 255, 255, 0.9);
      border-radius: 5px;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
      padding: 10px;
    }
    ul {
      margin-top: 10px;
      list-style-type: upper-roman;
      width: 100%;
      overflow-y: auto;
      background-color: rgba(255, 255, 255, 0.9);
      border-radius: 5px;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }
    li {
      margin: 5px 0;
    }
  }
  &:hover {
    cursor: pointer;
    color: var(--main-bg-color);
    transition: all .5s ease-in-out;
    box-shadow: 0px 2px 10px rgba(0, 171, 189, 80%);
    transform: scale(1.02);
  }
}
div.category-col {
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border: 10px solid white;
}

.adlisting-title {
  margin-bottom: 20px
}

.ad-gallery-main {
  width: 100%;
  margin-bottom: 15px;
}

.ad-gallery-main img {
  width: 100%
}

.adlisting-gallery-thumbs {
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 25px
}

.adlisting-gallery-thumbs ul {
  padding-left: 0;
  margin-left: 0;
  list-style-type: none;
  margin: 0 auto
}

.adlisting-gallery-thumbs ul li {
  display: inline-block;
  width: 105px;
  height: 105px;
  overflow: hidden
}

.adlisting-gallery-thumbs ul li img {
  border: thin solid #FFF;
  width: 100%
}

.adlisting-gallery-thumbs ul li.adlisting-gallery-prev,
.adlisting-gallery-thumbs ul li.adlisting-gallery-next {
  width: 25px;
  line-height: 100px;
  font-size: 19px;
  cursor: pointer
}

.adlisting-gallery-thumbs ul li.adlisting-gallery-prev {
  text-align: left
}

.adlisting-gallery-thumbs ul li.adlisting-gallery-next {
  text-align: right
}

.adlisting-gallery-thumbs ul li.adlisting-gallery-prev:hover,
.adlisting-gallery-thumbs ul li.adlisting-gallery-next:hover {
  opacity: 0.8
}

.adlisting-sharing {
  margin: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adlisting-sharing span {
  margin-top: 19px;
  margin-left: 10px;
  font-weight: bold
}

.ico-adlisting-sharing {
  display: inline-block;
  width: 54px;
  height: 54px;
  background: url("/sandbox/img/icon/adlisting_sharing.png") no-repeat;
  float: left
}

.ico-adlist-save {
  background-position: 0 0
}

.ico-adlist-mail {
  background-position: -54px 0
}

.ico-adlist-fb {
  background-position: -108px 0
}

.ico-adlist-tw {
  background-position: -162px 0
}

.ico-adlist-report {
  background-position: -216px 0
}

.ico-adlisting-sharing:hover {
  opacity: 0.8
}

@media screen and (max-width: 480px) {
  .adlisting-gallery-thumbs ul li {
    width: 50px;
    height: 50px
  }

  .adlisting-gallery-thumbs ul li img {
    width: 100%
  }

  .adlisting-gallery-thumbs ul li.adlisting-gallery-prev,
  .adlisting-gallery-thumbs ul li.adlisting-gallery-next {
    display: none
  }
}

.btn-panel-safety {
  cursor: pointer
}

.ad-thumb {
  cursor: pointer;
  border: 2px solid transparent
}

.ad-thumb.active {
  border-color: #f60
}

.ad-thumb:hover {
  border-color: #f60
}

.theatre-loader {
  width: 100%;
  text-align: center;
  font-size: 23px;
  height: 100%
}

.favourite-ad {
  padding: 4px 15px
}

@media (min-width: 992px) and (max-width: 1197px) {
  .favourite-ad {
    height: 75px
  }
}

.search_page-of-page i {
  font-style: normal
}

.search_pagination-current-page {
  text-decoration: none;
  font-weight: bold
}

.search_pagination-arrow {
  display: inline-block;
  margin: 0 10px
}

.search_pagination-results ul {
  display: inline-block;
  list-style-type: none;
  padding-left: 0
}

.search_pagination-results li {
  display: inline-block;
  margin: 0 3px
}

.search_pagination-first a {
  font-weight: bold;
  color: #f60
}

.search_result-add-to {
  position: absolute;
  right: 15px;
  top: 5px
}

.search_result-add-to a {
  color: #f6891f;
  font-weight: bold;
  font-size: 29px
}

.search-social {
  display: block;
  height: 50px
}

.search_close-filter-more {
  position: absolute;
  bottom: -10px;
  right: 0;
  background-color: #123c19;
  border-radius: 50%;
  display: inline-block;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  color: #FFF;
  cursor: pointer
}

.search_close-filter-more:hover {
  background-color: #457f4c
}

.browse_category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  width: 100%;                 /* uniform width inside grid */
  max-width: 300px;            /* caps tile size */
  height: 200px;               /* taller tiles */

  padding: 20px;
  margin: 20px auto;           /* centers tile in column */

  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;

  text-align: center;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
}

.browse_category-item h4 {
  margin: 0 0 10px;
  font-size: 1.25rem;          /* bigger heading */
  font-weight: 600;
}

.browse_category-item img {
  max-width: 100%;
  max-height: 125px;           /* larger image */
  object-fit: cover;
  border-radius: 8px;
}

.tile-link {
  text-decoration: none;
  color: inherit;
}

.cc-link {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

.tab-pane {
  padding-top: 25px
}

.place-ad_select-section {
  min-height: 200px
}

.place-ad_button-row {
  margin-top: 25px;
  margin-bottom: 45px
}

.place-ad_summary hr {
  margin-top: 5px;
  margin-bottom: 5px;
  border: none;
  border-bottom: thin solid #BCE8F1
}

.datepicker {
  background-color: #FFF;
  padding: 10px
}

#build {
  padding-bottom: 50px
}

.preview-content {
  width: 100%;
  min-height: 200px;
  display: block;
  position: relative
}

.preview-content-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border-color: #CCC;
  padding: 5px 15px 15px 15px
}

#place-ad_choose-section {
  margin-bottom: 25px
}

#schedule ol {
  padding-left: 14px;
  margin-left: 14px
}

.legend-list {
  padding-left: 0px;
  margin-left: 0px;
  list-style-type: none
}

.schedule-legend {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: thin solid #4c4d4f
}

.schedule-legend.legend-print {
  background-color: #457f4c
}

.schedule-legend.legend-online {
  background-color: #f60
}

.schedule-legend.legend-print-only {
  background-color: #a5ab12
}

.datepicker .active.day {
  background-color: #457f4c !important
}

.schedule-error {
  font-size: 14px;
  font-weight: normal;
  display: none
}

#build-capture-images img {
  margin-bottom: 15px
}

@media screen and (max-width: 767px) {
  #date-picker-wrapper {
    text-align: center
  }

  #date-picker-wrapper .datepicker {
    margin: 5px auto 25px auto
  }
}

.card {
  margin-bottom: 25px
}

.card input[type=text],
.card input[type=email],
.card input[type=password],
.card input[type=tel] {
  margin-bottom: 15px
}

.forgot-password {
  margin-top: 15px;
  display: block
}

.radios {
  margin-bottom: 25px
}

.card .form-input-group input {
  margin-bottom: 5px
}

.info-box-wrapper {
  padding: 25px;
  border: thin solid #ccc;
  background-color: #fafafa;
  border-radius: 5px;
  margin-bottom: 25px
}

@media (min-width: 651px) and (max-width: 991px) {
  .info-box-wrapper {
    padding: 5px;
    border: thin solid #ccc;
    background-color: #fafafa;
    border-radius: 5px;
    margin-bottom: 25px
  }
}

.info-box-wrapper h2 {
  margin-top: 5px;
  font-weight: bold
}

.footer {
  height: 300px;
  padding-top: 75px;
  background-color: var(--main-bg-color);
  text-align: center
}

@media screen and (max-width: 480px) {
  .footer {
    height: auto
  }
}

.footer-nav {
  list-style-type: none;
  margin: 25px auto;
  padding-left: 0
}

.footer-nav li {
  display: inline-block;
  color: #FFF;
  font-size: 16px
}

.footer-nav li a {
  text-decoration: none;
  color: #FFF;
  font-size: 16px
}

.footer-nav li.active a {
  font-weight: bold
}

.footer-nav li:hover a {
  color: #e0e0e0
}

hr {
  border-top: 1px solid #457f4c
}

.width-full {
  width: 100% !important
}

.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%
}

.shadow_down {
  background-image: url("/sandbox/img/backgrounds/global/shadow_down.png")
}

.shadow_up {
  height: 26px;
  background-image: url("/sandbox/img/backgrounds/global/shadow_up.png")
}

.inline {
  display: inline-block
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.panel-my-account,
.panel-all-categories,
.panel-safety-tips,
.panel-search-filter {
  width: 280px;
  height: 100%;
  position: fixed;
  right: -300px;
  background: url("/sandbox/img/backgrounds/global/nav2.png") repeat;
  z-index: 5;
  top: 80px;
  overflow-y: scroll;
  box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.4);
  padding-bottom: 65px
}

.account-panel-wrapper,
.panel-safety-wrapper,
.filter-panel-wrapper {
  padding: 0 15px
}

.account-panel-wrapper h4,
.panel-all-categories-wrapper h4,
.panel-all-categories-wrapper a,
.panel-safety-wrapper h4,
.filter-panel-wrapper h4 {
  color: #FFF
}

.account-panel-wrapper section,
.filter-panel-wrapper section {
  margin-bottom: 25px
}

.category-list ul,
.category-list li {
  position: relative
}

.category-list h4 {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 0
}

.panel-category-header {
  margin-left: 15px
}

.panel-all-categories-wrapper li.open h4 {
  background-color: #123c19;
  margin-bottom: 10px
}

.panel-all-categories-wrapper h4 i {
  font-size: 14px
}

.category-list {
  list-style-type: none;
  padding-left: 0px
}

.category-list li {
  border-bottom: thin solid #a5ab12
}

.category-list li h4 {
  margin-top: 0;
  margin-bottom: 0
}

.category-sub-list {
  padding-left: 30px;
  list-style-type: none;
  display: none
}

.category-sub-list li {
  border-bottom: none;
  padding-bottom: 15px
}

.close-category-panel,
.close-account-panel,
.close-filter-panel {
  margin-right: 15px;
  margin-top: -5px
}

.panel-all-categories-wrapper li.open .category-sub-list {
  display: block
}

#account-profile {
  color: #FFF
}

#account-profile img {
  border: solid thin #fff
}

.panel-safety-wrapper header,
.panel-search-filter header {
  font-weight: bold;
  color: #FFF
}

.panel-search-filter header {
  margin-bottom: 5px
}

.panel-safety-wrapper ul {
  color: #FFF;
  padding-left: 20px
}

.panel-safety-wrapper ul li {
  color: #FFF
}

.panel-safety-wrapper footer b {
  color: #FFF;
  font-weight: bold
}

@media screen and (max-width: 480px) {

  .panel-my-account,
  .panel-all-categories,
  .panel-safety-tips,
  .panel-search-filter {
    width: 100%;
    right: -480px;
    padding-bottom: 65px
  }
}

@media (max-width: 767px) {

  .panel-my-account,
  .panel-all-categories,
  .panel-safety-tips,
  .panel-search-filter {
    top: 50px;
    padding-bottom: 65px
  }
}

.caret-scroll-to-top {
  position: fixed;
  right: 0;
  bottom: -52px;
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #13601f;
  text-align: center;
  line-height: 50px;
  color: #FFF;
  z-index: 5
}

@media screen and (max-width: 480px) {
  .search-header {
    height: 200px !important
  }
}

.glyphicon-refresh-animate {
  -webkit-animation-name: rotateThis;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes "rotateThis"

  {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

.bf-recently-viewed,
.bf-safety-tips {
  line-height: 30px;
  font-size: 25px;
  color: #fff;
  margin: 2px;
  padding: 5px;
  border-radius: 5px 5px 0px 0px;
  background-color: var(--main-bg-color);
}

.bf-info {
  background-color: gray;
  color: #fff;
}

.bf-ad-listing {
  font-size: 16px;
  line-height: 20px;
}

.bf-ad-listing-details {
  font-size: 20px;
  margin: 1px;
  padding: 20px;
  background-color: #fff;
}

.bf-account-link a {
  color: blue;
}

.bf-account-link a:hover {
  color: red;
}

.bf-btn-default {
  background-color: azure;
  padding-left: 45px;
  padding-right: 45px;
}

.bf-click-here {
  margin-top: 10px;
  cursor: pointer;
  background-color: var(--main-bg-color);
  color: ivory;
  text-align: center;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 36px;
  margin-left: 20px;
  width: 90%;
  text-align: center;
}

.bf-click-here a {
  color: ivory;
  text-shadow: 4px 4px 4px rgb(0 0 0 /70%);
  font-size: 30px;
  background-color: var(--main-bg-color);
}


.bf-click-here a:hover {
  text-decoration: none;
  background-color: #B8D7F2;
}

#place_ad-confirm {
  margin: 15px -5px -5px -5px;
  padding: 0px;
}

.bf-no-listings {
  white-space: normal;
  display: inline-block;
  font-size: 40px;
  text-align: left;
  padding: 10px;
  color: var(--secondary-color);
  margin-bottom: 50px;
}

.bf-hamburger-nav {
  background-color: #105818;
  z-index: 10000;
}

#post-listing-image {
  background-color: var(--main-bg-color);
  padding: 0px;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#place-ad-button {
  background-color: var(--main-bg-color);
  padding: 0px;
  border-radius: 10px 10px 10px 10px;
  padding-right: 10px;
  padding-left: 10px;
  margin-top: 5px;
}

#posting-listing {
  background-color: var(--main-bg-color);
  padding: 0px;
}

.search-result-featured {
  background-color: #EAF7FA !important;
}

#customer-support-img {
  background-color: gray;
}

.fade-out {
  opacity: .2 !important;
}

.mark {
  background-color: yellow;
}

#login-notice {
  color: black;
}

.category-boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.report_data {
  background-color: #ffffff;
  color: #721c24;
  font-weight: bold;
  padding: 10px;
  margin-bottom: 5px;

  img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
  }
}

.report-title {
  /* th elements */
  font-weight: bold;
  color: #721c24;
  padding: 10px;
}

.report_heading {
  background-color: #ffffff;
  border-bottom: 2px solid #721c24;
  text-align: left;
}

.place-ad-header {
  font-size: 32px;
  font-weight: bold;
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 25px;
  color: black;
  text-align: center;
}

/* Base tab container */
.nav-tabs {
  border-bottom: none;
  display: flex;
  gap: 10px;
  padding: 6px;
  justify-content: center;
  @media screen and (max-width: 480px) {
    flex-direction: column;
    align-items: center;
  }
}

/* Individual tab */
.nav-tabs > li {
  margin: 0;
}

/* Tab links */
.nav-tabs > li > .tab-nav-link {
  display: block;
  padding: 10px 18px;
  padding: 10px 24px;
  font-weight: bold;
  font-size: 24px;
  color: #000;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

/* Active tab */
.nav-tabs > li.active > .tab-nav-link,
.nav-tabs > li.active > .tab-nav-link:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transform: none;
}

/* Search card container (sits on image) */
.searchbox-container {
  background: rgba(255,255,255,0.80);
  padding: 22px 20px 20px;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Header inside the card */
.searchbox-container .search-ads-title {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
  text-align: center;
  font-family: var(--silva-display);
}

/* Align form nicely under header */
.searchbox-container .row {
  display: flex;
  align-items: center;
}

/* Inputs & select */
.searchbox-container .form-control {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

/* Focus state */
.searchbox-container .form-control:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.18);
  outline: none;
}

/* Placeholder */
.searchbox-container .form-control::placeholder {
  color: #777;
}

/* Search button */
.searchbox-container .btn {
  height: 46px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

/* Button hover */
.searchbox-container .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

/* Button active */
.searchbox-container .btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(0,0,0,0.25);
}

/* ===== NAVBAR SHELL (visual only) ===== */
.navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  margin-bottom: 0;
  .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* ===== HAMBURGER ICON ===== */
.navbar .fa-bars.menu {
  color: #000;
  transition: background 0.2s ease, transform 0.2s ease;
  border-radius: 8px;
  padding: 6px 10px;
}

.navbar .fa-bars.menu:hover {
  background: rgba(0,0,0,0.06);
  transform: scale(1.05);
}

/* ===== POPUP MENU ONLY ===== */
#popup-menu {
  background-color: #fff !important;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  z-index: 10000;
}

@media (max-width: 767px) {
  #popup-menu {
    position: fixed;
    top: 60px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
  }
}


/* Popup menu links (no layout changes) */
#popup-menu a {
  color: #000 !important;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

#popup-menu a:hover {
  background: rgba(0,0,0,0.06);
}

/* Popup divider */
#popup-menu hr {
  border-top: 1px solid rgba(0,0,0,0.12);
}

/* Mobile nav container */
.bf-hamburger-nav {
  margin: 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

/* Individual items */
.bf-hamburger-nav > li {
  border-bottom: 1px solid #eaeaea;
}

/* Links */
.bf-hamburger-nav > li > a {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #222;
  background: transparent;
}

/* Hover / focus */
.bf-hamburger-nav > li > a:hover,
.bf-hamburger-nav > li > a:focus {
  background-color: #f6f8f6;
  color: #1b5e20; /* brand green */
  text-decoration: none;
}

/* Active page */
.bf-hamburger-nav > li.active > a {
  background-color: #e8f3ea;
  color: #1b5e20;
}

/* Account item emphasis */
.bf-hamburger-nav .nav-my-account {
  font-weight: 700;
}

/* Remove Bootstrap caret spacing */
.navbar-nav > li > a {
  line-height: 1.4;
}

/* Slight elevation on open (optional) */
@media (max-width: 767px) {
  .navbar-collapse {
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
  }
}

/* Container */
#post-listing-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Brand overlay */
#post-listing-brand {
  position: absolute;
  top: 24%;
  left: 60%;
  transform: translate(-50%, -50%);
  height: 25px;
  pointer-events: none;
}

/* Anchor positioning context */
.col-md-4 > a {
  position: relative;
  display: inline-block;
}

/* Hover affordance */
.col-md-4 > a:hover #post-listing-image {
  opacity: 0.92;
}

/* Optional subtle focus ring */
.col-md-4 > a:focus {
  outline: none;
}

.col-md-4 > a:focus #post-listing-image {
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.25);
}

/* More separation between featured blocks */
.featured-ad-row {
  margin: 0 0 32px;
}

/* Featured card */
.featured-ad {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px 22px 22px;
  transition: box-shadow .15s ease;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  border-left: 4px solid lightgrey;
  border-right: 4px solid lightgrey;
}

/* Subtle hover affordance */
.featured-ad:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  background-color: #f9f9f9;
}

/* Category label */
.featured-ad strong {
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 10px;
  font-family: var(--silva-display);
  background-color: #f0f0f0;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Text container reset */
.featured-ad-txt {
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Main content */
.featured-ad-row .cat-col-txt {
  border: none !important;
  background: #fff;
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.55;
  color: #000;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-family: var(--silva-regular);
}

/* Link normalization */
.featured-ad-row a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Strip Bootstrap alert styling */
.bf-listing-details.alert {
  background: #fff;
  border: none;
  padding: 0;
  margin-top: 32px;
}

/* Section heading */
.bf-listing-details h2 {
  margin: 0 0 24px;
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: bolder;
  color: #000;
  border-bottom: 1px solid #ddd;
  font-family: var(--silva-display);
}

/* Sort control container */
.bf-listing-details .pull-right {
  top: 0 !important;
  right: 0 !important;
}

/* Sort dropdown */
.bf-listing-details select.form-control {
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: none;
  color: #000;
  margin-bottom: 0;
}

/* Search result wrapper spacing */
.search-result-item {
  margin-bottom: 32px;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

/* Main listing card */
.search-result-item section {
  background: #fff;
  padding: 22px 24px;
  border: 1px solid #e0e0e0;
  transition: box-shadow .15s ease;
}

/* Listing text block */
.cat-col-txt {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  font-size: 16px !important;
  line-height: 1.55;
  color: #000;
}

/* Location line */
.cat-col-txt h5 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

/* Keywords / marks */
.cat-col-txt .mark {
  background: none;
  padding: 0;
  margin-right: 6px;
  font-weight: 600;
  color: #000;
}

/* Social / actions */
.search-social {
  margin-top: 14px;
  opacity: .7;
  display: flex;
  gap: 18px;
}

.search-social i:hover {
  opacity: 1;
}

/* Listing meta (right side) */
.search-result-item .hidden-xs,
.search-result-item .visible-xs-block {
  font-size: 13px;
  color: #555;
}

/* Favorite icon */
.search_result-add-to {
  position: absolute;
  top: 18px;
  right: 18px;
}

.search_result-add-to i {
  color: #000 !important;
  opacity: .5;
}

.search_result-add-to i:hover {
  opacity: .85;
}

/* Make the listing card the positioning context */
.search-result-item {
  position: relative;
}

/* Bottom-right metadata overlay */
.date-listing {
  position: absolute;
  right: 15px;
  bottom: 10px;
  text-align: right;
  line-height: normal;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* Keep mobile behavior stacked normally */
@media (max-width: 767px) {
  .date-listing {
    position: static;
    background: none;
    padding: 0;
    margin-top: 10px;
    text-align: right;
  }
}

.label-pin {
  position: relative;
  display: inline-block;
  width: 28px;      /* overall pin size */
  height: 28px;
  margin-right: 8px;
}

.label-pin-img {
  width: 100%;
  height: auto;
  display: block;
}

.label-pin-txt {
  position: absolute;
  top: 50%;         /* adjust to sit in the center of the pin head */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: bold;
  color: #fff;      /* change based on pin color */
  pointer-events: none;
}

/* Email panel container */
.email-ad-panel {
  background: #fff;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Section divider */
.email-ad-panel hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

/* Heading */
.email-ad-panel h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--silva-display);
}

/* Inputs */
.email-ad-panel .form-control {
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  box-shadow: none;
  margin-bottom: 15px;
  transition: all 0.2s ease;
}

/* Focus state */
.email-ad-panel .form-control:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Textarea */
.email-ad-panel textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

/* Send button */
.email-ad-panel .btn {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 0;
  padding: 10px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

/* Hover state */
.email-ad-panel .btn:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

/* Center button */
.email-ad-panel .btn.center-block {
  display: block;
  margin: 20px auto 0;
}

.featured-listing-tag {
  display: inline-block;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 12px;
}

/* Icons inside the tag */
.featured-listing-tag i {
  margin: 0 6px;
  font-size: 12px;
}

/* Optional: outlined version if used on dark backgrounds */
.featured-listing-tag.outline {
  background: #fff;
  color: #000;
}

.ad-detail.bf-ad-listing {
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: none;
  border-radius: 8px;
}

.ad-detail b {
  font-weight: 700;
  letter-spacing: 0.5px;
}

#adlisting-category,
#adlisting-source,
#adlisting-listed {
  font-weight: 400;
  text-transform: none;
}

.bf-ad-listing-details {
  background: #fff;
  border: 2px solid #000;
  padding: 25px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  min-height: 250px;
}

/* Remove bootstrap alert styling */
.bf-ad-listing-details.alert-info {
  background: #fff;
  color: #000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: none;
  border-radius: 8px;
}

.ad-detail .btn-warning {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-detail .btn-warning:hover {
  background: #fff;
  color: #000;
}

.bf-listing-heading {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
  font-family: var(--silva-display);
  text-align: center;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

/* ==============================
   ACCOUNT PANEL – CLASSIFIED STYLE
   ============================== */

.panel-my-account {
  background: #fff;
  width: 320px;
  height: 100%;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.panel-my-account.active {
  transform: translateX(0);
}

.account-panel-wrapper {
  padding: 20px 25px 30px;
}

/* Header */
.panel-my-account h4 {
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: var(--silva-display);
}

/* Close button */
.close-account-panel {
  background: #fff;
  border: 2px solid #000;
  padding: 2px 8px;
}

.close-account-panel:hover {
  background: #000;
  color: #fff;
}

/* Profile section */
#account-profile img {
  border: 2px solid #000;
  padding: 2px;
}

#account-profile span {
  font-weight: 600;
  display: inline-block;
  margin-left: 8px;
}

/* Form inputs */
.panel-my-account .form-control {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
  color: #000;
  padding: 8px 10px;
}

/* Buttons */
.panel-my-account .btn-warning,
.panel-my-account .button {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 14px;
  width: 100%;
  font-family: var(--silva-regular);
}

.panel-my-account .btn-warning:hover,
.panel-my-account .button:hover {
  background: #fff;
  color: #000;
  font-family: var(--silva-regular);
}

/* Section dividers */
.panel-my-account hr {
  border: none;
  border-top: 1px solid #000;
  margin: 20px 0;
}

/* Checkbox text fix */
.panel-my-account label.checkbox-inline {
  color: #000 !important;
  font-weight: 400;
}

/* ==============================
   PLACE AD – RATE PACKAGE STYLING
   ============================== */

/* Wrapper spacing */
#local_rate_packages {
  margin-top: 25px;
}

/* Publication selector */
.place-ad_select-pub {
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Package card buttons */
.place_ad-pack .bf-btn-default {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 18px 20px;
  margin-bottom: 25px;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover */
.place_ad-pack .bf-btn-default:hover {
  background: #000;
  color: #fff;
}

/* Selected (radio checked) */
.place_ad-pack-rad:checked + label,
.place_ad-pack .bf-btn-default.active {
  background: #000;
  color: #fff;
}

/* Package title */
.place_ad-pack-label {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}

/* Price */
.place_ad-pack-label small {
  font-weight: 400;
  font-size: 13px;
  opacity: 0.8;
}

/* Description */
.place_ad-pack-desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  border-top: 1px solid #000;
  padding-top: 12px;
}

/* Refund warning */
.place_ad-pack-desc p {
  color: #000;
  font-weight: 700;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Custom package divider */
#custom-package-choice-div h3 {
  font-weight: 700;
  letter-spacing: 1px;
  margin: 30px 0;
}

/* Custom package button */
#custom-package-button {
  background: #fff;
  border: 2px dashed #000;
  padding: 25px;
  text-align: center;
}

#custom-package-button:hover {
  background: #000;
  color: #fff;
}

/* Custom package build area */
#custom-package-div label {
  font-weight: 700;
  letter-spacing: 0.5px;
}

#custom-package-div .alert-warning {
  background: #fff;
  border: 2px solid #000;
  color: #000;
  border-radius: 0;
}

/* Checkboxes */
#custom-package-div input[type="checkbox"] {
  margin-right: 6px;
}

/* Remove Bootstrap glow */
.place_ad-pack .btn:focus,
.place_ad-pack .btn:active {
  outline: none;
  box-shadow: none;
}

/* ==============================
   AD BUILDER SECTION
   ============================== */

/* Section headings */
#build-header h4,
#style-header h4 {
  font-weight: 700;
  letter-spacing: 1px;
  margin: 20px 0 10px;
}

/* Style selection intro box */
#select-style-template-div {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px;
}

/* ==============================
   TEMPLATE CARDS
   ============================== */

.template-button {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover effect */
.template-button:hover {
  background: #000;
  color: #fff;
}

/* Selected template */
.place_ad-build-rad:checked + .template-button,
.template-button.active {
  background: #000;
  color: #fff;
}

/* Template header strip */
.template-button label {
  background: #000 !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 10px;
}

/* Template preview images */
.template-button img {
  padding: 2px;
  background: #fff;
}

/* ==============================
   FORM AREAS
   ============================== */

/* Print details panel */
.place_ad-print-details .alert,
.place_ad-online-details .alert {
  background: #fff !important;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #000;
}

/* Form headings */
.place_ad-print-details h2,
.place_ad-online-details h2 {
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Inputs */
.place_ad-print-details .form-control,
.place_ad-online-details .form-control {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ==============================
   PREVIEW PANELS
   ============================== */

.ad-preview .alert,
.full-summary-preview {
  background: #fff !important;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #000;
}

/* Preview headings */
.ad-preview h4,
.full-summary-preview h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Price emphasis */
.place_ad-running-total {
  font-weight: 700;
}

.payment-screen-header {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  font-family: var(--silva-display);
  text-shadow: 4px 4px 4px rgb(0 0 0 /70%);
}

/* ===============================
   ORDER COMPLETE STYLING
   =============================== */

#OrderCompleteDiv {
  background: #fff;
  border: 1px solid #e6ece7;
  border-radius: 10px;
  padding: 30px 25px;
  max-width: 650px;
  margin: 40px auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
}

/* Success heading */
#OrderCompleteDiv h2 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Success icon */
#OrderCompleteDiv .success-icon {
  margin: 15px 0 20px;
}

#OrderCompleteDiv .success-icon i {
  font-size: 70px;
  color: #28a745; /* success green */
}

/* Paragraph spacing */
#OrderCompleteDiv p {
  margin: 10px 0;
  font-size: 15px;
  color: #444;
}

/* Links */
#OrderCompleteDiv a {
  color: #28a745;
  font-weight: 500;
  text-decoration: none;
}

#OrderCompleteDiv a:hover {
  text-decoration: underline;
}

/* Return button */
#OrderCompleteDiv .btn {
  margin-top: 20px;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid #ccc;
  background: #f8f9fa;
}

#OrderCompleteDiv .btn:hover {
  background: #e9ecef;
}

/* Mobile spacing */
@media (max-width: 768px) {
  #OrderCompleteDiv {
    margin: 20px 15px;
    padding: 25px 18px;
  }
}
