/* Header */
#header { }
#header .wrapHead,
#header .wrapHead2 {
	overflow:visible; 
	z-index: 4; 
	width:70%;
}
#header .wrapHead2 {
	width:20%;
}
.logo-thaibma {
    width: 15%;
    max-width: 144px;
    height: 40px;
    float: left;
    background: #fff url(/images/logo/thaibmalogo2.png) no-repeat center center;
	margin: auto;
}
.topbar {
	height: 35px;
	background: #6b462e;
	width: 100%;
	float: right;
}
.topbar section { float: right; margin-right: 5px; }
.topbar section nav { margin-top: 5px; }
.topbar .wrapHead { height:35px !important; overflow:hidden !important;}

.info-for { color: #FFBE00; text-transform: uppercase; }

/* IE */
.ie8 #header { background:none; border-bottom:1px solid #eee;}

#navMain { width: 100%; float:left;}
#navMain li { float:left; margin-right:45px; line-height:44px; /*border-bottom:3px solid transparent;*/}
#navMain li a { display:block; color:#777; font-size:28px; font-family: 'Open Sans','ThaiSansNeue-Bold';  }  
#navMain li:hover {/* border-bottom:3px solid #F1A700;*/ }
#navMain li a:hover { color:#0074c0;}
#navMain li:last-child { margin-right:0;} 

#navMainEn            
{
	width: 100%;
    float: right;
    margin: 3px 0px 2px 0px;
}
#navMainEn li  
{
	float:left; /*margin-right:46px;*/ 
	margin-right: 29px; /*border-bottom:3px solid #FFF;*/ 
	line-height:44px; 
} 
#navMainEn li a 
{
	display:block; 
	color:#43596b; 
	font-size:14px;
	font-weight:600; 
	font-family: 'Open Sans','ThaiSansNeue-Bold';
}
/*display:block; color:#777; font-size:16px;font-weight:600; font-family: 'Open Sans','ThaiSansNeue-Bold'; }  */
#navMainEn li:hover { /*border-bottom:3px solid #F1A700;*/ }
#navMainEn li a:hover { color:#0074c0;}
#navMainEn li:last-child { margin-right:0;} 

.hover2 
{
    background:#fcfcfc url(../common/img/bg-navsub.jpg) center top no-repeat;
    border-bottom:4px solid rgb(255, 218, 0);
}
/* navSub */
.navSub  
{
    display: none; 
    width: 102%; overflow: hidden; 
    position: absolute; z-index: 99999; 
    left: -10px; top: 83px;

    float: left;
    min-width: 160px;
    padding: 0px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;

    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
}
.navSub .top-head  
{
	overflow: hidden; 
	padding-bottom:10px; 
	margin-bottom:20px; 
	border-bottom:1px solid #eee;
    position: relative;
    min-height: 1px;
    padding-left: 0px;
    padding-right: 0px;
} 
.navSub .top-head a.link-main {
	color: #43596b !important; float:right; margin-top:8px;
	padding-right:22px; font:normal 15px/1.35em 'Helvetica Neue', Arial, Tahoma !important;
	background-image:url(../common/img/arrw-blue.png);
	background-position:96% 50%;
	background-repeat:no-repeat;
	background-size:8px 15px;
}
.navSub .top-head a.link-main:hover { color:#055d97}
.navSub h2 {    float: left;
    font-size: 20px;
    color: #43596b;
    line-height: 1.35em;
    font-weight: 600;}
.navSub h3 {     color: #43596b;
    font-size: 18px;
    padding-bottom: 6px;
    line-height: 1em;
}
.navSub .inner-sub  
{
    overflow:hidden; margin-top:3px;
    /*background:#fcfcfc url(../common/img/bg-navsub.jpg) center top no-repeat;
    border-top:4px solid rgb(255, 218, 0);*/
    border-bottom-color: rgb(255, 218, 0);
    border-bottom-style: solid;
    border-bottom-width: 4px;
    min-height: 65px;
    /* min-height: 150px; */
    margin-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
.navSub .col-left { width:880px; float:left; padding:20px; box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;}
.navSub .col-right { width:300px; float:right; background:#ddd; padding:20px 30px;}
.navSub .group { width:270px;}
.navSub .listSub { width:270px; display:table-cell; padding-right:20px;}
.navSub .listSub h4 { font-family: 'Open Sans','ThaiSansNeue-Bold'; color:#777; font-size:17px; margin-bottom:10px; line-height:1;}
.navSub .listSub h4 a { font-family: 'Open Sans','ThaiSansNeue-Bold'; color:#777;  font-size:16px !important;}
.navSub .listSub ul { margin-bottom:20px;}
.navSub .listSub li { float:none !important; display:block;/* border:0 !important;*/ margin-bottom:8px;
                 }
.navsmehome {
           background: url('https://www.krungsri.com/bank/App_Themes/Krungsri/icon/Menu/02_SME/sme_01.png') no-repeat left top;
    min-height: 40px;
    vertical-align: middle;
    background-position: 0 0;
    border: 1px solid #dcd5d5;
    /* border-bottom: 1px solid #dcd5d5; */
    padding: 14px 0px;
    /* padding-top: 14px; */
    /* padding-right: 0px; */
    /* padding-bottom: 14px; */
    padding-left: 50px;
    /* padding-left: 50px; */
    background-position: 6px 6px;
    margin-bottom: -1px;
    width: 100%;
    /* margin-left: 5px; */
    background-color: #E8E7E7;
    border-radius: 6px;
}
.navSub-li{
    width: 100%;
    /* float: left; */
    margin: 0;
    border-bottom: 1px solid #dcd5d5;
    background: url(https://www.krungsri.com/bank/App_Themes/Krungsri/icon/Main-Page/arrow-r-y1.png) no-repeat right center;
}
.navSub .listSub li a { color:#999 !important; font-size:13px !important; font-family:'Open Sans'!important; line-height:1.4em; 
    padding-bottom: 15px;
    padding-left: 10px;
    padding-top: 15px;
    padding-right: 25px;
   text-decoration: none;
    display: block;
    color: #554242;}
.navSub .listSub li:hover {/* border:0 !important;*/}
.navSub .listSub li a:hover { color:#505050 !important;}
.navSub .listSub h4.headLoan { color:#333 !important; font-size:18px !important; margin-bottom:0 !important;}

.ie8 .navSub .top-head a.link-main { background: url(../common/img/arrw-view-all-ie.png) right 7px no-repeat;}
.ie8 #navMain li { /*border-bottom:3px solid #FFF*/}
.ie8 #navMain li:hover {/*border-bottom:3px solid #43596b;*/}
.ie8 #navMainEn li { margin-right:18px;}
.ie8 #navMainEn li a { font-size:18px;}

/* Recommend */
.navSub .recommend .tn { width:295px; position:relative;}
.navSub .recommend .tn img { width:100%;}
.navSub .recommend h3 { margin-bottom:5px; padding-bottom:5px;}
.navSub .recommend h4 { color:#505050; font-size:24px; margin-top:8px; line-height:1.2em;}
.navSub .recommend h4 a {color:#505050;}

/* nav-style-02 */
.nav-style-02 .navSub .listSub { float:none; /*width:100%;*/}
.nav-style-02 .navSub .listSub ul { width:270px; display:table-cell; padding-right:20px;}


/* navMain Mobile */
#navMain-mobile { display:none; float:right; top:30px; right:20px; position:relative;}

/* ######### NAV MOBILE ######### */
.wrap-body { position:relative; background:#FFF; }
.open .wrap-body { left:0; }

#miniNav { display:none;}
#miniNav .logo-thaibma {
    display: none;
    background: none;
}

#mobileNav {
		display:none;
		position:absolute;
		width:256px;
		height:auto; min-height:100%;
		top:0; left:0;
		z-index:-1;
		/*background:#43596b;*/
		background:#ea7f11;
}

#menu-slide { overflow:hidden;/* border-bottom:1px solid #EEE;*/ }

.search-form { display:block; position:relative; width:238px; height:45px; margin:12px auto; }
#header .box-search { display:block; width:100%; height:45px; padding:0 0 0 30px; 
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
/*.ico-search {
	position:absolute; 
	width:16px; height:15px;
	top:16px; left:10px;
	padding:0;
	text-indent:-999px;
	overflow:hidden;
	border:none;
	background-image:url(../common/img/icon/ico-search.png);
	background-position:50% 50%;
	background-repeat:no-repeat;
	background-size:15px 15px;
	background-color:transparent;
}*/
.ico-mobile-back {
	display:inline-block;
	position:absolute;
	width:16px; height:100%;
	top:1px; left:-16px;
	overflow:hidden;
	background-image:url(../common/img/arrow-white.png);
	background-position:0 50%;
	background-repeat:no-repeat;
	background-size:10px 18px;
}

/* IE8 */
.ie8 .ico-search { background:url(../common/img/sprite.png) 0 -58px;}
.ie8 .ico-mobile-back { background:transparent url(../common/img/sprite.png) -52px -600px no-repeat; }

.nav-mobile-pane {
	display:block;
	position:relative;
	width:auto;
	white-space:nowrap;
	overflow:visible;
	/*font-size:0;*/
}
.wrap-mobile {
display:inline-block;
	position:relative;
	width:100%;
	/*padding:8px 9px 30px 28px;*/
	vertical-align:top;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
    
   /*	 position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	visibility: hidden;
	width: 300px;
	height: 100%;*/
	/*background: #48a770;*/
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	
}
/*.wrap-mobile h1 { position:relative; font-size:26px; line-height:30px; color:#FFF; height:30px; }*/
.wrap-mobile h1 {margin: 0;
	padding: 1em;
	color: rgba(0,0,0,0.4);
	text-shadow: 0 0 1px rgba(0,0,0,0.1);
	font-weight: 300;
	font-size: 2em;}

.wrap-mobile h2 {
        margin: 0;
    padding: 0.5em;
    color: rgba(0, 0, 0, 0.37);
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 1.8em;
}
.nav-mobile-pane h2 {
        margin: 0;
    padding: 0.5em;
    color: rgba(0, 0, 0, 0.37);
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 1.8em;
}
	
.wrap-mobile ul { margin-top:10px; }
/*.wrap-mobile li {
	color:#FFF;
	font-family:'Open Sans',"ThaiSansNeue-Regular";
	font-size:16px;
	line-height:25px;
	margin:15px 0;
	text-overflow:ellipsis;
	overflow:hidden;
}*/
.wrap-mobile li {
    color: #FFF;
    font-family: 'Open Sans',"ThaiSansNeue-Regular";
    font-size: 13px;
    /* line-height: 25px; */
    /* margin: 15px 0; */
    text-overflow: ellipsis;
    overflow: hidden;}
.iconbefore {
    font-size: 16px;
    color: #FDFDFF;
    /* background-color: #BBBDBD; */
    /* padding: 6px; */
    /* border-radius: 50%; */
    /* margin-right: 20px; */
    /* margin-left: 10px; */
    width: 34px;
    text-align: center;
    /* border: 3px solid #3E4548; */
    color: #f3efe0; 
    text-shadow: 0 0 1px rgba(255,255,255,0.1);
}
.wrap-mobile li a { color: #FFF;}
.wrap-mobile ul li a{
    display: block;
    padding: 1em 1em 1em 1.2em;
    outline: none;
    box-shadow: inset 0 -1px rgba(0,0,0,0.2);
    color: #f3efe0;
    text-transform: uppercase;
    text-shadow: 0 0 1px rgba(255,255,255,0.1);
    letter-spacing: 1px;
    font-weight: 400;
    -webkit-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
}
.wrap-mobile ul li a:hover {
	background: rgba(0,0,0,0.2);
	box-shadow: inset 0 -1px rgba(0,0,0,0);
	color: #fff;
}

.wrap-mobile li:first-child { margin-top:0; }
.wrap-mobile li:last-child { margin-bottom:0; }
.wrap-mobile a { color:#FFF; }
.wrap-mobile a:hover { color:#FFF; }

.sub-mobile { display:none; }
.sub-mobile.show { display:block;}
.sub-mobile h2 { font-size: 22px; margin-top:10px;}
.sub-mobile h2 a { color: #FFF;}

#mobileNav .box-search {
	padding: 10px 0 10px 30px;
	line-height: 18px;
	width: 80%;
}

/* PX TOGGLE HEADER */
.redraw{ -webkit-backface-visibility: hidden;-webkit-transform: translateZ(0); }
.px-toggle-header {
    
}
.px-toggle-header .px-toggle-controls {
    display: inline-block;
    position: absolute;
    height: 35px;
}
.px-toggle-controls a {
    display: inline-block;
    padding: 0px 12px;
    font-family: "ThaiSansNeue-Regular";
    font-size: 18px;
    line-height: 35px;
    background: #FAFAFA;
}
.px-toggle-controls .ico-toggle-menu {
   display: inline-block;
    width: 18px;
    height: 15px; vertical-align:middle;
    font-size: 25px; margin-right:3px;
    font-weight: normal;
    text-align: center;
	background-image:url(../common/img/nav-menu.png); background-size:18px 15px;
}
.px-toggle-controls:hover .ico-toggle-menu { background-image:url(../common/img/nav-menu-hover.png); background-size:18px 15px;}
.px-toggle-controls .ico-toggle-menu img { width: 100%;}
.px-toggle-nav {
    height: 0px;
    overflow: hidden;
}

.px-toggle-header.open .px-toggle-nav {
    overflow: visible;
}
.px-toggle-header.open .px-toggle-controls a {
    color:#0074c0 !important;
}
.px-toggle-header.open .ico-toggle-menu { background-image:url(../common/img/nav-menu-hover.png); background-size:18px 15px;}

/* IE */
.ie8 .px-toggle-controls .ico-toggle-menu { background-image:url(../common/img/nav-menu-ie.png); background-size:100% 100%;}
.ie8 .px-toggle-controls:hover .ico-toggle-menu { background-image:url(../common/img/nav-menu-ie.png); background-size:100% 100%;}
.ie8 .px-toggle-header.open .ico-toggle-menu { background-image:url(../common/img/nav-menu-hover-ie.png); background-size:100% 100%;}

/* ------------------- MEDIA QUERIES ------------------- */

/* STYLE 02 NOTEBOOK - notebook */

@media screen and ( max-width:1260px ) {
	
	/* navMain */
	#navMain li { margin-right:23px;}
    
    #navMainEn li { margin-right:22px;}
    #navMainEn li a { font-size:22px;}
	
	/* navSub */
	.navSub { width:960px;}
	.navSub .col-right { display:none;} 
	.navSub .col-left { width:100%; float:none;} 
} 


/* STYLE 03 TABLET - notebook, iPad landscape */

@media screen and ( max-width:980px ) {
    
    #header .wrapHead { height: 80px;}
	
	/* navMain */
	#navMain li { margin-right:13px;}
    #navMain li a { font-size: 22px;}
    
    /* navMain EN */
    #navMainEn li { margin-right:20px;}
    #navMainEn li a { font-size:16px;}
	
		
	/* navSub */
	.navSub { width:720px;}
	.navSub .col-left { width:100%;}
	.navSub h3 { font-size:20px;}
	.navSub .listSub h4 { font-size:18px!important; font-family: "ThaiSansNeue-Regular";}
	.navSub .listSub h4 a { font-size:18px!important; font-family: "ThaiSansNeue-Regular";}

}
@media screen and ( min-width:1200px ) 
{
    /*#cssmenu-1 > ul > li > a ,#cssmenu-1 > ul > li.has-sub::after {color: #fffee3 !important; }*/
    #header {
    border-bottom: 2px #e6e3e3 solid !important;
    background-color: #efefef;
}
      }