#tablaCentros table {
    border-collapse: separate;
}

#tablaEspecialidadesCentros table {
    border-collapse: separate;
}

#tablaEspecialidades table {
    border-collapse: separate;
}

.color-fondo {
    background-color: #007435;
    padding-bottom: 5px;
    padding-top: 5px;
}

#tablaCentros th {
    border-bottom: 1px solid #ddd !important;
}

#tablaCentros input {
    /*width: 90px !important;*/
    /*padding: 3px 0px !important;*/
    height: 24px;
    margin-right: 3px;
}

#tablaCentros tr>td:nth-child(4) input {
    width: 50px;
}

div.drag-handler {
    width: 15px;
}

.colN {
    width: 15px;
    _text-align: center;
}

.fila>div {
    _margin: 5px 0;
}

.colCodCen {
    /*flex-grow: 1*/
    width: 110px;
}

.colCodEsp {
    /*flex-grow: 1*/
    width: 82px;
}

.colCod99 {
    /*flex-grow: 1*/
    width: 65px;
}

.colCod999 {
    /*flex-grow: 1*/
    width: 65px;
}

.colCodCPE {
    /*flex-grow: 1*/
    width: 45px;
}

.colText40 {
    width: 40%;
}

.colText30 {
    width: 30%;
}

.colText {
    width: 30%;
}

.colText20 {
    width: 20%;
}

.colText10 {
    width: 10%;
}

.colMJ {
    width: 45px;
}

@media screen and (max-width: 768px) {
    .filacabecera {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .fila {
        width: 100%;
    }
}

.drag-handler {
    /* display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 15px;
    height: 12px;*/
    width: 3px;
    padding: 2px 14px 0 5px;
    cursor: move;
    float: left;
}

.puntos {
    border: 2px solid grey;
    margin: 2px;
    border-radius: 1px;
}

.fila {
    width: 100%;
    overflow: hidden;
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
}

.fila {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    background-color: white;
    margin: -1px 5px 0 0;
    cursor: pointer;
}

.list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin-bottom: 5px;
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    font-weight: bold;
    height: 50px;
}

.list-toolbar-msg {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    margin-bottom: 5px;
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    font-weight: bold;
    /*height: 50px;*/
    flex-flow: column;
}

.lst-toolbar-default {
    justify-content: center;
}

@media screen and (min-width: 438px) {
    .toolbarCentros {
        width: 50%;
    }
}

@media screen and (max-width: 438px) {
    .columnas {
        column-count: auto;
    }
    .list-toolbar,
    {
        width: 100%;
        height: auto;
    }
    .list-toolbar .btn {
        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }
}

.list-toolbar div,
button,
span {
    _margin-right: 25px;
}

.list-toolbar .msg-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.list-toolbar #nListSel {
    text-align: right;
}

.msgConfirm {
    text-align: center;
}

.rota45 {
    transform-origin: center;
    transform: rotate(45deg);
}

.rota90 {
    transform-origin: center;
    transform: rotate(90deg);
}

.rota180 {
    transform-origin: center;
    transform: rotate(180deg);
}

.lstTbody .active td {
    border-top: 2px solid #3e8f3e!important;
    border-bottom: 2px solid #3e8f3e!important;
    /*border-radius: 5px;
    margin: 1px 0 !important;    
    background-color: #dff0d8 !important;
    background-image: none !important;*/
}

.lstTbody .active td:first-child {
    border-left: 2px solid #3e8f3e!important;
    border-radius: 5px 0 0 5px;
    /*border-radius: 5px;
    margin: 1px 0 !important;    
    background-color: #dff0d8 !important;
    background-image: none !important;*/
}

.lstTbody .active td:last-child {
    border-right: 2px solid #3e8f3e!important;
    border-radius: 0 5px 5px 0;
    /*border-radius: 5px;
    margin: 1px 0 !important;    
    background-color: #dff0d8 !important;
    background-image: none !important;*/
}

.toolbarsCentros {
    position: sticky;
    top: 75px;
    z-index: 8;
    background: white;
    padding: 6px;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-grow: 1;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 560px) {
    /*.toolbarsCentros{
        top:85px;
    }*/
    .toolbarsCentros>div {
        width: 100%;
    }
}

.toolbarsCentros>div {
    margin: 0 5px;
    background-color: #fff;
    flex-grow: 1;
    width: 33%;
}

@media screen and (max-width: 640px) {
    .toolbarsCentros>div {
        width: 100%;
    }
}


/*seleccion de centros*/

.toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.toolbar {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
}

#menuMJ>li>a>i {
    visibility: hidden;
}

#menuMJ>li>a.selected>i {
    visibility: visible;
}

.loading {
    display: block;
    text-align: center;
    font-size: 26px;
}

