

:root {
    /*:::ballet-mty:::*/
    --bm-dark: #242423;
    --bm-darkgrey: #625D5D;
    --bm-grey: #BCBCB9;
    --bm-lightgrey: #F0F0F0;
    --bm-white: #FFFFFF;
}

@font-face {
    font-family: helvetica-regular;
    font-weight: 400;
    src: url('../fonts/HelveticaNowMicro-Regular.ttf');
}
@font-face {
    font-family: helvetica-bold;
    font-weight: 700;
    src: url('../fonts/HelveticaNowMicro-Bold.ttf');
}

* {
    box-sizing: border-box;
}
body,
html {
    margin: 0;
    padding: 0;
    background-color: #e4e4e4;
}
    /* width */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    /* Track */
    ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 2px var(--bm-grey);
        border-radius: 10px;
    }
    /* Handle */
    ::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: var(--bm-grey);
    }
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--bm-darkgrey);
    }

.btn-share {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 12px auto;
}
.btn-share img {
    width: 100%;
    height: 100%;
    object-fit: contain
}
.tbl-text {
    height: 40px;
    width: 350px;
    white-space: normal;
    overflow: hidden;
    margin: 0 0 6px 0;
    font-size: 14px;
}
/* Theme css */
.invalid-feedback,
.valid-feedback,
.video-feedback {
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0.45rem 0;
}
.video-feedback {
    color: #052c65;
    display: block;
}
.progress-bar {
    border-radius: 6px;
    font-weight: 600;
}
/* init-table-permissions */

table#permissions input[type="checkbox"] {
    transform:scale(1.3) !important
}
table#permissions input.disabled[type="checkbox"],
table#permissions input[type="checkbox"]:disabled {
    pointer-events: none;
}

table#permissions span.dt-column-title,
table#permissions span.dt-cell-title {
    cursor: pointer;
}
i.permission.checked {
    opacity: 1;
    color: #00c292;
}
i.permission {
    opacity: .85;
    color: lightgray;
}
/* end-table-permissions */
b, strong {
    font-weight: 700!important;
}
/* password  */
.rdms-password-group {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.rdms-password-group a {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--gm-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gm-dark);
    transition: all .3s ease;
}
.rdms-password-group a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.rdms-password-group a.show img {
    content: url(../img/icon-hide.png);
}
/* sweet-alert2  */
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: var(--bm-dark);
}
div:where(.swal2-container) .swal2-html-container {
    font-size: 18px!important;
}

.input-group-text.group-bdm,
.form-control.group-bdm {
    font-size: 14px;
    height: 48px;
    color: var(--bm-dark);
    background-color: var(--bm-lightgrey);
    border-color: var(--bm-grey);
    font-family: helvetica-regular;
}
.input-group-text.group-bdm {
    font-size: 14px;
    min-width: 115px;
    border-top-left-radius: 7px!important;
    border-bottom-left-radius: 7px!important;
}
.input-group-text.group-bdm.share {
    min-width: unset;
}
.form-control.group-bdm {
    border-top-right-radius: 7px!important;
    border-bottom-right-radius: 7px!important;
}
.input-group.bdm-mb {
    margin-bottom: 1.75rem!important;
}
.users-detail {
    margin: 0 auto;
    display: block;
    object-fit: contain;
    width: 100px;
    height: 100px;
}
.user-panel .info a {
    text-overflow: ellipsis;
    width: 168px;
    overflow: hidden;
}
[class*=sidebar-dark-] {
    background-color: var(--bm-dark);
}
.btn-dark {
    background-color: var(--bm-dark);
    border-color: var(--bm-dark)
}

