#market-root {
  padding-top: 25px;
/*  padding-bottom: 50px;*/
  text-align: left;
}

#market-root-container {
/*  border-left: 2px solid var(--box-gray);
  margin-top: 5px;
  position: relative;
  top: -25px; 
  background: var(--primary-background);*/
}

#market-main-container {
  display: inline-flex;
  width: 100%;
  padding: 0px;
/*  background: var(--box-gray);*/
}

#marketposition-container {
  width: 100%;
}

.nav-item[name="markettopnav"] {
    line-height: 40px;
    height: 40px;
    list-style: none;
    padding: 0rem;
}

.markettopnav {
  /* background: rgb(13 27 72 / 90%); */
  width: 100%;
  color: #fff;
  height: -webkit-fill-available;
  font-size: 2rem;
  font-weight: 700;
  padding: 1.5rem 10%;
  position: absolute;
  left: 0px;
}

.markettopnav-btm {
  height: 50px;
}

#ul-topmarketnav-btm {
  background-color: #fff;
  height: 50px;
}

#market-filter-btn {
  display: none;
}

.dropdown-lg-sub {
  width: 100%;
  height: 35px;
  font-size: 0.825rem;
  margin-top: 2.5px;
  margin-right: 5px;
  padding-left: 10px;
  line-height: initial;
  color: #000;
  outline: none;
  border: 1px solid #ddd;
}

.dropdown-lg-sub[id="numitemd-dd"] {
  min-width: 55px;
  max-width: 55px!important;
  background: url(../../assets/images/caret-down-black.svg) 93% / 17.5px no-repeat var(--primary-background);
  font-size: 0.725rem!important;
  color: var(--primary-text);
  border-radius: 2.5px;
  outline: none;
  border: 1px solid var(--border-light); 
  font-weight: 600;
}

/*.dropdown-lg-sub[id="orderby"] {
  min-width: 135px!important;
  background: url(../../assets/images/caret-down-black.svg) 96% / 17.5px no-repeat var(--primary-background);
  max-width: 175px;
  font-size: 0.725rem!important;
  color: var(--primary-text);
  border-radius: 2.5px;
  outline: none;
  border: 1px solid var(--border-light); 
  font-weight: 600;
}*/

#orderby {
  max-width: 175px;
}

#vw-all-marketcat {
/*  padding-top: 5px;
  padding-bottom: 15px;*/
}

#searchmarketcatrow,
#marketcatrow {
    margin: 5px;
}

#market-cat {
    color: #797979;
    display: inline-flex;
    height: 40px;
}

#market-cat:hover {
    color: #000;
    cursor: pointer;
}

#market-cat > .material-icons {
    margin-top: 0.5rem;
}

.marketnav-link {
  margin-left: 15px;
}

#categorysearch {
    width: 100%;
    border: none;
    border-bottom: 1px solid lightgray;
    outline-style: none;
    margin-top: 25px;
    margin-bottom: 25px;
    height: 50px;
    padding: 10px;
}

.category-link {
  height: 40px;
  text-align: center;
  padding: 0px;
  margin-bottom: 25px;
  color: #797979;
}

.category-link:hover {
  background-color: #b99867;
  color: #fff!important;
  cursor: pointer;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

#allcategorylabel {
	color: #797979;
	display: inline;
}

#marketcat-all {
  color: #797979;
	position: relative;
  top: 7px;
}

#mapContainer {
  top: 0px;
  left: 0px;
  z-index: 5;
  width: 100%;
  height: 100vh;
  background: #fff;
}

#market_mapview {
  display: none;
  position: relative;
  width: 100%;
  height: calc(100vh - 60px);
  overflow: hidden;
  border-radius: 0.25rem;
}

#floating-panel {
  display: grid;
  padding: 5px;
  line-height: 30px;
  padding-left: 10px;
  max-height: 47px;
}

