html {
    font-size: 16px;
    /* scroll-behavior: smooth; */
}

body {
    background-color: white;
    color: var(--charcoal);
    font-family: var(--secondary);
    font-weight: 300;
    line-height: 1.5;
}

.noshow {
    display: none;
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--orange);
}

h2 {
    font: normal 1.5rem var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.page-width {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--desktop);
    width: calc( 100% - 2rem );
}

.content-width {
    margin-left: auto;
    margin-right: auto;
    max-width: 60rem;
    width: calc( 100% - 2rem );
}

header {
    background-color: black;
    display: table;
    position: sticky;
    top: 0;
    transition: background-color 0.5s linear;
    width: 100%;
    z-index: 10;
}

#body.scrolled header {
    background-color: rgba(0,0,0,0.6);
}

.header-elements {
    align-items: center;
    display: grid;
    grid-template-areas:
        "logo menu-toggle"
        "nav nav"
        "cta cta";
    grid-template-columns: 1fr 1fr;
    padding: 2rem 0;
    position: relative;
}

header .logo {
    grid-area: logo;
    max-width: 200px;
}

header .menu-toggle {
    grid-area: menu-toggle;
    justify-self: end;
}

header .navigation {
    cursor: pointer;
    grid-area: nav;
    left: -1rem;
    position: absolute;
    top: calc( 100% + 1rem );
    z-index: 10;
    width: 100vw;
}

.header-cta {
    background: rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    bottom: 0;
    padding: 4rem 1rem 2rem 1rem; /* Updated */
    position: absolute;
    z-index: 9;
    width: 100vw;
}

body:not(.menu-active) .menu-toggle .menu-close,
body.menu-active .menu-toggle .menu-open {
    display: none;
}

.navigation ul {
    list-style-type: none;
}

.navigation > div > ul > li {
    border-bottom: 1px solid var(--taupe);
    background-color: white;
    position: relative;
}

.navigation > div > ul > li a {
    color: black;
    display: table;
    padding: 1rem 2rem;
    font: 500 1.25rem var(--primary);
    text-transform: uppercase;
}

header .navigation {
    max-height: 0;
    overflow: hidden;
    transition: all 1s ease-in-out 0s;
}

body.menu-active header .navigation {
    max-height: 9999px;
    overflow: visible;
}

header .navigation:before {
    background-color: white;
    content: ' ';
    display: block;
    min-height: 0;
    position: absolute;
    transition: all 1s ease-in-out 0s;
    width: 100%;
}

body.menu-active header .navigation:before {
    min-height: 100vh;
}

.navigation > div > ul ul.sub-menu > li {
    background-color: var(--gray);
    border-bottom: 1px solid var(--charcoal);
}

.navigation > div > ul ul.sub-menu > li a {
    color: white;
    font-size: 1rem;
}

.navigation > div > ul ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: all 500ms ease-in-out 0s;
}

.navigation > div > ul > li.active ul.sub-menu {
    max-height: 999px;
}

.navigation li {
    position: relative;
}

.navigation > div > ul > li.current-menu-item {
    background: white url('../images/mobile-menu-active-bar.svg') center left repeat-y;
}

.navigation > div > ul > li.menu-item-has-children > a:after {
    content: '\0203a';
    display: inline-block;
    margin-left: 0.5em;
    transform: rotate(90deg);
}

.navigation > div > ul > li.menu-item-has-children.active a:after {
    transform: rotate(-90deg);
}

a.button {
    align-items: center;
    background: var(--red);
    border-radius: 5px;
    color: white;
    display: inline-flex;
    font: 500 1rem var(--secondary);
    justify-content: center;
    padding: 0.5em 1em;
    text-transform: uppercase;
}

a.button:hover {
    background: var(--crimson);
}

a.button.alt {
    background: var(--charcoal);
    border: 1px solid var(--red);
}

a.button.alt:hover {
    background: black;
}

.asw a.wp-block-button__link {
    align-items: center;
    border-radius: 5px;
    display: inline-flex;
    font: 500 1rem var(--secondary);
    justify-content: center;
    padding: 0.5em 1em;
    text-transform: uppercase;
}

.asw a.wp-block-button__link:hover {
    background-color: var(--crimson);
    color: white;
}

