@font-face {
    font-family: 'octicons';
    src: url(../lib/Monaco/vs/base/browser/ui/octiconLabel/octicons/octicons.eot?#iefix) format('embedded-opentype'), url(../lib/Monaco/vs/base/browser/ui/octiconLabel/octicons/octicons.woff) format('woff'), url(../lib/Monaco/vs/base/browser/ui/octiconLabel/octicons/octicons.ttf) format('truetype'), url(../lib/Monaco/vs/base/browser/ui/octiconLabel/octicons/octicons.svg#octicons) format('svg');
    font-weight: normal;
    font-style: normal;
}

.script-editor {
    height: 100%;
    display: block;
}

.html-editor {
    background-color: white;
}

.hidden-editor {
    width: 1px !important;
    height: 0px !important;
    display: none !important;
}

.monaco-script-editor, .monaco-html-editor {
    height: 100%;
    border-color: #b6b6b6;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.15);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.15);
    box-shadow: 0 0 3px rgba(0,0,0,.15);
}

.monaco-script-editor {
    border-style: solid;
    border-width: 1px;
}

.monaco-html-editor {
    height: 475px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.script-editor-fullscreen {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 20050;
    background-color: white;
    width: 100%;
    height: 100%;
}

body.script-editor-in-fullscreen {
    overflow: hidden;
}

.monaco-script-editor-button {
    margin-left: 1px;
    margin-top: 1px;
    margin-bottom: 2px;
}

.monaco-script-editor-dropdown-button {
    position: relative;
    display: inline-block;
}

    .monaco-script-editor-dropdown-button a:link {
        text-decoration: none;
    }

    .monaco-script-editor-dropdown-button a:visited {
        text-decoration: none;
    }

    .monaco-script-editor-dropdown-button a:hover {
        text-decoration: underline;
    }

    .monaco-script-editor-dropdown-button a:active {
        text-decoration: underline;
    }

.monaco-script-editor-toggle-fullscreen-button {
    display: inline-block;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 2px;
}

.absp-fullscreen, .monaco-editor-fullscreen {
    position: absolute !important;
    display: block;
    z-index: 20001;
    margin: 0;
    padding: 0;
    width: 100% !important;
    height: 100% !important;
    width: 100vw !important;
    height: 100vh !important;
}

.monaco-editor-fullscreen {
    background-color: white;
    padding: 1px;
    z-index: 20001;
}

    .monaco-editor-fullscreen .modal-body {
        overflow-x: hidden !important;
        overflow-y: scroll !important;
    }

body.body-absp-fullscreen, .monaco-editor-in-fullscreen {
    overflow: hidden;
}

    .monaco-editor-in-fullscreen *.absp-fullscreen,
    .monaco-editor-in-fullscreen *.monaco-editor-fullscreen {
        overflow: hidden !important;
    }

    .body-absp-fullscreen *.script-editor-modal,
    .body-absp-fullscreen *.embed-responsive,
    .body-absp-fullscreen *.ui-widget-content,
    .body-absp-fullscreen *.jqx-widget-content,
    .monaco-editor-in-fullscreen *.script-editor-modal,
    .monaco-editor-in-fullscreen *.embed-responsive,
    .monaco-editor-in-fullscreen *.ui-widget-content,
    .monaco-editor-in-fullscreen *.jqx-widget-content {
        overflow: visible !important;
    }

/* Bootstrap's '* { box-sizing: border-box; }' is not a cool idea... */
div.monaco-editor-background,
div.monaco-script-editor * {
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
}
