div.aux-ruler{
	position: relative;	
}


div.aux-ruler img{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

div.labelforruler{
	position: absolute;
	top: -25px;
	color:#A9A9A9;
	font-size:0.85em;
	right: calc(4.5% + 50px);
}

div.aux-ruler .show-ruler{
	position: absolute;
	top: -25px;
	right: 4.5%;
	/*border: 1px solid #dddddd;
	border-radius: 5px;	
	padding: 3px 6px;
	background-color: white;
	color: black;
	box-shadow: inset 0 0px 6px rgba(0,0,0,.25);
	font-size:1em;
	font-weight:500;*/
}

div.aux-ruler .show-ruler.active{
	/*color: CornflowerBlue;	
	color:DodgerBlue;	
	border:1px solid CornflowerBlue;
	box-shadow: inset 0 0px 6px rgba(0,0,0,.25);*/
}
/*//button
div.aux-ruler .show-ruler:focus{
	outline: none;	
}*/

div.aux-ruler .line-h{
	border-top-style: solid;
	border-top-width: 2px;
	border-top-color: rgba(33,68,120,0.3);
	transform: translate3d(0,-1px,0);
	-webkit-transform: translate3d(0,-1px,0);
}

div.aux-ruler .line-v:hover{
	cursor:	col-resize;
}

div.aux-ruler .line-v{
	border-left-style: dashed;
	border-left-width: 2px;
	/*border-left-color: rgba(0,0,0,0.5);*/
	border-left-color: #5CACEE;
	transform: translate3d(-1px,0,0);
	-webkit-transform: translate3d(-1px,0,0);
}

div.aux-ruler .line{
	opacity: 0;
	transition: opacity 300ms;
	-webkit-transition: opacity 300ms;
}

div.aux-ruler .line.active{
	opacity: 1;
}

/* ============================================================
  COMMON
============================================================ */
label.show-ruler {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* ============================================================
  SWITCH 2 - ROUND FLAT
============================================================ */
label.show-ruler {
  padding: 2px;
  width: 45px;
  height: 25px;
  background-color: #dddddd;
  border-radius: 25px;
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  -o-transition: background 0.4s;
  transition: background 0.4s;
}

label.show-ruler:before, label.show-ruler:after {
  display: block;
  position: absolute;
  content: "";
}
label.show-ruler:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #fff;
  border-radius: 25px;
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  -o-transition: background 0.4s;
  transition: background 0.4s;
}
label.show-ruler:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 17px;
  background-color: #dddddd;
  border-radius: 17px;
  -webkit-transition: margin 0.4s, background 0.4s;
  -moz-transition: margin 0.4s, background 0.4s;
  -o-transition: margin 0.4s, background 0.4s;
  transition: margin 0.4s, background 0.4s;
}
label.show-ruler.active {
  /*background-color: #8ce196;*/
  background-color:LightSkyBlue;
}
label.show-ruler.active:after {
  margin-left: 20px;
  /*background-color: #8ce196;*/
  background-color:LightSkyBlue;
}