@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: bold;
    src: local('PT Sans Bold'), local('PTSans-Bold'), url('/media/ptsans-bold.woff') format('woff');
}
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: normal;
    src: local('PT Sans'), local('PTSans-Regular'), url('/media/ptsans.woff') format('woff');
}
body {
    background: url(/media/images/background.jpg) 0 0 no-repeat #fff;
    font-family: 'PT sans', serif;
    font-size: 18px;
    color: #222;
}

h1 {
    font-weight: normal;
    font-size: 36px;
    color: #000;
    text-shadow: -1px -1px 1px #666;
}
h4 {
    display: inline;
    font-size: 14px;
    color: #666;
}
article {
    width: 590px;
    margin: 20px auto 0;
    border-radius: 3px;
}

section {
    border-top: 1px solid #FFF9EF;
    border-bottom: 1px solid #8A8785;
    padding: 30px 40px;
    clear: both;
}
    section:first-child {
	border-top: 0;
    }
    section:last-child {
	border-bottom: 0;
    }
section p:first-child {
    margin-bottom: 22px;
}
p {
    margin: 7px 0;
}
    p a {
	color: #323D57;
	text-decoration: none;
    }
	p a:hover {
	    text-decoration: underline;
	}
#links {
    overflow: auto;
}
    #links li {
	margin: 5px 0;
	width: 170px;
	float: left;
	list-style: none;
    }
	    #links a {
		text-decoration: none;
		font-size: 16px;
		color: #000;
		width: 130px;
		display: inline-block;
		padding: 5px 20px 5px 5px;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		-o-border-radius: 5px;
	    }
		    #links a img {
			vertical-align: middle;
			-webkit-transition: -webkit-transform 0.4s ease-out;
			-moz-transition: transform 0.4s ease-out;
			-o-transition: -o-transform 0.4s ease-out;
			transition: transform 0.4s ease-out;
			margin-right: 10px;
			opacity: 0.8;
			width: 32px;
			height: 32px;
		    }
			#links a:hover img {
			    -webkit-transform: rotateZ(360deg);
			    -moz-transform: rotate(360deg);
			    -o-transform: rotateZ(360deg);
			    transform: rotateZ(360deg);
			}

#error {
    width: 300px;
    -moz-transform: rotate(8deg);
    -webkit-transform: rotate(8deg);
    -o-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    transform: rotate(8deg);
    margin-top: 200px;
    text-align: center;
}
    #error h1 {
	font-size: 48px;
    }
    #error p {
	font-size: 24px;
    }
#error * {
    -webkit-animation-name: error-pulsation;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes error-pulsation {
    to {
	text-shadow: 0;
    }
    50% {
        text-shadow: 0 0 9px #333;
    }
    to {
        text-shadow: 0 0 100px #758CB9;
    }
}

#page li {
    list-style: none inside;
    margin-left: 24px;
    margin-bottom: 14px;
}
    #page li:before {
	content: "\2043";
	margin-left: -1ex;
	margin-right: 1ex;
    }

