@import url('framework-dev.css');
/*
	Angelina font is used for the photo H1.  I found it on fontsquirrel.com.
	The .eot file is for IE9 as that's all it supports.  IE8 doesn't support CSS3 fonts at all.
	I converted the file using http://www.font2web.com/.
	The weirdness in the src comes form a Smashing Magazine article:
	http://www.smashingmagazine.com/2011/03/02/the-font-face-rule-revisited-and-useful-tricks/
	and
	http://www.fontspring.com/blog/further-hardening-of-the-bulletproof-syntax
*/
@font-face {
	font-family: Angelina;
	src: url('/fonts/angelina.eot'); /* IE9 compatibility modes */
	src: url('/fonts/angelina.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
		 url('/fonts/angelina.woff') format('woff'), /* Modern browsers */
		 url('/fonts/angelina.ttf') format('truetype'); /* Safari, Android, iOS */
		 /* I omit the svg option as the file is quite big. */
}
body {
	font-family: Helvetica, Arial, Sans-serif;
	font-size: 12px;
	background-color: #F0F0F0;
	color: #333333;
}
#copyright {
	font-style: italic;
	text-align: center;
	color: #999999;
}
a img {
	border: none;
}
.clr {
	clear: both;
	height: 0px;
	line-height: 0px;
}
/* See also .photo h1 */
h1 {
	color: #5566CC;
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	letter-spacing: 0.05em;
}
p {
	line-height: 1.3em;
	letter-spacing: 0.01em; /* Yeah I'm being a bit fussy. */
}
p.location,
p.gear {
	margin: 2px 0px 0px 0px;
}
p.gear {
	display: none; /* Revealed by javascript when we add #peso to the url */
}
p.comments {
	margin: 20px 0px 15px 0px;
}
hr {
	width: 80%;
	height: 1px;
	background-color: #CCCCCC;
	border: none;
	margin: 15px auto 15px auto;
}
#container {
	margin: 15px auto 15px auto;
	border: 1px solid #E0E0E0;
	border-radius: 10px;
	box-shadow: 0px 0px 20px #CCCCCC;
	background-color: #F0F0F0;
	padding: 20px;
}
.photo {
	position: relative;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	padding: 10px 10px 6px 10px;
	background-color: #FFFFFF;
	box-shadow: 0px 0px 10px #999999;
}
.photo #image {
	display: block;
}
.photo h1,
h1#photo-title {
	font-family: Angelina, Helvetica, Arial, Sans-serif;
	font-size: 20px;
	font-style: italic;
	/* Note Safari ignores < 0.05em  But FF looks "just right" at 0.03em.  1px is a compromise. */
	letter-spacing: 1px;
	margin-top: 10px;
	margin-bottom: 0px;
	text-align: center;
}
h1#photo-title {
	margin-top: -10px;
}
a#info {
	position: absolute;
	right: 5px;
	bottom: 5px;
	width: 12px;
	height: 12px;
	cursor: pointer;
}
a.info-open {
	background-image: url(/img/open-icon.png);
}
a.info-close {
	background-image: url(/img/close-icon.png);
}
a.info-open:hover {
	background-image: url(/img/open-icon-active.png);
}
a.info-close:hover {
	background-image: url(/img/close-icon-active.png);
}
.label {
	color: #5566CC;
}
p.photo-not-found {
	text-align: center;
	font-weight: bold;
}

/* Paginator */
.paginator span {
	margin: 0px 3px 0px 3px;
}

/* Galleries list */

