/*
Theme Name: Canmore Caverns
Description: WP theme for CC - Valid XHTML and CSS.
Author: Scott Hall
*/
html {
}

body {
	margin:0 !important;
	padding: 0 !important;
	/*background:#fff url(images/MudCrackTile.gif) repeat top center;*/
	background-color:#D0B78D;
	color:#000;
	font-family: Verdana, Arial, Sans-Serif;
	font-size: 12px;
	text-align: left;
	
}

a { 
	color:#258;
	text-decoration:none;
}

a:hover {
	text-decoration:underline; 
}
/*
h1 {
position:relative;
left:142px;
top:35px;
display: inline;
}
h2#phone {
position:relative;
left:190px;
//left: 100px !important;
top: 22px;
display: inline;
font-size: 11px;
}
*/

img {
	border:0;
}

input {
	font-size:1.2em;
}

input[type=text], textarea{
	background:#fff;
	border:1px inset #aaa;
}
input[type=submit] {
	background:#eee;
	border:1px outset #aaa;
}

textarea {
	font-size:12px;
}

pre {
	font-size:12px;
	overflow:auto;
}
code {
	font-size:12px;
	background-color:#f8f8f8;
	color:#111;
}

/* Layout */

/* Header */
#headerstretch{
	width: 100%;
	background-color: #6A724D;
	border-bottom: 5px solid #861316;
}
#header {
	margin:0px auto;
	width: 1170px;
	height: 114px;
	background: #6A724D url(images/cave-tours-header.png) no-repeat top center;
	display: block;
	background-color: #6A724D;
}
#headerwrapper {
	margin: 0px auto;
	width: 1170px;
	border: 1px solid transparent;
	height: 114px;
}
#header a {
position:absolute;
margin-left:230px;
top: 55px;
width: 400px;
margin-top: 0;
}
h2#phone {
position:relative;
left: 790px;
display: inline;
//top: 87px !important;
top: 72px;
font-size: 18px;
font-weight: 900 !important;
font-family: Verdana;
}
#wrapper {
	margin:0px auto;
	width: 1170px;
	display: table;
	height: 100% !important;
}
#pagewrapper {
	margin: 0;
	padding: 0;
	width: 1170px;
	background: transparent url(images/opacity-1168-new.png) repeat-y top center;
	z-index:100;
	height: 100% !important;
	float: left;
}
#page {
	width: 770px;
	margin: 0px auto;
	height: 100%;
}

#page-bottom{
	width:770px;
	margin:0px auto;
	text-align:left;
	height: 100% !important;
}

#opaque {
	background: url(images/opacity.png) repeat-x top;
	height: 5px;
	width: 100%;
	z-index: 1000;
}

#dropshadow{
	width:770px;
	height:5px;
	z-index:1000;
	margin-left: 200px;
	position: relative;
	bottom: 4px;
	//bottom: 12px;
}

#container{
	border: 5px solid red;
	margin-left: 200px;
	width: 770px;
	background-color: #e9dfbb;
	height: 100% !important;
	margin: 0;
	padding: 0;
}

#banff-cave-tours{
	background: transparent url(images/laundry-chute.png) no-repeat top center;
	position: relative;
	bottom: 4px;
	z-index: 1000;
	height: 150px;
}

#leftside{
	display: inline;
	margin: 0 0 0 200px;
	width: 770px;
	background-color: #E7DAB4;
	z-index: 100;
	position: relative;
	bottom: 8px;
	display: block;
	float: left;
}

#rightside{
	float: right;
	width: 538px !important;
	background-color: white;
	min-height: 510px;
}
a#wildcavetours{
	background: url(images/wild-cave-tours.png) no-repeat top center;
	z-index: 100;
	display: block;
	height: 146px;	
	width: 232px;
	color: white;
	font-size: 13px;
	font-family: Verdana;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	position: relative;
	bottom: 1px;
}
a#wildcavetours:hover{
	background: url(images/wild-cave-tours-hover.png) no-repeat top center;
}
a#cavevideo{
	clear: left;
	background: url(images/rappel-video.png) no-repeat top;
	z-index: 1;
	display: block;
	height: 146px;
	color: white;
	font-size: 13px;
	font-family: Verdana;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	width: 232px;
	position: relative;
	bottom: 1px;
}
a#cavevideo:hover{
	background: url(images/rappel-video-hover.png) no-repeat top;
}

