/****************************************************************************
 ** @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.
 **
 ***************************************************************************/
.settings-grid {
  display: grid;
  align-items: center;
  grid-template-areas:
    'legend1 legend1 legend1'
    'label1 editor1 editor1'
    'legend2 legend2 legend2'
    'label2 editor2 editor2'
    'label3 editor3 value3'
    'label4 editor4 value4'
    'label5 editor5 value5';
}

.settings-legend1 {
  grid-area: legend1;
  font-weight: bold;
  font-size: larger;
  margin: 20px 0 10px;
}

.settings-legend2 {
  grid-area: legend2;
  font-weight: bold;
  font-size: larger;
  margin: 20px 0 10px;
}

.settings-label-row1 {
  grid-area: label1;
}

.settings-label-row2 {
  grid-area: label2;
}

.settings-label-row3 {
  grid-area: label3;
}

.settings-label-row4 {
  grid-area: label4;
}

.settings-label-row5 {
  grid-area: label5;
}

.settings-editor-row1 {
  grid-area: editor1;
  justify-self: stretch;
  margin: 5px 0 5px 5px;
  width: auto !important;
}

.settings-editor-row2 {
  grid-area: editor2;
  justify-self: stretch;
  margin: 5px 0 5px 5px;
  width: auto !important;
}

.settings-editor-row3 {
  grid-area: editor3;
  justify-self: stretch;
  margin: 10px 0 10px 0;
  width: initial !important;
}

.settings-editor-row3[type='range'] {
  justify-self: stretch;
  margin: 5px;
}

.settings-editor-row4 {
  grid-area: editor4;
  justify-self: stretch;
  margin: 10px 0 10px 10px;
  width: initial !important;
}

.settings-editor-row4[type='range'] {
  justify-self: stretch;
  margin: 5px;
}

.settings-editor-row5 {
  grid-area: editor5;
  justify-self: stretch;
  margin: 10px 0 10px 10px;
  width: initial !important;
}

.settings-editor-row5[type='range'] {
  justify-self: stretch;
  margin: 5px;
}

.settings-label-value3 {
  justify-self: right;
  grid-area: value3;
}

.settings-label-value4 {
  justify-self: right;
  grid-area: value4;
}

.settings-label-value5 {
  justify-self: right;
  grid-area: value5;
}

.option-element {
  width: 47%;
}

input[type='range'] {
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.demo-properties label.option-label {
  width: 50%;
}

.demo-properties .demo-form-block input[type='range'] {
  width: 38%;
}

.flat-button {
  width: 100%;
  margin: 11px 0;
}

.busyIndicator {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 200px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: -100px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding-top: 80px;
  text-align: center;
  font-size: 2em;
}
