textarea#wiki__text {
    font-family: Consolas,"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Nimbus Mono L",Monaco,"Courier New",monospace;
    font-size: 15px;
    width: 100%;
}

/* Preview */
div.preview {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #f5f5f5;
    border-bottom-color: #000;
    border-bottom-style: dashed;
    border-bottom-width: 1px;
    border-image-repeat: stretch stretch;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color: #000;
    border-left-style: dashed;
    border-left-width: 1px;
    border-right-color: #000;
    border-right-style: dashed;
    border-right-width: 1px;
    border-top-color: #000;
    border-top-style: dashed;
    border-top-width: 1px;
    padding: 4px;
}

/** The input summary when editing a page is 50px fix **/
#wiki__editbar input {
    max-width: 100%;
}
#wiki__editbar #size__ctl {
    margin-bottom: 0.5rem;
}
#wiki__editbar .editButtons {
    margin-bottom: 0.5rem;
}
#wiki__editbar .summary {
    margin-bottom: 0.5rem;
}
#dw__editform .license {
    margin-bottom: 0.5rem;
}
#wiki__editbar button {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.toolbar {
    margin-bottom: 1rem;
}
.toolbar button.toolbutton, .picker button.toolbutton, .picker button.pickerbutton  {
    all: unset;
    background-color: buttonface;
    padding: 0.2rem 0.5rem;
    vertical-align: middle;
    border: 1px solid #ccc;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.toolbar button.toolbutton:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.toolbar button.toolbutton:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/**
 The icon in the menu are tagged with a11
 Are hidden in overflow, that's how it works
 (taken from screen.css)
*/
.a11y {
    position: absolute !important;
    left: -99999em !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    /** hidden **/
    overflow: hidden !important;
}
[dir=rtl] .a11y {
    left: auto !important;
    right: -99999em !important;
}

/** From screen.css */
#link__wiz {
    position: absolute;
    background-color: #fff;
    color: #000;
    z-index: 20;
    overflow: hidden;
}

#link__wiz .ui-dialog-content {
    padding-left: 0;
    padding-right: 0;
}
