/* 
Theme Name: Tripgether.com
Theme URI: https://www.tripgether.com/
Description: เว็บไซต์แนะนำที่กิน ที่พัก ที่เที่ยว แบบคนมีสไตล์ 
Author: Panutat Latplee
Author URI: mailto:p_latplee@hotmail.com
Template: hello-elementor
Version: 1.0.0
Text Domain: tripgether
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*
    Add your custom styles here
*/

/*
html {
	overflow: hidden;
}

body, html {
	height: 100%;
}
*/

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}

.elementor-7 .elementor-element.elementor-element-900b128 .hfe-nav-menu__toggle {
	margin-left: unset !important;
	text-align: right !important;
}

body {
	background-color: #f6f6f6 !important;
	font-weight: 300 !important;
	overflow-x: hidden;
}

b, strong {
	font-weight: 700 !important;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500 !important;
}

body.home {
	background-color: #fff!important;
}

a:hover {
	text-decoration: none;
}

.main-content {
	background-color: #fff;
	padding-top: 15px;
	padding-bottom: 15px;
}

#menu-footer,
.menu-footer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	column-count: 3;
	line-height: 1.7em;
}

#menu-footer > li > a:before,
.menu-footer li > a:before {
	display: inline-block;
	content: "-";
	margin-right: 5px;
}

footer a {
	color: #fff !important;
}
footer a:hover {
	color: #858586 !important;
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
	max-width: 1300px;
}

.elementor-element.elementor-element-5d2318b {
	margin-bottom: 0 !important;
}

.post-meta {
	color: #ccc;
	font-size: 12px;
}

#menu-main-menu {
	list-style: none;
	margin: 30px 0 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	white-space: nowrap;
	text-align: center;
}

#menu-main-menu .hide-on-main {
	display: none !important;
}
/*
#menu-main-menu .menu-item {
	flex: 0 0 20%;
	max-width: 25%;
	padding: 10px;
	transform: rotate(-25deg);
	display: inline-block;
	width: 200px;
	margin-left: -70px;
}
#menu-main-menu .menu-item:first-child {
	margin-left: 0;
}
#menu-main-menu .menu-item a {
	display: block;
	border-radius: 5px;
	background-color: #F5AF40;
	color: #fff;
	text-align: center;
	padding: 10px 0;
	text-decoration: none;
	border-left: 15px #FFF solid;
	transition: all 0.5s;
}

#menu-main-menu .menu-item.current-menu-item a,
#menu-main-menu .menu-item:hover a {
	border-left: 0px #FFF solid;
	border-right: 15px #FFF solid;
	background-color: #1F3159;
}
*/
#menu-main-menu {
	background-color: #F5AF40;
	border-radius: 5px 5px 0px 0px;
}
#menu-main-menu .menu-item {
	flex-grow: 1;
}
#menu-main-menu .menu-item a {
	display: block;
	color: #fff;
	text-align: center;
	padding: 10px 0;
	text-decoration: none;
	transition: all 0.5s;
	border-radius: 0px;
	margin: 0;
	font-size: 14px;
}
#menu-main-menu .menu-item:first-child a {
	border-radius: 5px 0px 0px 0px;
}
#menu-main-menu .menu-item:last-child a {
	border-radius: 0px 5px 0px 0px;
}

#menu-main-menu .menu-item.current-menu-parent a,
#menu-main-menu .menu-item.current-menu-item a {
	border-radius: 5px 5px 0px 0px;
	background-color: #858586;
}

#menu-main-menu .menu-item:hover a {
	color: #000;
}
#menu-main-menu .menu-item.current-menu-item:hover a {
	color: #FFF;
}

hr {
	border-top-width: 2px;
	border-color: #e1e1e1;
}

hr.mini {
	max-width: 10%;
	margin-left: 0;
}

.line-divided {
	position: relative;
	height: 1px;
	background-color: #e1e1e1;
	margin: 1rem 0;
}

.line-divided::before {
	content: "";
	height: 3px;
	width: 10%;
	background-color: #e1e1e1;
	position: absolute;
	left: 0;
	top: -1px;
}

.line-divided.line-divided-yellow, .line-divided.line-divided-yellow::before {
	background-color: #F5AF40;
}


