@charset "UTF-8";
/* typography */
.heading-1 {
    font-size: 16px;
    text-decoration: none;
    color: #c7c7c7;
}
.heading-1--tags {
    float: left;
    font-weight: bold;
    width: 430px;
    padding-bottom: 8px;
}
.heading-1--profile {
    width: 500px;
    float: left;
}
.heading-1--profile-fullpage {
    width: 850px;
    float: none;
    display: block;
}
.heading-1--callouts {
    font-weight: bold;
    color: #c7c7c7;
    width: 320px;
    display: block;
}
.heading-1--home {
    float: left;
    font-size: 13px;
    font-weight: 400;
    width: 208px;
}
.heading-1--home.expand {
    width: 244px;
}
.heading-1--forum {
    width: 1000px;
}
a.heading-1:link {
    color: #c7c7c7;
}
a.heading-1:hover {
    color: #fff;
    text-decoration: underline;
}
.heading-3--tagsheading {
    float: left;
}
/* นับจำนวนกระทู้ และ ผู้ติดตาม */
.tagscount {
    font-size: 14px;
    color: #9995ae;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tagscount--tags {
    float: right;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-top: 5px;
}
.tagscount--profile {
    float: left;
    width: 447px;
}
.tagscount--profile-fullpage {
    float: none;
    width: 850px;
}
.tagscount--home {
    width: 208px;
    font-size: 13px;
    float: left;
}
.tagscount--newfeed {
    font-size: 13px;
    position: absolute;
    right: 8px;
    top: 8px;
}
.timeline-post, .timeline-container-outer {
    overflow: visible;
}
.timeline-post::after, .timeline-container-outer::after {
    content: "";
    clear: both;
    display: table;
}
/* extend */
.tagsprofile__icon, .tagsprofile__img, .tags-item__img, .tags-item__icon {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.heading-1, .callouts-content__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}
.callouts-content__icon, .tagsforum__icon, .tagshome__icon, .tagsprofile__icon, .tags-item__icon {
    border: 1px solid #4b4970;
}