/*#floating-panel {
  top: var(--delta-from-top);
  z-index: 7;
}
*/
.gm-heatmap-control {
  cursor: pointer;
  direction: ltr;
  overflow: hidden;
  text-align: center;
  position: relative;
  color: rgb(0, 0, 0);
  font-family: "Roboto", Arial, sans-serif;
  -webkit-user-select: none;
  font-size: 14px !important;
  background-color: rgb(255, 255, 255);
  padding: 1px 10px;
  margin-bottom: 2.5px;
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: none;
  border: 1px solid rgba(0, 0, 0, 0.14902); 
  /*-webkit-box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
  box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;*/
  height: 34px;
  min-width: 128px;
  /* font-weight: 500; */
  border-radius: 2.5px;
}

#mapCntrls {
  display: none; 
  position: absolute;
  z-index: 7;
  background: #fff; 
  height: 40px; 
  width: 176px; 
  left: 10px; 
  border-radius: 2.5px;
  bottom: 75px;
}

.mapCntrLu {
  padding: 0px;  
  display: inline-flex; 
  width: 100%;
}

.mapCntrLi {
  list-style: none;
  height: 40px;
  width: 100%;
  /* margin: 0px auto; */
  padding: 7.5px 15px;
}

.mapCntrLi:hover {
  cursor: pointer;
  background: #e6f2f7;
}

/*#market_viewmode{
  background: rgba(0, 9, 56, 0.9);
  z-index: 2;
  height: 150px;
  width: 40px;
  position: fixed;
  border-radius: 5px 0px 0px 5px;
  right: 0px;
  border: 1px solid #3333330f;
  top: 10rem;
  padding-top: 5px;
}

#market_viewmode:hover {
  background: rgba(0, 9, 56, 1);
}*/

/*#listview{
  color: #e1e1e1;
}

#moduleview{
  color: #e1e1e1;
}

#market-filter-btn {
  color: #e1e1e1;
  position: relative;
  top: 7px;
}*/

.markettopnav-cont {
  display: inline-flex;
  background: var(--bs-white);
  padding: 0.25rem;
  border-radius: var(--bs-border-radius);
}

.markettopnav-lbl {
/*  color: var(--darkblue);*/
  display: none;
}

/*.nav-item[name="markettopnav-btm"] {

}

.markettopnav-icon {
  height: 24px;
  width: 24px;
  line-height: 24px;
}*/

/*.card-map-pin,
.markettopnav-svg {
  position: relative;
  padding: 2.5px;
  width: 20px;
  height: 25px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
*/

.markettopnav-svg {
  margin-right: 0.005rem;
  margin-left: 0.005rem;
  height: 28px !important;
  width: 32px !important;
  padding: 0.25rem;
  stroke: var(--bs-gray-500) !important;
  fill: var(--bs-gray-200) !important;
  background: var(--bs-body-bg);
  border-radius: var(--bs-border-radius);
  border: 1px solid var(--bs-border-color);
}

.feather-filter {
  stroke: var(--lightblue);
  fill: var(--lightblue);
}

/*.card-map-pin {
  position: relative;
  top: -2px;
}*/

.feather-map-pin-pink {
  stroke: var(--secondary-accent);
  fill: var(--secondary-accent);
  padding-top: 0px;
  margin-right: 0.25rem;
  height: 16px !important;
  width: 16px !important;
}

.feather-map-pin {
  stroke: var(--secondary-accent);
  fill: var(--secondary-accent);
  padding-top: 0px;
  margin-right: 0.25rem;
}

.feather-list {
  stroke: var(--darkcyan);
}

.feather-grid {
  stroke: var(--tertiary-accent);
  fill: var(--tertiary-accent);
}

#viewmode_list:hover{
    cursor: pointer;
}

#viewmode_module:hover{
    cursor: pointer;
}

#viewmode_filter,
#viewmode_list,
#viewmode_module,
#viewmode_map {
  height: 50px;
  padding-left: 0px;
  padding-right: 0px;
  text-align: center;
  font-size: 1.5em;
}

#market-header-container {
  width: 0px;
  max-width: 695px;
  background-color: #fff;
  z-index: 3;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  padding: 0px;
  top: var(--delta-from-top);
  bottom: 0px;
  left: 0px;
  overflow-y: scroll;
  position: absolute;
  transition: .5s ease;
}

#markettopnav-bg {
/*  background: linear-gradient(45deg, #efbda2, #efbfa5);*/
}

#market-top-section  {
  background: url(https://images.pexels.com/photos/6169668/pexels-photo-6169668.jpeg?auto=compress&cs=tinysrgb&w=1600) center center no-repeat;
  background-position-y: 30%;
  background-size: cover;
}