h1.entry-title {
	/* text-transform: uppercase; */
	font-size: 2rem !important;
}

h2.main-title {
	text-align: center;
	background-image: URL("https://www.tripgether.com/wp-content/themes/tripgether_1/img/h2-bg.png");
	background-position: center;
	background-repeat: repeat-x;
}

h2.main-title span {
	background-color: #fff;
	padding: 0 10px;
}

h3.entry-title {
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
}

h3.entry-title a {
	display: block;
	display: -webkit-box;
}

h6.entry-title {
	border-bottom: 1px solid #ccc;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
}

h6.entry-title a {
	display: block;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: 58px;
}

.post-tags {
	padding: 1rem 0;
}

.tag-links a {
	display: inline-block;
	background-color: #f6f6f6;
	padding: 0.25rem 0.5rem;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
}

.post .wp-post-image {
	background-color: #fff;
}

.wp-block-embed__wrapper {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
}
.wp-block-embed__wrapper::before {
	padding-top: 56.25%;
	display: block;
	content: "";
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.sidebar {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar > li {
	padding: 15px;
	background-color: #fff;
	margin-bottom: 15px;
}
.sidebar > li .widgettitle {
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	font-weight: var( --e-global-typography-primary-font-weight );
}

.sidebar-content-floating {
	position: -webkit-sticky;
	position: sticky;
	top: 25px;
}

main {
	margin-bottom: 15px;
}

.advertising-location-below-single-article {
	background-color: #FFF;
	padding-top: 15px;
	padding-bottom: 15px;
}

.space-bg {
	height: 6px;
	background-image: URL("https://www.tripgether.com/wp-content/themes/tripgether_1/img/h2-bg.png");
	background-position: top center;
	background-repeat: repeat-x;
}

.article-item-full {
	font-size: 120%;
}

a.read-more {
	display: inline-block;
	color: var( --e-global-color-primary );
}

a.read-more::after {
	display: inline-block;
	content: "\f061";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	vertical-align: bottom;
	margin-left: 15px;
}

#homepage section {
	padding-top: 25px;
	padding-bottom: 25px;
}

.recent-videos {
	background-color: #282828;
	color: #fff;
}
.recent-videos a, .recent-videos a:hover {
	color: inherit;
}

.recent-videos h2.main-title span {
	background-color: #282828;
	color: #fff;
}

.recent-videos h3.entry-title {
	color: #fff;
}


.recent-videos h6.entry-title {
	border: none;
}
.recent-videos h6.entry-title a {
	-webkit-line-clamp: 2;
	min-height: 40px;
}

.article-item-video {
	background-color: transparent;
	border-radius: 10px;
	padding: 10px;
	margin: 0;
}

.article-item-video.slick-current {
	background-color: rgba(255, 255, 255, 0.1);
}


[type='button'].arrow-button-next,
[type='button'].arrow-button-prev {
	display: inline-block;
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	border: none;
	background: none !important;
	padding: 0;
	color: #1F3159 !important;
	font-size: 150%;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;  
}

.recent-videos-wraper [type='button'].arrow-button-next,
.recent-videos-wraper [type='button'].arrow-button-prev {
	color: #fff !important;
}

.arrow-button-next {
	right: -15px;
}

.arrow-button-prev {
	left: -15px;
}

.grey-posts {
	background-color: #f6f6f6;
}
.grey-posts h2.main-title span {
	background-color: #f6f6f6;
}

.article-item-half .post-meta	{
	position: absolute;
	bottom: 0;
}


.article-item-half .post-meta {
	position: absolute;
	bottom: 1rem;
	left: 2rem;
	right: 2rem;
	text-shadow: 2px 2px 2px #000;
	color: #fff;
}

.article-item-half h6.entry-title {
	border: none;
	padding-bottom: 0;
}

.article-item-half h6.entry-title a {
	color: #fff !important;
	font-size: 120%;
	text-decoration: none !important;
}

.home .elementor-60 .elementor-element.elementor-element-f65db9c {
	margin-top: 0;
}

.home main,
.home .elementor-7 .elementor-element.elementor-element-919de6d {
	margin-bottom: 0;
}

.place-search-link {
	display: block;
	position: relative;
	color: #FFF !important;
	text-decoration: none !important;
	font-size: 1.5em;
	white-space: nowrap;
	text-shadow: 2px 2px 2px #000;
	overflow: hidden;
}

.place-search-link img {
	transition: all ease .5s;
}

.place-search-link:hover img {
	filter: blur(2px);
}

.place-search-link-text {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.place-search-link .place-search-link-text-normal {
	display: block;
}

.place-search-link:hover .place-search-link-text-normal {
	display: none;
}

.place-search-link .place-search-link-text-hover {
	display: none;
}

.place-search-link:hover .place-search-link-text-hover {
	display: block;
}

.top-advertising .adsvertising-wraper {
	background-color: #fff;
	margin-bottom: 1em;
	padding-top: 1em;
	padding-bottom: 1em;
}

.top-advertising .adsvertising-wraper {
	background-color: #fff;
	margin-bottom: 1em;
	padding-top: 1em;
	padding-bottom: 1em;
}


.tg-search-form {
	background-color: #e9ecef;
	border-radius: 20px;
	height: 40px;
	width: 100%;
	overflow: hidden;
}

.tg-search-form .form-control {
	background-color: transparent;
	height: 40px;
	padding-left: 0;
	padding-right: 10px;
	border: none !important;
	box-shadow: none !important;
}
.tg-search-form .input-group-text {
	border: none;
	background-color: transparent;
	border-radius: 0;
}
.tg-search-form .btn {
	background-color: var( --e-global-color-primary );
	border: none;
	border-radius: 20px !important;
	padding: 0 40px;
	height: 40px;
}

.tg-search-form .btn:hover, .tg-search-form .btn:focus {
	background-color: #F5AF40;
}

.navigation { 
	margin: 0 auto; 
	width: 100%;
	text-align: center;
}

.wp-paginate a, .wp-paginate .current {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: inline-block;
	line-height: 34px;
	padding: 0 !important;
	border: none !important;
	text-align: center;
}

.wp-paginate .current, .wp-paginate a:hover {
	background: #F5AF40 !important;
	color: #FFF !important;
}

.gallery-thumbnails img {
	cursor: pointer;
	border: 5px solid transparent;
}
.gallery-thumbnails .slick-current img {
	border-color: #F5AF40;
}

s, strike {
	text-decoration: none;
	display: inline-block;
	position: relative;
}

s::before, strike::before {
    top: 50%;
    background:red;
    opacity:.7;
    content: '';
    width: 110%;
    position: absolute;
    height:.1em;
    border-radius:.1em;
    left: -5%;
    white-space:nowrap;
    display: block;
    transform: rotate(-10deg);  
}

.google-iframe-map iframe {
	border: none;
	width: 100%;
	height: 450px;
}

.btn-booking {
	background-color: #858586;
	color: #fff !important;
	border: none !important;
}
.btn-booking:hover, .btn-booking:active{
	background-color: #F5AF40;
	color: #fff !important;;
	border: none !important;
}

.tg-category-icon {
	width: 45px;
	display: inline-block;
	margin-right: 15px;
}


.sticky-posts .slick-dots {
	bottom: 40px;
	width: 41.666667%;
	right: 0;
}

.sticky-posts .slick-dots li {
	margin: 0;
}
.sticky-posts .slick-dots li button {
	overflow: hidden;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	background-color: rgba(0, 0, 0, 0);
	box-shadow: inset 0 0 0 2px rgb(245, 175, 64);
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
	position: absolute;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;  
}

.sticky-posts .slick-dots li button::before {
	display: none;
}

.sticky-posts .slick-dots li button::after {
	content: ' ';
	position: absolute;
	bottom: 0;
	height: 0;
	left: 0;
	width: 100%;
	background-color: rgb(245, 175, 64);
	box-shadow: 0 0 1px rgb(245, 175, 64);
	-webkit-transition: height 0.3s ease;
	transition: height 0.3s ease;
}

.sticky-posts .slick-dots li.slick-active button::after {
	height: 100%;
}

.advertising-shortcode .slick-dots {
	bottom: 0;
}

.advertising-shortcode .slick-dots li {
	margin: 0;
}
.advertising-shortcode .slick-dots li button {
	overflow: hidden;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	background-color: rgba(0, 0, 0, 0);
	box-shadow: inset 0 0 0 2px rgb(245, 175, 64);
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
	position: absolute;
}

.advertising-shortcode .slick-dots li button::before {
	display: none;
}

.advertising-shortcode .slick-dots li button::after {
	content: ' ';
	position: absolute;
	bottom: 0;
	height: 0;
	left: 0;
	width: 100%;
	background-color: rgb(245, 175, 64);
	box-shadow: 0 0 1px rgb(245, 175, 64);
	-webkit-transition: height 0.3s ease;
	transition: height 0.3s ease;
}

.advertising-shortcode .slick-dots li.slick-active button::after {
	height: 100%;
}

.y-comments {
	border-bottom: 1px solid #000;
	border-top: 1px solid #333;
	margin: 0;
	padding-bottom: 0.5rem;
	padding-top: 0.5rem;
}

.y-comments-0 {
	border-top: none;
}
.y-comments-3 {
	border-bottom: none;
}

@media (max-width: 1025px) {
	.sticky-posts .slick-dots {
		bottom: -10px;
		width: 100%;
		right: 0;
		left: 0;
	}
	#menu-footer {
		column-count: 2;
	}
	
}
.hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-expandible, .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-horizontal, .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-vertical {
	top: calc(100% + 15px);
}

/* Tablet */
@media (max-width: 769px) {
	h1.entry-title {
		font-size: 1.75rem !important;
	}
	h2 {
		font-size: 1.5rem !important;
	}
	h3 {
		font-size: 1.25rem !important;
	}
	h6 {
		font-size: 0.8rem !important;
	}
	h6.entry-title a {
		min-height: 46px;
	}
	.post-meta {
		font-size: 10px;
	}
	.article-item-full {
		font-size: 90%;
	}
	.place-search-link {
		font-size: 1em;
	}
	.sidebar-popular article {
		max-width: 50%;
	}
	.tg-category-icon {
		width: 32px;
	}
	.article-full-excerpt {
		/* display: block; */
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		height: 66px;
	}
}

@media (max-width: 576px) {
	.hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-expandible, .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-horizontal, .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-vertical {
		top: calc(100% + 20px);
	}
}


/* Tablet & Mobile Menus */
.menu-item a img, img.menu-image-title-after, img.menu-image-title-before, img.menu-image-title-above, img.menu-image-title-below, .menu-image-hover-wrapper .menu-image-title-above {
	display: none;
}
.menu-image-title-before.menu-image-not-hovered img, .menu-image-hovered.menu-image-title-before .menu-image-hover-wrapper, .menu-image-title-after.menu-image-title {
	padding-left: 0;
}

.hfe-nav-menu {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: start !important;
}

.hfe-nav-menu li.menu-item {
	max-width: 25%;
	flex: 0 0 25%;
	font-size:12px;
	border: 1px solid #fff !important;
}

.hfe-nav-menu li.menu-item a.hfe-menu-item {
	text-align: center !important;
	height: 100%;
	display: block;
	padding-left: 0;
	padding-right: 0;
	color: #fff !important;
	background-color: #F5AF40 !important;
}

.hfe-nav-menu li.menu-item a.hfe-menu-item img.menu-image {
	display: block;
	margin: 0 auto 5px auto;
	max-width: 80%;
	width: 55px;
	filter: brightness(0) invert(1);
}

.slick-dotted.slick-slider {
	margin-bottom: 0;
}

.advertising-shortcode img {
	width: 100%;
}

.advertising-shortcode {
	max-width: 2000px;
	margin: 0 auto;
}

.single-content a {
	color: #F5AF40 !important;
	word-wrap: break-word;
}

.middle-advertising {
	overflow: hidden;
}

.article-item-general {
	overflow: hidden;
}


.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-vertical {
	display: none;
}

.hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-vertical {
	display: block;
}

.author-picture {
	display: block;
	float: left;
	width: 50px;
	height: 50px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 50%;
	margin: 0 1rem 1rem 0;
}

.photographer-name {
	font-weight: 400;
	color: #F5AF40;
}

.slick-slide { display: none !important; }
.slick-initialized .slick-slide { display: block !important; }