html, body {
    margin: 0px;
    height: 100%;
    background-color: #EFEDEB;   
}

#main {
    width: 99%;
    height: 100%;
    margin: 0px auto;
}

#main-tab-header {
    margin: 0px;
    padding: 0px 0px 0px 20px;
}

#main-tab-header:after {
    display: block;
    clear: both;
    content: '';
}

#main-tab-header li {
    margin: 0px 5px;
    float: left;
    list-style: none;
}

#main-tab-header a {
    margin: 0px 0px 0px 0px;
    padding: 12px 15px;
    display: inline-block;
    border-radius: 3px 3px 0px 0px;
    background-color: #b0b0b0;
    font-size: 15px;
    font-weight: 600;
    color: #101010;
    text-decoration: none;
    transition:all linear 0.15s;
}

#main-tab-header a:hover {
    background-color:#C0C0C0;
}

#main-tab-header li.active a, #main-tab-header li.active a:hover {
    background:#dadada;
    color:#4c4c4c;
}

/*--------- Content of Tabs -----------*/
#main-tab-content {
    padding: 5px;
    border-radius: 3px;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.20);
    background: #dadada;
}

#main-tab-content > div {
    height: 100%;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

/*---------------- code --------------*/
#code-box, #code-box code {
    margin: 0px;
    height: 98%;
}

pre code {
    padding: 10px;
    margin: 0px;
    font: normal 10pt Consolas, Monaco, monospace;
}

.hljs-line-numbers {
    text-align: right;
    border-right: 1px solid #ccc;
    color: #999;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*------------------- code-check-button ---------------------*/
#code-check-button {
    float: right;
    width: 110px;
    height: 32px;
    margin-top: 5px;
    margin-right: 10px;

    color: white;
    background-color: #4E65CF;
    border-radius: 5px;

    text-align: center;
    line-height: 32px;
}

#code-check-button a {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

#code-check-button:hover {
    background-color: #5E75DF;
}

#code-check-button:active {
    background-color: #2E55BF;
}

/*------------------- blockly ---------------------*/
.blocklyTreeRow {
    height: 40px !important;
    line-height: 40px !important;
}