body {
    padding:0 !important;
    margin:0 !important;
}
textarea
{
    resize: none;
}

.dataTables_processing{
    top:66% !important;
    height: 70px !important;
}

/*-- Tabla bootstrap --*/

#div-table
{
    max-height: 480px;
    overflow-y: auto;
}

#div-table #dt-header [class*="col-"]
{
    background: #0f74a8;
}

#div-table .row
{
    text-align: center;
    border-bottom:2px inset #222;
}

#div-table .row [class*="col-"] {
    display: table-cell;
    float: none;
    background: #FFF;
    padding: 8px 0 8px 5px;
    border-right:2px inset #CCCCCC;
}
/* -- Tabla bootstrap -- */

/**---- HtmlTable ----**/
.dt-container .divtable-search {
    width: 100%;
    padding: 8px 0;
}

.dt-container .divtable-search input, .divtable-search select {
    display: inline-block;
    float: left;
    width: auto;
    margin-right: 8px;
}

.dt-container .divtable-search .divtable-rows-found {
    display: inline-block;
    padding: 8px 0;
    font-weight: 800;
}

.dt-container .dt-responsive #t-header tr th {
    padding: 6px 15px;
    border: 1px solid #CCC;
    font-weight: 800;
    background: #333333;
    color: #FFF;
}

.dt-container #divtable-wait {
    display: none;
    position: absolute;
    background: #fefefe;
    text-align: center;
    opacity: .7;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.dt-container #divtable-wait h1 {
    position: relative;
    font-size: 30px;
    color: #3F3F3F;
    top: 45%;
}

.dt-container .dt-responsive .fa {
    font-size: 18px;
}

[data-col="dt_action"], [data-col="dt_state"],.dt-responsive th#dt_state {
    text-align: center;
}

.dt-responsive [data-col="dt_action"] a {
    margin: 0 6px;
}

.dt-container .divtable-pages-container {
    width: 100%;
    padding: 10px 0;
}

.dt-container #table-rows #divtable-empty {
    width: 100%;
    font-size: 22px;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #CCC;
    border-top: 1px solid #CCC;
    color: #00a0df;
}

.dt-container #divtable-paginas td {
    padding: 6px 0;
}

#divtable-paginas a, #divtable-paginas strong {
    padding: 3px 10px;
    display: inline-block;
    border: 1px solid #CCC;
    margin-right: 2px;
}

.dt-container #divtable-paginas strong {
    background: #00a0df;
    color: #FFF;
}

.dt-container .dt-responsive {
    width: 100%;
}

.dt-container .dt-responsive tr.registro td {
    border: 1px solid #CCCCCC;
    padding: 6px;
}

.dt-responsive tr td h5 {
    display: none;
    width: 100%;
    clear: both;
    font-size: 11px;
    font-weight: 800;
    line-height: 0;
}

.dt-container .dt-responsive tr.registro:nth-child(even) {
    background: #e5e8ef;
}
.dt-container .dt-responsive tr.registro:nth-child(odd) {
    background: #fefefe;
}

/**-------------------**/
.modal-body .bootbox-body {
    padding: 10px 0 0;
}

/** Comments box **/
.aa-comments-box
{
    padding:15px 0;
    width: 100%;
    clear: both;
}

.aa-comments-box textarea
{
    height: 75px !important;
}

.aa-comments-box button
{
    padding:3px 6px;
    margin-top:3px;
}

.aa-comments-box a
{
    color: #00a0df;
}

.aa-comments-box #aa-comments span
{
    color:#0d6aad;
}

#aa-comments
{
    font-size: 15px;
    max-height: 800px;
    overflow-y: auto;
}

#aa-comments a.aa-responder
{
    color:#0000AA;
    font-style: normal;
    font-weight: bold;
    padding: 0 6px;
    border-radius: 3px;
    margin:0 5px;
    background:#e5e8ef;
}

#aa-comments .consulta
{
    color: #0d6aad;
}

#aa-comments .respuesta
{
    color: #3F3F3F;
}

.aa-destinatario
{
    padding:3px 5px;
    color:#FFF;
    background:#00a0df;
    border-radius:4px;
    font-size: 13px;
    position: absolute;
    margin: 5px;
}