#market-header {
  margin: 0px;
  width: 100%;
  top: 10px;
  z-index: 5;
  text-align: center;
  min-height: 50px;
  height: fit-content;
  padding: 0.75rem 0rem;
  transition: all ease-out 0.25s;
  border-bottom: 1px solid var(--border-light);
}

/*fix market header*/
.fxMh {
  position: fixed;
  top: var(--delta-from-top);
  z-index: 8;
  background: #fff;
  padding: 0.25rem 2.5rem!important;
}

.generalMarketControls {
  padding: 0px;
  display: inline-flex; 
  width: 100%; 
  margin-bottom: 15px;
}

#market-top-mobilesection {
  height: fit-content;
  padding: 0px 15px;
  z-index: 4;
}

#additem-btn-lg {
  line-height: 20px!important; 
  margin-top: 7.5px;
  display: none;
}

#mobilesection-additembtn-btn-outline {
  margin-top: 3.5px;
  height: 32px;
  margin-right: 0.66rem;
  display: none;
  padding: 1px 0px;
  min-width: fit-content;
  background: var(--primary-accent);
  color: #fff;
  border-radius: 2.5px;
}

#mobilesection-additembtn {
  line-height: 1;
  padding: 7.5px 15px;
  font-weight: 600;
  font-size: 0.925rem;
  transition: all ease-out 0.25s;
}

#additem-lbl {
  color: #fff;
  font-size: 0.825rem;
  font-weight: 500;
/*  line-height: 30px;*/
}

#additem-mobile-svg {
  height: inherit;
  padding: 12px;
  position: relative;
  top: -1px;
}

#markettopdd {
  display: inline-flex;
}

/*#market-filters-mb {
  height: -webkit-fill-available;
  z-index: 3;
  width: 100%;
  margin: 0px;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

#market-filters {
  min-height: 100vh;
  height: 100vh;
  overflow-y: scroll;
  min-width: 265px;
  width: 100%;
  max-width: 300px;
  margin: 0px;
  margin-bottom: 25px;
  padding: 0px;
  position: sticky;
  top: 90px;
  margin-top: 20px;
}*/

.fxMFltrs {
  position: fixed!important;
  z-index: 7;
  top: var(--topnav-btm)!important;
  margin: 0px!important;
  background: var(--primary-background);
  padding-top: 25px;
}

#subcategory-market-filter {
  margin-bottom: 150px;
}

.marketfilter {
	display: inline;
	float: right;
}

.marker-filter-header {
  position: relative;
  /*bottom: 40px;*/
  display: inline-flex;
}

#market-filter-btn-arrow {
  color: #222B34;
}

/*#market-filter-title {
  height: 50px;
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0px;
  padding: 10px;
  text-align: left;
  width: 100%;
}*/


#ul-topmarketnav {
  position: relative;
  min-height: 50px;
  left: 0px;
  padding: 5px 10px 5px 10px;
  background-color: rgba(255, 255, 255, 1);
}


#cat-num-res {
  padding-left: 40px;
}

/*#category-label {
  font-weight: 600;
  display: inline-flex;
  font-size: 1.25rem;
  color: var(--primary-label);
}*/

#category-label {
  line-height: 1.8;
}

/*#num-res-label {
  margin-left: 5px;
  display: inline-flex;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 2.1;
}*/

#num-res-label {
  padding: 0.35rem 0rem;
  display: inline-flex;
}

#category-results {
  margin: 0rem 0.25rem;
  display: inline-flex;
}

#displayed_number {
  margin-right: 0.25rem;
}

#total_number {
  margin-left: 0.25rem;
}

.advSearchBtn {
  margin-left: auto;
  padding: 5px;
  text-decoration: underline;
  position: relative;
  font-size: 0.75rem;
  width: max-content;
  margin-top: 5px;
}

.advSearchBtn:hover {
  cursor: pointer;
  font-weight: bold;
}

/******************************MARKET FILTER ***************************/

#add-item-container {
  text-align: left;
  padding: 15px;
  height: 50px;
  display: none;
}

