html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
    text-decoration: none;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    font-weight: 400;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    border: 0;
    outline: none;
}

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    min-width: 300px;
    overflow: hidden;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: sans-serif;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-tone-1);
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

ul,
li {
    list-style: none;
}

.d-flex {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
}

.al {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.sp {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.text-overflow {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 2;
}

#mapContainer {
    width: 100%;
    margin: 0 auto;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    right: 0;
    left: unset;
}

.form-container {
    transition: visibility .75s ease-in-out, transform .75s ease-in-out, opacity .75s ease-in-out;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 386px;
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translate(0);
    height: calc(100%);
    z-index: 12;
    -webkit-box-shadow: 2px 0 3px 0 rgb(0 0 0 / 20%);
    box-shadow: 2px 0 3px 0 rgb(0 0 0 / 20%);
    background-color: #fff;
    touch-action: none;
}

.inner-form {
    padding: 10px;
    height: 100%;
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 0;
    /* padding-bottom: 120px; */
    max-height: 100dvh;
}

.inner-form::-webkit-scrollbar {
    background-color: #fff;
    width: 16px;
}

/* background of the scrollbar except button or resizer */
.inner-form::-webkit-scrollbar-track {
    background-color: #fff;
}

.inner-form::-webkit-scrollbar-track:hover {
    background-color: #f4f4f4;
}

/* scrollbar itself */
.inner-form::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 5px;
    border: 5px solid #fff;
}

.inner-form::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a5;
    border: 4px solid #f4f4f4;
}

/* set button(top and bottom of the scrollbar) */
.inner-form::-webkit-scrollbar-button {
    display: none;
}

.inner-form::-webkit-scrollbar {
    display: none;
}

.hiddenFixed {
    position: absolute;
    top: 48px;
    right: -30px;
    outline: 0;
    text-align: center;
    width: 30px;
    height: 50px;
    border-radius: 0 5px 5px 0;
    -webkit-transition: -webkit-transform 1s ease, background 0.5s;
    -o-transition: -o-transform 1s ease, background 0.5s;
    transition: -webkit-transform 1s ease, transform 1s ease, background 0.5s;
    background-color: var(--color-main);
    color: #424242;
    -webkit-box-shadow: 2px 0 3px 0 rgb(0 0 0 / 20%);
    box-shadow: 2px 0 3px 0 rgb(0 0 0 / 20%);
    cursor: pointer;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-left: 0;
}

.hiddenFixed:hover {
    background-color: var(--color-main);
}

.hiddenFixed svg {
    fill: var(--color-white);
    width: 13px;
    height: 13px;
}

#chevron-right {
    transform: rotate(180deg);
}

.hiddenFixedRight svg {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.search-form {
    margin-top: 10px;
    position: relative;
}

.search-form>h2 {
    font-weight: 600;
}

.search-group {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 38px;
    z-index: unset;
    display: flex;
}

.search-field {
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-small);
    padding-left: 50px;
    padding-right: 50px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-size: 14px;
}

.search-field.active {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.search-field::placeholder {
    color: #d6dfe6;
}

.svg-Icon {
    position: absolute;
    width: 40px;
    height: 100%;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-right: 1px solid #e0e0e0;
}

.svg-Icon>svg {
    width: 13px;
    height: 13px;
}

.svg-Icon>img {
    width: 24px;
    height: 30px;
}

.submitForm {
    background-color: #fff;
    color: #424242;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 12px 24px;
    text-align: center;
    border-radius: 30px;
    font-weight: 600;
    -webkit-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
    cursor: pointer;
    min-height: 44px;
    border: 1px solid var(--color-main);
    -webkit-box-shadow: 0 0 2px 0 var(--color-main);
    box-shadow: 0 0 2px 0 var(--color-main);
}

.submitForm>img,
.submitForm>svg {
    margin-right: 8px;
}

.submitForm:hover {
    border-color: var(--color-sub);
    -webkit-box-shadow: 0 0 2px 0 var(--color-sub);
    box-shadow: 0 0 2px 0 var(--color-sub);
    background-color: var(--color-main);
    color: var(--color-white)
}

.li_position {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    font-size: 14px !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.li_position>img,
.li_position>svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    fill: var(--svg-fill);
}

.suggestionLocation li:hover {
    color: #000;
}

#viaForm {
    display: none;
}

