.mk-upload-group input[type="text"]{
	height: 28px;
}

.mk-upload-width {
	margin-left: 22px;	
}

.mk-upload-field {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.mk-upload-field .mk-element-input.mk-element-has-icon {
	-webkit-box-flex: 1;
	    -ms-flex: 1 auto;
	        flex: 1 auto;
	margin-left: 0;
}

.mk-upload-field .mk-element-input.mk-element-has-icon .mk-input-group-icon {
	top: 4px;
    right: 7px;
    left: auto;
    padding: 4px;
    cursor: pointer;
}

.mk-upload-field .mk-element-input.mk-element-has-icon .mk-input-group-icon:hover {
	opacity: 0.6;
}

.mk-upload-field .mk-element-input input {
	height: 28px;
	padding-right: 38px;
	padding-left: 8px;
}

.mk-upload-field .mk-element-button {
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 auto;
	        flex: 0 0 auto;
	margin: 0 0 0 10px;
}

.mk-upload-field .mk-button {
	min-width: 50px;
	margin-bottom: 0;
}

.mk-upload-field-empty .mk-element-input.mk-element-has-icon .mk-input-group-icon {
	display: none;
}

.mk-upload-field-input {
	flex: 1 auto;
	position: relative;
}

.mk-upload-preview {
	position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    display: none;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 150px;
    min-width: 40px;
    height: 40px;
    margin: 2px 0 13px;
    background: url(pattern-preview.png) repeat top left;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}

.mk-upload-preview img {
	display: block;
	max-width: 100%;
	width: auto;
	max-height: 100%;
	height: auto;
}

.mk-upload-preview-open {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.mk-upload-spinner {
	display: none;
	-webkit-animation: mk-upload-spinner-rotator 1.4s linear infinite;
	        animation: mk-upload-spinner-rotator 1.4s linear infinite;
}

.mk-upload-preview-loading {
	width: 150px;
	background: #757575;
}

.mk-upload-preview-loading .mk-upload-spinner {
	display: block;
}

.mk-upload-spinner-path {
	stroke-dasharray: 187px;
	stroke-dashoffset: 0px;
	-webkit-transform-origin: center;
	        transform-origin: center;
	-webkit-animation: mk-upload-spinner-path-dash 1.4s ease-in-out infinite;
	        animation: mk-upload-spinner-path-dash 1.4s ease-in-out infinite;
	stroke: #b3b3b3;
}

@-webkit-keyframes mk-upload-spinner-rotator {
	0% { 
		-webkit-transform: rotate(0deg); 
		        transform: rotate(0deg); 
	}
	100% { 
		-webkit-transform: rotate(270deg); 
		        transform: rotate(270deg); 
	}
}

@keyframes mk-upload-spinner-rotator {
	0% { 
		-webkit-transform: rotate(0deg); 
		        transform: rotate(0deg); 
	}
	100% { 
		-webkit-transform: rotate(270deg); 
		        transform: rotate(270deg); 
	}
}

@-webkit-keyframes mk-upload-spinner-path-dash {
	0% { 
		stroke-dashoffset: 187px;
	}
	50% {
		stroke-dashoffset: 46.75px;
		-webkit-transform: rotate(135deg);
		        transform: rotate(135deg);
	}
	100% {
		stroke-dashoffset: 187px;
		-webkit-transform: rotate(450deg);
		        transform: rotate(450deg);
	}
}

@keyframes mk-upload-spinner-path-dash {
	0% { 
		stroke-dashoffset: 187px;
	}
	50% {
		stroke-dashoffset: 46.75px;
		-webkit-transform: rotate(135deg);
		        transform: rotate(135deg);
	}
	100% {
		stroke-dashoffset: 187px;
		-webkit-transform: rotate(450deg);
		        transform: rotate(450deg);
	}
}
