/* to-be */
html, body {
	color:#000000;
	margin:0px;
	font-size:100%;
	background-color:#e1e1e1;
}

header {
	padding-left:10px;
}

section {
	padding: 10px;
}

textarea {
	width: 100%;
}

.container {
	width:100%;
	overflow:auto;
	position:absolute;
	top:80px;
	bottom:0;
	height:auto;
	min-height:250px;
	min-width:500px;
}

.data-container, .result-container {
	float:left;
	height:100%;
	width:49%;
}

.data, .result {
	position:absolute;
	top:0;bottom:0;
	width:48%;
	margin:1%;
	margin-top:0;
	background-color:#f1f1f1;
	border-radius:10px;
	height:auto;
}

.header-text {
	margin-top:12px;
	margin-left:3%;
	font-family:verdana;
	font-size:1em;
}

.header-btn-div {
	width:auto;
	float:right;
	margin-top:8px;
	margin-right:2.4%;
}

.footer-text {
	position:absolute;
	bottom:0;
	font-family:verdana;
	font-size:0.8em;
	width:97%;
	/* padding-right:3%; */
	text-align:right;
	padding-bottom:7px;
}

.data-wrapper {
	position:absolute;
	top:42px;
	bottom:2%;
	left:2%;
	width:96.5%;
	height:auto;
}

.result-wrapper {
	position:absolute;
	top:42px;
	bottom:2%;
	left:2%;
	width:96.5%;
	height:auto;
	-webkit-overflow-scrolling:touch;
}

.code-input {
	font-family:consolas,"courier new",monospace;
	font-size:14px;
	height:96.5%;
	width:98%;
	border:1px solid #d3d3d3; 
	border-radius:5px;
	padding:0.5%;
	resize: none;
}

.submit {
    font-size:15px;
    border-radius:4px;
    background-color:#555555;
    color:#ffffff;
    border:1px solid #555555;
    padding:4px 15px;
    width:auto;
	cursor:pointer;    
}
.submit:hover {
    background-color:#777777;
}.submit:active {
    background-color:#222222;
}

@media only screen and (max-device-width: 768px) {
  .result-wrapper {
  overflow: auto;
  }
  @media screen and (orientation:portrait) {
    #textareaCode {
      font-size:18px;
    }
    .data-container, .result-container {
    height:50%;
    float:none;
    width:98%;
    }
    .data, .result {
    position:relative;
    width:100%;
    margin:0;
    height:99%;
	}
  }
}

/* as-is
.menu {
	height:30px;
	background-color:#555555;
	color:white;
	padding-top:3px;
	padding-bottom:1px;
	font-family:verdana;
	font-size:14px;
	min-width:700px;
}

.menu span {
	margin-left:2%;
}

.menu img {
	margin-right:2%;
	float:right;
	vertical-align:top;
}

#textareaCode {
	font-family:consolas,"courier new",monospace;
	font-size:14px;
	height:96.5%;
	width:98%;
	border:1px solid #d3d3d3; 
	border-radius:5px;
	padding:0.5%;
	resize: none;
}

#iframeResult, #iframeSource {
	background-color:#ffffff;
	height:97%;
	width:99%;
	border:1px solid #d3d3d3;
	border-radius:5px;
}

.headerText {
	margin-top:12px;
	margin-left:3%;
	font-family:verdana;
	font-size:1em;
}

.textareacontainer, .iframecontainer {
	float:left;
	height:100%;
	width:49%;
}

.textarea, .iframe {
	position:absolute;
	top:0;bottom:0;
	width:48%;
	margin:1%;
	margin-top:0;
	background-color:#f1f1f1;
	border-radius:10px;
	height:auto;
}

.textareawrapper {
	position:absolute;
	top:38px;
	bottom:2%;
	left:2%;
	width:96.5%;
	height:auto;
}

.iframewrapper {
	position:absolute;
	top:38px;
	bottom:2%;
	left:2%;
	width:96.5%;
	height:auto;
	-webkit-overflow-scrolling:touch;
}

.submit {
	width:100px;
	font-size:15px;
}

.submit {
    font-size:15px;
    border-radius:4px;
    background-color:#555555;
    color:#ffffff;
    border:1px solid #555555;
    padding:4px 15px;
    width:auto;
	cursor:pointer;    
}
.submit:hover {
    background-color:#777777;
}.submit:active {
    background-color:#222222;
}
.headerText {
	margin-top:13px;
	margin-left:2.4%;
}
#textareaCode {
	height:99.2%;
	position:absolute;
	bottom:0;
	top:0;
}
#iframeResult, #iframeSource {
	height:100%;
	position:absolute;
	bottom:0;
	top:0;
}
.textareawrapper {
	top:42px;
	bottom:30px;
}
.iframewrapper {
	top:42px;
	bottom:30px;
}
.footerText {
	position:absolute;
	bottom:0;
	font-family:verdana;
	font-size:0.8em;
	width:97%;
	padding-right:3%;
	text-align:right;
	padding-bottom:7px;
}
.footerText a {
	color:#000000;
}
.footerText a:hover {
	text-decoration:none;
}

@media only screen and (max-device-width: 768px) {
  .iframewrapper {
  overflow: auto;
  }
  @media screen and (orientation:portrait) {
    #textareaCode {
      font-size:18px;
    }
    .textareacontainer, .iframecontainer {
    height:50%;
    float:none;
    width:98%;
    }
    .textarea, .iframe {
    position:relative;
    width:100%;
    margin:0;
    height:99%;
	}
  }
}
 */