.rightIcon {
    right: 0;
    left: unset;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
    border-right: 0;
}

.rightIcon:hover svg {
    fill: var(--svg-fill);

}

#bigX {
    display: none;
}

.addVia {
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    margin-left: 0 !important;
}

.addVia:hover {
    background-color: #3c40430a;
}

.icon-add {
    background-color: transparent;
    cursor: pointer;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.icon-add>svg {
    fill: var(--color-main);
    width: 20px;
    height: 20px;
}

.grid-directions {
    position: relative;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.grid-directions>.search-form {
    margin-top: 15px;
}

.grid-directions-input {
    width: 100%;
}

.grid-directions-input .switch-input .icon-add {
    margin-right: 0;
}

.switch-input {
    width: 44px;
    height: 44px;
    background-color: var(--color-main);
    margin-left: 10px;
    border-radius: 50%;
}

.switch-input svg {
    fill: var(--svg-fill);
    width: 24px;
    height: 24px;
}

.topBox {
    -webkit-box-shadow: -2px 3px 3px #a9a9a9, 2px 3px 3px #a9a9a9;
    box-shadow: -2px 3px 3px #a9a9a9, 2px 3px 3px #a9a9a9;
    border-top: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 20px 10px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.flex-top-form,
.flex-form {
    margin-top: 10px;
}

.flex-menuBox {
    height: 49px;
    position: relative;
}

.icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all 0.15s;
    -o-transition: all 0.15s;
    transition: all 0.15s;
}

.flex-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/*new css*/
/* Carousel category (desktop): wrapper là flex [‹ | vùng cuộn | ›] — mũi tên NẰM NGOÀI dải, không đè chip.
   wrapper GIỮ vị trí + giới hạn tổng bề rộng (~6 chip). Mobile dùng .grid__place--mobile. */
.grid__place--wrap {
    position: absolute;
    top: 0;
    left: 430px;
    width: min(620px, calc(100vw - 450px));
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.grid__place {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.grid__place::-webkit-scrollbar {
    display: none;
}

.grid__place.dragging,
.grid__place--mobile.dragging {
    cursor: grabbing;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Chip giữ nguyên bề rộng tự nhiên (không co) để carousel cuộn đúng. */
.grid__place .pickButton,
.grid__place--mobile .pickButton {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

/* Mũi tên trượt (chỉ desktop) — là flex item 2 đầu wrapper, KHÔNG đè chip; tự ẩn khi hết chỗ cuộn. */
.carousel-arrow {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #fff;
    color: var(--color-tone-2);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    -webkit-box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.carousel-arrow:hover {
    background-color: var(--color-main);
    color: var(--color-white);
}

.carousel-arrow--left {
    margin-right: 6px;
}

.carousel-arrow--right {
    margin-left: 6px;
}

/* Ẩn mũi tên NHƯNG GIỮ CHỖ (visibility, không phải display:none) để clientWidth vùng cuộn
   không đổi khi ẩn/hiện -> chip không bị reflow giật, step trái/phải cân nhau. */
.carousel-arrow.is-hidden {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}

.carousel-arrow {
    transition: opacity .15s ease, background-color .15s ease, color .15s ease;
}

.grid__place--mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: auto;
    width: 100%;
    z-index: 11;
}

.grid__place--mobile .pickButton:first-child {
    margin-left: 30px;
}

.grid__place--mobile .pickButton:last-child {
    /* margin-right: 30px; */
}

.grid__place--mobile .text-overflow {
    white-space: nowrap;
}

.grid__place--mobile::-webkit-scrollbar {
    display: none;
}

.grid__place--mobile {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pickButton {
    -webkit-box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    background-color: #fff;
    color: var(--color-tone-2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    margin: 4px 0;
    margin-right: 10px;
    padding: 0 12px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 32px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    text-transform: capitalize;
    position: relative;
    font-size: 14px;
}

.grid__place--category {
    padding: 0;
}

.grid__place--category:hover .grid__place--more {
    color: var(--color-main)
}

.pickButton:hover {
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    background-color: var(--color-main);
    color: var(--color-white);
}

.pickButton.active {
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    background-color: var(--color-main);
    color: var(--color-white);
}

.sharing_button::before,
.back::before {
    content: attr(data-query);
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: #323232;
    padding: 4px 6px;
    -webkit-box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 0 4px rgb(0 0 0 / 24%);
    box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 0 4px rgb(0 0 0 / 24%);
    border-radius: var(--radius-small);
    background-color: #000;
    z-index: 4;
    color: var(--color-white);
    white-space: nowrap;
    font-size: 13px;
    display: none;
}

.sharing_button::before {
    left: 50%;
    top: unset;
    transform: translate(-50%);
    bottom: 50px;
}

.back::before {
    left: unset;
    top: unset;
    bottom: -25px;
    right: 0;
}

.sharing_button.addVia::before {
    left: 0;
    top: -50%;
    bottom: unset;
    transform: translateX(0);
}

.sharing_button:hover::before,
.back:hover::before {
    display: block;
}

.menu_layout {
    position: relative;
    display: block;
}

.menu_layout--new {
    margin-top: auto;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: -10px;
    background-color: var(--color-main);
    -webkit-box-shadow: 0px -1px 2px var(--color-main);
    box-shadow: 0px -1px 2px var(--color-main);
    border-top: 1px solid var(--color-main);
}

.menu_layout--new ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.menu_layout--new li {
    color: var(--color-white);

}

.menu_layout--new li a {
    color: inherit;
    padding: 8px 4px;
    display: inline-block;
    font-size: 11px;
    color: var(--color-white)
}

.menu_layout--new li a:hover {
    text-decoration: underline;
}

.add-destination {
    cursor: pointer;
}

#table-place .table-row {
    border-collapse: separate;
    border-spacing: 0 10px;
}

#table-place tr {
    -webkit-box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 2px 3px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 2px 3px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius-small);
}

#table-place tr td {
    padding: 5px;
    /* border: 1px solid #ddd; */
    cursor: pointer;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

table tr td a {
    color: #015eff;
    word-break: break-word;
}

#table-place tr td:hover {
    background-color: #f9f9f9;
}

.grid-place-box {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.grid-place-box>img {
    min-width: 50px;
    border-radius: var(--radius-small);
}

.grid-place-info {
    padding-left: 8px;
    width: 100%;
}

.grid-place-info>* {
    margin: 5px 0;
}

.grid-place-info h3 {
    font-weight: 600;
    font-size: 15px;
}

.grid-place-info p {
    font-size: 13px;
}

.place-distance {
    font-weight: 600;
}

.place-phone>a {
    color: #015eff;
}

.directions-from-table {
    margin-left: 8px;
    background-color: transparent;
}

.directions-from-table svg {
    fill: var(--color-main);
    width: 24px;
    height: 24px;
}

.directions-from-table::before {
    left: unset;
    right: 0;
    transform: unset;
}

.sharing_button.directions-from-table:hover {
    background-color: var(--color-main);
}

.sharing_button.directions-from-table:hover svg {
    fill: var(--color-white);
}

/*end new*/
.dropLi {
    padding: 0 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 42px;
    background-color: #fff;
    margin: 8px 0;
    border-radius: 32px;
    -webkit-box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.dropLi:hover {
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    background-color: var(--color-main);
}

.interest-maps .dropLi a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color:var(--color-main)
}
.dropLi:hover a {
    color: var(--color-white);
}
.pickButton>span {
    font-weight: 600;
}

.pickButton>span>span {
    font-size: 12px;
    margin-right: 4px;
}

.panel {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.panel p {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    font-size: 14px;
    margin-bottom: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.panel h2 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    padding: 10px;
    color: var(--color-main);
    background-color: #52baff1c;
    margin: 10px -10px;
}

.panel h2>span {
    color: var(--color-sub);
}

.panel h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.panel strong {
    margin-left: 3px;
}

.site-title {
    margin: 15px 0;
    font-size: 20px;
    font-weight: 600;
}

.site-description,
.description {
    line-height: 1.5;
}

.description h1, .description h2, .description h3, .description h4 {
    margin: 10px 0;
    font-weight: revert;
    margin: 10px 0;
    line-height: 1.35
}

.description h1 {
    font-size: 22px
}

.description h2 {
    font-size: 18px;
}

.description h3 {
    font-size: 16px
}

.description p {
    margin-bottom: 10px;
}

.description ol,
.description ul {
    padding-left: 30px;
    list-style: disc;
}

.description li {
    list-style: disc;
}

.now-location {
    -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 0.5em;
    width: 29px;
    height: 29px;
    background: #fff;
    position: fixed;
    top: 50%;
    right: 10px;
    z-index: 8;
    cursor: pointer;
    transform: translateY(-50%);
}

.now-location svg,
.now-location img {
    display: block;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: auto;
    width: 14px;
    height: 14px;
    fill: #333;
}

.now-location:hover {
    background-color: #f2f2f2;
}

.flex-form {
    display: block;
}

.arrow {
    display: inline-block;
    min-width: 28px;
    min-height: 28px;
    background-position: 0px;
    background-image: url(../imgs/arrows.png);
}

#openvia, #copyurl {
    cursor: pointer;
    gap: 4px;
}

.sharing_button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    margin-left: 10px;
    position: relative;
}

.add.location {
    font-size: 13px;
    color: var(--color-main);
}

.sharing_button:hover {
    background-color: #f9f9f9;
}

.sharing_button svg {
    width: 20px;
    height: 20px;
}

.popup-share {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: none;
}

.popup-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 10px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 20%);
    border-radius: var(--radius-small);

    overflow: hidden;
}

.inner-share-content {
    padding: 15px;
    min-width: 300px;
}

.popup-title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 24px;
}

.popup-url {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40px;
    margin-top: 15px;
    background: rgba(0, 68, 102, 0.06);
}

.direct_and_share {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.iconCopy {
    font-weight: 600;
    color: var(--color-main);
    background-color: transparent;
    width: auto;
    min-width: 60px;
}

.iconCopy:hover {
    color: var(--color-sub);
}

#url-present {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    height: 100%;
    background-color: transparent;
}

.comments {
    border-left: solid 2px #ccc;
    padding: 0px 0 0px 20px;
}

.comments p {
    background-color: #f8f8f8;
    padding: 10px;
    border: solid 1px #ccc;
    line-height: 1.7;
    position: relative;
    margin: 10px 0;
}

.comments p::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    display: block;
    border: 3px solid #ccc;
    border-radius: 50%;
    background-color: var(--color-main);
    top: 10px;
    left: -30px;
}

