﻿:root {
    --UHV-red: #e1251b;
    --UHV-dark-red: #DA291C;
    --COB-blue: #3C7295;
    --black: #000000;
    --white: #ffffff;
    --scrollbar-width: calc(100vw - 100%);
    --viewport-width: calc(100vw - var(--scrollbar-width));
    font-family: 'Montserrat', sans-serif;
}

/* Responsive */

/* CSS kicks in when the device is 1921px and above */
@media only screen and (min-width: 1921px) {
    .card.is-zoomed > .card__header {
        height: 50em;
    }

    .card.is-zoomed {
        border-top-left-radius: 0.5em;
        border-top-right-radius: 0.5em;
        height: calc(100vh - 3em) !important;
        left: calc((100vw - 45%) / 2) !important;
        top: 3em !important;
        width: 45% !important;
    }

    .uhv-magazine-title {
        width: 20%;
    }
}

/*CSS kicks in when the device is 1920 and below*/
@media only screen and (max-width: 1920px) {
    .card.is-zoomed > .card__header {
        height: 50em;
    }

    .card.is-zoomed {
        border-top-left-radius: 0.5em;
        border-top-right-radius: 0.5em;
        height: calc(100vh - 3em) !important;
        left: calc((100vw - 70%) / 2) !important;
        top: 3em !important;
        width: 70% !important;
    }    
}

/*CSS kicks in when the device is 1200 and below*/
@media only screen and (max-width: 1200px) {
    .width-12\/12.width-12\/12\@m .card__header {
        height: 40rem;
    }

    .card__header {
        height: 25em;
    }
}

/*CSS kicks in when the device is 1024 and below*/
@media only screen and (max-width: 1024px) {
    .uhv-magazine-cover-image {
        width: 100%;
    }

    .uhv-magazine-title {
        width: 40%;
    }

    .grid {
        width: 95%;
    }

    .card__header.first-article {
        height: 42em;
    }

    .card.is-zoomed {
        border-top-left-radius: 0.5em;
        border-top-right-radius: 0.5em;
        height: calc(100vh - 3em) !important;
        left: calc((100vw - 85%) / 2) !important;
        top: 3em !important;
        width: 85% !important;
    }

    .imageFloatLeft, .imageFloatRight {
        max-width: 450px;
        width: 100%;
    }
}

/*CSS kicks in when the device is 820 and below*/
@media only screen and (max-width: 820px) {
    .uhv-magazine-cover-image {
        width: 100%;
    }

    .uhv-magazine-title {
        width: 40%;
    }

    .grid {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 90%;
    }

    .width-12\/12 {
        padding-left: 0;
        padding-top: 3.5em;
        width: 100%;
    }

        .width-12\/12.width-6\/12\@m:nth-of-type(even) {
            padding-right: 0;
        }

        .width-12\/12.width-6\/12\@m:nth-of-type(odd) {
            padding-left: 0;
        }

    .card__header.first-article {
        height: 42em;
    }

    .card__header {
        height: 32em;
    }

    .imageFloatLeft, .imageFloatRight {
        max-width: unset;
        width: 100%;
    }
}

/*CSS kicks in when the device is 768 and below*/
@media only screen and (max-width: 768px) {
    .card__text h2 {
        font-size: 2.5rem;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .card__text > p > .pullquote {
        font-size: 1.75em;
        margin: 1em 0 1.3em 0;
        padding: 1.3em 0.5em 1.3em 0.5em;
    }

    .uhv-magazine-cover-image {
        width: 100%;
    }

    .uhv-magazine-logo {
        max-width: 30%;
    }

    .uhv-magazine-title {
        width: 50%;
        z-index: 1;
    }

    #wrapper {
        padding-bottom: 0;
    }

    .talk-bubble {
        margin: 1rem auto;
        padding: 2rem;
        width: 100%;
    }

    footer > .container {
        padding: 0 1.5rem;
        width: 100%;
    }

    .row {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
    }
}

/*CSS kicks in when the device is 480 and below*/
@media only screen and (max-width: 480px) {
    .uhv-magazine-cover-image {
        width: 100%;
    }

    .uhv-magazine-logo {
        max-width: 30%;
    }

    .uhv-magazine-title {
        width: 50%;
        z-index: 1;
    }

    .grid {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
    }

    .width-12\/12 {
        padding-left: 0;
        padding-top: 3.5em;
        width: 100%;
    }

        .width-12\/12.width-6\/12\@m:nth-of-type(even) {
            padding-right: 0;
        }

        .width-12\/12.width-6\/12\@m:nth-of-type(odd) {
            padding-left: 0;
        }

    .card__header.first-article {
        height: 20em;
    }

    .card__header {
        height: 20em;
    }

    .card__title.lead-story {
        font-size: 1.5rem;
    }

    .card__sub-title {
        font-size: 1.05em;
    }

    .card__text h2 {
        text-wrap: wrap;
    }

    .imageFloatLeft, .imageFloatRight {
        width: 100%;
    }
}

/*CSS kicks in when the device is 375 and below*/
@media only screen and (max-width: 375px) {
    .uhv-magazine-cover-image {
        width: 100%;
    }

    .uhv-magazine-logo {
        max-width: 30%;
    }

    .uhv-magazine-title {
        width: 50%;
        z-index: 1;
    }

    .grid {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
    }

    .width-12\/12 {
        padding-left: 0;
        padding-top: 3.5em;
        width: 100%;
    }

    .width-12\/12.width-6\/12\@m:nth-of-type(even) {
        padding-right: 0;
    }

    .width-12\/12.width-6\/12\@m:nth-of-type(odd) {
        padding-left: 0;
    }

    .card__header.first-article {
        height: 20em;
    }

    .card__header {
        height: 18em;
    }

    .card__title.lead-story {
        font-size: 1.25rem;
    }

    .card__sub-title {
        font-size: 1em;
    }
}