#awo-worx-wrapper {
    padding: 1em;
}

/* #awo-works-category {
    margin-top: 24px !important;
}

#awo-works-work {
    margin-top: 38px !important;
} */

#awo-works-sub-navigation {
    position: fixed;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 12px 6px;
    text-align: center;
    font-weight: 200;
    text-transform: uppercase;
}

#awo-works-sub-navigation .works-sub-nav-item {
    color: var(--awo-color-main-blue);
}

#awo-works-sub-navigation .works-sub-nav-item:hover {
    font-weight: 500;
}

#awo-works-sub-navigation .works-sub-nav-works a {
    text-decoration: none;
    color: var(--awo-color-main-blue);
}

#awo-works .awo-works-headline.breadcrump {
    margin: 0 6px;
    font-weight: 200;
    font-size: 2em;
    margin-top: .25em;
    margin-bottom: .25em;
    display: none;
}

#awo-worx {
    display: grid;
}

#awo-worx .awo-works-categories-list {
    margin-left: 6px;
    margin-right: 6px;
}

#awo-worx .awo-works-category {
    background-color: white;
    margin-bottom: 16px;
    /* height: 96px; */
    height: 132px;
    display: grid;
    /* grid-template-columns: 1fr;
    grid-template-rows: 1fr; */
    border-radius: 6px;
    /* border: 1px solid lightgray; */
}

#awo-worx .awo-works-category .awo-works-category-thumbnail {
    grid-area: 1 / 1;
    border-radius: 3px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* filter: grayscale(1); */
    z-index: +1;
    transition: all 500ms ease-in-out;
}

#awo-worx .awo-works-category:hover .awo-works-category-thumbnail {
    filter: grayscale(0);
    transition: all 500ms ease-in-out;
}

#awo-worx .awo-works-category .awo-works-category-line {
    grid-area: 1 / 1;
    background-color: rgb(0, 0, 161);
    z-index: +1;
    width: 5px;
    border-right: 3px solid white;
    display: none
}

#awo-worx .awo-works-category .awo-works-category-title {
    display: grid;
    grid-area: 1 / 1;
    align-self: end;
    justify-self: end;
    /* padding: 6px 9px; */
    padding-top: 6px;
    padding-left: 16px;
    padding-right: 2px;
    font-weight: 200;
    font-size: 1.25em;
    background-color: rgba(255, 255, 255, 0.82);
    background-color: rgba(255, 255, 255, 1);
    /* filter: grayscale(1); */
    z-index: +2;
    border-bottom-right-radius: 3px;
    border-top-left-radius: 12px;
    transition: all 200ms ease-in;
    /* width: 7em; */
    text-align: right;
    /* width: 6em; */
    letter-spacing: 1px;
}

#awo-worx .awo-works-category:hover .awo-works-category-title {
    /* 
    grid-area: 1 / 1;
    align-self: stretch;
    justify-self: end;
    font-size: 2.5em;
    transition: all 500ms ease-in-out;
    padding: 9px 24px;
    background-color: rgba(255, 255, 255, 0.9);
    border-top-left-radius: 0;
    border-top-right-radius: 6px;
    */
    font-weight: 600;
    transition: all 200ms ease-out;
    letter-spacing: 6px;
}

#awo-worx .awo-works-category:hover .awo-works-category-title SPAN {
    align-self: center;
    justify-self: center;
}

#awo-worx #awo-works-category {
    /* padding: 1em;
    background-color: yellow; */
    margin: 0 6px;
}

#awo-worx #awo-works-category .awo-works-works-list {
    display: grid;
    grid-gap: 18px;
}

#awo-worx #awo-works-category .awo-works-works-list .awo-works-work {
    height: 96px;
    height: 132px;
    /* height: 75vh; */
    /* max-height: 420px; */
    display: grid;
    background-color: rgb(236, 236, 236);
}

