/* Media Queries goes here in this file*/
/* Using only one media query breakpoint. Mobile to Tab to Screen. Breakpoint is at 768 (Tab) resolution*/
/* Only Media Queries to be written */
@media(max-width:768px) {
    body {
        line-height: 1.5em;
    }

    .container {
        width: 100%;
        margin: 0;
    }

    .subs_support_block {
        display: none;
    }

    .headerContainer {
        border-bottom: 1px solid var(--sub-grey);
    }

    header.header {
        grid-template-columns: 24% 58% 16%;
        text-align: center;
        padding: 0 1em;
    }

    .headerIconDesktop {
        display: none;
    }

    .headerIconMobile {
        display: block;
    }

    .headerMobileSupport {
        display: block;
        text-align: center;
    }

    .headerMenu {
        display: none;
    }

    .headerSearchContainer {
        width: 100%;
    }

    .headerToggleSearch,
    .headerToggleMenu,
    .headerIconMobile,
    .titleSection a {
        -webkit-tap-highlight-color: transparent;
    }

    .headerHamburgContainer {
        overflow-y: scroll;
        width: 100%;
        height: 100%;
    }

    .headerFooterBack {
        position: fixed;
    }

    .headerToggle img {
        width: 20px;
        height: 20px;
    }

    .headerHamburgMenu {
        height: auto;
    }

    .hamburgMenu1,
    .hamburgMenu2 {
        border-bottom: 1px solid var(--light-grey);
        border-right: 0;
    }

    /* Home Page CSS*/
    .mainContent {
        padding: 0 1em;
        row-gap: 2em;
    }
.topSectionFirstColumn .textSection, .topSectionLeftRight .textSection, .topSectionLeftRight .titleAuthorSection, .topSectionSecondColumn .titleSection {
row-gap: 0em;
}
    .topSection {
        display: grid !important;
        grid-template-columns: 75% 25%;
        column-gap: 1.5%;
        row-gap: 1em;
        grid-template-columns: repeat(1, 1fr);

        /* display: flex;
        grid-template-columns: 69% auto;
        column-gap: 1.5%;
        flex-direction: row; */
    }

    h4.mapsTitle {
        width: 40%;
        border-radius: 0;
    }

    div.homePageSectionTitle {
        border-bottom: 1px solid var(--menu-red);
    }

    .mainContent .titleSection a {
        font-size: 14px;
    }

    .imgDesktop {
        display: none !important;
    }

    .footerContainer {
        display: none !important;
    }

    .imgMobile {
        display: block !important;
    }

    .newsItem {
        row-gap: 0.3em !important;
    }

    #block-views-block-home-page-block-2 .titleAuthorSection,
    #block-views-block-home-page-block-3 .titleAuthorSection {
        /*height: auto;*/
	min-height: 106px;
    }

    #block-views-block-home-page-block-2 .titleAuthorSection .titleSection,
    #block-views-block-home-page-block-3 .titleAuthorSection .titleSection {
        height: auto;
    }

    .homepageCommonSection,
    .infiniteScrollCommonSection .views-infinite-scroll-content-wrapper {
        row-gap: 1em;
    }

    .homepageCommonSection .newsItem,
    .infiniteScrollCommonSection .newsItem {
        flex-direction: row;
        height: auto;
    }

    .homepageCommonSection .imageSection,
    .infiniteScrollCommonSection .imageSection {
        display: flex;
        flex-direction: column;
        flex: 1 0 50%;
    }

    .topSection .authorSection {
        padding: 0.3em 0.7em 0.7em 0.9em !important;
    }

    .topSectionMaps .newsItem .imageSection img {
        border-radius: 5px 5px 0 0;
    }
