/*
Theme Name: AAGC
Theme URI: http://www.aagc.co.th
Author: Komsit Rattana
Author URI: http://komsitr.net
Version: 1.0
License: Copyright 2012 AAGC
Text Domain: aagc

*/


/* =Reset
-------------------------------------------------------------- */
/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* =Global Style
-------------------------------------------------------------- */
body {
	background: #1e1a19;
	font-family: 'Lato', 'DBHelvethaicaX', Tahoma, sans-serif;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.35em;
    color: #fff;
}

strong { font-weight: bold; }

a { color: #eabf1f; text-decoration: none; }
a:hover { text-decoration: underline; }

.clear {clear: both !important; line-height: 0 !important; height: 0 !important; width:0 !important; display: block !important; overflow:hidden !important;}
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.strikethrough { text-decoration: line-through; }
.underline { text-decoration: underline; }
.normal { font-weight: normal !important; }
.bold { font-weight: bold !important; }
.italic { font-style: italic !important; }
.hidden { display: none; }
.default-cursor { cursor: default; }
.pointer { cursor: pointer; }
.float-left {float: left; }
.float-right {float: right; }
.small { font-size: 11px; }
.nobr { white-space: nowrap !important; }
.yellow { color: #eabf1f; }
.captalize { text-transform: uppercase; }

.lato { font-family: 'Lato', Arial, sans-serif; }
.helvethaicax { font-family: 'DBHelvethaicaX', Tahoma, sans-serif; }

.ol, .ul { padding-left: 16px; margin: 0 0 0 5px; }
.ol li { list-style: decimal outside; }
.ul li { list-style: disc outside; }

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}


/* =Container
-------------------------------------------------------------- */
html {
	overflow: hidden;
	height: 100%;
	width: 100%;
}

body {
	overflow:hidden;
	width: 100%;
	height: 100%;
}
#main {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
	background: #1e1a19;
}
#logo-outer,
#left-content-outer {
	background: url('assets/img/bg-1e1a19-75.png');
	background: rgba(30, 26, 25, 0.75);
	position: absolute;
	left: 0;
	width: 306px;
	z-index: 10;
}
#logo-outer {
	top: 0;
	height: 100px;
}
#logo {
	display: block;
	padding: 36px 15px 0 55px;
}

#left-content-outer {
	top: 100px; bottom: 0;
	
}
#left-content-outer.no-bg {
	background: none;
}
#left-content-outer.auto-height {
	bottom: auto;
}
#left-content {
	margin: 41px 0 35px 55px;
	width: 222px;
	padding-right: 14px;
	outline: none;
}
#left-content p,
#left-content .p {
	margin-bottom: 1.35em;
}

#right-content-outer {
	position: absolute;
	top: 48px; bottom: 0;
	left: 306px; right: 0;
	z-index: 10;
}
#right-content {
	margin: 35px;
	position: relative;
}

/* =Main Menu
-------------------------------------------------------------- */
#main-menu-panel {
	background: #e7c33f;
	position: absolute;
	top: 0; left: 306px; right: 0;
	height: 48px;
	z-index: 20;
	color: #15110f;
}
#main-menu {
	float: left;
	margin-left: 25px;
}

#lang-switcher {
	float: right;
	line-height: 48px;
	padding-right: 20px;
}
#lang-switcher a { color: #15110f; }
#lang-switcher a:hover { color: #fff; text-decoration: none; }

/* =Page Background
-------------------------------------------------------------- */

#page-map {
	
}

#page-background {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
	display: none;
	z-index: 1;
}

#page-background .bg-label {
	display: block;
	padding: 18px;
	position: absolute;
	bottom: 0; right: 0;
	background: url('assets/img/bg-1e1a19-75.png');
	background: rgba(30, 26, 25, 0.75);
	width: 205px; height: 60px;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	z-index: 2;
}
#page-background .bg-label h3 {
	font-weight: bold;
}
#page-background .bg-label .desc {
	color: #999;
}
#page-background .bg-label .readmore {
	background: url('assets/img/icon-more.png') no-repeat 100% 50%;
	padding-right: 16px;
	color: #eabf1f;
	float: left;
	line-height: 30px;
}

/* =Home
-------------------------------------------------------------- */

