/* -------------------------------------------------------
   1. GLOBAL RESET AND BASE
------------------------------------------------------- */

html {
    box-sizing: border-box;
    font-size: 16px;
    cursor: auto;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background-color: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

a:hover {
    opacity: 0.62;
}

a:active {
    opacity: 0.45;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
    padding: 0;
}

.content img {
    float: none;
    margin-bottom: 0.75rem;
}

i,
em {
    font-style: italic;
}

b,
strong {
    font-weight: 600;
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
}

sub {
    top: 0.25em;
}

sup {
    top: -0.4em;
}

s {
    text-decoration: line-through;
}

ul,
ol {
    margin: 0 0 1.5rem;
    padding: 0 0 0 1.25em;
}

blockquote {
    margin: 0 0 1.5rem;
    padding: 0 0 0 1.5rem;
}

hr {
    display: block;
    height: 1px;
    margin: 2rem 0;
    border: 0;
    background: rgba(0, 0, 0, 0.18);
}


/* -------------------------------------------------------
   2. UNIVERSAL TYPOGRAPHY
------------------------------------------------------- */

[data-predefined-style="true"] bodycopy,
bodycopy,
[data-predefined-style="true"] h1,
[data-predefined-style="true"] h2,
[data-predefined-style="true"] h3,
[data-predefined-style="true"] h4,
[data-predefined-style="true"] small,
bodycopy,
h1,
h2,
h3,
h4,
p,
li,
small,
figcaption,
.gallery_image_caption,
.thumbnails .title,
.thumbnails .tags {
    font-family: Arial, Helvetica, sans-serif;
}

[data-predefined-style="true"] bodycopy,
bodycopy {
    display: block;
    color: #111111;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
}

[data-predefined-style="true"] bodycopy a,
bodycopy a {
    color: inherit;
    font-style: normal;
    font-weight: inherit;
    text-decoration: underline;
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] bodycopy a:hover,
bodycopy a:hover {
    color: inherit;
    opacity: 0.62;
}

[data-predefined-style="true"] h1,
h1 {
    margin: 0 0 2rem;
    padding: 0;
    color: #111111;
    font-size: 3rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

[data-predefined-style="true"] h1 a,
h1 a {
    color: inherit;
    text-decoration: none;
}

[data-predefined-style="true"] h2,
h2 {
    margin: 0 0 1.25rem;
    padding: 0;
    color: #111111;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

[data-predefined-style="true"] h2 a,
h2 a {
    color: inherit;
}

[data-predefined-style="true"] h3,
h3 {
    margin: 2.5rem 0 0.75rem;
    padding: 0;
    color: #111111;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25;
}

[data-predefined-style="true"] h4,
h4 {
    margin: 2rem 0 0.6rem;
    padding: 0;
    color: #111111;
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
}

[data-predefined-style="true"] small,
small {
    display: inline;
    color: #111111;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

p {
    margin: 0 0 1.4rem;
}

.gallery_image_caption,
figcaption {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
}


/* -------------------------------------------------------
   3. CARGO PAGE STRUCTURE
------------------------------------------------------- */

[data-css-preset] body {
    background-color: #ffffff;
}

[data-css-preset] .page {
    background-color: transparent;
}

.mobile .page,
[data-css-preset].mobile .page {
    position: relative;
    min-height: 10px;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
}

[data-css-preset] .container,
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

[data-css-preset] .container_width,
.container_width {
    width: 100%;
    max-width: 100%;
}

[data-css-preset] .content_padding,
.content_padding {
    padding-top: 1.1rem /*!main_margin*/;
    padding-right: 1.1rem /*!main_margin*/;
    padding-bottom: 1.1rem /*!main_margin*/;
    padding-left: 1.1rem /*!main_margin*/;
}

[data-css-preset] text-limit,
text-limit {
    display: block;
    width: 100%;
    max-width: 48rem;
}


/* -------------------------------------------------------
   4. REUSABLE PAGE-COPY CLASSES
------------------------------------------------------- */

.page-copy,
.home-intro,
.home-announcement,
.home-statement,
.home-artwork {
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-copy p,
.home-intro p,
.home-announcement p,
.home-statement p {
    margin: 0 0 1.4rem;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
}

.page-copy h1 {
    margin-top: 3rem;
}

.page-copy h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.info-portrait {
    margin-bottom: 3rem;
}

.home-intro {
    margin-bottom: 5rem;
}

.home-announcement {
    margin-bottom: 6rem;
}

.home-statement {
    margin-bottom: 4rem;
}

.home-artwork {
    margin-bottom: 4rem;
}

.artwork-caption {
    margin-top: 0.75rem;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.95rem;
    line-height: 1.4;
}


/* -------------------------------------------------------
   5. PAGE LINKS AND ACTIVE STATES
------------------------------------------------------- */

.page a.active {
    font-weight: 600;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
    text-decoration: none;
}


/* -------------------------------------------------------
   6. LOADING INDICATOR
------------------------------------------------------- */

.loading[data-loading] {
    position: fixed;
    left: 8px;
    bottom: 8px;
}


/* -------------------------------------------------------
   7. THUMBNAIL / EXHIBITION INDEX
------------------------------------------------------- */

div[thumbnails] {
    width: 100%;
    transform: none;
    justify-content: flex-start;
}

[data-css-preset] .thumbnails {
    background-color: transparent;
}

[data-css-preset] .thumbnails_width,
.thumbnails_width {
    width: 100%;
    max-width: 100%;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.75rem;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -0.75rem;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.75rem;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -0.75rem;
}

.thumbnails .thumb_image {
    outline: 0;
    outline-offset: 0;
}

.thumbnails .title {
    margin-top: 0.65rem;
    margin-bottom: 0;
    color: #111111;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
    overflow: visible;
}

.thumbnails .tags,
.thumbnails .thumbnail .tags {
    display: block;
    height: auto;
    max-height: none;
    margin-top: 0.25rem;
    margin-bottom: 0;
    color: rgba(0, 0, 0, 0.55);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    overflow: visible;
    text-overflow: clip;
}

.thumbnails .tags a {
    color: inherit;
    text-decoration: none;
    border-bottom: 0;
}

.thumbnails .has_title .tags {
    margin-top: 0.25rem;
}


/* -------------------------------------------------------
   8. ARTIST INDEX HOVER IMAGE
------------------------------------------------------- */

.hover-title {
    display: inline;
    pointer-events: auto;
    cursor: pointer;
}

.hover-image {
    display: flex;
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40vw;
    height: 40vh;
    transform: translate(-10%, -85%);
    z-index: 100;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body:not(.mobile) .hover-title:hover + .hover-image {
    visibility: visible;
}

.hover-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 0;
}


/* -------------------------------------------------------
   9. SITE MENU BUTTON
------------------------------------------------------- */

[data-css-preset] #site_menu_button,
#site_menu_button {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10001;
    margin: 0;
    padding: 0.4rem;
    color: #111111;
    background: transparent;
    font-size: 32px;
    line-height: 1;
}

body.mobile #site_menu_button {
    margin: 0;
    font-size: 32px;
}

#site_menu_button.custom_icon {
    width: 40px;
    height: auto;
}

#site_menu_button.active {
    display: block;
}


/* -------------------------------------------------------
   10. FULL-SCREEN SITE MENU
------------------------------------------------------- */

#site_menu {
    width: 100vw;
    max-width: none;
    min-width: 0;
    min-height: 100vh;
    padding: 6rem 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.98);
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    justify-content: center;
    align-items: center;
}

