/*
Theme Name: Glebe Walks 2013 (inc mobile)
Theme URI: http://www.glebewalks.com.au/
Description: Theme for Glebe Walks self-guided walking tours. Includes Google Maps integration. Still to come: map tracking for nearby users; cross-paths display;
Version: 2.0
Author: Tristan Blattman
Author URI: http://www.redantmedia.com.au
*/

/* css Glebe Walks Website */
/* All associated graphics copyright 2013, Anthony Cummins. Red Ant Media */
/* Added: December 2013 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
} 

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

nav ul, nav li { margin: 0; } 
nav ul, ul { list-style:none; }

.floatleft, .alignleft{
	float: left;
	width: auto;
	}

.floatright, .alignright{
	float: right;
	width: auto;
	}
	
.clearboth{
	clear: both;
	}
	
a img{
	border: none;
	}
	
body{ 
	font-size: 100%;
	color: #252e35; 
/*	font-family: Georgia, Times, 'Times New Roman', serif;
*/ font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    background: #FFF;
	}

.container{
	margin: 0 auto;
	max-width: 1100px;
/*	background: url(images/glebe-walks-bgr.png) no-repeat;
*/	background-position: right top;
	}

.halfpage{
	float: left;
	width: 50%;
	padding: 0;
	margin: 0;
	}
	
.quarterpage{
	float: left;
	width: 25%;
	padding: 0;
	margin: 0;
	}
	
.threeqpage{
	float: left;
	width: 70%;
	padding: 0 0 0 5%;
	margin: 0;
	}
	
.onethirdpage{
	float: left;
	width: 33.3%;
	padding: 0;
	margin: 0;
	}
	
.twothirdpage{
	float: left;
	width: 66.7%;
	padding: 0;
	margin: 0;
	}
	
h1, h2, h3{
/*	font-family: Georgia, Times, 'Times New Roman', serif;
*/ font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    color: #5b1a21;
	margin: 0 0 7px 0;
	}

h1{
    font-size: 1.4em; 
}

h2{
  font-size: 1.1em;
}

h3{
  font-size: 1.0em;
}

p{
    font-size: 0.9em;
    margin: 0 0 7px 0;
}

ol, ul{
	font-size: 0.9em;
	padding: 0 0 0 15px; 
	}
    
ul + p {
    margin-top: 15px;
    }
    
li{
	padding-left: 7px;
	}
	
a{
	color: #6c6c2f;
	text-decoration: none;
	}
	
a:hover{
	color: #00332D;
	}
	
a span{
	color: #FFF;
	font-size: 0.8em;
	text-transform: uppercase;
	background: #333333;
	padding: 5px 5px 2px 5px;
	margin-top: 5px;
	}
	
a:hover span{
	background:#5b1a21;
	}

.textcenter{
	text-align: center;
	}
	
.textright{
	text-align: right;
	}
	
.divtable{
	display: table;
	vertical-align: middle; 
	}
	
.divtable .divrow{	
	display: table-row;
	height: 100%;
	}
	
.divtable .divrow .divcell{	
	display: table-cell;
	height: 100%;;
	vertical-align: middle;
	}
	
/* HEADER */

.no-desktop{
	display: block;
	}

header{
	margin-bottom: 25px;
	}

header a:hover img, .o40 a:hover img{
	opacity:0.4;
	filter:alpha(opacity=40);
	}
	
#logo{
	float: left;
	width: 25%;
	padding: 0;
	margin: 0;
	}
	
#introtitle{
	float: left;
	width: 45%;
	padding-left: 5%;
	text-align: right;
	}
	
#introtitle .divtable{
	min-height: 110px;
	}
	
header h1, header h1 a, header h1 a:hover{
/*	font-family: Georgia, Times, 'Times New Roman', serif;
*/ font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    font-size: 1.2em;
	margin: 0 0 5px 0;
	padding: 0 0 0 0;
	color: #00332D;
	}

header h2, .headertitle h2 a{
	font-size: 1.0em;
	font-weight: normal;
	margin: 0 0 3px 0;
	padding: 0 0 0 0;
	color: #6C6C2F;
	background: none;
}

header h2 span, .headertitle h2 a span{
	background: none;
	color: #bbb3a4;
	font-size: 1.0em;
}

/* NAV */

