﻿
:root {
    --UHV-red: #e1251b;
    --UHV-dark-red: #DA291C;
    --UHV-gold: #BB9C59;
    --COB-blue: #3C7295;
    --black: #000000;
    --white: #ffffff;
    --scrollbar-width: calc(100vw - 100%);
    --viewport-width: calc(100vw - var(--scrollbar-width));
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.5;
    margin: 0 auto;
    width: var(--viewport-width);
}
  
.skip-to-main-content-link {
    background-color: var(--white);
    border: 2px var(--uni-red) solid;
    border-radius: 15px;
    color: var(--black);
    left: -9999px;
    opacity: 0;
    padding: 1em;
    position: absolute;
    z-index: 999;
}
  
.skip-to-main-content-link:focus {
    border: 2px var(--uni-red) solid;
    left: 50%;
    opacity: 1;
    transform: translateX(-50%);
    z-index: 1002;
}

/* Fonts */
@font-face {
    font-family: "Maytra";
    /*src: url("https://webprod.uhv.edu/magazine/fonts/Maytra.otf") format("opentype"), url("https://webprod.uhv.edu/magazine/fonts/Maytra.ttf") format("truetype");*/
}

/* General Style Items */
h1, h2, h3, h4 {
    margin: 0;
}
  
.magazine-heading {
  color: #fff;
  font-size: 6rem;
  text-align: center;
}

.card__text h2 {
    color: var(--UHV-red);
    font-family: "Maytra", "Montserrat", sans-serif;
    font-size: 3.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-wrap: nowrap;
}

p + p {
    margin-top: 1.4em;
}

.redText, .red {
    color: var(--UHV-red);
}

.bold {
    font-weight: 600;
}

* {
    box-sizing: border-box;
    /*margin: 0;
    padding: 0;*/
}

#wrapper {
    background-image: url("https://webprod.uhv.edu/magazine/images/online-magazine-bkg-6.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    margin: 0 auto;
    max-width: 1920px;
    padding-bottom: 4rem;
    padding-top: 3rem;
}

/* Main Article Image */
header .header-section {
    align-items: flex-end;
    background-color: rgba(236,236,236,0.75);
    box-shadow: 0 0.25em 2em rgba(0, 0, 0, 0.4);
    display: flex;
    width: 100%;
}

.uhv-magazine-cover-image {
    display: block;
    height: 100%;
    margin: auto;
    object-fit: cover;
    width: 100%;
    z-index: 0;
}

.uhv-magazine-logo {
    display: block;
    left: 0;
    margin: auto;
    max-width: 25%;
    position: absolute;
    right: 0;
    top: 0.75rem;
    width: auto;
    z-index: 1;
}

.uhv-magazine-title {
    display: block;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 35%;
    z-index: 1;
}

/* Articles */
.card {
    background: #fff;
    border-radius: 0.5em;
    box-shadow: 0 0.5em 3em rgba(0,0,0,0.4);
    cursor: pointer;
    overflow: hidden;
    transition: top, left, width, height, border-radius;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
    z-index: 1;
}

    /*.card:hover {
        box-shadow: 0 0.25em 2em rgba(225,37,27,0.4);
        transition: all ease 500ms;
    }*/

    .card.is-zoomed {
        border-radius: 0;
        cursor: default;
        height: 100% !important;
        left: 0 !important;
        overflow-y: scroll;
        top: 0 !important;
        width: 100% !important;
    }

/* CSS kicks in when the device is 960px and above */
@media (min-width: 960px) {
    .card.is-zoomed {
        border-top-left-radius: 0.5em;
        border-top-right-radius: 0.5em;
        height: calc(100vh - 3em) !important;
        left: calc((100vw - 76%) / 2) !important;
        top: 3em !important;
        width: 76% !important;
    }
}

.card__header {
    background-size: cover;
    background-position-x: center;
    display: flex;
    flex-direction: column;
    height: 20em;
    justify-content: flex-end;
}

.card__header .story-image {
    height: 100%;
    object-fit: cover;
    opacity: 0;
    width: 100%;
}

/* CSS kicks in when the device is 1280px and above */
@media (min-width: 1280px) {
    .width-12\/12.width-12\/12\@m .card__header {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 45rem;
    }

    .card__header {
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        height: 30em;
    }

    .card.is-zoomed > .card__header {
        height: 45em;
    }
}

.card:hover .card__caption, .card:hover .card__sub-title {
    color: var(--UHV-dark-red);
    transition: all ease 500ms;
}

.card__caption {
    background: rgba(255, 255, 255, 0.9);
    padding: 1em 1.5em;
    transition: all ease 500ms;
}

.card__title.lead-story {
    font-size: 2rem;
    font-weight: 500;
}

.card__title {
    font-size: 1.5rem;
    font-weight: 500;
}

.card__sub-title {
    color: #666;
    font-size: 0.85em;
    font-weight: 400;
    margin-top: 0.25em;
    transition: all ease 500ms;
}

.card__body {
    max-height: 0;
    overflow: hidden;
}