body.mobile #site_menu {
    width: 100vw;
    max-width: none;
    min-width: 0;
}

#site_menu a,
#site_menu .page-link a,
#site_menu .set-link > a {
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-decoration: none;
}

#site_menu a:hover {
    opacity: 0.55;
}

#site_menu a:active {
    opacity: 0.4;
}

#site_menu a.active {
    opacity: 0.35;
}

#site_menu .close,
body.mobile #site_menu .close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: #111111;
    font-size: 42px;
    line-height: 1;
}

#site_menu .break {
    height: 0.4em;
}

#site_menu .indent {
    margin-left: 0;
}


/* -------------------------------------------------------
   11. SHOP BUTTON
------------------------------------------------------- */

[data-css-preset] #shop_button,
#shop_button {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.4rem;
    color: #111111;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

#shop_button.text {
    padding: 0;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 400;
}

#shop_button.custom_icon {
    width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
    margin: 0;
    font-size: 32px;
}


/* -------------------------------------------------------
   12. SHOP PRODUCT
------------------------------------------------------- */

.shop_product {
    position: relative;
    display: block;
    width: 100%;
    max-width: 22rem;
}

.shop_product .price {
    display: block;
    margin-bottom: 1rem;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

.shop_product .dropdown {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.7rem 2.5rem 0.7rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #ffffff url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
}

.shop_product .button {
    display: inline-block;
    flex: 0 0 50%;
    padding: 0.8rem 1rem 0.9rem;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
}


/* -------------------------------------------------------
   13. IMAGE ZOOM
------------------------------------------------------- */

.content img.image-zoom:active {
    opacity: 0.7;
}


/* -------------------------------------------------------
   14. QUICK VIEW
------------------------------------------------------- */

[data-css-preset] .quick-view {
    width: 100%;
    height: 100%;
    padding-top: 2.5rem;
    padding-right: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 2.5rem;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}

[data-css-preset] .quick-view-background {
    background: rgba(0, 0, 0, 0.88);
}

.quick-view-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 3.5rem 0;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    transition: opacity 100ms ease-in-out;
}

