div.kd_image_control {
   display: block;
   margin-top: .5em;
   margin-bottom: .5em;
   width: auto;
}
div.kd_image_control div.kd_imagetitle{
    background-color: #f0f0f0;
    border-radius: .5em .5em 0 0;
    margin: -.25em -.25em .25em -.25em;
    padding: .5em;
}
div.kd_image_control img.kd_image{
    max-width: 90%;
    margin: auto;
}

/* Profile Image upload */
div.profile_control {
    display: block;
}
div.profile_content {
    display: inline-block;
}
button.btn_profile_remove {
    color: #ba1d1d;
}
div.profile_message {
    color: #ba1d1d;
    border: 1px solid #ba1d1d;
    border-radius: 6px;
    padding: .5em;
}
div.profile_title {
    font-weight: bold;
}
input.profile_file {
    display: none;
}

/* Classes used to markup image uploader control */
.image-uploader {
    max-width: 480px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
    .image-uploader h5 {
      font-size: 100%;
    }
    .image-uploader .image-file {
      display: none;
    }
  
    .image-uploader .browse-link {
      color: #7056d4;
    }
    .image-uploader span.photo-icon {
      background-color: #c4c4cc;
      color: #ffffff;
      border-radius: 4px;
    }
    .image-uploader div.image-container {
      position: relative;
      border: 2px solid #ccc;
      border-radius: 20px;
    }
    .image-uploader div.image-container img {
        border-radius: 20px;
      }
    .image-uploader div.image-container span.remove-image {
      position: absolute;
      top: 10px;
      right: 10px;
      color: #000000;
      background-color: #ffffff;
      border-radius: 50%;
      box-shadow: 0px 4px 20px rgba(51, 40, 174, 0.12);
    }
    .image-uploader img.current-image {
      width: 100%;
    }
  
    .image-uploader .image-selector {
      background-color: #ffffff;
      border: 2px dashed #ccc;
      border-radius: 20px;
      margin: 0px auto;
      padding: 20px;
      text-align: center;
    }
      .image-uploader .image-selector .subtitle {
        font-size: 75%;
        margin-top: .25em;
        margin-bottom: .5em;
      }
  
    .image-uploader.highlight .image-selector,
    .image-uploader.highlight .image-container {
      border-color: purple;
    }
  