/*
Theme Name: Covid Reason theme 3
Author: the WordPress team
Description: The new theme for Rational Ground, with better ideas...
Version: 1.0l
*/

@font-face {
    font-family: 'Gilroy';
    font-weight: bold;
    src: url("fonts/Gilroy/Gilroy-Bold.woff") format("woff"),
        url("fonts/Gilroy/Gilroy-Bold.ttf") format("ttf"),
        url("fonts/Gilroy/Gilroy-Bold.eot") format("eot");
}
@font-face {
    font-family: 'Gilroy';
    font-weight: 800;
    src: url("fonts/Gilroy/Gilroy-ExtraBold.woff") format("woff"),
        url("fonts/Gilroy/Gilroy-ExtraBold.ttf") format("ttf"),
        url("fonts/Gilroy/Gilroy-ExtraBold.eot") format("eot");
}
@font-face {
    font-family: 'Gilroy';
    font-weight: 500;
    src: url("fonts/Gilroy/Gilroy-Medium.woff") format("woff"),
        url("fonts/Gilroy/Gilroy-Medium.ttf") format("ttf"),
        url("fonts/Gilroy/Gilroy-Medium.eot") format("eot");
}
@font-face {
    font-family: 'Gilroy';
    font-weight: 300;
    src: url("fonts/Gilroy/Gilroy-Light.woff") format("woff"),
        url("fonts/Gilroy/Gilroy-Light.ttf") format("ttf"),
        url("fonts/Gilroy/Gilroy-Light.eot") format("eot");
}

@font-face {
    font-family: 'Lato';
    font-weight: 300;
    src: url("fonts/Lato/Lato-Light.woff") format("woff"),
        url("fonts/Lato/Lato-Light.ttf") format("ttf"),
        url("fonts/Lato/Lato-Light.eot") format("eot");
}
@font-face {
    font-family: 'Lato';
    font-weight: 400;
    src: url("fonts/Lato/Lato-Regular.woff") format("woff"),
        url("fonts/Lato/Lato-Regular.ttf") format("ttf"),
        url("fonts/Lato/Lato-Regular.eot") format("eot");
}
@font-face {
    font-family: 'Lato';
    font-weight: bold;
    src: url("fonts/Lato/Lato-Bold.woff") format("woff"),
        url("fonts/Lato/Lato-Bold.ttf") format("ttf"),
        url("fonts/Lato/Lato-Bold.eot") format("eot");
}

@font-face {
    font-family: 'Lora';
    font-weight: 400;
    src: url("fonts/Lora/Lora-Regular.woff") format("woff"),
        url("fonts/Lora/Lora-Regular.ttf") format("ttf"),
        url("fonts/Lora/Lora-Regular.eot") format("eot");
}

* {
    box-sizing: border-box;
}


/* Body and major post */
body {
    font-family: 'Lato', sans-serif;
    font-size:20px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    min-width: 320px;
    background-color: #1f1f24;
    color: #dcdada;
}

h3 {
    font-size:24px;
}

img {
    max-width: 100%;
}

a {
    transition: all .3s;
    color: #e2f955;
}

body.not_post {
    background-color: #1F1F24;
}
body.team {
    background-color: #000;
}

body.about,
.header-container  {
    background-color: #0b0a0a;
    position: relative;
}

/* .header-container {
    background-image: url(images/Rectangle_30.png);
    background-size: cover;
    background-position: center;
} */

body.post {
    background-color: #f2f2f5;
}


span.wpp-views {
    color: white;
}

.page_text_label {
    display: flex;
    align-items: center;
    width: 100%;
    font-family:'Gilroy';
    font-weight: bold;
    font-size:18px;
    margin-bottom:48px;
    text-transform: uppercase;
    margin-top: 16px;
    letter-spacing: 2px;
}

.divider {
    background:rgba(255,255,255,0.2);
    height:1px;
    max-width:1200px;
    margin:0 auto;
    width:100%;
}

.flex-container {
    display:flex;
}

.flex-container.center {
    display:flex;
    justify-content: center;
    align-items: flex-start;
}

section:not(.subscriber_image_wrap) {
    margin:0 auto;
    max-width:1270px;
    padding:70px 20px 30px;
}
.small-txt {
    display: inline-block;
    text-transform: lowercase;
    margin-left: 5px;
}

.wpp-post-title {
    color:#fff!important;
    font-size:24px;
    text-decoration: none;
}

.wrapper-960 {
    max-width: 960px;
    margin:0 auto;
}

.wrapper-1250 {
    max-width: 1250px;
    margin: 0 auto;
}

img.first_thumbnail {
    object-fit: cover;
    height: 100%;
}

/* for the header */
nav.header {
    align-items: center;
    color: white;
    display: flex;
    justify-content: space-between;
    margin:0 auto;
    max-width:1380px;
    padding:0 20px;
    position: relative;
}