#awo-worx #awo-works-category .awo-works-works-list .awo-works-work .project-cover {
    align-self: stretch;
    justify-self: stretch;
    display: grid;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid lightgray;
    border-right: none;
    border-bottom: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#awo-worx #awo-works-category .awo-works-works-list .awo-works-work .awo-work-cover-image {
    grid-area: 1 / 1;
    align-self: stretch;
    justify-self: stretch;
    display: grid;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid lightgray;
    border-right: none;
    border-bottom: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#awo-worx #awo-works-category .awo-works-works-list .awo-works-work .project-cover-title {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: end;
    background-color: rgb(255, 255, 255);
    padding-left: 9px;
    padding-top: 6px;
    border-top-left-radius: 6px;
    font-weight: 200;
    font-size: 18px;
    transition: all 200ms ease-in;
}

#awo-worx #awo-works-category .awo-works-works-list .awo-works-work:hover .project-cover-title {
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 200ms ease-out;
}

#works-timeline .works-timeline-by-year {
    margin-bottom: 1.5em;
}

#works-timeline .works-timeline-year {
    display: grid;
    margin-bottom: 14px;
    border-bottom: 1px solid #2e3192;
}

#works-timeline .works-timeline-year-year {
    align-self: start;
    justify-self: start;
    background-color: #2e3192;
    color: white;
    padding: 9px 12px;
    padding-right: 14px;
    font-size: 1.1em;
    border-top-left-radius: 9px;
    border-top-right-radius: 3px;
}

#awo-works-work .work-cover-header {
    height: 33vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    margin-top: -16px;
    /* border-bottom-left-radius: 9px; */
    /* border-bottom-right-radius: 9px; */
}

#work-inner-title-wrapper {

    grid-area: 1 / 1;
    align-self: end;
    justify-self: center;
    display: grid;

}

#work-inner-title-wrapper #work-inner-title {
    align-self: center;
    justify-self: center;
    margin-bottom: .75em;
    padding: 9px 12px;
    font-weight: 200;
    font-size: 1.5em;
    text-align: center;
    width: auto;
    margin-left: 6px;
    margin-right: 6px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

#awo-works-work .work-cover-header .work-title {
    align-self: end;
    justify-self: center;
    padding: 6px 9px;
    border-radius: 3px;
    margin-bottom: 1em;
    background-color: rgba(255, 255, 255, 0.5);
}

#awo-works-work .work-cover-header .awo-nav-work-up-category SPAN {
    display: grid;
    align-self: start;
    justify-self: start;
    background-color: rgba(255, 255, 255, 0.783);
    padding: 12px;
    cursor: pointer;
}

#awo-works-work .work-title-wrapper {
    background-color: rgb(217, 226, 232);
    background-color: white;
    padding: 18px 6px;
    text-align: center;
    border-bottom: 1px solid rgb(206, 206, 206);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#awo-works-work .work-title-wrapper h1 {
    font-weight: 200;
    font-size: 1.5em;
}

#awo-works-work .work-information {
    padding: 12px;
    font-weight: 200;
    font-size: 14px;
    margin-top: 1.5em;
}

#awo-works-work .work-gallery LI {
    margin-bottom: 3px;
}

#awo-works-back-to-category {

    position: fixed;
    left: 0;

    padding: 9px 18px 12px 9px;
    background-color: rgba(255, 255, 255, 0.855);
    align-self: start;
    justify-self: start;
    margin-top: 18px;
    /* border-top-right-radius: 3px;
    border-bottom-right-radius: 3px; */

    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;

    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-weight: 200;
    font-size: 19px;
    color: var(--awo-color-main-blue);
    transition: all 200ms ease-out;
}

#awo-works-back-to-category:hover {
    font-weight: 400;
    transition: all 200ms ease-in;
    letter-spacing: 1px;
}

.awo-work-actions,
#awo-works-work .work-gallery {
    margin-top: 2em;
}

#awo-works-work .work-gallery img {
    border-radius: 9px;
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
    border: 1px solid rgb(0, 0, 0, .2);
    margin-bottom: 6px;
}

#awo-works-work .work-information .work-details,
#awo-works-work .work-information .work-remarks {
    border: 1px solid rgb(0, 0, 0, .25);
    border-radius: 6px;
    padding: 3px 9px;
    /* background-image: linear-gradient(135deg, white 5%, rgba(172, 172, 172, 0.306) 80%); */
}

