/**
 *
 * Copyright 2016 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*

 * {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    background: #FAFAFA;
    font-family: Arial, sans-serif;
}

.header {
    width: 100%;
    height: 56px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    background: #333;
    color: #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
}

 */


.header__menu-toggle {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  color: #FFF;
}

.side-nav {
  position: fixed;
  left: 0;
  top: 4em;
  font-size: 1.5rem;
  /*    width: 100%;*/
  /*    width: 20%;*/
  /*    height: 100%;*/
  /*    overflow: hidden;*/
  pointer-events: none;
  z-index: 3;
}

.side-nav * {
  box-sizing: initial;
}
.side-nav--visible {
  pointer-events: auto;
}

/* .side-nav::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.3s cubic-bezier(0,0,0.3,1);
} */
input.object3.name {text.input
  width: 3.5rem;
}

.text.input {
  /* width: 7.5rem; */
  margin-bottom: -0.5em;
}

input.btn, button {
  padding: 6px 6px;
}

input.create-text.btn {
  width: 2rem;
  margin: -2.5rem auto auto 0.5em;
  padding: 0;
  text-align: center;
  border: 2px 2px 2px 2px solid #ccc;
  /* border: none; */
}

input[type="color"] {
  max-width: 2.3em;
}

.side-nav-width {
  /* width: 20%; */
  /*    max-width: 400px;*/
  max-width: 34rem;
  /* max-width: 24rem; */
  min-width: 20rem;
  /* resize: both;
  overflow: auto; */
}

.side-nav__container {
  position: relative;
  /* background: #FFF; */
  /*    background-color: rgba(100, 100, 200, 0.2);*/
  /*    background-color: rgba(187, 155, 188, 0.25);*/
  /* height: 100%; */
  min-height: 30rem;
  /*    max-height: 35rem;*/
  /*    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);*/
  transform: translateX(-102%);
  display: flex;
  flex-direction: column;
  will-change: transform;
  /*    overflow-y: scroll;*/
  /*    overflow: visible;*/
  font-family: sans-serif;
}

/*
js-side-nav.side-nav.side-controls.shown .side-nav__container {
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
}
*/
.hidden {
  display: none;
}

.shown .side-nav__container {
  /*
    box-shadow: -5px -5px 10px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0 7px 8px rgba(0, 0, 0, 0.4);
    */
}

.shown .side-nav__container .side-nav__content {
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
  background-color: rgba(128, 100, 112, 0.2);
}

/* for when side nav menu slides out to disappear */
.side-nav--animatable .side-nav__container {
  transition: transform 1.13s cubic-bezier(0, 0, 0.3, 1);
}

/* for sliding in of the side nav menu */
.side-nav--visible.side-nav--animatable .side-nav__container {
  transition: transform 0.33s cubic-bezier(0, 0, 0.3, 1);
}

.side-nav--visible::before {
  opacity: 1;
}

.side-nav--visible .side-nav__container {
  transform: none;
}

.side-nav__hide {
  /*    position: absolute;*/
  /*    left: 16px;*/
  /*    top: 16px;*/
  /*    background: none;*/
  border: none;
  color: #FFF;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
}

.side-nav__container .side-nav__header .js-menu-hide.side-nav__hide {
  float: right;
  background-color: rgba(159, 35, 159, 0.45);
  /*    box-shadow: 1px 1px 2px 2px #aaa;*/
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
}

.side-nav__header {
  /*    height: 200px;*/
  /*    background: #EA2663;*/
  color: #FFF;
  /*    display: flex;*/
  /*    padding: 16px;*/
  /*    align-items: flex-end;*/
  /*    font-size: 24px;*/
}

.side-nav__content {
  font-size: 0.9rem;
  padding-top: 32px;
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  /*    overflow-x: hidden;*/
  /*    overflow-y: auto;*/
  /*    overflow-y: scroll;*/
  /*    -webkit-overflow-scrolling: touch;*/
}

