/* bs5 to bs4 polyfills */

/* forms */
/* @see https://stackoverflow.com/a/67655097/763010 */
.form-inline .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}
.form-row > .col {
  padding-left: 5px;
  padding-right: 5px;
}

/*.cw-bulk-actions ul li {
    float: left;
    margin-right: 1rem;
}*/

/**
 *  CW BUTTON STYLE
 */

.btn-cw {
    color: #FFFFFF !important;
    background-color: #8A0000;
    /*background-image: none;*/
    /*border: none;*/
    display: block;
    /*border-radius: 8px !important;*/
    /*padding: 10px 15px;*/
    /*text-transform: uppercase;*/
    white-space: normal;
    /*margin: 2px;*/
}

.btn-cw:hover,
.btn-cw:focus,
.btn-cw:active,
.btn-cw.active,
.open .dropdown-toggle.btn-cw {
    color: #FFFFFF !important;
    background-color: #6A0000;
    border-color: #FFFFFF;
    text-decoration: none !important;
}

.btn-cw:active,
.btn-cw.active,
.open .dropdown-toggle.btn-cw {
    background-image: none;
}

.btn-cw.disabled,
.btn-cw[disabled],
fieldset[disabled] .btn-cw,
.btn-cw.disabled:hover,
.btn-cw[disabled]:hover,
fieldset[disabled] .btn-cw:hover,
.btn-cw.disabled:focus,
.btn-cw[disabled]:focus,
fieldset[disabled] .btn-cw:focus,
.btn-cw.disabled:active,
.btn-cw[disabled]:active,
fieldset[disabled] .btn-cw:active,
.btn-cw.disabled.active,
.btn-cw[disabled].active,
fieldset[disabled] .btn-cw.active {
    background-color: #8A0000;
    border-color: #000000;
}

.btn-cw .badge {
    color: #8A0000;
    background-color: #FFFFFF;
}

.btn-cw-main {
    /*font-size: large;*/
    color: #FFFFFF !important;
    background-color: black !important;
    background-image: none;
    border: 1px solid white;
    display: block;
    padding: 10px 15px !important;
    text-transform: uppercase;
    text-align: center;
    white-space: normal;
    margin-top: 5px;
    margin-left: -15px;
    margin-right: -15px;
}

.btn-cw-tip {
    background-color: #8A0000 !important;
    /*padding: 10px !important;*/
    /*   margin: 10px 5%;*/
    margin: 5px 0;
    border-radius: 0px !important;
    border: 1px solid white;
    font-weight: 700;
    padding: 0;
}

.btn-cw-plain {
    display: inline-block;
    padding: 10px 0;
    color: white;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-cw-plain:focus,
.btn-cw-plain:hover {
    text-decoration: none;
}

.btn-cw-plain svg {
    font-weight: 500;
    color: white;
    display: block;
    margin: 0 auto;
}

/* CALL TO ACTION BUTTONS */
.btn-cw-c2a {
    border-radius: 8px !important;
    padding: 5px 15px !important;
    white-space: nowrap;
}

/* RESOURCE BUTTONS */
.btn-cw-res {
    background-image: none;
    border: none;
    display: block;
    padding: 10px 15px;
    text-transform: uppercase;
    /*text-decoration: underline;*/
    white-space: normal;
    margin: 2px;
    font-weight: 600;
    color: #002c72;
    height: 60px;
    width: 165px;
}

.btn-cw-res svg {
    color: black;
}

#main a.btn-success.btn-link {
    color: white;
}

/* BACK BUTTON */

.btn-back {
    float: left;
    font-size: 24px;
    color: white;
    /*padding: 8px;*/
}

/* MODAL BUTTONS */
/*.modal .form-group .btn-primary {
    color: #FFFFFF !important;
    background-color: #8A0000;
    background-image: none;
    border: none;
    display: block;
    border-radius: 8px !important;
    padding: 10px 15px;
    text-transform: uppercase;
    white-space: normal;
    margin: 2px;
}*/

