/*
	PROJECT: 	Vinh Khoa (vinhkhoa.com)
	FILE:		Core CSS
	FUNCTION: 	The basic / backbone stylesheet for the website
*/

body
{
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 62.5%;
	line-height: 1.5em;
	background: #fff url(../images/bgs.gif) repeat-x;
	padding: 0;
	margin: 0;
}


/* ================================================================================================================= */
/* ===================================================== GENERAL ===================================================== */

h1
{
	font-size: 2.5em;
	font-family: Georgia, Helvetica, Univers, "Times New Roman", Times, serif;
}
* html h1 {margin-top: 0.8em;}
h2
{
	font-size: 2.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 1.3em;
	margin: 0;
	padding: 0.5em;
	
}
h3 {font-size: 1.6em; margin-top: 2em;}
li h3 {font-size: 1.2em;}
h4 {font-size: 1.5em;}
h5 {font-size: 1.4em;}
h6 {font-size: 1.2em;}
/*p, img, div.error, div.message, div.warning, td {font-size: 1.4em;}*/
p, img, div.error, div.message, div.warning, td, li {font-size: 1.2em;}
li p, div.error li  {font-size: 1em;}
legend
{
	font-size: 1.5em;
	color: #00B2D9;
}
fieldset
{
	padding: 3em 0 1em 2em;
	margin-bottom: 3em;
}
* html fieldset
{
	padding-top: 0;
}
* html legend
{
	margin-bottom: 2em;
}

