


/* -----------------------------------
		     Sitemap CSS
----------------------------------- */
.sitemap-wrapper {
	margin: 30px 0 0 0;
}
.sitemap {
  	padding: 0;
  	display: flex;
  	flex-flow: row wrap;
	position: relative;
}
.sitemap a {
  	position: relative;
  	z-index: 10;
  	display: inline-flex;
  	flex-direction: column;
  	padding: 0.5em 1em;
  	border: 1px solid #e0e0e0;
  	border-radius: 4px;
  	border-bottom-width: 3px;
  	background: #f9f9f9;
  	font-weight: 500;
  	text-decoration: none;
	color: #595959;
}

.sitemap a::before {
  	margin-bottom: 3px;
  	content: attr(title);
  	font-size: 0.8em;
	color: #df7a4b;
}
.sitemap-main {
  	position: relative;
  	flex: 1 1 100%;
  	order: 3;
  	margin-bottom: 1em;
}

.sitemap-main a {
  	margin-bottom: 0.5em;
  	margin-left: 0.2em;
}

.sitemap-main ul {
  	position: relative;
  	padding-left: 2em;
}

.sitemap-main > ul {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	align-items: flex-start;
}
/*
.sitemap-main > ul > li {
  	flex: 1 1 auto;
}
*/
.sitemap li {
  	list-style: none;
}

/* Handle grid lines */
.sitemap-main li::before,
.sitemap-main li::after {
  	display: inline-block;
  	width: 1em;
  	height: 2em;
  	border: 2px solid #ddd;
  	border-right: none;
  	border-top: none;
  	content: "";
}

.sitemap-main li::after {
  	position: absolute;
  	left: 2em;
  	bottom: 0;
  	width: 2px;
  	height: 100%;
}

.sitemap-main ul::before {
  	position: absolute;
  	left: 0;
  	top: -2.75em;
  	display: block;
  	width: 2px;
  	height: 100%;
  	background: #fff;
  	content: "";
}

.sitemap-main > ul::before {
  	display: none;
}

.sitemap-main li::last-child:after {
  	border-color: #fff;
  	bottom: 0;
  	height: 2.7em;
}

/* The home/top level link */
.sitemap-root {
  	margin-bottom: 1.5em;
	flex: content;
}
.sitemap-root > a {
  	min-width: 135px;
	background: lightskyblue;
	border-color: dodgerblue;
	color: currentColor;
}
.sitemap-root > a::before {
  	color: currentColor;
}

.sitemap-root > a::after {
  	position: absolute;
  	bottom: -2.6em;
  	left: calc(2em - 1px);
  	display: block;
  	width: 2px;
  	height: 2em;
  	background: #ddd;
  	content: "";
}

.sitemap-main > ul > li > a {
  	background: #ffd580;
	border-color: orange;
}

.sitemap-main ul ul ul a {
  	background: #fff;
}

.sitemap-aux {
  	order: 2;
  	font-size: 0.9em;
}
.sitemap-aux ul {
  	display: flex;
  	flex-wrap: wrap;
  	padding: 0;
}

.sitemap-aux li {
  	margin: 0 0.5em 0.5em 0;
}
.sitemap-aux a {
	color: saddlebrown;
  	background: #f2e8dd;
	border-color: #e4cfb8;
}
.bg-corner {
  background-image: url("https://www.nsthailand.co.th/assets/images/corner-logo.png");
  background-position: right bottom;
  background-repeat: no-repeat;
}


@media (max-width: 767px) {
	.sitemap {
		margin-left: 16px;
	}
	.sitemap li {
	  	width: 100%;
	}
	.sitemap li:last-child {
		margin-bottom: 15px;
	}
	.sitemap-main {
		order: unset;
		margin-bottom: 0.5em;
	}
	.sitemap-main > ul {
	  	justify-content: normal;
	}
}
@media (min-width: 768px) and (max-width: 1080px){
	.container {
		max-width: 991px !important;
	}
	.sitemap-main {
		order: unset;
		margin-bottom: 0;
	}
	.sitemap-main ul {
		margin-bottom: 0.85em;
	}
}
@media (min-width: 1200px){
	.container {
		max-width: 1200px !important;
	}
}



