/*
Theme Name: VNMaps
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
  font-family: 'VNFGothamBold';
  src: url(/wp-content/themes/vnmaps/fonts/VNFGothamBold.ttf);
}
h1, h2, h3, h4, p {
    text-wrap: inherit!important;
}
.header-main .nav > li > ul {
    padding: 5px;
    min-width: 280px;
}
.header-main .nav > li > ul > li > a {
    color: #000;
}
.slider .dot {
    background: #3F562C;
    border:none;
    width: 20px;
    height: 8px;
    border-radius: 3px;
    opacity: 1!important;
}
.slider .dot.is-selected {
    background: #e8b364;
    width: 30px;
}
.hometitle {
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'VNFGothamBold'!important;
}
.custombread {
    background: #f2f2f2;
    margin-bottom: 25px;
}
.breadinner {
    margin: auto;
    max-width: 1170px;
    padding: 15px;
}
.breadinner p {
    margin-bottom: 0;
}
.shop-page-title, .category-page-title {
    display: none!important;
}
.pm-meta p {
    margin-bottom: 5px;
}
.pm-meta i {
    color: #ef7945;
    padding-right: 5px;
}
.placeacc .accordion--item {
    border:1px solid #3F562C;
    border-radius: 8px;
    margin-bottom: 15px;
}
.placeacc .accordion-title {
    border: none;
    background: none;
    padding: 10px 15px;
    border-radius: 6px;
}
.placeacc .accordion-title .toggle {
    left: auto;
    right: 15px
}
.placeacc .accordion-title.active {
    background: #3F562C;
    color: #fff;
    border-radius: 6px 6px 0 0;
}
.placeacc .accordion-inner {
    padding: 15px 15px 1px 15px;
}
.placeacc .accordion-inner h2 {
    font-size: 18px;
    color: #000;
}
.placecatetitle {
    padding-bottom: 20px;
}
.placelist .image-cover {
    border-radius: 8px;
}
.placelist .box-text {
    padding: 15px;
}
.placelist .flickity-page-dots {
    bottom: -5px;
}
.placecatetitle .btnmore {
    font-weight: normal;
    font-size: 90%;
}
.placecatetitle .btnmore i {
    margin-left: 5px;
}
.placecatetitle.desk {
    display: flex;
    padding-bottom: 5px!important;
    align-items: center;
}
.placecatetitle.desk .btnmore {
    width: 100%;
    text-align: right;
    margin-bottom: 0;
}
.acf-gallery-preview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  position: relative;
  max-height: 450px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item-1 {
  grid-row: span 2;
}
.galleryoverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}
.view-icon {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-bottom: 10px;
}

.view-all-btn {
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
}

.view-all-btn:hover {
  background: #eee;
}
.galleryslider .flickity-button {
    background: #fff;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    opacity: 1;
    top: calc(50% - 20px)!important;
}
.galleryslider .flickity-button svg {
    width: 75% !important;
    fill: #dba334;
}
.pageinner {
    padding: 15px;
    border-radius: 10px;
}
.pageinner iframe {
    border-radius: 10px;
    margin-bottom: 20px;
}
.palemeta p {
    margin-bottom: 5px;
}
.palemeta i {
    color:#dba334;
    padding-right: 5px;
}
.relatedpost .box-image {
    border-radius: 8px;
}
.relatedpost .overlay, .homevideo .section-bg, .homeposts .overlay, .khampha .overlay, .placelist .overlay {
    background: linear-gradient(0deg, #1b283bc7, transparent 75%);
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(0deg, rgba(27, 40, 59, 0.78), transparent 75%);
}
.homeexpert {
		height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.pm-map-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.imagebox {
  aspect-ratio: 16 / 9;   /* Khung tỉ lệ 4:3 */
  width: 100%;           /* Tùy chỉnh chiều rộng */
  overflow: hidden;      /* Ẩn phần ảnh thừa */
  border-radius: 8px
}

