﻿#blazor-error-ui {
    display: none;
}

html * {
    font-family: Verdana;
}

div#blazor-error-ui {
    display: none;
}

html,
html > body,
html > body > div#body-content {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    font-family: Verdana;
}

.real-container {
    container-type: inline-size;
    width: 100%;
}

.bikebuilder-container {
    display: block;
    width: 670px;
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    margin-top: 10px;
    padding: 0;
    container-type: inline-size;
}

.bikebuilder-iframe {
    /*display: flex;
    flex-wrap: wrap;*/
    display: table;
    width: 100%;
}

    .bikebuilder-iframe > div {
        display: table-row;
    }

        .bikebuilder-iframe > div > div {
            display: table-cell;
            padding: 20px 0;
        }

        .bikebuilder-iframe > div div div.border-box {
            display: block;
            border: solid 1px black;
            border-radius: 10px;
            width: calc(100% - 8px);
            text-align: left;
            padding: 20px 20px;
        }

            .bikebuilder-iframe > div div div.border-box table.input-dropdown-table {
                width: 100%;
                border: solid 1px black;
                border-radius: 3px;
                border-collapse: collapse;
            }

                .bikebuilder-iframe > div div div.border-box table.input-dropdown-table tr td {
                    text-align: left;
                    padding: 10px;
                }

                .bikebuilder-iframe > div div div.border-box table.input-dropdown-table:hover tr td {
                    background-color: #A9D87C;
                }

    .bikebuilder-iframe.blackironhorse > div div div.border-box table.input-dropdown-table:hover tr td {
        background-color: #E29F6F;
    }

    .bikebuilder-iframe > div div div.border-box table.input-dropdown-table tr td.right {
        text-align: right;
    }

    .bikebuilder-iframe > div div div.border-box table.calculated-price-table {
        width: 100%;
        min-width: 300px;
        border: none;
        border-collapse: collapse;
    }

        .bikebuilder-iframe > div div div.border-box table.calculated-price-table tr td {
            text-align: left;
            padding: 5px 0;
        }

            .bikebuilder-iframe > div div div.border-box table.calculated-price-table tr td.right {
                text-align: right;
                padding-right: 20px;
            }

    .bikebuilder-iframe > div div div.border-box div.green-button {
        display: block;
        width: calc(100% - 11px);
        text-align: center;
        background-color: #A9D87C;
        color: #196660;
        font-weight: bold;
        padding: 20px;
        border-radius: 5px;
        border: solid 5px #A9D87C;
        margin-top: 40px;
        cursor: pointer;
        margin-left: 5px;
        margin-top: 15px;
        margin-bottom: 5px;
        font-size: 1em;
        transition: transform 250ms;
    }

        .bikebuilder-iframe > div div div.border-box div.green-button:hover {
            transform: scale(1.05);
            /* background-color: #99B86C; */
            /* margin-top: 10px;
            margin-bottom: 0;
            width: calc(100% - 1px);
            margin-left: 0;
            padding-top: 24px;
            padding-bottom: 24px;
            border: solid 5px #A9D87C;
            font-size: 1.1em;*/
        }

    .bikebuilder-iframe.blackironhorse > div div div.border-box div.green-button {
        display: block;
        width: calc(100% - 11px);
        text-align: center;
        font-weight: bold;
        padding: 20px;
        border-radius: 5px;
        margin-top: 40px;
        cursor: pointer;
        margin-left: 5px;
        margin-top: 15px;
        margin-bottom: 5px;
        font-size: 1em;
        transition: transform 250ms;
        background-color: #E29F6F;
        color: #fff;
        border: solid 5px #E29F6F;
    }

        .bikebuilder-iframe.blackironhorse > div div div.border-box div.green-button:active,
        .bikebuilder-iframe.blackironhorse > div div div.border-box div.green-button:hover,
        .bikebuilder-iframe.blackironhorse > div div div.border-box div.green-button:focus {
            transform: scale(1.05);
            /* background-color: #D28F5F; */
            /*margin-top: 10px;
            margin-bottom: 0;
            width: calc(100% - 1px);
            margin-left: 0;
            padding-top: 24px;
            padding-bottom: 24px;
            border: solid 5px #E29F6F;
            font-size: 1.1em;*/
        }

