:root {
  --danger: #c12329 !important;
}

.badge-danger,
.btn-danger {
  background-color: var(--danger);
}

.border-danger,
.btn-danger {
  border-color: var(--danger);
}

.text-danger {
  color: var(--danger);
}

.IIV::-webkit-media-controls-play-button,
.IIV::-webkit-media-controls-start-playback-button {
  opacity: 0;
  pointer-events: none;
  width: 5px;
}

html,
body {
  height: 100%;
  font-family: "Helvetica";
}

body {
  background-color: #000;
}

main {
  min-height: calc(100% - 269px);
  padding-top: 85px;
  padding-bottom: 80px;
}

@media screen and (min-width: 768px) {
  main {
    min-height: calc(100% - 189px);
    padding-top: 90px;
    padding-bottom: 50px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff;
}

p {
  color: #fff;
}

.text-dark h1,
.text-dark h2,
.text-dark h3,
.text-dark h4,
.text-dark h5,
.text-dark h6,
.text-dark p,
.text-dark li {
  color: inherit;
}

img {
  max-width: 100%;
}

hr {
  border-color: white;
}

.dropdown-menu p {
  color: black;
  margin-bottom: 0px;
}

.profileImage {
  width: 100%;
}

.profileImageContainer .frontPage {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.userThumb {
  position: relative;
  margin-top: 12px;
}

.userThumb .name {
  margin-bottom: 0px;
  width: 100%;
  font-size: 0.7rem;
}

.userThumb .distance {
  position: absolute;
  right: 0;
  margin: 0;
  padding: 2px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  line-height: 1em;
}

.userThumb .name span:first-child {
  white-space: nowrap;
  display: inline-block;
  max-width: calc(100% - 1.7em);
  overflow: hidden;
  text-overflow: ellipsis;
}

.userThumb .name span+span {
  float: right;
}

@media screen and (min-width: 768px) {
  .userThumb .name {
    font-size: 1rem;
  }
}

#searchFilters {
  max-height: 65vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

ul li,
ol li {
  color: #fff;
}

.dropdown ul li,
.dropdown ol li {
  color: inherit;
}

nav ul li,
nav ol li {
  list-style: none;
}

.black {
  color: #000;
}

.white {
  color: #fff;
}

.logo {
  width: 40px;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .logo {
    width: 60px;
  }
}

.logo-home {
  width: 250px;
  margin: auto;
}

.form-group.required label:after {
  content: "*";
  color: var(--danger);
}

#conversationsContainer {
  display: flex;
  flex-flow: column;
  flex-direction: column-reverse;
}

@media screen and (min-width:768px) {
  #conversationsContainer {
    max-height: 555px;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

.conversationItem {
  position: relative;
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: bold;
}

.conversationItem p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversationItem .media-body {
  width: 100%;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:active,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--danger);
}

nav .conversationItem .profile-preview,
nav .conversationItem .profile-preview>div {
  width: 35px;
  height: 35px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

nav .conversationItem .name {
  line-height: 1em;
}

nav .conversationItem .message {
  font-weight: normal;
  width: 100%;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversationNewMessage {
  margin-bottom: 0px;
  font-size: 12px;
  color: var(--danger);
  font-weight: bold;
}

.message-date {
  font-size: 12px;
  margin-bottom: 0px;
}

.message-sender {
  font-weight: bold;
  margin-bottom: 0px;
}

.message {
  margin-bottom: 0px;
}

#messageContainer {
  height: auto;
  min-height: 3em;
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}

#messageContainer .rounded-circle,
#messageContainer .rounded-circle>div,
#convName .rounded-circle,
#convName .rounded-circle>div {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 50px;
  height: 50px;
}

#chatSubmitBtn {
  margin-top: 6px;
}

.profile-img-container {
  /*max-width: 200px;*/
  min-height: 250px;
}

.profile-img-container img {
  margin: 0 auto;
}

.profile-img-delete {
  color: white;
}

.profile-img-delete i {
  font-size: 1em;
}

.default_image:before {
  content: "";
  float: left;
  padding-bottom: 100%;
}

.circle {
  position: absolute;
  left: 2px;
  top: 2px;
  margin: 2px;
  width: 12px;
  height: 12px;
  background-color: #62bd19;
  border-radius: 50%;
  border: solid 0.5px #fff;
}

.status-indicator {
  position: absolute;
  left: 2px;
  top: 2px;
  font-size: 12px;
  margin: 2px;
}

.circle.online {
  color: black;
  background-color: #62bd19;
}

.circle.idle {
  color: black;
  background-color: #e0ca00;
}

.circle.offline,
.circle.false,
.circle.undefined {
  color: whtie;
  background-color: #818181;
}

i.online {
  color: #62bd19;
}

i.idle {
  color: #e0ca00;
}

i.offline,
i.false,
i.undefined {
  color: #818181;
}

i.idle::before {
text-shadow: 0 0 2px #818181, 0 0 2px #818181, 0 0 2px #818181, 0 0 2px #818181;
}

i.online::before,
i.offline::before,
i.false::before,
i.undefined::before {
text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
}

.read-message {
  font-size: 12px;
  color: #7ad28e;
}

.tooltip .tooltip-inner {
  background-color: gray;
}

.tooltip .arrow:before {
  border-top-color: gray;
}

/* Checkbox Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 0.75em;
  margin: 0;
}

.switch input {
  display: none;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  width: 2em;
  height: 1em;
  border-radius: 0.5em;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1em;
  left: 1px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked+.slider:before {
  -webkit-transform: translateX(1em);
  -ms-transform: translateX(1em);
  transform: translateX(1em);
}

.message-input--wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
}

.message-input--wrapper textarea {
  flex: 1;
}

#img-message {
  display: none;
}

.upload-img--btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #007bff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  cursor: pointer;
}

.upload-img--btn i {
  font-size: 24px;
  color: white;
  z-index: 1;
}

.img-thumbnail-wrapper {
  max-width: 80px;
  max-height: 150px;
  width: fit-content;
  max-height: auto;
  background: #343a40;
  display: flex;
  padding: 10px;
  justify-content: flex-start;
  margin-bottom: 15px;
  border-radius: 5px;
}

.img-thumbnail-wrapper>div {
  margin-right: 10px;
}

.pagination-info {
  color: white;
}

.page-list {
  color: white;
}

.page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: small;
}

.open-membership-modal {
  cursor: pointer;
  text-align: center;
}

.open-membership-modal a {
  display: block;
}

div.adRow {
  text-align: center;
}

div.adRow a,
div.adRow a+a {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  /*content: "Mobile - Ad Size: 300x50";
  width: 300px;
  height: 50px;
  background-color: grey; */
  margin: 20px auto 0 auto;
}

div.adRow a+a {
  display: none;
}

div.adRow.hidden a,
div.adRow.hidden a+a {
  display: none;
}

.profilePreview:not(.hidden)+div.adRow a {
  display: inline-block;
}

.profilePreview:not(.hidden)+div.adRow a+a {
  display: none;
}

@media screen and (min-width: 992px) {

  div.adRow a,
  div.adRow>a+a {
    display: inline-block;
    margin: 20px 4px 0 4px;
  }

  .profilePreview:not(.hidden)+div.adRow a+a {
    display: inline-block;
  }
}

.pac-container {
    display: block;
    z-index: 1051;
}