.locationBadgeContainer {
  padding-top: 10px;
  padding-bottom: 25px;
  height: auto;
  text-align: left;
  display: inline-grid;
}

#locationLabel {
  margin-bottom: 10px;
  color: var(--primary-label);;
}

#locationBadge {
  display: inline-flex;
  min-height: 35px;
/*  flex-wrap: wrap;*/
  border-radius: 0.2rem;
  width: 100%;
  background: var(--aliceblue);
  font-size: 0.825rem;
}

.locationDot {
  background: var(--secondary-btn);
  margin: 12px 5px auto 10px;
  padding: 5px;
  -webkit-box-shadow: 0px 1px 4px var(--secondary-btn)!important;
  box-shadow: 0px 1px 4px var(--secondary-btn)!important;
}

#curr_location {
  margin: auto;
  margin-left: 0px;
  margin-right: 5px;
  padding: 5px 10px 5px 5px;
  line-height: 1.5;
  color: var(--blue);
  font-size: 0.825rem;
  font-weight: 500;
}

/*.market-dropdown-center,
.checkbox-container,
.input-container {
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
  text-align: left;
}*/

#additem-dropdown-center {
  padding-top: 25px;
  padding-bottom: 25px;
  height: auto;
  border-bottom: 1px solid lightgray;
  text-align: center;
}

#market-dropdown-regular {
  height: auto;
}

.dropdown-s {
  width: 60px;
  border-radius: 2.5px;
  height: 42px;
  border: 1px solid var(--border-light);
  font-size: 1rem;
  padding-left: 10px;
  background: url(../../assets/images/caret-down-black.svg) 97% / 17.5px no-repeat;
}

.dropdown-md {
  width: 75%;
  height: 42px;
  padding-left: 15px;
  border: 1px solid var(--border-light);
  border-radius: 2.5px;
  color: lightslategrey;
  background: url(../../assets/images/caret-down-black.svg) 98% / 17.5px no-repeat;
}

.dropdown-lg {
  /*min-width: 215px;*/
/*  width: 100%;
  height: 45px;
  font-size: 1rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  color: var(--primary-text);
  font-weight: 500;
  border-radius: 2.5px;
  outline: none;
  border: 1px solid var(--border-light);
  background: url(../../assets/images/caret-down-black.svg) 95% / 17.5px no-repeat var(--primary-background);*/
}

.main-dd-lg {
  width: 100%;
  height: 45px;
  font-size: 1rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  color: var(--primary-text);
  font-weight: 500;
  border-radius: 2.5px;
  outline: none;
  border: 1px solid var(--border-light);
  background: url(../../assets/images/caret-down-black.svg) 95% / 17.5px no-repeat var(--primary-background);
}

.dropdown-lg:hover {
  border-color: #9E9E9E;
  cursor: pointer;
}


#additembtn {
  position: relative;
  left: 85%;
  top: 50%;
  height: 52px;
  width: 52px;
  background: #F44336;
  /* background-color: #b99867; */
  color: #fff;
  border-radius: 26px;
  text-align: center;
  padding-top: 14.5px;
  z-index: 3;
}

#additembtn:hover {
  -webkit-box-shadow: 0 0 8px 0 rgba(10,10,10,.2);
  box-shadow: 0px 2px 10px 2px rgba(10, 10, 10, 0.2);
  cursor: pointer;
}

/*#marketfilter[name='category'] {
  margin-top: 25px;
}*/

/*label[for="price-amount"],
label[for="radius-amount"],
label[for="year-amount"],
label[for="mileage-amount"],
.filter-label,
.add-label {
  font-style: normal;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  color: var(--primary-label);
  line-height: 1.2;
  font-size: 1rem;
  margin: 0px;
  padding: 0px;
}*/

/*[id*="nw-"] {
  margin-bottom: 15px;
}
*/
label[for="itemprice"]{
  margin-right: 5px;
}

#price-amount,
#radius-amount,
#year-amount,
#mileage-amount {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 0.825rem;
  width: min-content;
  max-width: 155px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  padding: 0px;
  line-height: 2.5rem;
  position: relative;
  left: 5px;
}

.marketfilter-cb {
  padding: 0px;
  margin: 25px 0px;
  max-height: 300px;
  overflow-y: scroll; 
}

