/**
 * location search bar
 */
.search-bar.padded {
  /* padding: 20px 30px 0 30px; */
  /* min-height: 55px; */
  margin-bottom: 15px;
}

.search-bar .search-input {
  padding-right: 30px;
}

.search-bar .search-icon {
  position: absolute;
  top: 10px;
  right: 10px;
}

/**
 * location editor
 */
#status-toggles i.glyphicon {
  font-size: 20px;
  vertical-align: middle;
  margin-right: 5px;
  visibility: hidden;
}

.btn-group-status {
  display: inline-block;
}

#status-toggles:hover i.glyphicon {
  visibility: visible;
}

.active-location {
  border-left: 5px solid #4bd865;
}

.inactive-location {
  border-left: 5px solid grey;
}

/**
 * mpi
 */
#no-data-container,
.no-data-container {
  text-align: center;
  font-size: 18px;
  padding: 160px 30px;
}

#mpi-container {
  position: relative;
}

#mpi-date-range {
  position: absolute;
  top: -30px;
  right: 30px;
}

#mpi-top-bar {
  margin: 40px 0px;
}

#mpi-top-bar .pagination {
  margin: 0px;
}

#mpi-view-toggle {
  text-align: center;
}

#mpi-container .no-data-msg {
  display: block;
  top: 0px;
  left: 0px;
  width: 100%;
  padding-top: 15px;
  text-align: center;
}

#mpi-container .graph-container {
  width: 100%;
  padding: 15px;
  min-height: 365px;
  border-radius: 4px;
  background-color: #fff;
}

#mpi-container .timeline {
  height: 450px;
  padding-top: 30px;
}

#mpi-container .pie-chart {
  height: 350px;
}

#mpi-container .pie-chart.pie-chart-sm {
  height: 280px;
}

#mpi-container .combined-charts {
  height: 765px;
}

#mpi-container .fb-date-range-input {
  display: inline-block;
  width: 120px;
}

#mpi-container .aggregation-label,
#mpi-container .aggregation-value {
  font-size: 14px;
  display: block;
  text-transform: uppercase;
}

#mpi-container .aggregation-value {
  font-weight: bold;
}

#mpi-container .fb-likes-timeline,
#mpi-container .fb-checkin-timeline {
  margin-top: 75px;
}

#mpi-container .fb-graph-title {
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 0 10px 0;
  padding: 0;
}

#mpi-container .fb-legend {
  display: flex;
  text-align: center;
  justify-content: center;
}

#mpi-container .fb-legend .fb-legend-label {
  margin: 0 5px;
  display: block;
  font-size: 11px;
  font-weight: 900;
}

#mpi-container .fb-legend .fb-legend-sq {
  width: 10px;
  height: 10px;
  display: inline-block;
}

#reviews-container-labels {
  width: 85px;
  float: left;
  padding-top: 13px;
}

#reviews-container-labels .star-container {
  margin-bottom: 7px;
}

#reviews-container-data {
  width: calc(100% - 80px);
  float: left;
  margin-left: -5px;
}

.mpi-grid {
}

.mpi-grid h3 {
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.mpi-grid .mpi-row {
  padding: 3px 0px;
}

.mpi-yelp-logo {
  position: absolute;
  top: -20px;
  left: 0px;
  z-index: 1;
  width: 150px;
}

.mpi-yelp-review-mod-logo {
  width: 150px;
}

.location-yelp-logo {
  position: relative;
  height: 60px;
}

.location-yelp-logo a {
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: 1;
  width: 150px;
}

.location-yelp-logo img {
  width: 150px;
}

.location-yelp {
  padding-top: 70px;
}

.rls-mpi .no-data {
  padding: 140px 0;
  text-align: center;
}

.rls-mpi .metric-square {
  border-radius: 4px;
  background-color: hsla(205, 88%, 50%, 1);
  font-size: 18px;
  color: white;
  padding: 10px 15px;
  height: 100px;
  font-weight: bold;
  position: relative;
  max-width: 250px;
  min-width: 180px;
  margin-bottom: 15px;
}

.rls-mpi .metric-square span.value {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 24px;
}

.rls-mpi .white-space-divider {
  padding: 30px 0px;
  width: 100%;
}

#mpi-yelp-title-bar {
  border-bottom: 1px solid #dfdfdf;
  font-size: 22px;
  font-weight: 100;
  z-index: 10;
  position: relative;
}

a.yelp-location-link {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}

a.yelp-location-link.sm {
  width: calc(100% - 120px);
}

a.yelp-location-link.md {
  width: calc(100% - 100px);
}

/* Medium devices (under 992px) */
@media (max-width: 992px) {
  #mpi-view-toggle {
    text-align: right;
  }
}

