@charset "UTF-8";

// Form
            
.editormd-form {
    color: $color;
    overflow: hidden;
    display: block;
    
    label {
        float: left;
        display: block;
        width: 75px;
        text-align: left;
        font-size: 13px;
        padding: 7px 0 5px 5px;
        margin: 0 0 2px;
        font-weight: bold;
    }

    br {
        clear: both;
    }

    iframe {
        display: none;
    }

    input:focus {
        outline: 0;
    }

    input[type="text"], input[type="number"] {
        color: #999;
        padding: 8px;
        border: 1px solid $borderColor;
    }
            
    input[type="number"] {
        width: 40px;
        display: inline-block;
        padding: 6px 8px;
    }

    input[type="text"] {
        display: inline-block;
        width: 264px;
    }
    
    .fa-btns {
        display: inline-block;

        a {
            color: #999;
            padding: 7px 10px 0 0;
            display: inline-block;
            text-decoration: none;
            text-align: center;
        }

        .fa {
            font-size: 1.3em;
        }

        label {
            float: none;
            display: inline-block;
            width: auto;
            text-align: left;
            padding: 0 0 0 5px;
            cursor: pointer;
        }
    }
}

.editormd-form,
.editormd-dialog-container,
.editormd-dialog-footer {

    input[type="submit"], .editormd-btn, button {
        min-width: 75px;
        cursor: pointer;
        color: #555;
        border-color: #ccc;
        background: #f7f7f7;
        box-shadow: 0 1px 0 #ccc;
        vertical-align: top;
        display: inline-block;
        text-decoration: none;
        font-size: 13px;
        line-height: 26px;
        height: 28px;
        margin: 0;
        cursor: pointer;
        border-width: 1px;
        border-style: solid;
        -webkit-appearance: none;
        border-radius: 3px;
        white-space: nowrap;
        box-sizing: border-box;
        height: 30px;
        line-height: 28px;
        padding: 0 12px 2px;

        &:hover {
            background: #eee;
        }
    }

    .editormd-btn {
        padding: 5px 8px 4px\0;
    }

    .editormd-btn + .editormd-btn {
        margin-left: 8px;
    }

    .editormd-enter-btn {
        background: #0085ba;
        border-color: #0073aa #006799 #006799;
        box-shadow: 0 1px 0 #006799;
        color: #fff;
        text-decoration: none;
        text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;

        &:hover {
            background: lighten(#0085ba, 2%);
            border-color: lighten(#0073aa, 2%) lighten(#006799, 2%) lighten(#006799, 2%);
            box-shadow: 0 1px 0 #006799;
            color: #fff;
            text-decoration: none;
            text-shadow: 0 -1px 1px lighten(#006799, 2%), 1px 0 1px lighten(#006799, 2%), 0 1px 1px lighten(#006799, 2%), -1px 0 1px lighten(#006799, 2%);    
        }
    }
}

.editormd-file-input {
    width: 75px;
    height: 32px;
    margin-left: 8px;
    position: relative;
    display: inline-block;

    input[type="file"] {
        width: 75px;
        height: 32px;
        opacity: 0;
        cursor: pointer;
        background: #000;
        display: inline-block;
        position: absolute;
        top: 0;
        right: 0;

        &::-webkit-file-upload-button {
            visibility: hidden;
        }
    }

    input[type="submit"]  {
    }

    &:hover input[type="submit"]  {
        background: #eee;
    }
}