div.opaqueleft {
	background: url(images/opacity-side.png) no-repeat top;
	height: 10px;
	width: 231px;
	z-index: 1000;
	position: relative;
	bottom: 152px; 
}
div.opaqueleftbottom {
	background: url(images/opacity-side.png) no-repeat top;
	height: 10px;
	width: 231px;
	z-index: 1000;
	position: relative;
	bottom: 16px; 
}

#giftshop a{
	display: block;
	width: 190px;
	text-align: center;
	padding: 15px 0 0 20px;
	color: #292929;
	font-size: 12px;
	text-decoration: none;
	font-weight: bold;
}
#giftshop a:hover{
	color: #000;
}

#sidebar{
	display: none;
	float:left;
	width:190px;
	margin:0 -230px 0 0;
	padding:20px 0 0 0;
	background:#f2efe2;
}

#footer {
	clear: both;
	height: 65px;
	border-top: 7px solid #861316;
	background-color: #6A724D!important;
	text-align: center !important;
	color: #eee;
	padding-top: 25px;
	margin-top: -10px !important;
	margin-bottom: 0 !important;
	z-index: 1000;
	position: absolute;
	width: 100%;
}

#footer a {
	color: #fff !important;
	text-decoration: none;
}

.search {
	float:right;
	padding:1.5em 5% 0 0;
}
.search form {
	margin:0;
	padding:0;
}
.search input {
	display:inline;
	width:218px;
	border:1px solid #69b;
	margin:0;
	padding:0.2em 5px;
	background:#38b;
	color:#ddd;
	font-size:1.1em;
}


/* Top navigation */
#navbar {
	height: 41px;
	margin: 0;
	padding: 0;
	float: left;
	background-color: #fff!important;
	position: relative;
	bottom: 2px;
}

#wpcf7-f1-p8-o1 {
	margin: 50px 150px 0 0;
}
#nav {
	margin:0;
	padding: 0;
	list-style: none;
	margin-left: 1px;
	}
	
#nav ul {
	padding:0;
	margin:0;
	list-style: none;
	background:transparent;
	width: 540px;
	}

#nav a {
	color: #fff;
	font-size: 12px;
	float: left;
	display: block;
    font-weight: bold;
	padding: 10px 0px 0px 0px;
	background: url(images/nav-bg-centre-sml.png) repeat-x top left;
	height: 41px;
	min-width: 94px;
	text-decoration: none;
	text-align: center;
	}
#AboutUs{
	width: 97px !important;
	}
#nav a:hover {
	background: url(images/nav-bg-centre-sml-hover.png) repeat-x top left;
}

#nav li {
	float: left;
	height: 41px;
}

#nav li div{
	background: url(images/nav-bg-left.png) no-repeat top left;
	float: left;
	margin: 0;
	padding: 0;
	height: 41px;
	width: 5px;
	display: block;
}

#nav li div.hover{
	background: url(images/nav-bg-left-hover.png) no-repeat top left;
}

#nav li div.right {
	float: left;
	background: url(images/nav-bg-right.png) no-repeat left top;
	height: 41px;
	width: 6px;
	display: block;
}
#nav li div.right.hover {
	background: url(images/nav-bg-right-hover.png) no-repeat top left;
}
#nav li div.rightend {
	float: left;
	background: url(images/nav-bg-right-end.png) no-repeat top right;
	height: 41px;
	width: 10px;
	display: block;
}
#nav li div.rightend.hover {
	background: url(images/nav-bg-right-end-hover.png) no-repeat top right;
}
	
#nav li li {
	float: left;
	margin: 0;
	padding: 0;
	width: 14em;
	}
	
#nav li li a, #nav li li a:link, #nav li li a:visited {
	background: #165279;
	color: #c6c8c9;
	width: 14em;
	float: none;
	margin: 0;
	padding: 0.5em ;
	border-bottom: 1px solid #aaa;
	}
	
#nav li li a:hover, #nav li li a:active {
	background: #237ab2;
	color: #fff;
	}

#nav li ul {
	position: absolute;
	width: 10em;
	left: -999em;
	}

#nav li:hover ul {
	left: auto;
	display: block;
	}
	
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	}

/* SUBNAV */
#subnavbox{
	width: 230px;
	position: absolute;
	text-align: right;
	background-color: #eadeb9;
}
	
#subnav ul {
}
#subnav li.page_item {
	width: 232px;
	list-style: none !important;
	background-color: #eadeb9 !important;
	position: relative;
	right: 40px;
}
#subnav a {
	color: #000;
	font-size: 16px;
	text-decoration: none;
	text-align: right;
	margin-left: 0;
	margin-right: 10px;
}
#subnav li.current_page_item{
	background-color: #c7bd9e !important;
	font-weight: bold;
}
#subnav li:hover{
	background-color: #c7bd9e !important;
}