.header-cta-heading {
    color: white;
    font: bold 1.25rem var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.header-cta-heading:nth-of-type(even) {
    color: var(--red);
}

.header-cta-button {
    margin-top: 1rem;
}

.homepage-hero {
    background-position: center;
    background-size: cover;
    padding-top: 80%;
    position: relative;
}

.video-container {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.homepage-hero video {
    left: 50%;
    height: 100%;
    object-fit: fill;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.homepage-content {
    margin-top: 2rem;
}

.homepage-content h2 {
    margin-bottom: 0.5rem;
}

.has-asw-large-font-size {
    font-size: 1.25rem;
    line-height: 1.5;
}

.has-asw-extra-large-font-size {
    font-size: 1.5rem;
}

.asw .wp-block-quote,
.blurb {
    background: transparent url('../images/vertical-line-crimson.svg') center left repeat-y;
    border: 0;
    display: block;
    margin: 1rem 0 2rem 0;
    max-width: 90%;
}

.video-poster {
    display: block;
    position: relative;
}

.video-poster:after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: transparent url(../images/video-play.svg) center center no-repeat;
    background-size: contain;
    transition: all 250ms linear 0s;
}

.video-poster:hover:after {
    height: 52px;
    width: 52px;
}

.video-popup {
    background-color: #111111;
    border-radius: 5px;
    color: white;
    padding: 1rem;
}

.video-popup .poster {
    border-radius: 2px;
    margin-bottom: 1rem;
}

.video-popup .poster img {
    width: 100%;
}

.video-popup .heading {
    font-size: 1.5rem;
    font-weight: 300;
}

.homepage-services {
    background-color: var(--charcoal);
    color: white;
    padding: 2rem 0;
}

.homepage-services h3 {
    font-weight: 300;
}

.blurb {
    padding-left: 1rem;
}

.homepage-services a.button {
    margin: 1rem 0;
}

.homepage-service {
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    display: block;
    overflow: hidden;
}

.homepage-service:hover {
    background-color: black;
}

.homepage-service h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 300;
    padding: 1rem 0;
    text-align: center;
}

.homepage-service .thumbnail {
    background-position: center;
    background-size: cover;
    height: 0;
    padding-top: 52%;
}

.homepage-services .columns {
    display: grid;
    grid-gap: 1rem;
}

.brm-footer {
    background-color: black;
    color: white;
    padding: 2rem 0;
}

.brm-footer a {
    color: white;
}

.brm-footer h3 {
    font: normal 1.875rem var(--primary);
    text-transform: uppercase;
}

.newsletter-description {
    font-size: 1.25rem;
    font-weight: 300;
}

.footer-social a {
    color: rgba(249,249,249,0.75);
    display: block;
    font-size: 2rem;
    margin: 0 0.5rem;
}

.footer-social {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.footer-social a:hover {
    color: var(--red);
}

.footer-partners ul {
    align-items: center;
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-partners ul li {
    flex-basis: 100%;margin: 0 0.5rem;
}

.footer-partners ul li img {
    display: block;
}

.footer-menu ul {
    list-style-type: none;
    margin: 1rem 0;
    padding: 0;
}

.footer-menu a {
    display: inline-block;
    font: 300 1.5rem var(--secondary);
    margin: 0.5rem 0;
    text-decoration: none;
}

.footer-menu a:hover {
    color: white;
}

.footer-menu a:after {
    color: var(--orange);
    content: '\203A';
    font-family: var(--secondary);
    font-weight: 300;
    margin-left: 0.5rem;
    transition: all 250ms linear 0s;
}

.footer-menu a:hover:after {
    margin-left: 1rem;
}

.footer-contact .heading {
    color: rgba(255,255,255,0.9);
    font: 400 1.25rem var(--secondary);
    margin-bottom: 1rem;
}

.footer-contact .content {
    align-items: flex-start;
    color: rgba(255,255,255,0.75);
    display: flex;
    font: 300 0.9375rem var(--secondary);
    margin-bottom: 1rem;
}

.footer-contact .content a {
    color: rgba(255,255,255,0.75);
}

.footer-contact .icon span:before {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    content: ' ';
    display: block;
    margin-right: 1rem;
    min-height: 40px;
    width: 25px;
}

.footer-contact .address .icon span:before {
    background-image: url('../images/locator.svg');
}

.footer-contact .phone .icon span:before {
    background-image: url('../images/phone.svg');
}

.footer-contact .email .icon span:before {
    background-image: url('../images/mail.svg');
}

.subfooter {
    background-image: url('../images/footer-divider.svg');
    background-position: center top;
    background-repeat: repeat-x;
    background-size: auto;
    color: rgba(255,255,255,0.5);
    font: 300 0.75rem/1.5rem var(--secondary);
    padding: 1rem 0;
}

.subfooter a {
    color: rgba(255,255,255,0.5);
    display: block;
    text-decoration: underline;
}

.back-to-top {
    bottom: 1rem;
    display: block;
    position: fixed;
    right: 1rem;
}

.back-to-top span:after {
    background-image: url('../images/back-to-top.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: ' ';
    display: block;
    height: 60px;
    width: 60px;
}

#newsletter-form form {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr auto;
    margin: 1rem 0;
    max-width: 400px;
    width: 100%;
}

#newsletter-form form input,
#newsletter-form form button {
    align-items: center;
    border: 0;
    border-radius: 5px;
    display: flex;
    height: 34px;
}

#newsletter-form form input {
    background: white;
    font: 300 0.75rem var(--secondary);
    text-indent: 1rem;
}

#newsletter-form form button {
    background: var(--red);
    color: white;
    cursor: pointer;
    font: normal 1rem var(--secondary);
    padding: 0 0.5rem;
    text-transform: uppercase;
}