/* PAGER BUTTONS */

.dg-pager-btn {
  margin-right: 1rem;
}

.cw-cursor-help:hover {
  cursor: help;
}
.cw-cursor-pointer:hover {
  cursor: pointer;
}

#primary-local-tasks ul.nav li.nav-item a.nav-link.active {
  text-decoration: underline;
  font-weight: bold;
}

fieldset legend span.badge {
  font-size: .9rem;
}

.element-invisible {
  display: none;
}

#content {

  margin-top: 54px; /* same height as header nav */

}

@media (max-width: 767.98px) {

  #content {

    /*margin-bottom: 56px;*/ /* same height as footer, plus 15px */

  }

  #primary-local-tasks {
    display: none;
  }

}

.cw-node-charges {
  text-transform: uppercase;
  color: #DC3545;
}

.cw-offender-name {
  text-transform: uppercase;
  font-weight: bold;
}

.cw-offender-block .row p {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {

  .cw-node-charges li {
    list-style-type: none;
  }

  .cw-offender-block {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
  }

}

/* tabs | primary + secondary */
ul.dashboard-tabs a.nav-link.active {
  text-decoration: underline;
}

/* primary tabs */
ul.dashboard-primary-tabs a.nav-link {
  color: var(--bs-secondary);
}
ul.dashboard-primary-tabs a.nav-link.active {
  background-color: var(--bs-light);
  color: var(--bs-dark);
  font-weight: bold;
}

/* secondary tabs */
ul.dashboard-secondary-tabs a.nav-link {
  color: var(--bs-secondary);
}
ul.dashboard-secondary-tabs.nav-pills a.nav-link.active {
  background-color: var(--bs-light);
  color: var(--bs-dark);
  font-weight: bold;
}

/* list pane */
.dashboard-list-pane img.core-dashboard-item-view.border:hover {
  cursor: pointer;
  border-color: var(--bs-primary) !important;
}
.create-item-btn.sticky-bottom { /* mobile only */
  bottom: 7vh;
  left: 82vw;
}
.dashboard-list-pane span.badge.border {
  border-width: 2px !important;
}

/* view pane */
.dashboard-view-pane .cw-node-body iframe {
  max-width: 100%;
}

/* FORMS DASHBOARD */
/* description list */
.forms-dashboard fieldset dl fieldset {
  margin: 0 1rem 0 1rem;
}
/* submitted time */
.submission-submitted {
  font-size: 1.5rem;
}

/* GOOGLE MAPS ADVANCED MARKER ELEMENT + FONT AWESOME */
.fa-marker-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* croppr */
.modal.croppr-modal .card:hover {
  cursor: pointer;
}
.cropprPopover {
  --bs-popover-max-width: 420px;
}
.cropprPopover ol, ul {
  padding-left: 1rem;
  margin-bottom: 0;
}

/* file browser widget */
.file-browser-widget .card img:hover {
  cursor: pointer;
}

/* file stock widget */
.file-stock-widget .nav button.active{
  text-decoration: underline;
}
.file-stock-widget .card img:hover {
  cursor: pointer;
}

/* reorder */
.content-form-input-reorder-cards .card:hover {
  cursor: move;
}

/* offender profile search */
.offender-profile-search .card:hover {
  cursor: pointer;
}

/* dark mode */
html[data-bs-theme="dark"] fieldset.bg-light {
  background-color: transparent !important;
}
html[data-bs-theme="dark"] tr.table-light.even {
  --bs-table-bg: var(--bs-body-bg);
}

/* GroupMenu */
#groupMenuRoot li svg.fa-arrows-alt:hover {
  cursor: move;
}

