/* Style for list cards/accounts, add edit delete account theming */
/*.path-smart-business-feasibility-tool .footer,*/
.commerce-map-search-form div label {
  display: none;
}
.path-smart-business-feasibility-tool .footer {
  margin-top: 0;
}
.top-level.d-flex {
  flex-direction: column;
  align-items: center;
}
.commercial-map-search-form-holder {
  flex-direction: column;
  justify-content: center;
}
.form-item-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #363A40;
  line-height: 5.063rem;
}
.form-item-page-desc {
  font-size: 1.125rem;
  font-weight: 400;
  color: #363A40;
  line-height: 1.875rem;
}
.commerce-map-search-form .ui-autocomplete-input {
  height: 3.25rem;
}
.commerce-map-search-form .form-control:focus {
  background-color: #fff;
}
.commerce-map-search-form .form-text,
.commerce-map-search-form .form-submit {
  border-radius: 8px !important;
  border: none !important;
}
.commerce-map-search-form .form-type-textfield {
  flex-basis: 15.75rem;
  flex-grow: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgb(96 97 112 / 20%);
  border-radius: 8px;
}
.is_rtl .commerce-map-search-form .form-type-textfield .input-group {
  width: 100%;
}
.commerce-map-search-form .form-type-item {
  flex-basis: 50px;
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
  line-height: 2rem;
}
.commerce-map-search-form .field-level .form-type-item {
  line-height: 3.25rem;
}
.commerce-map-search-form .form-submit {
  flex-basis: 10.563rem;
  flex-grow: 0;
  flex-shrink: 0;
  height: 52px;
  border-radius: 8px;
}
.commerce-map-search-form .form-submit .glyphicon-search {
  display: none;
}

.field-level.d-flex {
  justify-content: center;
  gap: 20px;
}

#commercial-map-search-results.hide-results,
#high-low-search-results.hide-results {
  display: none !important;
}
  
#commercial-map-search-form-holder {
  /*background: url('/sites/default/files/images/commerce-map-bg.png') no-repeat center center fixed;*/
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8271) 0%, rgba(255, 255, 255, 0) 62.71%), url('/sites/default/files/images/commerce-map-bg.png') no-repeat center center fixed;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  gap: 30px;
}
.commerce-chart-wrapper {
  flex-direction: column;
}

#commercial-map-search-results,
#high-low-search-results {
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgb(96 97 112 / 20%);
  /*height: 393px;
  align-items: center;*/
}
.commerce-chart-wrapper {
  flex: 25%;
  max-width: 25%;
  padding: 20px;
}
#high-low-search-results {
  justify-content: space-around;
  height: 16.875rem;
}

.chart-results-enabled {
  min-height: 393px;
  align-items: center;
}
.commerce-chart-wrapper {
  justify-content: space-around;
  height: 300px;
}

.commerce-map-search-form .ui-autocomplete {
  max-height: 230px;
  overflow: scroll;
}
.commerce-map-search-form .ui-autocomplete .ui-menu-item,
.commerce-map-search-form .ui-autocomplete .ui-menu-item:hover {
  padding: 0;
  border-bottom: 0.5px solid #9A9C9F1A !important;
  font-size: 12px;
  font-weight: 500;
  font-family: Roboto;
}
.is_rtl .commerce-map-search-form .ui-autocomplete .ui-menu-item,
.is_rtl .commerce-map-search-form .ui-autocomplete .ui-menu-item:hover,
.is_rtl #commercial-map-search-results {
  font-family: 'AtrissiGhad', Arial, sans-serif;
}
.is_rtl .percentage-wrapper {
  font-family: Roboto;
}
.is_rtl .recommend-chart-textfield {
  font-family: 'AtrissiGhad', Arial, sans-serif;
}
.commerce-map-search-form .ui-autocomplete .ui-state-active {
  font-weight: 500;
}

.commerce-map-search-form .ui-autocomplete .ui-menu-item .ui-autocomplete-field {
  color: #9A9C9F;
}

.commerce-map-search-form .ui-autocomplete::-webkit-scrollbar {
  width: 8px;               /* width of the entire scrollbar */
  height: 8px;
  border-radius: 20px;
}

.commerce-map-search-form .ui-autocomplete::-webkit-scrollbar-track {
  background-color: #9A9C9F1A;        /* color of the tracking area */
  border: none;
}

.commerce-map-search-form .ui-autocomplete::-webkit-scrollbar-thumb {
  background-color: #1762B8;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: none;  /* creates padding around scroll thumb */
}

.commerce-map-search-form .btn:active {
  background-color: #1762B8;
}
.commerce-map-search-form .alert.alert-danger {
  background-color: #ff4a4a;
  border-color: #ff4a4a;
}
.commerce-map-search-form .item.item--message,
.commerce-map-search-form button {
  color: #ffffff;
}
.is_rtl .commerce-map-search-form button {
  float: left;
}
.commerce-chart-wrapper {
  text-align: center;
}
.recomm-chart-info-title {
  font-size: 20px;
  font-weight: 400;
}
.recomm-chart-info-desc {
  font-size: 12px;
  font-weight: 400;
  padding: 0px 10px 0px 10px;
}
.percentage-wrapper div {
  display: inline;
}

