#map {
    border-radius: 8px;
    height: 65vh;
    width: 100%;  /* This means "100% of the width of its container", the .col-md-8 */
}

@media screen and (max-width: 340px) {
    #map {
        height: 510px;  /* or as desired */
    }
}

.cstm-cont{
    margin: 0px;
    padding: 15px;
}

.sidelist {
    width: 100%;
    height: 510px;
    overflow-y: auto;
}

.sidelist::-webkit-scrollbar{
    transform: translateX(5px);
}

.sideitem-box{
    text-decoration: none;
    padding-right: 0;
    margin-right: 0;
    display:inline-block;
    max-width: 24.5%;
    min-width: 300px;
}

.sidelistbox {
    padding-left: 20px;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

@media screen and (max-width: 340px) {
    .sideitem-box{
        min-width: 200px;
    }
}

.sideitem {
    background-color: rgb(233, 218, 197);
    padding: 10px;
    min-width: 98%;
    max-width: 98%;
    margin-bottom: 10px;
    border-radius: 10px;
    border-width: 3px;
    border-color: rgb(205, 190, 168);
    position: relative;
    color: black;
    min-height: 233px;
}

.sideitem.selected {
    background-color: rgb(205, 190, 168);
    border-color: rgb(205, 190, 168);
}

.itemimg{
    width: 100%;
    height: 100px;
    padding-top: 0px;
    object-fit: cover;
}

.itemdistance {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7); /* Black see-through */
    width: 25%;
    color: white;
    font-size: 10px;
    padding: 5px;
    text-align: center;
  }

.itemhead{
    font-size:x-large;
    margin-bottom: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.itemlocation{
    font-size: small;
    margin-top: -5px;
    margin-bottom: -5px;
    color: #414448;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.locationbox{
    margin-bottom: 10px;
}

.itemdesc{
    font-size: small;
    line-height: normal;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.radiobox{
    display: inline-flex;
    height: 30px;
    width: 120px;
}

.radiobox .radiooption{
    background: rgba(233, 218, 197, 1);
    height: 75px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px black solid;
}

#radiooption-1:checked:checked ~ .radiooption-1,
#radiooption-2:checked:checked ~ .radiooption-2 {
    background: rgba(205, 190, 168, 1);
    border: 2px black solid;
    font-weight: bold;
}

.radiobox .radiooption span {
    text-align: center;
    margin-top: 5px;
    height: 25px;
    width: 150px;
    font-size: 20px;
    color: #000;
    margin-bottom: 10px;
}

#radiooption-1:checked:checked ~ .radiooption-1 span,
#radiooption-2:checked:checked ~ .radiooption-2 span{
    color: black;
}

.range_container {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 10px 0;
}

.sliders_control {
    position: relative;
    margin: 10px 0;
}

.form_control {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #635a5a;
}

#fromSliderWheelchairFriendly, #fromSliderBudget, #fromSliderAgeGroup {
    height: 0;
    z-index: 1;
}

table {
    width: 100%;
}

.filters {
    width: 100%;

    padding: 10px;
    margin-bottom: 10px;
    background: rgba(233, 218, 197, 0.9) !important;
}

.listbox {
    background: rgba(233, 218, 197, 0.9);
    margin-right: 0;
    margin-left: 0;
    padding-top: 10px;
}

.sortbox {
    margin: 10px;
    margin-left: 25px;
}

.readmore {
    text-decoration:underline;
}

.filterbutton {
    margin-top: -5px;
}

input[type="radio"]{
    display: none;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    width: 100%;
    position: absolute;
    background: black !important;
    pointer-events: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: black !important;
}

input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    background: black !important;
}

input[type=range]::-ms-thumb {
    background: black !important;
}

select, input[type=text] {
    border: 1px black solid;
}

.form_control span {
    color: #414448;
}

@media screen and (min-width: 768px) {
    .filter{
        display: inline-block;
    }
}
