﻿-- bvpIntegration.css
.bvpint_subheader {
    margin-top: -9px;
}

.bvpint_item {
    margin: 15px 5px 30px 30px;
}

.bvpint_items svg {
    width: 20px;
}

.bvpint_item svg {
    width: 40px !important;
    height: 40px;
    margin-right: 10px;
}


.bvpint_item_sm {
    margin: 0px 5px 5px 30px;
}

    .bvpint_item_sm a {
        margin-top: 5px;
    }

    .bvpint_item_sm svg {
        width: 20px !important;
        height: 20px;
        margin-right: 10px;
    }



#bvpint_racodes_table {
    width: fit-content;
    margin-left: 20px;
    border-right: 1px solid rgba(0,0,0,0.2);
}

    #bvpint_racodes_table .cashflow_table_row {
        padding: 0 10px 0 0;
    }

    #bvpint_racodes_table .cashflow_table_row_data_col1 {
        width: 50px;
        font-weight: bold;
        font-size: large;
        text-align: center;
    }

    #bvpint_racodes_table .cashflow_table_row_data_col2 {
        width: 130px;
        font-weight: bold;
        text-align: center;
    }

.bvpint_racodes_table_a1 .cashflow_table_row_data_col1 {
    background-color: #16A085;
    color: #fff;
}

.bvpint_racodes_table_a2 .cashflow_table_row_data_col1 {
    background-color: #A9D18E;
    color: #fff;
}

.bvpint_racodes_table_a3 .cashflow_table_row_data_col1 {
    background-color: #FFD966;
    color: #666;
}

.bvpint_racodes_table_a4 .cashflow_table_row_data_col1 {
    background-color: #F4B183;
    color: #666;
}

.bvpint_racodes_table_d1 .cashflow_table_row_data_col1 {
    background-color: #C44A3E;
    color: #fff;
}

#bvpint_400av_table, #bvpint_400id_table {
    margin-left: 20px;
    margin-right: 20px;
}

#bvpint_env .cashflow_table_row_data_col1 {
    width: 150px;
}

#bvpint_support svg,
#getstarted svg,
#bvpint_login svg,
#bvpint_prod svg,
#bvpint_retrodisabled svg {
    width: 50px;
    max-width: 50px;
    min-width: 50px;
    height: 50px;
    margin-right: 20px;
}


#bvpint_top {
    padding: 0;
}

#bvpint_content {
    padding: 10px;
}

#bvpint_header {
    background-image: linear-gradient(90deg,#06013d 21%,rgba(41,196,169,0) 100%), url(/images/background-1.jpg);
    background-position: center;
    min-height: 150px;
}

#bvpint_header_wrap {
    min-height: 150px;
    padding-top: 20px;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    width: 900px;
    margin: 0 auto;
}

    #bvpint_header_wrap h1 {
        font-weight: 700 !important;
        margin-bottom: 10px;
    }

.font-white {
    color: white;
}

.font-gray {
    color: #838080;
}






/* 1354 additions */

#bvpint_header_wrap h4 {
    padding-left: 11px;
}

#insights_wrapper {
    max-width: 900px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 200px;
    font-size: 1.15em;
    line-height: 1.8em;
    transition: 0.3s ease;
}

nav {
    grid-area: 1 / 2 / 2 / 3;
    position: sticky;
    top: 70px;
    max-height: 700px;
}

    nav a {
        display: block;
        padding: 3px 8px !important;
        background: rgba(0,0,0,0);
    }

        nav a:hover {
            cursor: pointer;
            text-decoration: none !important;
        }

section {
    padding: 20px;
    margin: 15px 0;
}

    section header {
        position: sticky;
        top: 47px;
        box-shadow: rgba(0,0,0,0.4) -2px 3px 4px -3px;
        border-radius: 4px;
    }


    section h3, section h4 {
        margin: 3em 0 1em 0;
    }

article {
    min-height: 500px;
    padding: 35px;
    margin: 65px 4px;
    box-shadow: rgba(0,0,0,0.2) 0 2px 3px;
    border-radius: 4px;
}

aside {
    margin: 35px;
    padding: min(20px);
    box-shadow: rgba(0,0,0,0.2) 0 2px 3px;
    border-radius: 5px;
}

    aside h3 {
        margin: auto;
    }

p {
    margin: 30px 0;
}

h1 {
    padding: 5px 0 0 10px;
}

section > ul, #insights_wrapper article > ul, #insights_wrapper section > ol, #insights_wrapper article > ol {
    margin-top: -10px;
}

a.anchor {
    display: block;
    position: relative;
    top: -130px;
    visibility: hidden;
}

p > a.insights__general, p > a.insights__dev, p > a.insights__data, p.insights__general, p.insights__dev, p.insights__data {
    padding-left: min(4px);
}

.insights__general {
    border-left: 4px solid #6c757d;
}

.insights__dev {
    border-left: 4px solid #007bff;
}

.insights__data {
    border-left: 4px solid #ffc107;
}

.required::after {
    content: '**';
    color: red;
}

.required_all::after {
    content: '*';
    color: red;
}

.insights__version {
}

.insights__choice {
}

    .insights__choice button {
        margin: 0px;
        padding: 15px;
        cursor: pointer;
    }

        .insights__choice button:first-child {
            border-radius: 35px 0 0 35px;
        }

        .insights__choice button:last-child {
            border-radius: 0 35px 35px 0;
        }