.glyphicon-spin {
    -webkit-transform-origin: 50% 46%;
    transform-origin: 50% 46%;
    -ms-transform-origin: 50% 46%;
    /* IE 9 */
    -webkit-animation: spin 1000ms infinite linear;
    -moz-animation: spin 1000ms infinite linear;
    -o-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.resultado {
    height: 60vh;
}

.tableFixHead {
    _padding: 8px 16px;
    _height: 60vh;
}

.tableFixHead {
    overflow-y: auto;
    height: 60vh;
}

.tableFixHead th {
    position: sticky;
    top: 0;
}

.tableFixHead th,
td {
    padding: 8px 16px;
}

.tableFixHead th {
    background: #eee;
}

#borrarFiltro {
    position: relative;
    left: -20px;
    top: 2px;
    margin: -6px;
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
}

.glyphicon.fast-right-spinner {
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    font-size: 2em;
    padding: 30px;
}

.bg-info,
.bg-danger,
.bg-success {
    padding: 0px 6px;
    border-radius: 4px;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.icon-stack-2 {
    position: absolute;
    left: 5px;
    top: 6px;
    z-index: 0;
}

.icon-stack-1 {
    position: absolute;
    left: -6px;
    top: -1px;
    z-index: 1;
}

.duplicate-icon {
    position: relative;
    width: 10px;
    height: 20px;
}

.rota45 {
    transform-origin: center;
    transform: rotate(45deg);
}

.is-invalid {
    border-color: #dc3545 !important;
}

#msgWarning {
    text-align: center;
    color: red;
}

.seleccionarCentros {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
}


/*.contaier{
    display: block;
    border:1px solid red;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
*/

.provincias2 {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    padding: 15px;
}

.prov {
    width: calc( 100% / 8);
    min-width: 100px;
    flex-grow: 1;
}

@media screen and (max-width: 768px) {
    .prov {
        width: 25%;
    }
}

.provincias2 .textProv {
    width: auto;
    margin: 0 10px 5px 10px;
    margin-bottom: 5px;
    text-align: center;
}

.provHeader {
    text-align: center;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    background-color: #f9f9f9
}

.textProv {
    border: 1px solid rgb(221, 221, 221);
    width: 70px;
    min-height: 45px;
    border-radius: 5px;
    background-color: #eee;
    opacity: 1;
}

.list-group .active {
    background-color: #d6e9c6;
}

.list-group .active {
    /* background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%) !important;
    background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%) !important;
    filter: progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#ffdff0d8', endColorstr = '#ffd0e9c6', GradientType = 0 ) !important;*/
    background-image: none !important;
    background-repeat: repeat-x !important;
    color: #3c763d !important;
    background-color: #dff0d8 !important;
    border-color: #d6e9c6 !important;
    text-shadow: none !important;
}

.list-group-item .nitem {
    margin-right: 5px;
    font-weight: bold;
}

.list-group-item .cod-item {
    _padding-right: 6px;
    /*border-right: 1px solid #ddd;*/
    _margin-right: 5px;
    font-weight: bold;
}

#opciones .list-group-item {
    display: flex;
    _flex-wrap: wrap;
}

#opciones .cod-item {
    width: 10%;
}

#opciones .text-item {
    width: 75%;
    padding-left: 10px;
}

.card {
    color: #3c763d;
    border-color: #d6e9c6;
}

.card-header {
    background-color: #dff0d8;
}

.card-title {
    margin-bottom: 0rem;
}


/*menu principal*/

.navbar {
    padding-left: 30px;
}

.navbar-toggler {
    padding: 10px;
    text-align: center;
}

nav.navbar {
    background-color: lightgrey;
    padding: 0px;
}

.nav-item {
    padding: 20px;
    text-align: center;
}

.nav-item:hover {
    color: #fff;
    background: #B2BABB;
}

.active {
    _color: #fff;
    background-color: #B2BABB !important;
}

.table th,
.table td {
    vertical-align: middle;
}

.sinraya {
    border: 0px;
}

.cabecera {
    background-color: #dff0d8;
    padding: 5px
}

.celda {
    padding: 5px;
    border: 1px solid #dff0d8
}

.tablaCabera {
    background-color: #dee2e6;
    border: 1px solid #dee2e6;
    width: 500px;
    color: black;
}

.tablaCabecera {
    background-color: #dee2e6;
    border: 1px solid #dee2e6;
    color: black;
}

.tablaCuerpo {
    -border: 1px solid #dee2e6;
    color: black;
}

.faqHeader {
    background-color: lightgrey;
    border: 1px solid lightgrey;
    color: black;
}

.faqBody {
    border: 1px solid lightgrey;
    color: black;
}

.panelScroll {
    overflow: auto;
    width: auto;
    height: 500px;
}

.collapse-btn {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    /* background-color: #fff; */
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
  }
  @media (prefers-reduced-motion: reduce) {
    .collapse-btn {
      transition: none;
    }
  }
  .collapse-btn:not(.collapsed) {
    color: #0c63e4;
    /* background-color: #e7f1ff; */
    /* box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125); */
  }
  .collapse-btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
  }
  .collapse-btn::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
  }
  @media (prefers-reduced-motion: reduce) {
    .collapse-btn::after {
      transition: none;
    }
  }
  .collapse-btn:hover {
    z-index: 2;
  }
  .collapse-btn:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }


