/*-----------------------------------------------------
*
*	Author: Amit Goyal | amit@rirev.com
*
-------------------------------------------------------*/
/* =Tag
----------------------------------------------------------------------*/

/* ----------------------------------------------------------------------
Tag */
input.file {
	background: #aaaaaa bottom repeat-x;
	padding: .4em 1.2em;
	border: 1px solid #aaaaaa;
	color: #222222;
	font-size: 1.2em;
	font-weight: bold;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	margin:0;
}

input.file:hover {
	color: #000;
}

.customfile {
	background: #111;
	border: 1px solid #222;
	border-radius: 2px;
	cursor: pointer;
	overflow: hidden;
	padding: 5px;
	position: relative;
	width: 99%;
}

.customfile-button {
	background: #C1181E;
	border: none;
	border-radius: 2px;
	color: #fff;
	float: right;
	font-size: 1.2em;
	padding: 0.42em 0.6em;
	text-align: center;
	text-decoration: none;
	width: 50px;
}

.customfile-disabled {
	opacity: .5;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	cursor: default;
}

/*file type icons*/
.customfile-ext-jpg, .customfile-ext-gif, .customfile-ext-png, .customfile-ext-jpeg, .customfile-ext-bmp {
	background: url(../images/icon-image.gif);
}

.customfile-ext-mp3, .customfile-ext-mp4, .customfile-ext-mov, .customfile-ext-swf, .customfile-ext-wav, .customfile-ext-m4v {
	background: url(../images/icon-media.gif);
}

.customfile-ext-zip, .customfile-ext-tar, .customfile-ext-sit {
	background: url(../images/icon-zip.gif);
}

.customfile-feedback {
	display: block;
	margin: 1px 1px 1px 5px;
	font-size: 1.2em;
	color: #ccc;
	padding: .3em 0px;
}

.customfile-feedback-populated {
	color: #ffffff;
	font-style: normal;
	padding-left: 20px;
	background: url(../images/icon-generic.gif) left 2.5px no-repeat;
}

.customfile-focus .customfile-button {
	outline: 1px dotted #cccccc;
}

.customfile-hover .customfile-button, .customfile-focus .customfile-button {
	color: #000;
}

/*custom upload elements*/
.customfile-input {
	position: absolute;
	height: 100px;
	cursor: pointer;
	background: transparent;
	border: 0;
	opacity: 0;
	-moz-opacity: 0;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	z-index: 999;
}