/* Medium devices (under 768px) */
@media (max-width: 768px) {
  #mpi-view-toggle {
    text-align: center;
  }
}

/**
 *  mpi calc
 */
#calculator-container {
  padding: 5px 20px;
}

#calculator-container p {
  margin-bottom: 0;
  font-size: 13px;
  color: #696969;
}

#calculator-container h4 {
  font-weight: 600;
}

#calculator-container h3 {
  margin-top: 10px;
  font-weight: 700;
  color: #0e84d8;
}

#calculator-clicks div:last-child h4,
#calculator-impressions div:last-child h4 {
  position: relative;
  top: 2px;
  margin-top: 21px;
}

#calculator-clicks div:last-child h3,
#calculator-impressions div:last-child h3 {
  margin-top: -10px;
}

#calculator-clicks div:first-child h4,
#calculator-impressions div:first-child h4 {
  position: relative;
  top: 8px;
  padding-top: 6px;
}

#calculator-clicks > div,
#calculator-impressions > div {
  width: 50%;
}

#calculator-container input[type='text'] {
  display: inline;
  width: auto;
  max-width: 40px;
  position: relative;
  top: -3px;
  margin-left: 5px;
  padding: 2px 5px;
  height: auto;
  font-size: 12px;
}

#calculator-container {
  width: calc(40% - 13.33px);
}

@media only screen and (max-width: 1100px) {
  #calculator-container {
    padding: 10px 30px;
  }
}

/**
 * MPI yelp stars
 */
.yelp-star {
  background: none;
  background-image: url('../images/vendor/yelp/stars.png');
  background-size: 132px 560px;
  display: inline-block;
  vertical-align: middle;
}

.yelp-star.small {
  width: 82px;
  height: 14px;
}

.yelp-star.small.star-0 {
  background-position: 0px -420px;
}

.yelp-star.small.star-1 {
  background-position: 0px -434px;
}

.yelp-star.small.star-1-5 {
  background-position: 0px -448px;
}

.yelp-star.small.star-2 {
  background-position: 0px -462px;
}

.yelp-star.small.star-2-5 {
  background-position: 0px -476px;
}

.yelp-star.small.star-3 {
  background-position: 0px -490px;
}

.yelp-star.small.star-3-5 {
  background-position: 0px -504px;
}

.yelp-star.small.star-4 {
  background-position: 0px -518px;
}

.yelp-star.small.star-4-5 {
  background-position: 0px -532px;
}

.yelp-star.small.star-5 {
  background-position: 0px -546px;
}

.yelp-star.medium {
  width: 102px;
  height: 18px;
}

.yelp-star.medium.star-0 {
  background-position: 0px -240px;
}

.yelp-star.medium.star-1 {
  background-position: 0px -258px;
}

.yelp-star.medium.star-1-5 {
  background-position: 0 -276px;
}

.yelp-star.medium.star-2 {
  background-position: 0px -294px;
}

.yelp-star.medium.star-2-5 {
  background-position: 0px -312px;
}

.yelp-star.medium.star-3 {
  background-position: 0px -330px;
}

.yelp-star.medium.star-3-5 {
  background-position: 0px -348px;
}

.yelp-star.medium.star-4 {
  background-position: 0px -366px;
}

.yelp-star.medium.star-4-5 {
  background-position: 0px -384px;
}

.yelp-star.medium.star-5 {
  background-position: 0px -402px;
}

.yelp-star.large {
  width: 132px;
  height: 24px;
}

.yelp-star.large.star-0 {
  background-position: 0px 0px;
}

.yelp-star.large.star-1 {
  background-position: 0px -24px;
}

.yelp-star.large.star-1-5 {
  background-position: 0px -48px;
}

.yelp-star.large.star-2 {
  background-position: 0px -72px;
}

.yelp-star.large.star-2-5 {
  background-position: 0px -96px;
}

.yelp-star.large.star-3 {
  background-position: 0px -120px;
}

.yelp-star.large.star-3-5 {
  background-position: 0px -144px;
}

.yelp-star.large.star-4 {
  background-position: 0px -168px;
}

.yelp-star.large.star-4-5 {
  background-position: 0px -192px;
}

.yelp-star.large.star-5 {
  background-position: 0px -216px;
}

.yelp-star-selector {
  float: left;
  width: 20%;
}

.yelp-star-selector.small {
  height: 15px;
}

.yelp-star-selector.large {
  height: 25px;
  overflow: auto;
}

.yelp-reviews-review-background {
  max-height: 400px;
  overflow: auto;
}

.yelp-star-selector-container {
  text-align: center;
  margin-bottom: 30px;
}

.yelp-reviews-review {
  background: white;
  height: 100%;
}