.tagshome::after, .tagsform__input::after, .tagsheading::after {
    content: "";
    clear: both;
    display: table;
}
/* btn */
.btn:link, .btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    border-radius: 2px;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-align: center;
    color: #ffffff;
    border-radius: 2px;
    padding: 5px 8px;
    width: 90px;
    cursor: pointer;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	
}
.btn:hover {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16),0 0 0 1px rgba(0,0,0,0.08);
}
.btn:active::after {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: .3;
    -webkit-transition: 0s;
    transition: 0s;
}
.btn--primary {
    background-color: #7459C8;
	border: solid 1px #9575CD;
}
.btn--secondary {
    background-color: #44416F;
	border: solid 1px #565380;
}
.btn--tertiary {
    background-color: #999999;
}
.btn--unfollow {
	background-color: #8E8BA7;
	border: solid 1px #9D9AC0;
}
.btn.btn--sm {
    font-size: 13px;
    width: auto;
    border-radius: 2px;
}
/* toggle */
.callouts {
    list-style-type: none;
    position: absolute;
    top: 29px;
    z-index: 99;
    padding: 0;
}
.callouts__right {
    right: 100px;
    top: 63px;
}
.callouts li {
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
    background-color: #172C5A;
	border: solid 1px #42649D;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    margin-left: 0;
    border-radius: 4px;
}
.callouts--top:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 50px;
    top: -9px;
    border-top: 8px solid #42649D;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 0;
    z-index: 2;
    transform: rotate(180deg);
}
.callouts--top:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 50px;
    top: -8px;
    border-top: 8px solid #172C5A;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12 px;
    z-index: 3;
    transform: rotate(180deg);
}
.callouts--topright:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: 60px;
    top: -9px;
    border-top: 8px solid #42649D;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 0;
    z-index: 2;
    transform: rotate(180deg);
}
.callouts--topright:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: 60px;
    top: -8px;
    border-top: 8px solid #172C5A;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12 px;
    z-index: 3;
    transform: rotate(180deg);
}
.callouts--bottom:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 50px;
    bottom: -9px;
    border-top: 8px solid #42649D;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 0;
    z-index: 2;
}
.callouts--bottom:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 50px;
    bottom: -8px;
    border-top: 8px solid #172C5A;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12 px;
    z-index: 3;
}
.callouts--bottomright:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: 59px;
    bottom: -9px;
    border-top: 8px solid #42649D;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 0;
    z-index: 2;
}
.callouts--bottomright:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: 59px;
    bottom: -8px;
    border-top: 8px solid #172C5A;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12 px;
    z-index: 3;
}
.callouts-content {
    width: 420px;
    margin: 8px 0 auto 0;
}
.callouts-content__img {
    float: left;
    width: 70px;
    height: 70px;
    padding: 0 8px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
}
.callouts-content__icon {
    float: left;
    background: url(https://ptcdn.info/images/icon-tag-bullet2.png) no-repeat;
    background-position: 26px 30px;
    width: 70px;
    height: 70px;
    margin: 0 8px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
}
.callouts-content__count {
    font-size: 14px;
    color: #9995ae;
}
.callouts-content__text {
    width: 320px;
    color: #c7c7c7;
}
.callouts-content__btn {
    margin: 4px 8px 8px 0;
    float: right;
}
.callouts-content__hr {
    display: inline-block;
    width: 100%;
    padding: 8px 0 16px 0;
}
.callouts-content__detail {
    float: left;
    line-height: 1.5;
}
.actionform {
    float: left;
}
.actionform__group:not(:last-child) {
    margin-bottom: 20px;
}
.actionform__input {
    position: relative;
    font-family: inherit;
    color: #cfcee9;
    font-size: 14px;
    padding: 5px 30px 5px 5px;
    background-color: #43416c;
    border: none;
    border-bottom: 2px solid transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 198px;
    display: block;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.actionform__input:focus {
    outline: none;
    border-bottom: 2px solid #7E79AD;
}
.actionform__icon-search {
    position: absolute;
    right: 4px;
    top: 4px;
    background: url("https://ptcdn.info/images/icon-search.png") no-repeat;
    z-index: 555;
    width: 20px;
    height: 20px;
}
/* tags forum */
.tagsforum {
    position: relative;
    background-color: #39345c;
    border: 1px solid #25223c;
    padding: 8px;
    margin: 16px 0;
}
.tagsforum::after {
    content: "";
    clear: both;
    display: table;
}
.tagsforum__headline {
    display: inline-block;
    width: 100%;
}
.tagsforum__detail {
    margin-left: 36px;
    line-height: 1.5;
    padding-bottom: 8px;
}
.tagsforum__info {
    padding-top: 8px;
    overflow: hidden;
}
.tagsforum__btn {
    position: absolute !important;
    right: 8px;
    top: 24px;
}
.tagsforum__icon {
    position: absolute;
    background: url(https://ptcdn.info/images/icon-tag-bullet2.png) no-repeat;
    background-position: 5px 10px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

.tagshome, .tagshome-fullview {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* tagshome */
.tagshome {
	display: block;
	position: relative;
	overflow: visible;
	width: 100%;
	padding: 8px 10px 0px;
	border-bottom: none;
}

.tagshome:last-child {
	margin-bottom: 10px;
}
.tagshome > a {
	text-decoration: none;
}

.tagshome > a > h1 {
	font-size: 13px;
	font-weight: 400;
	background: #DBDBDB;
	border: 1px solid #FFFFFF;
	color: #000000;
	display: inline-block;
	text-decoration: none;
	padding: 2px 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.5;	
	max-width: 50%;
}

.tagshome > a > span {
	display: inline-block;
	font-size: 13px;
	color: #706e8f;
	vertical-align: 7px;
	padding-left: 4px;
}

/* Safari Browser only */
@media not all and (min-resolution:.001dpcm) { @media {
    .tagshome > a > span { 
        vertical-align: middle; 
    } 
}}

.tagshome > i {
	position: absolute;
	right: 4px;
	top: 9px;
}

.icon-opt_menu {
	display: block;
	height: 24px;
	width: 24px;	
	cursor: pointer;
	opacity: 0.6;
	text-decoration: none;
	background: url("https://ptcdn.info/images/ic-more_vert-24px.png");
}
.icon-opt_menu:hover {
	opacity: 1;
}

a.tagshome:link {
    color: #c7c7c7;
    text-decoration: none;
}

/* tags fullview*/
.tagshome-fullview {
	display: block;
	position: relative;
	overflow: visible;
	width: 100%;
	padding: 10px 10px 8px;
	border-bottom: 1px solid #4b4970;	
}

.tagshome-fullview > a {
	text-decoration: none;
}

.tagshome-fullview > a > h1 {
	font-size: 13px;
	font-weight: 400;
	background: #DBDBDB;
	border: 1px solid #FFFFFF;
	color: #000000;
	display: inline-block;
	text-decoration: none;
	padding: 2px 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.5;
	margin-bottom: 4px;
	max-width: 62%;
}

.tagshome-fullview > a > span {
	display: block;
	font-size: 13px;
	color: #706e8f;
	vertical-align: 7px;
	padding-left: 2px;
}

.tagshome-fullview > b {
	display: block;
	position: absolute;
	right: 10px;
	top: 10px;
	font-style: normal;
}

.tagshome-fullview > b > a {
	min-width: 72px;
}

/* Tag Search */
.tagshome-search {
    display: none;
	padding: 10px 10px;
	background: #353156;
	border-bottom: solid 1px #2D2A49;
}

.tagshome-search-input {
	border: 1px solid #24233A !important;
	color: #CFCEE9;
	width: 190px !important;
	padding-right: 27px;
	padding: 6px 28px 6px 8px;
	vertical-align: -1px;
	margin-right: 4px;
	background: url("https://ptcdn.info/images/icon-search.png") no-repeat scroll 4px #43416C;
	background-position: 200px 7px;
}

.tags-search-box {
	background-color: #38355c;
	padding: 10px 10px 10px 20px;
	border: 1px solid #24233A;
	margin-bottom: 24px;
	position: relative;
}

.tags-search-box-input{
	border: 1px solid #24233A !important;
	color: #CFCEE9;
	width: 890px !important;
	padding-right: 27px;
	padding: 6px 28px 6px 8px;
	vertical-align: -1px;
	margin-left: 8px;
	background: url("https://ptcdn.info/images/icon-search.png") no-repeat scroll 4px #43416C;
		background-position-x: 4px;
		background-position-y: center;
	background-position: 900px 7px;
}

a.tagshome__viewall:link {
    font-size: 13px;
    text-align: center;
    color: #9995ae;
    text-decoration: none;
    display: block;
    padding: 8px;
}
a.tagshome__viewall:link:hover {
    color: #ABA7C0;
}
.tagsform {
    position: relative;
    padding: 8px;
}
.tagsform__text {
    margin-bottom: 8px;
}
.tagsform__input {
    display: inline-block;
    position: relative;
}
.tagsform__btn {
    position: absolute;
    right: 8px;
}
.tagsheading__btn-link {
    float: right;
    font-size: 13px;
    margin-left: auto;
}
/* tags profile */
.tagsprofile {
    position: relative;
    display: inline-block;
    width: 691.9px;
    border-bottom: 1px solid #312e4f;
    padding: 8px;
    line-height: 1.8;
}
.tagsprofile__fullpage {
    width: 1026px;
}
.tagsprofile__icon {
    float: left;
    margin-right: 8px;
    background: url(https://ptcdn.info/images/icon-tag-bullet2.png) no-repeat;
    background-position: 16px 21px;
}
.tagsprofile__img {
    float: left;
    margin-right: 8px;
}
.tagsprofile__btn {
    position: absolute !important;
    top: 16px;
    right: 8px;
}
.tagsprofile__detail {
    float: none;
    width: auto;
}
/* tags */
.tags-container::after {
    content: "";
    clear: both;
    display: table;
}
.row-tags-item {
    border-bottom: 1px solid #363358;
}
.row-tags-item::after {
    content: "";
    clear: both;
    display: table;
}
.tags-item {
    float: left;
    width: 505px;
    padding: 8px;
    border-bottom: 1px solid #363358;
}
.tags-item__img {
    float: left;
    margin-right: 8px;
}
.tags-item__icon {
    float: left;
    margin-right: 8px;
    background: url(https://ptcdn.info/images/icon-tag-bullet2.png) no-repeat;
    background-position: 16px 21px;
}
/* loadmore .gif */
.tags-state {
    text-align: center;
    padding: 24px;
}

/* Pantip tags listitem*/
.pt-tags-listitem {
	list-style: none;
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox; 
    display: flex;
    width: 100%;
    max-width: 1048px; /*Width of container for 2 colum*/
    flex-wrap: wrap;
    justify-content: space-between;
}

.pt-tags-listitem-item {
	position: relative;
	padding: 16px;
	width: 400px;
	min-width: 400px;
	max-width: 100%;	
	height: 82px;
	max-height: 82px;
    flex: 1 1 auto;
    -ms-flex: 1 1 auto; 
	border-bottom: solid 1px #353457;
	border-right: solid 1px #353457;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.pt-tags-listitem-item > a {
	text-decoration: none;
}

.pt-tags-listitem-item > a > h1 {
	font-size: 13px;
	font-weight: 400;
	background: #DBDBDB;
	border: 1px solid #FFFFFF;
	color: #000000;
	display: inline-block;
	text-decoration: none;
	padding: 2px 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.5;
	margin-bottom: 4px;
	max-width: 72%;
}

.pt-tags-listitem-item > a > em {
	display: inline-block;
	font-size: 13px;
	color: #706e8f;
	vertical-align: 11px;
	padding-left: 4px;
	font-style: normal;
}

.pt-tags-listitem-item > a > span {
	display: block;
	font-size: 13px;
	color: #706e8f;
	vertical-align: 7px;
	padding-left: 2px;
}

.pt-tags-listitem-item > b {
	display: block;
	position: absolute;
	right: 10px;
	top: 42px;
	font-style: normal;
}

.pt-tags-listitem-item > b > a {
	min-width: 72px;
}

.pt-tags-listitem-item > i {
	position: absolute;
	right: 2px;
	top: 10px;
}

/* Menu Surface */
.pt-menu-surface {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	min-width: 112px;
	max-width: 336px;
	webkit-box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);
	box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);
	background-color: #E9E5F6;
	border-radius: 4px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	overflow: auto;
	z-index: 8;	
	cursor: pointer;
}

.pt-menu-surface > ul {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	text-decoration: inherit;
	text-transform: inherit;
	color: rgba(0,0,0,.87);
	margin: 0;
	padding: 8px 0;
	list-style-type: none;
}
.pt-menu-surface > ul > li > a {
    color: #000000 !important;
    text-decoration: none!important;
}

.pt-menu-surface > ul > li {
	display: -ms-flexbox;
	display: flex;
	position: relative;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: start;
	justify-content: flex-start;
	height: 32px;
	padding: 0 16px;
	overflow: hidden;
}

.pt-menu-surface > ul > li.list-divider {
	height: 0;
	margin: 0;
	border-bottom: solid 1px rgba(0,0,0,.12);
	margin: 8px 0;
}

.pt-menu-surface > ul > li:hover {
	background-color: #DBD7EB;
}

.pt-menu-surface-mini > ul {
	padding: 0;
}

.link-add-tagsidebar{
    float:right;
    font-size: 0.800em;
}
.link-add-tagsidebar-finish{
    float:right;
    font-size: 0.800em; 
    text-decoration: underline; 
    display:none;
}

.txt-sidebar-follow{
    padding: 0.5em;
    text-align: center;
    align-content: center;
}

/* Pantip Tag Dialog */
.pt-tag-dialog {
	display: block;
	position: absolute;
	top: 10px;
	left: 10px;
	width: 370px;
	max-width: 370px;
	webkit-box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);
	box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);
	background-color: #172C5A;
	border: solid 1px #42649D;
	border-radius: 4px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	z-index: 8;	
}

.pt-tag-dialog > span {
	position: relative;
	visibility: visible;
	display: block;
}

.pt-tag-dialog > span > div > p {
	font-size: 14px; 
	color: rgba(233,229,246,0.6);
	line-height: 1.2;
}

.pt-tag-dialog > span > div > h1 {
	color: #E9E5F6;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.pt-tag-dialog > span > div > span {
	font-size: 13px;
	color: #706e8f;
	line-height: 2.0;
}

.pt-tag-pad1 {
	padding: 12px 16px;
	border-bottom: solid 1px rgba(255,255,255,0.12);
}
.pt-tag-pad1 > a {
    color: #E9E5F6;
}

.pt-tag-pad2 {
	display: flex;
	padding: 8px 16px;
    justify-content: space-between;
    font-size: 13px;
	color: #706e8f;
	line-height: 2.0;
}

.pt-tag-dialog > span > i:after {
  content: "";
  position: absolute;
  z-index: 1000;
  bottom: -7px;
  left: 50%;
  margin-left: -8px;  
  border-top: 8px solid #172C5A;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;        
  border-bottom: 0;  
}

.pt-tag-dialog > span > i:before {
  content: "";
  position: absolute;
  z-index: 999;
  bottom: -8px;
  left: 50%;
  margin-left: -8px;  
  border-top: 8px solid #42649D;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;        
  border-bottom: 0;  
}

i.arrow-top {
	position: absolute;
	top: -1px;
	right: 48px;
	transform: rotate(180deg);
}

i.arrow-bottom {
	position: absolute;
	bottom: -1px;
	right: 48px;
}

.pt-tag-header {
	background: #2D2A49;
	border: 1px solid #24233A;
	padding: 8px 16px;
	margin-bottom: 20px;
}
.pt-tag-header > h1 {
	color: #E9E5F6;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.5;	
    word-break: break-all;
    margin-bottom: 8px;
}
.pt-tag-header > div {
	display: flex;
}
.pt-tag-header > div > span {
	font-size: 13px;
	color: #706e8f;
	line-height: 2.0;
}
.pt-tag-header > div > b {
	margin-left: 12px;
}
.pt-tag-header > div > b > a {
	min-width: 90px;
}
