/*
Theme Name: Covid Theme
Author: the WordPress team
Description: A basic theme for the covid website.
Version: 1.0l
Text Domain: covidtheme
*/

:root {
    --rg-green: #75FBC2;
    --rg-green-light: #67CDFA;

    --rg-blue: #5F7DB8;
    --rg-blue-light: #4C6D97;
    --rg-blue-lighter: #81A9FF;

    --rg-grey: #343a40;
    --rg-grey-light: #999;
    --rg-grey-lighter: #ccc;
    --rg-neutral: #777;
    --rg-border: #ddd;

    --rg-text: #444;
    --rg-text-dark: #111;

    --rg-brand: var(--rg-blue);
    --rg-brand-light: var(--rg-blue-light);
    --rg-brand-lighter: var(--rg-blue-lighter);
    --rg-brand-hover: var(--rg-blue-light);

    --rg-gradient: linear-gradient(90deg, var(--rg-brand-light) 1%, var(--rg-brand) 100%);
}

* {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    box-sizing: border-box;
}
html {
    
}
body {
    text-align: left;
}

a {
    color: var(--rg-brand);
    text-decoration: none;
    transition: color .333s;
}
a:hover {
    color: var(--rg-brand-hover);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--rg-grey);
}
h1 a, h2 a, h3 a, h4 a, h5 a {
    color: var(--rg-grey);
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
    color: var(--rg-grey-dark);
    text-decoration: none;
}
h6 {
    color: var(--rg-neutral);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}
h6 a {
    color: var(--rg-neutral);
}
h6 a:hover {
    color: var(--rg-text);
    text-decoration: none;
}
p {
    color: var(--rg-text);
}

#ttr_sidebar {
    border-left: 1px solid black;
}
#ttr_footer {
    width: 100%;
    border-top: 1px var(--rg-border) solid;
    text-align: center;
    margin-top: 64px;
}
#ttr_footer p {
    height: 55px;
    line-height: 55px;
    color: var(--rg-grey-light);
    font-size: 13px;
}

.gradient-header {
    background-color: var(--rg-brand);
    background: var(--rg-gradient);
}

.logo {
    height: auto;
    width: 170px;
    margin: 20px 0 30px 0;
}

.menu-primary-menu-container {
    text-align: right;
}
ul.menu {
    text-align: center;
    display: inline;
    padding: 0;
}
li.menu-item {
    display: inline;
    list-style-type: none;
}
li.menu-item.menu-icon {

}
li.menu-item.menu-icon .bi-x {
    opacity: 0;
}
li.menu-item a {
    display: inline-block;
    height: 55px;
    line-height: 55px;
    padding: 0 12px;
    color: white;
    font-size: 15px;
    letter-spacing: .03em;
    border-bottom: 0px solid transparent;
    transition: border .333s, height .333s, opacity .333s, background-color .333s, visibility .333s
}
li.menu-item a:hover {
    text-decoration: none;
    border-bottom: 4px solid white;
}
li.menu-item.current-menu-item a {
    background-color: rgba(255,255,255,.333);
}
.navbar {
    font-size: 17px;
    height: 55px;
    max-height: 55px;
    padding: 0 !important;
}
.navbar a {
    color: black;
}
.navbar label {
    display: none;
}
.navbar form#searchform {
    margin: 0;
    padding-left: 12px;
}
.navbar form#searchform input#s {
    background-color: transparent;
    border: 0 none;
    outline: none;
    color: white;
    letter-spacing: 1px;
    height: 48px;
    font-size: 15px;
    line-height: 15px;
    padding: 0 12px;
    margin: 0;
    border-bottom: 4px solid transparent;
    transition: all .333s;
}
.navbar form#searchform input#s:hover,
.navbar form#searchform input#s:focus {
    border-bottom: 4px solid white;
}
.navbar form#searchform input#s::-webkit-input-placeholder {
    color: white;
    font-style: italic;
}
.navbar form#searchform input#s:-ms-input-placeholder {
    color: white;
    font-style: italic;
}
.navbar form#searchform input#s::placeholder {
    color: white;
    font-style: italic;
}
.navbar form#searchform button#searchsubmit {
    width: auto;
    height: 25px;
    padding: 0 0 3px 1px;
    margin: 15px 0 0 0;
    background-color: transparent;
    border: 0 none;
    outline: none;
    color: white;
    font-size: 25px;
}
#menu-primary-menu li.menu-item a[href="/search"] {
    display: none;
}
@media (min-width: 992px) {
    li.menu-icon {
        display: none;
    }
}
@media (max-width: 1199px) {
    li.menu-item a {
        font-size: 13px;
        padding: 0 7px;
    }
    .navbar form#searchform input#s {
        font-size: 13px;
        line-height: 13px;
    }
}
@media (max-width: 991px) {
    .menu-primary-menu-container {
        width: 100%;
        text-align: center;
    }
    .navbar form#searchform {
        display: none;
    }
    #menu-primary-menu li.menu-item a[href="/search"] {
        display: inline-block;
    }
    #menu-primary-menu li.menu-item a[href="/search"] {
        display: block;
    }
    .navbar {
        height: auto;
        max-height: none;
    }
    ul.menu {
        max-height: 55px;
    }
    ul.menu.open {
        max-height: none;
    }
    li.menu-item {
        
    }
    li.menu-item.menu-icon {
        position: relative;
    }
    li.menu-item.menu-icon a {
        cursor: pointer;
        font-size: 25px;
        line-height: 55px;
    }
    li.menu-item.menu-icon .bi {
        position: absolute !important;
        left: 50%;
        transform: translateX(-50%);
        opacity: 1;
        font-weight: normal;
        position: relative;
        top: 16px;
        transition: opacity .5s;
    }
    ul.menu li.menu-item.menu-icon .bi-list,
    ul.menu.open li.menu-item.menu-icon .bi-x {
        opacity: 1;
    }
    ul.menu.open li.menu-item.menu-icon .bi-list,
    ul.menu li.menu-item.menu-icon .bi-x {
        opacity: 0;
    }
    li.menu-item a {
        display: block;
        margin: 0 36px;
        height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        border-bottom: 0px solid transparent;
        font-size: 15px;
    }
    li.menu-item.menu-icon a {
        display: block;
        height: 55px;
        opacity: 1;
        visibility: visible;
    }
    ul.menu.open li.menu-item {
        
    }
    ul.menu.open li.menu-item a {
        height: 55px;
        opacity: 1;
        visibility: visible;
    }
    ul.menu.open li.menu-item a:hover {
        
    }
}

#ChartContainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: .5rem;
    text-align: center;
    margin-bottom: 1rem;
    margin: auto;
    width: 75%;
}

.thumbnail-wrap {
    display: inline-block;
    width: auto;
    height: auto;
}
.first_thumbnail,
.other_thumbnail {
    width: 100%;
    object-fit: cover;
}
.first_thumbnail {
    height: 300px;
}
.other_thumbnail {
    height: 220px;
    margin-bottom: 24px;
}

.post-excerpt {
    margin-top: 64px;
}
.post-excerpt-body {
    /*height: 300px;
    max-height: 300px;
    overflow-x: auto;*/
}
.post-excerpt-body a {
    color: var(--rg-text);
}
.post-excerpt-body a:hover {
    color: var(--rg-text-dark);
    text-decoration: none;
}

ul.ticker {
    padding: 12px;
    margin-bottom: 24px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
}
ul.ticker li {
    display: inline;
    list-style-type: none;
    padding: 0 12px;
    letter-spacing: 1px;
    font-size: 14px;
}
ul.ticker li img.svg-flag-image,
ul.ticker li img.svg-flag-state-image {
    height: 1em !important;
    width: auto !important;
    display: inline !important;
    position: relative !important;
    top: -1px !important;
    padding-right: .25em !important;
}
ul.ticker.stop-marquee() {
    text-indent: 0 !important;
}

.rg-plans {
    margin-top: 24px;
}
.rg-plan {
    text-align: center;
}
.rg-plan-value {
    color: var(--rg-brand-lighter);
    background-color: var(--rg-grey);
    display: inline-block;
    margin: 0 auto;
    height: 24px;
    line-height: 24px;
    font-size: 13px;
    padding: 0 12px;
    margin: 0;
    font-weight: bold;
}
.rg-plan-body {
    position: relative;
    max-width: 300px;
    border: 1px solid var(--rg-grey-light);
    margin: 24px auto;
    padding: 24px 0;
}
.rg-plan-body-recommended {
    margin-top: 0;
}
.rg-plan-term {
    color: var(--rg-neutral);
    font-size: 13px;
}
.rg-plan-features {
    list-style-type: none;
    padding: 0 12px;
    margin-bottom: 70px;
}
.rg-plan-feature svg {
    position: relative;
    top: -1px;
    margin-right: 4px;
}
.rg-plan-feature-enabled svg {
    fill: var(--rg-brand-light);
}
.rg-plan-feature-disabled {
    color: var(--rg-grey-light);
}
.rg-plan-feature-disabled svg {
    fill: var(--rg-grey-light);
    height: 13px;
    width: 13px;
}
.rg-plan-button a {
    display: block;
    padding: 0;
    margin: 0;
    height: 70px;
    line-height: 70px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--rg-text);
    color: var(--rg-border);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color .5s, -background .5s, height .5s, line-height .5s, bottom .5s;
}
.rg-plan-button a:hover {
    color: white;
    text-decoration: none;
    background-color: var(--rg-text-dark);
    height: 84px;
    line-height: 84px;
    bottom: -14px;
}
.rg-plan-body-recommended .rg-plan-button a {
    background-color: var(--rg-brand);
    background: var(--rg-gradient);
    color: var(--rg-border);
}
.rg-plan-body-recommended .rg-plan-button a:hover {
    color: white;
    background: var(--rg-brand);
}

.slideshow {
    width: 100%;
    height: 700px;
}
.slideshow-slide {
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.slideshow-slide-content {
    text-align: center;

    /*position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 24px;
    margin: 0 25%;*/

    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px 12%;
    margin: 0;

    background-color: white;
    background-color: rgba(255,255,255,.7);
    transition: background .5s;
}
.slideshow-slide-content:hover {
    background-color: white;
    background-color: rgba(255,255,255,.8);
}
.slideshow-slide-content a:hover {
    text-decoration: none;
}
.slideshow-slide-content a:hover * {
    color: black;
}
.slick-prev:before,
.slick-next:before {
    color: var(--rg-grey);
    content: '';
}

.wp-block-gallery .blocks-gallery-item figure {
    height: auto;
}
.blocks-gallery-item img {
    
}


/* search */
.search-form {

}
.search-form form {
    width: 100%;
    white-space: nowrap;
}
.search-form form button,
.search-form form input {
    border: 0 none;
    height: 2em;
    line-height: 2em;
    padding: 0 1em;
}
.search-form form button {
    display: inline-block;
    width: 4em;
    float: right;
    background-color: var(--rg-brand);
    background: var(--rg-gradient);
    color: white;
}
.search-form form input {
    display: inline-block;
    width: calc(100% - 4em);
    float: left;
    background-color: #eee;
}