/* Position the percentage value inside the chart */
/*.commerce-chart-wrapper {
  position: relative;
}
.percentage-wrapper {
  position: absolute;
  top: 90px;
  left: 131px;
}
.is_rtl .percentage-wrapper {
  position: absolute;
  top: 90px;
  right: 125px;
}

.commerce-chart-wrapper:first-child .percentage-wrapper {
  top: 95px;
  left: 110px;
}
.is_rtl .commerce-chart-wrapper:first-child .percentage-wrapper {
  top: 95px;
  right: 110px;
}*/

.commerce-chart-wrapper canvas,
.commerce-chart-wrapper .icon {
  flex: 2;
}
.commerce-chart-wrapper .percentage-wrapper,
.commerce-chart-wrapper .recomm-chart-info-wrapper {
  flex: 1;
  font-weight: 500;
  font-size: 1.25rem;
}
.commerce-chart-wrapper .icon div {
  margin-top: 20px;
}

.commerce-chart-wrapper canvas#recommend-chart {
  margin-top: -20px;
}

#recommend-chart + .percentage-wrapper,
.icon + .percentage-wrapper {
  margin-top: 20px;
}

.messages__wrapper p {
  color: white;
}

#ui-id-1,
#ui-id-2 {
  width: 252px !important;
}

#chat-btn-container {
  z-index: 3 !important;
}

.messages__wrapper .alert .item-list {
  margin-left: 10px;
}

.high-low-info-title {
  font-size: 1.5rem;
  font-weight: 400;
}
.high-results.d-flex,
.low-results.d-flex {
  flex-direction: column;
  justify-content: space-evenly;
}

.is_rtl .high-results,
.is_rtl .low-results {
  text-align: right;
}
.activity-area i {
  color: #1762B8;
  font-size: 1.25rem;
}

#commercial-map-partners h5 {
  font-size:10px;
  text-align: center;
}
.is_rtl #commercial-map-partners h4 {
  text-align: right;
}


@media (min-width: 1024px) and (max-width: 1100px) {
  .commerce-chart-wrapper {
    padding: unset;
  }
  .commerce-chart-wrapper canvas {
    width: 225px !important;
    margin: auto;
  }
  .commerce-chart-wrapper canvas#recommend-chart {
    width: 225px !important;
  }
  .icon + .percentage-wrapper {
    margin-top: 0px;
  }
}

@media (min-width: 1101px) and (max-width: 1440px) {
  .commerce-chart-wrapper {
    padding: unset;
  }
  .commerce-chart-wrapper canvas {
    width: 245px !important;
    margin: auto;
  }
  .commerce-chart-wrapper canvas#recommend-chart {
    width: 245px !important;
  }
  .icon + .percentage-wrapper {
    margin-top: 0px;
  }
}

@media screen and (max-width: 768px) {
  .field-level.d-flex {
    flex-direction: column;
  }
  .commerce-map-search-form .form-type-textfield {
    flex-basis: 52px;
  }
  .commerce-map-search-form .form-type-item.form-item-suggestion-or {
    display: none;
  }
  .commerce-map-search-form .form-submit {
    flex-basis: 50px;
  }

  #commercial-map-search-results,
  #high-low-search-results {
    flex-direction: column;
    width: 75%;
  }
  .commerce-chart-wrapper {
    flex: unset;
    max-width: unset;
  }
  .commerce-chart-wrapper canvas {
    margin: auto;
  }
  .recomm-chart-info-desc {
    padding: 10px;
  }
  #high-low-search-results {
    flex-direction: column;
    height: 25rem;
    justify-content: space-between;
  }
  .high-low-info-title br{
    display: none;
  }
  .high-results.d-flex, .low-results.d-flex {
    height: 10rem;
  }
  #commercial-map-partners .d-flex {
    flex-wrap: wrap;
  }
  #commercial-map-partners .d-flex .d-flex-item {
    flex-basis: 100px;
  }
}

@media screen and (max-width: 414px) { 
  html {
    font-size: 14px !important;
  }
  #commercial-map-search-results,
  #high-low-search-results {
    width: 100%;
  }
  .form-item-page-desc {
    line-height: unset !important;
  }
  .form-item-page-title {
    font-size: 2rem;
    line-height: 3rem !important;
  }
  .commerce-map-search-form .form-type-textfield {
    flex-basis: 45px;
  }
  .commerce-map-search-form .ui-autocomplete {
    max-height: 200px;
  }
}

@media screen and (max-width: 425px) {
  .field-level.d-flex {
    width: 100%;
  }
}

@media (min-width: 425px) and (max-width: 700px) {
  #ui-id-1,
  #ui-id-2 {
    width: 353px !important;
  }
}
@media (min-width: 701px) and (max-width: 768px) {
  #ui-id-1,
  #ui-id-2 {
    width: 440px !important;
  }
}