.comments p::after {
    content: "";
    position: absolute;
    border: solid 8px;
    border-color: transparent #ccc transparent transparent;
    top: 10px;
    left: -17px;
}

.comments em {
    font-size: 10px;
}

/*new*/
.top_menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(-100%);
    transition: visibility .3s ease-in-out, transform .3s ease-in-out, opacity .3s ease-in-out;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    background-color: #fff;
    z-index: 13;
    opacity: 0;
}

.main-search {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin-right: 10px;
}

.txt-mainsearch {
    width: 100%;
    max-width: 400px;
    height: 100%;
    border-radius: var(--radius-small);
    background-color: #fff;
    -webkit-appearance: none;
    height: 44px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 44px;
    border: 1px solid #e0e0e0;
}

.m-l-10 {
    margin-left: 10px;
}

.navigation__ui {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #f5f5f5;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #bdbdbd;
    margin-left: -10px;
    margin-right: -10px;
    /* margin-bottom: 20px; */
}

.actions-user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 50%;
    cursor: pointer;
    padding: 20px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    min-height: 40px;
}

.actions-user svg {
    fill: var(--color-main);
    width: 24px;
    height: 24px;
}

.actions-user span {
    font-size: 16px;
    font-weight: bold;
    margin-right: auto;
}

.actions-user.active {
    background-color: #fff;
    z-index: 4;
}

