.dropdown-menu {
   max-height: 500px;
   overflow: auto;
}


.djn-item, .djn-items {
    margin-bottom: 15px;
}

.dependentes, .dependentes ul {
    list-style-type: none;
    padding-left: 20px;
  }

.dependentes {
    padding: 0;
} 

.dependentes > li:first-of-type > ul {
    padding-left: 0;
} 

input:focus { 
    outline: none !important;
    border-color: #f9423a !important;
    box-shadow: 0 0 10px #f9423a !important;
    -moz-box-shadow: 0 0 10px #f9423a !important;
}

/* Tables for list templates */
.table-list{
    width: 100%;
    border-collapse: collapse;
}

.table-list td, .table-list th{
    padding: 10px 10px;
    text-align: left;
    font-size: 16px;
}

.table-list tbody tr:nth-child(even){
    background-color: #f5f5f5;
}

@media(max-width: 767px){
    .table-list thead{
        display: none;
    }

    .table-list, .table-list tbody, .table-list tr, .table-list td{
        display: block;
        width: 100%;
    }

    .table-list td, .table-list th{
        border: 1px solid #ddd;
    }

    .table-list tr{
        margin-bottom: 15px;
    }

    .table-list td{
        text-align: right;
        padding-left: 40%;
        position: relative;
    }

    .table-list td.actions{
        text-align: center;
        padding-left: 0%;
        padding-right: 0%;
    }

    .table-list td::before{
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-size: 15px;
        font-weight: bold;
        text-align: left;
    }

    .table-list thead.thead-supervision{
        display: block;
    }
    
    .table-list thead.thead-supervision th{
        display: none;
    }
    
    .table-list td.actions .form-check-inline{
        margin-right: 0%;
    }
    
    .table-list td.actions .form-check-input{
        margin-right: 0%;
        margin-left: 0%;
    }
    
    .table-list thead.thead-supervision th:first-child{
        display: block;
        text-align: center;
        padding-left: 0%;
        padding-right: 0%;
    }
    
    .table-list thead.thead-supervision th:first-child .form-check-inline{
        margin-right: 0%;
    }
    
    .table-list thead.thead-supervision th:first-child input{
        margin-right: 0%;
    }
}

@media(max-width: 420px){
  .card {
    word-wrap: anywhere;
  }
  .accordion .card-body {
    padding-left: 0;
    padding-right: 0;
  }
  .btn-respv > .btn-group > .btn, .btn-sm {
    padding: .25rem .25rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    white-space: normal;
  }
  .pagination .page-item:first-child .page-link {
        border-top-left-radius: .2rem;
        border-bottom-left-radius: .2rem;
    }
  
  .pagination .page-link {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
  }
}