.side-nav__container .side-nav__content input[type="number"] {
  width: 2.5rem;
}

.side-nav__container .side-nav__content .control-group .panel input[type="range"] {
  /* width: 2.5rem; */
  width: 10rem;
  margin: 0;
  padding: 0;
  border: none;
}

.control-group .panel input[type="range"] {
  display: inline;
}

.control-group .panel input[type="number"] {
  width: 3em;
}

aside.side-nav div.control-group {
  font-size: 1.3rem;
}

.control-group .panel {
  margin: 0;
  padding: 0 0.1rem;
  border: none;
}

.side-nav__container .side-nav__content .control-group {
  margin: 0;
  padding: 0;
}

.side-nav__container .side-nav__content .control-group .panel {
  /*    margin:0;*/
  padding: 0 0.1rem;
}

.side-nav__content li {
  height: 48px;
  line-height: 48px;
  padding: 0 16px;
}

.side-nav__content li:hover {
  background: #CCC;
}

/* for side menu: */
/*======================*/
main {
  /* display: flex; */
}

aside.side-nav label {
  font-size: 1.5rem;
  font-weight: 500;
}

aside.side-nav p.accordion {
  /* background-color: #eee; */
  /* background-color: rgba(220, 220, 225, 0.25); */
  background-color: rgb(238, 231, 240);
  /* color: #444; */
  color: #000;
  cursor: pointer;
  padding: 3px 1px 1px 9px;
  padding: 3px 1px 5px 9px;
  margin: 2px 1px 2px auto;
  /*    width: 100%;*/
  /* border: none;
    border: 1px solid #444;
    border-radius: 5%; */
  text-align: left;
  /* border-radius: 10px; */
  /* outline: none; */
  /* outline-style: solid; */
  font-size: 1.65rem;
  transition: 0.4s;
  display: flex;
  /*align-content: center;
    align-items: center; */
  /*    border: 2px solid red;*/
}

p.accordion i {
  /* display: inline-block;
    width: 1.45rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid #444;*/
  text-align: center;
  /* padding-left: 2px; */
  font-size: 1.5rem;
  font-weight: 600;
  /* margin: auto; */
  /* padding-bottom: 0.45rem; */
  /* margin-top: 0.45rem; */
  color: rgba(100, 100, 200, 0.9);
  transition: all 1s;
}

p.accordion span.group-name {
  display: inline-block;
  /*
    margin-bottom: 0.5rem; */
  /* height: 1.5rem; */
  line-height: 1rem;
  margin-top: 0.25rem;
}

p.accordion i:before {
  transition: all 1s;
  /* padding-bottom: 0.5rem; */
}

/* p.accordion i:before:hover {
    transform: rotate(-30deg);
} */
/* p.accordion span.symbol:active {
    color: red;
} */
p.accordion i.mdi-setting:hover {
  /* transform: scale(1.1); */
  transform: rotate(30deg);
}

aside.side-nav p.accordion.active, aside.side-nav p.accordion:hover {
  /* background-color: #ddd; */
  background-color: rgba(200, 200, 200, 0.75);
  /*     border-radius: 25px;*/
  /*     border-radius: 27.5%;*/
  /*    transition: 1.5s;*/
  font-weight: 600;
}

aside.side-nav div.control-group div.control-group p.accordion.active, aside.side-nav div.control-group div.control-group p.accordion:hover {
  /* background-color: #ddd; */
  background-color: rgba(250, 250, 250, 0.85);
  /*     border-radius: 45px;*/
  /*     border-radius: 27.5%;*/
  font-weight: 600;
}

aside.side-nav div.panel {
  /*    padding: 0 18px;*/
  padding: 0 0.1rem;
  /* background-color: white; */
  background-color: rgba(204, 53, 105, 0.25);
  /* background-color: rgba(218, 141, 168, 0.95); */
  max-height: 0;
  /*    overflow: hidden;*/
  overflow-y: scroll;
  /*    transition: max-height 0.2s ease-out;*/
  transition: max-height 0.6s ease-out;
}

