/*
	 Y&Y 1.0
	 Michael Buchleitner
	 inspired by:
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

* {
	margin: 0;
	padding: 0;
}

html {
	overflow-y: scroll;
}

body {
	font: 12px/1.4 "Trebuchet MS", Helvetica, sans-serif;
	background: #ccc;
	color: #333;
}

.group:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.group {
	display: inline-block;
	clear: both;
}

.inactive {
   pointer-events: none;
   cursor: default;
   color: #aaaaaa;
}

div.center {
	margin: 0 auto;
	text-align: center;
}

div.left {
	float:left;
}

div.fixed {
    position: fixed;
    bottom: 5px;
    right: 10px;
    width: 300px;
	text-align:right;
	color:#999999;
}

/* start commented backslash hack \*/
* html .group {
	height: 1%;
}

.group {
	display: block;
}
/* close commented backslash hack */

article, aside, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

a:focus {
	outline: 0;
}

#page-wrap { 
    width: 800px;
	margin: 40px auto 5px;
	background: #00FF33; 
    padding: 8px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
	background: -moz-linear-gradient(top,  #fff,  #eee);
	border-radius: 16px;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
}

#main-content {
	padding: 14px;
}

#nextdate {
    background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #bbb, #999) repeat scroll 0 0;
    border-radius: 16px;
    margin: 0px auto;
    padding: 8px;
}

h1 {
	font-family: bold 26px "Trebuchet MS", Helvetica, Sans-Serif;
	letter-spacing: -1px;
	padding: 14px;
	color: #333;
	text-shadow: 1px 1px 1px white;
}

h2 {
	font-family: bold 20px "Trebuchet MS", Helvetica, Sans-Serif;
	letter-spacing: -1px;
	color: #333;
}

h3 {
	font-family: bold 16px "Trebuchet MS", Helvetica, Sans-Serif;
	letter-spacing: -1px;
	color: #333;
}

h4 {
	font-family: bold 14px "Trebuchet MS", Helvetica, Sans-Serif;
	letter-spacing: -1px;
	color: #333;
}

.date {
	font-family: 12px "Trebuchet MS", Helvetica, Sans-Serif;
	letter-spacing: -1px;
	color: #333;
}

p, del {
	font-family: 12px "Trebuchet MS", Helvetica, Sans-Serif;
	color: #333;
	margin: 0 0 15px 0;
}
 
nav ul { 
    list-style: none;
	background: #063;
	padding: 5px 20px;
	width: 778px;
	position: relative; 
    left: -9px;
}

nav ul li {
	display: inline;
}

nav ul li a {
	display: block;
	float: left;
	border-top: 1px solid #0F3;
	background: #0C3;
	background: -webkit-gradient(linear, left top, left bottom, from(#0C3), to(#093));
	background: -moz-linear-gradient(top,  #0C3,  #093);
	height: 17px;
	padding: 0 10px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: rgba(0,0,0,1) 0 1px 3px;
	-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
	text-shadow: rgba(0,0,0,.4) 0 1px 0;
	-webkit-text-stroke: 1px transparent;
	font: bold 11px/16px "Trebuchet MS", "Lucida Grande", "Verdana", sans-serif;
	color: rgba(255,255,255,.85);
	text-decoration: none; 
	margin: 0 5px 0 0;
}

nav ul li a:hover {
	border-top: 1px solid #0F3;
	background: #093;
	background: -webkit-gradient(linear, left top, left bottom, from(#0F3), to(#0C3));
	background: -moz-linear-gradient(top,  #0F3,  #0C3);
	color: rgba(255,255,255,.85); 
}	

nav ul li a:active, nav ul li a.current {
	border-top-color: #0F3;
	background: #0C3;
	position: relative;
	top: 1px; 
}

<!-- start pagination -->
ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {
	display: inline;
}

ul.pagination li a {
    color: black;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color .3s;
	margin: 0 3px;
}

ul.pagination li a.active {
    background-color: #3d789f;
    color: white;
    border-radius: 5px;
}

ul.pagination li a:hover:not(.active) {
	background-color: #aaa;
}
<!-- end pagination -->

footer {
	color: #999;
	margin: 0 auto;
	width: 800px;
}