﻿* {
	margin: 0;
	padding: 0;
	border: 0;
}

html {
	background-color: #197fd3; /* Old browsers */
	background: -moz-linear-gradient(top, #5f9fcb 0%, #7bc0e9 43%, #197fd3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5f9fcb), color-stop(43%,#7bc0e9), color-stop(100%,#197fd3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #5f9fcb 0%,#7bc0e9 43%,#197fd3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #5f9fcb 0%,#7bc0e9 43%,#197fd3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #5f9fcb 0%,#7bc0e9 43%,#197fd3 100%); /* IE10+ */
	background: linear-gradient(top, #5f9fcb 0%,#7bc0e9 43%,#197fd3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5f9fcb', endColorstr='#197fd3',GradientType=0 ); /* IE6-9 */
}
/* Put the image on the body so that the gradient can shine through before the image loads.*/
body {
	padding: 20px;
	padding-right: 60px; /* Cover the extra 40 pixels of triangle margin */
	font-family: "Open Sans", Verdana, sans-serif;
	line-height: 1;
	color: white;
	background-image: url('../Images/Background.jpg');
	background-size: 100% 100%;
	background-attachment: fixed;
}

body > img {
	display: none;
}

.lt-ie9 body {
	background-image: none;
}

.lt-ie9 body > img { /* IE8 doesn't support background-size, so I stretch an <img> */
	display: block;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	pointer-events: none;
}


p {
	margin-bottom: .8em;
	line-height: 1.4;
}

article img {
	display: block;
	margin: 0 auto .8em;
}

p a, p a:visited {
	color: white;
}

p a:hover {
	color: #ff3;
}

ul {
	list-style-type: none;
	max-width: 600px;
}

ul li {
	margin-bottom: 20px;
}

ul li > :first-child {
	float: left;
	width: 48px;
	height: 48px;
	margin: 8px 12px 8px;
	position: relative;
	z-index: 1;
}

ul li > span:first-child {
	font-size: 36px;
	line-height: 48px;
	text-align: center;
}


.icon + .icon {
	display: none;
}

ul li h2 {
	height: 48px;
	padding: 8px;
	background-color: #333;
	background-color: rgba(0,0,0, 0.6);
	line-height: 48px;
	font-size: 34px;
	font-weight: normal;
	position: relative;
}

/* Create a triangle that sticks out to the right of the header bar */
ul li h2::after {
	font-size: 0;
	content: ' ';
	position: absolute;
	top: 0;
	right: -40px;
	border-left: 40px solid #333;
	border-left: 40px solid rgba(0,0,0, 0.6);
	border-top: 40px transparent solid;
	height: 24px; /* 62 pixels of height minus 40 pixels of triangle */
}

/* Create a white bar that stretches almost to the edges */
ul li h2::before {
	border-bottom: solid white 1px;
	width: 100%;
	content: ' ';
	font-size: 0;
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 8px;
	padding-right: 24px; /* 40 pxiels of extra triangle minus 8 pixels of padding on each side */
}

ul li article {
	background-color: #333;
	background-color: rgba(0,0,0, 0.6);
	padding: 8px;
	margin-right: -40px; /* Cover the extra margin below the triangle */
}

ul li article + a {
	margin-right: -40px; /* Cover the extra margin below the triangle */
	padding: 11px;
	font-size: 26px;
	text-align: center;
	text-decoration: none;
	display: block;
	color: white !important;
	background-color: #060;
	background-color: rgba(0, 128, 0, 0.5);
}

ul li article + a::after {
	content: ' ➔';
}

ul li article + a:hover {
	background-color: green;
	text-decoration: underline;
}

/* If we can't do :after, give up on the triangle and the margin below it */
.lt-ie9 ul li article, .lt-ie9 ul li article + a {
	margin-right: 0;
}

.lt-ie9 body {
	padding-right: 20px;
}

@media only screen and (max-width: 550px) {
	ul li h2 {
		font-size: 25px;
	}
}

@media only screen and (max-width: 480px) {
	ul li h2 {
		font-size: 22px;
	}
}

@media only screen and (max-width: 420px) {
	ul li h2 {
		font-size: 18px;
	}
}