nav{
	margin: 0 0 7px 0;
	width: 100%;
	height: 45px; 
	text-transform: uppercase;  
	}

#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: #00332f url(images/menu-icon.png) center;
	border-radius: 5px;
	-moz-border-radius: 5px;
	}

a:hover#menu-icon {
	background-color: #a4a688;
}

nav ul {
	font-size: 0.9em;
	list-style: none;
	width: 100%;
	height: 40px;
	padding-left: 0px;
	}

nav li {
	float: left;
	width: 24.9%; /* ADJUST DEPENDING ON # MENU ITEMS */
	background: #00332D;
	padding: 0;
	margin-left: 0.1%;
	text-align: center;
	}
	
nav ul li:first-of-type{
	border-bottom-left-radius: 7px;	
	-moz-border-radius-bottomleft: 7px;
	}
	
nav ul li:last-of-type{
	border-bottom-right-radius: 7px;	
	-moz-border-radius-bottomright: 7px;
	}
	
nav ul li:hover, nav ul li.current, nav ul li.current-menu-item, nav ul li.current_page_item{
	color: #00332D;
	background: #f1f2f2;
	}
	
nav ul li:hover a, nav ul li.current a, nav ul li.current-menu-item a, nav ul li.current_page_item a{
	color: #00332D;
	}
	
nav li a{
	color: #ffffff;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	margin: 0;
	display: block;
	padding: 5px 0 5px 0;
	margin: 0 0 0 0;
  }
	
/* INTRO */

#welcome{
	clear: both;
	width: 100%;
	height: 330px;
	overflow: hidden;
	background: #e6e3dd;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	}
	
#intro{
	float: left;
	width: 33%;
	height: 330px;
	overflow: hidden;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	}
	
.introtxt{
	padding: 2%;
	}
	
#homeimage{
	float: right;
	width: 67%;
	height: 330px;
	overflow: hidden;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	}
	
/* HOME WALKS LISTING */	
	
#homewalks{
	clear: both;
	width: 100%;
	padding: 0 0 0 0;
	margin: 20px 0 0 0;
	}
	
#hwlhs{
	float: left;
	width: 48%;
	}
	
#homemap{
	width: 100%;
	height: 520px;
	overflow: hidden;
	}
	
#homemap #map-canvas{ /* CENTRE THE MAP */
	display: block;
	width: 100%;
	height: 100%; 
	position: relative;
	/* top: 50%;
	left: 50%;
	margin: -260px 0 0 -270px; */
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	}
	
#icons{
	width: 100%;
	padding: 15px 0 15px 0;
	}
	
/* WALK FIRST PAGE */

.walkintro{
	float:left;
	width: 33%;
	background: #f1f2f2;
	border-radius: 7px;	
	-moz-border-radius: 7px;
	margin-bottom: 15px;
	}
	
#walkmap{
	float:right;
	width: 64%;
	height: 830px;
	overflow: hidden;
	margin-bottom: 25px;
	}
	
#walkmap #map-canvas{ /* CENTRE THE MAP */
	display: block;
	width: 100%;
	height: 100%; 
	position: relative;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	/* width: 710px;
	height: 830px; 
	position: relative;
	top: 50%;
	left: 50%;
	margin: -415px 0 0 -355px; 
	padding: 0 0 0 0; */
	}
	
#walkstops{
	/* border-top: 1px solid #5b1a21; */
	float:left;
	width: 33%;
	margin-bottom: 25px;
	}
	
ul.stopsets{
	padding: 0 0 0 0;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	/* border-bottom: 1px solid #5b1a21; */
	}
	
.stopsets li {
	list-style:none;
	display:inline-block;
	margin-bottom: 15px;
	}

.stopsets a {
	padding:5px 10px 7px 10px;
	display:inline-block;
	background:#f1f2f2;
	color: #03352f;
	text-decoration:none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	}

.stopsets a.active, .stopsets a:hover {
	background:#03352f;
	color:#fff;
	}

/* WALK STOP */

#stoplhs{
	float:left;
	width:33%;
	}

#stoplhs .walkintro{
	width: 100%;
	}
	
.prevnext{
	width:100%;
	padding: 15px 0 8px 0;
	}
	
#stopmap{
	width: 100%;
	height: 330px;
	overflow: hidden;
	margin-bottom: 15px;
	}
	