#yelp-review-variation {
  margin-bottom: 20px;
  height: 300px;
}

.yelp-reviews-review-content {
  height: 90px;
  padding-top: 5px;
  overflow-y: scroll;
}

.yelp-burst-badge {
  background-image: url('../images/vendor/yelp/Yelp_burst_positive_RGB.png');
  display: inline-block;
  vertical-align: middle;
}

.yelp-review-content {
  width: 640px;
}

.yelp-reviewer-date {
  width: 130px !important;
}

.yelp-review-rating {
  width: 190px !important;
}

.yelp-no-reviews {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .yelp-reviewer {
    height: 100%;
  }

  .yelp-reviews-review-stars {
    margin-top: 25px;
    overflow: auto;
    height: 100px;
  }
}

@media (min-width: 768px) {
  .yelp-reviewer {
    padding: 10% 10% 10% 0px;
    overflow: auto;
  }

  .yelp-reviews-review-stars {
    margin-top: 33px;
    height: 100px;
  }
}

.yelp-burst-badge.medium {
  background-size: 75px 75px;
  height: 75px;
  width: 75px;
  float: right;
}

/**
 * global rewrites for components
 */

.pagination.override {
  float: none;
  margin: 20px 0px;
}

.rls .modal .modal-dialog {
  max-width: 1300px;
  width: 95%;
}

.rls .modal-body {
  max-height: 640px;
  overflow: auto;
}

.rls .disabled {
  background-color: #ececec;
}

.rls .row {
  margin-left: -15px;
  margin-right: -15px;
}

.rls .pagination {
  float: none;
  margin: 20px 0px;
}

.rls .table > tbody > tr > td,
.rls .table > tbody > tr > th,
.rls .table > tfoot > tr > td,
.rls .table > tfoot > tr > th,
.rls .table > thead > tr > td,
.rls .table > thead > tr > th {
  padding: 8px;
  cursor: default;
}

.rls .table tr.expanded:hover {
  background-color: white;
}

.rls .table tr.expanded-row {
  display: none;
}

.rls .table tr.expanded.expanded-row {
  display: table-row;
}

.rls .table tr.expanded-row td {
  border-top: none;
}

.table-scroll-body thead {
  display: block;
}

.table-scroll-body tr {
}

.table-scroll-body th {
  display: inline-block;
}

.table-scroll-body tbody {
  display: block;
}

.table-scroll-body.yelp-reviews-tbl tbody {
  max-height: 300px;
  overflow-y: auto;
}

/**
 * we have overriden the row and container class
 * using -bootstrap class will bring it back to its orignal style
 */
.row.-bootstrap {
  margin-left: -15px !important;
  margin-right: -15px !important;
}

.container-fluid.-bootstrap {
  padding-left: -15px !important;
  padding-right: -15px !important;
}

/**
 * bootstrap add-ons
 */
.jumbotron.inverse {
  background-color: white;
  box-shadow: 2px 2px 5px 3px #ccc;
}

#yelp-overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  text-align: center;
  padding-top: 200px;
  z-index: 3;
}

/**
 * integrations
 */
.facebook-profile {
  float: left;
  margin: 0px 10px 10px 0px;
}

.facebook-login {
  height: 36px;
  width: 232px;
  background: url(/images/vendor/facebook/facebook-login.png);
  background-size: 100% 100%;
  border: none;
  border-radius: 4px;
}

.integration {
  max-width: 480px;
}

#activity-check-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ngdialog.userLocationsDialog .ngdialog-content {
  max-width: 1350px;
}
.ngdialog.userLocationsDialog #rsmDialogContent {
  min-height: 65vh;
}
.modal-backdrop.in.rls-location-filter {
  z-index: 0;
}
.ngdialog.userLocationsDialog .ngdialog-content #rsmDialogContent .row {
  padding-right: 0;
  padding-left: 0;
}

.ngdialog.multiEditLocationsDialog .ngdialog-content .fields-banner {
  font-weight: 400;
}
.ngdialog.multiEditLocationsDialog .ngdialog-content {
  max-width: 90vw;
}
.ngdialog.multiEditLocationsDialog #rsmDialogContent {
  min-height: 75vh;
  padding: 0;
  margin: 0;
}
.ngdialog.multiEditLocationsDialog .ngdialog-content #rsmDialogContent .row {
  padding-right: 0;
  padding-left: 0;
}

.ngdialog.multieditLocationsDialog #rsmDialogContent .lm-btn {
  box-shadow: none;
  border: 1px solid #ccc;
  line-height: 32px;
}

.mpi-search-bar {
  padding-left: 0;
  padding-right: 0;
}
.mpi-search-bar .form-control {
  height: 40px;
}
