* {
  font-family: 'Ubuntu Mono', cursive;
}
hr {
  clear: both;
  border: none;
  margin: 0;
  padding: 0;
}
h1 *, h2 * {
  font-family: 'Lalezar', cursive;
}
h1 {
  margin: 0;
  padding: 0;
  line-height: 55px;
  height: 35px;
}
h2 {
  font-size:14px;
}
#title_area {
  margin:5px;
  max-width: 1090px;
}
#title {
  padding: 0 10px;
  border: 1px solid #AAA;
  border-radius: 15px;
  height: 80px;
  float:left;
}
#title_img {
  float: left;
  margin: 2px 5px;
}
#prov {
  line-height: 35px;
  color: #D51;
  text-align: right;
}
#prov > span {
  border:1px solid #CCC;
  padding: 2px 10px;
}
.block strong:first-child {
  display:block;
  background-color:#EEE;
  width:348px;
  padding:2px 7px;
  border:1px solid #999;
}
.step {
  margin:5px 0 13px 0;
  width:337px;
  clear:both;
  min-height: 20px;
  height: auto;
}
.step > span {
  float: left;
  height: 20px;
  background-color: #FFF5F5;
  padding: 2px 5px;
  line-height: 15px;
}
.step label {
  width: 175px;
}
.step > span.toggle_btn {
  display: block;
  width: 121px;
  text-align: right;
  background-color: #fcc;
}
.step_details{
  clear: both;
  margin-left:13px;
  width: 310px;
  height: 95px;
  border: none;
  padding-left: 8px;
}
#drawing_area_top,
#drawing_area_left,
#drawing_area_back {
  float:left;
  width:184px;
  height:184px;
}
.camera_title {
  position: absolute;
  top: 5px;
  left: 5px;
  border: 1px solid #CCC;
  background-color: #EFE;
  padding: 2px 8px;
  font-size: 10px;
}

#comment {
    position: absolute;
    bottom: 15px;
    right: 15px;
    border: 1px solid #951;
    background-color: #FFF;
    padding: 8px;
    font-size: 12px;
    border-radius: 10px;
    color: #555;
    min-width: 60px;
    word-break: break-all;
    max-width: 90%;
    max-height: 25%;
    overflow-y: scroll;
}
#current_step {
    position: absolute;
    top: 10px;
    left: 15px;
    border: 1px solid #000;
    background-color: #777;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 20px;
    color: #FFF;
    text-shadow: #000 1px 1px;
    min-width: 60px;
    height: 50px;
    line-height: 60px;
}
#current_step_value {
    font-size: 30px;
    line-height: 40px;
    margin-left: -4px;
}

