body{font:13px/1.5 'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif}

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

#archive {
	width: 800px;
	padding: 30px 0px;
	position: relative;
}

#filtertool {
	margin: 0 10px;
}

#layoutswitch span {
	cursor: pointer;
}

#selyear {
	margin: 0 auto;
	text-align: center;
	position: relative;
	height: 51px;
}

#selyear .rod {
	height: 6px;
	width: 83%;
	border-radius: 4px;
	background: #eee;
	position: absolute;
	bottom: 21px;
	margin: 0 8%;
}

#filtertool a {
	color: #999;
	text-decoration:  none;
	font-weight:  bold;
	z-index: 9999;
	position: relative;
	transition: color .25s ease-in-out;
	-moz-transition: color .25s ease-in-out;
	-webkit-transition: color .25s ease-in-out;
	border: none;
}

#selyear a {
	font-size:  16px;
	padding: 4px 4px 30px;
	margin: 0 3px 0;
	background: url(timeline-year-dot.png) no-repeat 50% 22px;
}

#selyear a:hover {
	background-position: 50% -23px;
	color: #666;
}

#selyear a.active {
	background-position: 50% -68px;
	color: #008;
}

#selmonth {
	margin: 0 auto;
	text-align: center;
	position: relative;
	height: 33px;
	padding: 9px 0;
	background: #e3e3e3;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,.3);
	display:  none;
}

#selmonth .rod {
	height: 6px;
	width: 89%;
	margin: 0 5%;
	border-radius: 4px;
	background: #bcbcbc;
	position: relative;
	top: -33px;
}

#selmonth a {
	color: #666;
	text-decoration:  none;
	font-weight:  bold;
	font-size:  12px;
	padding: 18px 0 4px;
	margin: 0;
	background: url(timeline-month-dot.png) no-repeat 50% 0px;
	z-index: 9999;
	position: relative;
	top: 2px;
	width: 55px;
	display: inline-block;
}

#selmonth a:hover {
	background-position: 50% -45px;
}

#selmonth a.active {
	background-position: 50% -90px;
	color: #008;
}

#selmonth a.active:hover {

}

#selmonth span.reset {
	cursor: pointer;
	font-size:  11px;
	position:  absolute;
	top: 0px;
	right: 6px;
	color: #666;
	font-family: tahoma;
}

.issue-list {
	margin: 0 0 0 -37px;
	position: relative;
}

.issue-list .each {
	width: 150px;
	height: 265px;
	float: left;
	margin: 20px 0 0 37px;
	padding: 10px;
	border: 1px solid #fff;
	z-index: 1;
	-webkit-transition: all .2s ease-in-out;

}

.issue-list img {
	width: 152px;
	border: 1px solid #ccc;
	margin-bottom: 2px;
}

.issue-list span.issno {
	font-size: .8em;
	color: #777;
	display: block;
	margin: 0;
}

.issue-list h2 {
	font-size: .9em;
	color: #555;
	margin: 0;
}

.issue-list a {
	text-decoration:  none;
}

.issue-list.grid .each:hover .bg {
	width: 204px;
	padding: 15px;
	background: #f3f3f3;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 12px rgba(0,0,0,.3);
	border-radius: 4px;
	cursor: pointer;
	z-index: 999;
	top: -35px;
	left: -41px;
	position: relative;
}

.issue-list.grid .each:hover img {
	width: 202px;
	height: 281px;
	margin-bottom: 2px;
}

.issue-list.twocol .each {
	width: 359px;
	height: 150px;
	padding-bottom: 0;
	margin-bottom: 0;
}

.issue-list.twocol img {
	width: 108px;
	height: 150px;
	margin-right: 12px;
	float:  left;
}

.issue-list.twocol span.issno {
	font-size: .8em;
}

.issue-list.twocol h2 {
	font-size: 1em;
}

#loading {
	position: absolute;
	text-align: center;
	left: 50%;
	top: 80px;
	width: 200px;
	height: 40px;
	font-weight: bold;
	font-size: 16px;
	margin: 140px 0 0 -100px;
	background: #eee url(http://www.pattayamail.com/templates/pm/img/loading.gif) center 25px no-repeat;
	padding-top: 45px;
	border-radius: 10px;
	z-index: 9999;
}

