/* Comment to prevent wrong concat */

body {
/*  background: var(--z1);*/
  font: 14px/120% -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
}

body.inverted {
  background: var(--z2);
}

/*::selection {background: #000; color: #fff; }
::-moz-selection {background: #000; color: #fff; }*/

html, body {
  overscroll-behavior-x: none;
/*  overflow: hidden;*/
  width: 100%;
  height: 100%;
}

/*::-webkit-scrollbar {
    width: var(--x1);
    height: var(--x1);
    background: transparent;
    position: absolute;
}*/

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--z3);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.inverted ::-webkit-scrollbar-thumb {
    background: var(--z3);
}


div#font-selector { 
  width:140px; 
  height:300px; 
  overflow:auto;  
  margin:0 auto; 
  position:absolute; 
  top:27px;
  right:0;
  border:1px solid black; 
  padding:10px; 
  display:none; 
  background-color:white;
  z-index: 10;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.7);
}

div#font-selector img {
  width: 100%;
}

div#font-selector .font-item {
  border-bottom: solid #ddd 1px;
  padding: 5px 10px;
  margin: 0 -10px;
}

div#font-selector .font-item:hover {
  background-color: #eee;
}

 .dropdown_set input[type=text],  .dropdown_set input[type=number] {
  width: 50px;
}

 input[type=text].wide,  input[type=number].wide {width: 110px;}
 input[type=text].tuco,  input[type=number].tuco {width: 150px;}

 input[type=submit],  input[type=button], button {
  background: var(--accent7);
  color: var(--z15);
  border-radius: var(--x1);
  padding: var(--x2) var(--x4);
  border: none;
  line-height: 140%;
  font-size: 16px;
  font-weight: 550;
  cursor: pointer;
}

input[type=submit]:hover,
input[type=button]:hover,  
button:hover {
  background: var(--accent9);
}

input[type=submit]:active,  
input[type=button]:active,
button:active { 
  box-shadow: 0 0 0 var(--x1) var(--accent14);
  outline: none;
}

input[type=submit]:focus, 
input[type=button]:focus, 
button:focus {
  outline: none;
}

 button.cancel,  input.Cancel,  input.cancel,  input.jGraduate_Cancel, button.cancel {
  -webkit-appearance: none;
  background-color: var(--z12);
  color: var(--z3);
  margin: 0;
}

 button.cancel:hover,  input.Cancel:hover,  input.cancel:hover,  input.jGraduate_Cancel:hover, button.cancel:hover {
  background-color: var(--z13);
}

 button.warning {
  -webkit-appearance: none;
  background-color: var(--b6);
  color: var(--z15);
  margin: 0;
}

 button.warning:hover {
  background-color: var(--b7);
 }

#svgcontent {
  overflow: hidden;
}

.wireframe #svgcontent * {
  fill: none;
  stroke: #000;
  stroke-width: 1px;
  stroke-opacity: 1.0;
  stroke-dasharray: 0;
  opacity: 1;
  pointer-events: stroke;
  vector-effect: non-scaling-stroke;
  filter: none;
}

.wireframe #svgcontent text {
  fill: #000;
  stroke: none;
}

#canvas_panel {
  display: block;
}

 #multiselected_panel .selected_tool {
  vertical-align: 12px;
}

#cur_context_panel {
  position: absolute;
  top: 47px;
  left: 68px;
  line-height: 22px;
  overflow: auto;
  border-bottom: none;
  border-right: none;
  padding-left: 5px;
  font-size: 12px;
  background: black;
  color: #999;
  opacity: 0.5;
  padding: 0 10px;
  border-radius: 0 10px 10px 0;
}

 #cur_context_panel a {
  float: none;
  text-decoration: none;
  color: #fff;
}

 #cur_context_panel a:hover {
  text-decoration: underline;
}

#main_menu li#tool_open,  #main_menu li#tool_import {
  position: relative;
  overflow: hidden;
}

#tool_image {
  overflow: hidden;
}

.disabled {
  opacity: 0.5;
  cursor: default;
}

.width_label {
  padding-right: 5px;
}

 #tool_bold span,  #tool_italic span { 
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  background: #ccc;
  opacity: 0;
}

 #tools_bottom {
  position: absolute;
  left: var(--x12);
  right: 0;
  bottom: 0;
  height: var(--x10);
  overflow: visible;
}

 ul li.current {
  background-color: #F4E284;
}

.toolbar_button button .svg_icon {
    display: none;
}

.invisible {
  visibility: none;
}

/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

input[readonly=readonly]:focus {
  box-shadow: none;
}

#color_canvas_tools, #fill_bg, #stroke_bg {
  background: var(--z15) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAAA3NCSVQICAjb4U/gAAAABlBMVEXu7u7///8o06qaAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFXRFWHRDcmVhdGlvbiBUaW1lADcvMjIvMTL7FNdCAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M1cbXjNgAAABFJREFUCJljYP7AgIb+MKAhAM8/C5vWL6zSAAAAAElFTkSuQmCC) top left repeat;
}

#color_canvas_tools {
  width: 60px;
  height: 40px;
  margin: 23px 5px 5px 5px;
  position: relative;
  overflow: hidden;
}

#color_canvas_tools  {
  display: block;
}

#stroke_style_label {
  font-size: 30px;
  margin-top: 33px;
  letter-spacing: -1px;
}

.stroke_tool .caret {
  top: 60%;
}
a {
  /*font: 50px arial;*/
  outline:none;
  color:green;
  text-shadow:0px 0px 8px silver;
  transition:all 100ms ease-in-out;
  -webkit-transition:all 100ms ease-in-out;
  -moz-transition:all 100ms ease-in-out;
  -o-transition:all 100ms ease-in-out;
  -ms-transition:all 100ms ease-in-out;
}

