/*$Id$*/

body {
  margin: 0px;
  font-family: 'Lato';
  background: #3d4a5d;
  height: 100%;
}

.header {
  padding: 1em 1.6em;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  font-size: 1.5em;
  color: white;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  transition: all 0.1s ease-in-out;
  background: #3d4a5d;
  box-shadow: 1px 71px 140px -55px rgba(0, 0, 0, 0.4) inset;
}

.header .deluge {
  font-size: 1.4em;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  display: inline-block;
  margin-top: 6px;
}

.description {
  margin: 5em 0em;
  margin-top: 13em;
  position: relative;
}

.description .dre-desc {
  text-align: center;
  vertical-align: middle;
  color: white;
  position: relative;
  font-weight: 100;
  font-size: 5em;
}

.description .dre-desc:before, .description .dre-desc:after {
  content: "[";
  color: #00c3ab;
  font-weight: 400;
  padding: 20px;
}

.description .dre-desc:after {
  content: "]";
}

.header ~ .dre-editor {
  height: calc(100% - 158px);
  margin-top: 108px;
  position: fixed;
}

.dre-editor {
  position: relative;
  /*text-align: center;*/
  background: #3d4a5d;
  padding: 0px 0px 0px 0px;
  height: 100%;
  width: 100%;
}

.dre-editor .title {
  padding-left: 30em;
  color: white;
  font-weight: 200;
  border-radius: 0px;
  font-size: 1.7em;
  vertical-align: middle;
  display: inline-block;
  padding: 10px 130px;
  margin-top: 20px;
  -webkit-font-smoothing: antialiased;
}

.deluge-logo-ts {
  content: "";
  background: url(../images/de-logo-white.svg);
  background-repeat: no-repeat;
  height: 50px;
  width: 210px;
  background-size: contain;
  margin-right: 12px;
  float: left;
}

.dre-links {
  display: inline-block;
  position: absolute;
  right: 0px;
  top: 0px;
}

.dre-links .links {
  text-align: center;
  padding: 27px;
}

.dre-links .links div {
  display: inline-block;
}

.dre-links .links .link {
  display: inline-block;
  margin: 0em 1em;
  font-size: 0.8em;
  color: white;
  font-weight: 200;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  padding: 0.5em 1em;
  border: 1px solid white;
  text-decoration: none;
  color: white;
}

.dre-links .links .link:hover {
  transform: scale(1.1) translate(1%, 1%);
}

.dre-links .links .link:last-child {
  /*padding-right: 0em;*/
}

#editor-div {
  margin: 20px 130px;
  box-shadow: 1px 1px 10px -3px rgba(0, 0, 0, 0.4);
  border-radius: 3px 3px 0px 0px;
  position: relative;
  z-index: 999;
  height: calc(100% - 40px);
}

.browser-tile {
  height: 30px;
  padding: 4px 9px;
  border-radius: 3px 3px 0px 0px;
  text-align: left;
  background: rgb(220, 220, 220);
  box-sizing: border-box;
}

.browser-tile .circle {
  height: 9px;
  width: 9px;
  display: inline-block;
  border-radius: 50%;
}

.browser-tile .circle.red {
  background: #f95f5f;
}

.browser-tile .circle.orange {
  background: #ffb01e;
}

.browser-tile .circle.green {
  background: #19b119;
}

#delugeEditorArea {
  height: calc(100% - 30px);
  width: 100%;
  background: var(--dre-editorArea-background);
  text-align: initial;
  border-radius: 0px 0px 3px 3px;
}

#demo-purpose {
  position: absolute;
  color: #6f6f6f;
  top: 7px;
  font-size: 0.8em;
  left: 0px;
  margin: auto auto;
  right: 0px;
  text-align: center;
}

.loading-editor {
  position: absolute;
  height: 20px;
  margin: auto auto;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 1000;
}

div.loading-editor>div {
  background-color: #3d4a5d;
}

.loading-freeze-layer {
  position: absolute;
  top: 80px;
  bottom: 0px;
  left: 130px;
  right: 130px;
  margin: auto;
  opacity: 0.5;
  background: white;
  display: none;
  z-index: 999;
}

.loading-editor.execute-loading>div {
  width: 15px;
  height: 15px;
}

div.loading-editor.execute-loading>div {
  background-color: #49a791;
}

.dre-sample-ep-link, .dre-sample-ep-link-execute-param {
  font-size: 14px;
  font-weight: 100;
  color: #267bea;
  padding: 0px 8px;
  line-height: 43px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}

.dre-sample-ep-link:hover, .dre-sample-ep-link-execute-param:hover {
  border-bottom: 2px solid #267bea;
}

.dre-editor-presentation .freeflow-button .script-button#delugeExecuteBtn {
  padding: 6px 12px;
  border-radius: 0px;
  /*border: 1px solid transparent;*/
}

.dre-editor-presentation .freeflow-button .script-button#delugeExecuteBtn:hover {
  background: #65deb1;
  border: 1px solid #73cead;
  color: #0a4c34;
}

/* html[deluge-theme="dark"] #delugeEditorArea {
  background: #151515;
} */

html[deluge-theme="dark"] div.loading-editor>div {
  background-color: #1fa6e4;
}

html[deluge-theme="night"] #delugeEditorArea {
  background: #223140;
}