#drawing_area_left + .camera_title {
  left:190px;
}
#drawing_area_back + .camera_title {
  left:375px;
}
.block {
  margin-bottom:10px;
  clear:both;
  border-left: 2px solid #999;
  position: relative;
}
.block > div {
  padding-left: 5px!important;
}
.block > div.tab {
	position: absolute;
	top: 4px;
	right: 10px;
}
.block > div.tab > span {
  background: white;
  padding: 2px 15px 4px 15px;
  border-radius: 5px 5px 0 0;
  border: 1px solid #AAA;
  border-bottom: none;
  font-size: 14px;
  font-weight: bold;
}
.block > div.tab > span.active {
	padding-bottom: 6px;
}
#lists {
  float:left;
  width:170px;
  height:auto;
  padding-left:5px;
}
#lists > strong {
  background-color: #FFC;
  display: block;
  border: 1px solid #AAA;
  padding: 0 5px;
}
.list {
  height: 360px;
  width: 165px;
  overflow: scroll;
  margin-bottom: 15px;
  border: 1px dashed #EEE;
}
.list > table {
  font-size:10px;
}
.list td {
  padding: 0 5px;
  line-height: 13px;
  height: 12px;
}
.list tr.odd {
  border-top: 1px dashed #CCC;
}
.list img {
  width: 25px;
}
#error_msg {
  display: none;
  margin: 0;
  padding: 0;
  height: 200px;
  border: 1px solid #CCC;
  background-color: #fcc;
}
#error_msg > * {
  background-color: #fcc !important;
}
#camera_ctrl_desc {
  text-align: right;
  padding: 0 10px;
  margin: 0;
  font-size: 10px;
  height: 30px;
}
#edit_area {
  width: 1080px;
  padding: 10px 5px;
  clear: both;
  height: 920px;
}
#control {
  float:left;
  width:342px;
  height:700px;
  padding-left:10px;
}
#control_mini {
  min-width: 342px;
  padding-left: 5px;
  width: auto;
  float:left;
}
#control_mini > .block {
    width: 342px;
}
.camera_ctrl {
  position: absolute;
  bottom: 10px;
  right: 11px;
}
#trihedral_figure_area > .camera_ctrl {
  font-size:10px;
}
#trihedral_figure_area > .camera_ctrl button {
  padding:2px;
  line-height: 11px;
  width: 14px;
  height: 14px;
}
#trihedral_figure_area {
  height:190px;
  position:relative;
}
#main_area > canvas,
#trihedral_figure_area > canvas {
  border:double 3px #CCC;
}
.camera_ctrl .cross {
  border: 1px solid #CCC;
  width:100px;
  text-align: center;
  line-height: 15px;
}
.camera_ctrl .zoom {
  border: 1px solid #CCC;
  width:100px;
  text-align: center;
  line-height: 15px;
}
#trihedral_figure_area .camera_ctrl .cross {
  width:52px;
}
#trihedral_figure_area .camera_ctrl .zoom {
  width:52px;
}
#drawing_area_left + .camera_title + .camera_ctrl {
  right:195px;
}
#drawing_area_top + .camera_title + .camera_ctrl {
  right:380px;
}
#steps_ctrl_view {
  height: 150px;
}
#steps_ctrl {
  height: 110px;
}
#steps_ctrl_view button {
  width: 60px;
  border-radius: 40px;
  height: 60px;
  margin: 0 8px;
  padding:0;
  text-align: center;
}
#steps_ctrl button {
  width: 110px;
  margin: 5px 0;
  padding:2px;
}

#steps_ctrl_view > div.main {
  padding: 5px 0;
}
#steps_ctrl > div.main {
  padding: 5px 0;
  float: left;
  width: 235px;
}

#steps_ctrl_view > div.sub {
  text-align: right;
  height: 40px;
  line-height: 36px;
  margin: 10px auto 0 auto;
  width: fit-content;
}
#steps_ctrl_view > div.sub > div {
  float: left;
  padding: 0 5px;
  border: 1px solid #CCC;
  border-radius: 10px;
  height: 40px;
}
#steps_ctrl_view > div.sub > div:hover {
  background-color: #EEE;
}
#toggle_comment {
  margin-left: 12px;
  width: 40px;
  text-align: center;
}
i.fas.fa-comment-slash {
    color: #F00;
    text-shadow: #CCC 1px 1px 0px;
}
i.fas.fa-comment {
  color: #777;
  text-shadow: #CCC 3px 2px 3px;
  font-size: 22px;
  line-height: 36px;
}
#steps_ctrl > div.sub {
  float: left;
  width: 90px;
  border: 1px dotted #CCC;
  padding: 6px 3px;
  margin: 5px 2px;
  border-radius: 15px;
  text-align:right;
}
#steps_ctrl_view input#st {
  width: 14px;
  height: 14px;
}
input#st {
  width:25px;
  height:25px;
}
#template {
  display: none;
}
#steps_act {
  width: 332px;
  height: 50px;
  padding: 8px;
  border-top: 1px solid #999;
  margin-top: 0;
}
#steps_act .btn-warning {
  float: right;
}
#step_container {
  overflow-y: scroll;
  height: 425px;
  background-color: #BEB;
  width: 331px;
  margin-left: 1px;
  overflow-x: hidden;
  margin-top: -20px;
  z-index:0;
}
div#data_area > strong {
  border: 1px solid #F49;
}
#data_area table tr td {
  padding: 0 5px;
  white-space: nowrap;
  line-height: 40px;
  text-align: right;
}
textarea {
  font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
  font-size:13px;
}
#footer {
  clear: both;
  text-align: left;
  font-size: 14px;
  padding: 5px 0 10px 10px;
  width: 300px;
  margin-bottom: 15px;
  background-color: #F5F5F5;
  margin-top: 15px;
}