a:hover {
  color:#567;
}

#crosshair-h {
  width: 100%;
}

#crosshair-v {
  height: 100%;
}

.hair {
  position: fixed;
  top:0; left:0;
  margin-top: -3px;
  margin-left: -2px;
  background: transparent;
  border-top: 1px dotted #000;
  border-left: 1px dotted #000;
  pointer-events: none;
  z-index: 2;
}

#mousepos {
  position: absolute;
  top:0; left:0;
  padding: 10px;
  margin: 10px;
  font: 14px arial;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 24px;
  z-index: 1;
  display: none;
}
g path{
  /*opacity:0.5;*/
}
g rect{
  /*opacity:0.5;*/
  /*fill: gray;*/
  /*fill-opacity: 0.5;*/
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
}

/* 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;
}

.graph-loader {
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid red;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position: relative;
  z-index: 1000;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#loading {
  position: fixed;
  display: flex;
  top: var(--x8);
  left: var(--x12);
  bottom: var(--x10);
  right: calc(var(--panel-width) + var(--x4));
  text-align: center;
  background-color: rgb(255, 255, 255, 0.95);
  z-index: 99;
  justify-content: center;
  align-items: center;
}

#loading-image {
  position: absolute;
  top: 100px;
  left: 240px;
  z-index: 100;
}
#loading h3 { font-size: 16px; }
.dimension-container {
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: auto;
  position: fixed;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
}    
.dimension .workarea {
  padding: 10px;
  overflow: auto;
  width: calc(100% - 200px);
}
.dimension .workarea img { max-width: 100%; }
.custom {
  padding: 15px;
  background: #f4f4f4;
  position: absolute;
  left: calc(100% + 25px);
  top: calc(100% - 45px);
  display: none;
  width: 250px;
  border: 1px solid #e4e4e4;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}
.custom.active { display: block; }
.custom:before {
  border-width: 10px;
  border-style: solid;
  position: absolute;
  right: 100%;
  content: '';
  top: 10px;
  z-index: 9;
  border-color: transparent #f4f4f4 transparent transparent;
}
.custom:after {
  border-width: 11px;
  border-style: solid;
  position: absolute;
  right: calc(100% + 1px);
  content: '';
  top: 9px;
  border-color: transparent #e4e4e4 transparent transparent;
}
.custom h3 { margin: 0; font-weight: normal; }
.custom-row { display: flex; align-items: center; }
.custom-row .col-5 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}
.custom-row .col-2 {
  text-align: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}
.custom-row .col-5 input {
  width: 100%;
  box-sizing: border-box;
}
.cancel { 
  color: #333; 
  background: #ccc; 
}
/*.popup {
  display: inline-block;
}*/

.popup .popuptext {
    top: 50%;
    left: 50%;
    color: #fff;
    display: none;
    padding: 20px;
    position: absolute;
    border-radius: 6px;
    background-color: #2b313f;
    transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
.popup .show {
    display: block;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
    z-index: 9;
}
.popup label {
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}
.popup .form-group { display: flex; }
.popup .roomNameInput {
  padding: 5px;
  border: none;
  border-radius: 4px 0 0 4px;
}
.popup button { padding: 5px 10px; border-radius: 0 4px 4px 0;}
 .CancelButton { padding:  5px; border-radius: 5px; background-color: grey;}
#workSheetData td{text-align: center;}
.workSheetPopup {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  background: rgba(0,0,0,0.5);
  z-index: 9;
}
.workSheetPopup .popuptext {
    top: 50%;
    left: 50%;
    width: 100%;
    color: #000;
    display: none;
    padding: 20px;
    font-size: 12px;
    max-width: 900px;
    position: absolute;
    border-radius: 6px;
    background-color: #FFF;
    transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
.workSheetPopup .popuptext .close {
    position: absolute;
    right: -15px;
    top: -15px;
    border-radius: 24px;
    width: 40px;
    height: 40px;
    font-weight: 600;
    font-size: 18px;
    background: #0b89f0;
    color: white;
}
.workSheetPopup .show {
    display: block;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
    z-index: 9;
}
.workSheetPopup label {
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}
.workSheetPopup .form-group { display: flex; }
.workSheetPopup .roomNameInput {
  padding: 5px;
  border: none;
  border-radius: 4px 0 0 4px;
}
.workSheetPopup th, .workSheetPopup td {
  padding: 10px; 
  text-align: left;
  vertical-align: top;
  border-bottom: #e4e4e4 solid 1px;
}
/*.popup button { padding: 5px 10px; border-radius: 0 4px 4px 0; }*/
.workSheetPopup input {
  border-radius: 5px;
  padding: 5px 10px;
  border: #666 solid 1px;
  max-width: 65px;
  width: 100%;
}
.workSheetPopup th {
  background: #e4e4e4;
}
.stairsPopup {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  background: rgba(0,0,0,0.5);
  z-index: 9;
}
.stairsPopup .popuptext {
  top: 50%;
  left: 50%;
  width: 100%;
  color: #000;
  display: none;
  padding: 20px;
  font-size: 12px;
  max-width: 450px;
  position: absolute;
  border-radius: 6px;
  background-color: #FFF;
  transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}
.stairsPopup .popuptext .close {
  position: absolute;
  right: -15px;
  top: -15px;
  border-radius: 24px;
  width: 40px;
  height: 40px;
  font-weight: 600;
  font-size: 18px;
  background: #0b89f0;
  color: white;
}
.stairsPopup input[type=text]{
  width: 40px;
  height: 30px;
}
.stairSubCon{
  display: flex;
}
.StairsButton{
  height: 40px;
  width: 100px;
  border: none;
  border-radius: 5px;
  margin: 0px 5px;
}
