/* Shapes */
.shape-16x9 {
    display: block;
    position: relative;
}
.shape-16x9:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 56.25%;
}
.shape-16x9 > .content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Login form */
.liverycrm-login-block form#loginform {
	margin: 1.5rem 0;
	max-width: 20rem;
}
.liverycrm-login-block form#loginform > p {
	display: flex;
	flex-direction: column;
	margin: 1rem 0;
}
.liverycrm-login-block form#loginform > p.login-remember {
	font-size: 80%;
	text-align: right;
}

/* Profile image cropping */
.user-avatar {
	display: block;
	position: relative;
	overflow: hidden;
}

.user-avatar img {
    width: 100%;
    object-fit: cover;
}

.user-avatar-editor .link {
    line-height: 1.3;
}

.livery-user-profile-settings-block .user-image-edit-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
	z-index: 1055;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.livery-user-profile-settings-block .user-image-edit-popup {
    min-height: calc(100% - 3.5rem);
	margin: 1.75rem auto;
	display: flex;
	align-items: center;
	width: auto;
	max-width: 800px;
}

.livery-user-profile-settings-block .user-image-edit-popup .close {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #fff;
    opacity: 1;
    z-index: 1;
}

.livery-user-profile-settings-block .user-image-edit-popup .close:hover {
    text-decoration: none;
}

.livery-user-profile-settings-block .popup-inner {
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;
	border: 1px solid rgba(0,0,0,.2);
	width: 100%;

}

.livery-user-profile-settings-block .popup-content {
    min-height: 500px;
	margin: 5% auto;
	width: 90%;;
}

.livery-user-profile-settings-block .popup-content .file-input {
    background: #ecebeb;
    border: 2px dashed #b9b9b9;
    min-height: 500px;
    text-align: center;
}

.livery-user-profile-settings-block .popup-content .file-input.is-dragover {
    background: #fff;
}

.livery-user-profile-settings-block .popup-content .file-input.is-uploading .label {
    display: none;
}

.livery-user-profile-settings-block .popup-content .file-input.is-uploading .message-uploading {
    display: block;
}

.livery-user-profile-settings-block .popup-content .file-input.is-error .message-error {
    display: block;
}

.livery-user-profile-settings-block .popup-content .file-input label {
    margin-top: 200px;
}

.livery-user-profile-settings-block .popup-content .file-input label i {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

.livery-user-profile-settings-block .popup-content input[type=file] {
    text-indent: -2000px;
}

.livery-user-profile-settings-block .popup-content .message-error,
.livery-user-profile-settings-block .popup-content .message-uploading {
    display: none;
}

.livery-user-profile-settings-block .profile-image-actions .profile-image-crop {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 13px;
    background: #fff;
    padding: 3px 8px;
    margin-left: 10px;
}

/* Cropper styles */
.cropper-crop-box, .cropper-view-box {
    border-radius: 50%;
}

.cropper-view-box {
    box-shadow: 0 0 0 1px #39f;
    outline: 0;
}


.cropper-face {
  background-color:inherit !important;
}

.cropper-dashed, .cropper-point.point-se, .cropper-point.point-sw, .cropper-point.point-nw,   .cropper-point.point-ne, .cropper-line {
  display:none !important;
}

.cropper-view-box {
  outline:inherit !important;
}

/* Member Profile Output block */
.liverycrm-papers-block .user-avatar img {
    display: block;
    width: 100%;
    height: auto;
    margin-right: 30px;
}