.spl-paper-tooltip {
    position: absolute;
    z-index: 9999;
    pointer-events: none;
    background: #FDF6E3;
    color: #5d514b;
    font-family: 'Open Sans', Tahoma, Arial, sans-serif;
    font-size: 12px;
    line-height: 13px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 5px 9px;
    max-width: 280px;
}

html,
body {
    height: 100%;
    padding: 0px;
    margin: 0px;
    min-width: 1400px; /* Suppose you want minimum width of 1000px */
    width: auto !important; /* Firefox will set width as auto */
    width: 1400px; /* As IE6 ignores !important it will set width as 1000px; */
}

body {
    background-color: #f6f6f6;
    box-sizing: border-box;
    font-family: source-sans-pro, sans-serif;
    font-size: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.split {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    overflow: hidden;
    position: relative;
}

.content {
    border: 1px solid #c0c0c0;
    box-shadow: inset 0 1px 2px #e4e4e4;
    background-color: #fff;
}

.gutter {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    cursor: col-resize;
    background-image: url("../node_modules/split.js/grips/vertical.png");
}

.gutter.gutter-vertical {
    cursor: row-resize;
    background-image: url("../node_modules/split.js/grips/horizontal.png");
}

.split.split-horizontal,
.gutter.gutter-horizontal {
    height: 100%;
    float: left;
}

.export-options {
    height: calc(70% - 1.5px);
}

.menu {
    height: 44px;
    display: block;
    box-sizing: border-box;
    overflow: visible;
}

.paper,
.print-view-container {
    background-color: #0a4770;
    overflow: hidden;
    position: relative;
}

.paper-center-crosshair {
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    z-index: 10;
}
.paper-center-crosshair::before,
.paper-center-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(128, 128, 128, 0.4);
}
.paper-center-crosshair::before {
    width: 1px;
    height: 10px;
    left: 0;
    top: -5px;
}
.paper-center-crosshair::after {
    width: 10px;
    height: 1px;
    left: -5px;
    top: 0;
}

.paper.content {
    display: flex;
}

#code-editor {
    width: 100%;
    height: calc(100% - 20px);
}
.code,
.export-options,
.paper,
.print-view-container,
.view3d {
    height: 100%;
}

.code-library,
.code-console {
    height: 100%;
    overflow: auto;
}

.console-messages {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 12px;
    width: 100%;
}
.console-messages thead td {
    background-color: #e0e7f0;
    font: 15px / normal;
    padding-left: 58px;
    font:
        15px / normal "Monaco",
        "Menlo",
        "Ubuntu Mono",
        "Consolas",
        "source-code-pro",
        monospace;
    height: 20px;
}
.console-messages .right {
    text-align: right;
}
.console-message-info,
.message-info {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.result-message {
    padding: 8px;
    border-radius: 4px;
}
.console-message-warning,
.console-message-debug {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
.console-message-error,
.message-error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently not supported by any browser */
}
.hidden {
    display: none;
}
.show-hide {
    font-size: 12px;
}

.print-view-container {
    position: relative;
    left: 0;
    top: 0;
    overflow: hidden;
    display: none;
    border: 1px solid #000;
}
.print-view {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.export-options {
    padding-left: 58px;
    background-color: #f5f1eb;
    color: #5d514b;
    font:
        13px / normal "Monaco",
        "Menlo",
        "Ubuntu Mono",
        "Consolas",
        "source-code-pro",
        monospace;
}

.export-options .caption,
.code-console .caption {
    margin: 0 0 15px -58px;
    font:
        15px / normal "Monaco",
        "Menlo",
        "Ubuntu Mono",
        "Consolas",
        "source-code-pro",
        monospace;
    background-color: #e0e7f0;
    padding-left: 58px;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
}

.export-options h1 {
    font-size: 15px;
    margin: 30px 0 10px 0;
    font-weight: normal;
}
.export-options h2 {
    font-size: 13px;
}
.export-options h1,
.export-options h2 {
    margin: 20px 0 10px 0;
    font-weight: normal;
}
.export-options img.algorithm-cover {
    float: right;
    margin-right: 15px;
    width: 120px;
    height: 120px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.export-options .btn {
    display: inline-block;
    border-radius: 7px;
    background: linear-gradient(to bottom, #ffffff, #f5f1eb);
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #bbbbbb;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #333333;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    padding: 4px 12px;
    font-size: 13px;
    margin-bottom: 0;
}

.export-options .btn:hover {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

.export-options .btn-group {
    clear: left;
    height: 30px;
}
.export-options .btn-group > .btn {
    margin-left: -8px;
    border-radius: 0;
}
.export-options .btn-group > .btn:first-child {
    border-radius: 7px 0 0 7px;
    margin-left: 0;
}
.export-options .btn-group > .btn:last-child {
    border-radius: 0 7px 7px 0;
}

.btn img {
    display: inline-block;
    vertical-align: middle;
}
.btn.btn-primary {
    border: 1px solid #5d514b;
    background: linear-gradient(to bottom, #72655c 0%, #5d514b 100%);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn.btn-primary:hover {
    background: #5d514b;
    color: #ffffff;
}
.btn-primary[disabled="disabled"] {
    opacity: 0.5;
}

.export-options .btn.active {
    background: #e6e6e6;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

#about-this-program :not(b) {
    font-size: 13px;
}

.export-options-sizes-table {
    width: 90%;
}
.export-options-sizes-table td,
.export-options-sizes-table th {
    border-left: 1px solid #5d514b;
    border-top: 1px solid #5d514b;
    margin: 0;
    padding: 5px;
    text-align: center;
    background: #f6f6f6;
}
.export-options-sizes-table tr :last-child {
    border-right: 1px solid #5d514b;
    margin: 0;
}
.export-options-sizes-table tbody :last-child td {
    border-bottom: 1px solid #5d514b;
    margin: 0;
}

.size-description b {
    color: #f16325;
}

.toggle {
    display: none;
}

#view3d-canvas {
    width: 100%;
    height: 100%;
}

.view3d-options {
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 20px;
    width: calc(100%-20px);
    height: 100%;
}

.x-ray-view {
    font:
        13px / normal "Monaco",
        "Menlo",
        "Ubuntu Mono",
        "Consolas",
        "source-code-pro",
        monospace;
    color: #5d514b;
}

.x-ray-view table.x-ray-table th,
.x-ray-view table.x-ray-table td {
    padding: 2px 5px;
}
.x-ray-view table.x-ray-table th {
    background-color: #eee7dc;
}
.x-ray-view table.x-ray-table tr:nth-child(odd) {
    background-color: #f5f1eb;
}
.x-ray-view table.x-ray-table tr:nth-child(even) {
    background-color: #faedd9;
}
.x-ray-view a {
    color: #5d514b;
    text-decoration: none;
}
.x-ray-view a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 100px;
    height: 100px;
}

body.loading-active {
    overflow: hidden;
}
