.galeria {
    @include span(12);
    background-color: $wild_sand;
    position: relative;
    overflow: hidden;
    border: 1px dashed $celeste;
    padding-bottom: 5px;
    padding-top: 5px;
    .cleargallery {
        &:before {
            content: "";
            display: table;
        }
        &:after {
            content: "";
            display: table;
            clear: both;
        }
        *zoom: 1;
    }
    .galeria-lista {
        margin: 0 auto;
        max-width: 92%;
    }
    &.draggable {
        .img {
            .opcoes {
                .botoes {
                    cursor: move;
                }
            }
        }
    }
    .img {
        width: 139px;
        max-width: 139px;
        height: 145px;
        position: relative;
        background-color: $white;
        float: left;
        margin: 10px 13px 10px 13px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.2);
        &:hover {
            div.opcoes {
                width: 100%;
                height: 100%;
                top: 0;
                opacity: 1;
                background-color: $white;
            }
        }
        .only-img {
            margin: 7px;
            .thumb {
                display: block;
                width: 125px;
                height: 130px;
                background-position: center;
                background-repeat: no-repeat;
                -webkit-background-size: cover;
                -moz-background-size: cover;
                background-size: cover;
            }
        }
        .opcoes {
            display: table;
            position: absolute;
            z-index: 1;
            top: 0;
            opacity: 0;
            .botoes {
                display: table-cell;
                vertical-align: middle;
                text-align: center;
            }
            a {
                display: inline-block;
                border-radius: 11px;
                background-color: $white;
                width: 22px;
                height: 22px;
                i {
                    margin-left: 5px;
                }
            }
        }
    }
}