/* =Work & Product
-------------------------------------------------------------- */
.work-cat-page h1,
.work-single-page .metadata h2 {
	font-weight: bold;
	font-size: 14px;
	color: #eabf1f;
}
.work-cat-page h2,
.work-single-page .metadata h3 {
	color: #eabf1f;
}
.work-cat-page #work-list-panel {
	margin: 15px 0 10px;
	height: 300px;
	padding: 14px 0 21px;
	border: 1px solid #747777;
	border-left: none;
	border-right: none;
}
.work-cat-page #work-list {
	height: 300px;
	overflow: hidden;
}
.work-cat-page #work-list li {
	margin-bottom: 8px;
}
.work-cat-page #work-list li:last-child {
	margin-bottom: 0;
}
.work-cat-page #work-list li a { color: #fff; }
.work-cat-page aside a {
	display: block;
	background:	transparent url('assets/img/menu-pointer.gif') no-repeat 0 3px;
	padding-left: 15px;
}

.work-single-page .metadata {
	padding-bottom: 16px;
	border-bottom: 1px solid #747777;
}
.work-single-page header {
	border-bottom: 1px solid #747777;
	padding: 12px 0 14px;
}
.work-single-page header h1 {
	font-size: 21px;
	font-weight: bold;
	line-height: 1.35em;
}
.work-single-page header h2 {
	color: #9da7a6;
	font-size: 20px;
	line-height: 1.35em;
}
.work-single-page .gallery {
	border-bottom: 1px solid #747777;
	padding: 15px 0;
}
#left-content.work-single-page .gallery p {
	margin: 0;
	font-size: 12px;
	font-weight: bold;
}
.work-single-page .gallery ul { list-style: none; }
.work-single-page .gallery ul li {
	float: left;
	margin-right: 9px;
}
.work-single-page .gallery ul li a.current {
	font-weight: bold;
	color: #fff;
}

.work-single-page .body {
	font-size: 12px;
	padding-top: 18px;
}
.work-single-page .body h3 { color: #eabf1f; font-weight: bold; }
#left-content.work-single-page .body p { margin-bottom: 8px; }
#left-content.work-single-page .body p:last-of-type { margin-bottom: 0; }

.link-next-project {
	position: absolute;
	bottom: 0; right: 0;
	background: url('assets/img/bg-1e1a19-75.png');
	background: rgba(30, 26, 25, 0.75);
	width: 206px; height: 66px;
	z-index: 3;
}
.link-next-project a {
	display: block;
	position: absolute;
	padding-left: 3px;
	width: 203px; height: 100%;
	font-size: 14px;
	line-height: 66px;
	font-weight: bold;
	text-decoration: none;
	color: #eabf1f;
	text-align: center;
	background:	transparent url('assets/img/menu-pointer.gif') no-repeat 35px 27px;
}

/* =Product
-------------------------------------------------------------- */

.work-cat-page #work-list.product li a.current { color: #eabf1f; }

.product-content .image {
	float: left;
}
.product-content .detail {
	padding: 0 0 0 240px;
	color: #9DA6A5;
}
.product-content .detail h1 {
	font-size: 22px;
	font-weight: bold;
	line-height: 1.35em;
	color: #fff;
	padding-bottom: 20px;
}
.product-content .detail .overview { padding-bottom: 40px; }
.product-content .detail .feature h3 {
	color: #fff;
	padding-bottom: 5px;
}

/* =Contact us
-------------------------------------------------------------- */

/* =Careers
-------------------------------------------------------------- */
#careers-panel {
	margin-left: 85px;
	position: relative;
	outline: none;
}
#careers-panel .item {
	width: 235px;
	margin: 50px;
	float: left;
}
#careers-panel.single-col .item {
	width: auto;
	float: none;
}

#careers-panel .item h2 {
	margin-bottom: 16px;
}
#careers-panel .item p {
	color: #9da6a5;
}

/* =Partner
-------------------------------------------------------------- */
#partner-panel {
	margin-left: 40px;
	position: relative;
	outline: none;
}
#partner-panel .item {
	width: 205px;
	margin: 10px;
	float: left;
}
#partner-panel.single-col .item {
	width: auto;
	float: none;
}

#partner-panel .item h2 {
	margin-top: 7px;
	font-weight: bold;
	font-size: 16px;
}
#partner-panel .item p {
	font-size: 0.85em;
}
#partner-panel .item p a {
	color: #e2c742;
}
