/* !FOCUSED IMAGES */
/*-----------------------------------------*/
.focuspoint {
  position: relative; /*Any position but static should work*/
  overflow: hidden;
}
.focuspoint img {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  display: block;
  /* fill and maintain aspect ratio */
  width: auto; height: auto;
  min-width: 100%; min-height: 100%;
  max-height: none; max-width: none;
}

/* transfered from rex_focuspoint */
.helper-tool, .helper-tool * {
    box-sizing:border-box;
}
.helper-tool {
    padding:12px;
    border:1px solid #fcfcfc;
}
.helper-tool input {
    position:relative;
    width:100%;
}

/* !HELPER TOOL TARGETING SYSTEM */
.focuspoint img {
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
}

/* !HELPER TOOL TARGETING SYSTEM */
.helper-tool-target {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom:1em;
}
/* das eigentliche bild, sichtbar, unterhalb von reticle und overlay */
.helper-tool-target img {
    position: relative;
    display: block;
    max-width: 100%;
    height:auto;
}
/* kopie des bildes zum klicken, oberhalb von reticle und eigentlichem bild */
.helper-tool-target img.target-overlay {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0.0;
}
/* fadenkreuz zwischen sichtbarem bild und klicklayer*/
.helper-tool-target img.reticle {
    width: 102px;
    height: 102px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
}
.focuspoint-reset {
    cursor: pointer;
    display: inline-block;
}
#focuspoint-preview {
    padding: 20px 0;
}
#preview-container {
    display: inline-block;
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
}
#preview-container img {
    max-width: 100%;
    visibility: hidden;
}
