/* smartadmin/bootsrap overide */

/* hide fields that are going to be replaced with js */
[data-component] {
  display: none !important;
}

html {
  font-size: inherit !important;
}


@media  (min-width: 980px) {
.hidden-with-menu {
  display: block;
}
  .hidden-menu .hidden-with-menu {
  display: none;
  }
}

@media  (max-width: 979px) {
  .hidden-with-menu {
  display: none;
  }
  .hidden-menu .hidden-with-menu {
  display: block;
  }
}

#dropdowns {
  position: absolute;
  top: 0;
  left: 0;
}

/* Kill the horrible flip animation */
.open > .dropdown-menu {
  animation-name: fadeIn;
}

/* Fix the active marker on the menu */

nav ul li.active > a::before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
}


.inline-block {
  display: inline-block;
}

.no-plan-selected {
  border: 2px solid #dc3545;
}

.usage-report-tr {
  height: 3.5em;
}

/* Button loader (backported from tailwind styles)*/

.bsbutton-indicator-spinner {
  position: relative;
}

.htmx-request .bsbutton-indicator-spinner,
.htmx-request.bsbutton-indicator-spinner,
.htmx-request .bsbutton-indicator-spinner:hover,
.htmx-request.bsbutton-indicator-spinner:hover {
  color: transparent;
  pointer-events: none;
}

.htmx-request .bsbutton-indicator-spinner:before, .htmx-request.bsbutton-indicator-spinner:before{
  color: #1e293b;
  content: "\f110"; /* font awesome fa-spinner */
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  animation: fa-spin 2s linear infinite;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Domains styles below */

.domains-table {
  table-layout: fixed;
}

.domains-th-shrink {
  width: 9em;
}

.domains-td {
  word-wrap: break-word;
}

.domains-domainpart {
  color: #D1D5DB;
}

.buzzshot-stripe-payment {
   padding-left:2%;
}

.buzzshot-stripe-payment input,
.buzzshot-stripe-payment .StripeElement {
  height: 40px;
  padding: 10px 12px;

  color: #32325d;
  background-color: white;
  border: 1px solid transparent;
  border-radius: 4px;

  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.buzzshot-stripe-payment input:focus,
.buzzshot-stripe-payment .StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.buzzshot-stripe-payment .StripeElement--invalid {
  border-color: #fa755a;
}

 .buzzshot-stripe-payment .StripeElement--webkit-autofill {
   background-color: #fefde5 !important;
 }


/* achievements */

.text-dark {
  color: #343a40 !important;
}

/* misc */

.new {
  color: white;
  background: red;
  border-radius: 5px;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 8px;
  font-weight: bold;
  position: relative;
  top: -4px;
}

#logo {
  width: 200px;
  margin-top: 2px;
  background: url(/static/marketing/img/logo3.png) left center no-repeat;
  background-size: contain;
  text-indent: -99999px;
}

#imagelightbox
{
    position: fixed;
    z-index: 9999;

    -ms-touch-action: none;
    touch-action: none;
}

.table th.table-sorting > a, .table th.table-sorting-asc > a, .table th.table-sorting-desc > a {
  display: block;
}

.table th.table-sorting {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATAgMAAAAPPt5fAAAACVBMVEUAAADIyMjl5eVIBBP/AAAAAXRSTlMAQObYZgAAAClJREFUCNdjwAYEwGQKiGDsBJFsTA5AUoJhAqZaiDhEDVg9RC/MHEwAANsMA91AQfd/AAAAAElFTkSuQmCC) no-repeat center right;
}

.table th.table-sorting-desc {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATAQMAAABInqSPAAAABlBMVEUAAABVVVUT3Vn+AAAAAXRSTlMAQObYZgAAAB1JREFUCNdjwAkcgPgBAwPjBwYG5h8MDOx/GAgBAKRJBBCQbHkwAAAAAElFTkSuQmCC) no-repeat center right;
}