.is-zoomed .card__body {
    max-height: 100%;
    overflow: visible;
}

.card__text {
    padding: 1.5em;
}

    .card__text > p > .pullquote {
        border-style: solid;
        border-width: 0;
        border-bottom: 3px solid var(--UHV-gold);
        border-top: 3px solid var(--UHV-gold);
        color: var(--UHV-red);
        display: flex;
        font-size: 1.9em;
        font-weight: 400;
        line-height: 1.5em;
        margin: 1em 1em 1.3em;
        padding: 1.3em 1em 1.3em 1em;
        position: relative;
        width: auto;
    }

        .card__text > p > .pullquote::before {
            background: #fff;
            color: var(--UHV-red);
            content: "\201C";
            font-family: Georgia,Times,"Times New Roman",serif;
            font-size: 4em;
            height: 3rem;
            left: 10%;
            line-height: .85em;
            position: absolute;
            text-align: center;
            top: 4px;
            transform: translate(-50%,-50%);
            width: 8rem;
        }

        .card__text > p > .pullquote:after {
            background: #fff;
            color: var(--UHV-red);
            content: "\201D";
            font-family: Georgia,Times,"Times New Roman",serif;
            font-size: 4em;
            height: 3rem;
            right: 0%;
            line-height: .85em;
            position: absolute;
            text-align: center;
            top: 100%;
            transform: translate(-50%,-50%);
            width: 8rem;
        }

.card__close {
    background: url("../images/close-circle.svg") no-repeat;
    border: none;
    cursor: pointer;
    display: none;
    height: 4em;
    padding: 0;
    position: absolute;
    text-indent: -999em;
    top: 1em;
    right: 1em;
    width: 4em;
}

.is-zoomed .card__close {
    display: block;
}

.zoomer-overlay {
    background: #fff;
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    transition: opacity 0.5s;
    top: 0;
}

    .zoomer-overlay.is-active {
        opacity: 0.9;
        pointer-events: auto;
    }

.grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: -3.5em;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

.width-12\/12 {
    padding-left: 3.5em;
    padding-top: 3.5em;
    width: 100%;
}

    .width-12\/12.width-12\/12\@m:first-of-type {
        padding-left: 0;
    }

    .width-12\/12:nth-of-type(even) {
        padding-left: 0;
    }

    .width-12\/12.width-6\/12\@m:nth-of-type(even) {
        padding-right: 1.75em;
    }

    .width-12\/12.width-6\/12\@m:nth-of-type(odd) {
        padding-left: 1.75em;
    }


/* CSS kicks in when the device is 960px and above */
@media (min-width: 960px) {
    .width-5\/12\@m {
        width: 41.6666667%;
    }

    .width-6\/12\@m {
        width: 50%;
    }

    .width-7\/12\@m {
        width: 58.3333333%;
    }

    .width-12\/12\@m {
        width: 100%;
    }
}

/* MISC */
.date {
    color: gray;
    text-transform: uppercase;
}

.headline {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 0.85em;
    padding: 0.2em 0;
}

.imageFloatLeft {
    float: left;
    margin: 0 2rem 1rem 0;
    max-width: 600px;
}

.imageFloatRight {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 600px;
}

/* Footer *********************************/
.footer {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    width: 100%;
}

.container {
    max-width: 1320px;
    padding: 1.5rem;
    width: 100%;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 2rem;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.footer-col {
    flex: 0 0 auto;
    padding: 0 15px;
    width: 25%;
}

.copyright-heading {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.links-heading {
    border-bottom: 2px #e1251b solid;
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.copy-right {
    font-size: 0.85rem;
    margin-top: 0;
}

.list-style {
    font-size: 1rem;
    font-weight: 300;
    list-style-type: none;
    padding-left: 5px;
}

.footer-col ul.list-style li:not(:last-child) {
    margin-bottom: 0.5rem;
}

.footer-col ul.list-style li a {
    color: #ddd;
    display: block;
    text-transform: capitalize;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-col ul.list-style li a:hover {
        color: #FFF;
        padding-left: 7px;
    }

.footer-col .social-links a {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    height: 40px;
    /*line-height: 40px;*/
    margin: 0 10px 10px 5px;
    padding: 8px;
    text-align: center;
    transition: all 0.5s ease;
    width: 40px;
}

    .footer-col .social-links a:hover {
        color: #151515;
        background-color: #FFF;
    }

a.t4Edit-page, a.t4Edit-page:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* CSS talk bubble */
.talk-bubble {
    background-color: #8c181b;
    border-radius: 0.75rem;
    box-shadow: 7px 7px #dcc723;
    color: #fff;
    display: block;
    height: auto;
    margin: 1rem 1.85rem;
    padding: 2rem;
    position: relative;
    width: 95%;
}

.tri-right.left-in:after {
    bottom: auto;
    border: 12px solid;
    border-color: #8c181b #8c181b transparent transparent;
    content: ' ';
    height: 0;
    left: -20px;
    position: absolute;
    right: auto;
    top: 38px;
    width: 0;
}