
.dataTables_filter,
.dataTables_length {
    display: none;
}

#filter-table {
    display: flex;
    /*flex-width: nowrap;*/
    flex-direction: row;
    gap: 1rem;
}

#filter-table .form-group {
    flex: 1 1;
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: 0;
}

#filter-table .form-group::after {
    content: "";
    padding: 0.5em;
}

.card-table .card-body {
    padding-top: .5rem;
}

#btn_widget a {
    margin-right: .25rem;
}


/* =SWEET ALERT
------------------------------------------------------------ */
.swal-popup-mjk {
    padding: 15px !important;
    width: auto !important;
    min-width: 300px !important;
    max-width: 380px !important;
    overflow: hidden !important;
}

.swal-title-mjk {
    font-size: 20px !important;
    padding: 10px !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}

.swal-container-mjk .swal2-content {
    font-size: 12px !important;
    color: #9e9e9e !important;
    padding-bottom: 10px !important;
    line-height: 1.5 !important;
}

/* swal icon success*/
.swal-icon-success-mjk {
    transform: scale(.45) !important;
    -webkit-transform: scale(.45) !important;
    -moz-transform: scale(.45) !important;
    margin: 10px auto !important;
    -webkit-transform-origin: top center !important;
    -moz-transform-origin: top center !important;
    transform-origin: top center !important;
    margin-bottom: -30px !important;
}

/* swal icon error*/
.swal-icon-error-mjk {
    width: 35px !important;
    height: 35px !important;
    margin: 10px auto !important;
    border: .15em solid #f27474 !important;
}

/* swal icon error*/
.swal2-html-container {
    margin: .3em 1em .3em !important;
}

.swal-icon-error-mjk .swal2-x-mark-line-left {
    width: 1.5em !important;
    height: .1em !important;
    top: 1em !important;
    left: .35em !important;
}

.swal-icon-error-mjk .swal2-x-mark-line-right {
    width: 1.5em !important;
    height: .1em !important;
    top: 1em !important;
    right: .35em !important;
}

/* swal icon warning*/
.swal-icon-warning-mjk {
    width: 35px !important;
    height: 35px !important;
    border-color: #facea8 !important;
    border: .15em solid #facea8 !important;
    margin: .3em auto .9em !important;
    color: #facea8 !important;
}

.swal-icon-warning-mjk .swal2-icon-content {
    font-size: 25px !important;
}

/* swal icon info*/
.swal-icon-info-mjk {
    width: 35px !important;
    height: 35px !important;
    margin: 10px auto !important;
    border: .15em solid #9de0f6 !important;
}

.swal-icon-info-mjk .swal2-icon-content {
    font-size: 25px !important;
}

/* swal icon question*/
.swal-icon-question-mjk {
    width: 35px !important;
    height: 35px !important;
    margin: 10px auto !important;
    border: .15em solid #c9dae1 !important;
}

.swal-icon-question-mjk .swal2-icon-content {
    font-size: 25px !important;
}

/* swal icon cancel*/
.swal-icon-cancel-mjk {
    width: 35px !important;
    height: 35px !important;
    margin: 10px auto !important;
    border: .15em solid #f27474 !important;
}

.swal-icon-cancel-mjk .swal2-icon-content {
    font-size: 25px !important;
}

.swal-actions-mjk {
    margin-top: 10px !important;
}

.swal-confirm-button-mjk {
    background-color: #2055c7 !important;
    padding: .375rem 1rem !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}

.swal-cancel-button-mjk {
    padding: .375rem 1rem !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}


.select2-container .select2-search--inline .select2-search__field,
.select2-container--default .select2-search--inline .select2-search__field,
.select2-container .select2-search--inline .select2-search__field {
    margin-left: 5px;
    margin-right: 5px;
}

.text-sm .select2-container--default .select2-selection--multiple, select.form-control-sm ~ .select2-container--default .select2-selection--multiple {
    min-height: calc(2.2rem + 2px);
}

.select2-container--default .select2-selection--multiple {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}


/*Image Aspect Ratio*/
.ratio {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: auto;
    background: transparent;
    /*background-color: rgba(0, 0, 0, .4);*/
    background: url('../img/pattern.png');
    background-size: 24px 24px;
}

/*@media (max-width: 767px) {
  .ratio {
    max-width: 345px;
  }
}*/
/*.ratio:before,
.ratio:after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
}
.ratio:after { clear: both; }
.ratio { zoom: 1; }*/

.ratio1-1 {
    padding-top: 100%;
}

.ratio2-1 {
    padding-top: 50%;
}

.ratio4-3 {
    padding-top: 75%;
}

.ratio16-9 {
    padding-top: 56.25%;
}

.ratio img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.text-sm .select2-container--default .select2-selection--single, select.form-control-sm ~ .select2-container--default .select2-selection--single {
    height: calc(1.8125rem + 8px);
}

.text-sm .select2-container--default .select2-selection--single .select2-selection__rendered, select.form-control-sm ~ .select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: -0.2rem;
}

table label {
    margin: 0;
}

.modal-dialog {
    /*max-width: 90%;*/
}


/* =GENERAL
-------------------------------------------------------------*/
.hide-for-desktop {
    display: none;
}

.hide-for-mobile {
    display: block;
}


@media only screen and (max-width: 991px) {
    /* =GENERAL
    ------------------------------------------------------------ */
    .hide-for-desktop {
        display: block;
    }

    .hide-for-mobile {
        display: none;
    }
}

@media only screen and (max-width: 768px) {

    .hide-for-desktop {
        display: block !important;
    }

    .hide-for-mobile {
        display: none !important;
    }
}


.card-header-radius-0 {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.alert p {
    margin-bottom: 0;
}

select[readonly] {
    pointer-events: none;
}

.fileinput-preview img,
.fileinput-new img,
.fileinput-exists img {
    /*width: 225px;*/
    width: 125px;
}


@media (min-width: 1200px) {
    .fileinput-preview img,
    .fileinput-new img,
    .fileinput-exists img {
        width: 200px;
    }
}


.disabled-select {
    background-color: #d5d5d5;
    opacity: 0.5;
    border-radius: 3px;
    cursor: not-allowed;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}