.fw_avatar_container {
  padding: 15px;
  overflow: hidden;
  zoom: 1;
}

.fw_avatar_container .fw_crop_widget {
  display: none;
  text-align: center;
}

.fw_avatar_container .fw_crop_widget_wrapper {
  background: url(assets/images/environment/default/layout/bits/indicator-loading-normal.gif) no-repeat center center;
  min-height: 80px;
  margin: 0px auto;
/*  position: relative; */
}

.fw_avatar_container .fw_crop_widget_wrapper .original_image {
  max-width: 100%;
  max-height: 100%;
  display: none;
  position: relative;
  z-index: 1;
}

.fw_avatar_container .fw_crop_widget_wrapper .crop_controls {
  position: absolute;
  left: 0px;
  top: 0px;
  border: 1px solid red;
  z-index:2;
  cursor: move;
}

.fw_avatar_container .fw_current_avatar_image {
  width: 50%;
  vertical-align: middle;
  text-align: right;
  padding-right: 20px;
}

.fw_avatar_container .fw_avatar_actions {
  padding-left: 20px;
  width: 50%;
  vertical-align: middle;  
}

.fw_avatar_container .fw_avatar_actions ul {
  list-style: none;
  margin: 0px 0px 0px 0px;
  padding: 0px;
}

.fw_avatar_container .fw_avatar_actions ul li {
  line-height: 24px;
  position: relative;
  display: block;
  height: 24px;
}

.fw_avatar_container .fw_avatar_actions ul li a {
  background-repeat: no-repeat;
  background-position: left 1px;
  padding: 2px 0px 2px 22px;
  position: relative;
  z-index: 2;
  text-decoration: underline;
}

.fw_avatar_container .hidden_upload_form {
  position: absolute;
  left: 0px;
  top: 0px;
  opacity: 0;
  z-index: 1;
  height: 24px;
  overflow: hidden;
}

.fw_avatar_container .hidden_upload_form,
.fw_avatar_container .hidden_upload_form * {
  cursor: pointer !important;
}

.fw_avatar_container .fw_avatar_actions .fw_avatar_action_crop_picture {
  background-image: url(assets/images/avatar/default/icons/16x16/crop-picture.png);
}

.fw_avatar_container .fw_avatar_actions .fw_avatar_action_upload_new_picture {
  background-image: url(assets/images/avatar/default/icons/16x16/upload-new-picture.png);
}

.fw_avatar_container .fw_avatar_actions .fw_avatar_action_reset_to_default_picture {
  background-image: url(assets/images/avatar/default/icons/16x16/reset-to-default-picture.png);
}

/* IE 8 */
@media \0screen {
  .fw_avatar_container .hidden_upload_form {
    opacity: 1;
  }
  
  .fw_avatar_container .fw_avatar_action_upload_new_picture {
    opacity: 0;
    display: none;
  }
}

:root .fw_avatar_container .hidden_upload_form { opacity : 1 \0/IE9; }
:root .fw_avatar_container .fw_avatar_action_upload_new_picture { opacity : 0 \0/IE9; } 