.quick-view-caption span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}


/* -------------------------------------------------------
   15. QUICK VIEW NAVIGATION
------------------------------------------------------- */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    width: 36px;
    height: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #ffffff;
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

.quick-view-navigation .close-button {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #ffffff;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: #000000;
    stroke-width: 2.5px;
    opacity: 0.6;
}


/* -------------------------------------------------------
   16. IMAGE GALLERY NAVIGATION
------------------------------------------------------- */

.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    width: 36px;
    height: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #ffffff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}


/* -------------------------------------------------------
   17. WALLPAPER NAVIGATION
------------------------------------------------------- */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
    width: 36px;
    height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
    stroke: #ffffff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}


/* -------------------------------------------------------
   18. FEED
------------------------------------------------------- */

.feed .content_container .page {
    border-top: 0;
}

.feed .content_container .page_container:first-child .page {
    border-top: 0;
}


/* -------------------------------------------------------
   19. AUDIO PLAYER
------------------------------------------------------- */

.audio-player {
    width: 100%;
    max-width: 36rem;
    height: 3.3rem;
    margin: 1px 1px 1em;
    outline: 1px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    color: rgba(0, 0, 0, 0.65);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0, 0, 0, 0.15);
}

.audio-player .button {
    background: transparent;
    fill: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.audio-player .icon {
    width: 100%;
    margin: auto;
    padding: 30%;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .buffer {
    background: rgba(0, 0, 0, 0.03);
}

.audio-player .progress {
    background: rgba(0, 0, 0, 0.1);
}

.audio-player .progress-indicator {
    position: absolute;
    right: 0;
    width: 1px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.7);
    cursor: ew-resize;
}

.audio-player .note-icon {
    width: 3.8rem;
    height: 100%;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}


/* -------------------------------------------------------
   20. OPTIONAL FLYING CAR
------------------------------------------------------- */

.flier {
    pointer-events: none;
}

.flier > * {
    position: fixed;
    left: 0;
    bottom: -9px;
    z-index: 9999;
    pointer-events: none;
    transform: translateX(-123%) translateY(0) rotateZ(0);
    animation: fly 90s linear infinite;
    animation-delay: 60s;
}

@keyframes fly {
    100% {
        transform: translateX(330vw) translateY(0) rotateZ(0deg);
    }
}


/* -------------------------------------------------------
   21. MOBILE
------------------------------------------------------- */

@media screen and (max-width: 767px) {

    html {
        font-size: 16px;
    }

    body {
        font-size: 17px;
        line-height: 1.5;
    }

    [data-css-preset] .content_padding,
    .content_padding {
        padding-top: 6rem;
        padding-right: 1.25rem;
        padding-bottom: 3rem;
        padding-left: 1.25rem;
    }

    [data-css-preset] text-limit,
    text-limit {
        width: 100%;
        max-width: 100%;
    }

    [data-predefined-style="true"] bodycopy,
    bodycopy {
        font-size: 1.0625rem;
        line-height: 1.5;
    }

    [data-predefined-style="true"] h1,
    h1 {
        margin-bottom: 1.5rem;
        font-size: 2.35rem;
        line-height: 1.08;
    }

    [data-predefined-style="true"] h2,
    h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    [data-predefined-style="true"] h3,
    h3 {
        font-size: 1.2rem;
    }

    [data-predefined-style="true"] small,
    small {
        font-size: 1rem;
        line-height: 1.5;
    }

    .page-copy,
    .home-intro,
    .home-announcement,
    .home-statement,
    .home-artwork {
        width: 100%;
        max-width: 100%;
    }

    .page-copy p,
    .home-intro p,
    .home-announcement p,
    .home-statement p {
        font-size: 1.0625rem;
        line-height: 1.5;
    }

    .page-copy h1 {
        margin-top: 2rem;
    }

    .page-copy h2 {
        margin-top: 2.5rem;
    }

    .home-intro {
        margin-bottom: 3.5rem;
    }

    .home-announcement {
        margin-bottom: 4rem;
    }

    .home-statement {
        margin-bottom: 3rem;
    }

    .home-artwork {
        margin-bottom: 3rem;
    }

    div[thumbnails] {
        display: block;
        width: 100%;
        margin: 0;
        transform: none;
    }

    [data-css-preset] [responsive-layout] [thumbnails-gutter],
    [data-css-preset] [thumbnails-gutter] {
        margin: 0;
    }

    [data-css-preset] [responsive-layout] [thumbnails-pad],
    [data-css-preset] [thumbnails-pad] {
        width: 100%;
        padding: 0 0 2rem;
    }

    .thumbnails .thumbnail,
    .thumbnails .thumbnail > a,
    .thumbnails .thumb_image {
        width: 100%;
        max-width: 100%;
    }

    .thumbnails .title {
        margin-top: 0.65rem;
        font-size: 1rem;
        text-align: left;
    }

    .thumbnails .tags {
        text-align: left;
    }

    .hover-image {
        display: none;
    }

    #site_menu {
        width: 100vw;
        max-width: none;
        min-width: 0;
        min-height: 100vh;
        padding: 5.5rem 1.5rem 3rem;
        font-size: 2.4rem;
    }

    #site_menu_button,
    body.mobile #site_menu_button {
        top: 1rem;
        right: 1rem;
        margin: 0;
        font-size: 32px;
    }

    #site_menu .close,
    body.mobile #site_menu .close {
        top: 1rem;
        right: 1rem;
        font-size: 40px;
    }

    [data-css-preset] .quick-view {
        padding: 1rem;
    }
    
    /* ==========================================================
   URGENT HOME PAGE CORRECTIONS
   ========================================================== */