a:link, a:visited {color: #072f3d; text-decoration: underline;}
a:hover, a:active {color: #1A6F8E; text-decoration: none;}
a.externalLink:link, a.externalLink:visited {padding-right: 23px; background: url(../images/externalLink.gif) right -1px no-repeat;}
a.externalLink:hover, a.externalLink:active {padding-right: 23px; background: url(../images/externalLink_hover.gif) right -1px no-repeat;}

a img, a:active img, a:link img, a:visited img, a:hover img,
h1 a, h1 a:active, h1 a:link, h1 a:visited,
h2 a, h2 a:active, h2 a:link, h2 a:visited,
h3 a, h3 a:active, h3 a:link, h3 a:visited,
h4 a, h4 a:active, h4 a:link, h4 a:visited
{
	border: none; 
	text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {text-decoration: underline;}
h1 a:link, h1 a:visited, h1 a:active, h1 a:hover
{
	color: #000;
}


/* ===================================================== ERROR / SUCCESS / INFO / etc. MESSAGES ===================================================== */

/* Messages: error messages, success messages, etc. */
.error, .message, .warning
{
	font-weight: bold;
	padding: 1em;
}
div.error, div.message, div.warning
{
	margin-bottom: 1em;
}

/* error */
.error
{
	color: #FF0000;
}
div.error
{
	border: 1px solid #FF3300;
	background: #FFCACA;
}

form span.error
{
	font-size: 2em;
}

.topError
{
	color: Red;
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom: 2em;
	padding: 0.5em 1em 0.5em 1em;
	border: 1px solid #FF3300;
	background: #FFDFDF;
	display: block;
}


/* message */
.message
{
	color: #009900;
}
div.message
{
	border: 1px solid #00CC00;
	background: #B5FCA0;
}

/* Warning */
.warning
{
	color: #FF6600;
}
div.warning
{
	border: 1px solid #FF972F;
	background: #FFFF9F;
}


/* ===================================================== FORM ===================================================== */

/* Form */
form
{
	margin-top: 3em;
}

/* Label */
label, div.label
{
	font-size: 1.2em;
	display: block;
	float: left;
	text-align: left;
	width: 7.5em;
	margin: 0.5em 1em 0em 0;
	position: relative;
	bottom: 0.5em;
	clear: left;
}
div.label
{
	height: 1em;
}
label.inline, label.inline_top
{
	display: inline;
	float: none;
	clear: none;
	bottom: 0;
}
label.inline_top
{
	bottom: 0.5em;
	margin-left: 0.5em;
}
label.normal, span.text label
{
	font-size: 1em;
	display: inline;
	float: none;
	text-align: left;
	width: auto;
	margin: auto;
	position: relative;
	bottom: 0;
	clear: none;
}
label.error
{
	margin-left: 8.5em;
	margin-bottom: 1em;
	padding: 0;
	float: none; 
	width: auto;
	text-align: left;
}
* html label.inline
{
	bottom: 0.7em;
}
label.expandable
{
	width: auto;
}
label.required
{
	font-weight: bold;
}
/* group checkbox and radio buttons together */
div.selectionGroup
{
	margin-left: 8.5em;
	font-size: 1.2em;
	margin-bottom: 1em;
	line-height: 2em;
}
div.selectionGroup label
{
	margin-right: 1em;
}

/* text field and textarea */
input.text, input.big_text, input.small_text, select, div.staticvalue, textarea.text, textarea.big_text, textarea.mid_text
{
	font-size: 1.5em;
	padding: 0.4em;
	margin-bottom: 0.3em;
	border: 1px solid #CCCCCC;
	background: #fff;
	width: 15em;
	display: block;
}
select
{
	width: auto;
}
div.staticvalue
{
	border: 1px solid white;
	padding: 0;
	height: 1.08em;
	width: 20em;
	margin: 0 auto 0.5em 6em;
}
input.small_text
{
	width: 3em;
}
input.radio
{
	margin-bottom: 1em;
}
.form_notes
{
	font-size: 1.2em;
	margin: 0 auto 2em 8.4em;
}

textarea.text, textarea.big_text, textarea.mid_text
{
	font-size: 1.6em;
}
textarea.text
{
	width: 25em;
	height: 10em;
}

input.big_text, textarea.big_text, textarea.mid_text
{
	width: 75%;
}
textarea.big_text { height: 20em; }
textarea.mid_text { height: 10em; }

input.text:focus, textarea.text:focus
{
	border: 1px solid #686667;
}

input.error, select.error, textarea.error, input.error:focus, textarea.error:focus
{
	border: 1px solid red;
	color: #000;
	font-weight: normal;
}

input.button, input.subbutton
{
	font-size: 1.6em;
	font-weight: bold;
	padding: 0.2em 0.6em;
}
input.subbutton
{
	font-weight: normal;
}
td input.button
{
	font-size: 1.4em;
}

img#captcha_img
{
	display: block;
	border: 1px solid red;
	margin-bottom: 1em;
	margin-left: 8.5em;
}

.expandLink
{
	margin-left: 10em;
	width: 75%;
	text-align: right;
}


/* ================================================================================================================== */
/* ===================================================== WRAPPER ==================================================== */

#wrapper
{
	margin: 0;
	padding-top: 100px;
}


/* ===================================================== FOOTER ===================================================== */

#footer_container
{
	margin-top: 5em;
	background: #5F000D;
	padding-bottom: 4em;
}

#footer
{
	padding-top: 2em;
	overflow: auto;
	width: 900px;
	margin: 0 auto;
	color: #CCCCCC;
}

#footer h2 {color: #fff;}

#footer a:link, #footer a:visited {color: #CCCCCC; text-decoration: underline;}
#footer a:hover, #footer a:active {color: #CCCCCC; text-decoration: none;}

#copyright {margin-top: 2em;}

/* ================================== LEFT PANE: FOOTER INFO =============================== */

#footerinfo
{
	float: left;
	width: 35%;
}

/* ================================== RIGHT PANE: CONTACT FORM =============================== */

#contactform
{
	width: 60%;
	float: right;
}

#contactformcontentinner
{
	padding: 1px 5% 5% 5%;
}

/* Overwrite default form settings */
#contactform form {	margin: 2em 0 0 0;}
#contactform label, #contactform div.label { font-size: 1.5em; width: 15%; }
#contactform textarea.text { width: 75%; }
#contactSubmitBtn
{
	background: url(../images/contactform-sendbg.png) top left no-repeat;
	width: 77px;
	height: 36px;
	padding: 0;
	border: none;
	text-indent: -9999px;
	cursor: pointer;
} 


/* ===================================================== CONTENT ===================================================== */

#content_container
{
	overflow: auto;
}

.clear {clear: both;}
.clearCenter {clear: both; text-align: center;}


/* ================================ INTRO ================================ */

#intro
{
	width: 900px;
	margin: 0 auto;
	overflow: auto;
}

#intro h1
{
	margin-top: 0.2em;
}

#intro p
{
	font-size: 2em;
	line-height: 1.5em;
}

#moreskills
{
	font-size: 0.6em;
}

#moreskillscontent {display: none;}

#photocontainer
{
	width: 100px;
	height: 100px;
	padding: 5px;
	background: #5F000D;
	margin: 0 10px;
	float: left;
}

#introtext
{
	margin-left: 130px;
}

.sayhi
{
	cursor: pointer;
}

#sayhimessage
{
	display: none;
	position: absolute;
	background: #FFFF66;
	filter:alpha(opacity=80);
	-moz-opacity:.8;
	-khtml-opacity:.8;
	opacity:.8;
	font-size: 2em;
	padding: 0.5em;
}


/* ================================ WORK & CONTACTS ================================ */

.bar
{
	overflow: auto;
	text-align: center;
	padding-top: 2em;
	/*background: #FFCC66;*/
}

.barcontent
{
	margin: 0 auto;
}

.bar h2
{
	background: #072f3d;
	color: #fff;
}

.bar h2 span
{
	display: block;
	width: 900px;
	margin: 0 auto;
	text-align: left;
}

.bar li
{
	float: left;
	padding: 10px 15px;
	list-style-type: none;
}

.bar ul
{
	overflow: auto;
	padding: 0;
}

.barcontent span
{
	margin-top: 0.5em;
	display: block;
	font-size: 1.5em;
}

.barcontent a:link, .barcontent a:visited {text-decoration: none;}
.barcontent a:hover, .barcontent a:active {text-decoration: underline;}

/* ================================ WORK ================================ */
#work .barcontent {width: 900px;}
#workss a:link img, #workss a:visited img {border: 10px solid #072f3d;}
#workss a:hover img, #workss a:active img {border: 10px solid #1A6F8E;}


/* ================================ CONTACTS ================================ */
#contacts .barcontent {width: 60em;}
#contacts {margin-top: 2em;}




