/*  
Theme Name: All Points Theme
Theme URI: http://wordpress.org/#
Description: All Points Moving theme, designed by Colby Chiang.
Version: 1.0
Author: Colby Chiang
Author URI: http://colbychiang.com
License: General Public License (GPL)
*/

/*
Color Key:

dark green: #063
light green: #7cd992
blue: #416181
*/

body{
	margin: 0;
	padding:0;
//	background: #f5f5f5;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #444;
}

h1, h2, h3, h4 {
	color: #444;
	margin-top: 8px;
	font-family: arial, helvetica;
	font-weight: bold;
	line-height: 110%;
}

h1 {
	font-size: 26px;
	border-bottom: 2px solid #3c9952;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 18px;
	color: #416181;
}

h4 {
	font-size: 16px;
	color: #416181;
}

.noborder {
	border: 0;
	padding: 0;
	}

.border {
	border-bottom: 2px solid #063;
	padding-bottom: 6px;
}

a, a:visited {
	color: #416181;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#wrapper {
	width: 966px;
	margin: 12px auto 12px auto;
	border: 1px solid #aaa;
	background: #eee;
	padding: 0px;
}

#header {
	background: #063;
	/*transparent url('images/banner.gif') no-repeat top;*/
	height: 5.5em;
	border-top: 2px solid #f6cb00;
	padding: 8px;
 }

#header a { font-size: 5em;	color: white; font-style:italic; font-weight: bold; }

#header a:hover { text-decoration: none; }

#main {
	width: 770px;
	height: 100%;
	padding: 8px;
	margin: 0 165px 0 0;
	border-left: 1px solid #aaa;
	background: #fff;
	line-height: 125%;
}

#sidebar {
  background: #fff url('images/sidebar_pic.jpg') no-repeat top;
	width: 164px;
	padding: 8px;
	padding-top: 350px;
	margin: 0;
}

#homepage_desc {
	background: #ffffd0;
	font-size: 14px;
	width:284px;
	border: 1px solid #aaa;
	padding: 8px;
	color: #063;
}

#imageFrame {
/*	background: url('images/splash01.jpg'); */
  border: 1px solid #aaa;
	border-top: 8px solid #063;
	padding: 0;
}

#imageContainer {
	height: 300px;
	width: 448px;
	margin: 0;
	position:relative;
	z-index: 1;
}

#imageContainer img {
	display:none;
	position:absolute;
	top:0; left:0;
}

#quicklinks {
  font-size: 24px;
	width: 300px;
	padding: 0px;
}

#quicklinks img {
	vertical-align: middle;
	margin: 4px 12px 4px 4px;
	border: 1px solid #aaa;
}

#quicklinks a {
  color: #555;
}

.date {
	margin: 0
	padding: 0;
	font-size: 10px;
}

.post {
	margin: 0 10px 0 0;
	padding: 4px 10px 0 10px;
	line-height: 1.6em;
}

.post ul {
	margin: 0 10px 10px 30px;
	line-height: 1.6em;
	list-style-type: disc;
	padding: 0;
}

.post ol {
	margin: 0 10px 10px 30px;
	line-height: 1.6em;
	padding: 0;
}

.post img {
	margin: 8px;
	border: 1px solid #aaa;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

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

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

.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;
}
/* End captions */

form input, form textarea {
	border-width:1px;
	border-color: #aaa;
	color: #444;
}

#footer {
	clear: both;
	height: 36px;
	background: #063;
	color: #fff;
	border-top: 1px solid #aaa;
	padding: 0;
	margin: 0;
}

#footer a, #footer a img {
	color: #fff;
	border: 0px none;
	}

#footer p { text-align: center; margin-top: 10px; }

/**************** MENU STYLES ****************/

#nav {
  display:block;
  background: url('images/navbarBg.gif') repeat-x;
	height:22px;
	width:766px;
	margin: auto;
	}

#navextend { /*Extends the yellow nav bar across the page*/
  display:block;
	position:relative;
	background: url('images/navbarBg.gif') repeat-x;
	height:22px;
	border-bottom: 1px solid #aaa;
	z-index: 1000;
  }

/* Menubar Styling Begin */

#nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  background: #fff; /* IE6 Bug */
  background-color: #f6cb00;
  }

#nav li {
  float: left;
  position: relative;
	padding:3px 0;
	text-align:center;
	width:152px;
	border-right: 1px solid #777;
	}

#nav li ul li { /* submenu list item formatting */
  border: 1px solid #555;
	border-top: 0px none;
	text-align:left;
	padding:3px;
	width: 145px;
	}

#nav li ul li#top {
  border: 1px solid #555;
  }

#nav li ul {
  display: none;
  position: absolute; 
  top: 22px;
  left: 0;
  }

#nav li > ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
  top: 22px;
  left: 0;
	}

#nav li li ul {
  position: absolute;
	left:151px;
	top:-1px;
	} 

#nav ul li:hover ul ul,
#nav ul li.over ul ul { display: none; } /* Hide sub-menus initially */

#nav li:hover ul,
#nav ul li li:hover ul,
#nav li.over ul,
#nav ul li li.over ul { display: block; } /* The Magic */


#nav li a,
#nav li:hover ul li a,
#nav li:hover ul li li a,
#nav li.over ul li a,
#nav li.over ul li li a { 
  display:block;
  color:#000;
	text-decoration: none;
	font-size: 14px;
	}

#nav li:hover a,
#nav li.over a,
#nav li ul li:hover a,
#nav li ul li li:hover a,
#nav li ul li.over a,
#nav li ul li li.over a { /*Hovered list items, but not child unordered lists */
  color:#063;
	}

#nav ul li.menuparent { background: transparent url(images/arrow.gif) right center no-repeat; }

#nav ul li:hover,
#nav ul li.menuparent:hover,
#nav ul li.over { background-color: #fff; }

/* Fix IE. Hide from IE Mac \*/
* html #nav ul li { float: left; height: 1%; }
* html #nav ul li a { height: 1%; }
/* End */

/* Menubar Mechanics Styling End */

/****************** END MENU STYLES ***************/