.main-directions {
    border-top-right-radius: 10px;
}

.main-place {
    border-top-left-radius: 10px;
}

.actions-user.active::before,
.actions-user.active::after {
    content: " ";
    pointer-events: none;
    position: absolute;
    display: block;
    height: 80%;
    width: 100%;
    bottom: 0px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.actions-user.active::before {
    left: -100%;
    border-radius: 0 0 10px 0;
    opacity: 1;
    -webkit-box-shadow: 15px 0.25em 0 -4px #fff;
    box-shadow: 15px 0.25em 0 -4px #fff;
    visibility: visible;
}

.actions-user.active::after {
    right: -100%;
    border-radius: 0 0 0 10px;
    opacity: 1;
    -webkit-box-shadow: -15px 0.25em 0 -4px #fff;
    box-shadow: -15px 0.25em 0 -4px #fff;
    visibility: visible;
}

.main-directions.active::before {
    visibility: hidden;
}

.main-place.active::after {
    visibility: hidden;
}

.iconMenu:hover {
    background-color: var(--color-sub);
}

.suggest_main {
    width: 100%;
    left: 0;
    /* top: calc(100% + -2px); */
    top: 100%;
    position: absolute;
    overflow: hidden;
    max-height: 600px;
    -webkit-transition: max-height 0.4s ease-out;
    -o-transition: max-height 0.4s ease-out;
    transition: max-height 0.4s ease-out;
    z-index: 1;
}

.ul-tabing {
    -webkit-filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.15));
    filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.15));
    border: 1px solid #e0e0e0;
}

