/**
 * Copy Right HOUZHI.NET.CN
 *    __  __     ______     __  __     _____     __  __     __
 *   /\ \_\ \   /\  __ \   /\ \/\ \   /\__  \   /\ \_\ \   /\ \
 *   \ \  __ \  \ \ \_\ \  \ \ \_\ \  \/_/  /_  \ \  __ \  \ \ \
 *    \ \_\/\_\  \ \_____\  \ \_____\   /\____\  \ \_\/\_\  \ \_\
 *     \/_/\/_/   \/_____/   \/_____/   \/____/   \/_/\/_/   \/_/ .net.cn
 *
 * Build  2019-05-04 18:42:25
 * Each engineer has a duty to keep the code elegant.
 * @author qiaofu<www@houzhi.net.cn>.
 */
.cropper-box{
	display: inline-block;
	width: 512px;
    height: 0 !important;
	padding-bottom: 50%;
    overflow: hidden;
}
@media (max-width: 768px)
{
	.cropper-box{
		width: 100%;
		/*height: 500px;*/
	}
}
.cropper-box img{
	max-width: 100%;
}
.docs-preview {
  margin-right: -1rem;
}

.img-preview {
  float: left;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
  overflow: hidden;
}

.img-preview > img {
  max-width: 100%;
}

.preview-lg {
  height: 9rem;
  width: 16rem;
}

.preview-md {
  height: 4.5rem;
  width: 8rem;
}

.preview-sm {
  height: 2.25rem;
  width: 4rem;
}

.preview-xs {
  height: 1.125rem;
  margin-right: 0;
  width: 2rem;
}
.clearfix{
	clear: both;
}

.cropper-selector{
    position: relative;
}
.cropper-selector input,.cropper-selector button,.cropper-selector div,.cropper-selector a,.cropper-selector span,.cropper-selector .btn{
    width: 100%;
    height: 100%;
}
.cropper-selector input{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}