body {
  font-size: .875rem;
  background-color: #cddae2;
  /* background-image: url(/images/Background_31.png);
  background-repeat: no-repeat;
  background-size: cover; */
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 48px; /* Height of navbar */
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #0f7bb5;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
    Overwrite Bootstrap 4 styles for Smartapp style
*/
#gate-navbar {
  color: #cbd9e2 !important;
  background-color: #0e7bb4 !important;
}

#navbar-logout {
  background-color: #375f89 !important;
  border-color: #375f89 !important;
}

.btn-primary {
  background-color: #0f7bb5 !important;
  border-color: #0f7bb5 !important;
}
/* 87bcdb
*/
.jumbotron {
  background-color: transparent;
}

.card-welcome {
  width: 520px;
  margin: 0 auto;
  /* background-image: url(/images/Background_31.png);
  background-repeat: no-repeat;
  background-size: cover; */
}

/* main link color */
a {
  color: #0f7bb5;
}
a:hover {
  text-decoration: none;
}

/* explorer & tree */
/* .content-file:hover {
  z-index: 2050 !important;
} */

.content-move {
  color: #0e7bb4;
  border-radius: 4px;
  background: #e9ecef;
  cursor: pointer;
}

#content-preview,#content-sound  {
  max-width: 100%;
  /* background-image: url('/images/back.png');  */
  /* background-position: center; */
  background-color: black;
}

a.content-file.disabled, #content-explorer a.content-file.disabled {
  /* Make the disabled links grayish*/
  color: lightgray;
  /* And disable the pointer events */
  pointer-events: none;
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

/* layouter */
#layout_container { height: 600px; background-color: #fcfcfc;}

#layout_resizable { background-position: top left; width: 150px; height: 150px; }
#layout_resizable, #layout_container { padding: 0.5em; }

.transparent-input{
   background-color:transparent !important;
   border:none !important;
   outline: none;
   border: none !important;
   -webkit-box-shadow: none !important;
   -moz-box-shadow: none !important;
   box-shadow: none !important;
   width: 100%;
}

.transparent-element{
   background-color:transparent !important;
   border:none !important;
   outline: none;
   border: none !important;
   -webkit-box-shadow: none !important;
   -moz-box-shadow: none !important;
   box-shadow: none !important;
}

.layout-tab-container {
  max-height: 400px;
  overflow: auto;
}

.layout-control {
  text-align: right;
}

.centered {
  text-align: right;
  vertical-align:baseline;
}

/* navigation */
.login-label {
  color: #fff;
  padding-right: 0.5rem;
}

/* login stuff */
.card-signin {
  max-width: 350px;
  margin: 0 auto;
  margin-top: 5rem;

  color: white;
  background-color: #0e7bb4;
}
.card-signin .card-header, .card-signin .btn-primary {
  background-color: rgba(0,0,0, 0.25) !important;
}
.card-signin #emailHelp{
  color: #ccdae3 !important;
}

/* block headers */
.block_header {
  font-weight: bold;
  font-style: italic;
}

.searchable tr {
    cursor: pointer;
}

/* layout designer stuff */
#layout-designer {
  max-width: 100%;
  max-height: 85vh;
  margin: auto;
}


/* Default Values & Local Values*/
.table td a {
  cursor: pointer;
  display: inline-block;
}

.table td a.add i {
  margin-right: -1px;
  position: relative;
}
.table .form-control {
  box-shadow: none;
}
.table .form-control.error {
  border-color: #f50000;
}
.table td .add {
  display: none;
}

.transparent-input{
   background-color:transparent !important;
   border:none !important;
   outline: none;
   border: none !important;
   -webkit-box-shadow: none !important;
   -moz-box-shadow: none !important;
   box-shadow: none !important;
   width: 100%;
}

#event-count @if :empty {
    display: none;
}


/* editor colors for smart script */
.ace_editor {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 14px;
}

.ace_function {
  color: purple;
  font-weight: bold;
  /* font-style: italic; */
}

.ace_constant {
  color: blueviolet;
  font-weight: bold;
}

.ace_label {
  color: darkcyan;
}

.ace_keyword {
  color: black;
  font-weight: bold;
}

/* reference toggle menu */
.reference-switch:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.reference-switch {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

button.reference-switch {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}


/* -------------------------------------- */
/* rectangle  list style                  */

/* list */
.rectangle-list ol
{
  counter-reset:li; /* Initiate a counter */
}

/* item  */
.rectangle-list ol > li
{
position: relative;
list-style:none; /* Disable the normal item numbering */
}

/* item hover */
.rectangle-list a
{
display: block;
padding: .4em .4em .4em .8em;
*padding: .4em;
margin: .5em 0 .5em 2.5em;
background: #e9ecef;
color: #0f7bb5;
text-decoration: none;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}

/* item hover */
.rectangle-list a:hover
{
background: #0f7bb5;
color: white;
}

/* number  */
.rectangle-list a:before
{
content: counters(li, ".") " ";
counter-increment: li;

position: absolute;
left: -3em;
top: 1.1em; /* 50%; */
margin-top: -1em;

background: #0f7bb5;
color: white;
height: 2em;
width: 4em;
line-height: 2em;
text-align: center;
font-weight: bold;
}

/* number hover */
.rectangle-list a:after
{
position: absolute;
left: 0em;
top: 1.1em; /* 50%; */
margin-top: -.5em;

content: '';
border: .5em solid transparent;

-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}

.rectangle-list a:hover:after
{
left: 1em;
border-left-color: #0f7bb5;
}