.bm-profile,
.sidebar-custom .btn-link {
    font-size: 16px;
    color: var(--bm-white);
}
.sidebar-custom .btn-link>span {
    display: none;
}
.layout-fixed .main-sidebar-custom .sidebar {
    height: calc(100% - ((5rem + 4rem) + 1px));
}
.nav-link,
a.btn.btn-link.bdem-logout {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
}
.bdem-logout span {
    display: inline;
}
.sidebar-mini.sidebar-collapse .main-sidebar .sidebar-custom a.btn.btn-link.bdem-logout span{
    display: none;
}
a.btn.btn-link.bdem-logout:hover  {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.bm-profile {
    font-size: 12px;   
}
.layout-fixed .brand-link {
    position: relative;
    height: 80px;
}
.layout-fixed .brand-link .icon-menu {
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    top: 50%;
    transform: translateY(-100%);
}
.layout-fixed .brand-link .icon-menu>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-link .brand-image {
    width: 40px;
    margin: 0 auto;
}
.brand-text.font-weight-light {
    width: auto;
    height: 45px;
    padding-left: .8rem;
}

.brand-text.font-weight-light img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nav-item a.nav-link>img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

[class*=sidebar-dark] .brand-link, [class*=sidebar-dark] .brand-link .pushmenu {
    display: flex;
    align-items: center;
}

.sidebar-mini .brand-image,
.sidebar-mini.sidebar-collapse .brand-text,
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .brand-image {
    display: none;
}
.sidebar-mini.sidebar-collapse .brand-image {
    display: block;
}
.sidebar-mini .main-sidebar .nav-flat .nav-link, 
.sidebar-mini-md .main-sidebar .nav-flat .nav-link, 
.sidebar-mini-xs .main-sidebar .nav-flat .nav-link {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 12px;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, 
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--bm-darkgrey)
}
.wrapper {
    position: relative;
}
.content-wrapper {
    background-color: var(--bm-lightgrey);
    background-image: url(../img/dashboard/imgback-inicio.jpg);
    /* background-size: cover; */
    background-repeat: no-repeat;
}

.bm-logotext {
    width: 100%;
    max-width: 500px;
}
.bdem-collapse-sidebar {
    position: fixed;
    z-index: 9998;
    top: 40px;
    width: auto;
    height: auto;
    transform: translateY(-50%);
    /* transition: margin-left .3s ease-in-out; */
}
.bdem-collapse-sidebar img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    
}
.bdem-collapse-sidebar.active img {
    content: url(../img/menu/btn-expand.png);
}

.bdm-register-btn,
.bdm-register-btn .btn {
    display: flex;
    justify-content: end;
}

.bdm-register-btn .btn {
    width: auto;
    height: 40px;
    min-width: 150px;
    max-width: 215px;
    font-size: 12px;
    letter-spacing: 1px;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-family: helvetica-bold;
}
.bdm-register-btn .btn img{
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin: 0 10px 0 0;
}
.bdm-register-btn .btn img.back {
    transform: rotate(180deg);
    filter: brightness(1);
}

.card-body {
    padding: 12px;
}
.card,
.card-body {
    border-radius: 20px;
    box-shadow: unset;
}
.card.form,
.card-body.form {
    border-radius: 10px;
}
.form-group {
    margin-bottom: 1.75rem;
}

.table thead th {
    border-top: 1px solid transparent;
    border-bottom: 1px solid rgba(36, 36, 35, 0.2)!important
}
table.dataTable th:last-child, 
table.dataTable th:last-child, 
table.dataTable td:last-child, 
table.dataTable td:last-child {
    border-left: 2px solid rgba(36, 36, 35, 0.2)!important
}
table.dataTable td.dt-type-numeric {
    text-align: left!important;
}
/* .table thead th,
.table td, .table th,
.table td:last-child {
    border-color: transparent!important;
    border-left-color: transparent!important;
} */
.table thead th {
    border-color: transparent!important;
    border-left-color: transparent!important;
}
.btn-link {
    color: var(--bm-dark);
}
.btn-link img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin: 0 3px 0 0;
}
/* Paginacion  */