.suggest_main>ul,
.ul-tabing {
    background-color: #fff;
    box-shadow: rgb(77 77 77 / 15%) 0 2px 2px 0;
    -moz-box-shadow: rgba(77, 77, 77, 0.15) 0 2px 2px 0;
    -webkit-box-shadow: rgb(77 77 77 / 15%) 0 2px 2px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0 0px 5px 5px;
}

.suggest_main>ul>li,
.ul-tabing li {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #cbcbcb;
    /* text-align: center; */
    text-transform: capitalize;
    position: relative;
    font-size: 14px;
    font-weight: 550;
    color: #757575;
}

.suggest_main>ul>li:hover,
.ul-tabing li:hover,
.suggest_main>ul>li.li-active,
.ul-tabing li.li-active {
    background-color: #3c40430a;
}

.suggest_main>ul {
    border-top: 0 !important;
}

.suggest_main li:not(.li_position):not(.li_recent):not(.li_clear_recent),
.suggest-searchbox li:not(.li_position):not(.li_recent):not(.li_clear_recent) {
    padding-left: 42px;
}

.suggest_main li:not(.li_position):not(.li_recent):not(.li_clear_recent)::before,
.suggest-searchbox li:not(.li_position):not(.li_recent):not(.li_clear_recent)::before {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 8px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url(../imgs/markers/location.png);
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.suggest_main>ul>li {
    border-bottom: 0 !important;
}

/* Empty state khi search khong co ket qua (.li_no_result) — khong phai 1 goi y bam duoc. */
.suggest_main>ul>li.li_no_result,
.ul-tabing li.li_no_result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    cursor: default;
}

/* Bo highlight hover va icon pin ::before mac dinh cua li thuong. */
.suggest_main>ul>li.li_no_result:hover,
.ul-tabing li.li_no_result:hover {
    background-color: transparent;
}

.suggest_main li.li_no_result::before {
    display: none !important;
}

.li_no_result>svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: #9aa0a6;
}

.li_no_result .no-result-body {
    text-transform: none;
}

.li_no_result .no-result-title {
    display: block;
    color: #202124;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.li_no_result .no-result-hint {
    display: block;
    color: #70757a;
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: 3px;
}

#place-form, #directions-form {
    margin-top: 0;
}

#place-form {
    display: none;
}

.ul-tabing li a {
    color: #444;
    font-size: 13px;
    display: block;
}

.topBox {
    padding: 0;
    border-radius: 0;
    border: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.back {
    width: 44px;
    height: 44px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    cursor: pointer;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    /* display: none; */
    position: relative;
}

.back svg {
    width: 20px;
    height: 20px;
}

.back:hover svg {
    fill: var(--svg-fill);
}

.back-sheet {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #424242;
    cursor: pointer;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    padding: 3px 0;
}

.back-sheet svg {
    margin-right: 5px;
}

.back-sheet svg {
    fill: var(--svg-fill);
}

.back-sheet:hover {
    color: var(--color-main);
}

#directions-form {
    display: block;
}

.popup-denied-location, .query-notfound {
    position: fixed;
    bottom: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    border: 1px solid #000;
    padding: 8px 16px;
    z-index: 10000;
    display: none;
    background-color: #323232;
    color: #fff;
    -webkit-box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 0 4px rgb(0 0 0 / 24%);
    box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 0 4px rgb(0 0 0 / 24%);
    border-radius: var(--radius-small);
    white-space: nowrap;
    font-size: 13px;
    ;
}