/* END SUBNAV */

/* Sidebar


#sidebar ul {
	padding:0;
	margin:0;
	list-style: none;
	font-size:1.1em;
}
#sidebar ul ul {
	font-size:1em;
}

#sidebar ul li {
	margin:0 0 2em 0;
}

#sidebar ul ul {
	margin:0;
	padding:0;
}

#sidebar li li {
	margin:0.1em 0;
}

#sidebar li li li {
	padding-left:10px;
}

#sidebar ul h2 {
	margin:0;
	padding:0;
	color:#4588c4;
	font-size:1.2em;
	text-transform:uppercase;
}

*/

/* Post */
h3 {
	float: right !important;
	text-align: right;
	font-weight: 900 !important;
	font-size: 16px;
	margin: 5px 10px 15px 0px;
	width: 100%;

}
h4 {
	width: 100% !important;
	float: left !important;
	text-align: left;
	font-weight: 600 !important;
	font-size: 16px;
	margin: 5px 10px 15px 0px;
	border-bottom: 2px #a14040 solid;
}
p {
	padding: 0 !important;
}
.post {
	background-color: #fff;
	padding: 15px 0 35px 5px;
}

.post img {
	padding: 5px;
}
.post p, .post ol li, .post ul li{
	margin-top:0;
	font-size:14px !important;
	line-height:1.3em !important;
	text-align:justify;
	background-color: #fff !important;
}
.post li li {
	font-size:1em;
}
.post blockquote {
	padding:0 0 0 2em;
	border-left:0.4em solid #ccc;
	font-size:0.9em;
}
.post blockquote blockquote {
	margin-left:0;
	font-size:1em;
}

.postentry {
	margin: 10px 0 0 10px;
	width: 510px;
	min-height: 500px;
	text-align: left;
}
.postentry p {
	font-weight: normal !important;
	text-align: left;
}

.postentry a {
	color: #6A724D;
	font-weight: bold;
}
.postentry a:hover {
	border-bottom:1px solid #6A724D;
	text-decoration:none;
}

.postmetadata {
	clear:both;
	margin:1em 0;
	font-size:1.1em;
	color:#888;
	text-align:left;
}

div.navigation {
	font-size:1.1em;
}

.postentry table {
	border-width:0 1px 1px 0;
	border-style:solid;
	border-color:#ccc;
	font-size:0.9em;
}


.postentry table tr td {
	padding:5px 10px;
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;

}

.postentry table tr th {
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;
	padding:5px 10px;
	background:#f4f4f4;
	color:#666;
	font-weight:bold;
	text-transform:uppercase;
	text-align:center;
}

/* Comments 

#comments {
	font-size:1.2em;
}

.commentlist {
	margin:20px 0;
	padding:0;
	border-width:0 0.1em 0.1em 0;
	border-color:#eee;
	border-style:solid;
}

.commentlist li {
	list-style:none;
	margin:0;
	padding:0;
	border-width:0.1em 0 0 0.1em;
	border-color:#eee;
	border-style:solid;
}

li.comment div, li.pingback div {
	padding:20px;
	overflow:auto;
}

li.comment div div, li.pingback div div {
	padding:0;
	overflow:visible;
}

.commentlist li.even {
	background-color:#fafafa;
}

.commentlist li.odd {
	background-color:#f6f6f6;
}

ul.children li {
	list-style:none;
}

img.avatar {
	float:right;
	border:1px solid #eee;
	padding:2px;
	margin:0;
	background:#fff;
}

.comment-meta, .reply {
	margin:0;
	padding:0;
	font-size:0.8em;
}

.comment-author cite {
	font-style:normal;
	font-weight:bold;
	font-size:1.2em;
}


textarea#comment {
	width:100%;

}

#comments div.navigation {
	font-size:0.9em;
}

Comment ends */


/* Calendar */
#wp-calendar caption {
	text-transform:uppercase;
	font-weight:bold;
	color:#aaa;
	text-align:left;
}
#wp-calendar thead th {
	font-weight:normal;
	color:#27a;
	text-align:center;
}
#wp-calendar tbody td {
	text-align:center;
}
#wp-calendar tbody td a {
	font-weight:bold;
}
#wp-calendar tbody td.pad {
	border:none;
}
/* Calendar ends */

abbr {
	cursor:help;
	border-bottom: 0.1em dotted;
}

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

.alignleft {
   float: left;
   margin: 5px 5px 5px 0;
}

.alignright {
   float: right;
   margin: 5px 0 5px 5px;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}