h1.galleries-heading {
	font-family: Angelina, Helvetica, Arial, Sans-serif;
	font-size: 26px;
	margin: 0px;
	text-align: center;
	letter-spacing: 1px;
}
.galleries { /* Much of this is copied from #container */
	margin: 0px auto 20px auto;
	border: 1px solid #E0E0E0;
	border-radius: 10px;
	box-shadow: 0px 0px 20px #CCCCCC;
	background-color: #F0F0F0;
	padding: 10px;
}
.galleries .gallery-row {
	margin: 0px auto 0px auto;
}
.galleries a.gallery,
.galleries a.gallery:visited {
	display: block;
	padding: 10px 10px 5px 10px;
	margin: 10px;
	background-color: #F7F7F7;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	height: 120px;
	box-shadow: 0px 0px 10px #CCCCCC;
	text-decoration: none;
}
.galleries a.gallery:hover {
	box-shadow: 0px 0px 15px #999999;
	background-color: #FFFFFF;
}
.galleries a.gallery:hover .title {
	color: #6677DD;
}
.galleries.thumb {
}
.galleries .thumb img{
	border-radius: 3px;
}
.galleries .title {
	font-family: Angelina, Helvetica, Arial, Sans-serif;
	font-size: 16px;
	text-align: center;
	color: #5566CC;
	font-weight: normal;
	font-style: italic;
	letter-spacing: 0.05em;
	margin-top: 5px;
}

