/*http://scottcheng.github.io/cropit/*/

.xcrop {margin:0 40px;text-align:center;}

.cropit-preview {box-sizing: border-box;background-color: #F9F9F9;background-size: cover;border-radius: 3px;margin:30px auto;cursor: move;}
.cropit-preview-background {opacity: .2;cursor: auto;}
.image-size-label {margin-top: 10px;}

input {
/* Use relative position to prevent from being covered by image background */
position: relative;
z-index: 10;
}
.cropit-preview {position:relative;}

.rotation-btns, .slider-wrapper {display:inline-block;}
.slider-wrapper {width:200px;transition: opacity 0.25s;padding:2px;text-align: center;}

.rotation-btns > span {
	display:inline-block;
	margin-right:20px;
    transition: color 0.25s;
    cursor: pointer;
}

.rotation-btns > span:hover {color: #888;}

.icon-rotate-left:before {content: "";background:url('/s/i/svg/cropit/turn-left.svg') no-repeat center center;display:inline-block;opacity:0.7;width:16px;height:16px;vertical-align:text-bottom;background-size:16px;}
.icon-rotate-right:before {content: "";background:url('/s/i/svg/cropit/turn-right.svg') no-repeat center center;display:inline-block;opacity:0.7;width:16px;height:16px;vertical-align:text-bottom;background-size:16px;}

.cropit-image-zoom-input {outline:none;line-height:normal;vertical-align:middle;margin:0 10px;position:relative;}
.cropit-image-zoom-input[disabled] {opacity: .2;}

.small-image {background:url('/s/i/svg/cropit/image.svg') no-repeat center center;padding:0 9px;opacity:0.7;background-size:17px;}
.large-image {background:url('/s/i/svg/cropit/image.svg') no-repeat center center;padding:4px 12px;opacity:0.6;background-size: 24px;}

/*Сообщения об ошибке*/
.error-msg:empty {opacity:0;}
.cropit-preview .error-msg {
    position: absolute;
	z-index:1;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    background: rgba(210,65,72,0.8);
    line-height: 1.5;
    filter: alpha(opacity=0);
    transition: opacity 0.25s;
}
.info-green {background:rgba(65, 210, 116, 0.8) !important;} /*Показывыем зеленый фон при успешной загрузке фото*/

/*Спиннер*/
.cropit-image-loading .spinner-cropit {opacity: 1;}

.spinner-cropit {
    opacity: 0;
    filter: alpha(opacity=0);
    transition: opacity 1s;
}
.spinner-cropit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.spinner-cropit > .spinner-dot{width:15px;height:15px;background:rgba(85,85,85,0.5);border-radius:50%;display:inline-block;margin:0 5px;animation:bounce 1.4s infinite ease-in-out;animation-fill-mode:both;}
.spinner-cropit > .spinner-dot:nth-child(1){animation-delay:-.32s}
.spinner-cropit > .spinner-dot:nth-child(2){animation-delay:-.16s}

@keyframes bounce{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}

/* Смартфоны ПОРТРЕТНЫЕ */
@media only screen and (max-width:500px) and (max-aspect-ratio: 13/9)  {
	.xcrop {margin:0;}
}