/*
z-index:
========
0: the areas;
1: the upper menu;
2: the overlay;
3: the current area showed in tutorial;
4: controls;
*/


div.overlay {
	display: none;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background-color: rgba(0,0,0,0.9);
	z-index: 2;
}

#tutorial_box {
    position: fixed;
    display: none;
    z-index: 100;

    background-color: #3f75c6;
    border-radius: 4px;
    padding: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#tutorial_text {
	font-family: 'Actor';
    display: inline-block;
    min-width: 300px;
    color:white;
}

div.tutorial_arrow {
	position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
}

#tutorial_arrow_left {
	top: calc(50% - 12px);
	left: -14px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-right: 14px solid #3f75c6;
}

#tutorial_arrow_right {
	top: calc(50% - 12px);
	right: -14px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 14px solid #3f75c6;
}

#tutorial_arrow_top {
	left: calc(50% - 12px);
	top: -14px;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 14px solid #3f75c6;
}

#tutorial_arrow_bottom {
	left: calc(50% - 12px);
	bottom: -14px;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 14px solid #3f75c6;
}

/***********************************/

#tutorial_controls {
	position: absolute;
	display: none;
	z-index: 4 ;

	right: 5px;
	bottom: 2px;

	padding:6px;
	padding-top: 10px;
	padding-bottom: 9px;
	border-radius: 4px;
	background-color: rgba(0,0,0,1);

	/*no selection on doubleclick*/
	-webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -ms-user-select: none; /* IE10+ */

}

.tutorial_btn {
	display: inline-block;
	color: white;
	font-size: 16px;
	cursor: pointer;

	background-color: #555;
	padding: 4px;
	padding-left:10px;
	padding-right:10px;
	border-radius: 4px;
	margin-left: 5px;
	margin-right: 5px;
}

#tutorial_num {
	display: inline-block;
	color: white;
	font-size: 16px;
}

.tutorial_tool_icon {
  border-radius: 6px; /*200*/
  margin: 4px;
  margin-bottom: 10px;

  display: inline-block;
  background-color: rgba(0,0,0,0.2);
  border-radius: 100px;
  vertical-align:middle;
  
  filter: invert(100%);
  -webkit-filter: invert(100%);
}

.tutorial_tool_icon > img {
	width: 15px;
	padding : 8px;
}

table, th, td {
	margin: auto;
	border: 0;
  border-collapse: collapse;
  color: white;
}

.layer_cell {
  display: inline-block;
  width: 16px;
  height: 16px;
  /*background-color: #3f75c6;*/
  border: solid 2px #3f75c6;
  text-align: center;
  border-radius: 5px;
  margin-left:5px;
  margin-right:0px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  line-height: 14px;
  cursor: pointer;
  white-space: nowrap;

  vertical-align: bottom;
}
