@charset "utf-8";

html, body						{ font-family: arial; }

.dropzone						{ background-color: #eeeeee; text-align: center; position: relative; border: 1px solid #bbbbbb; display: inline-block;  }

.dropzone:after					{ content: 'PREVIEW ONLY: Drop your image here or click to pick one.'; font-size: 17px; font-style:italic; color: #ffffff; position: absolute; margin-top: 55%; bottom: 45%; left: 0; width: 100%; text-align: center; z-index:0; text-shadow: 1px 1px 1px #60F; 0 -1px 2px white; inset 0 -2px 2px rgba(0,0,0,0.8); inset 0 1px 1px rgba(255,255,255,0.8)}

.dropzone:before				{ content: ''; font-family:"Glyphicons Halflings"; font-size: 60px; color: #dbdbdb; position: absolute; top: 40%; left: 0; width: 100%; text-align: center; z-index:0;}

.dropzone.loading:after			{ content: 'Please wait...'; }
.dropzone.loading:before		{ content: ''; }

.dropzone.done:after			{ content: '';}
.dropzone.done:before			{ content: '';}

/* not an image */
.dropzone.notAnImage			{ background-color: #f2dede; border-color: #ebccd1; }
.dropzone.notAnImage:after		{ content: 'The selected file is not a jpg/gif/png/tif image, please try again.'; color: #FB0000; }
.dropzone.notAnImage:before		{ content: ''; color: #ebccd1; }

.dropzone.alert-danger			{ background-color: #f2dede; }
.dropzone.alert-danger:after	{ content: ''; }

.dropzone.smalltext:after		{ font-size: 17px; }

.dropzone > span				{ font-size: 30px; color: #bbbbbb; position: absolute; top: 35%; left: 0; width: 100%; text-align: center; z-index:0;}
.dropzone > span.loader			{ display: none; }
.dropzone > input[type=file]	{ position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; opacity: 0; cursor: pointer; z-index:2; height: 100% /* IE HACK*/ }
.dropzone > input[type=text]	{ display: none; }

.dropzone .progress				{ bottom: 10px; left: 10px; right: 10px; display: none;  }

.dropzone .cropWrapper			{ overflow: hidden; position: absolute; top:0; bottom: 0; left: 0; right: 0; z-index: 10; background-color: #eeeeee; text-align: left;}
.dropzone canvas.final			{ background-color: #eeeeee;}

.dropzone img					{ z-index: 5; position: relative; }
.dropzone img.ghost				{ opacity: .18; z-index: auto; float:left /* HACK for not scrolling*/; }
.dropzone img.main				{ cursor: move; }
.dropzone .final img.main 		{ cursor: auto; }
.dropzone img.preview			{ width: 100%; }

.dropzone .tools				{ position: absolute; top: 10px; right: 10px; z-index: 999; display: inline-block; }
.dropzone .tools > *			{ margin: 0 0 0 5px; }

.dropzone.smalltools .tools .btn	{ padding: 1px 4px; font-size: 12px; }


.html5imageupload						{ background-color: #eeeeee; text-align: center; position: relative; border: 1px solid #dddddd; display: inline-block;  }

.html5imageupload:after					{ content: 'PREVIEW ONLY: Drop your image here or click to pick one.'; font-size: 17px; color: #ffffff; position: absolute; margin-top: 30%; bottom: 50%; left: 0; width: 100%; text-align: center; z-index:0;}

.html5imageupload:before				
	{ content: ''; font-family:"Glyphicons Halflings"; font-size: 60px; color: #dbdbdb; position: absolute; top: 40%; left: 0; width: 100%; text-align: center; z-index:0;}

.html5imageupload.loading:after			{ content: 'Please wait...'; }
.html5imageupload.loading:before		{ content: ''; }

.html5imageupload.done:after			{ content: '';}
.html5imageupload.done:before			{ content: '';}

/* not an image */
.html5imageupload.notAnImage			{ background-color: #f2dede; border-color: #ebccd1; }
.html5imageupload.notAnImage:after		{ content: 'The selected file is not a jpg/gif/png/tif image, please try again.'; color: #a94442; }
.html5imageupload.notAnImage:before		{ content: ''; color: #ebccd1; }

.html5imageupload.alert-danger			{ background-color: #f2dede; }
.html5imageupload.alert-danger:after	{ content: ''; }

.html5imageupload.smalltext:after		{ font-size: 17px; }

.html5imageupload > span				{ font-size: 30px; color: #bbbbbb; position: absolute; top: 35%; left: 0; width: 100%; text-align: center; z-index:0;}
.html5imageupload > span.loader			{ display: none; }
.html5imageupload > input[type=file]	{ position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; opacity: 0; cursor: pointer; z-index:2; height: 100% /* IE HACK*/ }
.html5imageupload > input[type=text]	{ display: none; }

.html5imageupload .progress				{ bottom: 10px; left: 10px; right: 10px; display: none;  }

.html5imageupload .cropWrapper			{ overflow: hidden; position: absolute; top:0; bottom: 0; left: 0; right: 0; z-index: 10; background-color: #eeeeee}
.html5imageupload canvas.final			{ background-color: #eeeeee;}

.html5imageupload img					{ z-index: 20; position: relative; }
.html5imageupload img.ghost				{ opacity: .2; z-index: auto; float:left /* HACK for not scrolling*/; }
.html5imageupload img.main				{ cursor: move; }
.html5imageupload .final img.main 		{ cursor: auto; }
.html5imageupload img.preview			{ width: 100%; }

.html5imageupload .tools				{ position: absolute; top: 10px; right: 10px; z-index: 999; display: inline-block; }
.html5imageupload .tools > *			{ margin: 0 0 0 5px; }

.html5imageupload.smalltools .tools .btn	{ padding: 1px 4px; font-size: 12px; }