#wrapper {/*อัพเดท*/
    overflow: hidden;
}
#wrapper.indexpage{
overflow: hidden;
margin-top: 0;
}

#header {
    width: 100%;
    left: 0px;
    right: 0;
    top: 0px;
    color: #000;
    position: fixed;
    z-index: 9;
    transition: all 0.3s;
}

#header-inner {
    width: auto;
    display: block;
    margin: 0px auto;
    padding: 0;
    left: 0;
    right: 0;
    opacity: 1;
    height: auto;
    transition: all 0.3s;
}

.header-box {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}
.header-box.followme {
    color: #FFF;
    font-size: 16px;
    background-color: #F5811E;
}
.header-box.mainmenu{
color: #FFF;
background-color: #FFF;
border-bottom:1px solid #F5811E;
}
.header-box.followme img{
max-height: 16px;
color: #FFF;
}
.header-box-row {
    width: auto;
    margin: 0 -20px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    /* transition: all 0.3s; */
}

.header-box-row.mainmenu{
z-index: 2;

}
.header-box-row.submainmenu{
z-index: 1;
}
.follow_me {
    position: relative;
width: 100%;
}
.follow_me ul {
    display: flex;
    margin: 0 -10px;
    padding: 0;
    flex-direction: row;
    width: auto;
    justify-content: space-between;
    align-items: baseline;
}
.follow_me li {
    padding: 0 10px;
    margin: 0;
    flex: auto;
    list-style: none;
    width: auto;
}
.menu-box{
	border-top: 1px solid #CCC;
}
.header-box-col {
    display: flex;
    margin: 0;
    padding:10px 20px;
    /* transition: all 0.3s; */
    align-items: center;
}

.header-box.followme .header-box-col{
column-gap: 30px;
}
.header-box.followme .header-box-col a{
display: flex;
column-gap: 10px;
color: #FFF;
align-items: center;
}
.header-box.followme .header-box-col picture{
width: 16px;
height: 16px;
}
.header-box-col.head-logo {
    order: 1;
}
.header-box-col.head-menu {
    order: 2;
}

.header-box-col.head-menu .flexnav li a:link, .header-box-col.head-menu .flexnav li a:visited {
    padding: 0 5px 5px 5px;
}

.header-box-col.header_follow {
    order: 3;
    width: auto;
}
.header-box-col.search {
    order: 4;
    width: auto;
}
.header-box-col.user-menu{
    order: 5;
    width: auto;
}

.header-box li :link, .header-box li :visited {
    color: #FFF;
    display: flex;
    align-items: baseline;
}
.header-box .follow_me li a{
/* transition: 0.3s all; */
padding: 0;
}
.header-box .follow_me li a:hover{
transform: translateX(5px);
}
.header-box .follow_me li a span{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.header_follow,.header-box-col.search.header-box-col.user-menu {
    width: 33.33%;
    flex: none;
}
.header-box li i {
    min-height: auto;
    margin-right: 10px;
    flex: none;
    width: 30px;
    top: 0;
}

.header-box li img {
    width: 25px;
    height: 20px;
    object-fit: contain;
    position: relative;
}

.header-box li svg {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.header-box-right{
    
}

#header-bg {
    display: block;
    position: absolute;
    height: 85px;
    width: 100%;
    z-index: -1;
	opacity:1;
}
#header-inner-logo{
    display: block;
}
#wrapper.indexpage #header-inner-logo{
    /* transition: all 0.2s ; */
}
#header-inner-logo img {
    width: auto;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    transition: all 0.3s;
    opacity: 1;
    max-height: 60px;
    transform-origin: left;
}
#header-inner-logo-icon {
	
	height: 60px;
	width: 50px;
	font-size: 40px;
	text-align: center;
}
#header-inner-logo-text {
	
	font-size: 20px;
}
#header-inner-logo-text span {
	font-weight: 600;
}
#header-inner-nav {
	
	position:relative;
}
#header-inner-nav p {
    text-decoration: none;
    display: block;
    
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
	margin: 0px;
    padding: 5px 30px;
	font-weight:bold;
	color:#FFF;
	border-top:2px solid rgba(255,255,255,0);
	border-bottom:2px solid rgba(255,255,255,0);
}
#header-inner-nav p:hover {
	color: rgba(255,255,255,1);
	cursor:pointer;
	border-top:2px solid rgba(255,255,255,1);
	border-bottom:2px solid rgba(255,255,255,1);
}
.header-box-row nav {/*อัพเดท*/
    position: relative;
    padding: 0;
    width: 100%;
    margin: 0;
}
.header-box-row .header-box-col.head-menu nav {
    position: relative;
    padding: 0;
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s;
}
.tab {
	
	width: 100%;
	position: relative;
	overflow: hidden;
}
.tab img {
	
}
.tab-headline {
	position: absolute;
	left: 50%;
	top: 50%;
}
.tab-headline p {
	border: 4px solid rgba(255,255,255,1);
	font-size: 100px;
	color: rgba(255,255,255,1);
	padding-left: 30px;
	padding-right: 30px;
	font-weight: 300;
	margin: 0px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.tab-headline p:hover {
	color: rgba(239,74,74,1);
	border-top-color: rgba(239,74,74,1);
	border-right-color: rgba(239,74,74,1);
	border-bottom-color: rgba(239,74,74,1);
	border-left-color: rgba(239,74,74,1);
}
.tab-button{
	
	height: 60px;
	line-height: 60px;
	background-color: #282b34;
	margin-right: 30px;
	margin-left: 30px;
}
.tab-button a {
	color: rgba(255,255,255,1);
	text-decoration: none;
	display: block;
	font-size: 16px;
}
.tab-button:hover .tab-button-icon{
	background-color: #0093fd;
}
.tab-button:hover .tab-button-text{
	background-color: #3D414E;
}
.tab-button-icon{
	
	height: 60px;
	width: 60px;
	text-align: center;
	background-color: #ef4a4a;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.tab-button-icon a {
	font-size: 25px;
}
.tab-button-text{
	
	height: 60px;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.tab-button-text a {
	padding-left: 30px;
	padding-right: 30px;
}