﻿:root {
    --marks-blue: #005DAA;
    --marks-blue-dark: #00477f;
    --marks-blue-light: #eaf4fb;
    --marks-gray: #f5f5f5;
    --marks-border: #e4e4e4;
    --marks-text: #222222;
    --marks-muted: #555555;
}

#buyBoardHeader {
    background-color: #002855;
    padding: 15px;
    border-radius: 15px;
    color: white;
}
    #buyBoardHeader h1 {
        font-size: 48px;
        color: white;
    }

#BuyBoardVendorData {
    color: #002855;
    box-shadow: 0 0 0 2px white;
    margin-top: 10px;
    justify-self: right;
    display: flex;
    position: relative;
    padding: 4px 4px;
    /* Transparent outer layer */
    background: transparent;
    border: none;
    border-radius: 16px;
    height: fit-content;
    justify-self: center;
    align-self: center;
}

    #BuyBoardVendorData span {
        background-color: white;
        display: block;
        border-radius: 16px;
        padding: 5px;
    }

    #BuyBoardVendorData dl {
        margin: 0px;
    }

    #BuyBoardVendorData dt {
        font-weight: bold;
        margin-top: 12px;
    }

    #BuyBoardVendorData dd:last-of-type {
        border-bottom: none;
    }

    #BuyBoardVendorData dd,
    #BuyBoardVendorData h3{
        margin: 4px 0 0 0;
        padding-bottom: 12px;
        border-bottom: 1px solid #ddd;
    }

.two_column_group {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
}

#BuyBoardSignUp {
    background-color: #a2d9f0;
    padding: 15px;
    border-radius: 25px;
}

#joinBuyBoard {
    color: #fee301;
    box-shadow: 0 0 0 2px #003087;
}

    #joinBuyBoard span {
        background-color: #003087;
        display: block;
        width: 150px;
    }

    #joinBuyBoard:hover {
        color: white;
        box-shadow: 0 0 0 2px #00b2a9;
        padding: 0;
        transition: all 0.5s ease;
    }

        #joinBuyBoard:hover span {
            background-color: #00b2a9;
            padding: 16px 4px;
            transition: all 0.5s ease;
        }

#BuyBoardBenefits {
    background-color: #002855;
    padding: 15px;
    border-radius: 25px;
}

    #BuyBoardBenefits h2 {
        color: white;
        position: relative;
        width: fit-content;
        white-space: nowrap;
        z-index: 1;
    }

        #BuyBoardBenefits h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: .1em;
            width: 100%;
            height: .4em;
            background-color: #0b4d97;
            z-index: -1;
        }

    #BuyBoardBenefits ul {
        list-style: none;
        padding: 0;
        margin: 15px 25px;
    }

    #BuyBoardBenefits li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
        color: #fff;
    }

.buy-board-direct-form {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 25px;
}

#buyBoardStep {
    text-align: center;
}

#buyBoardStepGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
}

    #buyBoardStepGrid div {
        background-color: #ffffff;
        border-radius: 10px;
        padding: 20px;
        border: 2px solid #002855;
        justify-items: start;
        text-align: left;
    }

    #buyBoardStepGrid svg {
        display: block;
    }

.assistance-input {
    margin-top: 15px;
    margin-bottom: 5px;
    display: grid;
    grid-template-rows: 0.3fr 1fr;
}

    .assistance-input input {
        height: 35px;
        border-radius: 10px;
        border-color: #002855;
    }

    .assistance-input select,
    .assistance-message textarea {
        border-radius: 10px;
        border-color: #002855;
    }

    .assistance-input label {
        font-weight: 700;
        margin-bottom: 7px;
        color: #002855;
    }

.assistance-message {
    display: grid;
    grid-template-rows: 0.3fr 1fr;
}

    .assistance-message label {
        font-weight: 700;
        margin-bottom: 7px;
        color: #002855;
    }

#Message {

    height: 80px;
    padding: 5px;
    font-family: inherit;
    resize: vertical;
}

.assistance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
}

    .assistance-grid > :last-child {
        grid-column: span 2;
        margin-top: 10px;
    }

.required {
    color: var(--marks-blue);
}

#assistanceBtn {
    color: #003087;
    box-shadow: 0 0 0 2px #19abe8;
    margin-top: 10px;
    justify-self: right;
    display: flex;
}

    #assistanceBtn span {
        background-color: #19abe8;
        display: block;
        width: 150px;
    }

    #assistanceBtn:hover {
        color: white;
        box-shadow: 0 0 0 2px #003087;
        padding: 0;
        transition: all 0.5s ease;
    }

        #assistanceBtn:hover span {
            background-color: #003087;
            padding: 16px 4px;
            transition: all 0.5s ease;
        }

.bread_crumbs {
    display: block;
    margin-bottom: 15px;
    font-size: 15px;
}

/***************************************
Status Messages
***************************************/
.success-message,
.error-message {
    padding: 16px 18px;
    border-radius: 12px;
    margin: 10px 0;
    font-weight: 700;
}

.success-message {
    background: var(--marks-blue-light);
    border: 1px solid rgba(0, 93, 170, .25);
    color: var(--marks-blue-dark);
}

.error-message {
    background: #fff1f1;
    border: 1px solid rgba(178, 31, 45, .25);
    color: #8a1f1f;
}


@media(max-width: 700px){
    #buyBoardStepGrid {
        grid-template-columns: 1fr;
    }

    .two_column_group {
        grid-template-columns: 1fr;
    }

    #BuyBoardBenefits h2 {
        font-size: 15px;
    }

    .assistance-grid {
        display: block;
    }

    .bbd-title-rule {
        width: 100%;
    }
}