/*
Theme Name: The Cawleys
Theme URI: http://family.troycawley.com/
Description: The theme used for the Cawley family website
Author: Troy Cawley
Version: 1
*/


/* -------------------------------Begin Reset------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* -------------------------------End Reset----------------------------------- */

/* Body */

body{
  background:#f4f4f4 url(img/bg.gif) top center repeat-y;
  color:#303030;
  font:normal 13px/1 Arial,Verdana,Tahoma,sans-serif;
}

#wrap{
  background-color:#ffffff;
  color:#303030;
  margin:0 auto;
  padding: 10px 0 0 0;
  width:920px;
}

/* Links */
a { 
  background-color:inherit;
  color:#710;
  font-weight:bold;
}

a:hover {
  color:#F4A927;
  text-decoration:none;
}

a img {border:0;}

#wrap {
}

#header{
  background:#600;
  height:75px;
  padding: 10px;
  margin-bottom:10px;
  color:#fff;

  -webkit-border-radius:8px;
  -khtml-border-radius:8px;
  -moz-border-radius:8px;
}

#blog-title a {
  color:#fff;
}

#blog-title img {
  float: left;
  margin: -2px 0 8px 7px;
}

#flickr-badge {
  float: right;
}

#flickr-badge img {
  margin-left: 5px;
}

#search {
 float: right;
}

form#cse-search-box {
 text-align: right;
}

#flickr-search-input {
  background: url(/images/flickr_search_logo.gif) top left no-repeat;
  border: 1px solid #7E9DB9;
  padding: 2px 3px;
}

#flickr-search-input.no-bg-image {
  background: none;
}

#nav {
  margin: 0 0 0 8px;
  clear:left;
}

#nav li {
  display:inline-block;
  float:left;
  margin-right: 11px;
}

#nav li a {
  text-decoration:none;
  background-color: #fff;
  padding: 5px 10px;
  
  opacity: 0.7;filter:alpha(opacity=70);zoom:1;

  -webkit-border-radius:3px;
  -khtml-border-radius:3px;
  -moz-border-radius:4px;
}

#nav li a:hover, #nav li.current_page_item a {
  opacity: 1.0;filter:alpha(opacity=100);zoom:1;
}

/* Sidebars */
#extras{float:right; clear:right; line-height:1.4em; margin:0 0 5px; padding:0; width:140px;}
#extras ul{border-top:1px solid #000;}
#extras ul.linklist{border-top:0;}
#extras a{text-decoration:none; font-weight:normal;}
#extras a:hover {text-decoration:underline;} 

.flickr-photos {  /*** sidebar widget ***/
  text-align:center;
  margin: 0 0 20px 0;
}

.flickr-photos h2 {
  border-bottom:1px solid #000;
  text-align:left;
  margin-bottom: 3px;
}

.flickr-photos img {
  border:5px solid #F8E290;
  margin: 3px auto;
  width: 110px;
  height: 110px;
}

/* Main menu */
#categories {font-size:0.9em;margin:0;width:100%;}

/* Content */
#content{line-height:1.4em; margin:0 155px 5px 0; padding:0;}
#contentwide{line-height:1.4em;margin:0 0 5px 0;padding:0;}
#content h2,#contentwide h2{font-size:1.6em;margin:0 0 10px;}
#content h3,#contentwide h3{font-size:1.4em;margin:0 0 8px;}
#content img,#contentwide img{border:1px solid #d0d0d0;margin:3px 10px 3px 0;}
#content ul,#contentwide ul,#content ol,#contentwide ol{margin:0 0 16px 20px;}
#content li,#contentwide li{padding:0 0 0 5px;}
#content ul ul,#contentwide ul ul,#content ol ol,#contentwide ol ol{margin:0 0 0 16px;}

/* Footer */
#footer{background-color:#ffffff;border-top:2px solid #e0e0e0;clear:both;color:#808080;font-weight:normal;line-height:1.4em;margin:0 auto;padding:10px 0;text-align:center;width:760px;}
#footer p{margin:0;padding:0;}
#footer a{background-color:inherit;color:#808080;font-weight:normal;text-decoration:none;}
#footer a:hover{background-color:inherit;color:#505050;text-decoration:underline;}
#footer strong a {font-weight:bold;}