div#container {
  max-width: 1090px;
}
div#top_menu > div {
  margin:0;
  padding:0 5px;
}
div#create,
div#search {
  float: left;
  border: 1px solid #AAF;
  border-radius: 10px;
  width:100%;
  margin-top:5px;
  line-height: 20px;
  padding:15px 10px;
  height: 70px;
}

div#create > div,
div#search > div {
    float: left;
}
div#create .icon,
div#search .icon
 {
  width:50px;
    font-size: 30px;
    padding: 5px 15px 0 5px;
    line-height: 32px;
}
div#create > div:last-child {
    text-align: center;
    float: right;
    margin-right: 10px;
    line-height: 36px;
}
div#create span.title {
  font-weight: bold;
  font-size:18px;
}
div#create span.warning {
  font-size: 12px;
  color:#F55;
}
div#search > table {
  width:100%;
}
div#search > table td:last-child {
  width: 110px;
    padding: 0 10px;
}
#create .btn, #search .btn {
    width: 90px;
}

.subheader {
    background-color: #CCC;
    color: #333;
    margin: 10px -10px 10px -10px;
    line-height: 30px;
    height: 30px;
    text-shadow: white 1px 1px;
    font-weight: bold;
}
.subheader > div:first-child {
  background-image: url("./img/bg3.png");
  background-repeat: no-repeat;
  background-position-x: right;
  background-size: auto 30px;
}
.subheader > div:last-child {
  background-color: #CCC;
}
#result {
  border: 1px solid #CCC;
    padding: 0;
    margin: -8px -10px;
    min-height: 100px;
}

@media (max-width:767px) {
  #title_img img {
    width:50px!important;
    height:50px!important;
  }
}
#title_img {
  height: 75px;
  line-height: 75px;
}
#title_img img {
  width:75px;
  height:75px;
}

#curtain {
  min-width: 1090px;
  min-height: 970px;
  width: 100%;
  height: 100%;
  z-index: 99;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(32,32,32,0.7);
  display:  none;
}
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#curtain .loader,
#curtain .label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#curtain .label {
  width: 100px;
  height: 20px;
  font-size: 16px;
  line-height: 16px;
}
#view_area {
  clear: both;
  margin-top: 10px;
  max-width: 1090px;
  width: auto;
  float: left;
}
#drawing_area {
  margin:0 5px; 
}
#share > div {
  float: right;
  width: 100px;
  padding: 0 20px;
  height: 20px;
}
#external_datas {
  display: none;
}
.using_ext_data {
  border-bottom: 1px dashed #CCC;
  margin-top: 2px;
}
.using_ext_data * {
  font-size:13px;
  line-height: 13px;
}
.using_ext_data > .title > a {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  overflow: hidden;
  width: 60%;
  padding-right: 7px;
}
.using_ext_data > .author > a {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  overflow: hidden;
  width: 30%;
}
#byStep {
	display:none;
}
span.no_blocks {
    padding: 10px;
    line-height: 50px;
    color: #AAA;
}
#rule_details > div {
    float: left;
    padding: 0 4px;
}
#drawing_spinner {
  position: absolute;
  top: 2px;
  right: -20px;
  display: none;
}
#steps_ctrl_view > .sub > div > label {
    font-size: 13px;
    font-weight: unset;
}
#item_footer > div {
  border: 1px dashed #CCC;width: auto;margin:0 10px;padding: 2px 10px;
}
.tag {
  float: left;
  width: auto;
  height: 20px;
  background-color: #FCC;
  padding: 2px 8px;
  line-height: 18px;
  border-radius: 5px;
  margin: 2px;
  color: #555;
  text-shadow: #FFF 1px 1px 1px;
}
}