* {
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-family: Arial;
    overflow-x: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
}

h1 {
    font-size: 25px;
    padding-top: 25px;
    font-weight: bold;
}

h2 {
    width: 100%;
    color: #202021;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 15px;
    line-height: 20px;
}

ul {
    list-style: none;
}

.row {
    margin: auto;
}

.container {
    max-width: 1124px;
}

.body_wrapper {
    padding: 0px;
    margin: 0px;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #f0f0f0;
}

.navbar {
    margin-left: 0;
    margin-right: 0;
    background-color: black;
}

.nav_link_header {
    color: white !important;
}

.nav-link:hover {
    color: #e74c3c !important;
}

.nav-item {
    margin-right: 15px;
    font-weight: bold;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
    display: block;
    float: left;
}

.navbar-nav .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    height: 50px;
    line-height: 50px;
}

.dropdown-item {
    font-weight: bold;
}

.dropdown-item:hover {
    color: white;
    background-color: #b4483b;
}

.search-link-container a {
    color: white;
}

.search-link-container a:hover {
    color: #b4483b;
}

.source-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fafafa;
    height: 45px;
    width: 100%;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAdVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhMdQaAAAAJ3RSTlMAAAECAwQGBwsOFBwkJTg5RUZ4eYCHkJefpaytrsXGy8zW3+Do8vNn0bsyAAAAYElEQVR42tXROwJDQAAA0Ymw1p9kiT+L5P5HVEi3qJn2lcPjtIuzUIJ/rhIGy762N3XaThqMN1ZPALsZPEzG1x8LrFL77DHBnEMxBewz0fJ6LyFHTPL7xhwzWYrJ9z22AqmQBV757MHfAAAAAElFTkSuQmCC);
    background-position: 100%;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.footer {
    width: 100%;
    background-color: rgb(77, 76, 76);
    /* background-color: rgb(80, 107, 182); */
    /* border-top: 4px solid white; */
}

.footer_wrapper {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
}

.footer_wrapper ul li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer_wrapper ul li a {
    color: white;
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
}

.footer_wrapper ul li a:hover {
    color: #e74c3c;
}

.footer_wrapper p {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}

.copyright_text {
    background-color: white;
    min-height: 50px;
}

.each_article img {
    width: 100%;
    height: auto;
    /* border: 3px solid #e0574d; */
}

.card {
    height: 100%;
}

.feed_name_row {
    cursor: pointer !important;
}

.read_more_button {
    background-color: #a9a9a9;
}

.news_link {
    text-decoration: none;
}

.news_link:hover {
    text-decoration: none;
}

.news_link img {
    width: 100%;
    height: auto;
    /* border: 3px solid #e0574d; */
}

.by_author_div {
    width: 100%;
    font-weight: normal;
    font-size: 15px;
}

/* NEWS DETAILS PAGE */
.card_news_page {
    padding: 20px;
}

.more_news_card {
    padding: 20px;
    background: white;
    border-radius: 2px;
    border: 1px solid #dfdfdf;
}

.more_news_link:last-child {
    margin-right: 0px !important;
}

.title_div h1 {
    font-weight: bold;
    color: grey;
}

.leaderboard_container {
    background-color: white;
    padding: 0px;
}

.app_download {
    padding-top: 2px;
}

.standings_navbar {
    width: 100%;
}

.standings_card_title {
    margin-bottom: 0px;
    border-radius: 4px 4px 0px 0px;
    border: 1px solid #dfdfdf;
    border-bottom: 0px;
    overflow: hidden;
}

.standing_tab_div {
    float: left;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 50%;
    text-align: center;
    cursor: pointer;
    background-color: white;
}

.standing_tab_div_active {
    border-bottom: 1px solid #e0574d;
}

.standings_navbar_links {
    color: #343a40;
    font-size: 13px;
}

.standings_navbar_links:hover {
    text-decoration: none;
}

.standings_card_body {
    margin: 0px;
    padding: 0px;
    font-size: 13px;
    float: left;
    border: 1px solid #dfdfdf;
    border-top: 0px;
    border-bottom: 0px;
    background-color: white;
}