.table th.table-sorting-asc {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATAQMAAABInqSPAAAABlBMVEUAAABVVVUT3Vn+AAAAAXRSTlMAQObYZgAAABxJREFUCNdjIATY/zAwMP9gYGD8AOQ8AGIHnEoBkNkEEEbbutQAAAAASUVORK5CYII=) no-repeat center right;
}

.table .th-review__rating {
  width: 110px;
}

.table .th-review__reviewed_date {
  width: 150px;
}

.table .th-group__location__name {
  width: 200px;
}


.star-rating {
  color: gold;
}

.error {
  color: red;
}

.success {
  color: green;
}


body > .loading-indicator {
  display: none;
}

body.loading > .loading-indicator {
  z-index: 999999;
  background-color: rgba(0,0,0,0.9);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  font-size: 3em;
}


/* photo modal */

.dropzone {
  display: flex;
}

.dropzone-click{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropzone-file {
  display: none !important;
}

.dropzone-label {
  font-size: 17px;
}

.complete .dropzone-label {
  display: none;
}

.is-dragover .dropzone-label {
  opacity: 0.5;
}


.dropzone-progress {
  display: none;
}

.is-uploading .dropzone-progress {
  display: block;
  width: 100%;
}

.is-uploading .dropzone-label {
  display: none;
}

.dropzone-preview {
  width: 100%;
  display: none;
}


.complete .dropzone-preview {
  display: block;
}

.photo-upload {
  margin-top: 10px;
}

.photo-list {
  height: 120px;
  overflow: auto;
  white-space: nowrap;
}

.photo-list img {
  margin-right: 5px;
}




.is-uploading .photo-list {
  opacity: 0.3;
  pointer-events: none;
}

img[src=""] {
 display: none;
}

/* achievements */

.achievement-icon {
  max-width: 5rem;
  max-height: 5rem;
  object-fit: contain;
  margin-top: -3rem;
}

/* group photos */

.group-photos {
  /* grid-template-columns: repeat(auto-fit, minmax(130px, 400px)); */
  /* display: grid; */
  /* gap: 0.5rem; */
}

.group-photos .group-photos-item {
  position: relative;
  display: inline-block;
  margin-left: 5px;
  margin-bottom: 5px;
  width: min-content;
  min-width: 130px;
  min-height: 100px;
  vertical-align: middle;
  text-align: center;
  border: 1px solid #ddd;
}

.group-photos-clickable {
  position: relative;
  display: inline-block;
}

.group-photos .group-photos-item img {
  height: 100px;
  max-width: 100%;
}

.group-photos-loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255,255,255,0.8);
  align-items: center;
  z-index: 100;
}

[data-group-photo-loading] .group-photos-loading {
  display: inline-flex;
}

.group-photos-loading > div {
  width: 100%;
  text-align: center;
}

.group-photos-menu {
  position: absolute;
  bottom: 0;
  right: 3px;
  border: 0;
  background: transparent;
  z-index: 101;
  padding: 0;
}

.group-photos-menu i {
  color: white;
  font-size: 20px;
  text-shadow: 0px 0px 7px black;
}

.group-photos-menu li {
  /* fix stupid styles from smartadmin css */
  position: static;
  margin: 0;
  padding: 0;
}

.group-photos-menu .text-danger {
  color: #b94a48;
}

.group-photos-add {
  display: inline-block;
  height: 100px;
  width: 150px;
  background-color: buttonface !important;
}


/* alerts */

.alert-messages {
  z-index: 999;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 200px;
}

/* group details */

.no-group-photo {
  background-color: lightgrey;
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-group-photo i {
  font-size: 100px;
}

.no-group-photo-inner {
  text-align: center;
  opacity: 0.8;
}


.metrics {
  display: flex;
  flex-wrap: wrap;
}


.metrics .metric {
  padding: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
}

.metrics .metric .fa, .metrics .metric .fab {
  font-size: 40px;
}

.metrics .metric span {
  font-size: 20px;
  font-weight: bold;
}

.metrics .metric h3 {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 0;
}

#imagelightbox {
 background: white;
}

