/*
 * Additions to the original style.css. Loaded after it.
 */

/* Was an inline <style> in the original header.php. */
#header {
	background: #73a0c5 url(../images/kubrickheader.jpg) no-repeat bottom center;
	cursor: pointer;
	}

#footer {
	background: url(../images/phnomenonfooter.gif) repeat-x;
	border: none;
	}

/* The original repeated id="footercontent"; the markup now uses a class. */
.footercontent {
	float: left;
	width: 145px;
	text-align: left;
	margin: 140px 12px 20px 12px;
	overflow: hidden;
	}

.footercontent ul {
	margin: 0;
	padding: 0 0 0 1.2em;
	}

/* Sociable plugin stylesheet (sociable.css, archived 2007-07-01). */
div .sociable { margin: 16px 0 !important; }

span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
	position: absolute;
	display: block;
	top: -5em;
	background: #ffe;
	border: 1px solid #ccc;
	color: black;
	line-height: 1.25em;
}

.sociable span {
	display: block;
}
.sociable ul {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
}
.sociable li {
	background: none;
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 2px;
}
.sociable ul li:before { content: ""; }
.sociable img {
	width: 16px;
	height: 16px;
	border: 0;
}

.sociable-hovers {
	opacity: .4;
}
.sociable-hovers:hover {
	opacity: 1;
}

/* Classes current WordPress puts in content and forms. */
img {
	height: auto;
	}

#content object, #content embed, #content iframe, #content video, #content table {
	max-width: 100%;
	}

img.aligncenter, .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.wp-caption {
	max-width: 100%;
	text-align: center;
	}

.wp-caption img {
	max-width: 100%;
	}

.wp-caption-text {
	font-size: 0.9em;
	color: #777;
	margin: 3px 0 10px;
	}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	}

#commentform input[type="checkbox"] {
	width: auto;
	}

#commentform .comment-form-cookies-consent label {
	font-size: 0.9em;
	}

.commentlist .children {
	padding-left: 15px;
	}

/* Phones: the original is a fixed 760px. Below that, stack everything in one column. */
@media (max-width: 779px) {
	#page {
		width: auto;
		}

	#header, #headerimg {
		height: auto;
		aspect-ratio: 760 / 206;
		}

	#header {
		background-size: 100% auto;
		}

	.narrowcolumn, .widecolumn {
		float: none;
		width: auto;
		margin: 0;
		padding: 0 16px 20px;
		}

	.navigation {
		margin-bottom: 20px;
		}

	.navigation .alignleft, .navigation .alignright {
		float: none;
		text-align: left;
		margin-bottom: 6px;
		}

	.navigation .alignright {
		text-align: right;
		}

	#sidebar {
		margin: 0;
		width: auto;
		padding: 20px 16px 10px;
		}

	#footer {
		height: auto;
		overflow: hidden;
		background: none;
		border-top: 1px solid #ddd;
		}

	#chalyfoot {
		display: none;
		}

	.footercontent {
		float: none;
		width: auto;
		margin: 20px 16px;
		}

	#commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"] {
		width: 60%;
		}
	}
