.img-responsive {
  display: block;
  /*margin: 0 auto;*/

  max-width: 70dvw;
  max-height: 50dvh;
  min-width: 50px;
  min-height: 50px;
  width: auto;
  height: auto;
}

@media (max-width: 576px) {
  .img-responsive {
    max-width: 50dvw;
  }
}

.breakAll { word-break: break-all; }
.hide { display: none; }
.hidden { display: none !important; visibility: hidden !important; }
.clear-both { clear: both; }
.display-block { display: block; }
.block { display: block !important; }
.block-inline { display: inline-block !important; }
.inline-block { display: inline-block !important; }

.bt-copyright {
  line-height: 1.5rem;
  font-weight: 400;
  color: #616161;
  font-size: 0.875rem;
}



/*#region bootstrap 5 columns */
.col-xs-5th,
.col-sm-5th,
.col-md-5th,
.col-lg-5th {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
}
.col-5-th {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 20%;
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;
}
@media (min-width: 768px) {
  .col-sm-5th {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 992px) {
  .col-md-5th {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1200px) {
  .col-lg-5th {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media only screen and (max-width: 992px) {
  .col-md-5th {
    width: 33%;
    float: none;
    display: block;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 33%;
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    max-width: 33%;
  }
  .col-md-5th.col-sm-5th {
    width: 20%;
    float: left;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media only screen and (max-width: 769px) {
  .col-md-5th.col-sm-5th {
    width: 50%;
    float: none;
    display: block;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/*#endregion bootstrap 5 columns */

/* Pagination Styles for BaseControllers.php Output */
.bt-pagination .pagination-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bt-pagination .pagination-wrapper ul li {
    margin: 0 5px;
}

.bt-pagination .pagination-wrapper ul li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 2.375rem;
    text-align: center;
    background: #ffffff;
    border: 1px solid #ebebeb;
    color: #171721;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s;
}

.bt-pagination .pagination-wrapper ul li.active a {
    background: #fab702;
    border-color: #fab702;
    color: #ffffff;
}

.bt-pagination .pagination-wrapper ul li a:hover {
    background: #fab702;
    border-color: #fab702;
    color: #ffffff;
}

.bt-pagination .pagination-wrapper ul li.Previous a,
.bt-pagination .pagination-wrapper ul li.Next a {
    width: auto;
    padding: 0 15px;
}

.bt-pagination .pagination-wrapper ul li.dot a {
    border: none;
    background: transparent;
    cursor: default;
}

/* Ensure images in grid are consistent */
.bt-media.standard img {
    width: 100%;
    max-width: 800px;
    max-height: 800px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Compact Titlebar */
.bt-titlebar.bt-titlebar-small {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.bt-titlebar.bt-titlebar-small h2 {
    font-size: 1.75rem;
    color: #171721;
    margin-bottom: 10px;
    font-weight: 700;
}

.bt-titlebar.bt-titlebar-small .bt-path {
    font-size: 0.875rem;
    color: #666;
}

.bt-titlebar.bt-titlebar-small .bt-path a {
    color: #004a99;
    text-decoration: none;
}

.bt-titlebar.bt-titlebar-small .bt-path .current {
    color: #666;
}
