body{
	margin:0px;
	font-family: "Raleway", sans-serif;
	height: 100%;
}
.container{
	height: 100%;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    margin-left: -250px;
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    text-align: right;
}

#sidebar.active {
    margin-left: 0px;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar {
    background: black;
    color: #fff;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 25% 0;
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}
#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}
.btn-info{
	background: #111;
	border-color:#111;
	height: 6vh;
}
.header{
	height: 6vh;
	background: #111;
}

.btn button{
	padding:10px 20px;
	background: #f5f5f5;
	color:#111;
	justify-content: center;
	align-items: center;
	text-align: center;
	background:#3369ff;
	box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
	color:#FFFFFF;
	font-weight:600;
	border-radius:0.15em;
	box-sizing: border-box;
	text-decoration:none;
	display:inline-block;	
}

#run-btn{
	background: #04DA0E;
}
.h2Div{
	color:white;
	align-items: center;
	justify-content: center;
	text-align: left;
	margin-top: 7px;
}
.h2Div h2{
	font-size: 4vh;
}
.h2Div:hover{
	cursor: pointer;
}
.canvasDiv{
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}
#myCanvas{
	border: 1px solid #d3d3d3;
	height: 100%;
	width: 100%;
}
.slidecontainer {
	width: 20%;
	padding-top: 5%;
}

.slider{
	width: 100%;
}
.editor{
	height: calc(100vh-50px);
	display: flex;
}
.editor .code{
	border-right:1px solid #888;
}
.editor .code > div{
	width:100%;
	height:33.33%;
	border-bottom:1px solid #888;
}

.html-code{
	display: none;
}
.editor .preview{
	height: 100%;
}

.editor .preview iframe{
	width: 100%;
	height:50vw;
	border:none;
	outline: none;
}
.CodeMirror {
	height: auto;
}
.editor .code > div{
	height:auto;
	border-bottom:1px solid #888;
}


.preview{
	width: 100%;

}
#preview-window-space{
	display: none;	
}

#sample-code{
	margin: 5%;
	display: block;
}

.step{
	align-items: left;
	justify-content: left;
	text-align: left;	
	border: 10px solid;
	border-image: linear-gradient(45deg, turquoise, greenyellow) 1;
}

@media screen and  (orientation: portrait) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;   
    }
	.btn-info{
		height: 15vw;
	}    	
	.header{
		height: 15vw;
	}    
	.h2Div{
		text-align: center;
	}
	.h2Div h2{
		font-size:8vw;
	}
	.h2Div.active{
		display: none;
	}
	.editor .preview iframe{
		height: 100vw;
	}
	#myCanvas{
		width: 100%;
		height: 100%;
	}
}
