/*
Theme Name: PCCCU
Author: phenry
Author URI: http://www.creativeisland.net/
Description: Theme for PCCCU, based on Toolbox by Automattic.
Version: 1.0
License: proprietary
License URI: 
Tags:
*/

@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic|Enriqueta:400,700);

/* =Structure
-------------------------------------------------------------- */

body {
    background-color: #98a2ad;
    background-image: url(images/backgroundtile.gif);
    background-repeat: repeat-x;
}

a {
    color: #254770;
}

h1, h2, h3 {
    font-family: 'Enriqueta', serif;
    color: #254770;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 16px;
}

article:first-child header h1 {
    margin-top: 0;
}

#main {
    /* position: relative; */
}

#page {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: white;
	display: block;
	margin: 0 auto;
    width: 960px;
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    line-height: 20px;
}

#primary {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	float: left;
    margin-left: 30px;
	width: 615px;
}

#secondary {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: right;
    margin-right: 30px;
    width: 265px;
}

.home #primary {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    margin-left: 225px;
    width: 510px;
}

.home #secondary {
    /* position: absolute;
    left: 30px;
    right: 610px; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    font-size: 12px;
    margin-left: -720px;
    width: 190px;
}

.home #tertiary {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    font-size: 12px;
    margin-left: 20px;
    width: 190px;
}

#wp125 { /* ad widget */
    padding: 0 32px;
}

#content {

}
#main .widget-area {
}

#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width,
.image-attachment,
.error404 {
	width: 900px !important;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
    display: none;
}


/* =Menu
-------------------------------------------------------------- */

#access {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	background: #254770;
	display: block;
	float: left;
    font-family: 'Enriqueta', serif;
    font-size: 16px;
    height: 45px;
	margin: 0 0 1em;
    padding: 0 30px;
	width: 100%;
    border-bottom: 5px solid #e1e06b;
}
#access a {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #ffffff;
	display: block;
	/* line-height: 2em; */
	text-decoration: none;
}
#access ul {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -ms-box-orient: horizontal;
    box-orient: horizontal;
    -moz-box-align: center;
    list-style: none;
	margin: 0;
	padding-left: 0;
    width: 100%;
    height: 40px;
}
#access li {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-box-flex: 1;
    box-flex: 1;
    text-align: center;
    padding: 10px 0;
    position: relative;
}

#access li:hover {
    background-color: #595959;
}

#access ul ul {
	display: none;
	float: left;
	position: absolute;
	top: 40px;
	left: 0;
	z-index: 99999;
}

#access ul ul li {
    background-color: #254770;
}

#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.more {
    margin-top: -10px;
}

.more a {
    color: #595959;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

.gallery img {
    border: none !important;
 }
 
/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */


.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

.widget-area .widget {
    border-top: 1px dashed #595959;
    margin-bottom: 10px;
}

.widget-area .widget:first-child {
    border-top: none;
}

.widget-area .widget a {
    font-weight: bold;
    text-decoration: none;
     color: #000000;
}

.widget-area .widget a:hover {
    text-decoration: underline;
}

.widget h1 {
    font-size: 14px;
}

.widget:first-child h1, .widget:first-child h2 {
    margin-top: 0;
}

ul.upcoming { /* events widget */
    margin-bottom: 0;
    padding-left: 17px;
}

.dig-in { /* "View All Events" */
    font-family: 'PT Sans', sans-serif !important;
    font-weight: bold !important;
    margin-top: -5px !important;
    text-transform: lowercase !important;
}

.dig-in a {
    color: #595959 !important;
}

ul.blogroll {
    padding-left: 17px;
}

#share-widgets {
    padding-top: 10px;
}

.share-widget {
    margin-bottom: 10px;
}

#share-event .share-widget {
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
}

/* =Calendar
-------------------------------------------------------------- */

.add-to-calendars {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.add-to-calendar {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    text-align: center;
}

.add-to-calendar img {
    margin: 0 4px -2px 0;
}

.events-archive .entry-content, .events-archive .entry-header {
    width: auto !important; /* we can do this because we're using the border box model */
}

.submit-event {
    margin-bottom: 10px;
    text-align: center;
    font-size: 150%;
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	height: 25px;
    background-color: #e1e06b;
    font-family: 'PT Sans';
    font-size: 12px;
    color: #595959;
    padding-top: 2px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}
