@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);

html {
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

html,
body {
  overflow: hidden !important;
  height: 100%;
  margin: 0px;
}

.ad-App {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* main layout */
.ad-Container {
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
}
.ad-Container-main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.ad-Container-svg {
  height: 100%;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #f3f3f3;
}

.ad-Container-controls {
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
  width: 320px;
  width: 20rem;
  min-width: 300px;
  background: #111;
}
.ad-Container-controls ::-webkit-scrollbar {
  width: 6px;
}
.ad-Container-controls ::-webkit-scrollbar-thumb {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.3);
}

.ad-Foot {
  padding: 24px 32px;
  padding: 1.5rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  max-width: 100vw;
  width: 96vw;
  height: 20px;
  z-index: 100;
  background: #fff;
  border-top: 2px solid #eee;
}
.red{
  background-color: red;
}
.ad-Foot-list {

  margin-top: -22px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.ad-Foot-item {
  text-transform: uppercase;
  font-size: 11.0px;
  color: #111;
}
.ad-Foot-item + .ad-Foot-item {
  margin-top: 8px;
  margin-top: 0.5rem;
}
.ad-Foot-highlight {
  padding-bottom: 0.64px;
  padding-bottom: 0.04rem;
  border-bottom: 2px solid #00e676;
  font-weight: bold;
}

.ad-Foot-meta {
  text-align: right;
  line-height: 1.4;
  font-size: 11.2px;
  font-size: 0.7rem;
  margin-top: -15px;
  color: #111;
  
}
@media screen and (max-width: 1060px) {
  .ad-Foot-meta{
    display: none;
  }
 }

.ad-Foot-img-container{
  position: absolute;
  bottom: 0;
  left: calc(50vw - 135px);
}
.ad-Foot-img {
height: 60px;
}
.ad-Foot-meta a {
  text-decoration: underline;
  color: #111;
}

.ad-SVG {
  display: block;
  background: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 500px;
  border-radius: 4px;
}
label[for="file-input"] {
  display: block;
  margin-bottom: 1em;
  font-size: 1em;
  color: #fff;
  opacity: .9;
  font-weight: bold;
}

input[type="file"] {
  width: 100px;
  cursor: pointer !Important;
}
input[type="file"]::-webkit-file-upload-button {
  border: none;
  padding: 5px 12px;
  background: green;
  color: #fff;
  font-size: 1em;
  transition: all .4s;
  cursor: pointer;
  border-radius: 20px;
}
input[type="file"]::-ms-browse {
  border: none;
  padding: 5px 12px;
  background: green;
  color: #fff;
  font-size: 1em;
  transition: all .4s;
  cursor: pointer;
  border-radius: 20px;
}
input[type="file"]::-ms-browse:hover {

  background: rgb(0, 170, 88);
}
input[type="file"]::-webkit-file-upload-button:hover {

  background: rgb(0, 170, 88);
}

.ad-Grid {
  fill: none;
  stroke: #ddd;
}
.is-hidden {
  opacity: 0;
}
.ad-Path {
  fill: none;
  stroke-linecap: round;
}
.limits{
  fill: none;
}
.ml5{
  margin-left: 5px;
}
.ad-Foot-help,
.ad-Foot-library{
  margin-right: 20px;
  align-self: center;
  outline: 0;
}
#library-modal{
  max-width: 80vw;
  width: 80vw;
  height: 70vh;
}
#three-d-modal{
  max-width: 80vw;
  width: 80vw;
  height: 70vh;
}
#three-d-container{
  height: 98%;
}
#preview-header{
  margin-bottom: 10px;
  margin-top: 2px;
}
#instructions-modal{
  max-width: 80vw;
  width: 80vw;
  height: 70vh;
}
#three-d-iframe{
  border-style: none;
  box-shadow: 0px 0px 20px black;
  border-radius: 8px;
  background-color: #000;
}
#fullscreen-label{
  position: relative;
  bottom: 10px;
  left: 5px;
}
#instructions-div{
  height: 95%;
}
#instructions-iframe{
  height: 100%;
}
.ad-Point {
  cursor: pointer;
  fill: transparent;
  stroke-width: 3.5px;
  -webkit-transition: fill 0.2s;
  transition: fill 0.2s;
}
.ad-Point:hover,
.ad-PointGroup.is-active .ad-Point{
  fill: #00e6776c;
}
.hint-point-point, .hint-point-point:hover{
  cursor: auto;
  fill: #54e69f;
}
.ad-PointGroup--first .ad-Point {
  stroke: rgb(255, 79, 79);
  stroke-width: 6px;
}
.ad-Point-Last{
  stroke: rgb(255, 79, 79);
  stroke-width: 6px;

}
.ad-Anchor {
  opacity: 0.5;
}
.ad-PointGroup.is-active .ad-Anchor {
  opacity: 0.8;
}
.ad-PointGroup.is-active .ad-Anchor-point, .hint-point-first {
  fill: yellow !important;
}
.ad-PointGroup.is-active .ad-Anchor-point-second, .hint-point-second {
  fill: rgb(255, 77, 54) !important;
}
.hint-point-first, .hint-point-second{
  cursor: auto !important;
}
.ad-Anchor-point {
  cursor: pointer;
  fill: #fff;
  stroke: #888;
  stroke-width: 5px;
}
.ad-Anchor-line {
  stroke: #888;
  stroke-width: 1px;
  stroke-dasharray: 5 5;
}


