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;
}

.content {
  padding-bottom: 80px;
}

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

.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;
}

/* 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;
}