/* pager */
.dg-pager-btn {
  margin-bottom: 1rem;
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

  #core-dashboard button#save {
    margin-bottom: 3rem !important;
  }

  .dashboard-view-pane,
  .dashboard-list-pane .list-group .list-group-item button {
    scroll-margin-top: 70px;
  }

  .forms-dashboard .dashboard-view-pane .primary-view-btn-group {
    margin-top: 1rem;
    text-align: center;
    display: block;
  }
  .forms-dashboard .dashboard-view-pane .primary-view-btn-group .btn-group {
    margin-bottom: 1rem;
  }
  .forms-dashboard .dashboard-view-pane .primary-view-btn-group .btn-group.border-end {
    border-right: none !important;
  }

}

.form-select-list-icon,
.form-number-input-icon {
  position: absolute;
  margin-top: .7rem;
}

.form-input-preview {
  margin-bottom: 1rem;
}
.form-input-preview:hover {
  cursor: pointer;
  box-shadow:
    inset 0 -3em 3em rgb(222 222 222 / 30%),
    0 0 0 2px white,
    0.1em 0.1em 1em rgb(13 110 253 / 60%);
}

.cw-list-group .list-group-item {
    background: #212121;
    border: 1px solid #3D3D3D;
    /*text-transform: uppercase;*/
    text-decoration: none;
    text-align: left;
    color: white;
    clear:both;
    overflow:auto;
}

.cw-list-group .list-group-item:nth-child(even) {
    background: #2d2d2d;
}

.content-list .list-group-item {
    background: #1C1C1C;
    color: #CCCCCC;
    border: 1px solid #2D2D2D;
    /*margin: 15px 0 15px 0;*/
}

.cw-list-group .list-group-item a {
    color:#FFFFFF;
    text-decoration:none;
    display:block;
}

#navbarLeft,
#navbarRight {
  z-index: 1054; /* one less than bs5's default */
}
#off-road {
  z-index: 6001; /* must be greater than dg-overlay z-index */
}

#footer {
  display: none;
}

body.noscroll {
  width:100%;
  /*    background:black;
      opacity:0.7;*/
  /*background-color:rgba(0, 0, 0, 0.8);*/
  overflow: hidden;
  /*position: absolute;*/
  /*position: fixed;*/
  touch-action:none;
}

/* OVERLAY */
/*.overlay {
    display: none;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    position: fixed;
    background-color: rgba(0,0,0,.4);
    z-index: 3000;
    overflow: hidden;
    touch-action:none;
}*/

#dg-overlay {
    display:none;
    position:fixed;
    /*position:absolute;*/
    background-color: #000;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    opacity:0.4;
/*    transition: opacity 0.5s, visibility 0s 0.5s;*/
/*    transform: translate3d(0,0,0);*/
    transition: opacity .15s linear;
    -webkit-transition: opacity .15s linear;
    -moz-transition: opacity .15s linear;
    -ms-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    overflow: hidden;
    /*overflow-y: scroll;*/

    /* This default z-index must be larger than .navbar's default z-index and must bet lower than the default z-index
       on .modal-node */
    z-index:6000;


    width: 100%;
    height: 100%;
    touch-action:none;
}

.overlay-pinned {
    display: block !important;
/*    width: 100%;
    height: 100%;*/
    /*overflow: hidden;*/
    /*overflow: auto;*/
    /*touch-action: none;*/
    /*position:fixed;*/
}

.overlay-noscroll {
    display: block !important;
    overflow: hidden;
    touch-action: none;
    /*Position fixed here causes headerbar to scroll to the top evertime the overlay appears, but solves bg scrolling.  */
     /*position:fixed;*/
     /*overflow: auto;*/
     /*overflow-y:*/
     /*top: 0;*/ 
/*     left: 0; 
     right: 0; 
     bottom: 0;*/
}

.overlay-4k {
    z-index: 4001 !important;
}

.overlay-5k {
    z-index: 5001 !important;
}

.overlay-6k {
    z-index: 6001 !important;
}

/* BS5 utility class */

.z-1 {
  z-index: 1;
}