/* Gallery page */
#gallery-intro {
	width: 400px;
	display: none;
	background-color: #F0F0F0;
	border-radius: 15px;
	padding: 10px;
	margin: 15px;
	box-shadow: 0px 0px 10px #CCCCCC;
}
/* Override fancybox css */
.fancybox-skin {
	border-radius: 10px;
}
#gallery-intro h1 {
	text-align: center;
	font-family: Angelina, Helvetica, Arial, Sans-serif;
	font-size: 24px;
	font-weight: normal;
	font-style: italic;
	letter-spacing: 0.05em;
	margin: 0px;
	border-bottom: 1px solid #DDDDDD;
}
#gallery-description {
	font-style: italic;
}
#gallery-intro a.continue {
	display: block;
	background-color: #F0F0F0;
	border-radius: 4px;
	box-shadow: 0px 0px 2px #999999;
	padding: 3px;
	width: 70px;
	float: right;
	text-align: center;
	color: #5566CC;
	text-decoration: none;
	font-style: normal;
}
#gallery-intro a.continue:hover {
	box-shadow: 0px 0px 5px #999999;
	background-color: #F7F7F7;
	color: #5566FF;
}
#avant,
#fin {
	font-style: italic;
	display: none;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 100px;
	width: 100px;
	padding: 20px;
	text-align: center;
	background-color: #000000;
	border-radius: 10px;
	border: 1px solid #666666;
	box-shadow: 0px 0px 10px #666666;
	color: #FFFFFF;
	font-size: 14px;
	margin: 0px auto 0px auto;
	opacity: 0.7;
}
#gallery-navigation {
	/*  left: 0, right:0, margin auto makes it centered. */
	left: 0px;
	right: 0px;
	margin: 0px auto 0px auto;
	width: 150px;
	height: 16px;
	position: absolute;
	border-radius: 10px;
	border: 1px solid #E0E0E0;
	background-color: #F7F7F7;
	box-shadow: 0px 0px 5px #DDDDDD;
	top: -10px;
	text-align: center;
}
a#nav-left,
a#nav-right {
	display: block;
	position: absolute;
	width: 10px;
	height: 10px;
	top: 0px;
}
a#nav-left {
	border-right: 1px solid #D7D7D7;
	border-radius: 10px 0px 0px 10px;
	text-decoration: none;
	background: url('/img/arrow-left-nav.png') no-repeat 6px center;
	left: 0px;
	padding: 3px 20px 3px 0px;
}
a#nav-right {
	border-left: 1px solid #D7D7D7;
	border-radius: 0px 10px 10px 0px;
	text-decoration: none;
	/* Note the position is from the left edge.  Theoretically you can specify an anchor point in CSS3. */
	background: url('/img/arrow-right-nav.png') no-repeat 14px center;
	right: 0px;
	padding: 3px 0px 3px 20px;
}
a#nav-left:hover {
	background-image: url('/img/arrow-left-nav-highlight.png');
	background-color: #F4F4F4;
}
a#nav-right:hover {
	background-image: url('/img/arrow-right-nav-highlight.png');
	background-color: #F4F4F4;
}
a#gallery-close {
	background: url(/img/close-gallery.png);
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
	width: 7px;
	height: 7px;
	position: absolute;
	right: 1px;
	top: 1px;
	padding: 5px;
	opacity: 0.6;
}
a#gallery-close:hover {
	background-image: url(/img/close-gallery-highlight.png);
	opacity: 0.7;
}
#nav-text {
	margin-top: 2px;
	color: #999999;
	font-style: italic;
}
#gallery-main-photo {
	width: inherit;
	height: inherit;
	background-repeat: no-repeat;
	background-position: center top;
}
#gallery-main-photo-container {
	/* width and height are overridden by the javascript. */
	width: 600px;
	height: 400px;
	margin: 15px auto 15px auto;
	padding: 15px;
	border: 1px solid #E0E0E0;
	border-radius: 10px;
	box-shadow: 0px 0px 20px #CCCCCC;
	background-color: #F7F7F7;
	position: relative;
}
#gallery-thumbs-outer {
	/*
		This specifies the maximum width for the thumbnails.  If there aren't enough thumbs to
		fill this width then on page-load the javascript will resize this element to suit.
	*/
	width: 600px;
	height: 132px;
	margin: 10px auto 10px auto;
	border: 1px solid #E0E0E0;
	border-radius: 5px;
	box-shadow: 0px 0px 10px #CCCCCC;
	background-color: #F7F7F7;
	padding: 0px 7px 0px 7px;
	position: relative;
}
a#gallery-thumb-nav-l,
a#gallery-thumb-nav-r {
	background-repeat: no-repeat;
	position: absolute;
	width: 12px;
	height: 32px;
}
a#gallery-thumb-nav-l {
	background-position: 15px center;
	background-image: url(/img/arrow-left.png);
	padding: 50px 5px 50px 20px;
	left: -35px;
}
a#gallery-thumb-nav-r {
	background-position: 10px center;
	background-image: url(/img/arrow-right.png);
	padding: 50px 20px 50px 5px;
	right: -35px;
}
a#gallery-thumb-nav-l:hover {
	background-image: url(/img/arrow-left-highlight.png);
}
a#gallery-thumb-nav-r:hover {
	background-image: url(/img/arrow-right-highlight.png);
}
/*
	I don't really understand what's going on with the positioning here...
	relative on the container and absolute on the thumbs doesn't work.
*/
#gallery-thumbs-container {
	overflow: hidden;
}
/*
	This is a table because it's the only way I can get the full
	width (not clipped width) within an overflow:hidden container.
*/
#gallery-thumbs {
	border: none;
	border-collapse: collapse;
	left: 0px;
	top: 0px;
	white-space: nowrap;
	position: relative;
}
.gallery-thumb {
	padding: 5px;
	margin: 10px 2px 10px 2px;
	background-color: #EEEEEE;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	box-shadow: 0px 0px 5px #CCCCCC;
	text-decoration: none;
	border-radius: 3px;
	cursor: pointer;
}
/* Mouseover */
.gallery-thumb.highlight {
	box-shadow: 0px 0px 5px #999999;
	background-color: #FFFFFF;
	border-color: #BBBBBB;
}
/* Current thumb */
.gallery-thumb.current {
	box-shadow: 0px 0px 5px #999999;
	background-color: #FFFFFF;
}
#info-panel,
#gallery-info-panel {
	display: none;
    background-color: #F7F7F7;
    border: 1px solid #E0E0E0;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 10px #CCCCCC;
    margin: 10px 0px 0px 0px;
    padding: 5px 10px 5px 10px;
}
#info-panel p {
	margin: 5px 0px 5px 0px;
}
#gallery-info-panel {
    margin: 10px auto 10px auto;
	width: 600px;
	padding-bottom: 10px;
}
