html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #484A61;
    margin-bottom: 30px;
}

h2 {
    font-weight: 800;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-right {
    text-align: right;
}

.wrapper-tabla {
    border-radius: 8px 8px 0 0 !important;
}

.wrapper-tabla table tbody tr td a.btn.btn-primary {
    color: #FFF;
    border: 1px solid #FD7400;
}

.btn.btn-white {
    background: transparent;
    color: #484A61;
    padding: 10px;
}

.btn.btn-white:active,
.btn.btn-white:hover {
    color: #767aa0;
    background: #eef;
    border-color: transparent;
}

table.table tbody tr td {
    font-size: 90%;
    color: #333;
}

.table tr th.actions,
.table tr td.actions {
    text-align: right;
    white-space: nowrap;
}

.table tr td.actions .action.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 5px;
}

.table tr th.actions .btn-sm,
.table tr td.actions .btn-sm {
    padding: 3px 5px;
}


/* ttable */

.ttable-wrapper .pagination-container {
    margin-top: 20px;
    display: flex;
    gap: 10px
}

.ttable-wrapper .pagination-container .pagination-note {
    flex-grow: 1;
}

.ttable-wrapper .pagination-container .pagination:hover,
.ttable-wrapper .pagination-container .pagination {
    flex-shrink: 0;
    display: flex;
    gap: 1px;
    background-color: #ccc;
    border-radius: 7px;
    border: 1px solid #ccc;
    overflow: hidden;
}

.ttable-wrapper .pagination-container .pages-dropdown {
    flex-shrink: 0;
}

.ttable-wrapper .pagination-container .pagination .pagination-page {
    display: block;
    flex-grow: 1;
    background-color: #fff;
    padding: 5px;
    min-width: 36px;
    border-radius: 0;
    border: 0;
}

.ttable-wrapper .pagination-container .pagination .pagination-page:hover {
    background-color: #ddd;
    color: #333;
}

.ttable-wrapper .pagination-container .pagination .pagination-page.active {
    background-color: #FD7400;
}

.ttable-wrapper .pagination-container .pagination .pagination-page.disabled {
    background-color: #eee;
    color: #ccc;
    cursor: not-allowed;
}

.ttable-wrapper .pagination-container .pagination .pagination-page.active:hover {
    background-color: #f8a45a;
    color: #fff;
}

.ttable-wrapper .pagination-container .pagination-select {
    padding: 3px 7px;
}

.ttable-wrapper table tr td.ttable-no-data {
    padding: 40px;
    text-align: center;
}

.ttable-wrapper table tr th {
    white-space: nowrap;
    vertical-align: top;
}

.ttable-wrapper table tr th[ttable-sort] {
    cursor: pointer;
}

.ttable-wrapper table tr th[ttable-sort].dir-asc::after {
    content: " \25B4";
    float: right;
}

.ttable-wrapper table tr th[ttable-sort].dir-desc::after {
    content: " \25BE";
    float: right;
}

.ttable-wrapper table tr th[ttable-sort]:hover {
    color: #e3e3e3;
}


/* ttable */

.icon {
    background-position: center;
    background-size: cover;
}

.icon.icon-detalles {
    background-image: url(../img/zoom_in.png);
}

.icon.icon-adjuntos {
    background-image: url(../img/attachment.png);
}

.icon.icon-new-arrow {
    background-image: url(../img/padre.png);
}

.button,
.btn-secondary,
.btn-primary,
.btn-base,
.btn-gradient {
    padding: 10px;
}

.btn-secondary {
    padding: 8px;
}

.text-secondary:first-child,
.text-secondary:first-child:hover,
.text-secondary:first-child:active,
.text-secondary:first-child:focus,
.text-secondary:first-child:focus-visible,
.text-secondary:first-child:focus-within,
.text-secondary:first-child:visited,
.text-secondary:first-child:target
{
    background-color: #777777;
}


/* select 2 */

.select2-container--default .select2-selection--single {
    border: 0;
    border-bottom: 1px solid #33373E;
    border-radius: 0;
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 5px;
}

.select2-dropdown {
    border-color: #33373E;
}

.select2.select2-container.select2-container--default.select2-container--open.select2-container--above {
    border-left: 1px solid #33373E;
    border-right: 1px solid #33373E;
}


/* select 2 */

.ajax-loader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-fill .nav-item .nav-link.active .border-tab {
    display: block;
}

.btn-boletin-cont {
    padding-bottom: 10px;
    ;
}

.btn-boletin {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    display: block;
    min-height: 130px;
    display: block;
    height: 100%;
}

.btn-boletin:hover {
    opacity: 0.85;
    background: #fff;
    color: #444;
}

.btn-boletin img {
    display: block;
    margin: auto;
}