.aa-destinatario a
{
    color: #fff;
}
/** ---------------- **/

@media only screen and (max-width: 760px) {
    #some-element {
        display: none;
    }

    #opcion-crop {
        /*display: none;*/
    }

    .sort {
        -moz-column-count: 1 !important;
        -webkit-column-count: 1 !important;
        column-count: 1 !important;
    }

    .modal .modal-dialog
    {
        width:100% !important;
    }

    #div-table {
        max-height: 960px !important;
    }

    #div-table .row [class*="col-"] {
        display: block;
        text-align: center;
    }

    /**---- HtmlTable ----**/
    .dt-responsive tr td, .dt-responsive tr td h5 {
        display: block;
        width: 100%;
    }
    /**-------------------**/
}

/* -- ImageBlock -- */
.crop-image img {
    margin: 0 18px !important;
    overflow: hidden;
}

#empty {
    margin: 15px 0;
    /*padding: 14px 0;
    border-radius:3px;*/
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    /*background: lightblue;*/
}

.sort .ui-selected {
    background: red;
    color: white;
    font-weight: bold;
}

/*.sort {
    width: 100%;
    padding: 0;
    margin-top: 20px;
}*/

.images-container .sort .image-item
{
    width: 100%;
    position: relative;
    display: inline-block;
    margin:15px 0 25px 0;
    /*position: relative;*/
}

.sort img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.highlight {
    background-color: lightblue;
}

.image-item .image-options {
    position: absolute;
    text-align: right;
    vertical-align: bottom;
    padding: 6px
}

.image-options a, .image-options span {
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid #333;
    background: #fcfcfc;
    display: inline-block;
    /*margin-left: 3px;*/
    margin: 0 3px;
    font-size: 15px;
    text-align: center;
}

input[type="radio"] {
    cursor: pointer;
    margin: 0;
}

.jcrop-active .jcrop-shades > div {
    background: transparent !important;
}


#buscar-online-modal #buscador-text input, #buscador-text a {
    display: inline-block;
    margin-right: 6px;
}

#opciones-carga-imagenes {
    margin-top: 4.3%;
}

#opciones-carga-imagenes div h4 {
    width: 98%;
    margin: 0 0 8px 0;
    font-size: 1.15em;
    /*line-height: 18px;*/
}

.imagen-online-item {
    margin-bottom: 5px;
    min-height: 78px;
}

.imagen-online-item img {
    cursor: pointer;
}

.imagen-online-item img:hover {
    border: 2px outset #0e90d2;
    box-shadow: #00a0df;
}

#imagen-container {
    background: #737373;
    width: 98%;
    margin: 6px 0;
    text-align: center;
    border-radius: 5px;
}

#imagen-container img {
    width: 100%;
}

#imagen-container i.fa {
    color: #FFF;
    font-size: 4em;
    vertical-align: middle;
}

.images-container h4
{
    line-height: 15px;
    margin-left:15px;
}

.imagen-container {
    /*margin: 5px 0;*/
    /*min-height: 280px;
    vertical-align: middle;*/
    overflow-y: hidden;
    max-height: 260px;
}

.imagen-container img {
    width: 60%;
}

#image-acciones-container {
    text-align: center;
    margin: 5% 0 0 0;
}

#image-acciones-container button, #image-acciones-container a {
    width: 45%;
    display: inline-block;
    margin-right: 3.32%;
}

/*#progress-wrp {
    border: 1px solid #0099CC;
    padding: 1px;
    border-radius: 3px;
    margin: 10px;
    text-align: left;
    background: #fff;
    box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
}*/
.progress-bar{
    height: 20px;
    border-radius: 3px;
    background-color: #00a0df;
    width: 0;
    box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}
/* Input file control */

#input-file-container .imagen-container
{
    margin-bottom:8px;
}
#input-file-container .imagen-container img
{
    width:100%;
}

#input-file-container #file-control
{
    float:left;
    display: inline-block;
    margin:5px 0;
}
/* end input file */

.aa-price > div
{
    display:inline-block;
    margin-right:18px;
    margin-bottom:8px;
}