#leftbar {
  font-size: 13px;
  max-height: 100%;
  position: absolute;
  /* right: 10px; */
  top: 40px;
  /* height: 0; */
  width: 310px;
  /* float: left; */
  /* height: 100%; */
  /* background: white; */
  /* padding-left: 33px; */
  /* box-shadow: 0px 0px 0px 1px rgba(153,153,153,0.65); */
  /* border: 2px solid #99999985; */
  /* -moz-border-radius: 3px; */
  /* border-radius: 3px; */
  /* margin-left: 30px; */
  box-sizing: border-box;
  height: calc(100% - 100px);
  z-index: 1000;
  left: auto;
  pointer-events: none;
}

#leftbar.float_out {

  left: 602px;
  top: 2px;
}

#buttonlist {
  /* border: 1px solid #777; */
  /* max-height: 100%; */
  position: absolute;
  left: 1px;
  top: 1px;
  width: 40px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #fdfdfd;
  /* box-sizing: border-box; */
  /* float: left; */
  /* padding: 1px; */
  box-shadow: 0px 0px 13px 0px rgba(153,153,153,0.65);
  z-index: 20;
}

#buttonlist span:first-child {
  margin-top: 0;
  /*-moz-border-radius: 0 3px 0 0;*/
  /* border-radius: 0 3px 0 0; */
  border: none;
}

#buttonlist span:last-child {
  /*-moz-border-radius: 0 0 3px 0;*/
  /* border-radius: 0 0 3px 0; */
}

#buttonlist .material-icons {
  padding: 8px 12px 12px 8px;
}

#buttonlist span.tool_button.active {
  background: #ddd;
  color: #111;
  -moz-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}

#leftbar.gui_open #buttonlist {
  box-shadow: none;
}

#leftbar span.toggle_hide_gui {
  display: none;
}

#leftbar.gui_open span.toggle_hide_gui {
  display: inline-block;
  position: relative;
  float: right;
  left: 25px;
  top: 20px;
  border: 1px solid #bbb;
  border-left: none;
  height: 40px;
  width: 25px;
  text-align: center;
  font-size: 2.2em;
  font-family: monospace;
  border-radius: 0 3px 3px 0;
  color: #555;
  z-index: 20;
  cursor: pointer;
  background: #ddd;
  line-height: 1.3em;
  transition: left 0.2s ease-in-out;
  box-sizing: border-box;
}
#leftbar.gui_open span.toggle_hide_gui.isMinimized {
  left: -243px;
}

#leftbar.gui_open span.toggle_hide_gui .material-icons {
  font-size: 36px;
  margin-left: -5px;
  margin-top: 2px;
}

#leftbar.gui_open span.toggle_hide_gui .material-icons:before {
  content: "keyboard_arrow_left";
}

#leftbar.gui_open span.toggle_hide_gui.isMinimized .material-icons:before {
  content: "keyboard_arrow_right";
}

#leftbar .close_module_btn {
  display:none;
}

#leftbar.gui_open .close_module_btn {
  display: block;
  width: 80px;
height: 25px;
float: right;
margin-bottom: 0px;
cursor: pointer;
}

#leftbar .tool_button {
  cursor: pointer;
  width: 40px;
  height: 40px;
  /* text-align: center; */
  /* margin-left: 3px; */
  display: inline-block;
  /* line-height: 12px; */
  padding: 0;
  color: #555;
  border-top: 2px solid #ddd;
}

#leftbar.gui_open .tool_button{
  box-shadow: none;
}


#leftbar.gui_open #buttonlist span {
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  border-color: transparent;
  box-shadow: none;
}

#leftbar.gui_open #buttonlist span:first-child {
  -moz-border-radius: 0 0 3px 0;
   border-radius: 0 0 3px 0;
}

#leftbar.grey_border {
  border: 1px solid #bbb;
}

#leftbar .module_cdiv {
  position: absolute;
  /* top: 64px; */
  /* left: 0px; */
  /* border: 1px solid #999; */
  /* max-height: 100%; */
  width: 100%;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #fdfdfd;
  /* box-sizing: border-box; */
  /* padding: 3px; */
  /* float: right; */
  /* overflow-y: auto; */
  /* bottom: 20px; */
  border: 0px solid #bbb;
  padding: 15px 5px 15px 52px;
  transition: opacity 0.3s ease-in-out, width 0.8s ease-in-out;
  opacity: 1;
  box-sizing: border-box;
  line-height: 1.5em;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100%;
  pointer-events: all;
}


#leftbar.module_minimized .module_cdiv {
pointer-events: none !important;
opacity: 0;
}

#leftbar.module_minimized .module_cdiv * {
    pointer-events: none !important;
}

#leftbar.module_minimized #buttonlist {

  border: 1px solid #bbb;
  left: 0px;
  top: 0px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: white;
  box-shadow: 0px 0px 13px 0px rgba(153,153,153,0.65);
}

#leftbar.module_minimized #buttonlist span:first-child {
  margin-top: 0;
  -moz-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}

#leftbar.module_minimized #buttonlist span:last-child {
  -moz-border-radius: 0 0 3px 3px;
   border-radius: 0 0 3px 3px;
}


#leftbar h2.module_title {
  font-size: 1.1em;
  margin-top: 0.5em;
  margin-bottom: 0.8em;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: #333;
}

#leftbar p {
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
}

#leftbar .module_cdiv input, #leftbar .module_cdiv button  {
 margin:  5px 5px 5px 0;
}

.hidden_module {

  opacity: 0 !important;
  pointer-events: none !important;

}
.hidden_module * {
  pointer-events: none !important;
}

#leftbar .print_settings_container {
  width: 100%
}