.header #searchform,
nav.header .icon {
    display: none;
    transition: all .5s;
    cursor: pointer;
}
nav.header .icon.active {color: #111;}
.header__logo img {height: 175px;}
.header .header-menu > ul {padding: 0;}
.header .header-menu > ul > li {
    display: inline-block;
    list-style-type: none;
    margin: 0 23px;
    position: relative;
}
.header .header-menu li.menu-item-has-children:before {
    content: '';
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid #fff;
    border-bottom: none;
    top: calc(50% - 1px);
    right: -12px;
}
.header .header-menu  .bi-x {opacity: 0;}
.header .header-menu a {
    display: inline-block;
    color: white;
    font-size: 15px;
    line-height: 2;
    letter-spacing: .03em;
    border-bottom: 1px solid transparent;
    text-decoration: none;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
}
.header .header-menu > ul > .current-menu-item > a {border-bottom: 2px solid #fff;}
/* .header form {
    margin: 0 auto;
    display: block;
}
.header form input {
    background-color: transparent;
    border: 0 none;
    outline: none;
    color: white;
    letter-spacing: 1px;
    height: 48px;
    font-size: 15px;
    padding-top: 15px;
    margin: 0;
    border-bottom: 4px solid transparent;
    transition: all .333s;
}
.header form button {display: none;} */

.header-menu {margin-left: auto;}

/* Sub menu */
ul.sub-menu{
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s ease;
    /* display: none; */
    min-width: 210px;
    background-color: #292929;
    padding: 25px 30px;
    border-bottom: 3px solid #EF7C35;
}

ul.menu li.menu-item-has-children:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 2;
    /* display: block; */
}

.header ul.sub-menu li {
    clear: both;
    width: 100%;
    display: block;
    margin: 0;
}
.header ul.sub-menu li:not(:last-child) {margin-bottom: 10px;}
.header ul.sub-menu li a {
    color: #ddd;
    display: block;
}
.header ul.sub-menu li a:hover {color: #fff;}

/* for the footer */

section.footer {
    background-color: #1f1f24 !important;
    color:#fff;
    max-width:none;
    width: 100%;
    padding: 15px;
}

section.footer .copyright {
    align-items: center;
    display:flex;
    width:350px;
    max-width: 100%;
}
section.footer .copyright p {
    font-family:'Gilroy';
    font-weight: 300;
    margin-left:10px;
    font-size: 17px;
    margin-bottom: 0;
}

section.footer img {
    width: 101px; /* 45 or 101*/
    height: auto;
}

nav.footer p {float: left;}
.footer-menu {margin-left: auto;}
.footer-menu .sub-menu {display: none !important;}
.footer .flex-container {
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}


.footer .footer-menu ul {padding: 0;}
.footer .footer-menu li {
    display: inline;
    list-style-type: none;
}
.footer .footer-menu  .bi-x {opacity: 0;}
#container.not_post {
    color: white;
    clear:both;
}
.major_post_wrapper {padding:25px 20px 0;}
.major_post {
    max-width:1170px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
}
.major_post .header-image {
    height: 455px;
    width: 385px;
    flex-shrink: 0;
}

.major_post .header-image > img {
    width:100%;
    filter: brightness(.7);
}

.major_post_info {
    display:inline-block;
    margin-left: 30px;
}

.major_post_info h1 {
    font-family: 'Gilroy';
    font-weight: 800;
    margin-left: -125px;
    letter-spacing: -0.5px;
    font-size: 72px;
    line-height: 80px;
    margin-top: 32px;
    margin-bottom: 25px;
}
.major_post_info h1 a {
    color: #fff;
    text-decoration: none;
    position: relative;
}
.major_post_info h1 a:hover {
    color: #e2f955;
}

.major_post__time {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.major_post__time img {
    height: 14px;
    margin-right: 8px;
}
.major_post__time span {
    display: inline-block;
    margin-left: 5px;
}
.major_post__cont {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 300;
    color: #fffafa;
    position: relative;
}
.major_post__cont a {
    text-decoration: none;
    display: inline-block;
    color: #e2f955;
}
.major_post__cont a:hover {
    color: #fff;
}

.major_post_info .major_post__time {
    font-size: 19px;
    margin-bottom: 20px;
}
.major_post_info .major_post__time img {
    height: 20px;
    margin-right: 10px;
}

/* Rest of page */
section.latest-news {
    margin:0 auto;
    max-width:1250px;
}

.second_post {
    background-color: #0b0a0a;
    border-bottom: 5px solid #FF7F50;
    display: flex;
    flex-direction: column;
    width:380px;
}

.second_post .content { 
    padding:40px 25px;
}

.second_post .content h3,
.remaining_post_preview h3,
.trending_post_preview h3 { 
    margin:0;
    font-size: 26px;
    line-height: 36px;
    letter-spacing: -0.2px;
    color: #dcdada;
    font-weight: bold;
    font-family: 'Gilroy';
    margin-bottom: 16px;
}
.second_post .content h3 a,
.remaining_post_preview h3 a,
.trending_post_preview h3 a {
    color: #DCDADA;
    text-decoration: none;
    display: block;
}
.second_post .content h3 a:hover,
.remaining_post_preview h3 a:hover,
.trending_post_preview h3 a:hover {
    color: #e2f955;
}

.second_post .content h4,
.remaining_post_preview .remaining_post_text h4,
.trending_post_preview .trending_post_text h4 { 
    font-size:16px;
    font-weight:300;
    margin-bottom: 15px;
    margin-top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.second_post .content h4 a,
.remaining_post_preview .remaining_post_text h4 a,
.trending_post_preview .trending_post_text h4 a {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    color: #e2f955;
}
.second_post .content h4 a:hover,
.remaining_post_preview .remaining_post_text h4 a:hover,
.trending_post_preview .trending_post_text h4 a:hover {
    color: #DCDADA;
}

.second_post .content h4 span,
.remaining_post_preview .remaining_post_text h4 span,
.trending_post_preview .trending_post_text h4 span {
    vertical-align: middle;
}

.remaining_post_text .major_post__time,
.second_post .content .major_post__time,
.trending_post_text .major_post__time {
    display: inline-flex;
    margin-left: 20px;
    opacity: .7;
    margin-bottom: 0;
}
.second_post .content .major_post__time {
    margin-left: 0;
    margin-bottom: 15px;
}


.latest-news__author-avatar {
    border-radius: 50%;
    margin-right: 15px;
    width: 23px;
    height: 23px;
    vertical-align: middle;
}
.remaining_post_tag {
    display: inline-block;
    padding-left: 5px;
}

.remaining_post_text {
    width: 100%;
    padding-top: 5px;
}



.second_post .trending-thumbnail {
    height:350px;
}

.second_post .trending-thumbnail img {
    object-fit: cover;
    height:100%;
    width:100%;
}

.second_post p,
.trending_post_preview .trending_post_text p {
    color:#979696;
    font-weight:300;
    font-size:20px;
    line-height: 32px;
    margin: 0;
}

.second_post a,
.trending_post_preview .trending_post_text p a {
    color: #E2F955;
    display: inline-block;
    text-decoration: none;
}




.remaining_posts {
    flex:1;
    margin-left:35px;
}

.remaining_post_preview,
.trending_post_preview {
    display: flex;
    /* justify-content: space-between;  */
    margin-bottom:55px;
}

.remaining_post_preview h3{
    margin: 10px 0; /* 10 0 */
}
.trending_post_preview h3 {
    margin: 0px 0; /* 10 0 */
    margin-bottom: 5px;
}

.remaining_post_preview .thumbnail, 
.trending_post_preview .thumbnail {
    height:140px;
    margin-left:40px;
    min-width: 155px;
    width:155px;
}

.trending_post_preview .thumbnail {
    margin-left:0;
    margin-right:30px;
    position: relative;
}

.trending_post_preview .thumbnail .rank-marker {
    background:#ef7c35;
    border-radius: 100%;
    font-size:18px;
    height:60px;
    width:60px;
    line-height: 60px;
    position: absolute;
    left:-30px;
    top:-30px;
    text-align: center;
}

.remaining_post_preview .thumbnail img,
.trending_post_preview .thumbnail img {
    height:100%;
    object-fit: cover;
    width:100%;
}



/* For trending */
.trending .page_text_label img {
    height: 14px;
}
.trending .page_text_label {
    margin-top: 0;
    padding-top: 3px;
}

section.trending .wpp-list {
    margin-right:40px;
    padding-left:0;
}

.trending_articles {
    width:100%;
    padding-right: 70px;
}

.trending_topic {
    overflow: hidden;
    overflow-x: hidden;
    padding: 10px;
}

/* Trending list */
.trending_articles .trending_topic img {
    float: left;
    margin-right: 15px;
}

/* Popular Topics */

.popular_topics {
    background-color: #17171a;
    display: block;
    min-width:360px;
    padding-top:30px;
    font-weight:300;
    letter-spacing: 1px;
}

.popular_topics h3 {
    font-size:19px;
    margin-top:0;
    margin-left:20px;
    margin-bottom:25px;
    color: #d7d4d4;
}

.popular_topics h4 {
    font-family:'Gilroy';
    font-weight:600;
    width: 100%;
    text-align: left;
    font-size: 20px;
    margin: 0;
}
.popular_topics p a {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    color: #e2f955;
}

.topic {
    border-bottom:1px solid rgba(255,255,255,0.2);
    padding: 14px 22px;
    display: flex;
    align-items: center;
}
.topic img {
    margin-right:28px;
}

/* .not_post.resources img,
.not_post.resources-test img {
    width:100%;
} */

.popular_topics a {
    display: block;
    font-weight:normal;
    text-decoration: none;
}
.popular_topics a:hover {
    color: #e2f955;
}

/* For Resources */
section.resources {
    padding-bottom: 70px;
}
section.resources .resource {
    background-color:rgb(23,23,26);
    /* border-bottom: 3px solid #FF7F50; */
    border-bottom: 3px solid #e1f955;
    max-width: 380px;
    width:100%;
    display: flex;
    flex-direction: column;
}

.resources .page_text_label {
    margin-bottom: 60px;
}

section.resources .resource:nth-child(2) {
    margin:0 50px;
}

section.resources .resource .thumbnail {
    width:100%;
    height:350px;
}

section.resources .resource .thumbnail img {
    height:100%;
    object-fit: cover;
    width:100%;
}

section.resources .resource .content {
    padding:30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* section.resources .resource .resource__read {
    margin-top: auto;
} */

section.resources .resource .content h3 {
    font-family:'Gilroy';
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 11px;
    font-size: 32px;
    line-height: 44px;
}
section.resources .resource .content h3 a {
    text-decoration: none;
    color: #d7d7d9;
}
section.resources .resource .content h3 a:hover {
    color: #e2f955;
}

section.resources .resource .content p {
    color:#d7d7d9;
    font-size:13px;
}
.resource__descr {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 300;
}
.resource__read a {
    font-size: 20px;
    color: #e2f955;
    font-weight: 300;
    text-decoration: none;
}

/* Trending CSS */
.trending {
    /* display: grid; */
    /* grid-template-columns: auto auto; */
    /* gap: 5px; */
    padding-right: 30px;
}

/* Resources CSS */
.subscriber_image_wrap {
    background-image: url("images/Rectangle_30.png");
    background-size:cover;
}
.subscriber_image {
    display: flex;
    justify-content: space-between;
    margin:0 auto;
    max-width:1250px;
    padding:110px 20px;
    justify-content: center;
}

.subscriber_image_logo img {
    display: block;
    height:auto;
    width:78px;
}

.subscriber_image > div {
    flex:1;
}

.subscriber_image > .subscriber-content {
    flex:3;
    max-width:715px;
}

.subscriber_image > .subscriber-content p {
    margin: 0 0 50px;
    font-size: 20px;
    line-height: 1.5;
}


/* post page */
.single_post_image {
    background: -webkit-linear-gradient(top, #0b0a0a 80%, rgb(240,240,243) 80%);
    padding: 0 20px;
}
.single_post_image__wrapper {
    width: 940px;
    height: 455px;
    margin: auto;
    max-width: 100%;
}
.single_post_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-wrapper {
    width: 930px;
    max-width: 100%;
    padding: 60px 20px 20px;
    margin: auto;
    /* overflow: hidden; */
}
.post .post-wrapper h1 {
    margin: 0 0 25px;
    font-size: 60px;
    line-height: 1.2;
    font-weight: 800;
    font-family: 'Gilroy';
}

.post .wrapper-768 {
    max-width:768px;
    margin:0 auto;
    padding:0 20px;
}

.post .wp-block-image {
    margin:0 0 45px;
}
.wp-block-image img {
    height: auto !important;
}

/* .post h1 {
    font-size:48px;
    font-weight: 1000;
    color:black;    
    text-shadow: 1px 0 black;
    letter-spacing:1px;
} */

/* .post h4 span {
    color: #E2F955;
} */

.about {
    padding:60px 0;
}


.about .about_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 45px;
    padding:50px 20px 20px;
    width: 1350px;
    max-width: 100%;
    margin: auto;
}

.about .about_grid .bio_image {
    background-size: cover;
    border-radius:50%;
    margin:0 auto 57px;
    height:176px;
    width:176px;
}

.about .about_grid h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;
}

.about .about_grid > div a {
    display: inline-block;
    width:15px;
}

.about .about_grid .twitter-icon {
    width:100%;
}

.about_grid p {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
    color: #c6c6c6;
    font-family: 'Lato';
    font-weight: 300;
}

/* Data page */
.data {
    width: 80%; 
    margin-right: auto;
    margin-left: auto;
}

.tableauPlaceholder {
    margin-right: auto;
    margin-left: auto;
    display: block;
    width: 100%;
    max-width: 100%;
}


/* For the subscriber page */
.subscribe_button {
    width: 100%;
    height: 100%;
    border: 0px
}

.subscribe_button a {
    color: black !important;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}


/* For the Category Page */
.category_page {
    width: 65%; 
    margin-right: auto;
    margin-left: auto;
}

.category_page h1, .category_page h4 {
    text-align: center;
}

.category_div {
    text-align: center;
}


.subscriber_image .subscriber-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.subscriber_image .subscriber-links a { 
    color: black;
    font-family:'Gilroy';
    font-weight:500;
    font-size: 18px;
    background: #E2E2E1;
    border-radius: 10px;
    padding:10px 20px;
    text-align:center;
    text-decoration: none;
    width:295px;
    min-height: 77px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.subscriber_image .subscriber-links a:hover {
    opacity: 0.7;
}

.footer .footer-menu a {
    display: inline-block;
    font-family:'Gilroy';
    font-weight: 300;
    margin: 0 25px;
    color: #ebebeb;
    font-size: 15px;
    letter-spacing: .03em;
    text-align: center;
    text-decoration: none;
}
.footer .footer-menu a:hover {
    opacity: 0.7;
}

.trending .page_text_label {
    font-family: 'Lato';
    font-weight:bold;
    margin-bottom: 85px;
}

.trending .page_text_label span,
.resources .page_text_label span {
    color: #d7d4d4;
    font-family: 'Lora';
    font-weight: normal;
    display: inline-block;
    margin-left: 5px;
    padding-top: 1px;
}

.page_text_label img {
    height:19px;
    margin-right:15px;
    width:auto;
}

.latest-events .page_text_label img {
    height: 26px;
    margin-top: -3px;
}

.category_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-right: 30px; 
}

.category-header {
    background: #0b0a0a;
    display: flex;
    align-items: center;
    padding: 30px 0 70px;
}


.category_grid * {
    color:#fff!important;
    text-decoration:none!important;
}

.category_grid > a {
    background:#0b0a0a;
    /* height:300px; */
}

.category_grid > a > div {
    background-size:cover;
    background-position:center;
    height:175px;
    padding:10px 15px; 
    position:relative;
}

.category_grid h2 {
    margin:0;
    position: relative;
    z-index: 9;
    font-size: 26px;
}

.category_grid p {
    margin:0;
    padding:10px;
}

/* CSS for events page */
.events_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* CSS for events page to override defaults... */

.wpem-single-event-body-content,
.registration_details,
.wpem-single-event-sidebar-info, .wpem-heading-text, .wpem-event-organizer-name {
    color: white;
}

body.page-events,
body.page-template-page-contact,
body.page-template-template-resources {
    overflow-x: hidden;
}

body.page-events .header-container,
body.page-template-page-contact .header-container,
body.page-template-template-resources .header-container,
body.home .header-container {
    background-image: url("images/Rectangle_30.png");
    height: 500px;
    background-size: cover;
    background-position: center;
}

body.page-events #container,
body.page-template-page-contact #container,
body.page-template-template-resources #container,
body.home #container {
    margin-top:-300px;
    position: relative;
}


/* The other override */

section.resource_page_new{
    max-width: 1240px;
    margin-bottom: 80px;
}

.first_resource_wrapper {
    padding:0 20px;
    margin: 0 auto 30px;
    width: 1090px;
    max-width: 100%;
}


.first_resource_wrapper h1.page_title {
    margin: 0 0 29px;
    font-size: 72px;
    line-height: 80px;
    font-weight: 800;
    font-family: 'Gilroy';
}

.first_resource_wrapper .first_resource {
    background-color:rgb(23,23,26);
    border-bottom: 3px solid #FF7F50;
    padding: 40px;
    color: #dcdada;
}
.first_resource_wrapper .first_resource h2 {
    margin-bottom: 17px;
    margin-top: 0;
    font-size: 30px;
    line-height: 44px;
    font-weight: bold;
    color: #dcdada;
}
.first_resource_wrapper .first_resource a {
    text-decoration: none;
}
.first_resource_wrapper .first_resource a:hover {color: #fff;}
.first_resource_wrapper .first_resource p {
    font-size: 22px;
    margin: 0 0 20px;
    font-family: 'Lato';
    font-weight: 300;
}
.first_resource_wrapper .first_resource p:last-of-type {
    margin-bottom: 0;
}

.resource_page .flex-container {
    align-items: flex-start;
}
.resources_list {
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px;
    padding: 10px 30px 10px 30px; 
}

.letters {
    padding-top: 32px;
}

.letters_title {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.letters_title img {
    padding-right: 15px;
}

.letters_title h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-family: 'Lato';
    font-weight: 400;
}

.letter_image {
    width: 90px;
    height: 210px;
}
.letter_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.letter {
    display: grid;
    grid-template-columns: 0.1fr 1fr;
    padding: 0 70px 0 0;
    margin-bottom: 45px;
}

.letter .letter_text {
    padding-left: 32px;
    display: table;
}

.posters {
    background-color:#0b0a0a;
    padding: 32px 40px;
    width: 340px;
    flex-shrink: 0;
    margin-bottom: 45px;
}

.posters .poster {margin-bottom: 25px;}
.posters .poster a {display: block;}
.posters h3 {
    margin: 0 0 26px;
    color: #d7d4d4;
    font-size: 20px;
    line-height: 1.5;
    text-transform: uppercase;
}
.letter .letter_text h3 {
    margin-top: -7px;
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 44px;
    color: #dcdada;
    font-weight: bold;
}
.letter .letter_text p,
.letter .letter_text a {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 300;
}
.letter .letter_text p {
    margin: 0 0 20px;
    color: #979696;
}
.letter .letter_text a {
    text-decoration: none;
}


.other_resources {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px 30px 10px 30px;
    margin-bottom: 20px;
}

.poster_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 100px) 
}

.tweet-container {
    margin-right: 10px;
}

.tweet-container h3,
.poster_grid h3 {
    margin-top: 0;
    display: block;
    width: 100%;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.5;
    color: #d7d4d4;
}

.twitter-tweet {
    width: 500px;
    margin-right: 55px;
}

.tweet-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.tweet-wrapper h3 {
    margin-bottom: 30px;
    margin-top: 0;
    color: #d7d4d4;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    display: block;
    width: 100%;
}
.tweet-left {
    width: 48%;
    padding-right: 55px;
}
.tweet-right {
    width: 52%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.tweet-left h3 span {vertical-align: middle;}
.tweet-left h3 img {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    vertical-align: middle;
    display: inline-block;
}
.tweet-right__lt,
.tweet-right__rt {
    width: calc(50% - 9px);
}
.tweet-item {
    display: block;
    margin-bottom: 18px;
    overflow: hidden;
}
.tweet-right__lt .tweet-item {
    max-height: 205px;
}


.other_resources .twitter-tweet  {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-right: 30px;
}

.poster_grid .poster_grid_small_posters img {
    width: 250px;
    height: 200px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: block; 
}

.poster_grid .poster_grid_large_poster img {
    width: 250px;
    height: 410px; /* Brute force but works... */
}

.posters img.carousel_clicker {
    margin: 0 auto;
    display: block;
}




.not_post.events #container,
.event-type #container{
    max-width:960px;
    margin:0 auto;
}

.not_post.events * {
    color:#fff;
}

.events-table {
    border-spacing: 20px!important;
    border-collapse: separate!important;
    width:100%;
}

.css-events-list .tdEventIMG {
    background-size: contain;
    background-color:#0b0a0a;
    background-position: center;
    background-repeat: no-repeat;
    background-image:url('images/rational_ground_facebook_banner.png');
    width:100px;
}

.css-events-list .tdEventIMG img {
    width:100%;
}

.css-events-list .tableElements {
    display:block;
    padding:40px 0;
}

.css-events-list .tableElements:nth-child(2n+1) {
    background:rgba(255,255,255,0.1);
}

.post .footer {margin-top:100px;}

.team__h1,
.subscribe__h1,
.contacts__h1 {
    text-align: center;
    font-size: 72px;
    line-height: 80px;
    margin: 18px auto;
    font-weight: 800;
    font-family: 'Gilroy';
    letter-spacing: -0.4px;
    padding: 0 20px;
    color: #fff;
}
.team__h2 {
    text-align: center;
    max-width: 780px;
    padding: 0 20px;
    width: 100%;
    margin: 0 auto 80px;
    font-size: 20px;
    line-height: 32px;
    color: #c6c6c6;
    font-family: 'Lato';
    font-weight: 400;
}
.teampage {
    padding-top: 10px;
    background-color: #000;
    color: #fff;
}
.resource_page {padding-top: 0 !important;}
.data__h1 {
    margin-top: 0;
    margin-bottom: 60px;
}

.post a,
.post .trending_post_preview .trending_post_text h4 a  {color: #8a9e0c;}

.post__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.post__meta-author img,
.post__meta-author span,
.post__meta-author a {
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    line-height: 32px;

}
.post__meta-author img {
    border-radius: 50%;
    margin-right: 15px;
    display: inline-block;
}
.post__meta-author a {
    color: #8a9e0c;
    text-decoration: none;
}
.post__meta-share a {
    display: inline-block;
    margin-left: 18px;
}
.post__meta-time {
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-top: 4px;
    font-size: 16px;
}
.post__meta-time img {
    width: 20px;
    display: inline-block;
    margin-right: 8px;
}
.post {
    font-size: 20px;
    line-height: 1.5;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    background-color: #f2f2f5;
    padding-bottom: 80px;
    color: #060606;
}
.post p {margin: 0 0 25px;}
.post p a,
.post li a {
    display: inline-block;
    color: #222;
    text-decoration-line: underline;
    -webkit-text-decoration-thickness: 1px;
    text-decoration-thickness: 1px;
}
.post p a:hover,
.post li a:hover {
    text-decoration: none;
}
.post blockquote {
    font-size: 48px;
    line-height: 56px;
    margin: 30px 0;
    display: block;
    font-weight: 400;
}
.post h2 {
    font-size: 48px;
    line-height: 56px;
    margin: 50px 0 25px;
    color: #2b2a2a;
    font-weight: bold;
}
.post .post-wrapper h3 {
    font-size: 34px;
    margin: 40px 0 20px;
    line-height: 1.3;
}
.post ul {
    margin-left: 20px;
    padding-left: 0;
}
.post ul li {
    margin: 20px 0;
    list-style-type: none;
    position: relative;
}
.post ul li:before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 15px;
    background-color: #111;
}

.resources-lockdown-list li {
    padding-left: 15px;
    font-size: 24px;
    line-height: 40px;
}
.resources-lockdown-list {
    margin: 30px 0 30px -50px;
}
.resources-lockdown-links a {
    font-size: 16px;
    line-height: 24px;
}

.post-divider {
    width: 890px;
    height: 1px;
    margin: auto;
    background-color: #dcdcdc;
    max-width:100%;
}
.post-bot {
    width: 930px;
    max-width: 100%;
    padding: 45px 20px 0;
    margin: auto;
}
.post-bot__ttl {
    font-size: 20px;
    line-height: 1.5;
    font-weight: bold;
    color: #161616;
    margin-bottom: 70px;
}
.post-bot__ttl span {
    font-family: 'Lora';
    font-weight: 300;
}

.post-bot .latest-news__author-avatar {
    margin-right: 10px;
}
.post-bot .trending_post_preview .trending_post_text h4 a:hover {
    color: #000;
}
.post-bot .trending_post_preview h3 a {
    font-size: 32px;
    color: #4f4f4f;
}
.post-bot .trending_post_preview .trending_post_text p {
    color: #4f4f4f;
}
.post-bot .trending_post_preview .trending_post_text h4 {margin-bottom: 5px;}

.post-bot__loadmore {
    width: 295px;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    cursor: pointer;
    border-radius: 10px;
    background-color: #e2e2e1;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Gilroy';
    transition: all .25s;
}
.post-bot__loadmore:hover {background-color: #ccc;}
.search-results .post-bot__loadmore {color: #111;}
.post__meta-share {
    flex-shrink: 0;
    padding-top: 5px;
    font-size: 0;
}

.vaccine-table-wrapper {
    overflow: auto;
    margin-bottom: 80px;
}
.vaccine-table {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    border-collapse: collapse;
    color: #333;
}
.vaccine-table thead tr {border-bottom: 1px solid #4F4F4F;}
.vaccine-table thead td {
    padding: 10px 5px;
    vertical-align: bottom;
    color: #555;
    text-align: right;
}
.vaccine-table thead td:first-child {text-align: center;}
.vaccine-table tbody tr {border-bottom: 1px solid rgba(186, 186, 186, 0.2);}
.vaccine-table tbody td {padding: 12px;}
.vaccine-table tbody td:not(:first-child) {text-align: right;}
.vaccine-table-2 tbody td:not(:first-child) {text-align: left;}
.vaccine-table .row-num {
    display: inline-block;
    color: #979696;
    min-width: 25px;
    padding-right: 5px;
}
.contacts__h1 {
    text-align: center;
    margin: 0 0 30px;
}
.page-contact .post-wrapper {
    padding-top: 0;
    position: relative;
}
.contacts__ct {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.contacts__ct-item {
    min-width: 350px;
    margin: 0 10px;
    text-align: center;
}
.contacts__ct-item-ttl {
    font-size: 20px;
    line-height: 1.7;
    color: #ef7c35;
}
.contacts__ct-item-link {
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    font-family: 'Gilroy', sans-serif;
    text-decoration: none;
    color: #fff;
}
.contacts__ct-item-link:hover {text-decoration: underline;}
.contacts__form iframe {max-width: 100%;}

.container-subscribe {background-color: #000;}
.subscribe__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}
.subscribe-wrapper {
    width: 1350px;
    margin: auto;
    padding: 20px 20px 50px;
    max-width: 100%;
}
.subscribe__h1 {margin-bottom: 60px;}
.subscribe__plan {
    width: calc(33.33% - 20px);
    padding: 40px;
    background-color: #1f1f24;
    border-bottom: 5px solid #EF7C35;
}
.subscribe__plan-ttl {
    font-size: 32px;
    line-height: 44px;
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    text-align: center;
}
.subscribe__plan-descr {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: #979696;
    margin-bottom: 60px;
}
.subscribe__plan-adv {margin-bottom: 50px;}
.subscribe__plan-adv-item {
    display: flex;
    font-size: 20px;
    line-height: 1.5;
}
.subscribe__plan-adv-item--disabled {
    color: #979696;
}
.subscribe__plan-adv-item:not(:last-child) {
    margin-bottom: 20px;
}
.subscribe__plan-adv-item img {
    width: 26px;
    height: 26px;
    display: block;
    flex-shrink: 0;
    margin-right: 14px;
}
.subscribe__plan-adv-price {
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 30px;
    font-weight: bold;
    font-family: 'Gilroy', sans-serif;
    text-align: center;
}
.subscribe__plan-adv-price span {
    display: inline-block;
    color: #979696;
    font-size: 20px;
    line-height: 1.5;
}
.subscribe__plan-adv-btn {
    display: inline-flex;
    width: 100%;
    min-height: 77px;
    padding: 15px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #e2e2e1;
    font-size: 18px;
    font-family: 'Gilroy', sans-serif;
    text-decoration: none;
    color: #111;
    text-align: center;
}
.subscribe__plan-adv-btn:hover {
    color: #fff;
    background-color: #ef7c35;
}
.subscribe__bot {
    width: 900px;
    margin: auto;
    padding: 0 12px;
    font-size: 20px;
    line-height: 1.5;
    color: #c6c6c6;
    max-width: 100%;
}
.subscribe__bot p {
    margin-top: 0;
    margin-bottom: 35px;
}
.container-data iframe {
    max-width: 100%;
}
.header__logo {
    display: block;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}
.events__time {
    padding: 7px 20px 7px 10px;
    color: #fff;
    background-color: #ef7c35;
    font-weight: bold;
    display: inline-flex;
    font-size: 18px;
    flex-wrap: wrap;
}
.major_post_info .major_post__time.events__time img {
    height: 26px;
    margin-right: 5px;
}
.trending-events__time {
    font-size: 18px;
    line-height: 1.2;
    color: #ef7c35;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.trending-events__time .date,
.events__time .date {
    max-width: calc(100% - 35px);
}
.trending-events__time img {
    display: inline-block;
    margin-right: 5px;
    flex-shrink: 0;
}
.event-over-gray {
    filter: grayscale(1);
}
.event-over-ttl {
    display: inline-block;
    /* padding: 7px 0 7px 10px; */
    padding-left: 10px;
}
.latest-events {padding-bottom: 80px !important;}
.event__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.event__date {
    background-color: #fff;
    padding: 9px 20px 9px 10px;
    color: #0b0a0a;
    margin-right: 20px;
    font-weight: bold;
    display: inline-flex;
}
.event__date img {
    display: inline-block;
    margin-right: 10px;
}
a.event__add-to-calend {
    display: inline-flex;
    color: #ef7c35;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
}
a.event__add-to-calend:hover {
    opacity: 0.8;
}
.event__add-to-calend img {
    margin-right: 10px;
}
.event__nav a,
.page-vaccine .tab {
    display: inline-block;
    padding: 8px 0;
    margin-right: 35px;
    opacity: 0.5;
    font-family: 'Gilroy';
    font-weight: 500;
    color: #2b2a2a;
    text-decoration: none;
    cursor: pointer;
}
.event__nav a:hover,
.page-vaccine .tab:hover {
    opacity: 1;
}
.event__nav a.active,
.page-vaccine .tab.active {
    border-bottom: 3px solid #EF7C35;
    opacity: 1;
}
.event__block {margin-bottom: 60px;}
.event__block-ttl {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 30px;
    color: #2b2a2a;
    font-weight: 500;
}
.speakers__wrap {
    display: flex;
    flex-wrap: wrap;
}
.speakers__item {
    display: flex;
    margin-bottom: 30px;
    padding-right: 30px;
    width: 50%;
}
.speakers__item-photo {
    width: 88px;
    height: 88px;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}
.speakers__item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speakers__item-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: 'Gilroy', sans-serif;
}
.speakers__item-info .name {
    font-weight: 800;
}
.category-header h2 {
    font-size: 48px;
    margin: 0;
    text-align: center;
    display: block;
    width: 100%;
}
.page-vaccine .tab_header {
    padding: 20px 0 40px;
}
.big-table-wrap {
    width: 100%;
    overflow: auto;
}

.vaccine-table-2 .row-header-shim {
    display: none;
}
.vaccine-table-2 .s31,
.vaccine-table-2 .s32 {
    font-weight: bold;
}
.vaccine-table-2 thead td {
    font-size: 13px;
    line-height: 1.7;
}
.page404 {
    padding: 100px 0;
    font-family: 'Gilroy', sans-serif;
    text-align: center;
}
.page404__h1 {
    font-size: 100px;
    font-weight: bold;
}
.page404__h2 {
    font-size: 28px;
    margin-bottom: 30px;
}
.page404__h3 {
    font-size: 20px;
}
.page404__h3 a {
    font-weight: bold;
}
.page404__h3 a:hover {
    text-decoration: none;
}

.header__search {
    position: absolute;
    height: 175px;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    background-color: #1F1F24;
    transition: all .5s;
    padding: 0 20px;
    display: flex;
    align-items: center;
    visibility: hidden;
    transform: translateY(-110%);
}
.header__search.active {
    transform: translateY(0);
    visibility: visible;
}
.header__search-wrap {
    width: 100%;
    padding-left: 250px;
    display: flex;
    align-items: center;
    margin: auto;
    max-width: 1380px;
}
.header__search-input-form {
    width: 100%;
    position: relative;
    margin: 0;
}
.header__search-input {
    height: 64px;
    width: 100%;
    padding-right: 80px;
    border: none;
    border-bottom: 1px solid rgba(242, 242, 242, 0.2);
    color: #f2f2f2;
    background-color: transparent;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}
.header__search-input:focus {
    outline: none;
}
.header__search-submit {
    position: absolute;
    top: calc(50% - 10px);
    right: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 21px;
    height: 21px;
    padding: 0;
}
.header__search-clear {
    position: absolute;
    right: 51px;
    top: calc(50% - 8px);
    cursor: pointer;
}
.header-search-icon {
    margin-left: 30px;
    cursor: pointer;
}
.search-results {
    background-color: #000;
}
.search-results_wrap {
    max-width: 840px;
    margin: auto;
    width: 100%;
    padding: 20px 20px 80px;
}
.search-results__h1 {
    margin: 0 0 20px;
    font-weight: normal;
    font-size: 28px;
    opacity: 0.9;
}
.search-results__num {
    margin-bottom: 30px;
    font-size: 16px;
    color: #828282;
}

.disabled-btn {
    pointer-events: none;
    opacity: 0.3;
}
.post .post-bot .major_post__time img {display: none;}





/* MEDIA START */
/* CSS for phones and stuff... */

@media screen and (max-width:1200px) {
    .major_post_info h1 {
        font-size: 54px;
        line-height: 1.2;
    }
    .major_post__cont {font-size: 18px;}
    .header .header-menu li,
    .footer .footer-menu a {margin: 0 14px;}
    .second_post {width: 350px;}
    .second_post .content {padding: 30px 20px;}
    .second_post .content h3, .trending_post_preview h3, .remaining_post_preview h3, .trending_post_preview h3 {
        font-size: 24px;
        line-height: 1.5;
    }
    .second_post .content h4, .remaining_post_preview .remaining_post_text h4, .trending_post_preview .trending_post_text h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .second_post p, .trending_post_preview .trending_post_text p {
        font-size: 16px;
        line-height: 1.7;
    }
    .remaining_post_preview .thumbnail, .trending_post_preview .thumbnail {
        height: 100px;
        width: 115px;
        min-width: 115px;
    }
    .popular_topics {
        min-width: 300px;
    }
    .topic img {margin-right: 20px;}
    .popular_topics h4 {font-size: 16px;}
    section.resources .resource:nth-child(2) {margin: 0 25px;}
    section.resources .resource .content {padding: 20px;}
    section.resources .resource .content h3 {
        font-size: 26px;
        line-height: 1.5;
    }
    .resource__descr {font-size: 17px;}
    .about .about_grid {
        grid-gap: 20px;
        row-gap: 40px;
    }
    .about_grid p {
        font-size: 16px;
        line-height: 1.8;
    }
    .letter {padding-right: 30px;}
    section.resource_page_new .flex-container {
        align-items: flex-start;
    }
    .tweet-left {padding-right: 30px;}
    .header__logo img,
    .header__search {height: 125px;}
    .footer .footer-menu a {font-size: 14px;}

}


@media screen and (max-width:992px) {
    .major_post .header-image {
        height: 335px;
        width: 285px;
    }
    .major_post_info h1 {font-size: 44px;}
    .second_post {width: 280px;}
    .second_post .trending-thumbnail {height: 230px;}
    .second_post .content h3, .trending_post_preview h3, .remaining_post_preview h3, .trending_post_preview h3 {
        font-size: 20px;
    }
    .second_post .content h4, .remaining_post_preview .remaining_post_text h4, .trending_post_preview .trending_post_text h4 {
        font-size: 12px;
    }
    .latest-news__author-avatar {
        margin-right: 5px;
        width: 20px;
        height: 20px;
    }
    .remaining_post_preview .thumbnail, .trending_post_preview .thumbnail {
        margin-left: 10px;
        width: 90px;
        height: 90px;
        min-width: 30px;
        flex-shrink: 0;
    }
    .trending .flex-container.center {
        flex-wrap: wrap;
    }
    .trending_articles {padding-right: 0;margin-bottom: 40px;}
    .popular_topics {
        width: 360px;
        max-width: 100%;
        margin: auto;
        min-width: 250px;
    }
    section.resources .resource .thumbnail {
        height: 30vw;
    }
    section.resources .resource .content h3 {font-size: 20px;}
    .resource__descr,
    .resource__read a {font-size: 14px;}

    .about .about_grid {grid-template-columns: repeat(2, 1fr);}
    .about .about_grid .bio_image {margin-bottom: 30px;}

    section.resource_page_new .flex-container {flex-wrap: wrap;}
    .letters {
        width: 100%;
        margin-bottom: 40px;
        padding-right: 10px;
    }
    .posters {
        width: 380px;
        max-width: 100%;
        margin: 0 auto 50px;
    }
    .tweet-wrapper h3 {font-size: 18px;}
    .letter .letter_text h3 {font-size: 26px;}
    .letter .letter_text p, .letter .letter_text a {font-size: 18px;}

    .subscribe__plan {
        width: calc(33.33% - 10px);
        padding: 30px 15px;
    }
    .subscribe__plan-ttl {
        font-size: 26px;
        line-height: 1.4;
    }
    .subscribe__plan-descr {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .subscribe__plan-adv-item {font-size: 15px;}
    .subscribe__plan-adv-item img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    .subscribe__plan-adv {margin-bottom: 30px;}
    .subscribe__plan-adv-price {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    .subscribe__plan-adv-btn {
        padding: 10px;
        min-height: 65px;
        font-size: 15px;
    }
    .subscribe__bot {font-size: 18px;}
    .subscribe__h1 {
        margin-top: 0;
        font-size: 60px;
        line-height: 70px;
    }
    .trending-events__time {font-size: 15px;}
    .category_grid {
        grid-template-columns: repeat(2, 1fr);
        padding-right: 0;
    }
    .page-vaccine .tab {font-size: 16px;}
    .header .header-menu > ul > li {margin: 0 13px;}
    .header .header-menu a {font-size: 14px;}
    .header-search-icon {
        margin-left: 10px;
        height: 18px;
        width: 18px;
    }
    .header__search-wrap {padding-left: 150px;}
    .footer .footer-menu a {
        font-size: 12px;
        margin: 0 10px;
    }
    section.footer .copyright {width: 320px;}
    section.footer img {width: 80px;}
    section.footer .copyright p {
        font-size: 14px;
        margin-top: 0;
    }

}



@media screen and (max-width:900px) {
    .footer-menu {
        display:none;
    }
}

@media screen and (max-width:768px) {
    .category_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .flex-container {
        align-items: center;
        flex-direction:column;
    }
    /* .flex-container > * {
        margin:0;
        margin-bottom:50px;
    } */
    .remaining_posts {
        margin-left:0;
        width: 100%;
    }

    nav.header .icon {
         /* Style the hamburger menu */
        display: block;
        font-size:20px;
        z-index:10;
    }

    .header .header-menu.active + .icon {
        color:#000;
    }

    .header .header-menu li {
        width:100%;
    }

    .header .header-menu li a {
        display:block;
        font-size:20px;
        padding:20px 0;
        text-align:center;
        transition:0.3s ease;
    }

    .header .header-menu li:hover a {
        background:#000;
        border-bottom: 1px solid transparent;
        color:#fff;
    }

    .header .header-menu a {
        color:#000;
    }

    #menu-primary-menu {
        align-items: center;
        background: #fff;
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        left:0;
        margin:0;
        position: fixed;
        top: 0;
        transform:translateX(-100%);
        transition:0.3s ease;
        width: 100%;
        z-index:9;
    }

    #menu-primary-menu.active {
        transform:translateX(0);
    }

    .about .about_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    section.resources .resource,
    section.resources .resource:nth-child(2) {margin-bottom: 30px;}
    .subscriber_image .subscriber-links {justify-content: center;}
    .subscriber_image .subscriber-links a:not(:last-child) {margin: 15px auto;}
    .subscriber_image {padding: 70px 20px;}
    .second_post {
        max-width: 380px;
        width: 100%;
        margin: 0 auto 40px;
    }
    .header__logo img,
    .header__search {height: 95px;}
    .major_post .header-image {width: 240px;}
    .first_resource_wrapper {padding: 0;}
    .first_resource_wrapper .first_resource {padding: 30px;}
    .letter {padding-right: 0;}
    .tweet-wrapper {flex-wrap: wrap;}
    .tweet-left,
    .tweet-right {
        width: 100%;
        margin-bottom: 30px;
        padding-right: 0;
    }
    section.resource_page_new {padding-bottom: 20px;}
    .single_post_image__wrapper {height: 350px;}

    .post h2 {
        font-size: 28px;
        line-height: 1.5;
    }
    .post .post-wrapper h3 {
        font-size: 22px;
        line-height: 1.5;
    }
    .resources-lockdown-list li {
        font-size: 18px;
        line-height: 1.4;
    }
    .resources-lockdown-list {margin: 30px 0 30px -20px;}
    .resources-lockdown-list li {padding-left: 5px;font-size: 18px;}
    .header .header-menu li.menu-item-has-children:before {display: none;}
    .contacts__ct-item {margin-bottom: 30px;}
    .subscribe__grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .subscribe__plan {
        width: 350px;
        margin: 0 auto 40px;
        max-width: 100%;
    }
    .subscribe__h1 {
        font-size: 48px;
        line-height: 1.2;
    }
    .subscribe__plan-adv-item img {
        width: 25px;
        height: 25px;
    }
    .subscribe__plan-adv-item {font-size: 16px;}
    .post blockquote {
        font-size: 30px;
        line-height: 1.5;
    }
    .speakers__item {padding-right: 10px;}
    .speakers__item-photo {
        width: 60px;
        height: 60px;
    }
    .speakers__item-info {font-size: 16px;}
    .page-vaccine .tab {font-size: 14px;}
    .header-search-icon {margin-right: 30px;}
    .header__search-wrap {padding-left: 0;}
    .header__search {z-index: 22;}
    section.resources .resource {display: block;}
    section.resources .resource .content {height: auto;}

}

@media screen and (max-width:600px) {
    body.page-template-page-contact #container,
    body.page-events #container,
    body.page-template-template-resources #container,
    body.home #container {
        margin-top: -380px;
    }

    .remaining_post_preview h3,
    .wpp-post-title {
        font-size:18px;
    }

    .major_post {
        flex-direction: column;
    }
/* 
    .major_post_wrapper {
        background:-webkit-linear-gradient(top, #0b0a0a 42%, #1f1f24 42%)
    } */

    .major_post_info {
        margin-left:0;
        max-width:300px;
    }

    .major_post_info h1 {
        margin-left:0;
    }

    .footer-menu {
        display:none;
    }

    .about .about_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .major_post .header-image {width: 100%;}
    .major_post_info {max-width: 100%;}
    .major_post_info h1 {font-size: 36px;}
    .page_text_label {font-size: 15px;}
    section:not(.subscriber_image_wrap) {padding: 40px 15px 30px;}
    .trending_post_preview .thumbnail .rank-marker {
        width: 36px;
        height: 36px;
        line-height: 36px;
        left: -18px;
        top: -18px;
    }
    .trending_post_preview .thumbnail {margin-right: 20px;}
    .second_post p, .trending_post_preview .trending_post_text p {font-size: 14px;}
    .trending_articles {margin-bottom: 10px;}
    .subscriber_image > .subscriber-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .header ul.sub-menu {width: 100%;}
    .trending .page_text_label {margin-bottom: 45px;}

    .about .about_grid h3 {font-size: 20px;text-align: center;}
    .about .about_grid {row-gap: 60px;}

    .team__h1,
    .subscribe__h1,
    .contacts__h1 {
        font-size: 52px;
        line-height: 1.4;
    }
    .team__h2 {font-size: 18px;}

    .first_resource_wrapper h1.page_title {
        font-size: 50px;
        line-height: 1.3;
    }
	.letter .letter_text {
		padding-left: 0;
	}
    .first_resource_wrapper .first_resource p {font-size: 18px;}
    .first_resource_wrapper .first_resource {padding: 20px;}
    {
        display: block;
        padding-left: 0;
    }
    .letter .letter_text h3 {
        font-size: 22px;
        line-height: 1.4;
    }
    .letter .letter_text p, .letter .letter_text a {
        font-weight: 400;
    }
    .letter {padding-left: 0;}
    .letter_image {
        float: left;
        margin: 5px 20px 5px 0;
    }
    .single_post_image__wrapper {height: 300px;}
    .post .post-wrapper h1 {
        font-size: 44px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .post-bot {
        padding: 30px 15px 0;
    }
    .post .trending_post_preview .thumbnail {margin-left: 0;}
    .post-bot .trending_post_preview h3 a {font-size: 22px;line-height: 1.35;}
    .post .trending_post_preview .thumbnail {width: 70px;}
    .post .trending_post_preview {margin-bottom: 35px;}
    .about .about_grid {padding-top: 50px;}

    .vaccine-table thead td {
        font-size: 12px;
        line-height: 1.5;
        min-width: 70px;
    }
    .vaccine-table tbody td {padding: 10px 5px;}
    .vaccine-table {font-size: 14px;}
    .about-page .wp-block-image .alignright {
        float: none;
        margin: 10px auto;
    }
    .speakers__item {width: 100%;}
    .event__block-ttl {
        font-size: 36px;
        line-height: 1.4;
    }
    .event__date,
    a.event__add-to-calend {margin-bottom: 20px;}
    .event__nav a {
        font-size: 16px;
        margin-right: 20px;
    }
    .post__meta {margin-bottom: 20px;}
    .post .post-wrapper img {
        height: auto !important;
    }
    .post p {
        font-size: 18px;
        line-height: 1.8;
    }
    .post blockquote {margin: 30px 0;}
    .event__date {font-size: 16px;}
    .category_grid {grid-template-columns: repeat(1, 1fr);}
    .category-header h2 {font-size: 34px;}
    .page-vaccine .tab {
        font-size: 18px;
        width: 100%;
        display: block;
    }
    .page-vaccine .tab {text-align: center;}
    .page-vaccine .tab.active {border: none;}
    .page-vaccine .tab.active span {border-bottom: 3px solid #EF7C35;}

}
/* end 600px */



@media only screen and (max-width: 430px) {

    .page_text_label {
        text-align: center;
    }

    span.post-stats,
    span.wpp-author {
        color: white;
    }

    /* Header (Is a Hamburger Menu)*/
    nav.header {
        align-items: center;
        /* background-color: #0b0a0a; */
        display:flex;
        justify-content: space-between;
        position: relative;
        width:100%;
    }

    /* nav.header a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    } */

    /* .header form {
        margin: 0 auto;
        display: block;
        padding-left: 42px;
    }

    .header form input {
        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;
    }

    .header form button {
        display: none;
    } */

    /* .major_post img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    } */

    .major_post .major_post_link {
        margin-left:10px;
        text-decoration: none;
    }

    .container a {
        color: #E2F955;
    }
    .page_text_label {font-size: 13px;}
    .remaining_post_preview .thumbnail, .trending_post_preview .thumbnail {
        width: 70px;
        height: 70px;
    }
    .second_post .content h3, .trending_post_preview h3, .remaining_post_preview h3, .trending_post_preview h3 {
        font-size: 18px;
    }

    
    /* Second Post */

    .second_post {
        background-color: #0b0a0a;
        border-bottom: 3px solid #FF7F50;
    }
    
    .second_post .trending-thumbnail img {
        width:100%;
    }

    .remaining_post_preview  h4 {
        display: inline-block;
    }

    /* Trending Posts */
    .trending_topic  img {
        float: right;
        margin-right: 15px;
        display: flex;
        flex-direction: column;
        padding-left: 15px;
    }
    .topic {
        padding: 15px;
    }
    .topic h4 {
        float: right;
        width: 65%;
    }
    .popular_topics p {
        text-align: center;
    }

    /* Resources*/

    .resource {
        background-color: #0b0a0a;
        border-bottom: 3px solid #FF7F50;
        margin-bottom: 15px;
    }
    .resource h1 {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    .resource img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .row.other_pages.subscribe.not_post > h2 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .subscriber_text p {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    /* Footer (Is not a Hamburger Menu)*/

    .footer img {
        margin-left: 0;
        margin-right: auto;
        display: block;
        height: 52px;
        width: 52px;
    }

    .footer p {
        text-align: center;
    }
    .footer .footer-menu {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .footer .footer-menu ul {
        display: inline;
        padding: 0;
    }

    .footer .footer-menu li {
        display: inline;
        list-style-type: none;
    }

    .category_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    

    .single_post_image img {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width:100%;
        height:auto;
        max-width: 768px;
    }

    .post h1 {
        text-align: center;
    }

    /* .post h4 span {
        color: #E2F955;
    } */

    .about h1 {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .about_grid div img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .about_grid div p {
        width: 100%
    }

    .data {
        width: 80%; 
        margin-right: auto;
        margin-left: auto;
    }

    .tableauPlaceholder {
        margin-right: auto;
        margin-left: auto;
        display: block;
        width: 100%;
    }

     /* For the subscriber page */
    p.best_value {
        text-align: center;
        color: #81A9FF;
    }

    .subscribe_button {
        width: 100%;
        border: 0px;
        height: 40px;
    }

    .subscribe_button a {
        color: black !important;
        text-align: center;
        margin: 0 auto;
        text-decoration: none;
    }

    .not_best {
        background-color: grey; /* Ask about what the color should be */
        color: white;
    }

    .is_best {
        background-color: white;
    }

     /* Category */
    .category_page h1, .category_page h4 {
        text-align: center;
    }

    /* Resources Page */

    .poster_grid {
        display: block;
    }

    .poster img {
        width: 200px;
        height: 300px;
        display: block;
        margin: auto;
        padding-bottom: 10px;
    }

    .tweet-container {
        margin-right: 0;
    }

    .tweet-container {
        width: 90vw; 
    }

    .other_resources .twitter-tweet  {
        width: 90vw; 
    }
    /* These sizes should be variable, but by how much??? */
    .poster_grid .poster_grid_small_posters img {
        width: 200px;
        height: 300px;
        display: block; 
        margin: auto;
        margin-bottom: 10px;
    }

    .poster_grid_small_posters h3 {
        margin: auto;
        width: 200px; /* Should match width of the posters */
    }
    
    .poster_grid .poster_grid_large_poster img {
        width: 200px;
        height: 300px;
        display: block;
        margin: auto;
    }

    .poster_grid_large_poster h3 {
        display: none;
    }

    body.page-template-template-resources .subscriber-links{
        display: grid;
        margin: 0 auto;
    }

    body.resources-test .subscriber-links a,
    body.page-template-template-resources .subscriber-links a{
        margin: 0 auto;
        margin-bottom: 10px;
    }
    section.footer img {width: 70px;}
    .major_post .header-image {height: 235px;}
    .major_post_info h1 {font-size: 32px;}
    .popular_topics p a {font-size: 16px;}
    section.resources .resource .thumbnail {height: 200px;}
    .major_post .major_post_link {margin-left: 0;}
    .trending .page_text_label img {height: 10px;}
    section.resources .resource .content {padding: 20px 15px;}
    .team__h1,
    .subscribe__h1,
    .contacts__h1 {font-size: 42px;}
    .tweet-right__lt, .tweet-right__rt {width: 100%;}
    section.resource_page_new {margin-bottom: 30px;}
    .first_resource_wrapper h1.page_title {font-size: 42px;}
    .letter .letter_text h3 {font-size: 20px;}
    .letter .letter_text p, .letter .letter_text a {font-size: 15px;}
    .single_post_image__wrapper {height: 240px;}
    .post .post-wrapper h1 {font-size: 36px;}
    .post__meta-author img {margin-right: 5px;}
    .post__meta-time {padding-left: 33px;}
    .post .wp-block-image {margin-bottom: 30px;}
    .post {font-size: 18px;}
    .post .single_post_image__wrapper {height: auto;}
    .post-bot__ttl {font-size: 16px;margin-bottom: 40px;}
    .post .trending_post_preview .thumbnail {
        float: left;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    .post .trending_post_preview {display: block;}
    .post__meta {flex-wrap: wrap;}
    .post__meta-lt {width: 100%; margin-bottom: 20px;}
    .post__meta-share {
        width: 100%;
        text-align: left;
    }
    .post__meta-share a {
        margin-left: 0;
        margin-right: 10px;
    }
    .post__meta-author span,
    .subscribe__bot {font-size: 16px;}
    .post-wrapper {padding: 30px 10px 10px;}
    .single_post_image {padding: 0 10px;}
    .contacts__ct-item {min-width: 200px;width: 100%;}
    .contacts__ct-item-link {font-size: 20px;}
    .subscribe__h1 {
        font-size: 38px;
        padding: 0 10px;
    }
    .subscribe__h1 {margin-bottom: 40px;}
    .subscribe__grid {margin-bottom: 30px;}
    .search-results .trending_post_preview .thumbnail {
        margin-left: 0;
    }
    .event__date {flex-wrap: wrap;}
    .major_post__time {font-size: 12px;}

}
/* media 430 end */


@media screen and (max-width: 360px) {
    .page_text_label {font-size: 11px;}
    .resources .page_text_label {margin-bottom: 30px;}
    .letter_image {width: 70px;}
    
}

.about_grid div:nth-child(2) > .bio_image {
	transform: rotateZ(90deg);
}