.selected {
}

.hidden {
    display: none;
}

.btn-download {
    display: block;
    width: 250px;
    margin: 0 auto;
    padding: 5px 7px;
    border-radius: 2px;
    text-align: center;
    border: solid 1px #1EC677 !important;
}
    .btn-download:hover, .btn-download:active {
        color: #000 !important;
        background: #1EC677 !important;
        text-decoration: none !important;
    }
@media(prefers-color-scheme: light) {
    .btn-download {
        color: #666 !important;
    }
}
@media(prefers-color-scheme: dark) {
    .btn-download {
        color: #1EC677 !important;
    }
}

.quote_highlight {
    display: block;
    margin: 25px auto;
    padding: 15px 30px;
    font-size: 1.4em;
    line-height: 1.5em;
    font-style: italic;
    font-weight: bold;
}

table th, table td {
    padding: 5px;
    border: 1px solid rgba(200,200,200,0.2);
    line-height: 1.3em;
    text-align: center;
}

table tr:nth-child(2n) {
    background: rgba(150,150,150,0.1);
}

table.fixed_width td {
    width: 25%;
}

figure tr:first-child th:first-child {
    border: none;
}

figcaption {
    text-align: center;
    font-style: italic;
    font-size: 0.9em;
}

#response_schema tr:first-child {
    background: red;
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-column-gap: 45px;
}

    .choices h3 {
        text-align: center;
    }

    .choices p {
        text-align: justify;
        line-height: 1.5em;
    }

.segmented_buttons {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 480px;
    margin: 20px auto;
    border-radius: 100px;
}

    .segmented_buttons button {
        padding: 8px;
        background: none;
        margin: 0;
        line-height: 1.2em;
    }

        .segmented_buttons button:first-child {
            border-radius: 50px 0 0 50px;
        }

        .segmented_buttons button:last-child {
            border-radius: 0 50px 50px 0;
            border-left: none;
        }

        .segmented_buttons button:hover {
            cursor: pointer;
        }

        .segmented_buttons button.selected::before {
            content: '✔ ';
            display: block;
            float: left;
        }


.no_selection {
    animation: pulse 4s infinite ease-out alternate;
}

@keyframes pulse {
    0%, 80%, 100% {
        box-shadow: 0 0 5px -5px #1EC677;
    }

    87% {
        box-shadow: 0 0 5px 5px #1EC677;
    }
}

#integration_path_alert {
    text-align: center;
}

pre .key {
    color: #28B8C7;
}

pre .string {
    color: #C7590A;
}

pre .number {
    color: #C72881;
}

pre .null {
    color: gray;
}


@media (prefers-color-scheme: light) {

    article {
        background: #fff;
    }

    aside {
        background: #3a3a3a;
    }

    code {
        background: rgba(0,0,0,0.1);
    }

    nav a {
        color: #666 !important;
    }

        nav a:hover {
            color: white !important;
            background: rgba(100,100,100,0.3) !important;
        }

    section header {
        background: #f1f1f1;
    }

    section > aside {
        background: #fff;
    }

    article > aside {
        background: #f1f1f1;
    }

    .insights__choice {
        background: #555;
    }

        .insights__choice button {
            background: rgba(0,0,0,.3);
        }

            .insights__choice button:hover {
                background: rgba(0,0,0,.2);
            }

    .quote_highlight {
        color: #888;
    }

    .selected {
        background: red;
    }

    .segmented_buttons {
    }

        .segmented_buttons button {
            border: solid 1px rgba(30,198,119,0.5);
        }

            .segmented_buttons button:hover, .segmented_buttons button.selected, .segmented_buttons button:active {
                background: rgba(30,198,119,0.3);
            }
}

@media (prefers-color-scheme: dark) {

    article {
        background: #333;
    }

    aside {
        background: #3a3a3a;
    }

    nav a {
        color: #bbb !important;
    }

        nav a:hover {
            color: white !important;
            background: rgba(100,100,100,0.3) !important;
        }

    section header {
        background: #181818;
    }

    .insights__choice {
        background: #555;
    }

        .insights__choice button {
            background: rgba(0,0,0,.3);
        }

            .insights__choice button:hover {
                background: rgba(0,0,0,.2);
            }

    .quote_highlight {
        color: #fff;
    }

    .selected {
        background: red;
    }

    .segmented_buttons {
        color: #fff;
    }

        .segmented_buttons button {
            border: solid 2px rgba(30,198,119,0.3);
        }

            .segmented_buttons button:hover, .segmented_buttons button.selected, .segmented_buttons button:active {
                background: rgba(30,198,119,0.3);
            }
}

@media (max-width: 1130px) {
    #bvpint_header_wrap {
        width: 100%;
    }

    #insights_wrapper.logged_in {
        display:block;
        overflow: hidden;
    }

    .g_header {
        overflow-x: hidden !important;
    }

    nav.logged_in {
        display: none !important;
    }
}

@media (max-width: 933px) {

    #insights_wrapper {
        display: block;
        overflow: hidden;
    }

    nav {
        display: none !important;
    }

    section header {
        position: relative;
        top: 0px;
    }

    .segmented_buttons {
        width: 100%;
    }
}

@media (max-height: 700px) {
    nav {
        position: relative;
    }
}