.marketfilter-dd {
  /*margin-bottom: 1.25rem;*/
}

#brand-dd {
  padding: 0px;
}

.li-brand, .li-model {
  width: 100%;
  list-style: none;
  text-align: left;
  color: #2d2d2d;
  line-height: 1.5rem;
  font-size: 0.875rem;
}

.li-model {
  position: relative;
  left: 15px;
  max-width: 200px;
}

/* The container */
.cb-container {
    display: block;
    color: #000;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.marketfilter-cb input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    color: var(--secondary-label);
    border: 1px solid #b3b3b3;
    border-radius: 2.5px;
    background-color: #fff;
}

/* On mouse-over, add a grey background color */
.cb-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.cb-container input:checked ~ .checkmark {
  background-color: var(--blue);
  border: 1px solid var(--blue);
  /* background-color: transparent;*/
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.cb-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.cb-container .checkmark:after {
    left: 8px;
    top: 0px;
    width: 8px;
    height: 20px;
    border: solid var(--secondary-label);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media screen and (min-width: 1200px) {

  #market-root-container {
      max-width: 64vw!important;
  }
}

@media screen and (max-width: 1200px) {
/*  #market-filters {
    z-index: 99;
    position: fixed;
    top: var(--topnav-top);
    margin: 0px;
    background-color: var(--primary-background);
  }*/

  #quickSearchRow {
    height: fit-content;
    max-width: 500px;
  }

  #add-item-container,
  #market-filter-btn {
    display: block!important;
  }
}

@media screen and (max-width: 1100px) {
  #mobilesection-additembtn-btn-outline {
    display: block!important;
  }
}

@media screen and (max-width: 768px) {

  #market-header {
    display: inline-grid;
/*    top: 0px!important;
    background-color: rgb(0 0 0 / 0.5);*/
  }

  #category-label, #num-res-label {
/*    color: #fff;
    text-shadow: 0 4px 16px rgba(55,64,77,.5);*/
  }

  #market-main-container {
    padding: 0px!important;
  }

  #market-header-container {
    margin-bottom: 48px!important;
  }

  #market-top-section {
    /*margin-top: var(--delta-from-top);*/
    background-position-y: 0px;
    max-height: 250px!important;
    padding-top: 0px!important;
  }


  #ul-topmarketnav {
    display: inline-grid;
    margin: 0px!important;
    width: -webkit-fill-available;
    background: rgba(41, 41, 41, 0.33);
    min-height: 200px!important;
    padding: 20px 10px 20px 10px!important;
    filter: drop-shadow(0px 0px 6px #333);
  }

  #additem-btn-lg {
    display: block!important;
  }

  .generalMarketControls {
    display: inline-grid!important;
    padding: 15px 0px 0px;
    text-align: left;
  }

} 

@media screen and (max-width: 680px) {

    #market-header-container {
      top: 50px!important;
    }

    .markettopnav{
      min-width: 120px;
      width: fit-content;
      max-width: 100%;
      height: auto;
      font-size: 1.5rem;
      margin-left: 0px;
      top: 25px;
    }

    .pagination {
      float: none!important;
    }

    #markettopdd{
      margin: 0px!important;
    }


    .card-img {
      padding: 0px!important;
      width: 540px!important;
      /*object-position: -20px;*/
    }

    .card-lg-outline {
      margin-right: 0px;
      margin-left: 0px;
      width: 50%!important;
    }

    .card-lg-outline-list {
      width: 100%!important;
      margin-left: 0%;
      margin-bottom: 5rem !important; 
    }

    .card-lg-img-list{ 
      width: 50%!important;
    }
}

@media screen and (max-width: 430px) {
  .markettopnav{
    top: 0px;
    font-size: 1.25rem;
  }

}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* CAUTION: IE hackery ahead */

select::-ms-expand { 
    display: none; /* remove default arrow in IE 10 and 11 */
}