#stopmap #map-canvas{ /* CENTRE THE MAP */
	display: block;
	width: 650px;
	height: 340px; 
	position: relative;
	top: 50%;
	left: 50%;
	margin: -170px 0 0 -325px;
	padding: 0 0 0 0;
	}
	
#stoprhs{
	float:right; 
	width: 64%;
	margin-bottom: 25px;
	position: relative;
	}
	
#stoptext{
	float:left;
	width:100%;
	margin-top: 455px;
	}
	
#stoptext.intropage{
	float:left;
	width:100%;
	margin-top: 0;
	}
	
#stoptext img.alignright{
	margin: 0 0 10px 10px;
	}
	
#stoptext img.alignleft{
	margin: 0 10px 10px 0;
	}
	
#gallery{
	width:100%;
	float: right;
	height:400px;
	position: absolute;
	top: -4px;
	}
	
.slideholder{
	width: 100%;
	height: 345px;
	background: #FFF;
	overflow: hidden;
	}
	
#gallery img{
	display: block;
	height: 365px;
	width: auto;
	margin: 0 auto;
	}

#gallery #bx-pager{
	text-align: center;
	margin-top: -45px;
	}
	
#gallery #bx-pager a{
	display: inline-block;
	width: 60px;
	height: 60px;
	overflow: hidden;
	text-align: center;
	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;
	border: solid #fff 5px;
	left: -5px;
	background: #fff;
	}
	
#gallery #bx-pager a img{
	display: block;
	height: 60px;
	width: auto;
	}
	
.nextpage{
	float: left;
	width: 100%;
	margin:auto;
	}
	
.nextpage p{
	text-align: center;
	margin: 3px 0 3px 0;
	float:left;
	width: auto;
	}

.nextpage p:first-child{
	text-align: left;
	}

.nextpage p:last-child{
	text-align: right;
	}
	
.nextpage a {
	font-weight: bold;
	padding:5px 7px 7px 7px;
	display:inline-block;
	background:#03352f;
	color:#fff;
	text-decoration:none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	}
	
.nextpage p:nth-of-type(2){
	width: auto;
	margin: 3px 2% 3px 2%;
	}
	
#stoptext #buslist{
	list-style-type: disc;
	}
	
#stoptext #buslist li{
	padding-left: 0;
	margin-left: 7px;
	}
	
.nextpage a.active, .nextpage a:hover {
	background:#f1f2f2;
	color: #03352f;
	}	

#stoprhs .nextpage{
	width: 50%;
	}
	
#stoprhs .nextpage.textright, #stoprhs .nextpage.textright p{
	float: right;
	}
	
#stoptext.margintopless{
	margin-top: 375px !important;
	}

#stoptext.margintopnone{
	margin-top: 0px !important;
	}
	
/* WALK LINKS */
	
a.walknum{
	display: inline-block;
	float: left;
	width: 32px;
	height: 40px;
	text-align: center;
	color: #000;
/*	margin-right: 15px;
	margin-bottom: 15px; */
	}
	
#walkstops a.walknum{
	text-indent: 0px;
	}
	
a.walknum:hover{
	opacity:0.4;
	filter:alpha(opacity=40); /* For IE8 and earlier */
	}
	
#hwrhs{
	float: right;
	width: 48%;
	}
	
.glebedesc{
	width: 96%;
	padding: 2% 2%;
	margin-bottom: 15px;
	background: #f1f2f2;
	border-radius: 7px;	
	-moz-border-radius: 7px;
	}
	
.glebedesc h2, .walkintro h1{
	color: #FFF;
	background: #00332D; /* #d1d2c3; */
	margin: -2% -2% 2%;
	padding: 7px;
	border-top-left-radius: 7px;	
	-moz-border-radius-topleft: 7px;
	border-top-right-radius: 7px;	
	-moz-border-radius-topright: 7px;
	}
	
.glebedesc p{
	color: #6c6c2f;
	font-size: 1.0em;
	}
	
.walkdesc{
	width: 94%;
	padding: 7px 3%;
	margin-bottom: 7px;
	border-bottom: 1px solid #E7E7E8;
	}
	
#walkstops div div.walkdesc:last-of-type{
	border-bottom: none;
	}
	
#hwlhs div.walkdesc:last-of-type{
	margin-bottom: 30px;
	border-bottom: none;
	}
	
