/*************************************
 * TITLE: CGIPro.com Style Sheet *
 * URI  : /style.css *
 * MODIF: 2006-Aug-19 08:31 +0800 *
 *************************************/

/* ### MAIN STYLE ### */
body {
	font-family: 'Lucida Grande', Helvetica, Arial, Sans-Serif;
	background-color: #11558D;
	background-image: url('/img/bg_new.jpg');
	background-repeat: repeat-x;
	padding: 0px;
	margin: 0px;
}
#home {
	font-family: 'Lucida Grande', Helvetica, Arial, Sans-Serif;
	font-size: 11px;
}
#subpage {
	font: 15px/150% 'Lucida Grande', Helvetica, Arial, Sans-Serif;
}
#container {
	width: 100%;
}
a:link, a:visited{color: #1B527B;text-decoration:none;}
a:hover{color:#FF7200;}
a img{border:0;}
h1 {
	margin: 0px;
	padding: 0px 10px 0px 0px;
	font-weight: bold;
	font-size: 16px;
	background-color: #CBE8F6;
	display: inline;
}
h2 {
	color: #FCB800;
	margin: 0px;
	padding: 0px 10px 0px 0px;
	background-color: #FFFFFF;
	display: inline;
}
h3 {
	color: #FCB800;
	font-size: 1.4em;
	border-bottom: 1px solid #B1B3B2; 
}
h4 {
	padding: 0px;
	margin: 0px;
	font-size: 1.1em;
}
.h1wrap {
	background-image: url('/img/h1img.jpg');
	background-repeat: repeat-x;
	margin-left:4px;
}
.h2wrap {
	background-image: url('/img/h2img.jpg');
	background-repeat: repeat-x;
}
.clear {
	clear: both;
}
#header {
	height: 152px;
}
#subhead1 {
	position: relative;
	top: 28px;
	float: left;
	text-align: center;
	width: 24%;
}
#subhead2 {
	position: relative;
	top: 35px;
	float: left;
	width: 55%;
	color: #1E3E6F;
}
#subhead3 {
	float: left;
	width: 140px;
	text-align: center;
}
#subhead3 img {
	height: 151px;
	padding: 0px;
	margin: 0px;
}
#pop {
	background-color: #003366;
	height: 20px;
}
#pophome {
	border-bottom: 5px solid #003366;
	width: 976px;
	margin: auto;
	z-index:2;
	padding: 0 12px;
}
#footer {
	padding: 8px 0 8px 0;
	text-align: center;
	color: #fff;
	background-color: #00355E;
	width: 100%;
	margin: 11px 0 22px 0;
	line-height: 1.5em;
}
#footer a {
	color: #fe9;
}

#quotebox {
	border: 1px solid #EAE040;
	background-color: #FFFAE6;
	padding: 4px 10px;
	font-size: 0.9em;
}
.leftquote {
	width: 24px;
	height: 22px;
	position: relative;
	top: 22px;
	background-image: url('/img/left_quote.gif');
	background-repeat: no-repeat;
}
.centerquote {
	width: 70%;
	margin: auto;
	text-align: left;
}
.rightquote {
	width: 24px;
	height: 22px;
	float: right;
	position: relative;
	top: -22px;
	background-image: url('/img/right_quote.gif');
	background-repeat: no-repeat;
}
#main {
	border-bottom: 1px solid #D8E2E3;
	padding: 0px 25px 20px 25px;
	background-color: #FFF;
}
#leftside {
	width: 68%;
	padding: 20px;
	float: left;
	text-align: justify;
}
#rightside {
	width: 23%;
	padding: 10px 8px 0px 8px;
	float: left;
}
.center {text-align: center;}
#crumb {
	padding: 5px 0px 0px 10px;
}
.example {
	margin: 15px 0px 15px 0px;
	padding: 5px;
}
.example img {
	float: right;
	padding: 0px 0px 0px 2px;
	border: 0px;
}
.etitle {
	color: #065C99;
	font-weight: bold;
	font-size: 1.2em;
	margin: 0px 0px 3px 0px;
	padding: 2px 2px 2px 5px;
	border: 1px solid #C4C4C4;
}
#login {
	margin: 0px 0px 20px 0px;
	font-weight: bold;
	text-align: center;
	border: 1px solid #C4C4C4;
}
#login div {
	margin: 4px 0px 4px 0px;
}
.red {
	color: #C61800;
}
#contactinfo {
	margin: 0px 0px 10px 0px;
	border: 1px solid #C4C4C4;
}
#contactinfo address {
	padding: 0px;
	font-style: normal;
}
#contactinfo a {
	text-decoration: underline;
}
#contactinfo div {
	width: 80%;
	margin: auto;
	padding: 10px 0px 10px 0px;
}