#toast {
    font-size: large;
    visibility: hidden; /* Hidden by default. Visible on click */
    max-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #000000; /* Black background color */
    background-color: rgba(0,0,0,0.9);
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 8px; /* Rounded borders */
    border:2px solid #B00000;
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 10000; /* Add a z-index if needed */
    left: 50%; /* Center the toast */
    /*margin: 0 auto;*/
    bottom: 60px; /* 30px from the bottom */
    display: none;
}


#toast.show {
    visibility: visible; /* Show the toast */
    display: block;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
    animation: fadein 0.5s, fadeout 0.5s 3.5s;
}
/* TODO make an e.g. show-slow class here with a longer fadeout, some work has to go into dg_toast for this. */

/* Animations to fade the toast in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 60px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 60px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 60px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 60px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.group-analytics ul.nav li a.active {
  color: var(--bs-dark);
}

#audit-seo-quick-tabs ul.nav.quick-tabs li.active {
    font-weight: bold;
}

#gateway-form #edit-mail, #gateway-login-form #edit-pass {
  margin-top: 10px;
}

#form-wrapper-gateway-form,
#form-wrapper-gateway-login-form,
#gateway-forgot-password-form,
#gateway-register-form {
/*#gateway-location-form {*/
  background-color:rgba(0, 0, 0, 0.8);
  margin-top:25vh;
  margin: 10vw;
  max-width:450px;
  min-width:250px;
  text-align: center;
  border: 1px solid #2D2D2D;
  box-shadow: 0 5px 6px 2px rgba(0,0,0,.75);
  padding: 30px;
  word-wrap: break-word;
  color:white;
}

#gateway-form .form-group-actions {
  float: right;
}

.gateway .btn-link {
/*  color: #CCCCCC;
  float: left;*/
/*    font-size: small;*/
}

#gateway-forgot-password-form, #gateway-register-form, #gateway-location-form {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding-bottom: 50px;
}

.location-modal #gateway-location-form {
  border: none;
  box-shadow: none;
  min-width:0;
  padding:5px;
}

#gateway-register-form .form-group #edit-submit,
#gateway-forgot-password-form .form-group #edit-submit {
  margin: auto;
}
#gateway-register-form .form-group #edit-submit {
  margin-top: 1rem;
}

.cw-gateway-bg {
  background: url("images/cw-gateway.jpg") !important;
  height: 100%; 
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

#notificationsContainer {
    margin: 5px -5px 70px;
}

#notifications-pane {
    position: fixed;
    margin-top: 50px;
    right:0;
    overflow-y: scroll;
    height: 90%;
}

#notifications-pane,
nav.navbar .fa-bell span {
    display: none;
}
nav.navbar svg.fa-circle {
    display: none;
    position: absolute;
    /*font-size: 1.1em;*/
    top: 0;
    color: red;
    /*padding-left: 7px;*/
    margin-left: 5px;
}

nav.navbar span.num {
    display: none;
    position: absolute;
    /*font-size: 0.7em;*/
    top: 0;
    color: #fff;
    /*padding-left: 14px;*/
    font-size:12px;
    margin-left:12px;
    margin-top:2px;
    font-weight:700;
    text-align:center;
}

nav.navbar span.num.char-2 {
    margin-left:9px;
}

nav.navbar span.num.char-3 {
    margin-left:6px;
}

/* @TODO this probably needs to be updated to use selectors similar to above*/
#cw-app-navbar-right .navbar-nav > li > a.hasNew {
    color: white
}

/**
 * NOTIFICATIONS LIST
 */
/*ul.notifications.list-group li {
    width: 256px;
}*/

ul.notifications.list-group li.notification-new {
    background-color: #eee;
}

/*ul.notifications.list-group li.notification-unread,
ul.notifications.list-group li.notification-read {
}*/