.walkdesc h2, .walkdesc p{
	padding: 0 0 0 0;
	margin: 0 0 2px 0;
	font-size: 0.9em;
	}
	
.walkdesc h2	a{
/*	font-family: Georgia, Times, 'Times New Roman', serif;
*/ font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
  }
	
.walkdesc .floatleft{
	width: 8%;
	}
	
.walkdesc .floatright{
	width: 90%;
	}
	
.walkdesc .floatright .floatleft, .walkdesc .floatright .floatright{
	width: 49%;
	padding-top:7px;
	}
	
.walkdesc .floatright .floatright em{
	color: #00332f;
	}
	
.mobileonlyc{
	display: none;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
	}
	
footer{
	width: 96%;
	padding-left: 2%;
	padding-right: 2%;
	height: 60px;
	color: #f1f2f2;
	background: #00332D;
	border-top-left-radius: 7px;	
	-moz-border-radius-topleft: 7px;
	border-top-right-radius: 7px;	
	-moz-border-radius-topright: 7px;
	}
	
footer ul{
	text-transform: uppercase; 
	font-size: 0.7em;
	padding: 12px 0 0 0;
	margin: 0 0 0 0;
	}
	
footer ul.leftul{	
	display:block;
	width: auto;
	float: left;
	}
	
footer ul.rightul{	
	display:block;
	width: auto;
	float: right;
	text-align: right;
	text-transform: none;     
	}
	
footer ul li{
	list-style-type: none;
	display: block;
	float: left;
	width: auto;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	}
	
footer ul li a{
	color: #C4C4AB;
	font-weight: bold;
	border-left: 1px solid #fff;
	padding: 0 0 0 5px;
	margin: 0 0 0 5px;
	}
	
footer ul li a:hover{
	color: #fff;
	}
	
footer ul li:first-child a{
	border-left: none;
	padding-left: 0;
	margin-left: 0;
	}
	
@media only screen and (max-width : 1100px) {
	 
	nav ul {
		font-size: 0.7em;
		}
	/*	
	nav li {
		height: 45px;
		}
	*/	
	.container{
		margin: 0 auto;
		max-width: 90%;
		}
	}
	
@media only screen and (max-width : 950px) {
	#introtitle{
		font-size: 0.8em;
		}
		
	footer{
		height: auto;
		padding-top: 7px;
		padding-bottom: 14px;
		margin-top: 30px;
		}
	
	footer ul.leftul{	
		display:block;
		width: 94%;
		float: none;
		text-align: center;
		padding-left: 3%;
		padding-right: 3%;
		}
	
	footer ul.rightul{	
		display:block;
		width: 70%;
		float: none;
		text-align: center;
		padding-left: 15%;
		padding-right: 15%;
		}
		
	footer ul.leftul li, footer ul.rightul li{	
		display: inline-block;
		width: auto;
		float: none;
		text-align: center;
		}
	}
	
#mobilenav{
	display: none;
	}
	
@media only screen and (max-width : 890px) {
	#intro{
		font-size: 0.9em;
		}
	}
	
@media only screen and (max-width : 720px) {
	nav ul {
		font-size: 0.6em;
		}
	
	#intro{
		font-size: 0.8em;
		}
	}