#awo-works-work .work-information .work-details {
    line-height: 1.2;
    margin-bottom: 2em;
}

#awo-works-work .work-information .work-details a {
    text-decoration: none;
    font-weight: 500;
}

#awo-works-work .work-information .work-details TABLE {
    width: 100%;
}

#awo-works-work .work-information .work-details td {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.4);
}

#awo-works-work .work-information .work-details tr:last-child td {
    border-bottom: none;
}

#awo-works-work .work-information .work-details .detail-key {
    font-weight: 600;
    padding-right: 18px;
    padding-top: 9px;
    padding-bottom: 9px;
}

#awo-works-work .work-information .work-details .detail-value {
    padding-top: 9px;
    padding-bottom: 9px;
}

#awo-works-work .work-information .work-remarks {
    line-height: 1.4;
    padding: 16px 18px;
}

#awo-works-work .work-information .work-remarks STRONG {
    font-weight: 500;
}

#awo-works-work .awo-work-actions {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-gap: 1em;
    margin-top: 2em;
}

#awo-works-work .work-gallery li {
    height: auto;
    background-size: 0;
}

.awo-work-gallery-show-action {
    display: none;
}

@media (min-width: 900px) {

    #header {
        /* background-color: yellow; */
        border-bottom: none;
        padding-top: 24px;
        /* padding-left: 18px; */
        padding-left: 18px !important;
        padding-right: 12px;
    }

    #awo-works-categories {
        display: grid;
        height: calc(100vh - 9px - 38px - 1em);
    }

    #awo-worx .awo-works-categories-list {
        /* background-color: yellow; */
        justify-self: center;
        align-self: center;
        grid-gap: 2em;
        grid-row-gap: 1em;
        display: grid;
        margin-left: 0;
        margin-right: 0;
        height: auto;
        grid-template-columns: 1fr 1fr 1fr;
        width: 75vh;
        margin-top: -4em;
    }

    .awo-works-category {
        align-self: stretch;
        justify-self: stretch;
        height: 22vh !important;
        border-radius: 6px !important;
        box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.1), 0 9px 20px 0 rgba(0, 0, 0, 0.1);
    }

    .awo-works-category-thumbnail {
        filter: grayscale(.9);
        border-radius: 6px !important;
    }

    #awo-worx .awo-works-category-title {
        background-color: rgba(255, 255, 255, 0.779) !important;
        border-top-left-radius: 6px !important;
        padding-bottom: 5px;
        padding-left: 9px !important;
    }

    #awo-worx .awo-works-category-title SPAN {
        font-size: 14px;
        font-weight: 400 !important;
        color: black !important;
        /* padding-left: 9px !important; */
        letter-spacing: 1px;
        transition: all 250ms ease-out;
    }

    .awo-works-category:hover .awo-works-category-title SPAN {
        letter-spacing: 2px !important;
        transition: all 250ms ease-in;
    }

    #awo-works-category .awo-works-works-list {
        grid-template-columns: 1fr 1fr;
    }

    #awo-works-work .work-information {
        padding: 0px;
        font-size: 16px;
        margin-top: 2em;
    }

    #awo-works-work .work-information .work-details {
        margin-bottom: 0;
    }

    #awo-works-work .work-information .info-details-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1em;
    }

    #awo-works-work .work-gallery ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 1em;
    }

    #awo-works-work .work-gallery li {
        display: grid;
        height: 220px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 6px;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }

    #awo-works-work .work-gallery img {
        display: none;
    }

    .awo-work-gallery-show-action {
        display: grid;
        /* background-color: rgba(255, 255, 0, 0.341); */
        align-self: stretch;
        justify-self: stretch;
    }

    #awo-gallery-viewer-backdrop {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        /* height: 100vh; */
        z-index: 1000000;
        color: white;
        background-color: rgba(0, 0, 0, 0.788);
        background-color: rgba(187, 187, 187, 0.9);
        backdrop-filter: blur(20px);
        display: grid;
    }

    #awo-gallery-viewer {
        align-self: stretch;
        justify-self: stretch;
        /* background-color: yellow; */
        padding: 24px;
        display: grid;
    }

    #awo-gallery-viewer .awo-gallery-viewer-close {
        grid-area: 1 / 1;
        align-self: start;
        justify-self: end;
        /* padding: 6px; */
        height: 2em;
        width: 2em;
        display: grid;
        margin-top: -12px;
        margin-right: -12px;
        border-radius: 1.5em;
        cursor: pointer;
        background-color: rgb(210, 210, 210);
        border: 1px solid rgb(165, 165, 165);
        cursor: pointer;
    }

    #awo-gallery-viewer .awo-gallery-viewer-close SPAN {
        align-self: center;
        justify-self: center;
        padding: 6px;
        margin-top: -4px;
        color: rgb(156, 156, 156);
        font-weight: 600;
    }

    #awo-gallery-viewer .awo-gallery-viewer-close:hover {
        background-color: rgb(170, 170, 170);
    }

    #awo-gallery-viewer .awo-gallery-viewer-close:hover SPAN {
        color: black;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image {
        grid-area: 1 / 1;
        align-self: stretch;
        justify-self: stretch;
        display: grid;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image IMG {
        grid-area: 1 / 1;
        height: auto;
        width: auto;
        max-height: 90vh;
        max-width: 90vw;
        align-self: center;
        justify-self: center;
        border: 1px solid rgb(179, 179, 179);
    }

    #awo-gallery-viewer .awo-gallery-viewer-image .awo-gallery-viewer-navigation {
        grid-area: 1 / 1;
        align-self: center;
        justify-self: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image .awo-gallery-viewer-navigation .viewer-navigation {
        display: grid;
        height: 2em;
        width: 2em;
        display: none;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.692);
        cursor: pointer;
        transition: all 250ms ease-in-out;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image:hover .viewer-navigation {
        display: grid;
        transition: all 250ms ease-in-out;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image .awo-gallery-viewer-navigation .viewer-navigation SPAN {
        align-self: center;
        justify-self: center;
        color: black;
        font-weight: 600;
        font-size: 18px;
        line-height: -2;
        margin-top: -4px;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image .awo-gallery-viewer-navigation .viewer-navigation.prev {
        /* background-color: rgba(255, 255, 255, 0.5); */
        justify-self: start;
        /* padding: 9px;
        color: black;
        border-radius: 6px;
        cursor: pointer; */
    }

    #awo-gallery-viewer .awo-gallery-viewer-image .awo-gallery-viewer-navigation .viewer-navigation.next {
        /* background-color: rgba(255, 255, 255, 0.5); */
        justify-self: end;
        /* padding: 9px;
        color: black;
        border-radius: 6px;
        cursor: pointer; */
    }

    /* .awo-gallery-viewer-picture-description {
        grid-area: 1 / 1;
        display: grid;
        display: none;
        align-self: end;
        justify-self: center;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 9px 12px;
        border-radius: 4px;
        color: black;
        margin-bottom: 2.5em;
        transition: all 250ms ease-in-out;
        border: 1px solid rgba(0, 0, 0, 0.2);
    } */

    #awo-gallery-viewer .awo-gallery-viewer-image:hover .awo-gallery-viewer-picture-description {
        display: grid;
        transition: all 250ms ease-in-out;
    }

    .awo-gallery-viewer-image-desc {
        grid-area: 1 / 1;
        display: grid;
        grid-template-rows: 1fr auto;
        transition: all 250ms ease-in-out;
    }

    #awo-gallery-viewer .awo-gallery-viewer-image .awo-gallery-viewer-picture-description {
        display: grid;
        display: none;
        transition: all 250ms ease-in-out;
        align-self: center;
        justify-self: center;
        margin-top: 1em;
        margin-bottom: 1em;
        transition: all 250ms ease-in-out;
    }
}

@media (min-width: 960px) {

    #awo-works-category .awo-works-works-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}