.topSectionCenter .imageContent img {
	border-radius: 5px 5px 0 0 !important;
}
    .topSectionMaps .newsItem .imageSection .categoryContent {
        display: block !important;
background-color: var(--title-red);
    }

    .homepageCommonSection .imageSection img,
    .infiniteScrollCommonSection .imageSection img {
        border-radius: 5px 0 0 0;
    }

    .homepageCommonSection .titleAuthorSection,
    .infiniteScrollCommonSection .titleAuthorSection {
        display: flex;
        flex-direction: column;
        flex: 1 1 50%;
    }

    .homepageCommonSection .authorSection a,
    .infiniteScrollCommonSection .authorSection a {
        color: var(--main-grey);
        font-weight: 700;
    }

    .titleSection {
        padding: 0.7em 0.7em 0 0.7em !important;
    }

    .topSectionMaps .newsItem {
        display: flex;
        flex-direction: column;
        row-gap: 0.5em;
    }

    .topSectionSecondColumn .titleSection {
        /* padding: 0 !important; */
        padding-bottom: 0.7em !important;
    }

    /* .topSectionSecondColumn .categoryContent {
        top: 112px !important;
        bottom: auto !important;
    } */

    .categoryContent {
        padding: 0.3em 0.8em;
    }

    .authorSection {
        padding: 0.3em 0.7em 0 0.9em !important;
    }

    .topSectionCenter .titleSection {
        padding: 0.7em 0.7em !important;
    }

    .topSectionLeftRight {
        column-gap: 1em !important;
    }

    .topSectionLeftRight .newsItem {
        display: block !important;
        row-gap: 0em !important;
    }

    .topSectionSecondColumn {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(5em, 1fr));
        column-gap: 1em;
    }

    .topSectionSecondColumn .homePageSectionTitle {
        display: none;
    }


    .topSectionCartoons {
        display: block !important;
    }

    .topSectionSecondColumn .titleSection a {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .topSectionCenter .titleSection span {
        font-size: 14px;
    }

    .topSectionCenter .newsItem {
        display: block !important;
    }

    .topSectionCenter .newsItem .bodySection {
        display: none;
    }

    .topSectionLeft {
        display: flex;
        flex-direction: column;
        row-gap: 1em;
    }

    .topSectionRight {
        flex-direction: row;
        column-gap: 1em;
    }

    .topSectionRight div:first-of-type {
        flex: 0 1 50%;
    }

    .topSectionRight div:last-child {
        flex: 1 1 50%;
    }

    .topSectionSupport {
        display: none;
    }

    .topSectionMaps {
        border: 0;
        padding: 0.5em 0;
        flex-direction: row;
        column-gap: 1em;
        height: 100%;
    }

    .topSectionMaps .newsItem {
        height: 100%;
	min-height: 194px;
    }

    .topSectionMaps div {
        flex: 0 1 50%;
    }

    .topSectionMaps .imageSection {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .chartsSectionContentLeft .imageSection {
        display: flex !important;
        flex-direction: column;
    }

    .chartsSectionContentLeft .titleSection {
        padding: 0.7em 0.7em !important;
    }

    .topSectionMaps .blurbSection {
        display: none;
    }

    .spotlightSection div:nth-child(n+6) {
        /*  display: none; */
    }

    .headerMobileSupport button a {
        color: var(--main-white);
        font-size: 9px;
        text-transform: uppercase;
        font-weight: 700;
    }

    .headerMobileSupport button {
        background-color: var(--main-blue);
        border-radius: 5px;
        border: none;
        padding: .3em 1.5em .4em;
    }

    .mainContent span h3 {
        width: 25%;
    }

    #articleSection {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 3.5em;
    }

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

    .articleCategories {
        text-align: left;
    }

    .articleCategories ul {
        flex-direction: row !important;
    }

    .articleContent h1 {
        font-size: 24px;
    }

    .articleIntro {
        font-size: 18px;
        line-height: 1.6em;
    }

    .articleCategories ul li a,
    .articleContent .authorDetails,
    .relatedTopics ul li a {
        font-size: 14px;
    }

    .articleContent img {
        height: auto;
    }

    .articleContent p {
        font-size: 17px;
        line-height: 1.6em
    }

    .subscribeTelegram p {
        font-size: 16px;
    }

    .articleSidebar .newsItem {
        grid-template-columns: 49% 49%;
    }

    .articleSidebar .imageContent img {
        border-radius: 5px 0 0 0;
    }

    .subscribeTelegram a {
        padding: .4em !important;
        font-size: 12px !important;
    }

    .subscribeTelegram img {
        height: 30px !important;
    }

    .a2a_kit.social-icon-mobile-wrap {
        display: none;
        background-color: transparent;
    }

    .share-icon.visible-xs {
        position: fixed;
        bottom: 0;
        padding: 0.4em;
    }

    .homepageCommonSection .js-pager__items {
        display: flex;
        justify-content: space-evenly;
    }

    div.liveblog-post,
    .liveblog-posts-container,
    section.liveblog-posts {
        width: auto;
        max-width: auto;
    }

    article.liveblog-post h2 {
        line-height: 30px;
    }

    .articleContent .pullquote,
    .articleContent .pullquoteleft,
    .articleContent .pullquoteright {
        width: auto;
        float: none;
        margin-right: 0;
        margin-left: 0;
    }

    .articleContent .bodyContent table,
    .articleContent .bodyContent iframe,
    .articleContent .bodyContent .twitter-tweet.twitter-tweet-rendered,
    .articleContent .bodyContent .twitter-tweet.twitter-tweet-rendered iframe {
        width: 80% !important;
    }

    .block-pushnotificationpopup-2-modal .spb_center {
        margin-left: -160px !important;
    }
}



@media(min-width:1800px) {

    .homepageCommonSection,
    .infiniteScrollCommonSection .views-infinite-scroll-content-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    }
}

@media(min-width:1550px) and (max-width: 1799px) {

    .homepageCommonSection,
    .infiniteScrollCommonSection .views-infinite-scroll-content-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    }
}

@media(min-width: 780px) {

    .homepageCommonSection .titleAuthorSection,
    .infiniteScrollCommonSection .titleAuthorSection {
        height: 100%;
    }

    .homepageCommonSection .titleAuthorSection .titleSection,
    .infiniteScrollCommonSection .titleAuthorSection .titleSection,
    .infiniteScrollCommonSection .titleAuthorSectionParent {
        height: 59%;
    }

    .homepageCommonSection form.views-exposed-form,
    .homepageCommonSection nav.pager {
        grid-column-start: 1;
        grid-column-end: 6;
        padding: 1em;
    }

    .homepageCommonSection nav.pager {
        margin: 0 auto;
    }

    .homepageCommonSection .js-pager__items {
        display: flex;
        column-gap: 1em;
    }

    .homepageCommonSection .js-pager__items .is-active a {
        text-decoration: underline;
    }
}


@media(min-width:1280px) and (max-width: 1440px) {
    .topSectionRight {
        row-gap: 1.1em !important;
    }
}

@media(min-width: 1500px) {
    .topSectionRight {
        row-gap: 2em !important;
    }
}

@media(min-width: 800px) {
    .topSectionCenter .titleSection {
        height: 60px !important;
    }
}

@media(max-width: 375px) {
    .headerToggle {
        gap: 13% !important;
    }
    .mainContent span h3 {
        width: 35%;
    }
}