#newsletter-form form button:hover {
    background: var(--bright-red);
}

#newsletter-form .confirmation,
#newsletter-form.submitted form {
    display: none;
}

#newsletter-form .confirmation {
    font-weight: bold;
    margin-top: 1rem;
}

#newsletter-form.submitted .confirmation {
    display: block;
}

.page-template-awards .wp-block-quote {
    border: 0;
    margin: 4rem 0;
    padding: 0;
}

.page-template-awards .wp-block-quote p {
    font-size: 1rem;
}

.page-template-awards .wp-block-quote cite {
    display: block;
    font-size: 0.75rem
}

.page-template-awards .wp-block-quote cite::first-line {
    font-size: 1rem;
    text-transform: uppercase;
}

.page-template-awards .wp-block-quote p:before,
.page-template-awards .wp-block-quote p:after {
    color: var(--red);
    content: '"';
    display: block;
    font-size: 3rem;
    line-height: 0px;

}

.page-template-awards .wp-block-quote p:after {
    margin-top: 1.5rem;
}

#newsletter-form .gfield_label {
    display: none;
}

#newsletter-form ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#newsletter-form form input {
    width: 100%;
}

#newsletter-form form input[type=submit] {
    align-items: center;
    background-color: var(--red);
    color: white;
    cursor: pointer;
    display: flex;
    font-weight: bold;
    padding: 0.25em 0.5em 0 0.5em;
    text-indent: 0;
    text-transform: uppercase;
}

#newsletter-form form input[type=submit]:hover {
    background-color: var(--orange);
}

.homepage-clients {
    background-color: white;
    color: black;
    display: table;
    padding: 2rem 0;
    width: 100%;
}

.homepage-clients video {
    max-width: 100%;
}

.homepage-clients .client-logos {
    margin-top: 1rem;
}

.client-logos img {
    margin: 0 auto;
}

.tablet-only,
.desktop-only {
    display: none;
}

.recent-projects {
    padding: 2rem 0;
}

.recent-projects .summary {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.sprout-embed-container {
    max-width: 800px;
    width: calc( 100vw - 2rem );
}

.recent-projects-grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
}

.recent-projects-grid .thumb {
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    height: 0;
    padding-top: 50%;
}

.recent-projects-grid a {
    color: white;
    display: block;
    position: relative;
    text-align: center;
}