aside.side-nav div.panel div.panel {
  /*    padding: 0 18px;*/
  padding: 0 0.1rem;
  /* background-color: white; */
  /* background-color: rgba(255, 255, 255, 0.25); */
  max-height: 0;
  /*    overflow: hidden;*/
  overflow-y: scroll;
  /*    transition: max-height 0.2s ease-out;*/
  transition: max-height 0.6s ease-out;
  font-weight: 400;
  /*    background-color:rgba(214, 25, 141, 0.37);*/
  border-radius: 10px;
}

span span.numeric {
  background-color: #fff;
  /* min-width: 5rem; */
}

span.numeric {
  background-color: #fff;
  display: inline-block;
  min-width: 1.5rem;
  /* width: 2rem; */
  /* padding-bottom: 0.25rem; */
  /* margin: auto; */
}

aside.side-nav p.accordion span.group-name {
  font-weight: 400;
}

aside.side-nav div.control-group div.view-rotation div.panel div.inline {
  /* border-right: 2px solid #555; */
  padding-left: 5px;
  font-size: 18px;
}

aside.side-nav div.control-group div.view-rotation div.panel div i.mdi-chevron {
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 47%;
  /* line-height: 28px; */
  /* border-top: 2px solid #ccc; */
  background-color: rgba(240, 200, 200, 0.6);
}

aside.side-nav div.panel p.accordion {
  background-color: rgba(247, 224, 198, 0.81);
  /*    background-color:rgba(247, 224, 198, 0.81);*/
}

aside.side-nav div.panel p.accordion span.group-name {
  /*    font-weight: 600;*/
  font-size: 95%;
  padding: 1px 2px 1px 10px;
  /*    color: rgba(70, 7, 12, 0.85);*/
}

@media screen and (max-height: 450px) {
  .side-menu {
    padding-top: 15px;
  }

  .side-menu a {
    font-size: 18px;
  }
}

/*
.bold, p.bold, span.bold, p.accordion.bold {
    font-weight: 600%
}
*/
.open-controls-symbol {
  /*position: fixed;*/
}

/* .controls-symbol-container i.mdi {
    padding: 0.75rem 0.35rem;
} */
.controls-symbol-container .handle {
  margin-top: -0.125rem;
  padding: 0.4rem 0.42rem;
  font-size: 2.75rem;
  text-shadow: 1px 1px 2px #333;
}

.controls-symbol-container {
  top: 4rem;
  left: 42rem;
  position: fixed;
  border-radius: 50%;
  /*    background-color: rgba(64, 100, 239, 0.8);*/
  background-color: rgba(159, 35, 159, 0.45);
  cursor: pointer;
  font-size: 3rem;
  /* width: 5rem; */
  /*    color: rgba(164, 200, 250, 0.8);*/
  color: rgba(240, 240, 255, 0.9);
  text-shadow: 3px 1px solid #000;
  width: 3.65rem;
  height: 3.6rem;
  box-shadow: 1px 1px 2px 2px #aaa;
  transition: transform 0.5s;
  z-index: 5;
}

.controls-symbol-container:hover {
  transform: rotate(-10deg);
  /*transform: scale(1.1);*/
}

/*----------------------*/
h1 {
  text-decoration: underline;
  margin: 1rem 0 0.5em 1.5rem;
  font-style: normal;
  text-shadow: 1px 1px 0px rgba(100, 100, 200, 0.9);
  /*font-size: 2.5rem;*/
  font-size: 2rem;
  font-family: 'Viga', 'Dosis';
  font-weight: 400;
  letter-spacing: 2px;
  /*font-kerning: none;*/
  color: rgba(100, 100, 200, 0.75);
  /*opacity: 0.5;*/
  z-index: 12;
}