ul.notifications.list-group li a {
    color: black !important;
}
ul.notifications.list-group li a:hover {
    text-decoration: none;
}
ul.notifications.list-group li h4 {
    font-weight: bold;
    margin: 0;
    text-align: left;
    margin-bottom: 4px;
    color: black;
}
ul.notifications.list-group li h4 a {
    text-transform: uppercase;
    font-weight: bold;
}
.navbar-nav ul.notifications.list-group li a {
    padding: 0;
}
ul.notifications.list-group li p,
#notifications-pane list-group li p{
    color: black;
    margin: 0;
    margin-bottom: 4px;
}
/*ul.notifications.list-group li div {
    color: gray;
    clear: both;
}*/

ul.notifications.list-group {
    border:1px solid #3d3d3d;
}

#notifications-pane ul.notifications.list-group li div {
    color: black;
    /*text-transform: uppercase;*/
}

#notificationsContainer .group-micro,
#notifications-pane .group-micro{
    margin-top: 10px;
    margin-bottom: 0px;
    clear: both;
    max-width: 80%;
}

#notificationsContainer li svg:first-of-type,
#notifications-pane li svg:first-of-type{
    position: absolute;
    right: 5px;
    top: 44%;
}

#notificationsContainer li .badge,
#notifications-pane li .badge {
    float: right;
    bottom: 5px;
    position: absolute;
    right: 5px;
}

#notificationsContainer li.list-group-item {
    background: #212121;
    margin-bottom: 5px;
    border: 1px solid #3d3d3d;
    padding: 0;
}

#notificationsContainer li.list-group-item:nth-child(even) {
    background: #2D2D2D;
}

#notificationsContainer .caption {
    margin: 0 0 0 102px;
    color: #CCC;
    padding: 0 4px;
}

#notifications-pane .caption {
    margin: 0 0 0 66px;
    padding: 0 4px;
}

#notificationsContainer .item-source,
#notificationsContainer .item-details,
#notifications-pane .item-source,
#notifications-pane .item-details{
    font-size: smaller;
    font-weight: 400;
    color: #848484;
    margin: 0;
}

#notificationsContainer .item-body {
    color: #CCC;
    line-height: 1.2;
    margin:0;
    padding:0;
}

#notificationsContainer .thumbnail,
#notifications-pane .thumbnail {
    background: none;
    border: none;
    margin-bottom: 0;
    overflow:auto;
}

#notifications-pane .item-title,
#notifications-pane h5 {
    color: black;
    font-weight: bold;
}

#notifications-pane {
    width: 100%
}

#notifications-pane .list-group-item {
    padding: 0;
    overflow: auto;
}

#notificationsContainer .thumbnail img {
    height: 96px;
    width: 96px;
    clear: both;
}

#notifications-pane .thumbnail img {
    height: 64px;
    width: 64px;
    clear: both;
}

#notificationsContainer .item-body {
    display:block;
}

#notificationsContainer .item-title {
    white-space:normal;
}
.croppr-modal .media:hover {
  cursor: pointer;
}

/***** NEW SEARCH UI/UX *******/
.search-wrapper {
  display: none;
  width: 0;
  background: #8A0000;
}

.search-wrapper.active {
    display:block;
    width:100%;
    position:fixed;
    height: 50px;
    width: 100%;
    top: 0;
    left: 0;
    z-index:100;
}

.search-wrapper .input-holder {
    overflow: hidden;
    background: rgba(255,255,255,0);
    min-width: 50%;
}

.search-wrapper.active .input-holder {
    height:50px;
    text-decoration: none;
}

.search-wrapper .input-holder .search-input {
    width:0;
    opacity: 0;
    height:50px;
    background: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border:none;
    outline:none;
    font-size: 18px;
    line-height: 28px;
    color:#FFF;
}

.search-wrapper.active .input-holder .search-input {
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    text-decoration: none;
    width:100%;
    opacity: 1;
}

.search-wrapper .input-holder .search-icon {
    border:none;
    background: transparent;
    padding:0px;
    outline:none;
    position: relative;
    z-index: 2;
    float:right;
    cursor: pointer;
}
.search-wrapper.active .input-holder .search-icon {
    margin: 10px;
}
.search-wrapper .input-holder .search-icon span {
    width:22px;
    height:22px;
    display: inline-block;
    vertical-align: middle;
    position:relative;
}