/* ### CONTACT STYLE ### */
#frmmessage {
	color: #FF6600;
	font-weight: bold;
	text-align: center;
}
.formwrap {
	clear: both;
	margin: 5px 0px 5px 0px;
	padding: 5px 0px 5px 0px;
}	
.frmleft {
	width: 120px;
	float: left;
	font-weight: bold;
}
.frmright {
	width: 450px;;
	float: left;
}

/* ### HOME STYLE ### */
#centerwrap {
	width: 1000px;
	margin: auto;
}
#hometopleft {
	padding: 30px 0px 0px 0px;
	width: 24%;
	float: left;
	text-align: center;
}
#hometopright {
	padding: 0px 0px 10px 0px;
	width: 74%;
	text-align: right;
	color: #1e3e6f;
	float: left;
	font-size: 0.8em;
}
#hometopright h1 {
	background: transparent ;
	color: #003366;
	font-weight: 600;
	font-size: 2.2em;
	margin: 8px 0;
}
#homemainimg {
	width: 980px;
	margin-left: auto;
	margin-right: auto;
	height: 224px;
	background: #11558C url('/img/home_jump.jpg')  no-repeat top left;
	color: white; 
	z-index:0;
}
#homemainimg .slogan_right {
	float: right;
	width: 490px;
	padding: 20px 18px;
	margin: 0;
	font-size: 1.4em;

	font-weight: 500;
	line-height: 20px;
}
#homemainimg .slogan_left {
	float: left;
	width: 420px;
	padding: 40px 0 0 30px;
	margin: 0;
}
#homemainimg .slogan_left_home {
	float: left;
	width: 420px;
	padding: 0;
	margin: 0;
	z-index:1;
}
#homemainimg .slogan_left h3 {
	color: white;
	font-size: 4.0em;
	font-style: italic;
	margin: 0;
	padding: 0;
	line-height: 45px;
	border: 0;
}
#sub_title {
	width: 980px;
	margin-left: auto;
	margin-right: auto;
	overflow: auto;
	background: #11558C url('/img/sub_top.jpg')  no-repeat top left;
	color: white; 
}

#sub_title .slogan_right {
	float: right;
	width: 490px;
	padding: 10px 15px;
	margin: 0;
	font-size: 0.9em;
}
#sub_title .slogan_left {
	float: left;
	width: 440px;
	padding: 25px 0 0 0;
	margin: 0;
	text-align: right;
	min-height: 130px;
	_height: 130px;
	position: relative;
	font-size: 1.8em;
	font-family:'Copse', Georgia, times, serif;
	line-height: 45px;
	font-weight: bold;
}
#sub_title .slogan_left #slcont {
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;	
	background-color:#999;
    filter:alpha(opacity=50);
	opacity: 0.5;
  -moz-opacity:0.5;
	padding: 7px 12px;
	color: #cc9;
	position: absolute;
	right: 4px;
	top: 21px;
}
#sub_title .slogan_left #sltxt{
	padding: 7px 12px;
	color: #ffa;
	text-shadow:0 3px 3px #ccc, 3px 2px 0 rgba(0, 0, 0, 0.15);
	position: absolute;
	right: 1px;
	top: 22px;

}


#homemain {
	width: 980px;
	margin: auto;
	padding-top: 20px;
	color: #000000;
	background: #fff url('/img/bg_new3.jpg') repeat-x bottom left;
	
	}
#homemainleft {
	width: 60%;
	padding: 10px 25px;
	float: left;
	border-right: 1px solid #D8E2E3;
	font-size: 16px;
	font-weight: normal;
	text-align: justify;
}
#homemainright {
	width: 30%;
	padding: 0px 10px 0px 5px;
	float: right;
}
#homemain h2 {
	font-size: 18px;
	color: #003366;
	margin: 0px;
}
#homemain h3 {
	font-size: 14px;
	color: #003366;
	padding: 0px;
	margin: 5px 0 0 0;
	
}
#hometop {
	text-align: justify;
	border-bottom: 1px solid #D8E2E3;
	border-top: 1px solid #D8E2E3;
	padding: 10px;
}
#homebottom {
	text-align: justify;
	padding: 10px;
}
.center {
	text-align: center;
}
#content_border {
	width: 1026px;
	margin: 0 auto;
	padding: 0;
	background: url('/img/bg_new2.jpg') repeat-x top left;
}
#content {
	width: 1014px;
	margin: 0 6px;
	padding: 0;
	background: #E2E2D3;
}
/* #### BLOG STYLE #### */
#content2 {
	width: 75%;
	padding: 15px 20px 15px 0px;
	float: left;
	border-right: 2px solid #eee; 
}
#content2 .pagetitle {
	display: block;
	margin: 0px 0px 10px 0px;
}
#main2 {
	padding: 0px 25px 20px 25px;

}
.post h2 {
	display: block;
}
.post small {
	font-style: italic;
}

