#cesiumContainer {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#preview {
    position: absolute;
    width: 100%;
    height: 50%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#previewContent {
    position: absolute;
    top: 51px;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#code {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    overflow: hidden;
}

#czmPanel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    right: 50%;
    border: none;
    border-right: 1px solid #d0d0d0;
    border-radius: 0;
}

#gePanel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    left: 50%;
    border: none;
    border-left: 1px solid #d0d0d0;
    border-radius: 0;
}

body {
    height: 100%;
    overflow: hidden;
}

.panel-heading {
    border-radius: 0;
    white-space: nowrap;
}

    .panel-heading a {
        color: white;
    }

.panel {
    background-color: #f5f5f5;
}

.panel-body {
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
}

.CodeMirror {
    height: 100%;
    background-color: #f5f5f5;
}

#buttonContainer {
    position: absolute;
    top: 5px;
    left: 6px;
    z-index: 99;
}

#previewContent:-webkit-full-screen {
    top: 0;
}

#previewContent:-ms-fullscreen {
    top: 0;
}

#previewContent:-moz-full-screen {
    top: 0;
}

#previewContent:fullscreen {
    top: 0;
}

#menuPreview, #menuCesium, #menuGoogle {
    display: none;
}

@media screen and (max-width: 767px) {
    #previewContent {
        top: 56px;
        bottom: 0;
    }

    #preview {
        height: 100%;
    }

    #code {
        top: 0;
        height: 100%;
        display: none;
    }

    #czmPanel {
        right: 0;
        width: 100%;
        display: none;
    }

    #gePanel {
        left: 0;
        width: 100%;
        display: none;
    }

    #menuPreview, #menuCesium, #menuGoogle {
        display: block;
    }

    .navbar-collapse {
        max-height: none !important;
    }
}