.group-attendees td {
  vertical-align: middle !important;
}

.group-attendee-deleted > td {
  opacity: 0.5;
  color: red;
  text-decoration: line-through;
}

.group-attendee-deleted > .group-atendee-action {
  opacity: 1;
  text-decoration: none;
}

/* Timeslots */

 .timeslot-table {
   width: auto !important;
 }

 .timeslot input {
   display: none;
 }

 .timeslot input + label {
   opacity: 0.1;
   text-decoration: line-through;
 }

 .timeslot input:checked + label {
   opacity: 1;
   text-decoration: none;
 }

 .timeslot-location {
   margin-right: 100px;
 }

 .timeslot-container {
   flex-direction: row;
   flex-wrap: wrap;
   display: flex;
 }

 .timeslot-location-head {
   display: flex;
   justify-content: space-between;
   flex-direction: row;
 }

 .addslots-repeat-settings {
   display: none;
 }

 .addslots-repeat:checked ~ .addslots-repeat-settings {
   display: block;
  }

 #unsaved {
   display: inline-block;
   }

/* Stats */
.stats {
  margin-top: 20px;
}

.numbers {
  margin-bottom: 20px;
}

.number {
  padding: 1em;
  margin-top: 1em;
  width: 100%;
  background: #999999;
}

.number .compare {
  font-size: 15px;
  font-weight: bold;
  float: right;
  right: 5px;
  bottom: 5px;
}

.number .compare.positive {
  color: green;
}

.number .compare.negative {
  color: red;
}

.number .value {
  font-size: 30px;
  color: white;
}

.number.players {
  background: #6dc6c6;
}

.number.groups {
  background: #ec6f65;
}

.number-reviewsite {
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  background-origin: content-box;
}

.number.google {
  background-color: rgb(50, 132, 255);
}

.number.tripadvisor {
  background-color: rgb(0, 175, 135);
}

.number.facebook {
background-color: #415893;
}

.number.yelp {
  background-color: rgb(190, 60, 50);
}

.number.morty {
  background-color: rgb(43, 44, 62);
}


/* pending groups */

.pending-groups .groups td {
  vertical-align: middle !important;
}

.pending-groups .slot-time {
  font-size: 3em;
}

.pending-groups .slot-time .ampm {
  font-size: 80%;
  opacity: 0.8;
}

.pending-groups .group-name {
  font-size: 2em;
  font-style: italic;
}

.pending-groups .group-name {
  font-size: 2em;
  font-weight: bold;
}

.pending-groups .location-name {
  font-style: italic;
  margin-bottom: 1em;
}

/* invite link */

.invitelink {
  margin-bottom: 1em;
}

.invitelink .invitelink-url {
  margin-right: 0.5em;
}

.invitelink .invitelink-copy.copied {
  border-color: white !important;
  background: green !important;
  color: white !important;
}

.invitelink .invitelink-copy.copied .invitelink-copylink {
  display: none;
}

.invitelink .invitelink-copy .invitelink-copied {
  display: none;
}

.invitelink .invitelink-copy.copied .invitelink-copied {
  display: inline;
}


/* login-info */

