/* This is just here for formatting purposes.  This has nothing to do with the layout. */
@import url(../CSS/defaultstyles.css);

body {
/* Always use margin:  0;  padding:  0; as margin controls for your page itself.  Setting both to 0 ensures that your page will spread to the outer edges of the browser window. */
	margin:  0px;
	padding:  20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background: #000000;
	text-align: center;
}

h3 {
	margin: 0;
}

img {
	border: none;
}

#container {
	margin:0 auto;
	width: 940px;
	border: 1px solid #444444;
	background: #222;
}

#bodywrapper {
/* replace margin-top value with the height of your header. */
	margin-top:  69px;
	margin-left:  0;
	margin-right:  0;
	margin-bottom:  0;
	padding:  0;
	width:  100%;
/*  Background of the left side menu.  Replace the URL and the background color (#FFFFFF) with your choices for each.)  */
	background:  #222222;
	color:  #CCCCCC;
	text-align: center;	

}

#contentarea {
 /* replace this value with the width of your left column */
	margin-right:  326px;
	margin-left:  0;
	margin-bottom:  0;
	margin-top:  0;
	padding:  0;
	float:  none;
	_height:  434px;  /* IE hack due to a bug handling float:  right. */
	.height:  434px;
	text-align: center;
}
#canvas {
	padding: 30px 10px 10px 10px;
	position: relative;
}

#canvas a.imglink {
	position: relative;
	text-decoration: none;
}

#canvas a.imglink span {
	position: absolute;
	bottom: 15px;
	left: 50%;
	margin-left: -100px;
	padding: 4px;
	width: 200px;
	opacity: 0;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	background: #000;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#lastupdate {
	position: absolute;
	left: 6px;
	top: 5px;
	font-size: 11px;
	color: #777;
	font-style: italic;
}

.images {
	border: 1px solid #444444;
}

.sharelinks {
	font-size: 11px;
	color: #777777;	
	margin: 3px 0;
	float: left;
}

a.sharelink:link{ font-size: 11px; color: #777777; text-decoration: none; background: none; }
a.sharelink:hover { font-size: 11px; color: #777777; border-bottom: dotted 1px #777777; text-decoration: none; background: none; }
a.sharelink:active{ font-size: 11px; color: #777777; text-decoration: none; background: none; }
a.sharelink:visited{ font-size: 11px; color: #777777; text-decoration: none; background: none; }

#rightcolumn {
	float:  right;
	width:  326px;
	padding-top: 30px;
}

#rightcolumncontent {
	position:  absolute;
	/* replace top value with the height of your header. */
	top:  69px;
	right:  0;
	/*  Background of the right side menu.  Replace the URL and the background color (#3F9BCF) with your choices for each.)  */
	color:  #CCCCCC;
	margin:  0;
	padding:  0;
	/* Replace width with the width of your right column. */
	width:  326px;
	height: 434px;
}
#captionarea {
	background: url(../img/vert_rule.png) repeat-y #222222;
	padding: 0px 15px 0px 11px;
	text-align: left;
}

#caption .ad {
	background: url(../img/vert_rule.png) repeat-x;	
	margin-top: 15px;
	padding: 7px 0px 0px 1px;		
}

#navwrap {
	padding: 4px 0;
	float: left;
	width: 100%
}

#navbuttonarea {
	padding-left: 0px;
	float: right;
}

#header {
	position:  absolute;
	top:  21px;


	text-align: left;
/* The header can be set to either a fixed width or a liquid width.  I prefer to make the header a liquid width for aesthetic purposes, but changing it to a fixed width will not affect the layout.  This is an optional property. */
	width:  940px;
/* replace this value with the height of your header. */
	height:  69px;
/* background for the header.  Replace the URL and the background color (#F2F2F2) with your choices for each.  */
	background:  #000000;
	color:  #FFFFFF;
/* put this in to ensure that your header doesn't overlap the body of your website. */
	overflow:  hidden;
	border-bottom: 1px solid #444444;	
}
#headercontent {
	padding-left: 15px;
	padding-top: 21px;
}

#logo {
	float: left;
}

h1 {
	height: 31px;
	width: 400px;
	background-repeat: no-repeat;
	margin: 0 0 0 9px;
	float: left;
	font-weight: normal;
	letter-spacing: -1px;
	color: #7c9dca;
}

#backhome {
	position:  absolute;
	top:  46px;
	right: 15px;
}

#backhome a {
	color: #99C9FF;	
	text-decoration: none;
}

#fbrecommend {
	position:  absolute;
	top:  4px;
	right: 124px;
}

#storylinkarea {
	margin: 30px 0;
	text-align: center;
}

#footer {
/* This is needed to ensure that the footer appears below your content and menus. */
	clear:  both;
	margin:  0;
	padding:  0;
	width:  100%;
/* Replace with the height of your footer.  Optional.  */
	height:  ;
/* Replace with the background image and colour of your footer.  */
	background:  #000000;
	color:  #FFFFFF;
	border-top: 1px solid #444444;
}
#footercontent {
	padding: 20px 30px;
	color: #CCCCCC;
	text-align: left;
}

.pagenav {
	border: 3px double #000000;	
}

.thumbnails {
	border: 3px double #333333;	
}

.pagetitle { padding-left: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 25px; color: #6699cc;}
h3 { font-size: 16px;}


#footercontent a {color: #CCCCCC; border:none;}
#footercontent a img {
	opacity: .55;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=55);
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=55)";
	margin: 6px;
}

#footercontent a.current img {
	opacity: 1 !important;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100) !important;
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
	border-color: #aaa !important;
}

#footerlink {
	font-size: 11px;
	color: #666666;
}
#footerlink a{ font-size: 11px; color: #666666; border-bottom: dotted 1px #666666; text-decoration: none;}

a.btn {
	display: inline-block;
	font-size: 1.1em;
	font-weight: bold;
	color: #cc0000;
	background: #eee url(http://www.pattayamail.com/templates/pm/img/morebtnbg.png) repeat-x left top;
	line-height: 1.6em;
	padding: 0 5px;
	border: 1px solid #bbb;
	text-align: center;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 0px 1px 1px #aaa;
	-webkit-box-shadow: 0px 1px 1px #aaa;
	box-shadow: 0px 1px 1px #aaa;
	text-shadow: 0px 1px #bbb;
	text-decoration: none;
}

a.btn:hover {
	background-position: left -32px;
	-moz-box-shadow: 0px 1px 1px #888;
	-webkit-box-shadow: 0px 1px 1px #888;
	box-shadow: 0px 1px 1px #888;
}

a.btn:active {
	background-position: left -64px;
	-moz-box-shadow: 0px -1px 1px #888;
	-webkit-box-shadow: 0px -1px 1px #888;
	box-shadow: 0px -1px 1px #888;
}

a.btn.storylink {
	font-size: 1.1em;
}

