.bg-dark-95 {
    background-color: rgba(17, 11, 17, 0.7)!important;
}

/*
 * font
 */

 @font-face {
    font-family: "SofiaPro-SemiBold";
    src: url(/static/domanager/font/sofia-pro-semibold.ttf) format("truetype");
}

body { 
    font-family: "SofiaPro-SemiBold" !important;
    color: #ffffff;
}

/*
 * Background
 */
.bg-dark {
    --bs-bg-opacity: 1;
    /* background: no-repeat fixed bottom -50% right -50% url(/static/domanager/img/rockup_logo.png) rgba(17, 11, 17,1)!important; */
    /* background-size: contain; */
    /* --bs-bg-opacity: 1; */
    /* background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: bottom -100% right -100%; */
    background-color: rgba(17, 11, 17,1)!important;
    /* background-image: url(/static/domanager/img/rockup_logo.png); */
}

.blur {
    backdrop-filter: blur(10px);
}

.bg-secondary {
    --bs-bg-opacity: 0.5!important;
    background-color: rgba(0,0,0,var(--bs-bg-opacity))!important;
}

.bg-danger {
    background-color: #c65464 !important;
    color: #ffffff !important;
}

.bg-warning {
    background-color: #db9840 !important;
    color: #ffffff !important;
}

.bg-success {
    background-color: #2fc178 !important;
    color: #ffffff !important;
}

.bg-r-theme {
    background-color:#13b5f8 !important;
    color: #000000 !important;
}

.bg-r-theme2 {
    background-color:#127cab !important;
    color: #000000 !important;
}

.bg-r-theme3 {
    background-color:#12445a !important;
    color: #000000 !important;
}

.bg-r-theme4 {
    background-color:#89cbe5 !important;
    color: #000000 !important;
}

/*
 * Text Background
 */

.text-bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(17, 11, 17,1)!important;
}

.border {
    backdrop-filter: blur(10px);
}

/*
 * Font color
 */

.text-danger {
    color: #c65464 !important;
}

.text-warning {
    color: #db9840 !important;
}

.text-success {
    color: #2fc178 !important;
}

.text-r-theme {
    color: #13b5f8 !important;
}

.text-r-theme2 {
    color: #127cab !important;
}

.text-r-theme3 {
    color: #12445a !important;
}

.text-r-theme4 {
    color: #89cbe5 !important;
}

/*
 * Heading
 */

h1, h2, h3, h4, h5 {
    color: #13b5f8 !important;
}

/*
 * Table
 */

.table-dark {
    --bs-table-color: #fff;
    --bs-table-bg: rgba(17, 11, 17, 0.6)!important;
    --bs-table-border-color: #373b3e;
    --bs-table-striped-bg: rgba(47, 41, 47, 0.3)!important;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: rgba(200,200,200,0.1);
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: rgba(86, 70, 105, 0.5)!important;
}

.table-dark tr>th {
    color: white !important;
    background-color: rgba(200,200,200,0.1);
}

/*
 * Accordion
 */

.accordion {
    --bs-accordion-bg: rgba(66, 50, 85 ,0.6)!important;
    --bs-accordion-border-color: rgba(255, 255, 255, 0.3)!important;
    --bs-accordion-btn-color: rgba(255, 255, 255, 0.6)!important;
    --bs-accordion-active-color: rgba(255, 255, 255, 0.6)!important;
    --bs-accordion-active-bg: rgba(66, 50, 85 ,1)!important;
}

/*
 * requests
 */

.request, .cancelYesDialog {
    cursor:pointer;
}

/*
 * modal
 */

 .modal {
    --bs-modal-zindex: 1055;
    --bs-modal-width: 500px;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: rgba(17, 11, 17,0.95)!important;
    --bs-modal-border-color: rgba(255 255 255 / 10%);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: 0.5rem;
    --bs-modal-box-shadow: 0 0.125rem 0.25remrgba(0, 0, 0, 0.075);
    --bs-modal-inner-border-radius: calc(0.5rem - 1px);
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: rgba(255 255 255 / 10%);
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
    --bs-modal-footer-border-color: rgba(255 255 255 / 10%);
    --bs-modal-footer-border-width: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
 }

.cancelYesDialog {
    float:left;
}

/*
 * Fancy Tables
 */

.sortArrow {
    border-top-color: white !important;
    border-bottom-color: white !important;
}

.fancySearchRow>th {
    padding:0px !important;
}

.fancySearchRow>th>input {
    background-color: rgba(0,0,0,22%);
    border-top:1px solid rgba(255,255,255,50%);
    border-bottom:1px solid rgba(255,255,255,50%);
    border-left:0px;
    border-right:0px;
    height:2rem;
    color: white;
    padding-left:0.5rem;
}

input:focus, button:focus {
    outline-width: 0;
}

#pagination_alignment {
    float:right;
}

#pagination a {
    width:2.5rem;
    height:2.5rem;
    display: inline-table;
    text-align: center;
    color:white;
    text-decoration:none;
}

/* table::after {
    display: inline-block;
    vertical-align: -.125em;
    color: white;
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
    height:1em;
    width:1em;
} */

.copyTarget {
    cursor:pointer
}

/* Spinner / Loader */
.spinner-border {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
}

.htmx-indicator{
    opacity:0;
    transition: opacity 20ms ease !important;
}
.htmx-request .hx-indicator{
    opacity:1;
}
.htmx-request.hx-indicator{
    opacity:1;
}

/* Detail view */

#detail-view {
    height: 100%;
    background: var(--card-background-color);
    position: fixed;
    z-index: 500;
    overflow-x: hidden;
    right: 0;
    top: 0;
    padding: 5rem 1rem;
    overflow:auto;
    transition: 0.5s;
    width: 50%;
    box-shadow: var(--card-box-shadow);
  }
  
  #detail-view>.close {
    z-index: 2;
    left: 0.5rem;
    top: 0.5rem;
    font-size:2rem;
    font-weight:400;
    color: var(--del-color);
    cursor:pointer;
  }
  
  #detail-view>.close>button {
    padding:0.2rem
  }
  
  .hidden {
    right: -100% !important
  }
  @media (max-width: 992px) {
    #detail-view {
      width: 50%;
    }
  }
  @media (max-width: 768px) {
    #detail-view {
      width: 100%;
    }
  }
  @media (max-width: 576px) {
    #detail-view {
      width: 100%;
    }
  }