/*
*Transform Input File v1.0.0
*autor: Thiago Teles Pereira - Web Designer / Front-end Engineer
*contato: thiago.teles@portalimap.org.br
*empresa: IMAP - Instituto Municipal de Administração Pública
*criado em: 15/10/2013
*/

label+br+.updateFile, label+.updateFile{
    margin-top: 4px;
}
.updateFile{
    position:relative;
    display:block;
    cursor: pointer;
}
.updateFile *{
    cursor: pointer;
}
.updateFile > input[type=file]{
    position:absolute;
    top:0;
    left:0;
    margin: 0 !important;
    opacity:0;
    filter:alpha(opacity=0);
    cursor: pointer;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display:block;
    opacity: 0;
    filter: alpha(opacity = 0);
    z-index: 999;
}
.button_file{
    position:absolute;
    right:0;
    top:0;
    width:36px;
    height:33px;
    margin: 0 !important;
    border:1px solid #B0B0B0;
    border-left:none;
    text-indent:-10000em;
    text-shadow:1px 1px 0px rgba(255,255,255,1);
    line-height:31px;
    background:#F6F6F6 url('img/icon_file.png') no-repeat center center;
    overflow:hidden;
    display:block;
}
.attached{
    background-image: url('img/icon_file_attached.png');
}
.unattached{
    background: transparent url('img/icon_file_unattached.png') no-repeat 0 0;
    z-index: 9999;
}
.button_file.only_icon{
    border:1px solid #B0B0B0;
}
.button_clear{
    position: absolute;
    left: auto;
    right: -2px;
    top: 25%;
    width: 21px;
    height: 20px;
    padding: 0;
    text-indent: -10000em !important;
    overflow: hidden;
}
