/*
 * Site styles carried over from the previous Customizer "Additional CSS",
 * in the original order so the cascade is unchanged. Printed late in the
 * head, where that CSS used to be printed.
 */

/* NEW ANIMATOR PAGE STYLING  */
.animator-card__name-overlay {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 4;
  padding: .4rem .75rem;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-weight: 400;
  letter-spacing: .05em;
  border-radius: 3px;
  font-size: 1rem; /* tweak if needed */
  line-height: 1.2;
  pointer-events: none; /* so it doesn't block clicks */
  text-transform: uppercase; /* optional */
}

/* Make the Illustrators dropdown container match Styles/Genres */
#style-buttons-panel,
#illustrator-buttons-panel {
  position: absolute;
  z-index: 9999;
  top: 30px;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 2px;
  padding: 15px 15px 40px;
  margin-top: 10px;
  min-width: 350px;
  display: none; /* both hidden by default; JS toggles */
}

/* Use the same two-column grid inside both panels */
#illustrator-buttons-panel .style-button-grid {
  /* you already have .style-button-grid defined; this keeps it identical */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 400px;
}

/* Make illustrator links look like the style rows */
#illustrator-buttons-panel .artist-name-link {
  display: block;
  padding: 0 4px;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}
#illustrator-buttons-panel .artist-name-link:hover {
  background-color: transparent !important;
  color: #000;
  font-weight: bold;
}

/* (optional) mobile stack like Styles panel */
@media screen and (min-width: 1024px) {
#toggle-illustrator-filter {display:none !important;}
}







/* SINGLE ARTIST PAGE */
.artist-full-name {font-weight:700;}


/* FORM STYLES  */
.gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload) .gform_drop_area::before {color:#A1C44B;}

.gform_button_select_files {padding:10px 20px !important;}
body .gform_wrapper input[type="text"], body .gform_wrapper input[type="email"], body .gform_wrapper textarea {
	padding-left:10px;
}
#gform_submit_button_3, #gform_submit_button_4 {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.gform_validation_errors {display:none !important;}

.gf-custom-submit-wrap {width:100%;}

#gf-custom-submit-3, #gf-custom-submit-4 {width:40%;margin:0 auto;background-color:var(--c-primary);border-radius:30px;padding:18px 100px}

.gfield--type-fileupload label{
	font-size:1.5rem !important; font-weight:bold !important;}

.gf-spacer {height:200px;width:100%;}



@media (max-width: 1024px) {
.gf-custom-submit-wrap {
width:100% !important;
margin-left:0 !important;
}
.gform_wrapper .gform_fields, .gform-footer {
display: block;
column-count: 1 !important;
column-gap:40px !important;
column-fill: balance !important;
}
	
.gform_wrapper .gfield.left-column {
	width:100% !important;
    order: 1;
    page-break-after: avoid;
}
.gform_wrapper .gfield.right-column {
	width:100% !important;
	margin-left:0 !important;
    order: -1 !important; 
}
.gf-spacer {
	height:0px !important;
	width:100% !important;}
	



}
	
}






/* FILTERING  */
.illustrator_list summary  {border:0px !important;padding-left:20px !important; width:200px;display: flex;justify-content:space-between;}
.illustrator_list summary p {padding:6px 20px;font-size:14px !important; background:#dce0e1;}


#artist-loop-grid .artist-grid__item {
    display: none;
}
.artist-style-filter-toggle-wrapper {position: relative; display: inline-block;}


#toggle-style-filter, #search-style-filter {border: 0px; background: #dce0e1; color: #000; border-radius: 0px; cursor: pointer;font-size:14px;
 display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100px;
	margin:0 10px 0 0;padding:0;
	}

#search-style-filter {background-color:#A1C44B;}

#search-style-filter .btn-icon {fill:white;width:14px;}

#search-style-filter .btn-divider {margin-left:0px;}

#search-style-filter input {padding-left:20px;margin-left:0;}

.btn-divider {
  width: 1px;
  height: 32px;
  background-color: #000;
  margin: 0 10px;
}
.btn-icon  {
  fill: gray;
	width:12px;
	margin-right:10px;
	margin-bottom:-4px;
}
.btn-label {
  flex: 1;
  text-align: left;
/*   letter-spacing: 0.5px; */
	padding: 6px 20px; 
}