.pagination {
    justify-content: end;
    --bs-pagination-border-color: var(--bm-white);
}
.page-item {
    margin: 0 8px 0 0;
}
.page-link {
    padding: 5px 8px;
    font-weight: 400;
    color: var(--bm-dark);
    border: 1px solid var(--bm-white);
}
.page-link:focus,
.page-link:hover,
.page-item.active .page-link {
    background-color: var(--bm-white);
    border-color: var(--bm-white);
    box-shadow:0px 2px 0 0 rgb(36 36 35 / 10%)
}
.page-item.active .page-link {
    font-weight: bold;
    color: var(--bm-dark);
    background-color: var(--bm-white);
    border-color: var(--bm-white);
}
.page-item.disabled .page-link {
    border-color: var(--bm-white);

} 
div.dt-container div.dt-paging ul.pagination {
    margin: 24px 0;
}
table.table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(13, 110, 253);
    box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
    color: rgb(255, 255, 255);
    color: var(--bm-white)
}/* end-paginacion  */

.content-header h1 {
    font-size: 1.40rem;
    text-transform: uppercase;
    font-family: helvetica-bold;
    letter-spacing: 1px;
}
.btn.btn-bdem {
    height: 40px;
    font-size: 12px;
    min-width: 150px;
    border-radius: 10px;
    text-transform: uppercase;
    font-family: helvetica-bold;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 1px;
}

.btn.btn-bdem.cancel {
    color: var(--bm-dark);
    background-color: var(--bm-grey);
}
.admin-form-label-bdem,
.form-control.admin-input-bdem,
label:not(.form-check-label):not(.custom-file-label) {
    font-size: 14px;
    font-weight: 400;
    font-family: helvetica-regular;
    letter-spacing: 1px;
    border-color: var(--bm-grey);
}
.admin-form-label-bdem {
    display: inline-block;
    color: var(--bm-dark);
    margin-bottom: 3px;
    font-weight: 500;
    line-height: 24.3px;
    text-align: left;
    padding: 0 0.75rem;
}

.form-control.admin-input-bdem {
    width: 100%;
    height: 48px;
    border-radius: 7px;
    color: var(--bm-dark);
    background-color: var(--bm-lightgrey);
    border-color: var( --bm-grey);
}

.mx-file {
    width: 100%;
    height: auto;
    min-height: 54px;
    border-radius: 10px!important;
    position: relative;
    margin: 12px 0 0 0;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 12px;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background-color: var(--bm-lightgrey);
    border-color: var(--bm-darkgrey);
}
.mx-file:not(input.disabled) {
    opacity: 1;
    cursor: pointer; 
    pointer-events: all;
}
.mx-file:has(input.disabled) {
    opacity: .65;
    cursor: no-drop; 
    pointer-events: none;
}

.mx-file span {
    width: auto;
    color: var(--bm-dark);
    font-size: 14px;
    font-weight: 600;
    line-height:1.2;
    border-bottom: 1px solid var(--bm-dark);
    transition: all .3s ease;
}
.mx-file span.file-name {
    width: 100%;
    height: 100%;
    border-bottom-color: transparent;
    display: flex;
    justify-content: start;
    align-items: center;
    pointer-events: none;
}

.mx-file input[type='file'] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    text-indent: -999px;
}
.mx-file span::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 20px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    /* background-image: url(../images/icon-add-white.png); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mx-file.photo {
    width: auto;
    height: auto;
    padding: 5px;
    cursor: pointer;
    background-color: transparent;
}
.mx-file.photo span {
    width: 100%;
    display: inline-block;
    color: var(--bm-dark);
}
.mx-file.photo span::after {
    content: none;
}

.img-detail {
    width: 270px;
    height: auto;
    padding: 12px;
    margin: 12px auto 24px auto;
}
.bdem-video-player.doc-detail {
    width: 500px;
    height: 270px;
    margin: 0 auto;
    padding: 12px 0 0 0;
}

.img-detail img,
.bdem-video-player.doc-detail object {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 7px;
}

.bdem-video-file {
    margin: 0 auto;
    text-align: center;
}
.bdem-video {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: 1px solid var( --bm-grey);
    object-fit: none;
    border: transparent;
}
video[poster] {
    opacity: .5;
}
.bdem-video-desc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.reference-bdm {
    width: 100%;
    min-height: 54px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var( --bm-grey);
    background-color: var(--bm-lightgrey);
}
.reference-lbl {
    font-weight: bolder;
}


/* Dashboard --------------  */
.bdem-dashboard-box {
    min-height: 730px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    margin: 60px 0 12px 0;
}
.bdem-title {
    text-align: center;
    font-size: 20px;
    font-family: helvetica-bold;
}
.bdem-title span {
    display: block;
    font-size: 12px;
    margin: 12px 0 0 0;
    font-family: helvetica-regular;
}
.bdem-dashboard-form {
    width: 100%;
    height: auto;
    padding: 12px;
    margin: 24px 0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bm-white);
}
.bdem-dashboard-check {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
    margin: 48px 0 12px 0;
    font-family: helvetica-regular;
    font-size: 14px;
    flex-wrap: wrap;
}
.bdem-dashboard-check .form-check-input:checked {
    background-color: var(--bm-dark);
    border-color: var(--bm-dark)
}

