/*#region layout */
body, html {
    padding-top: 1em;
}

.vue-form-button-toolbar {
    padding: 0px 2px 0px 7px;
}

.table .fit-content {
    text-align: center;
    white-space: nowrap;
    width: 1%;
}

.field-radios {
    margin-bottom: 22px;
}
/*#endregion */

/*#region spatie tabs */
.tabs-component {
    margin: 1em 0 !important;
}

.tabs-component-tab:not(.is-active) {
    border-bottom: solid 1px #ddd;
}

@media (min-width: 700px) {
    .tabs-component-panels {
        padding: 1em 0px 0em 0px !important;
    }

    .tabs-component-tab {
        transform: inherit;
    }
}

.tabs-component > ul {
    -webkit-padding-start: 0px;
    -moz-padding-start: 0px;
}
/*#endregion */

/*#region save draft button animation */
.glyphicon.fast-right-spinner {
    -webkit-animation: glyphicon-spin-r 1s infinite linear;
    animation: glyphicon-spin-r 1s infinite linear;
}

.glyphicon.normal-right-spinner {
    -webkit-animation: glyphicon-spin-r 2s infinite linear;
    animation: glyphicon-spin-r 2s infinite linear;
}

.glyphicon.slow-right-spinner {
    -webkit-animation: glyphicon-spin-r 3s infinite linear;
    animation: glyphicon-spin-r 3s infinite linear;
}

.glyphicon.fast-left-spinner {
    -webkit-animation: glyphicon-spin-l 1s infinite linear;
    animation: glyphicon-spin-l 1s infinite linear;
}

.glyphicon.normal-left-spinner {
    -webkit-animation: glyphicon-spin-l 2s infinite linear;
    animation: glyphicon-spin-l 2s infinite linear;
}

.glyphicon.slow-left-spinner {
    -webkit-animation: glyphicon-spin-l 3s infinite linear;
    animation: glyphicon-spin-l 3s infinite linear;
}