div.person-input input {
    width: 100%;
}

    div.person-input input[type=checkbox] {
        width: auto;
    }

div.person-input label {
    font-size: 0.9em;
    display: block;
    text-align: left;
}

div.person-input .person-input-info {
    font-size: 0.9em;
    display: block;
    text-align: left;
}

div.person-input span.invalid-messsage-person-input {
    font-size: 0.9em;
    color: red;
}

div.person-input span.empty-messsage-person-input {
    font-size: 0.9em;
    color: red;
}

div.person-input span.no-messsage {
    font-size: 4px;
    display: block;
}

div.person-input select {
    width: 100%;
    max-width: 100%;
}
/*@@container (max-width: 1619px) {
    .bikebuilder-iframe {
        flex-direction: column;
        align-items: center;
    }

        .bikebuilder-iframe > div {
            flex: unset;
            width: 540px;
            min-width: 540px;
            max-width: 540px;
            border-right: none;
        }

            .bikebuilder-container-inner > div:last-child {
                border-bottom: none;
            }
}*/

div.dropdown-list {
    display: block;
    padding: 0;
    margin: 0;
}

    div.dropdown-list table.dropdown-list-items-table {
        width: 100%;
        border-collapse: collapse;
    }

        div.dropdown-list table.dropdown-list-items-table tr {
            border: solid 1px black;
            cursor: pointer;
        }

            div.dropdown-list table.dropdown-list-items-table tr.selected {
                background-color: #A9D87C;
            }

            div.dropdown-list table.dropdown-list-items-table tr:hover {
                background-color: #99B86C;
            }

            div.dropdown-list table.dropdown-list-items-table tr td {
                padding: 10px;
                text-align: left;
                height: 80px;
            }

.bikebuilder-iframe.blackironhorse div.dropdown-list table.dropdown-list-items-table tr.selected {
    background-color: #D28F5F;
}

.bikebuilder-iframe.blackironhorse div.dropdown-list table.dropdown-list-items-table tr:hover {
    background-color: #D28F5F;
}


        div.dropdown-list table.dropdown-list-items-table.yes-no tr td {
            height: 20px;
            font-weight: bold;
        }

        div.dropdown-list table.dropdown-list-items-table tr td.right {
            text-align: right;
            white-space: nowrap;
        }

.nowrap {
    white-space: nowrap;
}

span.babyseat.count {
    display: inline-block;
    border: solid 2px black;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    background-color: #6B9839;
    color: #fff;
    cursor: pointer;
}

    span.babyseat.count:hover {
        background-color: #9BB869;
    }

    span.babyseat.count.selected,
    span.babyseat.count.selected:hover {
        background-color: #3B6819;
    }

.bikebuilder-iframe.blackironhorse span.babyseat.count {
    display: inline-block;
    border: solid 2px black;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    background-color: #E29F6F;
    color: #fff;
    cursor: pointer;
}

    .bikebuilder-iframe.blackironhorse span.babyseat.count:hover {
        background-color: #D28F5F;
    }

    .bikebuilder-iframe.blackironhorse span.babyseat.count.selected,
    .bikebuilder-iframe.blackironhorse span.babyseat.count.selected:hover {
        background-color: #E29F6F;
    }

.confirm-messsage-person-input {
    display: block;
    width: 100%;
    border: solid 2px green;
    background-color: white;
    color: green;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}

@media (min-width: 601px) {
    .bikebuilder-iframe {
        width: 670px;
    }
}

@media (max-width: 600px) {
    .bikebuilder-iframe,
    .bikebuilder-iframe > .row,
    .bikebuilder-iframe .col2,
    .bikebuilder-iframe .col3 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .bikebuilder-iframe {
        margin: 0 0 0 15px;
    }
}