.recent-projects-grid a .project-title {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.homepage-rocket-sauce {
    background-position: center;
    background-size: cover;
    min-height: 600px;
    padding: 2rem 0;
    position: relative;
}

.subheading {
    font-size: 1.25rem;
}
.homepage-rocket-sauce .overlay {
    background-color: rgba(0,0,0,0.5);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.homepage-rocket-sauce .container {
    position: relative;
    z-index: 1;
}

.homepage-reviews {
    padding: 2rem 0;
}

.stat-container {
    align-items: center;
    display: flex;
}

.reviews-stats {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
}

.stat-container .stat {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.stat-container .stat em {
    color: var(--orange);
    font-style: normal;
}

.stat-container .stat-label {
    font-size: 1.25rem;
    margin-left: 1em;
}

.homepage-testimonials {
    padding: 2rem 0;
}

.testimonials-carousel {
    margin-top: 1rem;
}

.slick-initialized .slick-slide.testimonial-widget {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 1rem;
    padding: 0;
    text-align: left;
}

.reviews-slider .slick-dots li button {
    color: transparent;
}

.testimonial-image {
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    display: block;
    height: 67px;
    width: 67px;
}

.testimonial-content {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.testimonial-name,
.testimonial-role {
    opacity: 0.5;
    font-weight: bold;
}

.testimonial-name {
    margin-top: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.testimonial-quote:before,
.testimonial-quote:after {
    color: var(--red);
    content: '\275D';
    display: block;
    font-size: 2em;
    line-height: 0;
    margin: 1rem 0;
}

.testimonial-quote:after {
    content: '\275E';
    text-align: right;
}

.homepage-blog {
    background-color: var(--charcoal);
    color: white;
    padding: 2rem 0;
}

.homepage-blog .blog-grid {
    padding: 1rem 0;
}

.posts-grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
    margin: 2rem 0;
}

.posts-grid article {
    background-color: var(--gray);
    border-radius: 5px;
    color: white;
    display: block;
    overflow: hidden;
}

.posts-grid .thumbnail {
    background-color: white;
    background-position: center;
    background-size: cover;
    height: 0;
    padding-top: 50%;
}

.posts-grid .meta {
    align-items: center;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr auto;
    padding: 1rem;
}

.posts-grid h3 {
    color: white;
    font: 300 1.25rem var(--secondary);
    margin: 0;
}

.posts-grid article:hover h3 {
    opacity: 0.85;
}

.posts-grid .readmore {
    background: transparent url('../../images/arrow-button.svg') center center no-repeat;
    background-size: cover;
    display: block;
    height: 36px;
    width: 36px;
    transition: all 500ms linear;
}

.posts-grid article:hover .readmore {
    transform: translateX(5px);
}

.section-heading {
    background-color: var(--charcoal);
    color: white;
}

.section-heading-content {
    margin: 0 auto;
    padding: 2rem 0;
}

.section-heading p {
    font: 300 1.25rem/1.5 var(--copy);
}

.section-heading p:empty:before {
    content: none;
}

.section-heading h1 {
    font: normal 1.875rem/1 var(--heading);
    text-transform: uppercase;
}

.video-categories {
    align-items: center;
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.video-categories label {
    color: black;
    cursor: pointer;
    display: block;
    font: normal 1rem var(--heading);
    margin: 0;
    padding: 0.5rem;
    position: relative;
    text-transform: uppercase;
}

.video-categories label:hover {
    color: var(--charcoal);
}

.video-categories label.promotional {
    order: 1;
}

.video-categories label.documentary {
    order: 2;
}

.video-categories label.explainer {
    order: 3;
}

.video-categories label.corporate {
    order: 4;
}

.video-categories label.motion {
    order: 5;
}

.videos-index input:checked ~ .video-categories label:after {
    background: transparent url(../../images/underline.svg) center center repeat-y;
    background-size: cover;
    bottom: 0.25em;
    content: ' ';
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    width: 0;
    transition: all 250ms linear 0s;
}

.videos-index input:nth-of-type(1):checked ~ .video-categories label:nth-of-type(1):after,
.videos-index input:nth-of-type(2):checked ~ .video-categories label:nth-of-type(2):after,
.videos-index input:nth-of-type(3):checked ~ .video-categories label:nth-of-type(3):after,
.videos-index input:nth-of-type(4):checked ~ .video-categories label:nth-of-type(4):after,
.videos-index input:nth-of-type(5):checked ~ .video-categories label:nth-of-type(5):after,
.videos-index input:nth-of-type(6):checked ~ .video-categories label:nth-of-type(6):after,
.videos-index input:nth-of-type(7):checked ~ .video-categories label:nth-of-type(7):after,
.videos-index input:nth-of-type(8):checked ~ .video-categories label:nth-of-type(8):after {
    width: 100%;
}

@media screen and ( max-width: 399px ) {
    .video-categories label {
        font-size: 0.875rem;
    }
}

.videos-index ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.videos-grid li {
    background-color: white;
    border-radius: 5px;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: all 1s ease 0s;
}


.videos-index input#all:checked ~ .videos-grid.all-videos {
    display: block;
}

.videos-index input#all:checked ~ .videos-grid ul li {
    /* Rules for individual categories are generated in work.php */
    margin-bottom: 2.875rem;
    max-height: 9999px;
}

.videos-index input#all:checked ~ .videos-grid.category,
.videos-index input ~ .videos-grid.category {
    display: none;
}

.videos-index input#all:not(:checked) ~ .videos-grid.all-videos {
    display: none;
}

.videos-grid {
    transition: all 500ms linear 0s;
}


.videos-grid li.promotional {
    margin-bottom: 0;
}

.videos-grid li a {
    color: black;
    display: block;
    min-height: 260px;
    overflow: hidden;
    position: relative;
}

.videos-grid .thumb,
.related-video .thumb {
    background-position: center;
    background-size: cover;
    height: 100%;
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    transition: all 250ms linear 0s;
    width: 100%;
}

/* GIFs on Hover disabled for now...
.videos-grid li:hover .thumb,
.related-video a:hover .thumb {
    opacity: 0;
}
*/

a.related-video:hover {
    color: black;
}

.videos-grid .meta {
    display: block;
    background: rgba(249, 249, 249, 0.75);
    padding: 0.5rem;
    position: relative;
    width: 100%;
}

.videos-grid h2 {
    font: 300 1.125rem var(--copy);
    margin-bottom: 0;
    text-transform: none;
}

.videos-grid .client {
    font: 300 0.75rem var(--copy);
    margin-bottom: 0;
}

.videobox {
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    display: flex;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.page-container {
    background-color: var(--off-white);
    padding: 2rem 0;
}

.video-header {
    background-color: var(--charcoal);
    overflow: hidden;
    position: relative;
}

.video-bg {
    background-position: center;
    background-size: cover;
    filter: blur(5px);
    height: 100%;
    left: 0;
    position: absolute;
    opacity: 0.5;
    top: 0;
    width: 100%;
    z-index: 0;
}

.video-embed-container {
    position: relative;
    z-index: 1;
}

.video-page-columns {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 1fr;
}

.video-awards {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 1rem;
    max-width: 350px;
}

.page-container h1 {
    font: 400 1.75rem var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.video-content h2 {
    font: 300 1.5rem var(--secondary);
    text-transform: none;
}

.page-container p,
.page-content p {
    margin-bottom: 1rem;
}

.meta-entry {
    margin: 1rem 0;
}

.meta-value {
    font-size: 1.25rem;
    font-weight: 400;
}

.social-sharing-links a.button {
    background: transparent;
    border-radius: 0;
    color: var(--charcoal);
    font-size: 1.5rem;
    margin-right: 0.5rem;
    padding: 0;
}

.social-sharing-links h3 {
    font: normal 1rem var(--secondary);
    margin-bottom: 0.5rem;
}

.social-sharing-links a.button:hover {
    color: var(--red);
}

.backlink {
    margin-top: 1rem;
}

a.related-video:hover {
    color: black;
}

.related-videos-title {
    font: 300 1.25rem var(--copy);
}

.related-videos-title:before {
    background-image: url(../images/divider.svg);
    background-repeat: repeat-x;
    background-size: auto;
    content: ' ';
    display: table;
    height: 8px;
    width: 100%;
    margin: 2rem 0;
}

.related-videos ul {
    list-style-type: none;
    margin: 0;
    padding: 2rem 0;
}

.related-videos ul {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 1fr;
}

.related-video {
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    color: black;
    display: block;
    height: 0;
    overflow: hidden;
    padding-top: 180px;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.related-video .meta {
    background: rgba(249, 249, 249, 0.5);
    bottom: 0;
    left: 0;
    padding: 0.5rem;
    position: absolute;
    transition: all 500ms linear;
    width: 100%;
}

.related-video:hover .meta {
    background: rgba(255,255,255,0.75);
}

.related-video .meta h2 {
    font: 300 1.125rem var(--copy);
}

.related-video .meta .client {
    font: 300 0.75rem var(--copy);
}

.related-video .thumb {
    opacity: 1;
}

.related-video:hover .thumb {
    opacity: 0;
}

.search-form-container input.search-field {
    border: 0;
    border-radius: 5px;
    display: flex;
    font: 300 0.75rem var(--copy);
    height: 34px;
    margin-right: 10px;
    text-indent: 1rem;
    width: 100%;
}

.search-form-container label {
    flex-basis: 100%;
}

.search-form-container input.search-submit {
    background-color: var(--red);
    border: 0;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: flex;
    height: 34px;
    margin-left: 1rem;
    padding: 0 0.5rem;
    text-transform: uppercase;
}

.search-form-container input.search-submit:hover {
    background-color: var(--bright-red);
}

.blog-categories {
    background-color: #f9f9f9;
    border-radius: 5px;
}

.blog-categories ul {
    list-style-type: none;
    margin: 0;
    padding: 0.5rem;
    text-align: center;
}

.blog-categories ul li {
    display: inline-block;
    margin: 0.5rem;
    position: relative;
}

.blog-categories ul li a {
    color: rgba(0,0,0,0.9);
    font: bold 1rem var(--heading);
    text-transform: uppercase;
}

.blog-categories ul li a:hover {
    color: var(--orange);
    text-decoration: none;
}

@media screen and ( max-width: 400px ) {
    .blog-categories ul li {
        margin: 0.5rem 0.25rem;
    }
    .blog-categories ul li a {
        font-size: 0.85rem;
    }
}

.blog-index .blog-categories ul li.all:after,
.category-index .blog-categories ul li.current-cat:after {
    background: transparent url('../../images/underline.svg') center center repeat-x;
    bottom: 0;
    content: ' ';
    display: block;
    height: 3px;
    width: 100%;
    position: absolute;
}

.posts-count {
    display: table;
    font: 300 1.3125rem var(--copy);
    padding: 2rem 0;
}

.posts-count strong {
    font-family: var(--heading);
    text-transform: uppercase;
}

.blog-grid {
    align-items: justify;
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 1fr;
}

.blog-grid.uniform {
    padding: 2rem 0;
}

.blog-summary {
    background: #F9F9F9;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(7, 7, 7, 0.06);
    color: black;
    display: block;
    overflow: hidden;
    transition: all 250ms ease 0s;
}

.blog-summary:hover {
    box-shadow: 0px 10px 13px 3px rgba(7, 7, 7, 0.12);
    color: black;
    text-decoration: none;
}

.blog-summary .featured-image {
    background-color: #EDEDED;
    background-position: center;
    background-size: cover;
    min-height: 200px;
}

.blog-summary-content {
    margin: 1rem;
    position: relative;
}

.blog-summary-content:after {
    background: transparent url('../../images/arrow-button.svg') center center no-repeat;
    background-size: cover;
    bottom: 0;
    content: ' ';
    display: block;
    height: 36px;
    position: absolute;
    right: 0;
    width: 36px;
}

.blog-grid.uniform .blog-summary-content:after {
    display: none;
}

.blog-summary-meta {
    color: rgba(0,0,0,0.5);
    display: flex;
    font: 300 0.75rem var(--copy);
    justify-content: space-between;
}

.blog-summary-meta .blog-author span {
    color: var(--red);
}

.blog-summary-title h2 {
    font: 300 1.25rem/2rem var(--copy);
    margin: 1rem 0;
    text-transform: none;
}

.blog-summary-categories ul {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: calc( 100% - 40px );
}

.brm-pagination .navigation.pagination {
    display: block;
    justify-content: flex-start;
    text-align: left;
}

.brm-pagination .navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    grid-auto-flow: column;
    margin: 0;
}

.brm-pagination .navigation.pagination .nav-links .current {
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    border: 3px solid #D8D4C8;
    border-radius: 5px;
    box-sizing: border-box;
    color: #D8D4C8;
    display: flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.brm-pagination .navigation.pagination .nav-links a {
    align-items: center;
    background-color: #D8D4C8;
    border-radius: 5px;
    display: flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.brm-pagination .navigation.pagination .nav-links a.next,
.brm-pagination .navigation.pagination .nav-links a.prev {
    padding: 0 0.5rem;
    text-transform: uppercase;
    width: auto;
}

.brm-pagination .navigation.pagination .nav-links a:hover {
    background-color: var(--red);
    color: white;
}

.brm-pagination .nav-links .page-numbers a,
.brm-pagination .navigation.pagination .nav-links a,
.brm-pagination .navigation.pagination .nav-links .current,
.brm-pagination .navigation.pagination .nav-links .dots {
    margin: 0 1rem 1rem 0;
}

.section-heading .description {
    font: 300 1.5rem var(--copy);
    margin-bottom: 1rem;
}

.back-to-all-posts a {
    text-transform: uppercase;
}

.blog-summary-categories li {
    background-color: var(--taupe);
    border-radius: 5px;
    color: white;
    display: inline-block;
    font-size: 0.75rem;
    margin: 0 5px 5px 0;
    padding: 0.5rem;
}

.blog-summary-categories li.active {
    opacity: 0.5;
}

.blog-summary-categories li a {
    display: block;
    background-color: var(--taupe);
    color: white;
}

.search-form-container {
    margin: 0.5rem 0;
    max-width: 600px;
}

.search-form-container input {
    appearance: none;border: 0;
    border-radius: 5px;
    display: inline-flex;
    font: normal 1rem var(--secondary);
    height: 2rem;
    padding: 5px;
}

.search-form-container input[type=text] {
    width: 100%;
}

.search-form-container input[type=submit] {
    background-color: var(--red);
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
    padding: 0 0.5rem;
    text-transform: uppercase;
}

.search-form-container input[type=submit]:hover {
    background-color: var(--crimson);
}

.search-form-container div {
    display: flex;
}



.section-heading .description {
    font: 300 1.5rem var(--copy);
    margin-bottom: 1rem;
}

.back-to-all-posts a {
    text-transform: uppercase;
}

.post-hero {
    margin-top: 2rem;
}

.post-hero.has-thumb {
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    min-height: 300px;
    padding: 1rem;
    width: 100%;
}

.post-hero-meta {
    background-color: rgba(255,255,255,0.9);
    border-radius: 3px;
    margin: 0 auto;
    padding: 1rem 2rem;
    width: 100%;
}

.post-hero-meta h1 {
    color: rgba(0,0,0,0.9);
    font: 300 1.25rem/1.75rem var(--copy);
    text-transform: none;
}

.post-hero-meta .blog-summary-meta {
    margin: 1rem 0;
}

.post-content {
    display: table;
    font: 300 1.125rem var(--copy);
    margin: 2rem auto;
    overflow: hidden;
    width: calc( 100% - 4rem );
}

.post-content h2 {
    font: 700 1.5rem var(--heading);
    text-transform: uppercase;
}

.post-social {
    color: rgba(0, 0, 0, 0.75);
    display: table;
    font: 300 1.125rem var(--copy);
    margin: 2rem auto;
    width: calc( 100% - 4rem );
}

.post-social .author-name {
    font: normal 1.5rem var(--copy);
}

.post-social img.author-image {
    border-radius: 5px;
    display: block;
    margin: 1rem 0;
    max-width: 200px;
}

.post-social .blog-summary-categories li {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #111111; 
}

.post-social .blog-summary-categories li:hover {
    box-shadow: 0px 2px 2px rgb(0 0 0 / 35%);
}

.post-social .blog-summary-categories {
    margin: 2rem 0;
}

.post-social .author {
    margin-bottom: 1rem;
}

.post-content ul, 
.post-content ol,
.page-content ul,
.page-content ol {
    margin: 1.25rem;
}

.post-content ul li, 
.post-content ol li,
.page-content ol li,
.page-content ul li {
    margin-bottom: 1rem;
}

.blog-index .blog-categories ul li.all:after,
.blog-categories ul li.current-cat:after {
    background: transparent url('../../images/underline.svg') center center repeat-x;
    bottom: 0;
    content: ' ';
    display: block;
    height: 3px;
    width: 100%;
    position: absolute;
}

.search-results .blog-categories {
    display: none;
}

.team-member {
    margin-bottom: 2rem;
}

.team-member .image img {
    display: block;
    border-radius: 5px;
}

.team-member label {
    align-items: start;
    cursor: pointer;
    display: grid;
    grid-gap: 0;
    grid-template-columns: 1fr;
}

.team-member .content {
    padding: 1rem;
}

.team-member input:checked ~ label,
.team-member input:hover ~ label {
    background-color: var(--charcoal);
    border-radius: 5px;
    color: white;
}

.team-member input:not(:checked) ~ label .bio-fun,
.team-member input:checked ~ label .bio {
    display: none;
}

.team-member h2 {
    margin-bottom: 0;
}

.team-member .bio,
.team-member .bio-fun {
    border-left: 2px solid var(--red);
    font-size: 0.85rem;
    margin-top: 1rem;
    padding-left: 1rem;
}

.team-member .heading {
    color: var(--orange);
}

.team-member .fun-field {
    margin-bottom: 0.5rem;
}

.award-badges-in-content {
    background-color: var(--charcoal);
    color: white;
    margin-left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: 100vw;
}

.award-badges-in-content h2,
.award-badges-in-content .subheading {
    display: none;
}

.intro-content {
    background-color: var(--charcoal);
    color: white;
    display: table;
    margin-left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: 100vw;
}

.intro-content .wp-block-group__inner-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--desktop);
    width: calc( 100% - 2rem );
}

.award-totals-by-type {
    justify-content: center;
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin: 3rem 0;
    text-align: center;
}

.award-type .count {
    font: 300 2rem var(--heading);
    display: flex;
    border: 2px solid var(--red);
    border-radius: 5px;
    width: 1.75em;
    height: 1.75em;
    margin: 0 auto 0.5rem auto;
    align-items: center;
    justify-content: center;
    padding-top: 0.25em;
}

.award-totals-by-type .label {
    opacity: 0.5;
}

.award-details {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 60px 1fr;
    margin-bottom: 4rem;
    width: 100%;
}

.award-info {
    color: rgba(0,0,0,0.75);
    font: 300 1rem var(--copy);
}

.award-project {
    font: 400 1.3125rem var(--heading);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.award-info span {
    color: rgba(0,0,0,0.5);
    display: inline-block;
    margin-right: 1rem;
}

.award-client, .award-category {
    display: flex;
}

.award-link {
    float: right;
    margin-top: 1rem;
}

.award-link a,
a.brm-button.small-button {
    background-color: black;
    border-radius: 5px;
    color: white;
    display: table;
    font: 500 1rem var(--copy);
    padding: 0.5rem;
    text-transform: uppercase;
}
    
.award-link a:hover,
a.brm-button.small-button:hover {
    background-color: var(--red);
    color: white;
    text-decoration: none;
}

.year-heading {
    padding-bottom: 2rem;
    font: normal 2.5rem var(--heading);
    letter-spacing: 0.01em;
}

.year-container:before {
    background: transparent url(../../images/underline-black.svg) center center repeat-y;
    background-size: cover;
    content: ' ';
    display: table;
    margin: 3rem 0;
    opacity: 0.25;
    padding-top: 3px;
    width: 100%;
}

.year-container:first-of-type:before {
    margin-top: 0;
}

.single-job {
    padding-bottom: 4rem;
}

.career-listing-container:after,
.career-listing-container:first-of-type:before {
    background: transparent url('../../images/underline-black.svg') center no-repeat;
    background-size: cover;
    content: ' ';
    display: block;
    height: 2px;
}

.career-listing {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    font: 300 1rem var(--copy);
    padding: 2rem 0;
}

.career-listing .column.link {
    grid-column: 1 / 4;
}

.careers-index {
    padding: 2rem 0;
}

.contact-page .content-container {
    padding: 2rem 0;
}

.contact-form-container {
    background-color: var(--off-white);
    box-shadow: 0px 10px 13px 3px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    margin-bottom: 4rem;
    padding: 2rem;
    width: 100%;
}

.social-links .social-icon {
    display: inline-block;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.contact-map {
    width: 100%;
}

.page-content h1 {
    font: 500 2rem var(--primary);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.lightbox-only {
    display: none;
}

.featherlight-inner .lightbox-only {
    display: block;
}

.asw .featherlight-content {
    max-width: var(--page);
    width: 100%;
}

.video-grid-embed {
    min-width: 75vw;
}

 .featherlight-content .video-grid-embed {
    min-width: unset;
}

.video-grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
}

.video-grid-item .poster {
    background-position: center;
    background-size: cover;
    height: 0;
    padding-top: 56.5%;
}

.video-grid-item {
    background-color: var(--charcoal);
    border-radius: 5px;
    overflow: hidden;
}

.video-grid-item .label {
    background-color: black;
    display: block;
    font-size: 1.5rem;
    padding: 0.5rem;
    text-align: center;
}

.video-grid-item .accordion {
    background-color: rgba(0,0,0,0.25);
    padding: 1rem;
}

.video-grid-item .accordion-content {
    max-height: 0;
    overflow: hidden;
}

.video-grid-item .accordion-label {
    cursor: pointer;
    display: block;
    opacity: 0.5;
    text-align: center;
    text-decoration: underline;
}

.video-grid-item input:checked ~ label ~ .accordion-content {
    max-height: 9999px;
    padding-top: 1rem;
}

.wp-block-lazyblock-contact-form {
    background-color: var(--off-white);
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.contact-section {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
    padding: 2rem 0;
}

.contact-section .form {
    background-color: white;
    border-radius: 5px;
    padding: 1rem;
}

.recent-projects,
.homepage-reviews,
.homepage-testimonials,
.homepage-rocket-sauce {
    background-color: var(--charcoal);
    color: white;
}

.asw .qubot {
    font-family: var(--secondary);
}

.asw .qubot-open {
    background-image: url('../../images/brm-chat-icon.svg') !important;
    background-size: contain !important;
    border-radius: 0;
    box-shadow: none !important;
    opacity: 0.85 !important;
    transition: opacity 250ms linear 0s;
}
.asw .qubot-open:hover {
    background-image: url('../../images/brm-chat-icon.svg') !important;
    opacity: 1 !important;
}

.asw .qubot .footer .content .container .send {
    background-size: 20px !important;
    background-position: center right !important;
}

.page-content.dark {
    background-color: var(--charcoal);
    color: white;
}

.page-content {
    display: table;
    width: 100%;
}

ul.image-list {
    list-style-type: none;
    margin: 0;
}

ul.image-list li {
    align-items: center;
    display: flex;
    margin-bottom: 1rem;
}

ul.image-list img {
    margin-right: 1rem;
    max-width: 15px;
}

.circle-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.circle-images .container {
    background-color: var(--red);
    border-radius: 50%;
    margin: 1rem;
    overflow: hidden;
    position: relative;
}

.circle-images .image {
    background-position: center;
    background-size: cover;
    filter: grayscale(1);
    height: 0;
    padding-top: 100%;
    position: relative;
    width: 100%;
    z-index: 0;
}

.circle-images .container:before {
    background-color: var(--red);
    content: ' ';
    height: 100%;
    left: 0;
    mix-blend-mode: multiply;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.mobile-cta-button {
    margin: 1rem;
    position: relative;
    z-index: 2;
}

.reviews-slider .slick-list:before,
.reviews-slider .slick-list:after {
    width: 25%;
}

header .header-cta {
    display: none;
}

.homepage-connect {
    padding: 2rem 0;
}

.video-hero {
    background-color: black;
    display: table;
    margin-left: 50%;
    width: 100vw;
    transform: translateX(-50%);
}

.footer-logo {
    margin: 2rem auto;
}

.footer-logo img {
    display: block;
    margin: 0 auto;
    max-width: 200px;
}

.video-button {
    align-items: center;
    background-color: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    display: flex;
    font-family: 'brm_video';
    font-size: 3rem;
    gap: 1rem;
    opacity: 0.75;
    position: absolute;
    top: 1rem;
    z-index: 10;
}

.video-button:hover {
    opacity: 1;
}

#unmute_button,
#mute_button {
    left: 1rem;
}

#mute_button {
    display: none;
}

#restart_button {
    right: 1rem;
}

.video-button .tip {
    display: none;
}

.video-link {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
}

.single-post-container {
    display: flex;
    flex-wrap: wrap;
}

.post-social {
    order: 1;
}

.post-content {
    order: 2;
}

.key-takeaways {
    background-color: white;
    border: 2px solid var(--taupe);
    border-radius: 3px;
    color: black;
    margin-bottom: 1rem;
    padding: 1rem;
}

.key-takeaways ol,
.key-takeaways ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.key-takeaways li {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.key-takeaways li:before {
    content: '\027E9';
    display: inline-block;
    font-weight: bold;
    margin-left: -1rem;
    margin-right: 0.65rem;
}

.key-takeaways li:nth-of-type(1):before {
    color: #FF2800;
}

.key-takeaways li:nth-of-type(2):before {
    color: #BEB7A4;
}

.key-takeaways li:nth-of-type(3):before {
    color: #0080EE;
}

.key-takeaways h3 {
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.homepage-services h1 {
    font: normal 1.5rem var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

@media screen and ( max-width: 50rem ) {
    body:not(.home) .header-cta,
    .no-mobile {
        display: none;
    }
}