.standings_side_pos_title {
    width: 20%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_side_driver_title {
    width: 58%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_side_points_title {
    width: 20%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_pos_title {
    width: 9%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_driver_title {
    width: 35%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_nationality_title {
    width: 35%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_points_title {
    width: 20%;
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.standings_card_footer {
    float: left;
    width: 100%;
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgb(230, 228, 228) !important;
    background-color: white;
    border: 1px solid #dfdfdf;
    border-radius: 0px 0px 4px 4px;
}

.list-card {
    display: flex;
    margin-top: 0;
    padding: 15px;
}

.news-item-col {
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-item {
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #00000020;
    background-color: white;
}

.news-item-content {
    display: flex;
    padding: 0;
    margin-top: 0;
}

.news-image {
    display: flex;
    align-items: flex-start;
    max-width: 100px;
}

.news-image img {
    max-width: 100%;
    height: auto;
    margin: 0;
}

.news-title {
    width: 100%;
    margin: 0;
    margin-left: 15px;
    margin-top: 0px;
    position: relative;
}

.news-title p {
    font-size: 16px;
}

.news-title-h2 a {
    color: black;
}

.news-details {
    width: 100%;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
}

.view-button {
    font-size: 22px;
    cursor: pointer;
    padding: 3px;
    color: grey;
    border: 1px solid #00000020;
    background-color: white;
    border-radius: 2px;
    display: flex;
    align-items: center;
}

.selected-view {
    background-color: grey;
    color: white;
    font-size: 22px;
    padding: 3px;
}

@media only screen and (min-width: 481px) {
    .mobile_only {
        display: none;
    }

    .desktop_only {
        display: block;
    }

    .latest_news_title {
        font-size: 30px;
        font-weight: bold;
        color: grey;
    }

    .each_article {
        padding: 10px;
    }

    .news_link p {
        font-weight: normal;
        font-size: 16px;
        line-height: 25px;
        color: #343a40;
        word-wrap: break-word;
    }

    .news-title-h2 {
        padding-top: 0px;
        font-size: 18px;
        margin-top: 0px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .news_link h5 {
        font-size: 20px;
        line-height: 30px;
        color: #343a40;
        font-weight: bold;
    }

    .latest_news_card_title {
        font-size: 18px;
        line-height: 25px;
    }

    .feed_name {
        font-size: 12px;
        color: rgb(53, 52, 52);
        font-style: italic;
        padding-top: 5px;
        padding-left: 15px;
        padding-right: 10px;
    }

    .date_source_div {
        width: 100%;
        margin-top: 10px;
        font-weight: bold;
        font-size: 15px;
    }

    .more_from {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .more_news_link {
        text-decoration: none;
        margin-bottom: 20px;
    }

    .more_news_link:hover {
        text-decoration: none;
    }

    .more_news_link h5 {
        font-size: 16px;
        line-height: 25px;
        color: #343a40;
        font-weight: bold;
    }

    .more_news_link img {
        width: 100%;
        height: auto;
    }

    .pagination_div {
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .number_of_pages {
        padding: 10px;
        margin-right: 10px;
        color: rgb(43, 42, 42);
        border-radius: 5px;
    }

    .previous_link {
        margin-right: 10px;
    }

    .previous_link a {
        width: 100%;
        display: block;
        padding: 10px;
        color: white;
        background-color: #353a40;
        border-radius: 7px 3px 3px 7px;
    }

    .previous_link a:hover {
        text-decoration: none;
    }

    .pages_link {
        display: inline-block;
    }

    .current_page {
        margin-right: 10px;
        padding: 10px;
        color: white;
        background-color: #e0574d;
        border-radius: 3px;
    }

    .next_link {
        margin-right: 10px;
    }

    .next_link a {
        width: 100%;
        display: block;
        padding: 10px;
        color: white;
        background-color: #353a40;
        border-radius: 3px 7px 7px 3px;
    }

    .next_link a:hover {
        text-decoration: none;
    }

    .search_time {
        width: 175px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .search_time_button {
        line-height: 15px;
        color: white;
        background: #cf0000;
    }

    .advanced_link {
        display: inline;
        margin-right: 10px;
        text-decoration: none;
        cursor: pointer;
    }

    .advanced_link:hover {
        text-decoration: underline;
    }

    .advanced_div {
        position: absolute;
        display: none;
        width: 80%;
        margin-top: 20px;
        font-size: 15px;
        line-height: 25px;
        background: #f4f4f4;
        border: 2px solid #a09a9a;
        border-radius: 10px;
        z-index: 10;
    }

    .advanced_div_core {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .advanced_x {
        width: 15px;
        height: 15px;
        position: absolute;
        right: 3px;
        top: 3px;
        cursor: pointer;
    }

    .leaderboard_p {
        font-weight: normal;
    }

    .presence_buttons {
        padding: 5px;
        margin-right: 5px;
        color: white;
        background-color: #343a40;
        border: 1px solid black;
        cursor: pointer;
    }

    .presence_buttons:focus {
        outline: none;
    }

    .each_audio_div {
        width: 100%;
        margin-bottom: 10px;
    }

    .each_audio_div audio {
        width: 100%;
    }

    .each_audio_div a {
        margin-left: 10px;
        color: #343a40;
    }

    .each_audio_div a:hover {
        text-decoration: underline;
    }

    .presence_button_active {
        padding: 5px;
        margin-right: 5px;
        color: #343a40;
        background-color: #dbdbdb;
        border: 1px solid black;
        cursor: pointer;
    }

    .link-titles {
        color: #212529;
        font-size: 18px;
    }

    .news-source {
        font-weight: bold;
        color: #318ce7;
        margin: 0px;
    }

    .news-timestamp {
        font-style: italic;
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    .mobile_only {
        display: block;
    }

    .desktop_only {
        display: none;
    }

    .card_news {
        padding: 10px;
    }

    .latest_news_title {
        font-size: 30px;
        font-size: 20px;
        font-weight: bold;
        color: grey;
        text-align: left;
    }

    .each_article {
        padding: 5px;
        margin-bottom: 10px;
    }

    .news-title-h2 {
        padding-top: 0px;
        font-size: 16px;
        margin-top: 0px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .news_link h5 {
        font-size: 16px;
        line-height: 25px;
        color: #343a40;
        font-weight: bold;
    }

    .news_link p {
        font-weight: normal;
        font-size: 14px;
        line-height: 25px;
        color: #343a40;
        word-wrap: break-word;
    }

    .latest_news_card_title {
        font-size: 15px;
        line-height: 25px;
    }

    .feed_name {
        font-size: 10px;
        color: rgb(53, 52, 52);
        font-style: italic;
        padding-top: 5px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .feed_name_row img {
        width: 100% !important;
        margin-bottom: 10px;
        /* border: 3px solid #e0574d; */
    }

    .read_more_button_mobile {
        width: 90px;
        font-size: 12px;
    }

    .card_news_page h5 {
        font-size: 15px;
    }

    .card_news_page p {
        font-size: 13px;
    }

    .date_source_div {
        width: 100%;
        margin-top: 10px;
        font-weight: bold;
        font-size: 12px;
    }

    .more_news_link {
        display: block;
        text-decoration: none;
        margin-bottom: 20px;
        padding: 20px;
        background: white;
        border-radius: 3px;
        border: 1px solid #dfdfdf;
    }

    .more_news_link:hover {
        text-decoration: none;
    }

    .more_news_link h5 {
        padding-left: 15px;
        font-size: 16px;
        line-height: 25px;
        color: #343a40;
        font-weight: bold;
    }

    .more_news_link img {
        width: 100%;
        height: auto;
    }

    .pagination_div {
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .number_of_pages {
        padding: 5px;
        margin-right: 5px;
        font-size: 10px;
        color: rgb(43, 42, 42);
        border-radius: 5px;
    }

    .previous_link {
        margin-right: 10px;
    }

    .previous_link a {
        width: 100%;
        display: block;
        padding: 5px;
        font-size: 10px;
        color: white;
        background-color: #353a40;
        border-radius: 7px 3px 3px 7px;
    }

    .previous_link a:hover {
        text-decoration: none;
    }

    .pages_link {
        display: inline-block;
    }

    .current_page {
        margin-right: 5px;
        padding: 5px;
        font-size: 10px;
        color: white;
        background-color: #e0574d;
        border-radius: 3px;
    }

    .next_link {
        margin-right: 5px;
    }

    .next_link a {
        width: 100%;
        display: block;
        padding: 5px;
        font-size: 10px;
        color: white;
        background-color: #353a40;
        border-radius: 3px 7px 7px 3px;
    }

    .next_link a:hover {
        text-decoration: none;
    }

    .search_time {
        width: 120px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .search_time_button {
        line-height: 15px;
        font-size: 12px;
        color: white;
        background: #cf0000;
    }

    .advanced_link {
        display: inline;
        margin-right: 10px;
        text-decoration: none;
        cursor: pointer;
        font-size: 10px;
    }

    .advanced_link:hover {
        text-decoration: underline;
    }

    .advanced_div {
        position: absolute;
        display: none;
        width: 80%;
        margin-top: 20px;
        font-size: 15px;
        line-height: 25px;
        background: #f4f4f4;
        border: 2px solid #a09a9a;
        border-radius: 10px;
        z-index: 10;
    }

    .advanced_div_core {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .advanced_x {
        width: 15px;
        height: 15px;
        position: absolute;
        right: 3px;
        top: 3px;
        cursor: pointer;
    }

    .leaderboard_p {
        font-size: 12px;
        font-weight: normal;
    }

    .presence_buttons {
        width: 100%;
        padding: 5px;
        margin-top: 10px;
        margin-right: 5px;
        font-size: 12px;
        color: white;
        background-color: #343a40;
        border: 1px solid black;
        cursor: pointer;
    }

    .presence_buttons:focus {
        outline: none;
    }

    .each_audio_div {
        width: 100%;
        margin-bottom: 10px;
    }

    .each_audio_div audio {
        width: 100%;
    }

    .each_audio_div a {
        margin-left: 10px;
        color: #343a40;
    }

    .each_audio_div a:hover {
        text-decoration: underline;
    }

    .title_div h1 {
        font-size: 16px;
        font-weight: bold;
        color: grey;
    }

    .footer_wrapper {
        font-size: 11px;
    }

    .presence_button_active {
        width: 100%;
        padding: 5px;
        margin-top: 10px;
        margin-right: 5px;
        font-size: 12px;
        color: #343a40;
        background-color: #dbdbdb;
        border: 1px solid black;
        cursor: pointer;
    }

    .standings_text {
        font-size: 10px;
    }

    .link-titles {
        color: #212529;
        font-size: 12px;
    }

    .small-font {
        font-size: 10px;
    }

    .news-source {
        font-weight: bold;
        color: #318ce7;
        font-size: 10px !important;
        margin: 0;
    }

    .news-timestamp {
        font-size: 10px !important;
        font-style: italic;
        margin: 0;
    }
}