.post h2 a, #content2 h3 a  {
	display: block;
	font-size: 1.2em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;	
	background-color:#11558C;
	color:#eee;
	padding: 7px 12px;
	text-decoration: none;
}
.post h2 a:hover,  #content2 h3 a:hover  {
	background-color:#269;
}
#content2 h3 a {
	font-size: 1em;

}
.authdate{
	float:right;
	padding: 9px;
	margin: 0 18px 4px 18px;
	background-color:#eee;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;	
	font-weight: bold;
}
.pagetitle {
	margin: 0px;
} 
#sidebar2 {
	width: 20%;
	padding: 15px 0px 15px 0px;
	float: left;
	line-height: 1.5em;
}
#sidebar2 ul {
	list-style: none;
	padding: 0px 0px 0px 10px;
	margin: 0px;
}
#sidebar2 ul li {
	padding: 2px 0px 0px 0px;
}
.postmetadata{
	padding: 2px 10px 25px 10px;
	font-size: 0.8em;
	border-bottom: 1px solid #B1B3B2; 
}
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
}

.logo {
	width: 150px;
}
#blogcalender {
	width: 150px;
	margin: auto;
}

/******* new items ************/
.zoomimg{
	position: relative;
	padding: 8px;
	display:block;
	float: left;
}
#floatdrew{
	position:absolute;
	left:595px;
	top:192px;
}
.youtubehome{
	width:600px;
	height:380px;
}
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/*  1024 res screen layout */
@media screen and (max-width: 1060px) {

	#content_border {	width: 826px; }
	#content {	width: 814px; }

	#pophome { 	width: 776px; }
	#centerwrap { 	width: 800px; }

	#homemainimg { 	width: 780px; }
	#homemainimg .slogan_right {	width: 280px;  font-size: 0.9em; }
	.youtubehome{	width:480px;	height:309px; }
	
	#sub_title { 	width: 776px; }
	#sub_title .slogan_right {	width: 280px;  font-size: 0.8em; height:200px; overflow-y:scroll; }
	#floatdrew{	left:495px;	top:232px;}
	
	#homemain {	width: 780px; }

	#pophome { 	width: 776px; }
}

/*  800 res screen layout */
@media screen and (max-width: 940px) {
	#container {	width: auto; }
	#content_border {	width: 726px; }
	#content {	width: 714px; }

	#pophome { 	width: 676px; }
	#centerwrap { 	width: 700px; }

	#homemainimg { 	width: 680px; }
	#homemainimg .slogan_left,  #homemainimg slogan_left_home{	width: 360px; }
	#homemainimg .slogan_right {	width: 180px;  font-size: 0.6em; }
	#homemainleft {	width: 90%; border:none; text-align:left;}	
	#homemainright { clear:left; float:none; width:400px; margin:0 100px;  padding:0 25px; border-top:6px solid #666; background:#ddd; }	
	.youtubehome{	width:590px;	height:359px; }
	
	#sub_title { 	width: 676px; }
	#sub_title .slogan_right {	width: 180px;  font-size: 0.7em; }
	#floatdrew{	left:375px;	top:269px;}
	 img{ max-width: 610px; }
	#homemain {	width: 680px;}
	#p7PMnav { 	width: 676px; }
	.mainli {	font-size: 1em; }
}

/* iphone landscape */
@media screen and (max-width: 480px) {
	html {		-webkit-text-size-adjust: 100%;	}
	#container {	width: auto; }
	#pophome, #content_border, #sub_title, #sub_title .slogan_left,  #p7PMnav  {	width: 100%; padding: 4px 0; }
	#content, #homemain, #hometopright, #centerwrap , #leftside , #rightside  {	width: 97%; padding: 0; }
	
	#homemainleft {	width: 85%; }	
	#hometopright { float:none; }
	#hometopright h1 {	font-size: 1.8em; }
	.mainli {	font-size: 0.8em; }
	#homemainright, #rightside{ width:auto;  margin:5px;  padding:0 8px; border-top:6px solid #666; background:#ddd; }
	
	#sub_title {  font-size: 14px;}
	
	img{ max-width: 90%; }

	#leftside{ padding: 10px 5px; text-align:left; }
	
	.slogan_right, #floatdrew, #homemainimg, .youtubehome{	display: none; }


}
/* iphone portrait */
@media screen and (max-width: 320px) {

}