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

#archive {
	width: 805px;
	padding: 30px 0px;
	position: relative;
	font-family: Arial;
	margin: 0 auto;
}

#archive a {
	border: none;
}

#filterbar {
	height: 34px;
	background: #e8e8e8;
	box-shadow: 0 1px 1px rgba(0,0,0,.25);
	margin: 10px -8px;
	padding: 6px 15px;
	color:  #333;
	font-weight:  bold;
	font-size: 16px
}

#ddyear, #ddmonth {
	padding: 0px 25px 0 15px;
	height: 36px;
	line-height: 36px;
	background: #ccc;
	font-size:  18px;
	text-decoration: none;
	border-radius: 4px;
	display: inline-block;
	margin: 0 20px 0 4px;
	color: #444;
	font-weight: bold;
	width: 120px;
	background: url(dropdown.png) no-repeat left top;
}

#ddyear:hover, #ddmonth:hover {
	background-position: left -36px;
}

#ddyear.dropdown-open, #ddmonth.dropdown-open {
	background-position: left -72px;
}


.dropdown {
	position: absolute;
	z-index: 9999999;
	display: none;
}

.dropdown .dropdown-menu,
.dropdown .dropdown-panel {
	min-width: 160px;
	max-width: 360px;
	list-style: none;
	background: #FFF;
	border: solid 1px #DDD;
	border: solid 1px rgba(0, 0, 0, .2);
	border-radius: 6px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
	overflow: visible;
	padding: 4px 0;
	margin: 0;
}

.dropdown .dropdown-panel {
	padding: 10px;
}

.dropdown.dropdown-tip {
	margin-top: 8px;
}

.dropdown.dropdown-tip:before {
  position: absolute;
  top: -6px;
  left: 9px;
  content: '';
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #CCC;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.dropdown.dropdown-tip.dropdown-anchor-right:before {
	left: auto;
	right: 9px;
}

.dropdown.dropdown-tip:after {
  position: absolute;
  top: -5px;
  left: 10px;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #FFF;
  display: inline-block;
}

.dropdown.dropdown-tip.dropdown-anchor-right:after {
	left: auto;
	right: 10px;
}


.dropdown.dropdown-scroll .dropdown-menu,
.dropdown.dropdown-scroll .dropdown-panel {
	max-height: 358px;
	overflow: auto;
}

.dropdown .dropdown-menu LI {
	list-style: none;
	padding: 0 0;
	margin: 0;
	line-height: 18px;
}

.dropdown .dropdown-menu LI > A,
.dropdown .dropdown-menu LABEL {
	display: block;
	color: #555;
	text-decoration: none;
	line-height: 18px;
	padding: 3px 15px;
	white-space: nowrap;
}

.dropdown .dropdown-menu LI > A:hover,
.dropdown .dropdown-menu LABEL:hover {
	background-color: #c00;
	color: #FFF;
	cursor: pointer;
}

.dropdown .dropdown-menu .dropdown-divider {
	font-size: 1px;
	border-top: solid 1px #E5E5E5;
	padding: 0;
	margin: 5px 0;
}

/* Icon Examples - icons courtesy of http://p.yusukekamiyamane.com/ */
.dropdown.has-icons LI > A {
	padding-left: 30px;
	background-position: 8px center;
	background-repeat: no-repeat;
}

.dropdown .undo A { background-image: url(icons/arrow-curve-180-left.png); }
.dropdown .redo A { background-image: url(icons/arrow-curve.png); }
.dropdown .cut A { background-image: url(icons/scissors.png); }
.dropdown .copy A { background-image: url(icons/document-copy.png); }
.dropdown .paste A { background-image: url(icons/clipboard.png); }
.dropdown .delete A { background-image: url(icons/cross-script.png); }

.dropdown .dropdown-menu a {
	font-size: 14px;
	font-weight: bold;
}

.dropdown .dropdown-menu a.active {
	color: #c00;
	font-weight: bold;
}

#timeline {
	margin: 20px 10px;
}

#layoutswitch {
	float: right;
}

#layoutswitch span {
	cursor: pointer;
	background: url(layoutswitch.png) no-repeat left top;
	height: 36px;
	width: 42px;
	display: block;
	float:  left;
	text-indent: -9999px;
}

#layoutswitch span#togrid:hover {
	background-position: left -36px;
}

#layoutswitch span#togrid.active {
	background-position: left -72px;
}

#layoutswitch span#to2col {
	background-position: right top;
}

#layoutswitch span#to2col:hover {
	background-position: right -36px;
}

#layoutswitch span#to2col.active {
	background-position: right -72px;
}

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

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

#timeline 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;
}

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

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

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

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

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

#timeline .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;
}

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

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

#timeline .selmonth a.active:hover {

}

#timeline .selmonth a.disable {
	color: #aaa;
	background-image: url(timeline-year-dot.png);
	background-position: 50% -45px;
	cursor: default;
}

#timeline .selmonth span.reset {
	cursor: pointer;
	position:  absolute;
	top: 5px;
	right: 2px;
	height: 12px;
	width: 16px;
	background: url(reset-icon.png) no-repeat top right;
	display:  none;
}

#results h2 {
	font-size: 20px;
	text-align: center;
	margin: 30px 0 0;
}

.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: 12px;
	color: #777;
	display: block;
	margin: 0;
}

.issue-list h3 {
	font-size: 14px;
	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 h3 {
	font-size: 1em;
}

#loading {
	position: absolute;
	text-align: center;
	left: 50%;
	top: 210px;
	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;
}

