/*
Theme Name: Classified Ads Listings Child
Template: blockstrap
Version: 1.0.0
Text Domain: classified-ads-listings-child
*/

/*
wrap styles for tag and fylke
*/
.tag-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-item {
  flex: 1 1 150px !important;
  max-width: 150px !important;
}

.flex-item:hover {
  cursor: pointer;
  background-color: #ececec;
}

.flex-item p {
  margin: 0;
}

.fylke-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/*
styles for reviews
*/

.clearfix.gd-rate-cat-in .gd-rating-outer-wrap.gd-rating-output-wrap {
  display: flex;
  flex-direction: row-reverse !important;
}

div.comment-content .geodir-images.row.row-cols-1 > * {
  flex: 0 0 auto;
  width: 50%;
}

.comment-form-cookies-consent {
  display: none !important;
}

#reply-title,
#reviews {
  margin-top: 3rem !important;
  color: var(--bs-body-color);
}

#reply-title .gd-comment-review-title {
  font-size: 1.125rem;
}

.gd-rating-label {
  font-weight: 500 !important;
}

.geodir-single-reviews-container > h2 {
  font-weight: 700;
}

.description p {
  font-size: 16px;
}

.form-submit.mb-3 {
  width: 50%;
}

.chip.timeago,
.text-end .comment-links {
  display: none !important;
}

.wp-block-blockstrap-blockstrap-widget-container.mt-6.pt-6.col-12.bg-custom-light-green.container-fluid,
.wp-block-blockstrap-blockstrap-widget-container.mb-3.pe-0.ps-0.bg-image-fixed {
  width: 100% !important;
}

#main.wp-block-blockstrap-blockstrap-widget-container {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.gd-tab-list-title {
  margin-top: 24px !important;
}

/*
buy me a coffee
*/
.bmc-btn-container {
  padding-left: 16px;
}

/*
tag / utvalg hack styles
*/
#post_tags .geodir-post-meta-container {
  font-size: 0;
}

#post_tags .geodir-post-meta-container > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#post_tags .geodir-post-meta-container a,
#post_tags .geodir-post-meta-container i {
  font-size: 16px;
  /* Restores font size for links and icons */
}

.geodir-field-post_tags a {
  padding: 0.45rem 1.2rem;
  border-radius: 0.5rem;
  text-transform: lowercase;
  background-color: #f1eabb;
}

.geodir-field-post_tags a {
  color: #59484e;
  font-size: 1rem;
  font-weight: 500;
}

#post_content > div.geodir-post-meta-container > p:nth-child(2) > strong {
  font-size: 1.125rem;
  color: #59484e;
}

/*
spacing archive
*/

.gd-sa-map,
.gd-sa-buttons,
.geodir-loop-container .geodir-post {
  padding: 0 !important;
}

a[href$='#post_content']:hover,
a[href$='#post_images']:hover,
a[href$='#post_tags']:hover,
a[href$='#post_map']:hover {
  text-decoration: none;
  cursor: default;
}

@media (min-width: 970px) {
  .tag-wrap {
    width: 80%;
  }

  .gd_ratings_module_box {
    float: left;
    width: 180px;
    margin-right: 40px;
  }

  div.comment-content.comment.card-body.m-0
    > div.border-bottom.pb-2.mb-2.mt-n2 {
    border-bottom-width: 0 !important;
  }

  div.comment-content .geodir-images.row.row-cols-1 > * {
    flex: 0 0 auto;
    width: 25%;
  }

  #reviews {
    width: 75%;
    margin-top: 4rem !important;
  }

  .comment-content .border-bottom {
    border-bottom: 0 !important;
  }

  .form-submit.mb-3 {
    width: 25%;
  }

  .geodir_post_meta.clear-both.text-.geodir-field-post_content {
    max-width: 800px;
  }

  #main.wp-block-blockstrap-blockstrap-widget-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .geodir-loop-container .geodir-post {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }

  .search-archive {
    width: 50%;
    margin: 0 auto;
  }
}

.underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/*
map directions
*/

.geodir-map-directions-wrap {
  display: none;
}

/*
tips oss
*/

#geodir_fieldset_details h3,
#geodir-add-listing-submit .col-form-label {
  display: none !important;
}

#info h2 {
  display: none !important;
}

#info .geodir-field-info {
  cursor: default;
  background-color: #8cbfb329;
  border-left: 0.25em solid;
  margin: 0 0 1.75em;
  padding: 0.5rem !important;
}

a[href$='#info']:hover {
  cursor: default;
  text-decoration: none;
}