/* Subpage menu */
#subpages{border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;float:right;font-weight:bold;line-height:1.3em;margin:25px 0 8px 15px;padding:0 0 10px 10px;width:190px;}
#subpages h2{font-size:1.2em;font-weight:bold;letter-spacing:-1px;line-height:1.3em;margin:0 0 12px;}
#subpages ul.submenu{line-height:1.4em;list-style:none; margin:0;}
#subpages ul.submenu li{display:inline; line-height:1.4em; width:180px; padding:0;}
#subpages ul.submenu li a{background-color:#f4f4f4;border-left:4px solid #cccccc;color:#505050;float:left;font-weight:bold;margin-bottom:5px;padding:3px 1px 3px 5px;text-decoration:none;width:180px;}
#subpages ul.submenu li ul{margin:0 0 5px 10px;width:170px;}
#subpages ul.submenu li ul li a{width:170px;}
#subpages ul.submenu li ul ul{margin:0 0 5px 10px;width:160px;}
#subpages ul.submenu li ul ul li a{width:160px;}
#subpages ul.submenu li ul ul ul{margin:0 0 5px 10px;width:150px;}
#subpages ul.submenu li ul ul ul li a{width:150px;}
#subpages ul.submenu li a:hover,#subpages ul.submenu li.current_page_item a{background-color:#eaeaea;border-left:4px solid #600;color:#505050;}
#subpages ul.submenu li.current_page_item ul li a{background-color:#f4f4f4;border-left:4px solid #cccccc;color:#505050;}

/* Tags */
p,ul,ol{margin:0 0 1em;}
blockquote{border-left:4px solid #e0e0e0;margin:20px;padding:8px 8px 8px 15px;}
blockquote p{background-color:inherit;color:#505050;font-size:0.9em;line-height:1.3em;}
label{background-color:inherit;color:#606060;font-size:0.9em;font-weight:bold;}
table#wp-calendar{margin:0 0 20px;width:140px;}

/* Forms */
#s,#submit{background-color:#ffffff;border:1px solid #cccccc;color:#505050;font-size:0.9em;margin:0 0 16px;padding:4px;width:130px;}
#author,#email,#url,#comment{border:1px solid #cccccc;font-size:1em;margin:0;padding:4px;}
#commentsection{margin:25px 0 0;}
#commentsection p{margin:0 0 6px;}

/* Float fix */
.contenttext{overflow:hidden;}
* html .contenttext{height:1px;overflow:visible;}
* html .contenttext p{overflow:hidden;width:99%;}

/* Various classes */
.left{border:1px solid #cccccc;float:left;margin:10px 15px 10px 0;}
.right{border:1px solid #cccccc;float:right;margin:10px 0 5px 10px;}
.center{border:1px solid #aaaaaa;margin:5px auto 12px;text-align:center;}
.textright{text-align:right;}
.small{font-size:0.8em;}
.bold{font-weight:bold;}
.hide{display:none;}
.post{margin:0 0 25px;}
.post h2 small a {font-size:0.6em;text-decoration:none;}
.postinfo{background-color:#f4f4f4;border-left:4px solid #cccccc;color:#606060;font-size:0.9em;font-weight:bold;line-height:1.5em;margin:1px 0 40px;padding:8px 5px 8px 8px;}
.comment{background-color:#f4f4f4;border-left:4px solid #cccccc;color:#606060;margin:0 0 10px;padding:8px 5px 0 8px;}
.comment p.commenthead{line-height:1.6em;}
.comment p{font-size:0.9em;line-height:1.3em;margin:0 0 6px;padding-bottom:5px;}
.navigation{display:block;margin:10px 0;padding:0 0 15px;text-align:center;}
.navigation p{margin:0;padding:0;}
.prevlink{margin-right:20px;}
.nextlink{margin-left:20px;}

.alignright {float:right; margin-left: 10px;}
.alignleft {float:left; margin-right: 10px;}
