@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

* {
    box-sizing: border-box;
    /* outline: 1px dashed #f00; */
}

html, body {
    margin: 0;
    width: 100vw;
    height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #eeeeee;
}

canvas {
    width: 100%;
    height: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

pre,
div.error {
    background-color: #e5e5e5;
    padding: 1rem;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    margin: 1rem 0;
    max-height: 250px;
}

    pre.fixed,
    div.error.fixed {
        height: 200px;
    }

code {
    background-color: #e5e5e5;
    display: inline-block;
    padding: 0px 6px;
    border-radius: 3px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

.ac-adaptivecard {
    border: solid 1px lightgray;
    background-color: #ffffff;
    border-radius: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 80px;
    padding-right: 80px;
}


.ac-separator {
    margin-bottom: 5px;
}

.ac-textblock {
    font-family: Arial;
    color: #2c4965;
}

.ac-image.ac-selectable {
    cursor: pointer;
}

a.ac-anchor {
    text-decoration: none;
}

    a.ac-anchor:link {
        color: #005A9E;
    }

    a.ac-anchor:visited {
        color: #005A9E;
    }

    a.ac-anchor:link:active {
        color: #004D84;
    }

    a.ac-anchor:visited:active {
        color: #004D84;
    }

.ac-container.ac-selectable, .ac-columnSet.ac-selectable {
    padding: 0px;
}

    .ac-container.ac-selectable:hover, .ac-columnSet.ac-selectable:hover {
        background-color: rgba(0, 0, 0, 0.1) !important;
    }

    .ac-container.ac-selectable:active, .ac-columnSet.ac-selectable:active {
        background-color: rgba(0, 0, 0, 0.15) !important;
    }

.ac-pushButton {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    vertical-align: middle;
    cursor: default;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px 5px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 31px;
    background-color: #53c0df;
    color: #ffffff;
    border-radius: 10px;
    border: none;
}

    .ac-pushButton:hover {
        background-color: #ffffff;
        color: #53c0df;
        border: solid;
        border-color: #53c0df;
    }

    .ac-pushButton:active {
    }

    .ac-pushButton.style-positive {
        background-color: #0078D7;
    }

        .ac-pushButton.style-positive:hover, .ac-pushButton.style-positive:active {
            background-color: #006ABC;
            border: 1px solid #006ABC;
        }

    .ac-pushButton.style-destructive {
        background-color: #E50000;
        color: white;
        border: 1px solid #E50000;
    }

        .ac-pushButton.style-destructive:hover, .ac-pushButton.style-destructive:active {
            background-color: #BF0000;
            border: 1px solid #BF0000;
        }

    .ac-pushButton.subdued {
        color: #666666;
        border: 1px solid #EEEEEE;
    }

        .ac-pushButton.subdued:hover {
            background-color: #0078D7;
            color: white;
            border: 1px solid #0078D7;
        }

    .ac-pushButton.expanded {
        background-color: #0078D7;
        color: white;
        border: 1px solid #0078D7;
    }

    .ac-pushButton.expandable:after {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-family: 'FabricMDL2Icons';
        font-size: 10px;
        font-style: normal;
        font-weight: 900;
        margin: auto 0px auto 6px;
        content: '\E70D';
    }

    .ac-pushButton.expandable.expanded:after {
        content: '\E70E';
    }

.ac-input {
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    color: black;
}

    .ac-input.ac-input-required {
        background-image: linear-gradient(45deg, transparent, transparent 50%, red 50%, red 100%);
        background-position: top right;
        background-size: .5em .5em;
        background-repeat: no-repeat;
    }

    .ac-input.ac-input-validation-failed {
        border: 1px solid red !important;
    }

    .ac-input.ac-textInput {
        resize: none;
    }

        .ac-input.ac-textInput.ac-multiline {
            height: 72px;
        }

    .ac-input.ac-textInput, .ac-input.ac-numberInput, .ac-input.ac-dateInput, .ac-input.ac-timeInput {
        height: 31px;
    }

    .ac-input.ac-textInput, .ac-input.ac-numberInput, .ac-input.ac-dateInput, .ac-input.ac-timeInput, .ac-input.ac-multichoiceInput {
        border: 1px solid #DDDDDD;
        padding: 4px 8px 4px 8px;
    }

/* ac-inlineActionButton should set height to the same as ac-input.ac-textInput */

.ac-inlineActionButton {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    background-color: transparent;
    height: 31px;
}

    .ac-inlineActionButton.textOnly {
        padding: 0 8px;
    }

    .ac-inlineActionButton.iconOnly {
        padding: 0;
    }

    .ac-inlineActionButton:hover {
        background-color: #EEEEEE;
    }

    .ac-inlineActionButton:active {
        background-color: #CCCCCC;
    }