#style-buttons-panel {display: none; position: absolute; z-index: 9999; top: 30px; left: 0; background: white; box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-radius: 2px; padding: 15px; }

/* Wrapper Layout */
.artist-style-filter-toggle-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 32px;
}

/* Search Box */
#artist-search-box {
  height: 32px;
  border: none;
  border-radius: 0;
  width: 200px;
  background: #dce0e1;
  color: #000;
  font-size: 14px;
  margin-left: 10px;
}
#get-a-quote {
  height: 32px;
  border: none;
  border-radius: 0;
  width: 200px;
  background: #dce0e1;
  color: #000;
  font-size: 14px;
  margin-left: 10px;
}

#artist-search-box::placeholder {
  color: black;
}

/* Buttons */
#toggle-style-filter,
#search-style-filter,#get-a-quote,#toggle-illustrator-filter {
  border: none !important;
  background: #dce0e1 !important;
  color: #000;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100px;
  margin: 0 10px 0 0;
  padding: 0;
}

/* Search-specific override */
#search-style-filter {
  background-color: #A1C44B;
}

#search-style-filter .btn-icon {
  fill: white;
  width: 14px;
}

#search-style-filter .btn-divider {
  margin-left: 0;
}

#search-style-filter input {
  padding-left: 20px;
  margin-left: 0;
}

/* Icon + Divider + Label */
.btn-divider {
  width: 1px;
  height: 32px;
  background-color: #000;
  margin: 0 10px;
}

.btn-icon {
  fill: gray;
  width: 12px;
  margin-right: 10px;
  margin-bottom: -4px;
}

.btn-label {
  flex: 1;
  text-align: left;
/*   padding: 6px 20px; */
}

/* Style Panel */
#style-buttons-panel {
  display: none;
  position: absolute;
  z-index: 9999;
  top: 30px;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  padding: 15px 15px 40px;
  margin-top: 10px;
  min-width: 350px;
}

/* Button Grid */
.style-button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
	width:400px;
}

