.dz-image img {
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dropzone .dz-preview .dz-image {
    z-index: 2 !important;
}

th.td_a {
    width: 40px;
}
th.td_i {
    width: 30px;
}
th.td_i3 {
    width: 60px;
}
.js--datatable td a.btn {
    padding: 3px;
}

/*Only on focus*/
/* input:focus{ color: #222; background: #97ABBE; border-color:#999;} */
/*Only on valid*/
/* input:valid{box-shadow: 0 0 2px rgb(157, 255, 157);} */

/*Only on focus and valid*/
/* input:valid:focus{ background: #ecf0ff; box-shadow: none;  } */
/*Only on invalid*/
/* input:invalid{box-shadow: 0 0 2px rgb(255, 153, 153);} */
/*Only on focus and invalid*/
/* input:invalid:focus{ background: #cb9089; box-shadow: none;} */

.select2-selection {
    border-color: rgb(160, 190, 208) !important;
    border-radius: 7px !important;
}

.only_dt {
    display: block;
}

.only_dt_cell {
    display: table-cell;
}

.only_mb {
    display: none;
}

.edge {
    image-rendering: -moz-crisp-edges; /* Firefox */
    -ms-interpolation-mode: nearest-neighbor;  /* IE */
    image-rendering: crisp-edges; /* Стандартное свойство */
}

.poster_view img {
    margin: 0 auto;
    display: block;
}

#sidebarnav .hide-menu {
    white-space:nowrap;
}

@media (max-width: 600px) {
    .only_dt, .only_dt_cell {
        display: none;
    }

    .only_mb {
        display: block;
    }

    #main-wrapper {
        padding: 0;
    }
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    
    .topbar {
        border-radius: 0 !important;
    }
    .topbar {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .card-body {
        padding: 12px;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    table.dataTable td {
        padding: 5px 5px;
    }
    .td_a {
        text-align: center;
    }
    .td_a img {
        margin: 0 auto 10px auto;
    }
    .card-header:first-child {
        border-radius: 0 !important;
    }
}

.am5 {
    height: 400px;
}
.mt-files-grid-dense {
    display: grid;
    grid-template-columns: auto;
    grid-auto-rows: 100px;
    grid-auto-flow: dense;
    width: 280px;
}
.mt-files-grid-dense .mt-files-image {
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.42rem;
    margin: 5px;
}
.mt-files-grid-dense .mt-files-image .image {
    height: 100%;
    background-size: cover !important;
}

@media (max-width: 600px) {
    .card > .rounded-4 {
        border-radius: 0 !important;
    }
}


div.dataTables_wrapper div.dataTables_info {
    padding: 0 !important;
}

.card {
    box-shadow: none !important;
    border-radius: 12px !important;
}