/****************************************************************************
 ** @license
 ** This demo file is part of yFiles for HTML 2.6.
 ** Copyright (c) 2000-2024 by yWorks GmbH, Vor dem Kreuzberg 28,
 ** 72070 Tuebingen, Germany. All rights reserved.
 **
 ** yFiles demo files exhibit yFiles for HTML functionalities. Any redistribution
 ** of demo files in source code or binary form, with or without
 ** modification, is not permitted.
 **
 ** Owners of a valid software license for a yFiles for HTML version that this
 ** demo is shipped with are allowed to use the demo source code as basis
 ** for their own yFiles for HTML powered applications. Use of such programs is
 ** governed by the rights and conditions as set out in the yFiles for HTML
 ** license agreement.
 **
 ** THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED
 ** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 ** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
 ** NO EVENT SHALL yWorks BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
 ** TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 ** PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 ** LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 ** NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 **
 ***************************************************************************/
#root {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 14px;
  color: #343f4a;
}
.app {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  grid-template-rows: 60px 40px 1fr;
  grid-template-areas:
    'sidebar-left header header'
    'sidebar-left toolbar toolbar'
    'sidebar-left main sidebar-right';
}
.demo-sidebar.left {
  grid-area: sidebar-left;
}
.demo-sidebar.right {
  grid-area: sidebar-right;
}
.demo-header {
  grid-area: header;
}
.toolbar {
  grid-area: toolbar;
}
.main {
  grid-area: main;
  position: relative;
}
.demo-header {
  display: flex;
  height: 60px;
  background: transparent linear-gradient(90deg, #29323c 0%, #38434f 100%) 0 0 no-repeat padding-box;
  color: white;
  font-size: 1.1rem;
  z-index: 16;
  transition: padding-left 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0s;
}
.demo-y-logo {
  width: 60px;
  height: 60px;
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
  border-color: transparent;
}
.demo-header a {
  display: inline-block;
  height: 60px;
  text-decoration: none;
  color: white;
  line-height: 60px;
  padding: 0 5px;
  vertical-align: top;
  cursor: pointer;
}
.demo-title {
  display: inline-block;
  padding: 0 5px 0 30px !important;
  height: 60px;
  line-height: 60px;
  color: white;
  cursor: default;
  letter-spacing: 1px;
  background: url('./assets/header-angle.svg') no-repeat 5px 50%;
  background-size: 20px 20px;
  vertical-align: top;
}
.demo-sidebar {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  background: #e0edf0;
  line-height: 140%;
  overflow-y: auto;
  font-family: Tahoma, Verdana, sans-serif;
  color: #343f4a;
  padding-left: 0.2em;
}
.demo-sidebar.left {
  background-color: #e0edf0;
}
.demo-sidebar .demo-sidebar-content h1 {
  font-size: 1.7em;
  line-height: 1.5;
  color: #343f4a;
}
.demo-sidebar .demo-sidebar-content h2 {
  font-size: 140%;
  line-height: 130%;
  margin: 1.5ex 0 1ex;
  color: #343f4a;
}

.demo-sidebar-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.demo-sidebar-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.demo-sidebar-content::-webkit-scrollbar {
  width: 8px;
}
.demo-sidebar-content::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.05);
}