@-webkit-keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes glyphicon-spin-l {
    0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes glyphicon-spin-l {
    0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}
/*#endregion */

/*#region validation */
/*.valid {
    background-color: aliceblue;
}

.invalid {
    background-color: lightyellow;
}*/

/*#endregion */

/*#region vueform transition */
.fade-enter-active {
    transition: all .7s ease;
}

.fade-leave-active {
    transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.fade-enter, .fade-leave-to {
    /*transform: translateX(10px);*/
    opacity: 0;
}
/*#endregion */

/*#region bootstrap overrides */
a:focus, a:hover {
    text-decoration: none;
}

.alert {
    margin-bottom: 0px;
}


/*#endregion */

/*#region vue-form-generator */
.vue-form-generator span.help {
    margin-left: .3em;
    position: relative
}

    .vue-form-generator span.help .icon {
        display: inline-block;
        width: 16px;
        height: 14px;
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA+UlEQVQ4ja3TS0oDQRAG4C8+lq7ceICICoLGK7iXuNBbeAMJuPVOIm7cqmDiIncIggg+cMZFaqCnZyYKWtB0df31V1VXdfNH6S2wD9CP8xT3KH8T9BiTcE7XBMOfyBcogvCFO9ziLWwFRosyV+QxthNsA9dJkEYlvazsQdi3sBv6Ol6TBLX+HWT3fcQZ3vGM5fBLk+ynAU41m1biCXvhs4OPBDuBpa6GxF0P8YAj3GA1d1qJfdoS4DOIcIm1DK9x8iaWeDF/SP3QU6zRROpjLDFLsFlibx1jJaMkSIGrWKntvItcyTBKzCcybsvc9ZmYz3kz9Ooz/b98A8yvW13B3ch6AAAAAElFTkSuQmCC");
        background-repeat: no-repeat;
        background-position: 50%
    }

    .vue-form-generator span.help .helpText {
        background-color: #444;
        bottom: 30px;
        color: #fff;
        display: block;
        left: 0;
        opacity: 0;
        padding: 20px;
        pointer-events: none;
        position: absolute;
        text-align: justify;
        width: 300px;
        transition: all .25s ease-out;
        box-shadow: 2px 2px 6px rgba(0,0,0,.5);
        border-radius: 6px
    }

        .vue-form-generator span.help .helpText a {
            font-weight: 700;
            text-decoration: underline
        }

        .vue-form-generator span.help .helpText:before {
            bottom: -20px;
            content: " ";
            display: block;
            height: 20px;
            left: 0;
            position: absolute;
            width: 100%
        }

    .vue-form-generator span.help:hover .helpText {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0)
    }

.vue-form-generator .form-group.featured > label {
    font-weight: 700
}

.vue-form-generator .form-group.required > label:after {
    content: "*";
    font-weight: 400;
    color: red;
    padding-left: .2em;
    font-size: 1em
}

.vue-form-generator .form-group.error input:not([type=checkbox]), .vue-form-generator .form-group.error select, .vue-form-generator .form-group.error textarea {
    /*border: 1px solid red;*/
    /*background-color: rgba(255,0,0,.15)*/
    /* todo: bring back */
}

.vue-form-generator .form-group.error .errors {
    color: red;
    font-size: .8em;
}

    .vue-form-generator .form-group.error .errors span {
        display: block;
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAiklEQVR4Xt2TMQoCQQxF3xdhu72MpZU3GU/meBFLOztPYrVWsQmEWSaMsIXgK8P8RyYkMjO2sAN+K9gTIAmDAlzoUzE7p4IFytvDCQWJKSStYB2efcAvqZFM0BcstMx5naSDYFzfLhh/4SmRM+6Agw/xIX0tKEDFufeDNRUc4XqLRz3qabVIf3BMHwl6Ktexn3nmAAAAAElFTkSuQmCC");
        background-repeat: no-repeat;
        padding-left: 17px;
        padding-top: 0;
        margin-top: .2em;
        font-weight: 600
    }

.vue-form-generator label {
    font-weight: normal;
    margin-bottom: 0px;
}

.local-resource {
    display: inline-block;
}

/*#endregion */



.input-group.date .input-group-addon {
    cursor: pointer
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

/*#endregion */

.highlight {
    padding: 9px 14px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
}

    .highlight pre {
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
        word-break: normal;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }

        .highlight pre code {
            font-size: inherit;
            color: #333; /* Effectively the base text color */
        }

            .highlight pre code:first-child {
                display: inline-block;
                padding-right: 45px;
            }

    /* vfg-figure + vueLocalResource for editor*/
    .highlight .pull-left {
        float: initial !important;
    }

.member-share {
    background-color: lightgray;
    padding-top: 20px;
}

.disabled-in-edit-mode {
    background: rgba(100,100,100,0.1);
}

    .disabled-in-edit-mode .tabs-component-tabs {
        pointer-events: none;
    }

.enabled-in-edit-mode {
    pointer-events: initial;
    background: rgba(255,255,255,0);
}

.vfe-search {
    position: relative;
}

.VueTables td {
    pointer-events: none;
}

    .VueTables td > * {
        pointer-events: auto;
    }

.field-vfg-address {
    float: left;
    width: 100%;
}

@media (min-width: 992px) {
    .col-align-bottom {
        display: inline-grid;
        float: none;
    }
}

.no-overflow {
    word-break: break-word;
}

.filing-form-highlight-label {
    background-color: yellow;
}

.add-on .input-group-btn > .btn {
    border-left-width: 0;
    top: 12px;
    left: -2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

@media only screen and (min-width: 575px) {
    table > thead > tr > th.amount, table > tbody > tr > td.amount {
        width: 30rem;
    }

    table > thead > tr > th.fee-edit, table > tbody > tr > td.fee-edit {
        width: 15rem;
    }
}

.transaction-attention {
    display: flex;
    flex-direction: row;
}

.transaction-attention-details {
    padding: 10px;
}

.transaction-attention-financial-table {
    width: 40%;
}

@media only screen and (max-width: 767px) {
    .transaction-attention {
        flex-direction: column;
    }

    .transaction-attention-financial-table {
        width: 100%;
    }
}

.json {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 1.3rem;
    white-space: nowrap;
}

/*-------------------------------------------------------------------*/
/* === Manage Worfklow === */

.card-title {
    margin-bottom: 1.125rem;
}

.workflow-table-filter {
    display: flex;
}

.workflow-table-filter-input {
    position: relative;
    flex: 1 1 auto;
}

.form-buttons-w {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
}

.props-wrapper {
    position: absolute;
    top: 1px;
    right: 0;
    background: #fff;
    min-width: 300px;
    height: 598px;
    border-left: 2px solid #212c43;
    border-right: 1px solid #dee2e6;
    overflow: scroll;
}

.designer-wrapper {
    position: relative;
    overflow: hidden;
}

    .designer-wrapper > .canvas-wrapper {
        margin: 0px;
        width: 100%;
        height: 600px;
        overflow: auto;
        position: relative;
        border: 1px solid #dee2e6;
        background: #ffffff;
    }

.workflow-tool {
    border: 2px solid #dee2e6;
    border-radius: .25rem;
    padding: 10px;
    text-align: center;
    margin: 0 5px 0 0;
    cursor: pointer;
    min-width: 100px;
}

.workflows > .element-box {
    position: relative;
}

    .workflows > .element-box > .status-pill {
        position: absolute;
        top: 7px;
        right: 6px;
    }

.workflow-activity-text {
    font-family: inherit !important;
}

.workflow-activity-icon {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 800 !important;
    font-size: 14px !important;
}

.workflow-code-editor {
    min-width: 500px;
}

.workflow-crowd {
    min-width: 200px;
}

.h-flex-space {
    flex: 1 0;
}

.element-box > .btn-toolbar > .btn-secondary {
    background-color: #dee2e6;
    border-color: #dee2e6;
    color: black;
}

    .element-box > .btn-toolbar > .btn-secondary:hover:not(:disabled) {
        background-color: #c8cfd6;
        border-color: #c8cfd6;
    }


.vfg-form-address, .vfg-form-name, .vfg-form-phone {
    margin-bottom: 0px;
}
