:root {
  --theme-color-primary: #1f4174;
  --theme-color-danger: #E1003A;
  --theme-color-warning: #DF8503;
}

.vh100{
    min-height: calc( 100vh - 120px);
}

.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
  }
  
  /*
   * Sidebar
   */


   .bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

  .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }

  .b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }

  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }

  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }

  .nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
  }

  .bd-mode-toggle {
    z-index: 1500;
  }

  .bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
  }
  
  @media (min-width: 768px) {
    .sidebar .offcanvas-lg {
      position: -webkit-sticky;
      position: sticky;
      top: 48px;
    }
    .navbar-search {
      display: block;
    }
  }
  
  .sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
  }
  
  .sidebar .nav-link.active {
    color: #2470dc;
  }
  
  .sidebar-heading {
    font-size: .75rem;
  }
  
  /*
   * Navbar
   */
  
  .navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
  }
  
  .navbar .form-control {
    padding: .75rem 1rem;
  }


  .editor {
    height: 500px;
  } 

  .hidden {
    opacity: 0;
    z-index: -999;
  }

  td {
    vertical-align: middle;
  }

  .btn-primary {
    --bs-btn-bg: var(--theme-color-primary);
    --bs-btn-border-color: var(--theme-color-primary);
    --bs-btn-disabled-bg: var(--theme-color-primary);
    --bs-btn-disabled-border-color: var(--theme-color-primary);
  }

  .bg-primary {
    background-color: var(--theme-color-primary) !important;
  }

  a:not(.btn, .page-link) {
    color: var(--theme-color-primary) !important;
  }

  .active>.page-link,
  .page-link.active {
      background-color: var(--theme-color-primary);
      border-color: var(--theme-color-primary);
  }

  .btn-danger {
    --bs-btn-bg: var(--theme-color-danger);
    --bs-btn-border-color: var(--theme-color-danger);
    --bs-btn-disabled-bg: var(--theme-color-danger);
    --bs-btn-disabled-border-color: var(--theme-color-danger);
  }

  .text-danger {
    color: var(--theme-color-danger) !important;
  }

  .text-warning {
    color: var(--theme-color-warning) !important;
  }

  .nav-link,
  .page-item:not(.active) .page-link {
    color: var(--theme-color-primary) !important;
  }

  .singleDomainLine:first-child:last-child .deleteLineBtn {
    display: none;
  }

  /* .nav-item:not(.active) {
    opacity: 0.6;
  }

  .nav-item:hover {
    opacity: 1;
  } */

  /* Target the rendered Select2 container */
.select2-container--default .select2-selection--single {
  padding-top: 1.625rem !important;
  padding-bottom: 0.625rem !important;
  height: calc(3.5rem + calc(var(--bs-border-width, 1px) * 2)) !important;
  min-height: calc(3.5rem + calc(var(--bs-border-width, 1px) * 2)) !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* Ensure the selected text is vertically aligned */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.25 !important;
  padding-left: .75rem !important;
  padding-right: .75rem !important;
  margin: 0 !important;
  flex: 1 !important;
}

/* Adjust the arrow position */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
}

.domain-availability-log-table tbody tr td {
  box-shadow: none !important;
}