@media only screen and (max-width : 640px) {
	.container{
		background: none;
		}
		
	.no-mobile{
		display: none;
		}
	
	.halfpage{
		float: left;
		width: 80%;
		}
		
	header{
		margin-bottom: 15px;
		padding-top: 0px;
		}
		
	#logo{
		float: left;
		width: 50%;
		padding-top:10px;
		margin-bottom: 7px;
		}
		
	nav{
		float: right;
		width: 40px;
		border: none;
		margin: 21px 0 10px 0;
		}
	
	#menu-icon {
		display:inline-block;
		}
	
	nav ul, nav:active ul { 
		display: none;
		position: absolute;
		padding: 0;
		background: #f1f2f2;
		right: 5%;
		top: 77px;
		width: 40%;
		font-size: 0.7em;
		border-radius: 5px;	
		-moz-border-radius: 5px;
	}
	
	nav li {
		text-align: center;
		width: 100%;
		height: auto;
		padding: 5px 0;
		margin: 0;
		background: #f1f2f2;
		border-bottom: 2px solid #fff;
	}
	
	nav ul li:first-of-type{
		border-bottom-left-radius: 0px;	
		-moz-border-radius-bottomleft: 0px;
		border-top-left-radius: 5px;	
		-moz-border-radius-topleft: 5px;
		border-top-right-radius: 5px;	
		-moz-border-radius-topright: 5px;
	}
	
	nav ul li:last-of-type{
		border-bottom-left-radius: 5px;	
		-moz-border-radius-bottomleft: 5px;
		border-bottom-right-radius: 5px;	
		-moz-border-radius-bottomright: 5px;
		border-bottom: none;
	}
	
	nav:hover ul {
		display: block;
		z-index: 100000;
	}
	
	nav li a{
		color: #03352f;
		text-transform: uppercase;
		text-decoration: none;
		margin: 0;
		display: block;
		padding: 5px 0 5px 0;
		margin: 0 0 0 0;
		}
		
	nav ul li:hover, nav ul li.current, nav ul li.current-menu-item, nav ul li.current_page_item{
		background: #03352f;
		border-bottom: 2px solid #fff;
		}
		
	nav ul li:last-of-type:hover, nav ul li:last-of-type.current, nav ul li:last-of-type.current-menu-item, nav ul li:last-of-type.current_page_item{
		border-bottom: none;
		}
		
	nav ul li:hover a, nav ul li.current a, nav ul li.current-menu-item a, nav ul li.current_page_item a{
		color: #FFF;
		}
		
	#welcome{
		height: auto;
		width: 100%;
		overflow: auto;
		}
		
	#intro{
		float: none;
		width: 100%;
		height: auto;
		overflow: auto;
		padding: 0 0 0 0;
		margin: 0 0 0 0;
		font-size: 1.0em;
		}
		
	#homewalks{
		width: 100%;
		border-top: none;
		padding: 0 0 0 0;
		margin: 15px 0 3% 0;
	}
	#hwlhs, #hwrhs{
		float: none;
		width: 100%;
		}
		
	#homemap{
		height: 330px;
		overflow: hidden;
		}
		
	.walkdesc .floatleft{
		width: 12%;
		}
			
	.walkdesc .floatright{
		width: 87%;
		}
		
	.walkdesc .floatright .floatleft, .walkdesc .floatright .floatright{
	width: 100%;
	padding-top:7px;
	text-align: left;
	}
		
	.walkdesc a.walknum{
		float: left;
		margin-bottom: 20px;
		height: 20px;
		}
		
	#hwrhs{
		border-top: none;
		}
		
	#icons{
		text-align: center;
		}
		
	#icons .walknum{
		float: none;
		}
		
	.walkintro, #walkstops, #stoplhs, #stoprhs{
		float:none;
		clear: both;
		width: 100%;
		}
		
	#walkstops .stopsets li a{
		font-size: 0.9em;
		}
		
	#stoplhs{
		padding-top: 15px;
		}
		
	#stoplhs .prevnext{
		padding-top: 0px
		}
		
	#walkmap{
		float: none;
		width: 100%;
		height: 330px;
		overflow: hidden;
		margin-bottom: 15px;
		}
		
	#stoptext{
		float: none;
		margin-top: 0px;
		margin-bottom: 15px;
		}
		
	#stoptext.margintopless {
		margin-top: 20px !important;
		}
		
	#gallery{
		position: static;
		float: none;
		margin-top: 0px;
		height: 345px;
		}
		
	#bx-pager{
		display: none;
		}
		
	footer{
		height: auto;
		padding-top: 7px;
		padding-bottom: 14px;
		margin-top: 30px;
		}
		
	.mobileonlyc{
		display: block;
		}
		
	#mobilenav{
		display: block;
		}
		
	}
	
.scrollup, .tomap, .stopmap, .toinfo, .togallery{
    width:40px;
    height:40px;
    opacity:0.3;
    position:fixed;
    display:none;
    text-indent:-9999px;
	}
	
.scrollup{ 
	bottom:25px;
    right:25px;
    background: url(images/icon_top.png) no-repeat;
	}
	
.tomap, .stopmap{
	bottom:160px;
    right:25px;
    background: url(images/map-icon.png) no-repeat;
	}
	
.toinfo{
	bottom:115px;
    right:25px;
	background: url(images/info-icon.png) no-repeat;
	}
	
.togallery{
	bottom:70px;
    right:25px;
	background: url(images/photo-icon.png) no-repeat;
	}