:root {
  --star-size: 16px;
  --star-color: rgba(0, 0, 0, .08);
  --star-background: #FFAB2E;
  --primary_color: #001E1D;
  --primary_color_hover: rgba(0, 0, 0, 0.7);
  --box_shadow: 0 1px 5px 0 rgba(0,0,0,.21)!important;
  --secondary_color: #fff;
  --background_color: #c5c5c5;
  --base_color :rgb(247 196 109);
}

.star-rating {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 1.8rem;
}

.star-rating::before {
  content: "\f111\f111\f111\f111\f111";
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border-color: #FFAB2E;
}
.media-content .media-icon {
  position: absolute;
  width: 35px;
  height: 35px;
  padding-top: 7px;
  font-size: 1.1rem;
  text-align: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  right: 1em;
  top: 1em;
  cursor: pointer;
}


.d-flex.filter_category {
  margin-bottom: 1.5rem;
}
.d-flex.filter_category .filter_category__item {
  padding:.25rem 2rem;
  border: 1px solid gainsboro;
  margin-right: 1rem;
  text-align: center;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.d-flex.filter_category .filter_category__item.active {
  border: 1px solid var(--primary_color_hover);
  background: var(--primary_color_hover);
  color: var(--secondary_color) !important;
}
.d-flex.filter_category .filter_category__item.active a {
  color: var(--secondary_color) !important;
}


.custom-control .custom-control-label {
  color: gray;
}

.visual-picker.visual-picker-xs {
  margin-bottom: 0;
}

.visual-picker-xs .visual-picker-figure {
  width: 3rem;
  height: 2rem;
}

.visual-picker-xs .visual-picker-figure:after {
  content: "";
}

.visual-picker:focus .visual-picker-figure,
.visual-picker:hover .visual-picker-figure {
  outline-color: var(--base_color);
  box-shadow: inset 0 0 0 2px var(--base_color), 0 0 0 1px rgba(20, 20, 31, .05), 0 1px 3px 0 rgba(20, 20, 31, .15)
}

.visual-picker input[type=checkbox]:checked~.visual-picker-figure,
.visual-picker input[type=radio]:checked~.visual-picker-figure {
  background-color: var(--base_color);
  color: #fff;
  outline-color: var(--base_color);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.01), 0 0 0 1px rgba(20, 20, 31, .05), 0 1px 3px 0 rgba(20, 20, 31, .15)
}



/* Image grid */
#gallery-display .image-grid {
  --gap: 0px;
  --num-cols: 4;
  --row-height: 250px;

  box-sizing: border-box;
  padding: var(--gap);

  display: grid;
  grid-template-columns: repeat(var(--num-cols), 1fr);
  grid-auto-rows: var(--row-height);
  gap: var(--gap);

}
#gallery-display .attraction__data {
  position: relative;
}

#gallery-display .attraction__data .carousel-caption {
  right: unset;
  left: 0;
  text-align: left;
  bottom: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 85.74%);
  width: 100%;
  padding-left: 1rem;
}
#gallery-display .image-grid a {
  overflow: hidden;
}
#gallery-display .image-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
  border: 5px solid transparent;
  outline: 1px solid white;
  outline-offset: -4px;
}
#gallery-display .image-grid a img:hover, #gallery-display .image-grid  a:hover img {
  width: 100%;
  height: 100%;
  -webkit-transform: scale(1.1);
	transform: scale(1.1);
}
#gallery-display .image-grid a:hover .carousel-caption{
  opacity: 1;
  -webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

#gallery-display .attraction__data.image-grid-col-2 {
  grid-column: span 2;
}

#gallery-display .attraction__data.image-grid-row-2 {
  grid-row: span 2;
}
/* End image screen */