/* Force the Cargo menu button to remain visible */
#site_menu_button,
[data-css-preset] #site_menu_button,
body #site_menu_button,
body.mobile #site_menu_button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    z-index: 999999 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0.4rem !important;
    color: #111111 !important;
    background: transparent !important;
    font-size: 32px !important;
    line-height: 1 !important;
}

/* Keep the button visible while the menu is open */
#site_menu_button.active {
    display: block !important;
}


/* Correct the oversized Emma Gray heading */
.home-statement h1,
.content .home-statement h1,
[data-predefined-style="true"] .home-statement h1 {
    margin: 0 0 2rem !important;
    padding: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 3rem !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
}


/* Keep Home content at a readable width */
.home-intro,
.home-announcement,
.home-statement,
.home-artwork {
    width: 100% !important;
    max-width: 48rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Mobile corrections */
@media screen and (max-width: 767px) {

    #site_menu_button,
    [data-css-preset] #site_menu_button,
    body #site_menu_button,
    body.mobile #site_menu_button {
        top: 1rem !important;
        right: 1rem !important;
        font-size: 32px !important;
    }

    .home-statement h1,
    .content .home-statement h1,
    [data-predefined-style="true"] .home-statement h1 {
        font-size: 2.35rem !important;
        line-height: 1.08 !important;
        margin-bottom: 1.5rem !important;
    }

    .home-intro,
    .home-announcement,
    .home-statement,
    .home-artwork {
        max-width: 100% !important;
    }
}
}