.imagebox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f9f9f9; /* hoặc màu nền tuỳ chọn để lấp khoảng trống */
}
.projecthumb .image-cover {
    border-radius: 8px;
}
.homeposts .pm-location-list {
    display: none!important;
}
.pm-location-list {
    flex: 1 1 300px;
    max-width: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.pm-location-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pm-map-area {
    flex: 2 1 500px;
    min-height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Responsive cho màn hình nhỏ */
.pm-location-list {
    max-height: 500px;
    overflow-y: auto;
}

#pm-tooltip {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    max-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pm-map-list-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.pm-location-list {
    width: 35%;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.pm-location-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pm-location-item p {
    font-size: 90%;
}
.pm-location-item .button {
    margin-bottom: 0;
    text-transform: none;
    font-weight: normal;
    font-size: 90%;
    color: #fff!important;
    border-radius: 99px;
}
.pm-location-item .button i {
    color: #fff!important;
    padding-right:0!important;
}
.pm-map-area {
    width: 65%;
    height: 500px;
    min-height: 500px;
    border: 1px solid #ccc;
    border-radius: 8px;
    flex-shrink: 0;
}
.rightpanel {
    border-radius: 8px;
    padding: 20px;
}
.rightpanel iframe {
    border-radius: 8px;
}
.rightpanel .title {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}
.rightpanel .pm-meta p {
    font-size: 90%;
}
.proinner {
    padding: 8px;
    border-radius: 8px;
}
.proinner .image-cover {
    border-radius: 8px;
}
.proinner .box-text {
    padding: 0;
}
.proinner .product-title {
    font-size: 16px;
    font-weight: bold;
    padding-top: 5px;
}
.product-section {
    border-top: none;
}
.product-section-title {
    margin-bottom: 15px;
    font-size: 26px;
}
.product-images {
		border:1px solid #ccc;
		padding: 20px;
		border-radius: 5px;
}
.product-images .badge-container {
		top: 0;
		margin-top:-1px;
		margin-left: -1px;
}
.product-images .badge {
		height:0;
}
.product-images .badge-inner {
		padding: 10px;
		font-size: 15px;
}
.product-thumbnails a {
		border:1px solid #ccc;
		padding: 5px;
}
.product-thumbnails .is-nav-selected a , .product-thumbnails a:hover {
		border:1px solid #5b764d;
}
.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
    opacity: 1;
    transform: translateY(0px);
}
.productpage .product-main {
		margin-top:10px;
		padding: 0;
}
.woocommerce-tabs .nav > li {
		background: #f2f2f2;
		border-top: none!important;
        padding: 0 20px;
        margin: 0 1px;
}
.woocommerce-tabs .nav > li > a {
		color: #000;
		border-top: none!important;
		border: none!important;
}
.woocommerce-tabs .nav > li.active , .woocommerce-tabs .nav > li:hover  {
    background: #5b764d!important;
    color: #fff!important;
    border-top: none!important;
}
.woocommerce-tabs .nav > li.active a , .woocommerce-tabs .nav > li:hover a {
    color: #fff;
    border-top: none!important;
}
.contactpage p {
		margin-bottom: 10px;
}
.contactpage i  {
		color: #5b764d;
		padding-right: 5px;
}
.woocommerce-billing-fields__field-wrapper p {
		width: 100%;
}

.hometabs .nav > li {
		background: #f2f2f2;
		padding: 0 20px;
		border-radius: 3px;
		margin: 0 2px;
}
.hometabs .nav > li:hover, .hometabs .nav > li.active {
		background: #5b764d;
}
.hometabs .nav > li a {
		color: #000;
		font-size: 15px;
}
.hometabs .nav > li:hover a, .hometabs .nav > li.active a {
		color: #fff;
}
.orderthankyou {
		padding: 20px 20px 0 20px;
}
.page-numbers .page-number {
		border-radius: 3px;
		border:1px solid;
}
.product-summary .quantity .minus {
		border-radius: 5px 0 0 5px;
}
.product-summary .quantity .plus {
		border-radius: 0 5px 5px 0;
}
.product-tabs {
		display: inline-block!important;
    overflow-x: auto!important;
    white-space: nowrap!important;
		padding-bottom:2px;
}
.product-tabs li a {
		border-radius: 5px 5px 0 0!important;
}
.product-footer .nav-tabs+.tab-panels {
		border-radius: 0 5px 5px 5px;
		padding: 15px 15px 1px 15px;
}
.badge-container {
		margin:0;
}
.tourinfo .col-inner p {
		margin-bottom: 5px;
}
.tourinfo .title {
		opacity: 0.7;
		margin-bottom:0!important;
}
.tourinfo .subtitle {
		font-weight: bold;
}
.tourpage .product-title-container {
		border-bottom: 1px solid #ccc;
		padding-bottom: 0;
		margin-bottom: 20px;
}
.tourpage .product-title-container .is-divider {
		display: none;
}
.tourpage .product-title-container h1 {
		margin-bottom: 5px;
}
.tourpage form {
		margin-bottom: 0;
}
.wc-bookings-booking-form {
		border: 1px solid #5b764d;
		border-radius: 5px;
		padding: 15px 15px 0 15px;
}
.wc-bookings-booking-form fieldset {
		margin: 0;
}
.wc-bookings-booking-form fieldset {
		padding: 0;
}
.wc-bookings-booking-form .form-field input[type=number] {
		width: 100%;
		border:1px solid;
		border-radius: 5px;
		box-shadow: none;
		margin-bottom:0;
}
.wc-bookings-booking-form-button {
		width: 100%;
		background: #dd3333!important;
}
.wc-bookings-booking-form .wc-bookings-booking-cost {
		border-top: none;
		border-right: 1px solid #5b764d;
		border-left: 1px solid #5b764d;
		border-radius: 0 0 5px 5px;
}
.catedesc {
		background:#5b764d;
		padding-top: 50px;
		padding-bottom: 30px;
		margin-bottom: 50px;
}
.product-small .tourinfo {
		padding-top: 10px;
		padding-bottom: 10px;
		border-top: 1px dashed #ccc;
}
.tourplan {
		margin-top: 20px;
		margin-bottom: 30px;
		padding: 0 20px;
}
.tourplan .accordion--item {
		border-left: 1px solid #5b764d;
		margin-bottom: 0;
}
.tourplan .accordion--item .accordion-title {
		border-top: none!important;
		padding-left: 20px;
}
.tourplan .accordion--item .accordion-title:before {
		content: '';
		width: 20px;
		height: 20px;
		background: #dba334;
		position: absolute;
		left: -10px;
		top: 15px;
		border-radius: 50%;
		border:3px solid;
}
.tourplan .accordion--item .accordion-title.active:before, .tourplan .accordion--item .accordion-title:hover:before {
		background: #5b764d;
		border-color: #dba334;
}
.tourplan .accordion--item .accordion-title .time {
		color: #111;
		opacity: 0.5;
		font-weight: bold;
}
.tourplan .accordion--item .accordion-title .title {
		font-weight: bold;
		color: #000;
}
.tourplan .accordion--item .accordion-title.active {
		background: none;
}
.tourplan .accordion--item .accordion-title .title {
		color: #5b764d;
}
.tourplan .accordion-inner {
		padding: 0 20px 1px 20px;
}
.faqs .accordion--item {
		border:none;
		margin-bottom: 10px;
		border-radius: 3px;
		background: #f2f2f2;
}
.faqs .accordion-title {
		border-top: none;
		padding-left: 20px;
}
.faqs .accordion-inner {
		padding: 15px 15px 1px 15px;
}
.faqs .toggle {
		right: 0;
		left: auto;
}
.faqs {
		margin-bottom: 30px;
}
.wc-bookings-date-picker .ui-datepicker td.ui-datepicker-current-day a {
		background: #5b764d!important;
}
.wc-bookings-date-picker .ui-datepicker td.bookable a {
		background: #537342!important;
}
.product-tabs::-webkit-scrollbar {
    width: 6px!important;
    background-color: #ccc!important;
		border-radius: 99px;
} 
.product-tabs::-webkit-scrollbar {
		height: 6px;
}
.product-tabs::-webkit-scrollbar-thumb {
    background-color: #dba334!important;
		border-radius: 10px!important;
}
.trainghiem {
    margin-top: 20px;
    margin-bottom: 20px;
}
.desktopvideo {
    padding-top: 450px;
}
.desktopvideo .content {
    font-size: 28px;
    margin-bottom: 0;
}
.mobilevideo {
    padding-top: 300px;
}
.mobilevideo .content {
    font-size: 18px;
    margin-bottom: 0;
}
.button.primary, .button.secondary {
    font-weight: normal;
    border-radius: 99px;
    font-weight: normal;
    text-transform: none;
    padding: 0 30px;
    margin-bottom: 0;
}
.homeposts {
    padding-bottom: 40px;
}
.homeposts .image-cover, .homevideos .image-cover {
    border-radius: 8px;
}
.headercta .leftcol {
    background: #3F562C;
}
.headercta .leftcol .col-inner {
    padding: 20px;
}
.headercta .button {
    border:1px solid #fff;
    text-transform: none;
    font-weight: normal;
    border-radius: 5px;
    padding: 0 30px;
}
.headercta .rightcol {
    min-height: 400px;
}
.deskbg .col-inner {
    padding: 100px 0 100px 50px!important;
}
.deskbg {
  position: relative;
  width: 100%;
  height: 100%;
}
.deskbg::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 80px;
  height: 100%;
  background-color: #3F562C;
  clip-path: polygon(0 0, 80px 0, 0 100%);
}
.homevideos {
    padding-top: 60px;
}
.homevideos .hometitle {
    margin-bottom: 30px;
}
.homevideos .open-video {
    width: 50px;
    height: 50px;
    background: rgb(255,255,255,0.4);
    text-align: center;
    line-height: 50px;
}
.homevideos .open-video i {
    color: #3F562C;
    font-size: 150%;
}
.aboutcontent {
    background: #3F562C;
    padding: 20px;
    border-radius: 8px;
}
.aboutpage {
    padding-top: 20px;
    padding-bottom: 20px;
}
.abouttabs .nav-vertical {
    min-width: 300px;
}
.abouttabs .nav > li {
    background: #fff
    border: none;
    padding:0;
}
.abouttabs .nav > li a {
    color: #000;
    font-size: 90%;
    font-weight: normal;
}
.abouttabs .nav > li.active a, .abouttabs .nav > li:hover a {
    font-weight: bold!important;
    color: #537342;
}
.abouttabs .tab-panels {
    border-left: none!important;
}
.abouttabs .shortdesc {
    background: #f2f2f2;
    padding: 20px 20px 1px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.tabinner {
    border-radius: 8px;
    margin-bottom: 20px;
}
.tabinner .image-cover {
    border-radius: 8px;
}
.tabinner .col-inner {
    padding: 20px;
}
.tabinner .subtitle {
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 10px;
}
.aboutacc .accordion--item {
    border:1px solid #3F562C;
    border-radius: 8px;
    margin-bottom: 15px;
}
.aboutacc .accordion-title {
    border: none;
    border-radius: 7px;
    background: #fff;
    padding: 8px 15px;
}
.aboutacc .accordion-title.active, .aboutacc .accordion-title:hover {
    background: #3F562C;
    color: #fff;
}
.aboutacc .accordion-title .toggle {
    right: 0;
    left: auto;
    top: 3px;
}
.aboutacc .accordion-inner {
    padding: 15px 15px 1px 15px;
}
.aboutacc .accordion-inner ul,  .aboutacc .accordion-inner ol {
    margin-left: 18px;
}
.wpcf7-spinner {
    display: none;
}
.footerform .newsletter .col, .footerform .newsletter .col p, .footerform p {
    padding-bottom: 0;
    margin-bottom: 0!important;
}
.footerform {
    padding-top: 45px!important;
}
.footerform form {
    margin-bottom: 0;
}
.footerform .wpcf7-text {
    margin-bottom: 0;
}
.footerform .newsletter .wpcf7-submit {
    background: #fff!important;
    color: #3F562C!important;
    margin-right: 0;
    width: 100%;
    font-weight: normal;
    margin-bottom: 0;
}
.footerpartners {
    background: rgb(78, 109, 53);
    padding-top: 20px;
}
.footerpartners .image-cover {
    background: #fff;
}
.customfooter {
    padding-top: 0!important;
}
.customfooter p {
    margin-bottom: 8px;
}
.postslist {
		background: #fff;
		border-radius: 6px;
}
.postslist .box-image, .horizontalnews .box-image {
		border-radius: 6px;
}
.postslist h2, .horizontalnews h2 {
		font-size: 16px;
}
.postslist h2 a, .horizontalnews h2 a {
		color: #414141;
}
.postslist .postinfo {
		color: #414141;
		font-size: 90%;
}
.postslist .postinfo i {
		padding-right: 5px;
}
.horizontalnews .col-inner {
    padding-left: 15px;
}
.horizontalnews .button {
    color: #414141!important;
    background: #fff!important;
    border:1px solid #414141;
    padding: 0px 10px;
    font-size: 12px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 14px;
    text-transform: none;
}
.page-wrapper {
		padding:0;
}
.post {
		margin:0;
}
.relatedtitle {
		text-transform: uppercase;
		font-size: 140%;
		border-bottom: 1px dotted;
		margin-bottom:15px;
}
.relatedpost .box-image {
		border-radius: 6px;
}
.relatedpost .box-text {
		padding: 15px;
}
.relatedpost .overlay, .procateheader .overlay {
		background: linear-gradient(0deg, #1b283bc7, transparent 75%);
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(0deg, rgba(27, 40, 59, 0.78), transparent 75%);
}
.entry-header-text {
    padding: 0;
}
.entry-title {
    color: #414141;
    font-size: 20px;
}
.pageinner p img {
    display: block;
    margin: auto;
}
.catetitle {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0;
}
.pagenavi .page-numbers {
    border: 1px solid;
    display: inline-block;
    padding:0px 5px;
    min-width: 28px;
    border-radius: 3px;
    text-align: center;
}
.rightpost {
		display: flex;
		align-items:center;
		padding-top: 8px;
		margin-bottom: 8px;
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
}
.rightpost .box {
		width: 90px!important;
}
.rightpost .box-image {
		border-radius: 5px;
}
.rightpost .title {
		width: 100%;
		margin-bottom:0;
		margin-left: 10px;
		color: #414141;
		font-size: 90%;
}
.widget {
		border:1px solid #3f562c;
		border-top: 0;
        border-radius: 8px;
}
.widget-title {
		display: block;
		color: #fff;
		padding: 10px;
		background: #3f562c;
		margin-left:-1px;
		font-weight: normal!important;
        border-radius: 8px;
        margin-bottom: 5px;
}
.widget .is-divider {
		display: none;
}
.widget .product-categories li {
		padding: 0 15px;
}

.widget .product-categories li a {
		font-size: 95%;
		color: #414141;
}
.widget .product-categories li ul {
		border-left: 0;
		margin-left:0;
}
.widget .product-categories li ul li {
		list-style-type: circle;
		padding-left:0;
		padding-right:0;
}
.product-footer .woocommerce-tabs {
    border-top: none;
}
.pagecontact {
    margin-top: 60px;
}
.pagecontact p {
		margin-bottom: 10px;
}
.pagecontact i   {
    color: #3F562C;
    padding-right: 5px;
}
.pagecontact .wpcf7-text, .pagecontact .wpcf7-textarea {
    border: 1px solid #3F562C!important;
    border-radius: 5px!important;
    box-shadow: none!important;
}
.pagecontact .wpcf7-submit {
    font-weight: normal;
    border-radius: 5px;
}
.santmdt {
    padding: 15px;
}
.santmdt a {
    margin: 0 8px;
}
.santmdt a img {
    height: 30px;
    width: auto;
}
.off-canvas-left , .off-canvas-right  {
		width: 100%;
		background: #3F562C;
    background-size: 60%!important;
    background-position: 50% 90%!important;
	
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
		width: 100%;
        background: transparent;
}
.off-canvas-left .mfp-content ul li a, .off-canvas-right .mfp-content ul li a, .off-canvas-left .icon-angle-right, .off-canvas-left .toggle {
		color: #fff!important;
		font-size: 16px;
    text-transform: none!important;
    font-weight: normal!important;
}
.off-canvas-left .mfp-content ul li a:hover, .off-canvas-right .mfp-content ul li a:hover {
		text-decoration:none;
	color:#fff !important
}
.footerlogo img {
    background: #fff!important;
    width: 30.5%;
    height: auto;
    margin: 1%;
    margin-bottom:7px!important;
}
.procontent {
    max-height: 518px;
    overflow-y: auto;
}
.procontent img {
    border-radius: 8px;
}
.productslider .flickity-button {
    top: 250px;
    bottom: auto;
}
.productslider .flickity-button {
    background: #537342;
    opacity: 1!important;
    color: #fff!important
}
.productslider .flickity-button:hover {
    background: #dba334;
    opacity: 1!important;
    color: #fff!important
}
.productslider .flickity-button svg {
    fill: #fff!important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .pm-map-list-wrapper {
        display: block!important;
    }
    .pm-location-list,
    .pm-map-area {
        width: 100%;
        display: block;
    }

    .pm-map-area {
        min-height: 300px;
        float: left;
    }
    .pm-location-list {
        display: none!important;
    }
}