@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #3c763d;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: .5;
}

#tablaCentros table {
    border-collapse: separate;
}

#tablaEspecialidadesCentros table {
    border-collapse: separate;
}

#tablaEspecialidades table {
    border-collapse: separate;
}

#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;*/
}

@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 {
    overflow-y: auto;
    height: auto;
}

.tableFixHead th {
    position: sticky;
    top: 0;
}

#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;
}


/* ---------------------------------------------------
    MENU SUPERIOR
----------------------------------------------------- */

.MenuSolicitud {
    z-index: 9;
    position: sticky;
    top: 0px;
    box-shadow: 1px 1px 3px rgb(0 0 0 / 10%);
}

.blanco {
    color: #FFFFFF;
}

.margenTop1 {
    margin-top: 1%;
}

.color-fondo {
    background-color: #007435;
    padding-bottom: 5px;
    padding-top: 5px;
}


/* tabla de centros */

.columnas {
    _display: flex;
    width: 100%;
    column-count: 2;
    column-fill: balance;
    margin: 5px;
}

@media screen and (max-width: 768px) {
    .columnas {
        column-count: auto;
    }
    .list-toolbar {
        width: 100%;
        height: auto !important;
        ;
    }
    .filacabecera:last-child {
        display: none;
    }
}

.cabecera {
    _display: flex;
    _flex-wrap: wrap;
    _flex-direction: column;
    _flex-grow: 1;
    _height: 500px;
    _justify-content: flex-start;
}

.filacabecera {
    display: flex;
    border: none;
    padding: 5px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    font-weight: bold;
}

.filacabecera>div {
    _width: 20%;
    _flex-grow: 1;
    _border: 1px solid red;
    padding: 6px;
}

.fila>div {
    _border: 1px solid blue;
}


/*.filacabecera>div.drag-handler{
    width:15px;
  }
  .filacabecera>div.colN{
    width:35px;
  }
  .filacabecera>div.colCod{
    flex-grow: 1
  }
  .filacabecera>div.colText{
    flex-grow: 1
  }
  .filacabecera>div.colMJ{
    width:35px;
  }
  */

div.drag-handler {
    width: 15px;
}

div.colN {
    flex-grow: 0;
    width: 30px;
    text-align: center;
}

.fila>div {
    _margin: 5px 0;
}

div.colCod {
    flex-grow: 1
}

div.colText {
    flex-grow: 5
}

div.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 {
    border: 2px solid #3e8f3e!important;
    border-radius: 5px;
    margin: 1px 0 !important;
    /*background-color: #dff0d8 !important;
    background-image: none !important;*/
}

.toolbarsCentros {
    position: sticky;
    top: 60px;
    z-index: 8;
    background: white;
    padding: 3px;
    _height: 50px;
    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: 767px) {
    .toolbarsCentros {
        top: 60px;
    }
    .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%;
    }
}

.tdpeticion {
    flex-grow: 0
}

.tdpeticioncodigo input {
    width: 90px !important;
    padding: 5px 5px !important;
    height: 22px;
    margin-right: 3px;
}

.tdpeticioncodigo {
    padding: 4px !important;
    display: flex;
    flex-wrap: nowrap;
}

.tdpeticioncodigo div {
    margin-top: 1px;
}


/*seleccion de centros*/

.nombreCentro {
    color: white;
}

#Botones {
    position: sticky;
    top: 0;
    _padding: 10px 30px 5px 10px;
    z-index: 10;
    background-color: #fff;
}


/* erroresvalidacion */

div#erroresvalidacion {
    position: fixed;
    top: 75px;
    right: 10px;
    width: 25%;
    min-width: 250px;
    z-index: 99;
}

div#accordion a {
    text-decoration: none;
}

#errorsBody {
    max-height: 30vh;
    overflow-y: auto;
}

.card-header .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    float: right;
    /* adjust as needed */
    /*color: grey;*/
    /* adjust as needed */
    color: #a94442;
}

.card-header .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f077";
    /* adjust as needed, taken from bootstrap.css */
}

div#accordion {
    margin-bottom: 20px;
    box-shadow: 1px 2px 8px 0px grey;
    border-radius: 5px;
}


/* fin erroresvalidacion */

html {
    --scrollbarBG: #f1f1f1;
    --thumbBG: #888;
}

::-webkit-scrollbar {
    width: 11px;
}

:not(select) {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}

::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG);
    border-radius: 6px;
    border: 3px solid var(--scrollbarBG);
}

.rToTop {
    position: fixed;
    /*display: inline-block;*/
    background-color: #FF9800;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    /*opacity: 0;*/
    /*visibility: hidden;*/
    z-index: 1000;
}

.rToTop::after {
    font-family: 'Glyphicons Halflings';
    /* essential for enabling glyphicon */
    content: "\e113";
    /* adjust as needed, taken from bootstrap.css */
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

.rToTop:hover {
    cursor: pointer;
    background-color: #333;
}

.rToTop:active {
    background-color: #555;
}

.rToTop.show {
    opacity: 1;
    visibility: visible;
}

.info-box {
    display: flex;
    justify-content: center;
    margin: 0 10%;
}

.info-box .glyphicon {
    font-size: 2em;
    margin: 0px 20px 0 0;
}

.botones-flex {
    display: flex;
    flex-wrap: wrap;
}

.botones-flex-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.botones-flex-center div {
    text-align: center;
    _margin: 0 20px;
}

.botones-flex-center button {
    margin: 10px 0 5px 0;
}

.botones-flex input {
    margin-bottom: 2px;
}

table.table-responsive .botones-flex {
    display: inline-flex;
}

@media only screen and (max-width: 760px) {
    /* Force table to not be like tables anymore */
    table.table-responsive,
    table.table-responsive thead,
    table.table-responsive tbody,
    table.table-responsive th,
    table.table-responsive td,
    table.table-responsive tr {
        display: block;
    }
    table.table-responsive {
        width: 95%;
        margin: 0 2.5%;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    table.table-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    table.table-responsive tbody,
    table {
        border: none!important;
    }
    table.table-responsive tr {
        _border: none !important;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 5px;
        margin-bottom: 25px
    }
    table.table-responsive td {
        /* Behave  like a "row" */
        border: none !important;
        _border-bottom: 1px solid #eee;
        position: relative;
        /*padding-left: 30% !important;      */
    }
    table.table-responsive td:before {
        /* Now like a table header */
        /* position: absolute;*/
        /* Top/left values mimic padding */
        /*top: 16px;*/
        left: 0px;
        width: 45%;
        padding: 0 5px;
        white-space: nowrap;
    }
    /*
  Label the data
  */
}

table.table-responsive .botones-flex {
    display: inline-flex;
}

.dropdownApartados {
    padding: 1em;
}

#menuApartados {
    padding: 1em;
}

.lstColN {
    font-size: 15px;
}

.faqPreguntas p span font {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #3c763d;
    font-size: 12pt;
}

.faqPreguntas p span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #3c763d;
    font-size: 12pt;
}

.faqPreguntas p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #3c763d;
    font-size: 12pt;
}

.faqRespuestas {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    font-size: 12pt;
    color: black;
}

.faqRespuestas p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    font-size: 12pt;
    color: black;
}

.faqRespuestas p font {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    font-size: 12pt;
    color: black;
}