.media-library__header,.media-library__header h2{margin-bottom:2rem}.media-library__controls{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:2rem 0;background:rgb(var(--color-background))}.media-library__controls-left,.media-library__controls-right{display:flex;align-items:center;gap:1rem 2rem}.media-library__controls-right{justify-content:flex-end}.media-library__filters{display:flex;gap:1rem 3rem}.media-library__filter{display:flex;align-items:center;gap:1rem}.media-library__filter label,.media-library__filter select{font-family:var(--font-body-family);font-size:1.4rem}.media-library__filter select{border:0;background-color:transparent;color:currentColor;box-shadow:none;cursor:pointer;padding:0 .5rem 0 0;border-bottom:.05rem solid;width:100%}.media-library__filter select#filter-type{padding:0 1rem 0 0}.media-library__selected{font-size:1.4rem}.button.download-selected{font-family:gin,serif;min-height:4rem;padding:0;border-radius:var(--buttons-radius);border:var(--buttons-border-width) solid rgba(var(--color-button-border),var(--alpha-button-border));box-shadow:var(--buttons-shadow-horizontal-offset) var(--buttons-shadow-vertical-offset) var(--buttons-shadow-blur-radius) rgba(var(--color-shadow),var(--buttons-shadow-opacity));transition:transform var(--duration-default) ease,opacity var(--duration-default) ease}.button.download-selected:disabled{opacity:.5;cursor:not-allowed}.media-library__grid{display:grid;grid-template-columns:repeat(var(--grid-columns),1fr);gap:var(--grid-desktop-horizontal-spacing);margin-top:var(--grid-desktop-vertical-spacing)}.media-card{position:relative;border:var(--text-boxes-border-width) solid rgba(var(--color-foreground),var(--text-boxes-border-opacity));border-radius:var(--text-boxes-radius);overflow:hidden;transition:transform var(--duration-default) var(--ease-out-slow)}.media-card.filtered{display:none}.media-card__preview{position:relative;padding-bottom:100%;margin:.4rem}.media-card__preview img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease,opacity .5s ease}.media-card__preview-button{position:absolute;top:1.2rem;right:1.2rem;opacity:0;background:transparent;border:none;border-radius:50%;width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#f3f3f3;transition:all var(--duration-default) ease;z-index:1}.media-card__preview-button .icon svg{vertical-align:middle;border-radius:50%}.media-card__info{margin:.8rem .4rem;border-top:none;transition:transform .3s var(--ease-out-slow);display:flex;flex-direction:column;gap:.25rem}.media-card__info h3{font-family:var(--font-heading-family);font-weight:var(--font-heading-weight);font-style:var(--font-heading-style);font-size:1.8rem;margin:0 0 1rem}.media-card__info .rte{margin:0 0 .5rem;font-size:1.4rem}.media-card__info .card__badge{z-index:1}.media-card__info .card__badge .badge{padding:.5rem 1rem .25rem;color:rgba(var(--color-foreground),.75)}.media-card__meta{display:flex;flex-wrap:wrap;gap:0 var(--grid-desktop-horizontal-spacing);font-size:1.2rem;color:rgba(var(--color-foreground),.75)}.media-card__select{position:absolute;top:1.5rem;left:1.5rem;padding:0;border:none;z-index:1}.media-card__select input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:transparent;margin:0;width:2rem;height:2rem;border:.1rem solid #fff;border-radius:.4rem;cursor:pointer;position:relative;transition:all var(--duration-default) ease}.media-card__select input[type=checkbox]:checked{background-color:#3b82f6;border-color:#3b82f6}.media-card__select input[type=checkbox]:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);width:1.2rem;height:1.2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;transition:transform var(--duration-default) ease}.media-card__select input[type=checkbox]:checked:after{transform:translate(-50%,-50%) scale(1)}.media-card__select label{display:none}.media-preview-modal{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:100;opacity:0;visibility:hidden;transition:all var(--duration-default) ease;overflow-y:auto;-webkit-overflow-scrolling:touch}.media-preview-modal[aria-hidden=false]{opacity:1;visibility:visible}.media-preview-modal__overlay{position:fixed;display:block!important;top:0;left:0;right:0;bottom:0;background:#000000f2;z-index:1}.media-preview-modal__content{position:relative;width:90vw;max-width:1200px;max-height:90vh;border-radius:var(--popup-corner-radius);box-shadow:var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius) rgba(var(--color-shadow),var(--popup-shadow-opacity));overflow:hidden;z-index:2;margin:auto;padding:2rem}.media-preview-modal__close{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#f3f3f3;cursor:pointer;z-index:2}.media-preview-modal__body{width:100%;height:90vh;max-height:800px;overflow:auto;display:flex;align-items:center;justify-content:center;scrollbar-width:none}.media-preview-modal__loading{display:none;padding:2rem;text-align:center}.media-preview-modal__preview{max-width:100%;max-height:100%}.media-preview-modal__preview img,.media-preview-modal__preview iframe{max-width:100%;max-height:80vh;object-fit:contain}.media-preview-modal__preview video{max-width:100%;max-height:90vh;width:auto;height:auto}.button__loading-indicator{display:flex;align-items:center;gap:.8rem}.button__loading-indicator.hidden,.button__text.hidden{display:none}.spinner{width:1.6rem;height:1.6rem;animation:spin 1s linear infinite}.spinner circle{stroke-dasharray:60;stroke-dashoffset:50;transform-origin:center}@keyframes spin{to{transform:rotate(360deg)}}.download-notification{position:fixed;bottom:2rem;right:2rem;background:rgb(var(--color-background));padding:1.5rem 2rem;border-radius:var(--popup-corner-radius);box-shadow:var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius) rgba(var(--color-shadow),var(--popup-shadow-opacity));z-index:50;opacity:0;transform:translateY(1rem);transition:all var(--duration-default) ease}.download-notification.active{opacity:1;transform:translateY(0)}@media (hover: hover){.media-card:hover img{transform:scale(1.04);opacity:.7}.media-card:hover .media-card__preview-button{opacity:1}.media-card:hover .media-card__info{transform:translateY(-2px)}.media-card__select input[type=checkbox]:not(:checked):hover{background-color:rgba(var(--color-foreground),.2)}}@media screen and (max-width: 689px){.media-library__controls-left,.media-library__controls-right{width:100%}.media-library__controls-left{flex-direction:column-reverse;align-items:stretch}.media-library__controls-right{align-items:flex-end}.media-library__controls{flex-direction:column;gap:3rem}.media-library__filters{width:100%}.media-library__filter{flex-grow:1}}@media screen and (max-width: 400px){.media-library__controls-left button{width:100%}}
/*# sourceMappingURL=/cdn/shop/t/20/assets/media-library.css.map */