/* target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
    select {
        background:none\9;
        padding: 5px\9;
    }
}


/****************************************************************************************************************/
/************************************************ GOOGLE MAPS ***************************************************/
/****************************************************************************************************************/
.pulse {
  width:15px;
  height:15px;
  border-radius:50%;
  margin: 15px 0px;
  display: block;
  background: linear-gradient(-153deg,#1E88E5,#64B5F6 95%);
  cursor: pointer;
  box-shadow: 0 0 0 rgba(204,169,44, 0.4);
  animation: pulse 2s infinite;
}
.pulse:hover {
  animation: none;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(33,150,245, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 0 10px rgba(33,150,245, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba(33,150,245, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(33,150,245, 0.4);
    box-shadow: 0 0 0 0 rgba(33,150,245, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(33,150,245, 0);
      box-shadow: 0 0 0 10px rgba(33,150,245, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(33,150,245, 0);
      box-shadow: 0 0 0 0 rgba(33,150,245, 0);
  }
}


#map-search-results {

  /*position: absolute;
  width: 85vw;
  
  margin-right: 50%;
  z-index: 8;
  top: calc(50vh - 120px);
  left: 10%;*/

  position: absolute;
  width: 100%;
  max-width: 595px;
  z-index: 8;
  bottom: 20px;

}

@media screen and (max-width: 680px) {
  .gm-modal-row {
    display: grid!important;
  }

  .gm-modal-row img {
    width: 100%!important;
    height: 100%!important;
  }
}

.gm-result-controls {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  position: relative;
  float: right;
}

/*#prev-gm-result {
  margin-left: auto;
}*/


#next-gm-result {
  margin-right: auto;
}
.gm-result-nav {
  height: 24px;
  width: 24px;
  margin: 0px 2px;
  background-color: var(--bs-primary);
  color: #fff;
  padding: 0px;
  line-height: 12px;
  font-size: 12px;
  text-align: center;
  font-weight: 600;
}

.gm-res-navbtn {
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gm-result-nav:hover,
.gm-res-navbtn:hover,
#close-gm-results {
  cursor: pointer;
}

#close-gm-results {
  height: 24px;
  width: 24px;
  background-color: #fff;
  color: var(--placeholder-gray);
  line-height: 10px;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
}

.close-gm-results:before {
  font-family: FontAwesome;
  content: '\f00d';
}

.close-gm-results:hover {
  cursor: pointer;
}

.gm-result-container {
  width: inherit;
  max-width: inherit;
}

#gm-row-container {
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
  width: inherit;
  max-width: inherit;
  max-height: 100%;
  border-radius: 5px;
  /*overflow-x: scroll;*/
}

.gm-modal-row {
  display: inline-flex;
  position: relative;
  width: inherit;
  margin: auto;
}

.googlemaps_modal_avatar {
  max-width: fit-content;
  padding: 0px;
  border-radius: 5px 0px 0px 5px;
}

.gm-result-img {
/*  height: 180px;
  width: 200px;
  border-radius: inherit;
  object-fit: cover;
  background: var(--box-gray);*/
  height: 200px;
  width: 200px;
  border-radius: 0.25rem;
  object-fit: cover;
  background: var(--box-gray);
}

.gm-result-num {
  top: 7.5px;
  padding: 0.1rem;
  position: absolute;
  left: 7.5px;
  color: #fff;
  min-width: 40px;
  height: 20px;
  text-align: center;
  border-radius: 25px;
  background: #00000052;
  font-weight: 500;
  font-size: 0.9em;
  text-shadow: rgb(0 0 0) 1px 1px;
  -webkit-font-smoothing: antialiased;
}

.gm-result-text {
  display: inline-grid;
  background-color: #fff;
  padding: 15px;
  margin: 0px;
  min-width: 379px;
  width: 379px;
  max-width: 379px;
  height: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 0px 5px 5px 0px;
}

/*GOOGLE MAPS POP UP BOX*/

/*.gm-style .gm-style-iw-c {
  position: fixed;
  box-sizing: border-box;
  overflow: hidden;
  left: 0;
  display: inline-block;
  bottom: -68vh;
  width: auto;
  z-index: 3;
  height: 175px;
  background-color: #fff;
  border-radius: 0px!important;
  padding: 25px 5px 5px 5px;
  box-shadow: 0 2px 7px 1px rgba(0,0,0,0.3);
}

.gm-style-iw-d > div > div {
  display: inline-flex;
}
*/

/*CARET GOOGLE MAPS POP UP BOX*/

.gm-style .gm-style-iw-t::after {
  display: none;
}