.bdem-dashboard-input,
.bdem-dashboard-btn,
.bdem-dashboard-btn .btn-filters {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.bdem-dashboard-input .btn-search,
.bdem-dashboard-check .btn-remove-filters {
    font-size: 14px;
    text-transform: uppercase;
}
.bdem-dashboard-check .btn-remove-filters {
    font-size: 10px;
    letter-spacing: 1px;
}

.bdem-dashboard-input input,
.bdem-dashboard-input button {
    border-radius: 7px;
    height: 48px;
}
.bdem-dashboard-input input::placeholder{
    color: var(--bm-dark);
    font-style: italic;
}

.bdem-dashboard-input input.form-control {
    border-color: var( --bm-grey);
    background-color: var(--bm-lightgrey);
}
.bdem-dashboard-input button {
    width: 100px;
}
.bdem-dashboard-btn {
    margin: 12px 0;
    align-items: center;
    justify-content: center;
}
.bdem-dashboard-btn .btn {
    width: 210px;
    border-radius: 30px;
    font-size: 12px;
    height: 40px;
    font-family: helvetica-regular;
}
.bdem-dashboard-btn .btn>img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    margin: 0 6px 0 0;
}
.user-panel {
    height: 100px;
    height: 100px;
    justify-content: start;
    align-items: center;
}
/* Login-init--------------- */
.login-page {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    align-items: start;
}
.login-box {
    grid-row: 1/1;
    grid-column: 1/1;
    width: 100%;
    height: 100%;
    max-width: 560px;
    background: var(--bm-white);
}
.login-logo {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bm-dark);
}
.login-logo>img{
    width: 250px;   
}
.login-box-icon {
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.login-box-icon>img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.login-box-msg {
    width: 100%;
    padding: 0;
    font-family: helvetica-bold;
    text-transform: uppercase;
}
.login-box>form {
    padding: 24px 48px;
}
.login-box>form label,
.login-box>form label:not(.form-check-label):not(.custom-file-label) {
    margin: 0;
    padding: 0 0 0 8px;
    font-family: helvetica-regular;
    font-weight: 400;
}
.login-box>form input.bdem-form-control {
    height: 48px;
    background-color: var(--bm-lightgrey);
    border-color: var( --bm-grey);
}

.login-box>form .btn-link {
    line-height: 1.2;
    font-weight: 500;
    font-size: 14px;
    font-family: helvetica-regular;
    color: var(--bm-dark);
    text-decoration: underline;
    border-bottom: 1ps solid var(--bm-dark);
}
.login-box>form .btn-send {
    width: 210px;
    height: 40px;
    font-size: 12px;
    font-family: 'helvetica-bold';
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-banner {
    width: 100%;
    height: 100%;
    grid-row: 1/1;
    grid-column: 2/3;
}
.login-banner>img {
    width: 100%;
    height: 100%;
    display: none;
    max-height: unset;
    object-fit: cover;
} 
.bdem-txt-recovery {
    font-size: 12px;
    margin: 30px 0;
    font-family: helvetica-regular;
}/*end-login*/

/* videos */
form.bdem.videos textarea,
textarea.form-control.admin-input-bdem  {
    height: 124px;
}
form.bdem.videos a.btn, 
form.bdem.videos button[type="submit"] {
    pointer-events: none;
    opacity: .50;
}


form.bdem.videos.active a.btn,
form.bdem.videos.active button[type="submit"]
{
    pointer-events: all;
    opacity: 1;
}

.bdem-video-detail-wrapper {
    width: 100%;
    height: auto;
    border-radius: 5px;
    background-color: var(--bm-white);
    margin: 24px 0;
}
.bdem-video-player {
    padding: 0;
}
.bdem-notes-desc {
    width: 100%;
    height: auto;
    max-height: 150px;
    overflow: hidden;
    overflow-y: scroll;
}

.bdem-video-player video {
    width: 100%;
    height: 45vh;
    object-fit: contain;
    border-radius: 5px;
}

.bdem-video-controls,
.bdem-video-controls .options-ctrls,
.bdem-video-info {
    display: flex;
    align-items: center;
}
.bdem-video-controls {
    width: 100%;
    height: 48px;
    border-bottom: 1px solid rgba(36, 36, 35, 0.2);
    justify-content: space-between;
}
.bdem-video-controls>button {
    border:transparent
}
.bdem-video-info .content {
    width: 50%;
}

.bdem-video-controls .options-ctrls  {
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
}
.bdem-video-controls .img-ctrls {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.bdem-video-controls .progress {
    width: 80%;
    height: 7px;
    border-radius: 2px;
    cursor: pointer;
}
.bdem-video-controls .progress>div {
    width: 0;
    height: 100%;
    background: rgba(98, 93, 93, 1);
    border: 1px solid rgba(98, 93, 93, .5);
    transition: all .5s ease;
}
.bdem-video-info,
.bdem-video-disclaimer {
    padding: 12px;
} 

.bdem-video-info {
    margin: 12px 0;
    justify-content: space-between;
    align-items: start;
}
.bdem-video-info .content h2 {
    font-size: 14px;
    text-transform: uppercase;
    font-family: helvetica-bold;
}
.bdem-video-info .content p {
    margin: 0;
    font-size: 12.5px;
    font-family: helvetica-regular;
}
.bdem-video-disclaimer {
    border-top: 1px solid rgba(36, 36, 35, 0.2);
}
.bdem-video-disclaimer p {
    font-size: 12px;
    font-family: helvetica-regular;
}
.bdem-video-info.right {
    align-items: start;
}
.bdem-video-info.right .content {
    width: 50%;
    justify-content:start
}
.bdem-video-info.right.col {
    flex-direction: column;
    gap: 12px;
}
.bdem-video-info.right.col .content {
    width: 100%;
}
.btn.player>img.active {
    content: url('../img/dashboard/pause.png');
}
#soundIcon.active {
    content: url('../img/dashboard/mute.png');
}
.bdem-p-scroll{
    height: 80px;
    overflow: hidden;
    overflow-y: scroll;
}
.bdem-notes {
    padding: 12px;
    font-size: 12px;
    font-family: helvetica-regular;
}
.bdem-notes h2 {
    font-size: 14px;
    font-family: helvetica-bold;
    text-transform: uppercase;
}
.bdem-text-wrap {
    /* white-space: normal!important; */
}
.bdem-text-wrap {
    font-family: helvetica-regular!important;
    font-size: 12px!important;
    height: 70px;
    width: 200px;
    margin: 0;
}
.bdem-card {
    width: 100%;
    height: auto;
    min-height: unset;
    color: var(--bm-dark);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: self-end;
    justify-content: center;
    border-radius: 5px;
    background-color: var(--bm-lightgrey);
}
.multimedia {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: start;
}

.bdem-card img {
    width: 80px;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
}
.multimedia {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.multimedia .content {
    width: 100%;
    margin: 0 6px;
}
.multimedia .content span {
    display: block;
}
.multimedia .content span,
.multimedia .content span h3 {
    font-size: 14px;
    margin: 4px 0;
    line-height: 1.25;
}
.multimedia .content span h3,
.multimedia .content span p {
    display: inline;
}
.multimedia .content span h3 {
    font-weight: bold;
}
.multimedia .content span p {
    margin: 0 0 4px 0;
}
.multimedia .content span:first-of-type,
.multimedia .content span:last-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: vertical;
}
.multimedia .content span.desc-result p {
    display: block;
    height: auto;
    max-height: unset;
    overflow-y: unset;
}
.bdem-detail-link {
    font-size: 14px;
    color: var(--bm-dark);
    text-decoration: underline;
    font-weight: bold;
}
.bdem-detail-link:hover {
    color: var(--bm-darkgrey);
}

.search-obra,
.search-year {
    display: flex;
    opacity: 0;
}
.search-obra input,
.search-year input {
    width: 210px;
}
.search-obra {
    justify-content: start;
}
.search-year {
    justify-content: end;
}
.search-obra.active,
.search-year.active {
    opacity: 1;
}
.bdem-dashboard-results {
    width: 100%;
    height: auto;
}
#canvas-container {
    width: 100%;
    height: 250px;
    margin: 0 auto;
    overflow-y:scroll;
    object-fit: contain;
}
.link-document-no-available {
    margin: 24px 0 0 0;
}
canvas {
    margin-bottom: 20px;
}

.preview-pdf {
    display: none;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
    
    .bdem-collapse-sidebar {
        position: absolute;
    }
    .mx-file {
        padding: 3px 24px 3px 12px;
    }
    .bdem-video {
        width: 100%;
        height: 250px;
        object-fit: contain;
    }
    /* Login--------------- */
    .login-page {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 2fr;
    }

    .login-banner>img {
        display: block;
    }
    /* asidebar---------- */
    .sidebar-custom .btn-link>span {
        display: inline-block;
    }
    .bdem-dashboard-form {
        padding: 24px;
    }
    .multimedia .content span.desc-result p {
        display: block;
        height: auto;
        max-height: 90px;
        overflow-y: scroll;
    }
 }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    
    .login-banner>img {
        max-height: 100vh;
    }
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .bdem-collapse-sidebar {
        transition: left .3s ease-in-out;
        left: 240px;
    }
    .bdem-video-detail-wrapper {
        height: auto;
        margin: 12px 0;
        min-height: 100vh;
    }
    .bdem-dashboard-btn .btn-filters {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .bdem-card {
        height: auto;
        width: 100%;
        min-height: 300px;
        justify-content: space-between;
    }
    .multimedia {
        flex-direction: column;
    }
  
 }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .bdem-video-player.doc-detail {
        height: auto;
    }
    .mx-file {
        margin: unset;
    }
    .img-detail {
        width: 320px;
    }
    .bdem-card {
        height: 100%;
        width: 100%;
        min-height: 225px;
    }

    .bdem-dashboard-box {
        margin: 48px 0 12px 0;
    }
    .multimedia .content {
        width: 80%;
    }
    .multimedia .content span:first-of-type,
    .multimedia .content span:last-of-type {
        -webkit-line-clamp: 3;
    }
    /* Theme css */
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
        --bs-gutter-x: 4.5rem;
        padding-right: calc(var(--bs-gutter-x)* .5);
        padding-left: calc(var(--bs-gutter-x)* .5);
    }
    .card-body {
        padding: 1.75rem;
    } /* Theme end css */
    
    .sidebar-mini.sidebar-collapse .bdem-collapse-sidebar {
        left: 64px!important;
    }
    .bdem-dashboard-check {
        gap: 30px;
        margin: 24px 0 12px 0;
    }
    .bdem-dashboard-btn {
        justify-content: space-between;
    }
    .bdem-dashboard-input,
    .bdem-dashboard-btn {
       flex-wrap: nowrap;
    }
    .bdem-dashboard-input .btn-search {
        height: 48px;
        display: flex;
        align-items: center;
    }
    .bdem-video-info.right:first-of-type {
        margin: 0;
    }
    .bdem-video-info.right.col {
        flex-direction: row;
        gap: 12px;
    }
    .bdem-video-info.right.col .content {
        width: 50%;
    }

    .multimedia {
        flex-direction: row;
    }
 }

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .login-box {
        max-width: unset;
    }
 }