.ads-margin {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
}

.ads-title {
    text-align: center;
    background: transparent;
    font-size: 11px;
    margin: 0;
    padding: 0;
    color: #b3b3b3;
    opacity: 0.8;
    color: #424242;
}

.close-ads {
    z-index: 10;
}

.horizontal-title {
    text-align: left !important;
}

.throw-ads-300x250,
.throw-ads-320x50 {
    z-index: 11;
    display: none;
}

.throw-ads-728x90 {
    position: absolute;
    left: calc(100% + 160px);
    max-width: 728px;
    z-index: 11;
    display: none;
}

.throw-ads-320x90 {
    position: absolute;
    left: calc(100% + 160px);
    max-width: 320px;
    z-index: 11;
    display: none;
}

.throw-ads-320x50-pannel {
    margin: 10px 0;
}

.ads-top,
.mini-ads-top {
    top: 55px;
}

.ads-bottom,
.mini-ads-bottom {
    bottom: 15px;
}

.mini-ads-top,
.mini-ads-bottom {
    display: none;
}

.close-ads {
    width: 24px;
    height: 24px;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    right: -12px;
    cursor: pointer;
}

.close-ads svg {
    width: 10px;
    height: 10px;
    fill: #b3b3b3;
}

.hidden {
    display: none !important;
}

.active-place {
    background-color: #3c40430a;
}

/* Recent places (localStorage) trong list nhanh */
.li_recent {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.li_recent>.recent-clock {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    color: #757575;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.li_recent>.recent-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.li_recent>.recent-remove {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 10px;
    padding: 0 6px;
    font-size: 18px;
    line-height: 1;
    color: #b0b0b0;
    border-radius: 4px
}

.li_recent>.recent-remove:hover {
    color: #444;
    background-color: #0000000d
}

.li_clear_recent {
    text-align: center;
    color: #1a73e8;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: none !important
}

#detail-place {
    display: none;
}

/* ===== Panel chi tiet 1 POI (giong Google) — render boi discovered.js renderDetail ===== */
.pd {
    font-size: 14px;
    color: var(--color-tone-1);
}

.pd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    cursor: pointer;
    color: var(--color-main);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 0;
}

.pd-back:hover {
    text-decoration: underline;
}

/* Gallery anh: cuon ngang, bam de mo lightbox */
/* Carousel gallery: wrap chứa dải ảnh + 2 mũi tên đè 2 mép */
.pd-gallery-wrap {
    position: relative;
    margin: 8px 0 4px;
}

.pd-gallery {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pd-gallery::-webkit-scrollbar {
    display: none;
}

.pd-gallery .pd-photo {
    flex: 0 0 auto;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

/* Thumbnail đồng đều để carousel gọn (bỏ kiểu ảnh đầu full-width cũ). */
.pd-gallery .pd-photo img {
    width: 150px;
    height: 110px;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.pd-gallery .pd-photo:hover img {
    transform: scale(1.04);
}

/* Mũi tên carousel (đè nổi, tròn, tự ẩn ở đầu/cuối). */
.pd-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: #3c4043;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.pd-gallery-arrow:hover {
    background: #f1f1f1;
}

.pd-gallery-arrow--left {
    left: 6px;
}

.pd-gallery-arrow--right {
    right: 6px;
}

.pd-gallery-arrow--left .pd-svg {
    transform: rotate(180deg);
}

.pd-gallery-arrow .pd-svg {
    width: 18px;
    height: 18px;
}

.pd-gallery-arrow.is-hidden {
    display: none;
}

.pd-head {
    margin: 10px 0 4px;
}

.pd-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.pd-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #5f6368;
    font-size: 13px;
}

.pd-stars {
    color: #fbbc04;
    letter-spacing: 1px;
}

.pd-rating {
    font-weight: 600;
    color: #202124;
}

.pd-rcount {
    color: #5f6368;
    font-weight: 400;
}

.pd-dot {
    color: #9aa0a6;
}

/* Hang nut hanh dong (Directions / Website / Call / Share) */
.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.pd-act {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 64px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: var(--color-main);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.pd-act:hover {
    background: #f1f6fc;
    border-color: var(--color-main);
}

.pd-act-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
}

/* Icon SVG dung chung (actions + info rows) — 1 mau theo currentColor. */
.pd-svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Hang thong tin: icon + noi dung */
.pd-info {
    border-top: 1px solid #ececec;
    padding-top: 8px;
}

.pd-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f1f1;
    line-height: 1.4;
}

