* {
    margin: 0;
    box-sizing: border-box;
}

/* Navigation Menu Layout */
nav {
    width: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #0b539f;
    color: white;
    position: fixed;
    top: 0;
    z-index: 5000;
    transition: 0.2s box-shadow;
}
.upper-bar {
    width: 100%;
    background-color: #b0191b;
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 7px 0;
    display: none;
}
.fixed-nav {
    width: 80%;
    top: 0;
    margin-left: 10%;
}
.top-nav {
    padding: 3px 0;
    border-bottom: solid 1px #d5d5d5;
    font-size: 13px;
    font-weight: bold;
}
.bottom-nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 15px 0;
}

/* Cookies notification */
.cookies {
    width: 30%;
    position: fixed;
    bottom: 15px;
    left: 15px;
    border-radius: 20px;
    background-color: #dedede;
    padding: 20px;
    z-index: 2000;
    color: #0b539f;
    backdrop-filter: blur(10px);
    display: none;
}
.cookies p {
    font-size: 13px;
    display: block;
    margin: 15px 0;
}
.cookies h2 {
    font-size: 20px;
    display: block;
}
.cookies button {
    background-color: #0b539f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: block;
    border: none;
    cursor: pointer;
}

/* Nav bar animations */
@keyframes navDropdowns {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes LIVEblink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes slideInFromLeft {
    0% {
        left: -100%;
    }
    100% {
        left: 0;
    }
}

/* Navigation Menu Links */
.nav-lnk-standalone {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: none;
    padding: 10px 15px;
    margin: 0 5px;
    /* color: black; */
    color: white;
    margin-right: 20px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: bold;
}
.nav-lnk-standalone:hover {
    opacity: 0.7;
}
.nav-lnk-dropdown {
    display: inline-block;
    margin: 0 5px;
}
.baiter {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}
.baiter:hover {
    opacity: 0.7;
}
.nv-caret {
    transition: 0.3s;
    position: relative;
    display: inline-block;
    padding-left: 5px;
}
.baiter:hover .nv-caret {
    transform: rotateX(180deg);
}
.nav-lnk-dropdown:hover .popout-nav {
    display: block;
}
.subscribe-lnk {
    padding: 5px 15px;
    border: solid 1px #0b539f;
    border-radius: 5px;
    /* background-color: #0b539f;
    color: white; */
    background-color: white;
    color: #0b539f;
    text-decoration: none;
    float: right;
    position: relative;
    margin: 5px 10px;
}
.left-bottom-nav {
    display: inline-block;
    text-align: left !important;
    flex: 0 1 auto;
    width: 40%
}
.center-bottom-nav {
    display: inline-block;
    flex: 1 1 auto;
}
.center-bottom-nav img {
    display: block;
    position: relative;
    height: 60px
}
.right-bottom-nav {
    display: inline-block;
    text-align: right !important;
    flex: 0 1 auto;
    width: 40%;
}
.live-news {
    display: inline-block;
    font-size: 16px;
    /* color: #7d7d7d; */
    color: white;
    text-decoration: none;
    border: solid 1px #ccc;
    padding: 5px 15px;
    border-radius: 15px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    transition: 0.2s;
    margin: 14px 5px;
}
.live-news:hover {
    background-color: white;
    color: #0b539f;
}
.nav-live-circle {
    display: inline-block;
    position: relative;
    width: 10px;
    height: 10px;
    top: -1px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: red;
    animation: 2s LIVEblink infinite;
    animation-timing-function: linear;
    animation-fill-mode: both;
}
.search-field {
    display: inline-block;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    max-width: 70%;
    /* color: #555; */
    color: white;
    border: solid 1px #0b539f;
    transition: 0.2s;
}
.search-field svg {
    top: 5px;
    position: relative;
    display: inline-block;
}
.search-field input[type=search]{
    padding: 5px;
    background: none;
    position: relative;
    margin: 7px 0;
    margin-left: 5px;
    top: -0.5px;
    outline: none;
    width: 0;
    border: none;
    transition: 0.4s;
    color: white;
}
.search-field:hover .search-nav {
    display: inline-block;
    width: calc(100% - 40px);
}
.search-field:hover {
    border: solid 1px #ccc;
}

/* Homepage slideshow */
.home-slideshow {
    width: 100%;
    position: relative;
    max-height: 80vh;
    overflow: hidden;
}
.single-slide {
    width: 100%;
    z-index: 2;
    cursor: default;
}
.grad-cover {
    z-index: 4;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000000;
    pointer-events: none;
    background: linear-gradient(53deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.1) 100%);
}
.single-slide img {
    width: 100%;
}
.title-area {
    width: 50%;
    display: block;
    position: absolute;
    bottom: 50px;
    left: 20px;
    color: white;
    z-index: 5;
    font-family: 'IBM Plex Sans', sans-serif;
    cursor: pointer;
}
.category-home {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: red;
    display: block;
    padding: 10px 0;
}
.title-area h2 {
    font-size: 40px;
}
.title-area p {
    width: 80%;
    display: block;
    margin: 15px 0;
}
.article-meta {
    color: #797979;
}
.right-article-recs {
    display: grid;
    grid-template-columns: repeat(1,100%);
    grid-template-rows: repeat(4,19%);
    grid-gap: 30px;
    position: absolute;
    z-index: 6;
    right: 40px;
    bottom: 70px;
    width: 25%;
    font-family: 'Open Sans', sans-serif;
    background-color: rgba(199, 199, 199, 0.1);
    border-radius: 5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
}
.single-art-rec {
    width: 100%;
}
.right-article-recs > a {
    color: black;
    text-decoration: none;
}
.single-art-rec td {
    padding: 0 5px;
}
.single-art-rec:hover {
    opacity: 0.7;
}
.img-clip {
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 2px;
}
.img-clip img {
    height: 100%;
    transform: translateX(-25%);
}