.search-wrapper span.btn {
  color: white;
}
.search-wrapper span.btn.close,
.search-wrapper span.btn.filters {
  margin-top: .4rem;
  opacity: unset;
}

#sunset-quick-tabs ul.nav.quick-tabs li.active {
    font-weight: bold;
}

#magic-button {
    background: none;
    cursor: pointer;
}

#magic-form label {
    font-weight: bold;
}

#modal-magic {
    margin-bottom:4px;
}

.magic-group {
    bottom: 0;
    border: 2px solid #FFFFFF;
    border-radius: 32px;
    position: fixed;
    background-color: #000000;
    margin-left: -32px;
    height: 68px;
    width: 68px;
}

.cw-magic .modal-header h2 {
    font-size: medium;
    font-weight: bold;
}

.cw-magic .list-group-item img {
    width:96px;
    height:96px;
    margin-right:10px;
}

.cw-magic .list-group-item .group-micro .group-logo {
    float: left;
}

.cw-magic .list-group-item .group-micro p {
    font-weight: 400;
    font-size: smaller;
    color: #afafaf;
}

.cw-magic .list-group-item {
    padding:5px;
    text-align: left;
    text-transform: uppercase;
    clear:both;
    overflow:auto;
}

.cw-magic .list-group-item .group-micro a {
    font-weight:bold;
    color:white;
    text-decoration:none;
    overflow:auto;
}

.cw-magic .list-group-item button {
    position: absolute;
    float: right;
    bottom: 5px;
    right: 5px;
}

#magic-following-list {
    overflow-x: auto;
    white-space: nowrap;
    height: 75px;
    border-bottom: 1px solid #2D2D2D;
    margin: 10px -15px;
    text-align: center;
}

#magic-following-list img,
#magic-following-list .fa-plus-circle {
    border: 1px solid #FFFFFF;
    border-radius: 33px;
    background-color: #000000;
    margin: 0 5px;
    height: 66px;
    width: 66px;
}

#magic-following-list .fa-plus-circle {
    background: #CCC;
    color: #1C1C1C;
    font-size: 235px;
}

.address-autocomplete-results {
  z-index: 6001; /* one more than .modal */
  margin-top: 38px;
  margin-left: 46px;
}

.address-autocomplete-results .list-group-item:hover {
  cursor: pointer;
}

.ck-editor__editable_inline {
    min-height: 25vh;
}

/* DESKTOP */
@media screen and (min-width: 768px) {

  /* make the right side bar sticky on the ContentFormManager */
  .ContentFormManagerRightSide {
    padding-block: .5rem;
    position: sticky;
    top: 0%;
  }
  
}

#media-browser .card img:hover,
#attachments-browser .card:hover {
  cursor: pointer;
}

.charges-autocomplete .list-group-item.active {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

#content-dashboard-quick-tabs .dg-pager-btn {
    margin-right: .5rem;
}

table#content-dashboard-item-list tbody tr:hover {
    background-color: #eee;
}

/*WIP*/
/*table#content-dashboard-item-list .nodeBtnOpWrapper {
    float: right;
    position: relative;
    top: 0;
    right: 0;
}*/

ul#content-dashboard-item-list li button {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}

#form-wrapper-content-dashboard-filters {
  z-index: 6001;
}

.workflow-state-tabs {
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

/**
 * GROUP DASHBOARDS
 */

#group-privy-btns {
  position: fixed;
  bottom: 0;
  right: -6px;
  background-color: white;
}

/**
 * GROUP CONTENT
 */
button.add-content span {
  font-size: 1.5rem;
}

/**
 * GROUP MEMBERS (USERS)
 */
.group-members-list-group .badge {
  font-size: 1rem;
  font-weight: normal;
}
#group-members-roles-tabs {
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

/**
 * RESPONSIVE
 * @see cw_media.deviceSize()
 */

