.erase {
    position: relative;
    /* margin-top: 50px; */
    width: 150px;
    height: 200px;
    overflow: hidden;
  }

  .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #FFF;
    background: rgba(0, 0, 0, 0);
    transition: background 0.5s ease;
  }

  .erase:hover .img-overlay {
    display: block;
    background: rgba(0, 0, 0, .3);
  }

  .erase img {
    position: absolute;
    max-width: auto;
    min-height: 100%;
    left: 0;
  }

  .erase .title {
    position: absolute;
    width: 500px;
    left: 0;
    top: 120px;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
    color: orange;
    z-index: 1;
    transition: top .5s ease;
  }

  .erase:hover .title {
    top: 90px;
  }

  .erase .img-button {
    position: absolute;
    width: 70px;
    left: 35px;
    top: 90px;
    text-align: center;
    opacity: 0;
    color: #FF820E;
    transition: opacity .35s ease;
  }

  .erase .img-button a {
    width: 70px;
    /* padding: 10px 30px; */
    text-align: center;
    color: white;
    border: solid 1px #ED5565;
    border-radius: 5px;
    background-color: #ED5565;
    z-index: 1;
    padding: auto;
  }

  .erase:hover .img-button {
    opacity: 1;
  }
  .img-mr{
    padding-left:15%;
  }
  .img-responsive{
    display: block;
    max-width: 100%;
    height: auto;
  }
  .btn-default.btn-on.active{
    background-color: #5bb75b;
    color: #fff;
  }
  .btn-group, .btn-group-vertical{
    position: relative;
    /* display: inline-block; */
    vertical-align: middle;
  }

  .btn-default.btn-off.active{
    background-color: #da4f49;
    color: #fff;
  }
  .btn-group-sm>.btn, .btn-sm{
    padding: 5px 10px;
    /* font-size: 12px; */
    line-height: 1.5;
    border-radius: 5px;
  }
  .image-thumb-backend {
    width: 100%;
    max-height: 160px;
    overflow: hidden;
    padding: 0;
    margin-bottom: 1em;
  }

  .image-thumb-backend img {
    min-height: 160px;
    width: auto;
  }

  .modal-body {
    height: 50vh;
    overflow-y: scroll;
  }

  .modal-body input[type="checkbox"][id^="imageCheckBox"] {
    display: none;
  }

  .modal-body label {
    /*border: 1px solid #fff;*/
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
  }

  .modal-body label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid #18A689;
    position: absolute;
    top: 0px;
    left: 1px;
    width: 25px;
    height: 25px;
    text-align: center;
    z-index: 1;
    line-height: 24px;
    transition-duration: 0.4s;
    transform: scale(0);
  }

  .modal-body label img {
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
  }

  .modal-body input[type="radio"][id^="imageRadio"] {
    display: none;
  }

/*.modal-body input[type="radio"]:checked + label {
  border-color: #ddd;
  }*/

  .modal-body input[type="radio"]:checked + label:before {
    content: "✓";
    background-color: #18A689;
    transform: scale(1);
  }

  .modal-body input[type="radio"]:checked + label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
  }

  .modal-body input[type="checkbox"]:checked + label:before {
    content: "✓";
    background-color: #18A689;
    transform: scale(1);
  }

  .modal-body input[type="checkbox"]:checked + label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
  }

 /* Nestable list */
.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    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;
  }
  .dd-handle {
    display: block;
    height:40px;
    margin: 5px 0;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e7eaec;
    background: #f5f5f5;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-weight: 700;
    font-size: 14px;
    /* width:86%; */
  }
  .dd-handle span {
    font-weight: bold;
  }
  .dd-handle:hover {
    background: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
  }
  .dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
  }
  .dd-item > button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
  }
  .dd-item > button[data-action="collapse"]:before {
    content: '-';
  }
  #nestable2 .dd-item > button {
    font-family: FontAwesome;
    height: 34px;
    width: 33px;
    color: #c1c1c1;
  }
  #nestable2 .dd-item > button:before {
    content: "\f067";
  }
  #nestable2 .dd-item > button[data-action="collapse"]:before {
    content: "\f068";
  }
  .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;
    z-index: 9999;
    pointer-events: none;
  }
  .dd-dragel > .dd-item .dd-handle {
    margin-top: 0;
  }
  .dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
  }
  .dd{
    width: 80%;
  }
  /**
  * 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;
  }
  #nestable-menu {
    padding: 0;
    margin: 10px 0 20px 0;
  }
  #nestable-output,
  #nestable2-output {
    width: 100%;
    font-size: 0.75em;
    line-height: 1.333333em;
    font-family: open sans, lucida grande, lucida sans unicode, helvetica, arial, sans-serif;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
  #nestable2 .dd-handle {
    color: inherit;
    border: 1px dashed #e7eaec;
    background: #f3f3f4;
    padding: 10px;
  }
  #nestable2 .dd-handle:hover {
    /*background: #bbb;*/
  }
  #nestable2 span.label {
    margin-right: 10px;
  }
  #nestable-output,
  #nestable2-output {
    font-size: 12px;
    padding: 25px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }

  .button-delete {
    position: absolute;
    top: 6px;
    right: -55px;
}
.button-edit {
    position: absolute;
    top: 6px;
    right: -29px;
}
.button-status {
    position: absolute;
    top: 5px;
    right: -80px;
}