.pd-row a {
    color: var(--color-main);
    word-break: break-word;
}

.pd-ico {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
}

.pd-hours-body {
    flex: 1;
}

.pd-open {
    color: #137333;
    font-weight: 600;
}

.pd-closed {
    color: #c5221f;
    font-weight: 600;
}

.pd-hours-list {
    margin-top: 6px;
}

.pd-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 0;
    color: #5f6368;
    font-size: 13px;
}

.pd-section {
    margin-top: 14px;
}

.pd-h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pd-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-chip {
    background: #f1f3f4;
    color: #3c4043;
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12.5px;
}

.pd-desc {
    color: #3c4043;
    line-height: 1.6;
}

.pd-desc p {
    margin-bottom: 8px;
}

.pd-reviews .pd-h3 {
    margin-bottom: 12px;
}

.pd-review {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, .08);
}

.pd-rv-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-rv-avatar {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-main);
    background-size: cover;
    background-position: center;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-rv-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.pd-rv-author {
    font-weight: 600;
    color: #202124;
}

.pd-rv-date {
    color: #9aa0a6;
    font-size: 12px;
    margin-top: 2px;
}

.pd-rv-stars {
    font-size: 13px;
    margin: 8px 0 4px;
}

.pd-rv-title {
    font-weight: 600;
    margin: 2px 0;
}

.pd-rv-body {
    color: #3c4043;
    line-height: 1.55;
    font-size: 13.5px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-review.pd-rv-open .pd-rv-body {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.pd-rv-more {
    margin-top: 6px;
    padding: 0;
    background: none;
    cursor: pointer;
    color: var(--color-main);
    font-weight: 600;
    font-size: 13px;
}

.pd-rv-more:hover {
    text-decoration: underline;
}

.pd-rv-more[hidden] {
    display: none;
}

/* ===== Lightbox gallery (full-screen) ===== */
#pd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 30000;
    background: rgba(0, 0, 0, .9);
    align-items: center;
    justify-content: center;
}

#pd-lightbox .pd-lb-fig {
    max-width: 92vw;
    max-height: 90vh;
    margin: 0;
    text-align: center;
}

#pd-lightbox .pd-lb-fig img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
}

#pd-lightbox figcaption {
    color: #fff;
    font-size: 13px;
    margin-top: 10px;
    opacity: .9;
}

#pd-lightbox .pd-lb-close,
#pd-lightbox .pd-lb-nav {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pd-lightbox .pd-lb-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 26px;
    line-height: 1;
}

#pd-lightbox .pd-lb-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 34px;
    line-height: 1;
}

#pd-lightbox .pd-lb-prev {
    left: 12px;
}

#pd-lightbox .pd-lb-next {
    right: 12px;
}

#pd-lightbox .pd-lb-close:hover,
#pd-lightbox .pd-lb-nav:hover {
    background: rgba(255, 255, 255, .25);
}

#copyurl {
    margin-right: 12px;
}

#openvia:hover button, #copyurl:hover button {
    background-color: #f9f9f9;
}

#openvia:hover button::before, #copyurl:hover button::before {
    display: block;
}

/*New css*/
.top_menu li {
    margin: 10px 0;
}

.top_menu li a {
    font-weight: 600;
    color: #616161;
    padding: 2px 0;
    display: block;
}

.top_menu li a:hover {
    color: var(--color-tone-1);
    text-decoration: underline;
}

.form-area {
    display: block;
    position: relative;
}

.address-area {
    letter-spacing: .5px;
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 196px;
    max-height: 550px;
    min-height: 196px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: none;
    resize: vertical;
    white-space: pre-wrap;
}

.address-area-example::before {
    content: '123 Main St., City, State, Zip "optional note"\A 123 Main St., City, State, Zip "optional note"\A 123 Main St., City, State, Zip "optional note"';
    white-space: pre;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 12px;
    color: #ccc;
    background: none;
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: .5px;
}

