/*
Theme Name: Hello Elementor Child
Author: RV
Description: This is a child theme of Hello Elementor.
Version: 1.0
Template: hello-elementor
*/

.category-container {
    display: flex;
}

.category-sidebar {
    width: 25%;
    padding: 20px;
    background: #f9f9f9;
}

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

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.category-content {
    width: 100%;
    padding: 20px;
}

#load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

#load-more:hover {
    background: #005177;
}
.stone-post, article.stones {
    position: relative;
    display: inline-block;
}
.stone-image img {
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}
.stone-image .hover-image{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.stone-image:hover .default-image {
    opacity: 0;
}
.stone-image:hover .hover-image {
    opacity: 1;
}

/* Find location page */
.container{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;        
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.pin-content {
    background: #128a54;
    color: #fff;
    max-height: 763px;
    overflow: auto;
}
.col-6.pin-content {
    padding: 30px;
}
.col-6{
    width: 100%;
    max-width: 40%;
}
.col-6.imagepin-outer {
    max-width: 60%;
    position: relative;
    //overflow: auto;
    background: #b3eaed;
}
.content-show-hide{
    display: none;
}
.content-show-hide.show{
    display: block;
}
.content-show-hide h2 {
    border-bottom: 2px solid;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 30px;
}
.imagepin {
  position: relative;
  //overflow: hidden;
  border-radius: 10px;
}
.imagepin .pins {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.imagepin img {
  display: block;
  margin: 0;
  width: 100%;
  height: auto;
}
.imagepin .pin {
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  z-index: 9;
  border-radius: 100%;
  position: absolute;
  opacity: 1;
  background: rgba(18, 138, 84, 0.2);
  -webkit-backdrop-filter: blur(1px);
          backdrop-filter: blur(1px);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid transparent;
  text-decoratio: none;
}
.imagepin .pin span {
  position: absolute;
  top: -20px;
  font-size: clamp(12px, 2vw, 13px);
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
  text-align: center;
  background: rgba(18, 138, 84, 0.5);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 10;
  line-height: 1;
  opacity: 0;
  transition: 0.2s all ease-in-out;
}
.imagepin .pin:hover {
  border-color: #128a54;
}
.imagepin .pin:hover:after {
  width: 8px;
  height: 8px;
}
.imagepin .pin:hover span {
  opacity: 1;
  top: -28px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.imagepin .pin:after {
  content: "";
  width: 14px;
  height: 14px;
  transition: 0.2s all ease-in-out;
  background: #128a54;
  position: relative;
  display: block;
  border-radius: 100%;
}
.imagepin .pin:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
}

.imagepin .pin.active{
    border-color: #F44336;
}
.imagepin .pin.active:after{
    background: #F44336;
}
.pin-content .wpcf7-form .wpcf7-form-control {
    padding: 4px 15px;
    height: 40px;
}
.location_cf7_form p {
    margin-bottom: 10px;
}
.pin-content .wpcf7-form textarea.wpcf7-form-control {
    height: 100px;
}

@media(max-width: 1024px){
    .col-6.imagepin-outer, .col-6 {
        max-width: 100%;
    }
    .col-6.imagepin-outer {
        height: 500px;
    }
    .imagepin {
        width: 200%;
    }
	.imagepin {
	  overflow: hidden;

	}
	.col-6.imagepin-outer {
		overflow: auto;
	}
}
.branch-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.branch-modal__backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}
.branch-modal__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1;
}
.branch-modal__img {
  width: 100%;
  height: auto;
}
.branch-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.branch-modal.show {
  display: flex;
}
/* make the “Se billede” link always visible and white */
.pin-content .see-photo {
  color: #fff !important;          /* force white text */
  text-decoration: underline;      /* optional: underline to indicate link */
  margin-left: 8px;                /* give a little breathing room after the address */
  opacity: 1 !important;           /* override any opacity:0 you might be inheriting */
  font-weight: 500;                /* optional: make it stand out a bit */
  transition: color 0.2s ease;     /* optional: smooth hover effect */
}

/* 1) Change “Se billede” link on hover to a contrasting color */
.pin-content .see-photo:hover {
  color: #b3eaed !important;    /* ← pick any color you like here */
  text-decoration: underline;    /* optional, to reinforce that it’s a link */
}

/* Keep close btn green on hover, with white “×” */
.branch-modal__close:hover {
  background-color: #128a54 !important;  /* your theme-green background */
  color: #fff !important;                /* white “×” on hover */
}

/* (Optional) Make it a circle with padding so the bg shows nicely) */
.branch-modal__close {
  background-color: transparent;
  color: #128a54;
  border: none;
  padding: 0.5rem;           /* adjust size as you like */
  border-radius: 50%;        /* perfect circle */
  transition: background 0.2s, color 0.2s;
}
/* force your two filters back up to a sensible width */
.filer_options select#stone-type,
.filer_options select#stone-category {
  min-width: 300px !important;  /* whatever “big” was before */
  max-width: 100% !important;
  width: auto !important;
}

/* 1) Kill the extra right‐margin on the last wrapper so no stray gap shows */
.filer_options .filter-wrapper:last-child {
  margin-right: 0 !important;
}

/* 2) Center everything perfectly */
.filer_options {
  display: flex !important;
  justify-content: center;
  align-items: center;
  /* remove any extra padding/margin from Elementor */
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-testimonial-carousel .elementor-swiper-button-prev,
.elementor-widget-testimonial-carousel .elementor-swiper-button-next {
  left: -40px !important; /* adjust this value to taste */
}