/* Nav Popout */
.popout-nav {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 0 3px #ccc;
    width: 80%;
    left: 10%;
    animation: 0.2s navDropdowns;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    color: black;
    font-family: 'IBM Plex Sans', sans-serif;
    z-index: 10;
}
.news-stories-popout {
    width: 100%;
    display: table;
    padding: 5px;
}
.news-stories-popout td {
    justify-content: center;
    padding: 5px;
    vertical-align: top;
    position: relative;
}
.news-stories-popout a {
    color: black;
    text-decoration: none;
}
.news-stories-popout a:hover {
    opacity: 0.8;
}
.news-stories-popout a:hover .popout-img-clip img {
    transform: scale(1.1);
}
.popout-img-clip {
    width: 100%;
    height: 170px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    justify-content: center;
}
.popout-img-clip img {
    height: 100%;
    position: absolute;
    transform-origin: center;
    transition: 0.2s;
}
.popout-art-title {
    font-size: 17px;
    display: block;
    margin: 10px 0;
}
.popout-art-meta {
    display: block;
    margin: 5px 0;
    font-size: 13px;
    font-style: italic;
    font-family: 'Open Sans', sans-serif;
    opacity: 0.7;
}
.popout-save-later {
    position: absolute;
    top: 5px;
    left: 5px;
    border: none;
    background-color: #0b539f;
    color: white;
    padding: 3px 7px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    display: block;
    cursor: pointer;
    transition: 0.2s;
}
.popout-save-later svg {
    margin-right: 4px;
}
.popout-save-later:hover {
    font-weight: bold;
}
.po-rm-sv {
    background-color: rgb(230, 60, 60) !important;
}
.mobile-bait {
    display: none;
    color: white;
    border: none;
    background-color: #0b539f;
    cursor: pointer;
    margin-top: 5px;
    margin-left: 15px;
}

/* Collapsible nav */

@media screen and (max-width: 1200px) {
    .rm1200 {
        display: none;
    }
}

@media screen and (max-width: 1100px) {
    .rm1100 {
        display: none;
    }
}

/* Nav converts to fully mobile */

@media screen and (max-width: 950px) {
    .top-nav, .live-news, .right-bottom-nav {
        display: none;
    }
    .mobile-bait {
        display: block;
    }
    .fixed-nav {
        width: 100% !important;
        margin-left: 0 !important;
        position: relative;
    }
    .center-bottom-nav img {
        height: 30px !important;
        position: relative;
        margin: auto;
        z-index: 5001;
    }
    .center-bottom-nav {
        position: relative;
        text-align: center;
        justify-content: center;
    }
    .left-bottom-nav {
        position: absolute;
        top: 15%;
        z-index: 5002;
        max-width: 30%;
    }
    .bottom-nav {
        text-align: center;
    }
    .cookies {
        width: calc(100% - 30px);
    }
    .content-spacer {
        height: 60px !important;
    }
    .login-signup-modal {
        display: none !important;
    }
}