.address-area-example.inactive::before {
    display: none;
}

.address-area:focus {
    border: 2px solid var(--color-tone-1);
}

.optional--route {
    padding: 10px 0;
    border-top: 1px solid var(--color-grey);
    border-bottom: 1px solid var(--color-grey);
    display: flex;
    flex-wrap: wrap;
}

.optional--route-item {
    width: 50%;
}

.optional--route-item>strong {
    display: block;
    margin: 10px 0;
}

.radio-container {
    display: flex;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-items: center;
    position: relative;
    flex-direction: row-reverse;
    justify-content: start;
    padding: 10px 0;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--color-grey);
    margin-right: 8px;
    position: relative;
    min-height: 16px;
    min-height: 16px;
}

.radio-circle::after {
    content: "";
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-main);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-container input:checked~.radio-circle {
    border-color: var(--color-main);
}

.radio-container input:checked~.radio-circle:after {
    display: block;
}

.site__logo {
    background-color: var(--color-tone-1);
    margin-left: -10px;
    margin-right: -10px;
    padding: 10px;
    color: var(--color-white);
    font-size: 24px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site__logo>a {
    color: inherit;
}

.text-sub,
.text-main {
    font-weight: bold;
}

.text-sub {
    color: var(--color-sub);
}

.menu-button {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    padding: 8px;
    background-color: transparent;
    cursor: pointer;
}

.menu-button svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.menu-button svg path {
    fill: #fff;
}

.error-adress {
    display: none;
    margin-top: 5px;
}

.error-adress .em {
    color: #9D1911;
}

.error-adress-text {
    border: 1px solid;
    padding: 12px 6px;
    border-radius: var(--radius-small);
    background-color: #FFEFED;
    border-color: #9D1911;
}

:root {
    --font-family: 'Montserrat', sans-serif;
    --color-main: #0467c4;
    --color-sub: #09f;
    --radius-small: 4px;
    --radius-medium: 10px;
    --radius-circle: 50%;
    --color-tone-1: #212121;
    --color-tone-2: #202124;
    --color-white: #fff;
    --color-grey: #bdbdbd;
    --bg-grey: #f5f5f5;
    --svg-fill: #0f162199;
}

@media (min-width: 1280px) {
    .throw-ads-728x90 {
        display: block;
    }

}

@media (min-width: 992px) and (max-width: 1280px) {

    .mini-ads-top,
    .mini-ads-bottom {
        display: block;
    }
}

@media (min-width: 992px) {

    .grid__place--mobile {
        display: none !important;
    }

    .throw-ads-300x250 {
        display: block;
    }
}

@media (max-width:1279px) {}

/*1568 56 icon*/
@media (max-width: 991px) {
    .grid__place--mobile {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .grid__place,
    .grid__place--wrap {
        display: none !important;
    }

    .form-container {
        width: 100%;
    }

    .throw-ads-320x50 {
        display: block;
    }
}

@media (max-width: 640px) {

    .txt-mainsearch,
    .main-search {
        max-width: 100%;
        margin-right: 0;
    }

    .grid-top-menu {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .form-container {
        width: calc(100% - 60px);
    }

    .popup-denied-location {
        white-space: normal;
        width: 85%;
    }

    .align-items {
        align-items: stretch;
    }
}

@media print {
    .map-view {
        display: none !important;
    }

    .print-route, .views-details, .now-location, .map-fab, .popup-denied-location, .query-notfound, .context_menu--marker {
        display: none !important;
    }
}

.print-route-header {
    position: relative;
}

.print-route, .views-details {
    background-color: transparent;
    font-weight: 600;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 16px;
    z-index: 3;
    font-size: 13px;
}

.print-route:hover, .views-details:hover {
    color: var(--color-main);
}

page[size="A4"] {
    margin: 0;
    box-shadow: 0;
}

.page {
    width: 21cm;
    min-height: 29.7cm;
    margin: 16px auto;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.page .print-route {
    display: none !important;
}

.page .tt-side-panel {
    /* box-shadow: unset !important;
    border: unset !important */
}

.states-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.states-maps .state-link a {
    color: var(--color-main);
    padding: 5px 0;
    padding-right: 5px;
    display: inline-flex;
}

.states-maps .state-link a:hover {
    text-decoration: underline;
}