fieldset { padding: .6em 0;border:0;border-top: 1px dotted #ddd; }
legend { font-size: 1.5em; font-weight: bold; color: #555; padding: .5em 1em .5em 0; background: #fff;  }
label { font-size: 1.4em; display: block; margin: .5em 10px .5em 0;  }
input#upload { background: #aaa url(../images/bg-btn.png) bottom repeat-x; padding: .4em 1.2em;border: 1px solid #aaa; color: #222; font-size: 1.2em; font-weight: bold; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; cursor: pointer; margin: 2em 0; }
input#upload:hover { background: #eee; color: #111; border-color:#777; }


/*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;  
}

.customfile {  
    font-size: 1em;
	padding: 0.357 0 0 0;
	color: #666;
    background: #FFFFFF;
	border: 1px solid #BBB;   
   	margin: 0px;
	overflow: hidden;
    width:22em!important;
    cursor: pointer; 
    position: relative;  
    vertical-align: middle;
    display: inline-block;  
}

.customfile-disabled { 
    opacity: .5; 
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); 
    cursor: default;  
}

.customfile-feedback { 
    display: block;
    margin: 1px 1px 1px 5px; 
    font-size: 1.2em;  
    font-style: italic; 
    padding: 2px; 
}

.customfile-feedback-populated { 
    color: #666; 
    font-style: normal; 
    padding-left: 20px; 
    background: url(../images/icon-generic.gif) left 4px no-repeat; 
}

.customfile-button { 
    background:url(../images/search24.png);  
    float: right; 
    width: 24px; 
    height: 24px;
}

/*file type icons*/
.customfile-ext-jpg, .customfile-ext-gif, .customfile-ext-png, .customfile-ext-jpeg, .customfile-ext-bmp { 
    background-image: url(../images/icon-image.gif);
}

.customfile-ext-mp3, .customfile-ext-mp4, .customfile-ext-mov, .customfile-ext-swf, .customfile-ext-wav, .customfile-ext-m4v {
    background-image: url(../images/icon-media.gif);
}

.customfile-ext-zip, .customfile-ext-tar, .customfile-ext-sit { 
    background-image: url(../images/icon-zip.gif);
}


