.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.related_salon_listings .related_stylist {
  box-shadow: 0 0 0 1px #e3e3e3;
  border-radius: 5px;
  padding: 20px;
  position: relative;
  margin-bottom: 20px;
}

.related_salon_listings .related_stylist:hover {
  background-color: rgb(243 243 243);
}

.related_salon_listings .related_stylist h4 {
  font-family: Poppins, GlacialIndifference, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.related_salon_listings .related_stylist p {
  font-family: "Playfair Display", GlacialIndifference, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(126, 126, 137);
  margin-bottom: 0px;
}

.related_salon_listings .image-circle {
  width: 70px;
  height: 70px;
  position: absolute;
  overflow: hidden;
  border-radius: 50%;
  top: 20px;
  right: 30px;
}

.related_salon_listings .related_stylist img {
  display: inline;
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-form-modal {
  background: white;
}

#job-manager-job-dashboard .listing-thumbnails {
  margin-top: 0px;
  display: block;
}

#job-manager-job-dashboard img.review_thumbnail {
  max-width: 70px;
  max-height: 70px;
  margin: 5px;
}

table.lookbooks-list {
  margin-top: 20px;
  display: -webkit-box;
  display: flex;
}

table.lookbooks-list tbody {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

table.lookbooks-list tr {
  width: calc(33.3% - 16px);
  margin-left: 8px;
  margin-right: 8px;
  background: #fff;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid #ebebeb;
  border-radius: 5px;
  vertical-align: top;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}
table.lookbooks-list tr:hover {
  background: #000;
}

table.lookbooks-list td {
  display: inline;
  text-align: center;
}

table.lookbooks-list td.job_title {
  padding: 0!important;
  display: block;
}

table.lookbooks-list td.job_title, table.lookbooks-list td.job_title>a, .bookmark-title>h5 a {
  font-size: 18px;
  font-weight: 600;
  position: absolute;
  bottom: 0px;
  font-family: "Playfair Display", GlacialIndifference, sans-serif;
  color: #fff;
  width: 360px;
  text-align: left;
}

table.lookbooks-list td.listing_icon {
  font-size: 26px;
  font-weight: 600;
  position: absolute;
  top: 0px;
  left: 0px;
  font-family: "Playfair Display", GlacialIndifference, sans-serif;
  color: #fff;
  width: 360px;
  text-align: left;
  margin: 10px;
}

table.lookbooks-list td.c27_listing_logo {
  padding: 0;
  margin-bottom: 15px;
  display: block;
  padding-right: 0!important;
}

.media-frame-title h1, h2.media-frame-menu-heading, h2.media-attachments-filter-heading {
 color: #242429!important;
 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;
 font-weight: 600!important;
}

.media-frame-title h1 {
  font-size: 22px!important;
}

h2.media-frame-menu-heading, h2.media-attachments-filter-heading {
  font-size: 13px!important;
}

h2.upload-instructions.drop-instructions {
  color: #242429!important;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;
}

table.lookbooks-items-list tr, table.lookbooks-categories-list tr {
  padding: 0px;
  display: grid;
  align-items: center;
  position: relative;
  background: black;
  min-height: 200px;
}

table.lookbooks-items-list td.c27_listing_logo, table.lookbooks-categories-list td.c27_listing_logo {
  margin: 0px;
}

.lookbooks-items-list .c27_listing_logo img, .lookbooks-categories-list .c27_listing_logo img {
  width: 100%;
  height: 200px;
  border-radius: 0px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  transition: all 0.1s ease-in-out;
}
.lookbooks-items-list tr:hover .c27_listing_logo img, .lookbooks-categories-list tr:hover .c27_listing_logo img {
  opacity: 0.5;
}
.lookbooks-items-list td.job_title, .lookbooks-categories-list td.job_title {
  margin: 10px;
}
.job-manager-form .wp-editor-tools {
  margin: 20px auto;
}


.twitter-share-button, .fb-share-button, .badge-create-button {
  border-radius: 4px;
  padding: 4px 20px;
  color: white;
  margin: 0px 5px;
  font-size: 11px;
  margin-bottom: 10px;
}

.twitter-share-button {
  background: #1da1f2;
  border: 1px solid #1DA1F2;
}

.twitter-share-button:hover {
  background: #0c84cf;
  border: 1px solid #0c84cf;
}

.fb-share-button {
  background: #3b5998;
  border: 1px solid #3b5998;
}

.fb-share-button:hover {
  background: #2c4272;
  border: 1px solid #2c4272;
}

.badge-create-button {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}

.badge-create-button:hover {
  background: #222;
  border: 1px solid #222;
}

.badge-button-output {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  background: black;
  color: white;
  padding: 15px 20px;
  z-index: 999;
  border-radius: 4px;
  font-size: 12px;
  display: none;
}

.badge-button-output textarea {
  border: 1px solid white;
  margin: 10px 0;
  padding: 5px;
  color: #6e6e6e;
}

.badge-button-output button {
  background-color: white;
  color: black;
  border: none;
  width: 100%;
}

.lookbook-reward {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e1e1e1;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0px;
}

.lookbook-reward-badge {
  max-height: 40px;
}

.lookbook-reward h5 {
  font-size: 16px;
}

.lookbooks-breadcrumbs {
  background: #f5f5f5;
  padding: 10px 10px;
  border-radius: 4px;
}

.lookbooks-single-breadcrumbs {
  display: none;
  margin-top: 20px;
}

.lookbooks-back-link {

}

.lookbooks-back-link:hover {
  text-decoration: underline;
}

.listing-lookbook-loader {
  display: block;
  margin: 50px auto;
  max-width: 80px;
}

.theme-my-listing #menu-item-playlist, .theme-my-listing #menu-item-video-playlist {
	display: none;
}

@media (max-width: 992px) {
  table.lookbooks-items-list tr, table.lookbooks-categories-list tr {
    width: 47%;
  }
  .container-lookbook figure {
    margin: auto!important;
    margin-bottom: 20px!important;
    text-align: center;
  }
  .container-lookbook p {
    margin: auto!important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  table.lookbooks-items-list tr, table.lookbooks-categories-list tr {
    width: 100%;
  }
}

/* Responsive Gallery */
.gallery {
  column-count: 4;
  column-gap: 30px;
  margin-bottom:60px;
}
.gallery-item{
  margin-bottom:30px;
}
.gallery-item figcaption{
  display:none;
}
@media (max-width: 768px) {
  .gallery {
    column-count: 3;
  }
}
@media (max-width: 600px) {
  .gallery {
    column-count: 2;
  }
}


/* .gallery{
  column-count: 4;
  column-gap: 30px;
  margin-bottom:60px;
  @media (max-width: 768px) {
    column-count: 3;
  }
  @media (max-width: 600px) {
    column-count: 2;
  }
  .gallery-item{
    margin-bottom:30px;
    figcaption{
      display:none;
    }
  }
} */