﻿
/*Direction screen css*/


.switch-btn {
    /*    background: #ccc;*/
    cursor: pointer;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 3px 0;
    font-size: 12px;
    line-height: 1.42;
    border-radius: 15px;
    margin-right: 5px;
}

    .switch-btn:hover {
        background: #ccc;
    }

.adp {
    display: none !important;
}

.direction-item {
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: #FFF;
}

.direction-active {
    background: #BB6E1729;
    border: 1px solid #BB6E17;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.bg-white {
    background: #fff;
}

.travle-mode-item {
    padding: 0.5rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: end;
    border: 1px solid #fff;
    cursor: pointer;
}

.travle-mode-active {
    border: 1px solid #BB6E17;
}


.travle-mode-item:not(.travle-mode-active):hover {
    background-color: rgba(60,64,67,0.04);
    border-color: rgba(60,64,67,0.04);
}

.near-place-item {
    padding: 4px 8px;
    border-radius: 8px;
    display: flex;
    border: 1px solid #fff;
    flex-direction: column;
    text-align: center;
    color: #335B89;
    font-weight: 400;
    font-size: 11px;
    min-width: 65px;
    cursor: pointer;
}

    .near-place-item:not(.near-place-active):hover {
        background-color: rgba(60,64,67,0.04);
        border-color: rgba(60,64,67,0.04);
    }

.near-place-active {
    border: 1px solid #BB6E17;
    color: #BB6E17;
}

.direct-title {
    display: flex;
    padding: 1rem;
    align-items: center;
}

    .direct-title span {
        font-weight: 700;
        font-size: 16px;
        line-height: 16px;
        margin-left: 0.5rem;
    }

.p-1-2 {
    padding: 1rem 0.5rem 0rem 0.5rem;
    margin-bottom: 1rem;
}

.input-custom {
    width: 100%;
    border: 1px solid #335B89;
    height: 46px;
    border-radius: 8px;
}


/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    /*    display: inline-block;*/
}

input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}

    input[type=text] {
        background-color: #f1f1f1;
        width: 100%;
    }

    input[type=submit] {
        background-color: DodgerBlue;
        color: #fff;
        cursor: pointer;
    }

.autocomplete-items {
    position: absolute;
    /*    border: 1px solid #d4d4d4;*/
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    /*    margin: 0 5px;*/
    margin: 5px;
    box-shadow: 0px 0px 16px 0px #00000033;
    border-radius: 8px;
    background-color: #fff;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        /*        background-color: #fff;*/
        /*        border-bottom: 1px solid #d4d4d4;*/
    }

        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}


#list-place .card-item.active {
    border: 1px #BB6E17 solid;
    background-color: #f4e8da;
    border-radius: 8px;
}

.d-none {
    display: none !important;
}

.p-4 {
    padding: 2rem;
}

.map-left-side {
    background-color: #E2ECF4;
}

.near-place-item-card {
    border-radius: 16px;
    margin-bottom: 1rem;
}

    .near-place-item-card .card-img-direction {
        max-height: 160px;
        width: 100%;
        max-width: 395px;
        border-radius: 12px;
    }

    .near-place-item-card .near-place-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 16px;
        padding-top: 1rem;
        /*    text-align: left;*/
    }

.map-nearby-filter {
    justify-content: space-evenly;
    padding: 0.5rem;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 1200px) {
    .col-md-3-map {
        width: 25%;
        padding-left: 5px !important;
        float: left;
    }

    .col-md-13-map {
        width: 75%;
        padding-right: 5px !important;
        float: right;
    }

    .left-result {
        height: calc(100vh - 300px);
        overflow-y: scroll
    }

    .expand-content {
        display: block;
    }

    .expand-link {
        display: none;
    }

    .main-content-mobile {
        display: block;
    }

    .nearby-place-mobile {
        display: none;
    }

    .map-search-section {
        padding: 1rem;
    }

    .list-place {
        padding: 0 2rem;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .col-md-3-map {
        width: 25%;
        padding-left: 5px !important;
        /*        padding-right: 5px !important;*/
        float: left;
    }

    .col-md-13-map {
        width: 75%;
        /*        padding-left: 5px !important;*/
        padding-right: 5px !important;
        float: right;
    }

    .left-result {
        height: calc(100vh - 320px);
        overflow-y: scroll
    }

    .expand-content {
        display: block;
    }

    .expand-link {
        display: none;
    }

    .main-content-mobile {
        display: block;
    }

    .nearby-place-mobile {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .col-md-3-map {
        width: 30%;
        padding-left: 5px !important;
        float: left;
    }

    .col-md-13-map {
        width: 70%;
        padding-right: 5px !important;
        float: right;
    }

    .left-result {
        height: calc(100vh - 320px);
        overflow-y: scroll
    }

    .expand-link {
        display: none;
    }

    .main-content-mobile {
        display: block;
    }

    .nearby-place-mobile {
        display: none;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {

    .col-md-3-map {
        padding-left: 5px !important;
    }

    .col-md-13-map {
        float: left !important;
        width: 100%;
    }

    .left-result {
        height: calc(100vh - 320px);
        overflow-y: scroll
    }

    .expand-content {
        display: none;
    }

    .expand-link {
        display: block;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .col-md-3-map {
        padding-left: 5px !important;
    }

    .col-md-13-map {
        float: left !important;
        width: 100%;
    }

    .left-result {
        height: calc(100vh - 320px);
        overflow-y: scroll
    }

    .expand-content {
        display: none;
    }

    .expand-link {
        display: block;
    }
}
