/*
 Theme Name:   Chroma Child Theme
 Theme URI:    http://chroma.themerex.net/
 Description:  Chroma Child Theme
 Author:       ThemeREX
 Author URI:   http://themerex.net/
 Template:     chroma
 Version:      1.0.0
 Tags: wedding, fashion, fashion photography, gallery, photo, photo gallery, photo studio, photography studio, photographer, photography, photography agency, photography portfolio, photography theme, portfolio wordpress, creative
 Text Domain:  chroma
*/


/* =Theme customization starts here
------------------------------------------------------------ */

.page_content_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.content_wrap, .content_container {
    width: unset !important;
    max-width: 100%;
    margin: 0 auto;
}

#sunshine {
    padding: 0 0 !important;
}

.sunshine--main-menu {
    display: none;
}

#sunshine .sunshine--container {
     max-width: 100% !important; 
}

.sunshine--gallery-item {
    /*min-width: 350px !important;*/
    /*height: 350px;*/
}

figure.sunshine--gallery-item {
  position: relative !important;
  display: inline-block !important;
  overflow: hidden !important;
}

figure.sunshine--gallery-item > a:first-of-type {
  display: block !important;
}

figure.sunshine--gallery-item h2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: .6rem .8rem;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease-in-out, transform .18s ease-in-out;
  pointer-events: none;
}

figure.sunshine--gallery-item h2 a {
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
}

figure.sunshine--gallery-item:hover h2,
figure.sunshine--gallery-item:focus-within h2 {
  opacity: 1;
  transform: translateY(0);
}

.sunshine--container:has(#sunshine--gallery--access) #plb-toolbar,
body:has(#sunshine--gallery--expired) #plb-toolbar {
  display: none !important;
}