/* Illustrator list */
.illustrator-name a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.illustrator-name a::after {
  content: "";
  position: absolute;
  right: 0; 
  bottom: 0;
  width: 100%;
  height: 2px; 
  background: var(--c-primary); 
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.illustrator-name a:hover::after {
  transform: scaleX(1); 
}

/* Style Buttons */
.artist-style-button {
  margin-bottom: -8px;
  padding: 0 4px;
  border: none;
  cursor: pointer;
  text-align: left;
  color: black;
  font-size: 14px;
}

.artist-style-button:hover {
  background-color: transparent !important;
  color: black;
  font-weight: bold;
}

@media (max-width: 767px) {
	.artist-style-filter-toggle-wrapper {
display: flex;
  flex-direction: column; /* stack children vertically */
  gap: 10px;  
		height:120px !important;
		align-items:start;
		padding-left:20px !important;
	}
}

/* Feedback Areas */
.filter-results-count {
  display: none;
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.no-results-message {
  display: none;
  text-align: center;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 20px 0;
}


.style-button-grid {display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;}

.artist-style-filter-toggle-wrapper {display:flex;margin:0px;padding:0px;height:32px}

.artist-style-button {margin-bottom:-8px;padding: 0px 4px; border: 0px solid #ccc; cursor: pointer;text-align:left;color:black;font-size:14px}

.artist-style-button:hover {color:black; background-color:transparent !important;font-weight:bold;}


.filter-results-count {display:none;font-size: 14px; color: #666; margin-top: 10px;}

.no-results-message {display: none; text-align: center; padding: 40px; background: #f9f9f9; border-radius: 8px; margin: 20px 0;}



/* DARK MODE: single licensing portfolios */
body.single-art-licensing {
	background: var(--c-dark);
	color: #fff;
}
body.single-art-licensing .no-results-message {color:var(--c-white) !important; background-color:var(--c-dark);}




/* ================================
   SINGLE ANIMATION MASONRY PAGE (unchanged)
===================================*/
.artist-media-grid {
  column-count: 3;
  column-gap: 16px;
}
@media (max-width: 1024px) { .artist-media-grid { column-count: 2; } }
@media (max-width: 767px)  { .artist-media-grid { column-count: 1; } }

.artist-media-grid .artist-media-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  position: relative;
  break-inside: avoid;
}
.artist-media-grid img { width: 100%; height: auto; display: block; }
.artist-media-item.is-video .play-badge{
  position:absolute; inset:50% auto auto 50%;
transform:translate(-50%,-50%);
  padding:10px 12px; line-height:1; border-radius:999px;
  background:rgba(0,0,0,.55); color:#fff; font-size:18px; pointer-events:none;
}


/* ================================
   ARCHIVE GRID (Masonry.js)
   — uses .grid-sizer + .gutter-sizer
===================================*/

/* Container Masonry positions into */
.animator-archive-grid { position: relative; }

/* Items: Masonry will abs-position; keep block and vertical gutter only */
.animator-card { display: block; margin: 0 0 30px; }

.gutter-sizer { width: 30px; }

/* Column sizing: 3 → 2 → 1 */
.grid-sizer,
.animator-card { width: calc((100% - 60px) / 3); }

/* Responsive */
@media (max-width: 1024px) {
 .grid-sizer, .animator-card { width: calc((100% - 30px) / 2); }
	/* 2 columns */
  .gutter-sizer { width: 30px; }
}
@media (max-width: 767px) {
  .grid-sizer, .animator-card { width: 100%; }
}

/* Aspect-ratio box */
.animator-card__media {
  position: relative;
  aspect-ratio: var(--ar, 1/1);
  display: grid;
  overflow: hidden;
}

/* Fill & crop media inside aspect box */
.animator-card__media picture,
.animator-card__media img,
.animator-card__video,
.animator-card__loader {
  grid-area: 1 / 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* Loader */
.animator-card__loader {
  position: absolute; inset: 0;
  display: none; place-items: center;
  z-index: 3; pointer-events: none;
}
.animator-card__media.is-loading .animator-card__loader { display: grid; }
.animator-card__loader::before {
  content: ""; width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35); border-top-color:#fff;
  animation: anim-spin 1s linear infinite;
}
@keyframes anim-spin { to { transform:rotate(360deg); } }

/* Video fade-in over poster */
.animator-card__video { opacity: 0; transition: opacity .2s ease; }
.animator-card__media.is-playing .animator-card__video { opacity: 1; } 

/* Play/Stop button */
.animator-card__play{
  position:absolute; bottom:.75rem; right:.75rem; z-index:4;
  padding:.1rem 1.79rem .1rem .75rem; border:0;
  background:rgba(0,0,0,.4); color:#fff; font-weight:400; letter-spacing:.05em;
  cursor:pointer;
}
.animator-card__play:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.animator-card__play:hover{ background:#000; }


#custom-video-modal video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* ==== OVERRIDE: make pills look like the gray, low-radius buttons ==== */
.artist-style-filter-toggle-wrapper .filter-toggle-btn,
.artist-style-filter-toggle-wrapper .filter-link-btn,
.artist-style-filter-toggle-wrapper .filter-search{
  border: 0 !important;
background: #dce0e1;
color: #000;
border-radius: 0;
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
justify-content: space-between;
min-width: 100px;
margin: 0 10px 0 0;
padding: 0;
	font-weight:400;
}

/* divider & caret: darker, centered */
.artist-style-filter-toggle-wrapper .btn-divider{
  height:32px !important;
  background:black !important;        /* stronger divider */
  width:1px !important;
}


/* hover/active: subtle */
.artist-style-filter-toggle-wrapper .filter-toggle-btn:hover,
.artist-style-filter-toggle-wrapper .filter-link-btn:hover,
.artist-style-filter-toggle-wrapper .filter-search:hover{
  background:#E6EAEE !important;
  border-color:#B9C1C9 !important;
}
.artist-style-filter-toggle-wrapper .filter-toggle-btn:active,
.artist-style-filter-toggle-wrapper .filter-link-btn:active{
  transform:none !important;
}

/* dropdown card to match: square-ish corners, slim border */
.artist-style-filter-toggle-wrapper .filter-panel{
  border:1px solid #D7DCE2 !important;
  border-radius:0px !important;
  box-shadow:0 12px 28px rgba(0,0,0,.12) !important;
  padding:14px 16px !important;
}

/* list inside dropdown = plain text, no pill borders (as in your screenshot) */
.artist-style-filter-toggle-wrapper .panel-columns .artist-style-button,
.artist-style-filter-toggle-wrapper .panel-columns .artist-name-button,
.artist-style-filter-toggle-wrapper .panel-columns .artist-name-link{
  all:unset; display:block; cursor:pointer;
  font:500 15px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111; padding:2px 4px; border-radius:3px;
}
.artist-style-filter-toggle-wrapper .panel-columns .artist-style-button:hover,
.artist-style-filter-toggle-wrapper .panel-columns .artist-name-button:hover,
.artist-style-filter-toggle-wrapper .panel-columns .artist-name-link:hover{
  background:#F3F5F7;
}

/* spacing between top pills to match screenshot */
.artist-style-filter-toggle-wrapper{ gap:12px !important; }

/* keep caret flip on open */
.artist-style-filter-toggle-wrapper .filter-toggle-btn[aria-expanded="true"] .btn-icon svg{
  transform:rotate(180deg);
}





/* ===== Dropdown panel ===== */
.filter-panel{
  position:absolute; top:calc(100% + 10px); left:0; z-index:9999;
  background:#fff;
  border:1px solid #E1E5EA;          /* light card border */
  border-radius:8px;                  /* small radius like screenshot */
  padding:14px 16px;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  max-width:min(100vw - 24px, 720px);
}
.panel-title{
  margin:0 0 10px 6px; color:#111;
  font-weight:700; text-transform:uppercase; letter-spacing:.02em;
}

/* Two-column link list (no pill borders) */
.panel-columns{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:36px; row-gap:8px;      /* roomy like the screenshot */
  max-height:60vh; overflow:auto; padding-right:4px;
}
@media (max-width:560px){ .panel-columns{ grid-template-columns:1fr; } }

/* Make items look like plain text links */
.panel-columns .artist-style-button,
.panel-columns .artist-name-button,
.panel-columns .artist-name-link{
  all:unset;                          /* strip button defaults */
  display:block;
  cursor:pointer;
  font:500 15px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
  padding:2px 6px;                    /* small tap target padding */
  border-radius:4px;                  /* tiny hover shape */
}
.panel-columns .artist-style-button:hover,
.panel-columns .artist-name-button:hover,
.panel-columns .artist-name-link:hover{
  background:#F3F5F7;
  text-decoration:none;
}

/* Hide the old “selected” outline in panels (we're using plain links) */
.artist-style-button.selected,
.artist-name-button.selected{ outline:none !important; box-shadow:none !important; }

/* Counts + no-results */
.filter-results-count{ margin-left:auto; font-size:13px; color:#444; opacity:.8; }
.no-results-message{ width:100%; margin-top:.5rem; font-size:14px; color:#b00; }



/* =============================
   Match ILLUSTRATORS button style to STYLES / GENRE
============================= */
button#toggle-illustrator-filter {
  border: none !important;
  background: #dce0e1 !important;
  color: #000;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100px;
  margin: 0 10px 0 0;
  padding: 0;
  font-weight: 400;
}

#toggle-illustrator-filter:hover {
  background: #E6EAEE !important;
  border-color: #B9C1C9 !important;
}

#toggle-illustrator-filter .btn-divider {
  height: 32px !important;
  background: #000 !important;
  width: 1px !important;
  margin: 0 10px;
}

#toggle-illustrator-filter .btn-icon {
  fill: gray;
  width: 12px;
  margin-right: 10px;
  margin-bottom: -4px;
}

#toggle-illustrator-filter .btn-label {
  flex: 1;
  text-align: left;
  padding: 6px 20px;
}

/* 1) Put the new button in the same pill group */
#toggle-style-filter,
#toggle-illustrator-filter,
#search-style-filter,
#get-a-quote {
  border: none !important;
  background: #dce0e1 !important;
  color: #000;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100px;
  margin: 0 10px 0 0;
  padding: 0;
  font-weight: 400;
}

/* 2) Beat the global button reset just for this control */
#toggle-illustrator-filter {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #dce0e1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

#toggle-illustrator-filter:hover {
  background: #E6EAEE !important;
  border-color: #B9C1C9 !important;
}

#toggle-illustrator-filter .btn-divider {
  height: 32px !important;
  background: #000 !important;
  width: 1px !important;
  margin: 0 10px;
}

#toggle-illustrator-filter .btn-icon {
  fill: gray;
  width: 12px;
  margin-right: 10px;
  margin-bottom: -4px;
}

#toggle-illustrator-filter .btn-label {
  flex: 1;
  text-align: left;
  padding: 6px 20px;
}