.boletin {
    font-size: 85%;
}

.boletin.boletin-subscribir {
    /* background: url("../img/bg-bot1inicio.jpg"); */
}

.captcha-container :first-child {
    border-radius: 5px;
    border: 1px solid #666;
}

.bootbox.modal .bootbox-close-button.close {
    margin-top: -3px;
    font-size: 30px;
    line-height: 0;
    height: 20px;
    width: 20px;
    background: none;
    border: none;
    color: #444;
}

.bootbox.modal .bootbox-close-button.close:hover {
    opacity: 0.8;
}

table.table .subrubro-count td {
    padding: 4px 10px;
    background: #eee;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
}

@media (min-width: 992px) {
    footer .footer-container.container .container-info p {
        text-align: right;
    }
}

.administration .dropstart {
    padding: 5px;
}

.administration .dropstart .dropdown-toggle::before {
    content: none;
}

.btn.btn-table {
    position: relative;
    top: -2px;
    line-height: 12px;
    font-size: 90%;
    padding: 3px 4px;
    border-width: 1px;
}

.text-secondary {
    font-size: 90%;
    color: #666 !important;
}

[ttable] tr th .text-secondary {
    font-size: 90%;
    color: #ddd !important;
    font-weight: normal;
}

.navbar-form {
    display: flex;
    flex-direction: row;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.content-container {
    padding-bottom: 100px;
}

.video-container {
    width: 100%;
    margin: auto;
    /* max-width: 600px; */
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.card {
    border: 1px solid #ddd;
}

.card.link-card {
    margin-bottom: 15px;
}

.card.link-card .list-group-item {
    position: relative;
    min-height: 150px;
}

.card.link-card .list-group-item .text {
    position: absolute;
    bottom: 15px;
}

.form-group label.form-check-label,
.form-check-label {
    font-weight: normal;
}

.proveedor-detalle-tab {
    font-size: 80%;
}

.proveedor-detalle-tab h5 {
    margin-bottom: 5px;
}

.data-group-row {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.data-group-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.wrapper-tabla.linked-table .table tbody {
    max-height: 215px;
    overflow-y: auto;
    display: block;
}
.wrapper-tabla.linked-table .table tbody tr,
.wrapper-tabla.linked-table .table tbody tr td {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.wrapper-tabla.linked-table .table tbody tr td {
    padding: 2px 15px;
    cursor: pointer;
}
.wrapper-tabla.linked-table .table tbody tr td.ttable-no-data {
    padding: 40px;
}
.wrapper-tabla.linked-table .table tbody tr td:hover {
    background-color: #eee;
}
.wrapper-tabla.linked-table .table tbody tr td.selected {
    background-color: #eee;
    border-bottom-color: #999;
    color: #11111e;
}
.wrapper-tabla.linked-table .pagination-container {
    margin-top: 5px;
}
.wrapper-tabla.linked-table .pagination-container .pagination-page {
    padding: 0 7px;
}
.wrapper-tabla.linked-table {
    margin-bottom: 10px;
}

ol.faqs-section {
    list-style: none;
    counter-reset: item;
    padding: 0;
}
ol.faqs-section li {
    counter-increment: item;
    margin-bottom: 5px;
}
ol.faqs-section li:before {
    content: counter(item) ". ";
    display: inline-block;
    color: #484A61;
    font-weight: bold;
}

ol.faqs-section li .pregunta {
    margin-bottom: 5px;
    font-size: 110%;
    display: inline;
}
ol.faqs-section li .respuesta {
    margin-left: 15px;
    margin-bottom: 30px;
}

.subtitle {
    font-size: 12px;
    font-weight: normal;
}
p.tabbed {
    margin-left: 30px;
}

.tipo-registro-rbpcme,
.tipo-registro-rupc {
    display: none;
}

.acceso-proveedor-link:hover {
    opacity: 0.9;
}

.cont_confirmar {
  background: transparent url(../img/bg_contr_estaticas.jpg) repeat-y top left;
  padding: 0px 10px 0px 20px;
  overflow: hidden;
  font: normal 12px/20px Arial;
  width: 742px;
}

.detalles-proveedor-dialog ul.nav {
    padding: 0;
    background-color: #F1F1F1;
    margin-top: 15px;
    margin-bottom: 10px;
}

.detalles-proveedor-dialog ul.nav li.nav-item a.nav-link {
    font-size: 14px;
}

.detalles-proveedor-dialog ul.nav li.nav-item a.nav-link .border-tab {
    margin-bottom: -2px;
}

.detalles-proveedor-dialog .remote-html p {
    margin-bottom: 2px;
}

.detalles-proveedor-dialog table.table thead tr th,
.detalles-proveedor-dialog table.table tbody tr td {
    padding: 3px 5px;
}
