﻿.betting_basics_wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.betting_basics_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.betting_basics {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.betting_basics_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.betting_basics_header_title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.betting_basics_header_title_text {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.betting_basics_header_description {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.betting_basics_header_description_text {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.betting_basics_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.betting_basics_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.betting_basics_section_title {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.betting_basics_section_sub_title {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.betting_basics_section_description {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.betting_basics_zones {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background-color: var(--dark);
    border-radius: 8px;
}

.betting_basics_zone_link {
    width: calc(50% - 2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
}

    .betting_basics_zone_link:focus,
    .betting_basics_zone_link:active,
    .betting_basics_zone_link:hover {
        background-color: var(--light);
        border-color: var(--primary-green);
        transition: background-color 0.2s ease-out;
    }

.betting_basics_zone_link_icon {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .betting_basics_zone_link_icon img {
        width: 100%;
        max-width: 48px;
        height: auto;
        display: block;
    }

.betting_basics_zone_link_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.betting_basics_zone_link:focus .betting_basics_zone_link_text,
.betting_basics_zone_link:active .betting_basics_zone_link_text,
.betting_basics_zone_link:hover .betting_basics_zone_link_text {
    color: var(--dark)
}

.betting_basics_section_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-left: 36px;
}

    .betting_basics_section_list li {
        width: 100%;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        text-align: left;
    }

        .betting_basics_section_list li a {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.5;
            text-decoration: underline;
            color: var(--dark);
        }

.betting_basics_tote_bets {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background-color: var(--dark);
    border-radius: 8px;
}

.betting_basics_tote_bets_button {
    width: calc(50% - 2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    background-color: var(--grey);
    border: 2px solid var(--dark);
    border-radius: 4px;
    cursor: pointer;
}

    .betting_basics_tote_bets_button[data-type="Win"] {
        background-color: #25a8e0;
    }

    .betting_basics_tote_bets_button[data-type="Place"] {
        background-color: #ff1d25;
    }

    .betting_basics_tote_bets_button[data-type="Eachway"] {
        background-color: #8bc541;
    }

    .betting_basics_tote_bets_button[data-type="All to Come"] {
        background-color: #9e005d;
    }

    .betting_basics_tote_bets_button[data-type="Swinger"] {
        background-color: #3b4d81;
    }

    .betting_basics_tote_bets_button[data-type="Exacta"] {
        background-color: #f4783b;
    }

    .betting_basics_tote_bets_button[data-type="Double"] {
        background-color: #00a055;
    }

    .betting_basics_tote_bets_button[data-type="Trifecta"] {
        background-color: #662d91;
    }

    .betting_basics_tote_bets_button[data-type="Quartet"] {
        background-color: #00a99d;
    }

    .betting_basics_tote_bets_button[data-type="Pick 3"] {
        background-color: #faa01e;
    }

    .betting_basics_tote_bets_button[data-type="Pick 6"] {
        background-color: #662d91;
    }

    .betting_basics_tote_bets_button[data-type="Bipot"] {
        background-color: #998675;
    }

    .betting_basics_tote_bets_button[data-type="Place Accumulator"] {
        background-color: #3b4d81;
    }

    .betting_basics_tote_bets_button[data-type="Jackpot"] {
        background-color: #8967ac;
    }

    .betting_basics_tote_bets_button:focus,
    .betting_basics_tote_bets_button:active,
    .betting_basics_tote_bets_button:hover {
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

.betting_basics_tote_bets_button_icon {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .betting_basics_tote_bets_button_icon img {
        width: 100%;
        max-width: 120px;
        height: auto;
        display: block;
    }
.betting_basics_tote_bets_button_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--light);
}

.tote_bet_types_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 2;
}

.tote_bet_types_modal {
    width: 100%;
    max-width: 480px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px;
    background-color: var(--dark);
    border-radius: 8px;
}

.tote_bet_types_modal_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 2px solid var(--light);
}

.tote_bet_types_modal_header_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.close_tote_bet_type_modal {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

    .close_tote_bet_type_modal:focus,
    .close_tote_bet_type_modal:active,
    .close_tote_bet_type_modal:hover {
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

.tote_bet_types_modal_body {
    width: 100%;
    min-height: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
}

.tote_bet_types_modal_body_actions {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.tote_bet_types_modal_body_actions_button {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

    .tote_bet_types_modal_body_actions_button:focus,
    .tote_bet_types_modal_body_actions_button:active {
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

.tote_bet_type_text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--light);
}

.tote_bet_type_description {
    min-height: 64px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    color: var(--light);
}

@media only screen and (min-width: 680px) {
    .betting_basics_zone_link {
        width: calc(25% - 3px);
    }

    .betting_basics_tote_bets {
        justify-content: initial;
    }

    .betting_basics_tote_bets_button {
        width: calc(33.33% - 3px);
    }
}
