.hub h2 {
    font-size: 30px;
}


@media (min-width: 1000px) {
    .chartActions:before {
        content: '';
        border-left: .5px solid #7c8993;
        height: 28px;
        padding: 5px;
    }
}

label.uploadChart{
    background: #157815 !important;    
}

label.uploadChart:hover {
    background: #0d530d !important;    
}

.hub .pc-tab ul li label {
    padding: 15px 22px;
}

.chart-builder_input h2 {
    line-height: 0.8;
    margin-bottom: 30px;
}

section#data-explorer h2 {
    margin-bottom: 30px;
    margin-top: 15px;
}

.hub .data-explorer>.container {
    padding: 20px 50px 30px;
}

.hub .chart-builder>.container {
    padding: 46px 50px;
}

.embedded-page-iframe {
	height: calc(100vh - 156px) !important;
}

@media (max-width: 1100px){
	.embedded-page-iframe {
		height: calc(100vh - 150px) !important;
	}
}

@media (max-width: 768px){
	.embedded-page-iframe {
		height: calc(100vh - 275px) !important;
	}
}

@media (max-width: 600px){
	.embedded-page-iframe {
		height: calc(100vh - 260px) !important;
	}
}


a#download-data {
    display: none;
    margin: 20px 0 10px;
    padding: 18px 25px;
    color: #eee;
}

a#download-data.download-data-active {

    display: inline-block;
}


.chart-builder_output .tab3.area {
    position: relative;
}

.edit-code {
    
    display: inline-block !important;
    position: absolute;
    top: 50px;
    right: 5px;
    color: #ccc !important;
    opacity: 0.6;
    transition: all .2s;
}

.edit-code:hover {
    opacity: 1    
}


.edit-code-area {
    background: #fff;
    border-radius: 10px;
    color: #000;
    width: 90vw;
    max-width: 100%;
    margin: auto;
    margin-top: 1rem;
    padding: .5rem 1rem;
    border: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    font-size: 75%;
    max-height: 550px;
    display: none;
}

.edit-code-area textarea {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111 !important;
    font-family: monospace !important;
    font-size: 12px !important; 
    min-height: 540px;
    margin-top: 0px;
    padding: 5px;
    padding-bottom: 15px;
    white-space: nowrap;
    resize: none;
}

.hub .area #chart canvas {
    max-width: none !important;
}


.chart-builder_input.chart-builder_input--direct-edit-active .chart-builder-form {
    position: relative;
    opacity: 0.5;
}

.chart-builder_input.chart-builder_input--direct-edit-active .chart-builder-form:after {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -5px;
    bottom: -5px;
    background: #baa796;
    z-index: 999;
    opacity: 0.5;
    border-radius: 10px;
}

.edit-directly-note {
    display: none;
}   

.chart-builder_input.chart-builder_input--direct-edit-active .edit-directly-note {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    display: block;
}

.chart-builder_input.chart-builder_input--direct-edit-active {
    position: relative;
}

.chart-builder_input.chart-builder_input--direct-edit-active .edit-directly-reset {
    margin: 0 auto;
}

.hub .results {
    background: #faf7f7;
}


.hub .output-button.active.edit-code, .hub .output-button.edit-code:hover {
    background: #e5a872;
    color: #fff !important;
}


.hub .pc-tab .area {
    display: block;
    opacity: 0;
    height: 0;
    pointer-events: none;  
}
.hub #tab1:checked~.tab1, .hub #tab2:checked~.tab2, .hub #tab3:checked~.tab3 {
    opacity: 1;
    height: auto;
    pointer-events: all;
}

.hub #chart {
    padding: 0px !important;
}

.hub .chart-wrap {
    padding: 10px ;
    background: #fff;
    border-radius: 10px;
    color: #000;
    width: 100%;
}



.hub .chartActions .uploadChart, .hub .chartActions .uploadChart.sharetext {
    color: #cfcfcf;
}
.hub .chartActions .uploadChart.active, .hub .chartActions .uploadChart.active .sharetext {
    color: #fff;
}

.hub .chart .vega-embed.no-auto-size canvas {
    height: auto !important;
}


.hub .chart-list .chart-wrap {
    padding: 0;
}