h3 {
  margin: 0;
}

h4 {
  font-family: 'Dosis';
}

h5 {
  margin: 0 0 0.4em 0;
}

/*-----------------------*/
.draggable .handle {
  /* background-color: rgba(64, 126, 245, 0.1); */
  width: 6.5rem;
  /* height: 4rem; */
  cursor: move;
  /* width: 100px; */
  display: inline-block;
}

.controls-symbol-container.draggable .handle {
  cursor: pointer;
}

.trapezoid {
  /* margin-top: -20rem; */
  /* border-radius: 12.5% 12.5% 0 0 / 25px 25px; */
  /* border-radius: 12.5% 12.5% 0 0; */
  /* border-radius: 5%; */
  /* border: 1px solid rgba(64, 100, 239, 0.8); */
  /*    border-bottom: 1.5rem solid rgba(64, 100, 239, 0.25);*/
  border-bottom: 2.0rem solid rgba(159, 35, 159, 0.45);
  /* border-left: 01rem solid transparent; */
  border-right: 3rem solid transparent;
  height: 0;
  /*    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);*/
  /* width: 100px; */
  /* height: 0; */
  /*
    height: 3rem;

     */
  /*    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);*/
  width: 7.25rem;
}

.trapezoid-bottom {
  border-top: 2.0rem solid rgba(159, 35, 159, 0.45);
  border-right: 3rem solid transparent;
  height: 0;
  width: 7.25rem;
}

.trapezoid p, .trapezoid-bottom p  {
  padding-top: 1px;
  width: 7.5em;
}

.trapezoid-bottom p {
  line-height:0.5em;
  height: 0;
  margin-top:-1em;
}

/* div.side-nav__header.bottom {
  height:1em;
} */

.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.main .handle p.text {
  /* padding-top: 3px; */
  /* padding-bottom: 0.5rem; */
  margin-top: -1.3rem;
  /* margin-bottom: 1rem; */
  margin-left: 0.35rem;
  /* margin-bottom: -0.2rem; */
  /* height: 10rem; */
  color: rgba(250, 250, 255, 0.99);
  /* background-color: red; */
  /*    width: 6.5rem;*/
  /* border: 2px solid rgba(50, 132, 240, 0.9); */
  text-shadow: 1px 1px 1px #333;
}

.main .handle p.text span {
  /* padding-bottom: 5px; */
  /* margin-top: -15px; */
}

.main .handle {
  /* margin-top: -1rem; */
}

.main .blank {
  height: 0.3rem;
  z-index: -10;
  opacity: 0;
}

img.icon.material-icon {
  width: 20px;
  height: 20px;
  border-radius: 20%;
  border: 1px solid rgba(250, 250, 255, 0.99);
}

.mdi.mdi-arrow-all.reverse-color {
  color: rgba(250, 250, 255, 0.99);
  /* font-size: 1.2rem; */
  text-shadow: 1px 1px 1px #333;
  height: 0;
}

i.mdi-settings {}

.side-nav__header i.mdi {
  font-size: 1.5rem;
  color: rgba(250, 250, 255, 0.99);
}

.side-nav__header .side-nav__hide i.mdi {
  font-size: 1.45rem;
}

p.accordion i.mdi.mdi-chevron {
  float: right;
  margin: 0 0 0 auto;
  color: rgba(92, 12, 70, 0.99);
  /* height: 5px; */
  line-height: 1.25rem;
}

p.accordion i.mdi.mdi-chevron:hover {
  /* font-size: 2rem; */
  /* font-weight:1200; */
  /* transform: rotate(180deg); */
}

/*----------------------*/
.tooltip {
  /*position: relative;*/
  /*display: inline-block;*/
  opacity: 1.0;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  /*width: 120px;*/
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  font-size: 1rem;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

select {
  max-width: 9.5em;
}

/*----------------------*/