/* MOBILE */
@media screen and (max-width: 767px) {

  /**
   * GROUP DASHBOARDS
   */
  #group-privy-btns {
    padding-bottom: 56px;
  }

}

/* DESKTOP */
@media screen and (min-width: 768px) {

}

a:hover {
    cursor: pointer;
}
#dg-overlay {
  margin-top: 54px; /* the height of the navbar */
}

/**
 * MODALS
 */
.modal-wrapper {
  margin-bottom: 5rem;
}
.modal-wrapper .modal-header,
.modal-wrapper .modal-content,
.modal-wrapper .modal-footer {
    background-color: #fcfcfc;
    color: black;
}
.modal-wrapper.default .modal-header h2 {
    color: black;
}
.modal-close {
    color: #8A0000;
}
.modal-close:hover {
    color: #4a0101 !important;
}

/**
 * ACCOUNT
 */
#accountGroupsList .badge {
  font-size: 1rem;
  font-weight: normal;
}

#header,
#cw-go-navbar,
footer.bg-dark {
  background-color: black !important;
}

#cw-app-navbar i {
    margin-top: 0.5em;
}

#dg-progress-bar {
    height: 5px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 9999;
    visibility: visible;
    display: block;
    -webkit-animation: animate-loading 2s linear infinite;
    -moz-animation: animate-loading 2s linear infinite;
    -ms-animation: animate-loading 2s linear infinite;
    -webkit-animation: animate-loading 2s linear infinite;
    animation: animate-loading 2s linear infinite;
    background-image: linear-gradient(to right,#300202 0,#4b0202 50%,#4b0202 50%,#300202 100%);
    background-repeat: repeat-x;
    background-size: 60vw 5px;
    width: 200%;
    border:none;
    transition-delay: .5s;
    overflow:hidden;
}

#menuLeftCloseBtn {
  width: 38px;
}

#menuLeftMagicModal {
  z-index: 6002;
}
#menuLeftMagicModal .cw-list-group {
  font-size: 1.5rem;
}

/** DEPRECATED? **/

.sidenavBtn {
    font-size:1.5em;
    cursor:pointer;
    color: white;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
/*#main {*/
    /*transition: margin-left .5s;*/
    /*padding: 20px;*/
/*}*/

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/** DEPRECATED? **/

.sidenavRightBtn {
    font-size:1.5em;
    cursor:pointer;
    color: white;
}

/* The side navigation menu */
.sidenavRight {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenavRight */
}

/* The navigation menu links */
.sidenavRight a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenavRight a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenavRight .closebtn {
    position: absolute;
    top: 0;
    left: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
/*#main {*/
    /*transition: margin-left .5s;*/
    /*padding: 20px;*/
/*}*/

/* On smaller screens, where height is less than 450px, change the style of the sidenavRight (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenavRight {padding-top: 15px;}
    .sidenavRight a {font-size: 18px;}
}

#cw-admin-menu {
  left: 64px;
}
#cw-admin-menu a {
  color: white;
}
#cw-admin-menu a:hover {
  cursor: pointer;
}
#cw-admin-menu a.active {
  color: #868aff;
}

#menuLeftOpenBtn {
  text-decoration: none;
}

#navbarLeft #magicGroupRoles .badge {
  font-size: 1.1rem;
}

/**
 * PRIMARY LOCAL TASKS
 */

/* any region */
#primary-local-tasks ul.nav {
    white-space: nowrap;
    flex-wrap:nowrap;
    overflow-x: auto;
}
#primary-local-tasks ul.nav li {
    display: inline-block;
    float: none;
}

/* content region */
#content #primary-local-tasks ul.nav li.nav-item a.nav-link.active {
    color: #343a40;
}

/* footer region */
#footer #primary-local-tasks ul.nav li.nav-item a.nav-link {
  color: white;
}
#footer #primary-local-tasks ul.nav li.nav-item a.nav-link.active {
  color: #868aff;
}
