@charset "utf-8";
/* CSS Document */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  color: #777777;
  margin: 0px;
  font-size: 14px;
  line-height: 2;
}
header {
 border-bottom: 1px solid #ffffff;
 background-color: #42444e;
 padding: 18px 18px 12px 18px;
}
.header-logo img {
  width: 100%;
  max-width: 300px;
  height: auto; 
}
.nav-link a, .nav-link a:link, .nav-link a:visited {
  color: #ffffff;
  text-decoration: none;
}
.nav-link a:hover {
  color: #0088cc !important;
  text-decoration: underline;
}
.nav-link a:active {
  color: #ffffff;
  text-decoration: none;
}
.fa-caret-left {
  font-size: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.information {
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.popup {
  margin: 70px auto;
  padding: 20px;
  background: #ffffff;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  z-index: 15;
}
.popup i.fa-solid, .popup i.fa-regular, .popup i.fa-brands {
  padding: 0 !important;
  font-size: 13px !important;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333333;
}
.popup h3 {
  color: #212529;
  text-align: center;
  margin-top: 18px;
}
.popup .close:hover {
  color: #0088cc;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
@media screen and (max-width: 700px){
  .popup{
    width: 80%;
  }
}
.top-nav {
  min-width: 380px;
  width: 100%;
  background-color: #42444e;
  padding: 10px 10px 10px 18px;
  font-family: poppins, sans-serif;
}
.top-nav .fa-solid, .top-nav .fa-brands, .top-nav .fa-regular {
  color: #0088cc !important;
  padding-right: 8px;
  font-size: 24px;
}
.top-nav .fa-solid:hover, .top-nav .fa-brands:hover, .top-nav .fa-regular:hover {
  color: #7fc3e5 !important;
}
div.tutorial a:focus, a:hover {
  color: #777777;
}
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 10;
}
.dropdown-menu {
  font-size: 13px;
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  color: #777777;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
  text-align: left;
}
.dropdown-menu i {
  float: right;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 6px;
  text-decoration: none;
  border: none;
}
.dropdown-menu a, .dropdown-menu a:link, .dropdown-menu a:visited {
  color: #777777;
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
  color: #0088cc;
  background: #f0f0f0;
}
.dropdown-menu a:active {
  color: #777777;
}
#dragbar{
  position: absolute;
  cursor: col-resize;
  z-index: 3;
  padding: 5px;
}
#shield {
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  position: absolute;
  height: 100%;
  z-index: 4;
}
#framesize {
  font-family: consolas, monospace;
  font-size: 14px;
}
#container {
  background-color: #e7e9eb;
  width: 100%;
  overflow: auto;
  position: absolute;
  top: 135px;
  bottom: 0;
  height: auto;
}
#textareacontainer, #iframecontainer {
  float: left;
  height: 100%;
  width: 50%;
}
#textarea, #textarea2, #iframe {
  height: 100%;
  width: 100%;
  padding-bottom: 10px;
  padding-top: 1px;
}
#textarea {
  padding-left: 10px;
  padding-right: 5px; 
}
#iframe {
  padding-left: 5px;
  padding-right: 10px; 
  position: relative; 
}
#textareawrapper {
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #ffffff;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
#iframewrapper {
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
#textareaCode, #textareaCode2 {
  background-color: #ffffff;
  font-family: consolas, monospace;
  font-size: 15px;
  height: 100%;
  width: 100%;
  padding: 8px;
  resize: none;
  border: none;
  line-height:normal;
}
body.darktheme .localhostoutercontainer {
  background-color: #38444d;
}
body.darktheme .localhostcontainer {
  background-color: rgb(21,32,43)
}
body.darktheme .localhostdiv {
  border: 1px solid #595959;
  background-color: #ffffff;
}
#filenamecontainer {
  position: absolute;
  text-align: center;
  z-index: 4;
  width: 100%;
}
#filenamecontainer span {
  opacity: 0.9;
  padding: 1px 6px;
  font-family: consolas, monospace;
  background-color: #e7e9eb;
  font-size: 16px;
}
body.darktheme #filenamecontainer span {
  background-color: #555555;
  color :#e7e9eb;
}
.CodeMirror.cm-s-default {
  line-height: normal;
  padding: 4px;
  height: 100%;
  width: 100%;
}
#iframeResult, #iframeSource {
  background-color: #ffffff;
  height: 100%;
  width: 100%;
}
#stackV { background-color: #999999; }
#stackV:hover { background-color: #bbbbbb !important; }
#stackV.horizontal { background-color: transparent; }
#stackV.horizontal:hover { background-color: #bbbbbb !important; }
#stackH.horizontal  {background-color: #999999; }
#stackH.horizontal:hover { background-color: #999999 !important; }
#textareacontainer.horizontal,#iframecontainer.horizontal {
  height: 50%;
  float: none;
  width: 100%;
}
#textarea.horizontal {
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
}
#iframe.horizontal {
  height: 100%;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px; 
}
#container.horizontal {
  min-height: 200px;
  margin-left: 0;
}
#tryitLeaderboard {
  overflow: hidden;
  text-align: center;
  margin-top: 5px;
  height: 90px;
}
@media screen and (max-width: 727px) {
  .trytopnav { top: 70px; }
  #container {  }
  #breadcrumb { display: none; }
  #tryhome { display: block; }
  .top-nav {  }
}
@media screen and (max-width: 467px) {
  .trytopnav { top: 60px; }
  #container {  }
  .w3-dropdown-content { width: 100% }
}
@media only screen and (max-device-width: 768px) {
  #iframewrapper { overflow: auto; }
  #container     { min-width: 310px; }
  .stack         { display: none; }
  #tryhome       { display: block; }
  .trytopnav     { min-width: 310px; }
}
#iframewrapper {}
.tabitem, #resttab {
  position: absolute;
  z-index: 2;
  font-family: consolas, monospace;
  padding: 4px 15px;
  width: 70px;
  cursor: pointer;
}
.tabitem {
  background-color: lightgray;
  color: #000;
  border: 1px solid #e7e9eb;
  border-bottom: none;
}
#resttab {
  cursor: default;
  z-index: 1;
  background-color: #e7e9eb;
  border-bottom: 1px solid #e7e9eb;
  width: 100%;
  left: 0px;
}
.tabitem.tabselected{
  background-color: #ffffff;
  border: 1px solid #ffffff;
}
.tabitem:hover {
  background-color: #bfbfbf;;
}
.tabitem.tabselected:hover {
  background-color: #ffffff;;
}
.fa {
  padding: 10px 10px!important;
}
a.topnav-icons, a.topnav-icons.fa-home, a.topnav-icons.fa-menu, button.topnav-icons.fa-adjust {
  font-size: 28px!important;
}
