@import "./_respond.scss";
@import "./_grid.scss";
@import "./_normalize.scss";
@import url('https://fonts.googleapis.com/css?family=Montserrat:200,400,500,600,700&display=swap');
* {
  div,
  span,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-stretch: normal;
  }
}
*::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}
body::-webkit-scrollbar {
  width: 10px;
}
*::-webkit-scrollbar-thumb {
  background: #90bd0d;
  height: 30px;
}
*::-webkit-scrollbar-track {
  background: #fff;
  /* border-left: 1px solid black; */
}
.q-dialog__inner--minimized {
  // @include respond-to(mobileAll) {
  //   padding: 15px !important;
  // }
}
.ie, .edge {
  .q-col-gutter-lg {
    width: calc(100% + 48px);
  }
}
.q-page-container {
  min-height: calc(85vh - 120px);
}
.text-underline {
  text-decoration: underline;
}
.bg-light-green-6 {
  background-color: #90bd0d !important;
}
.text-green {
  color: #90bd0d !important;
}
.bg-yellow-6 {
  background-color: #ffdf00 !important;
}
.text-yellow-6,
.text-yellow {
  color: #ffdf00 !important;
}
.bg-yellow-7 {
  background-color: #f4be02 !important;
}
.text-yellow-7 {
  color: #f4be02 !important;
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-tab-panels {
  background: none;
  .q-tab-panel {
    padding: 0;
  }
}
.q-slider {
  &.q-slider--active,
  &.q-slider--inactive {
    .q-slider__thumb {
      transform: scale3d(0, 0, 0);
    }
  }
  .q-slider__track-container {
    height: 3px;
    .q-slider__track {
      background-color: #90bd0d;
    }
  }
  .q-slider__pin-value-marker-bg {
    background-color: #90bd0d;
  }
  .q-slider__thumb-container {
    width: 22px;
    &::before,
    &::after {
      display: block;
      position: absolute;
      content: "";
    }
    &::before {
      left: 5px;
      top: 5px;
      width: 12px;
      height: 12px;
      border-radius: 6px;
      border: solid 1px #e6e6e6;
      background-color: #ffffff;
      z-index: 1;
    }
    &::after {
      left: 8px;
      top: 8px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #90bd0d;
      z-index: 2;
    }
    .q-slider__thumb {
      // width: 16px;
      // height: 16px;
    }
  }
}
.q-input {
  // .q-field__label {
  //   padding-left: 17px;
  // }
  // &.q-field--focused {
  //   .q-field__label {
  //     padding-left: 0;
  //   }
  // }
  .q-field__label {
    top: 30px;
  }
  &.q-field--float {
    .q-field__label {
      transform: translate3d(0, -100%, 0) scale3d(0.75, 0.75, 0.75);
    }
  }
}
.q-select.custom {
  align-items: center !important;
  box-sizing: border-box;
  .q-field__native {
    padding-left: 10px;
  }
  .q-field__control {
    min-height: 40px;
    height: 100%;
  }
  .q-select__input {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.2px;
    line-height: 2;
    text-align: center;
  }
  .q-field__control-container {
    .q-field__native {
      padding-left: 5px;
      padding-right: 5px;
      min-height: auto;
    }
  }
  .q-field__native {
    > span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
.q-pagination {
  .q-btn {
    width: 43px !important;
    min-width: 43px !important;
    height: 43px !important;
    border: solid 1px #000000;
    border-radius: 0;
    margin-left: 4px;
    margin-right: 4px;
    &.bg-light-green-6 {
      border: none;
    }
    // &:not(.q-focusable) {
    //   border: solid 1px #000000;
    // }
  }
}
.c-select-menu {
  .option {
    height: 48px;
    span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
.q-toggle {
  .q-toggle__inner {
    height: 40px;
    padding: 9px 7px;
    .q-toggle__track {
      border-radius: 20px;
      background: #fff;
      border: 1px solid #e6e6e6;
      height: 22px;
    }
    .q-toggle__thumb-container {
      top: 12px;
      left: 10px;
      .q-toggle__thumb {
        width: 16px;
        height: 16px;
        border-width: 8px;
        box-shadow: none;
        border-color: #dadada;
        &::before {
          display: none;
        }
      }
    }
    &.q-toggle__inner--active {
      .q-toggle__track {
        // background: #91bd0d5e;
      }
      .q-toggle__thumb-container {
        transform: translate3d(19px, 0, 0);
        .q-toggle__thumb {
          border-color: #90bd0d;
        }
      }
    }
  }
}
.q-menu,
.q-dialog {
  border-radius: 0;
  margin-left: 1px;
  margin-top: 1px;
  .q-item {
    &.q-item--active {
      .q-item__label {
      }
      color: #90bd0d;
    }
    .q-item__label {
      font-size: 13px;
      font-weight: 500;
      line-height: 2.31;
      letter-spacing: 0.3px;
    }
  }
  &.developers-sort {
    max-width: 180px;
  }
  &.menu-links {
    max-width: 100vw;
    width: 100%;
    box-shadow: none;
    height: 75px;
    margin: 0;
    border: none;
    @include respond-to(mobileAll) {
      padding-left: $mobile-paddings-px;
      padding-right: $mobile-paddings-px;
    }
  }
}
.q-carousel {
  .q-carousel__prev-arrow,
  .q-carousel__next-arrow {
    top: 50%;
    i {
      color: #000;
      font-size: 27px;
    }
  }
}
.background {
  background: #f8f8f9;
}
.transparent-btn {
  border: 2px solid #000;
  height: 50px;
  width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 12px;
  margin: 0 15px 0 0;
}
.hover {
  .text {
    z-index: 2;
  }
}


.map-popup-container {
  &.dialog {
    background: white;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    position: relative;
    .c-btn-close {
      position: absolute;
      right: 0;
      top: 0;
    }
  }
  &::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffdf00;
  }
  .rc, {
      margin-bottom: 10px;
      .rc-info {
          display: flex;
          justify-content: flex-start;
          .rc-logo {
              width: 100px;
              img {
                  width: 100px;
                  height: 70px
              }
          }
          .rc-content {
              max-width: 240px;
              width: 100%;
              margin-left: 10px;
              .rc-name {
                font-size: 14px;
                font-weight: 600;
                color: black;
              }
              .rc-price {
                margin-top: 5px;
                .price-info {
                  font-weight: 500;
                  color: black;
                }
              }
              .rc-developer {
                .developer-info {
                  display: flex;
                  justify-content: flex-start;
                  align-items: center;
                  .developer-logo {
                    width: 30px;
                    img {
                      width: 30px;
                      height: 30px
                    }
                  }
                  .developer-content {
                    max-width: 240px;
                    width: 100%;
                    margin-left: 10px;
                    .developer-name {
                      font-size: 10px;
                      color: black;
                    }
                  }
                }
              }
          }
      }
  }
}

.GoogleMapElement {
  #content {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    font-family: sans-serif;
    overflow-y: auto;
    max-height: 60px;
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.5);
    &::before {
      display: block;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: #ffdf00;
    }
    &.active {
      // box-shadow: 0px 2px 10px 1px #000000dc;
      &::before {
        background-color: #FF3300;
      }
      
    }
  }
  .popup-container {
    cursor: auto;
    height: 0;
    position: absolute;
    width: 200px;
  }
  .popup-bubble-anchor {
    /* Position the div a fixed distance above the tip. */
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      /* Center the tip horizontally. */
      // transform: translate(-50%, 0);
      transform: translate(-45%, -18%);
      /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
      width: 0;
      height: 0;
      /* The tip is 8px high, and 12px wide. */
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-top: 8px solid white;
    }
  }
}
