/*-------------------------
    Simple reset
--------------------------*/


*{
    margin:0;
    padding:0;
}


/*-------------------------
    General Styles
--------------------------*/


html{
    min-height:900px;
    background: #F4F4F4;
}

body{
    font:15px/1.3 Arial, sans-serif;
}

a, a:visited {
    outline:none;
    color:#389dc1;
    text-decoration: none;
}

a:hover{
    text-decoration:none;
}

section, footer, header, aside{
    display: block;
}


/*----------------------------
    The file upload form
-----------------------------*/


#upload{
    font-family:'PT Sans Narrow', sans-serif;
    width:100%;
    padding:30px;
    box-sizing: border-box;
}

#drop{
    background-color: #ECECEC;
    padding: 10px 15px;
    margin-bottom: 30px;
    border-radius: 3px;
    border: 2px dashed rgba(0, 0, 0, .1);
    text-align: center;
    text-transform: uppercase;

    font-size:16px;
    font-weight:bold;
    color:#7f858a;
}

#drop a{
    background-color:#5EA5BD;
    padding:12px 26px;
    color:#fff;
    font-size:14px;
    border-radius:2px;
    cursor:pointer;
    display:inline-block;
    line-height:1;
    margin-left: 25px;
}

#drop a:hover{
    background-color:#7FC7DF;
}

#drop input{
    display:none;
}

#upload ul{
    list-style:none;
    margin:0 -30px;
    border-top:1px solid #FFF;
    border-bottom:1px solid #EDEDED;
}

#upload ul li{

    background-color:#EEE;

    background-image:-webkit-linear-gradient(top, #EEE, #FFF);
    background-image:-moz-linear-gradient(top, #EEE, #FFF);
    background-image:linear-gradient(top, #EEE, #FFF);

    border-top:1px solid #CCC;
    border-bottom:1px solid #EEE;
    padding:15px;
    height: 52px;

    position: relative;
}

#upload ul li input{
    display: none;
}

#upload ul li p{
    width: 144px;
    overflow: hidden;
    white-space: nowrap;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    left: 100px;
}

#upload ul li i{
    font-weight: normal;
    font-style:normal;
    color:#7f7f7f;
    display:block;
}

#upload ul li canvas{
    top: 15px;
    left: 32px;
    position: absolute;
}

#upload ul li span{
    width: 15px;
    height: 12px;
    background: url('../img/icons.png') no-repeat;
    position: absolute;
    top: 34px;
    right: 33px;
    cursor:pointer;
}

#upload ul li.working span{
    height: 16px;
    background-position: 0 -12px;
}

#upload ul li.error p{
    color:red;
}

/*=================== CSS Personalizado ========================*/

h1, h2{
    color: #FFF;
    font-family:'Open Sans', sans-serif;
    background: #6F94B8;
    padding: 10px;    
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
}

h1{
   font-size: 1em; 
}

h2{
    font-size: .8em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.box-imagem{
    width: 150px;
    display: inline-block;
    text-align: center;
    margin: 10px 20px;
}

.box-imagem input[type=text]{
    width: 100%;
    padding: 3px 5px;
    color: #666;
    background: #FCFCFC;
    border: 1px solid #CCC;
    border-radius: 3px;
}

.box-imagem input[type=text]:focus{
    width: 200%;
    z-index: 9999;
    position: relative;
    padding: 5px 7px;
    margin-bottom: -4px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .2);
}

.imagem-height,
.imagem-width{
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 120px;
    height: 120px;
    background: #EFEFEF;
    border: 3px solid transparent;
    outline: 1px solid #6F94B8;
    margin: 5px;
}

.imagem-height img,
.imagem-width img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);        
}

.imagem-height img{
    max-height: 100%;
}

.imagem-width img{
    max-width: 100%;
}

/*.excluir-img{
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background: rgba(100, 100, 100, .5);
    color: rgba(255, 255, 255, .3);
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    display:none;
}

.box-imagem:hover .excluir-img{
    display: block;
}*/

.box-legenda{
    position: relative;
}

.box-legenda img{
    position: absolute;
    top: 0;
    right: -23px;
    background: #FFF;
    display: none;
}

small{
    font-size: .7em;
    color: #999;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 3px 0;
    font-style: italic;
}

.form-upload{
    width: 60%;
    margin-left: 20%;
}

.input-file{
    float: left;
    width: 70%;
    box-sizing: border-box;
    border: 1px solid #CCC;
    border-radius: 3px;
    padding: 2px;
    background: #F4F4F4;
}

.input-file input{
    display: none;
}

.input-file label{
    display: block;
    margin-bottom: 0;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
    color: #CCC;
    font-style: italic;
}

.input-file label:before{
    content: "Escolher Arquivo";
    display: inline-block;;
    background: #AAB;
    color: #FFF;
    padding:5px 10px;
    border-radius: 3px;
    margin-right: 5px;
}

.botao-upload{
    width: 20%;
    background-color: #5EA5BD;
    padding: 9px 5px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    margin-left: 25px;
    border: 0;
}

.box-upload{
    background: #E4E4E4;
    padding: 20px;
}

.aviso-upload{
    background: #404040;
    padding: 10px 20px;
}

.item-upload{
    font-size: 12px;
    background: #EFEFEF;
    border-radius: 20px;
    border: 1px solid #CCC;
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
}

.item-upload.sucesso{
    background-color: #dae0cc;
    border: 1px solid #96AE60;
}

.item-upload.erro{
    background-color: #ffb7b5;
    border: 1px solid #ff726e;
}

.item-upload.sucesso span{
    color: #96AE60;
}

.item-upload.erro span{
    color: #ff726e;
}