#wrapper {
    overflow: hidden;
    margin-top: 124px;
}
#header { /*อัพเดท*/
    width: auto;
    left: 0px;
    right: 0;
    top: 0px;
    color: #000;
    position: fixed;
    z-index: 9999;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
}
#header-inner {
    width: 100%;
    margin: 0px auto;
    left: 0;
    right: 0;
	background-color:#FFF;
	transition: all 0.4s ease-in-out;
    opacity: 1;
}
.header-box {
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
}
.header-box-row {
    width: auto;
    margin: 0 auto;
    padding: 0;
    display: block;
    max-width: 1200px;
}

.topmenu .header-box-row {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: block;
    max-width: none;
}

.header-box-col {
    padding: 0 10px;
    flex: auto;
}
.header-box ul {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: row;
    width: auto;
    justify-content: space-between;
    align-items: baseline;
}
.header-box li {
    list-style: none;
    top: 0;
    position: relative;
    width: auto;
    margin-left: 20px;
}
.header-box li i{
    min-height: auto;
	margin-right: 0;
}
.header-box li:last-child{
    border: 0;
}
.header-box li img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

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

.header-box-right{
    float: right;
}

#header-bg {
    display: block;
    position: absolute;
    height: 85px;
    width: 100%;
    z-index: -1;
	background-color:#000;
	opacity:1;
}
#header-inner-logo {
    display: block;
    padding: 0;
}
#header-inner-logo img {
    width: auto;
    height: 50px;
    object-fit: contain;
    max-width: 250px;
}
#header-inner-logo-icon {
	float: left;
	height: 60px;
	width: 50px;
	font-size: 40px;
	text-align: center;
}
#header-inner-logo-text {
	float: left;
	font-size: 20px;
}
#header-inner-logo-text span {
	font-weight: 600;
}
#header-inner-nav {
	float: right;
	position:relative;
}
#header-inner-nav p {
    font-size: 14px;
    text-decoration: none;
    display: block;
    float: left;
    -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: auto;
}
.topmenu {
    width: 100%;
    display: flex;
    background-color: #232e7f;
    max-width: none;
}
.topmenu nav{
    width: 100%;
}

.tab {
	float: left;
	width: 100%;
	position: relative;
	overflow: hidden;
}
.tab img {
	float: left;
}
.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{
	float: left;
	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{
	float: left;
	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{
	float: left;
	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;
}

@media only screen and (max-width:1024px){
#header-inner-logo {
    height: auto !important;
    margin: 0;
    padding: 0;
    top: 0px !important;
    transition: all 0.4s ease;
    position: relative;
    background: none;
    box-shadow: none;
}
}