.ad-Controls {
  overflow: auto;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 32px;
  padding: 2rem;
}
.ad-Controls :first-child {
  margin-top: 0;
}
.ad-Controls-title {
  margin: 48px 0 24px;
  margin: 3rem 0 1.5rem;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
.ad-Controls-subtitle {
  margin: 30px 0 15px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
.ad-Controls-value-title{
  margin: 48px 0 24px;
  margin: 3rem 0 1.5rem;
  font-size: 1px;
  font-weight: bold;
  color: #fff;
}
.change-image{
  margin-left: 20px;
}
.ad-Controls-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.ad-Controls-container + .ad-Controls-container {
  margin-top: 24px;
  margin-top: 1.5rem;
}

.ad-Control {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.ad-Control-label {
  display: block;
  margin-bottom: 8px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 9.6px;
  font-size: 0.6rem;
  font-weight: bold;
  color: rgb(209, 209, 209);
}

.ad-Result {
  height: 80px;
  height: 5rem;
  padding: 22.4px 25.6px;
  padding: 1.4rem 1.6rem;
  background: #111;
  -webkit-box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.4);
}
.ad-Result-textarea {
  height: 100%;
  width: 100%;
  resize: none;
  border: none;
  background: none;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  font-size: 11.2px;
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 1.8;
  color: #fff;
}
.ad-Result-textarea:focus {
  outline: 0;
}

/* control elements */
.ad-Button {
  padding: 12.8px 22.4px;
  padding: 0.8rem 1.4rem;
  background: green;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  font-size: 9.6px;
  font-size: 0.6rem;
  letter-spacing: 1.28px;
  letter-spacing: 0.08rem;
  color: #fff;
}

.ad-Button:disabled{
  background: grey;
}
.ad-Button:disabled:hover{
  background: grey;
}

.ad-Button:hover {
  background: rgb(0, 170, 88);
}
.ad-Button:focus{
  outline: 0;

}
.mb-5{
  margin-bottom: -5px;
}
.rel-top-minus-5{
  position: relative;
  top: -10px;
}
.ad-Button--delete {
  background: #e53935;
}
.ad-Button--delete:hover {
  background: rgb(232, 77, 74);
}
.ad-Button--reset {
  background: rgb(43, 43, 43);
  color: rgb(245, 114, 111);
}
.ad-Button--reset:hover {
  color: #fff;
  background: #e53935;
}
.ad-Button--undo {
  background: green;
}
.ad-Button--undo:hover {
  background: rgb(0, 170, 88);
}
.ad-Button--undo{
  position: absolute;
  bottom: 90px;
  left: 330px;
  z-index: 1;
}
.coordinate-svg{
  position: absolute;
  top: 0px;
  left: 330px;
  z-index: 1;
  width: 80px;
  height: 100px;
}
.mt20{
  margin-top: 20px;
}
.ad-Text {
  height: 18px;
  width: 32px;
  width: 2rem;
  background: rgb(43, 43, 43);
  border: none;
  border-radius: 4px;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 9.6px;
  font-size: 0.6rem;
  color: #fff;
}
.ad-Text:focus {
  outline: 0;
  background: rgb(69, 69, 69);
}

.ad-Checkbox-input {
  display: none;
}
.ad-Checkbox-fake {
  position: relative;
  height: 14px;
  width: 32px;
  width: 2rem;
  background: rgb(43, 43, 43);
  border-radius: 30px;
}
.ad-Checkbox-fake::after {
  content: "";
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: -2px;
  left: 0;
  height: 18px;
  width: 18px;
  cursor: pointer;
  border: 4px solid #fff;
  background: rgb(43, 43, 43);
  border-radius: 50%;
}
.ad-Checkbox-input:checked + .ad-Checkbox-fake::after {
  left: auto;
  right: 0;
  border-color: #00e676;
}

.ad-Choices {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 192px;
  width: 12rem;
}
.ad-Choice {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.ad-Choice-input {
  display: none;
}
.ad-Choice-fake {
  padding: 9.6px;
  padding: 0.6rem;
  background: rgb(43, 43, 43);
  border: 4px solid transparent;
  -webkit-transition: border 0.2s;
  transition: border 0.2s;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  font-size: 12.8px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
}
.ad-Choice:first-child .ad-Choice-fake {
  border-radius: 4px 0 0 4px;
}
.ad-Choice:last-child .ad-Choice-fake {
  border-radius: 0 4px 4px 0;
}
.ad-Choice-input:checked + .ad-Choice-fake {
  border-color: #00e676;
}

.ad-Range {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.ad-Range-text {
  margin-left: 8px;
  margin-left: 0.5rem;
}
.ad-Range-input {
  width: 100%;
  height: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 30px;
  background: rgb(43, 43, 43);
}
.ad-Range-input:focus {
  outline: 0;
  background: rgb(69, 69, 69);
}
/* thumb */
.ad-Range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  background: rgb(43, 43, 43);
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: border 0.2s;
  transition: border 0.2s;
}
.ad-Range-input::-moz-range-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  background: rgb(43, 43, 43);
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: border 0.2s;
  transition: border 0.2s;
}

.ad-Range-input:hover::-webkit-slider-thumb,
.ad-Range-input:focus::-webkit-slider-thumb {
  border-color: #00e676;
}
.ad-Range-input:hover::-moz-range-thumb,
.ad-Range-input:focus::-moz-range-thumb {
  border-color: #00e676;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 20 !important; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.ReactModal__Overlay{
  z-index: 10;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-height: 70%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.ReactModal__Content{
  text-align: center;
  padding: 100px !important;
  padding-top: 20px !important;
  margin: auto;
  width: max-content;
  height: max-content;
  max-width: 60vw;
  max-height: 80vh;
  word-break: break-word;
  background-color: blueviolet;
}

.modal-left-bottom{
  position: absolute;
  left: 30%;
}
.modal-right-bottom{
  position: absolute;
  right: 30%;
}
.closeButton{
  position: absolute;
  right: 10px;
  top: 10px;
}

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid silver;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}

.wrap    {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.wrap li {
  background: rgb(53, 53, 53);
}

.flex-item {
  padding: 5px;
  width: 300px;
  height: 350px;
  margin: 10px;
  color: white;
  text-align: center;
  position: relative;
}
.flex-item *{
  overflow: hidden;
}


.filtering-container{
  width: 100%;
}

.lib-img{
  max-width:300px;
  max-height:280px;
  height: auto;
  width: auto;
  margin: auto;
  display: block;
  resize: both;
  overflow: auto;
  margin: auto;
}

.row *{
  display: inline;
}

.row{
  margin-top: 10px;
  margin-bottom: 10px;
 width: max-content; 
}
.lib-item-info{
  transition-duration: 0.2s;
  position: absolute;
  top: 0px; 
  left: 0px;
  width: 300px;
  height: 300px;
  background-color: rgba(0, 0, 97, 0.5);
  opacity: 0;
}
.lib-item-info:hover{
opacity: 1;
}
.lib-item-info p{
  margin-top: 0px;
  margin-left: 5px;
  text-align: left;
  text-shadow: 0px 0px 3px #000000;
}
.lib-item{
  cursor: pointer;
}


.noselect, img, button {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
     -moz-user-select: none; /* Old versions of Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none; /* Non-prefixed version, currently
                                supported by Chrome, Edge, Opera and Firefox */
}

.admin{
  background-color: #2b2b2b;
  padding: 5px;
  border-radius: 5px;
}

.flex-row{
  display: flex;
  flex-direction: row;
}
.flex-col{
  display: flex;
  flex-direction: column;
}
.m-auto{
  margin: auto;
}
.w-50-px{
  width: 50px;
}
.category-wrapper{
  width: 100%;
}
.capitalize{
  text-transform: capitalize;
}
#uploadCategory{
  width: 90%;
  min-height: 40px;
}
iframe{
  border: none;
}
#add-shape-modal{
  min-width: 50vw;
  min-height: 80vh;
}
.f-row-center{
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.f-row-center > *{
  margin-left: 5px;
}
svg{
  transform: scale(1, -1)
}
.ad-range-input-text{
  /*position: absolute;*/
  background: pink;
  z-index: 5;
}

.ad-Container-controls-point .ad-range-input-text{
  right: 32px;
}
.ad-Container-common-controls .ad-range-input-text{
  left: 238px;
}
.hidden{
  display: none;
}
.help-dot-svg{
  margin-right: 5px;
  height: 20px;
  width: 20px;
}
.hint-container{
  display: inline-flex;
  margin: auto;
}
.hint-container > *{
  margin-top: auto;
  margin-bottom: auto;
}
.overwrite-container{
  text-align: left;
}
.react-contextmenu{
  z-index: 100;
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
}
.react-contextmenu-item{
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  font-size: larger;
}
.react-contextmenu-item:hover{
  background-color: #dbdbdb;
}
.context-point-info{
  padding: 5px;
  color: #4e4e4e;
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
  z-index: 100;
}
.shape-name{
  background-color: black;
  margin-bottom: 0;
}
#input-hint{
  position: absolute;
    z-index: 100;
    top: 80px;
    left: calc(50% - 154px);
    font-size: 26px;
    color: red;
}
.follow-cursor{
  position: fixed; /* Floating above */
  pointer-events: none; /* Allow clicking trough the div */
}
line:nth-child(10n){
  stroke: black
}