
/**
 * Nestable
 */

.dd { position: relative; display: block; margin: 0; padding: 0; /* max-width: 600px; */ list-style: none; font-size: 13px; line-height: 20px; }

.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-list .dd-list { padding-left: 30px; }
.dd-collapsed .dd-list { display: none; }

.dd-item,
.dd-empty,
.dd-placeholder { 
	display: block; 
	position: relative; 
	margin: 0; 
	padding: 0; 
	min-height: 20px; 
	font-size: 13px; 
	line-height: 20px; 
	/* width:260px; */
}
#btncrear-grupo-admondatos,
#btncrear-grupo{
	background-color: rgba(0, 116, 197, 0.56) !important;
}
#btngrupo-crearcapas,
#btncrear-dato-admondatos{
	background-color: rgba(0, 97, 0, 0.50) !important;
}

.dd-handle { 
	display: block; 
	margin: 5px 0; 
	padding: 5px 10px; 
	color: #ffffff; 
	text-decoration: none; 
	/* font-weight: bold;  */
	background-color: rgba(0, 116, 197, 0.56);
}
#capas .dd-handle{
	background-color: rgba(0, 97, 0, 0.50);
}
.capa .dd-handle { 
	background-color: rgba(0, 97, 0, 0.50)!important;
}

.dd-nonest .dd-handle {
	background-color:  rgba(0, 116, 197, 0.56);
}

.dd-handle:hover { 
	color: #333;
	background-color:  rgba(0, 116, 197, 0.58);
	cursor:move; 
}

.dd-nonest .dd-handle:hover {
	background-color:  rgba(0, 116, 197, 0.58);
}

#resultado .capa > .dd-handle{
	background-color: rgba(0, 97, 0, 0.50);
}
#resultado .capa > .dd-handle:hover{
	background-color: rgba(0, 97, 0, 0.56);
}

.dd-item > button { 
	display:block;
	position: relative; 
	cursor: pointer; 
	float: left; 
	/*width: 25px; */
	/*height: 20px; */
	margin: 5px 0; 
	padding: 0 3px; 
	white-space: nowrap; 
	overflow: hidden; 
	border: 0; 
	background: transparent; 
	/* font-size: 1.5em;  */
	line-height: 1; 
	text-align: center; 
	font-weight: normal; 
	
}
.dd-item > button.pull-right { float:right; }



.dd-placeholder,
.dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                      -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                         -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                              linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
            box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

/**
 * Nestable Extras
 */

.nestable-lists { 
	display: block; 
	clear: both; 
	padding: 30px 0; 
	width: 100%; 
	border: 0; 
	border-top: 2px solid #ddd; 
	border-bottom: 2px solid #ddd; 
	overflow: hidden;
}

#nestable-menu { padding: 0; margin: 5px 20px; }

#resultado-output, #grupos-output, #capas-output  { width: 100%; height: 7em; font-size: 1em; line-height: 1.333333em; font-family: Consolas, monospace; padding: 5px; box-sizing: border-box; -moz-box-sizing: border-box; }

#capas button[data-action="remove"] { display: none;  }
#grupos button[data-action="remove"] { display: none;  }
#resultado button[data-action="remove"] { color:#666666;display: block;  }
#resultado button[data-action="remove"]:hover { color:#EEE;display: block;  }

.dropdown-layers-box {
	cursor: move;
}
.accordion-heading:hover {
	background:transparent;
}

.dd-handle:hover .layers-title-group{
	color: #333;
	cursor:move; 
}



.dropdown-layers-box {
  cursor: move;
  display: inline-block;
  height: 40px;
  width: 240px;
}

.pull-left-layers {
  float: left !important;
  padding: 5px 5px 5px 10px;
  width: 45px;
}

.layers-title-group {
  color: white;
  display: block;
  /* float: right !important; */
  font-size:1.1em;
  line-height: 1.2;
  padding-right: 11px;
  padding-top: 2px;
  text-align: right;
  /* width: 170px; */
}
.size-icons-layers {
    height: 25px;
    width: 25px;
}

.fa .fa-plus-square-o, .fa .fa-minus-square-o, .dd-action .fa-plus-square-o,.dd-action .fa-minus-square-o{
	font: normal normal normal 14px/1 FontAwesome;
}


	#listadoCapas .row{
		width:400px;
	}

@media (max-width: 415px){
	.editargrupo, .editarcapa, .editarcapagrupo{
		margin-left:5px !important;
	}
	.dropdown-layers-box{
		width:150px !important;
	}
		
	.dd-handle{
		width:170px !important;
	}
}
@media (min-width: 416px) and (max-width:767px){
	.editargrupo, .editarcapa, .editarcapagrupo{
		margin-left:10px !important;
	}
	.dd-handle{
		width:200px !important;
	}
	.dropdown-layers-box{
		width:180px !important;
	}
}


@media (max-width: 767px){
	.nestable-lists{
		padding-left:5px !important;
		padding-right:5px !important;
	}
	#nestable-menu{
		margin-left:5px !important;
		margin-right:5px !important;
	}
	#listadoCapas .row{
		margin-left:5px !important;
		margin-right:5px !important;
		width:97% !important;
	}
	
	.dd-handle{
		/*width:200px !important;*/
		padding:3px !important;
	}
	.row2{
		padding-left:5px !important;
		padding-right:5px !important;
	}
	.pull-left-layers{
		padding-left:3px !important;
	}
	.editargrupo, .editarcapa, .editarcapagrupo{
		margin-right:0px !important;
	}
	.layers-title-group {
		font-size: .9em !important;
	}	
	.row3{
		padding-left: 15px !important;
	}
	.dd-list .dd-list {
    padding-left: 15px;
	}
}