.mobile-blackout {
    position: fixed;
    z-index: 5001;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.3);
    display: none;
    animation: 0.3s fadeIn ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}
.mobile-nav {
    width: 70%;
    position: fixed;
    z-index: 5002;
    display: none;
    left: 0;
    background-color: #0b539f;;
    top: 0;
    left: -100%;
    height: 100vh;
    animation: 0.3s slideInFromLeft ease-out;
    animation-fill-mode: both;
    animation-iteration-count: 1;
}
.mn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    color: white;
    background-color: #0b539f;
    cursor: pointer;
    margin: 10px;
}
.mobile-nav-search {
    width: 90%;
    display: flex;
    flex-flow: row;
    position: relative;
    left: 5%;
    margin-top: 15px;
}
.mobile-nav-search input[type=search] {
    width: 80%;
    flex: 0 1 auto;
    margin: 0;
    background-color: #0b539f;
    color: white;
    font-family: 'IBM Plex Sans', sans-serif;
    border: solid 1px white;
    padding: 15px 10px;
    font-size: 15px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.mobile-nav-search input[type=submit] {
    margin: 0;
    flex: 1 1 auto;
    border: solid 1px white;
    background-color: white;
    font-size: 15px;
    font-family: 'IBM Plex Sans', sans-serif;
    padding: 15px 10px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    color: #0b539f;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.mobile-nav-links {
    width: 100%;
    display: block;
    margin-top: 15px;
}
.mobile-nav-links a {
    width: 100%;
    display: block;
    margin: 5px 0;
    padding: 10px 20px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: white;
    text-decoration: none;
}
.mobile-hr {
    width: calc(100% - 40px);
    height: 1px;
    background-color: #ccc;
    display: block;
    border-radius: 0.25px;
    margin: 20px 10px;
    margin-left: 20px;
}
.mobile-nav-socials {
    width: 100%;
    padding: 20px;
    display: block;
    color: white;
}
.mobile-nav-socials a {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 10px 20px;
    margin-left: 0;
}
.content-spacer {
    display: block;
    height: 139px;
    width: 100%;
    background: none;
    z-index: 1;
}
/* Login modal */
.login-signup-modal {
    width: 50%;
    display: none;
    flex-flow: row;
    position: fixed;
    left: 25%;
    background-color: white;
    box-shadow: 0 0 10px #ccc;
    z-index: 5010;
    overflow: hidden;
    border-radius: 5px;
    font-family: 'IBM Plex Sans', sans-serif;
    transition: 0.2s;
}
.login-signup-modal > img {
    width: 40%;
    flex: 0 1 auto;
    transition: 0.2s;
}
.right-portal-modal {
    flex: 1 1 auto;
}
.user-login-modal {
    display: block;
}
.user-signup-modal {
    display: none;
}
.user-login-modal, .user-signup-modal {
    width: 100%;
    height: 100%;
    padding: 20px 40px;
}
.modal-title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    color: black;
}
.login-signup-modal form {
    display: block;
    width: 100%;
}
.login-signup-modal ::placeholder {
    color: white;
}
.login-signup-modal input[type=text], .login-signup-modal input[type=password], .login-signup-modal input[type=email]{
    width: 100%;
    display: block;
    border: solid 1px #0b539f;
    border-radius: 5px;
    background-color: #0b539f;
    margin: 15px 0;
    padding: 15px 30px;
    outline: none;
    color: white;
    font-family: 'IBM Plex Sans', sans-serif;
}
.login-signup-modal input[type=text]:focus, .login-signup-modal input[type=password]:focus, .login-signup-modal input[type=email]:focus {
    background-color: white;
    color: black;
}
.login-signup-modal input[type=text]:focus::placeholder, .login-signup-modal input[type=password]:focus::placeholder, .login-signup-modal input[type=email]:focus::placeholder {
    color: #0b539f;
}
.login-signup-modal label {
    display: block;
    width: 100%;
    margin: 10px 0;
}
.login-signup-modal input[type=submit]{
    background-color: #0b539f;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
}
.close-login-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    color: black;
    background-color: white;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.close-login-modal:hover {
    transform: scale(0.9);
}
.switch-modal {
    border: none;
    background-color: white;
    color: black;
    font-style: italic;
    margin-top: 10px;
    text-decoration: underline;
    text-decoration-style: dotted;
    cursor: pointer;
}
.switch-modal:hover {
    text-decoration-style: solid;
}