.login-info .username {
  display: inline-block;
  margin-top: 6px;
  max-width: 80%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* notes modal */
.notesField {
  width: 100%;
  min-height: 300px;
  border: none;
  resize: vertical;
}

[data-edit-notes-content] {
  white-space: pre-wrap;
}

/* reviewsites */

.reviewsites-location {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.reviewsites-location > div {
  margin: 5px;
}

/* edit rooms */
.rooms-list .media, .rooms-list .media-body {
  overflow: visible;
}

.rooms-list .media-right {
  text-align: center;
}


/* photos page */

.photos-grid {
  margin-top: 60px;
}

.photos-delete {
  /* position: absolute; */
  /* bottom: 0; */
  /* right: 0; */
  /* border: 0; */
  /* background: transparent; */
  /* margin-top: 20px; */
  /* z-index: 101; */
  /* color: red; */
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  white-space: nowrap;
  color: #b94a48;
}

.photos-delete:hover {
  text-decoration: none;
  color: #fff;
  background-color: #3276b1;
}

.photos-delete i {
  /* text-shadow: 0px 0px 7px black; */
}

.photos-select {
  visibility: hidden;
}

.photos-image  {
  border: 1px solid transparent;
}

.photos-select:checked + .photos-image  {
  border: 1px solid black;
  box-shadow: 0px 0px 10px 5px #f1f500;
}


/* SMS messages */

.sms-contacts-unreads {
  background-color: #ff3924;
}

.sms-messages-outer {
  width: 100%;
  overflow: auto;
}

.sms-messages-unread-divider {
  display: flex;
  align-items: center;
  text-align: center;
}
.sms-messages-unread-divider::before, .sms-messages-unread-divider::after {
  content: '';
  flex: 1;
  border-bottom: thin solid #ff3924;
}
.sms-messages-unread-divider::before {
  margin-right: .25em;
}
.sms-messages-unread-divider::after {
  margin-left: .25em;
}

.sms-messages-unread-text {
  background-color: #ff3924;
  align-items: center;
  text-align: center;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
}

.sms-messages-received {
  border-radius: 6px;
  position: relative;
  min-width: 11.4em;
}
.sms-messages-sent {
  background-color: #DFF7C4;
  border-radius: 6px;
  position: relative;
  float: right;
  min-width: 16.5em;
}

.sms-messages-date {
  position: absolute;
  white-space: nowrap;
  left: 0;
  bottom: 0;
}
.sms-messages-number {
  white-space: nowrap;
  position: absolute;
  left: 0;
  top: 0;
}
.sms-messages-status {
  white-space: nowrap;
  position: absolute;
  right: 0;
  bottom: 0;
}

/* Announcekit */

.whatsnew-count-container {
  display: inline-block;
  font-size: 1.33333em;
  width: 1.25em;
  text-align: center;
  margin-right: 5px;
}

.whatsnew-count {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 14px;
  background-color: #c0bbb7;
  vertical-align: middle;
}

.whatsnew.unread {
  text-shadow: 0 0 3px #ff3924;
}
.whatsnew.unread .menu-item-parent {
  color: white !important;
}

.whatsnew.unread .whatsnew-count {
  background-color: #ff3924;
  color: white;
}

.announcekit-widget {
  display: none;
}

/* Front chat */


.frontchat.unread {
  text-shadow: 0 0 3px #ff3924;
}
.frontchat.unread .menu-item-parent {
  color: white !important;
}

/* Loading image */

.loadingimage img {
  visibility: hidden;
  position: absolute;
}

.loadingimage.loaded img {
  visibility: visible;
  position: static;
}

.loadingimage.loaded .loadingimage-loadingstatus {
  display: none;
}

.loadingimage .loadingimage-loadingstatus {
  display: inline-flex;
  height: 100%;
  width: 100%;
  align-items: center;
  z-index: 100;
}

.loadingimage-loadingstatus > div {
  width: 100%;
  text-align: center;
}

/* Photo template */



.phototemplate-preview-main img {
  max-width: 100%;
}

.phototemplate-preview-layer img {
  width: 100%;
}



.phototemplate-preview-layer .loadingimage-loadingstatus {
  font-size: 15px;
  min-height: 200px;
}

.phototemplate-preview-main .loadingimage-loadingstatus {
  font-size: 30px;
  min-height: 300px;
}


.phototemplate-preview-layer {
  text-align: center;
}

.checkboard {
  /* Checkboard background */
  background-image: /* tint image */
                    linear-gradient(to right, rgba(192, 192, 192, 0.75), rgba(192, 192, 192, 0.75)),
                    /* checkered effect */
                    linear-gradient(to right, black 50%, white 50%),
                    linear-gradient(to bottom, black 50%, white 50%);
  background-blend-mode: normal, difference, normal;
  background-size: 2em 2em;
}

.layermodal textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
}

.layermodal-currentimage img {
  max-width: 100%;
}

.layermodal-currentimage  {
  display: block;
}

.layermodal-upload {
  text-align: center;
}

.layermodal-upload label {
  display: block;
  margin: auto;
}

.layermodal-upload input {
  display: block;
  margin: auto;
}
/* Create Photo template */

.createphototemplate {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.createphototemplate-preset {
  /* width: 100%; */
  flex-grow: 1;
  margin-left: 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .createphototemplate-preset {
    /* width: 49%; */
    max-width: 500px;
  }
}

.createphototemplate-thumb img {
  width: 100%;
}


/* Fix for issue with dropdowns inside responsive tables gettign cut off */
.table-responsive .btn-group {
  position: inherit;
}


.table-responsive .btn-group .dropdown-menu {
  top: auto;
  margin-top: 2em;
}


/*
 * Photo Template List
 */


.phototemplatelist .loadingimage img {
  width: 100%;
}

.phototemplatelist-panel {
  max-width: 600px;
}

.phototemplatelist-editlocations {
  display: none;
}

.phototemplatelist-editlocations.collapsed {
  display: block;
}

/*
 * Support widget
 */

.supportwidget {
  z-index: 99999;
  position: fixed;
  right: -700px;
  opacity: 0.5;
  bottom: 0;
  top: 0;
  width: 600px;
  max-width: 80%;
  background-color: rgb(240,240,240);

  display: flex;
  flex-flow: column;
  align-items: stretch;

  -webkit-box-shadow: -14px 0px 35px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: -14px 0px 35px 0px rgba(0,0,0,0.75);
  box-shadow: -14px 0px 35px 0px rgba(0,0,0,0.75);

  transition: right 0.5s ease-in, opacity 0.5s;
}

.supportwidget.open {
  right: 0px;
  opacity: 1;
}

.supportwidget iframe {
  flex: 1 1 auto;
  border: 0;
}

.supportwidget-header {
  background-color: #3a3633;
  color: white;
  padding: 20px;
  height: 66px;
}

.supportwidget-header h1 {
  margin: 0;
}

.supportwidget-close {
  font-size: 50px;
  position: absolute;
  right: 20px;
  top: 10px;
  cursor: pointer;
}

/*
 * Support button
 */

.support-button {
  display: inline-block;
  margin-left: 0.25em;
}
.support-button::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family:"Font Awesome 5 Pro";
  font-weight: 900;
  content:"\f059";
  color: rgb(76, 79, 83);
}


/*
 * Integrations page
 */


.integrations-buttons {
  text-align: center;
}

.integrations-disconnect {
  display: inline-block;
  padding-top: 10px;
  color: red;
}


/*
 * Forms
 */


form.submitting .loading {
  display: inline-block !important;
}

form.submitting button {
  cursor: not-allowed;
  pointer-events: none;
  color: #c0c0c0;
  background-color: #ffffff;
}


/**/
/* Surveys settings
 */

.survey-list .list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.survey-list .list-group-item > a {
  display: block;
  flex-grow: 1;
  color: black;
  padding-top: 15px;
  padding-bottom: 15px;
}


/* logged in alerts */


.logged-in-alerts .alert {
  border-left-width: 5px !important;
}

.logged-in-alerts .alert-warning {
   border-color: #dfb56c !important;
}

.logged-in-alerts .alert-danger {
   border-color: #953b39 !important;
}

.logged-in-alerts .alert-info {
   border-color: #9cb4c5 !important;
}

.alert a {
   text-decoration: underline;
   font-weight: bold;
}

.alert-warning a {
   color: #826430;
}

.alert-danger a {
   color: #fff;
}
