/*
Theme Name: Constellation
Version: 1.1
Theme URI: http://http://constellationtheme.com/
Description: The Constellation Theme is an assemblage of awesome resources, put together to form an extremely flexible WordPress foundation.
Author: Ninety Degrees
Author URI: http://ninetydegrees.co/
*/

/*--[ HTML5 Boilerplate RESET ]--------------------------------------------------------------------------------*/
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,figure,footer,header,hgroup,menu,nav,section,menu,time,mark,audio,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
article,aside,figure,footer,header,hgroup,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

/*--[ HTML5 Boilerplate MINIMAL BASE STYLES ]--------------------------------------------------------------------------------*/
table { font-size:inherit; font:100%; }
select, input, textarea { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; } 
body, select, input, textarea { color:#444; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }
html { -webkit-font-smoothing: antialiased; }
a:hover, a:active { outline: none; }
a { color:#607890; }
a:hover { color:#036; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { padding: 15px; white-space: pre; /* CSS2 */ white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
::-moz-selection{ background: #9999FF; color:#fff; text-shadow: none; }
::selection { background:#9999FF; color:#fff; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #FF5E99; } 
html { overflow-y: scroll; }
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

/*--[ HELPER CLASSES ]--------------------------------------------------------------------------------*/
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; } /* for image replacement */
.hidden { display:none; visibility:hidden; }  /* Hide for both screenreaders and browsers */
.visuallyhidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); } /* Hide only visually - available for screenreaders */
.invisible { visibility: hidden; } /* Hide visually and from screenreaders, but maintain layout */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }

/*--[ Layout ]--------------------------------------------------------------------------------*/

html {
	font: 62.5% "Helvetica Neue", Helvetica, Arial, sans-serif; /* Reset to 10px equivilent */
	text-align: center;
	/*background: #11161C url(images/body.png);*/
	background-color:#F0F0FF;
}
body {
	text-align: left;
	color: #444;
	font-size:1.6em; /* 16 px equiv */
	line-height: 1.5em; /* 24px equiv */
	position: relative;
	background:rgba(255,255,255,0.95);
	-moz-border-radius:10px; 
	-webkit-border-radius:10px; 
	-khtml-border-radius:10px; 
	-o-border-radius:10px; 
	border-radius:10px;
}
#main {
	overflow: hidden;
	zoom: 1;
	clear: both;
}
#footer {
	overflow: hidden;
	zoom: 1;
	border-top:1px solid #eee;
	clear: both;
	padding: 1em 0 0 0;
}

#main-nav ul {padding:1em 0; border-top:1px solid #eee; border-bottom:1px solid #eee; overflow: hidden; zoom:1; margin:0;}

/*--[ Anchors ]--------------------------------------------------------------------------------*/

a { color: #3777AF; text-decoration: none; font-weight: bold; }
a:hover, a:focus { color: #5999cf; text-decoration: none; }

/*--[ Typography ]--------------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 { color:#222; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color:#3777AF;}

.rgba h1, .rgba #logo, .rgba h2, .rgba h3, .rgba h4, .rgba h5, .rgba h6 { text-shadow: 1px 1px 0 rgba(205,205,205,0.95) }

h1 { font-size:2em; line-height: 1.125em; margin: 0.75em 0 0.375em 0; letter-spacing: -.05em; } /* 32px font, line height 36, margin-top 24, margin bottom 12 */
h2 { font-size:2em; line-height: 1.125em; margin: 0.75em 0 0.375em 0; letter-spacing: -.05em; font-weight: bold; } /* 32px equiv size */
h3 { font-size:1.625em; line-height: 1.384em; letter-spacing: -.035em; margin: 0.9231em 0 0.462em 0; } /* 26px equiv */
h4 { font-size:1.25em; line-height: 1.2em; margin-top:1.2em; } /* 20px equiv */
h5 { font-size:1.125em; line-height: 1.3333em; margin-top:1.3333em; } /* 18px equiv */
h6 { font-size:0.875em; line-height: 1.7143em; margin-top:1.7143em; text-transform: uppercase; } /* 14px equiv */

#logo {font-size:2em; line-height: 1em; margin: 0 0 1em; padding: 0; font-weight: bold; letter-spacing: -.05em;}

p, ul, ol, dl, blockquote, hr, pre, table, fieldset, article, article footer, nav {
	margin: 0 0 1.5em 0;
	line-height: 1.5em;
}

article ul {
	margin: 0 0 2em 2em;
	list-style: disc outside;
}
article ol {
	margin: 0 0 2em 2em;
	list-style: decimal outside;
}
article blockquote {
	margin: 0 0 1.25em 2.5em;
	font-family: cambria, georgia, times, serif;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: #f6f6f6;
	padding: 1.19em 1.25em 0;
	font-style: italic;
}

small {font-size:0.6875em;}

/*--[ Images ]--------------------------------------------------------------------------------*/

.wp-post-image,
img.alignright, 
img.alignleft, 
img.aligncenter {
	padding: 4px;
	background: #fff;
	border: 1px solid #eee;
	outline: 4px solid #f6f6f6;
}
a:hover .wp-post-image, a:focus .wp-post-image {
	padding: 1px !important;
	border: 3px solid #ffe084 !important;
}
.alignleft{
	float: left;
	clear: left;
	margin: 0.38em 1.62em 0.38em 0;
}
.alignright {
	float: right;
	clear: right;
	margin: 0.38em 0 0.38em 1.62em;
}
.aligncenter {
	margin: 0 auto 1.62em;
	display: block;
}
div.wp-caption {
	text-align: center;
	background: #11161a;
	border: 1px solid #1a1f23;
	outline: 4px solid #0d1015;
	padding: 0 !important;
	text-align: center !important;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
div.wp-caption img {
	margin: 0;
	padding: 5px 5px 0;
	outline: 0;
	border: 0;
}
p.wp-caption-text {
	margin: 0 !important;
	padding: 0 3px 3px !important;
	font-weight: bold;
	clear: both;
	font-size: 0.92em;
	color: #eee;
}

/*--[ Comments ]--------------------------------------------------------------------------------*/

#comment {
	width: 100%;
	height: 150px;
}
#respond {
	margin-top: 20px;
}
.comment_container {
	position: relative;
}
ol.comment-list {
	margin: 0 0 15px !important;
	}
ol.comment-list img.avatar {
	margin: 8px 10px 0 0;
	padding: 4px;
	position: absolute;
	left: 0;
	top: 0;
	border: 1px solid #1a1f23;
}
ol.comment-list li {
	margin: 0;
	padding: 8px 0 8px 64px;
	list-style: none;
	overflow: hidden;
	position: relative;
}
ol.comment-list li header {
	margin: 0;
	line-height: 1.5em;
}
ol.comment-list li article nav {
	float: right;
}
ol.comment-list li ul {
	margin: 8px 0 0 !important;
}
ol.comment-list li li {
	border: 0;
	margin: 0 0 0 68px !important;
	padding: 0 0 8px;
}
ol.comment-list li .comment-text {
	border: 2px solid #ebebeb;
	overflow: hidden;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 10px 10px 0;	
	}
ol.comment-list li.bypostauthor .comment-text, ol.comment-list li.bypostauthor img.avatar {
	border-color: #D4E2EB;
}
ol.comment-list li .comment-text p {
	margin: 0 0 10px !important;
	}
ol.comment-list li p.meta {
	font-weight: normal;
	background: transparent;
	padding: 0;
	font-style: italic;
	color: #777;
	font-size: 0.9em;
	margin: 0 0 10px !important;
	}
ol.comment-list li p.meta strong {
	font-weight: bold;
	}
#respond {
	margin-bottom: 15px;
	}
#respond input.text, #respond select, #respond textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.widget_search input#s {
	border: 1px solid #eee;
	background: #f6f6f6;

	color: #777;
	font-size: 1em;
	line-height: 1em;
	padding: 0.375em;
	width: 50%;
	margin: 0 4px 0 0;
	outline: 0;
	display: block;
}

#respond input.text:focus, #respond select:focus, #respond textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.widget_search input#s:focus { border:1px solid #ccc; }
.borderradius #respond input.text, .borderradius #respond select, .borderradius #respond textarea,
.borderradius .comment-form-author input,
.borderradius .comment-form-email input,
.borderradius .comment-form-url input,
.borderradius .widget_search input#s {
	-moz-border-radius:0.5em;
	-webkit-border-radius:0.5em;
	-khtml-border-radius:0.5em;
	-o-border-radius:0.5em;
	border-radius:0.5em;
}
#respond textarea {
	width: 98%;
	margin-right: 0;
}
#respond label {
	font-size: 1em;
	font-weight: bold;
}	

.button, #submit, .widget_search #searchsubmit {
	
	padding:.75em 1em;
	background:#578724;
	border:1px solid #578724;
	background-image: -moz-linear-gradient(top, #A0C015, #578724); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #A0C015),color-stop(1, #578724)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#A0C015', EndColorStr='#578724'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#A0C015', EndColorStr='#578724')"; /* IE8 */
	border-bottom:1px solid rgba(0,0,0,0.6);
	color:#fff;
	text-shadow:0 -1px rgba(0,0,0,0.5);
	-moz-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-webkit-moz-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-khtml-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-o-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-moz-border-radius:0.5em;
	-webkit-border-radius:0.5em;
	-khtml-border-radius:0.5em;
	-o-border-radius:0.5em;
	border-radius:0.5em;
	text-transform: uppercase;
	text-decoration: none;
	color:#fff;
	text-shadow: 0 -1px rgba(0,0,0,0.3);
	cursor: pointer;
	font-weight: bold;
}
.button:hover, #submit:hover, .widget_search #searchsubmit:hover {
	background:#AFCF24;
	background-image: -moz-linear-gradient(top, #AFCF24, #578724); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #AFCF24),color-stop(1, #578724)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#AFCF24', EndColorStr='#578724'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#AFCF24', EndColorStr='#578724')"; /* IE8 */
	color:rgba(0,0,0,0.8);
	text-shadow: 0 1px rgba(255,255,255,0.3);
}

.button.green {
	background:#578724;
	background-image: -moz-linear-gradient(top, #A0C015, #578724); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #A0C015),color-stop(1, #578724)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#A0C015', EndColorStr='#578724'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#A0C015', EndColorStr='#578724')"; /* IE8 */
	border-bottom:1px solid rgba(0,0,0,0.6);
	color:#fff;
	text-shadow:0 -1px rgba(0,0,0,0.5);
	-moz-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-webkit-moz-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-khtml-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-o-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	box-shadow:0 1px 2px rgba(0,0,0,0.6);
}

.button.green:hover {
	background:#AFCF24;
	color:#fff;
	background-image: -moz-linear-gradient(top, #AFCF24, #578724); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #AFCF24),color-stop(1, #578724)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#AFCF24', EndColorStr='#578724'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#AFCF24', EndColorStr='#578724')"; /* IE8 */
	border-bottom:1px solid rgba(0,0,0,0.6);
	-moz-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-webkit-moz-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-khtml-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	-o-box-shadow:0 1px 2px rgba(0,0,0,0.6);
	box-shadow:0 1px 2px rgba(0,0,0,0.6);
}

.button:active, #submit:active, .widget_search #searchsubmit:active, .button.green:active {position: relative; top:1px;}

/*--[ Widgets ]--------------------------------------------------------------------------------*/
.widget_search {
	overflow: hidden;
	zoom: 1;
}
.widget_search input#s {
	float: left;
	width: 50%;
}
.widget_search #searchsubmit {
	font-size: 0.875em;
	padding: 0 1em;
	border: 0;
	margin: 1px 0 0 0;
	line-height: 2.29em;
}
.widget_search label { display: none; }	

.widget_categories ul, 
.widget_archive ul, 
.widget_links ul,
.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_meta ul,
.widget_pages ul,
.widget_rss ul,
.widget_pages ul,
.widget_nav_menu ul,
.widget_categories ul {
	padding: 0;
	list-style-type: none;
} 
.widget_archive ul li, 
.widget_links ul li,
.widget_recent_entries ul li,
.widget_recent_comments ul li,
.widget_meta ul li,
.widget_rss ul li,
.widget_pages ul li,
.widget_nav_menu ul li,
.widget_categories ul li {
	display: block;
}
.widget_archive ul li a,
.widget_links ul li a,
.widget_recent_entries ul li a,
.widget_recent_comments ul li a,
.widget_meta ul li a,
.widget_rss ul li a,
.widget_pages ul li a,
.widget_nav_menu ul li a,
.widget_categories ul li a {
	text-decoration: none;
} 
.widget_archive ul li a:hover, .widget_archive ul li a:focus,
.widget_links ul li a:hover, .widget_links ul li a:focus,
.widget_recent_entries ul li a:hover, .widget_recent_entries ul li a:focus,
.widget_recent_comments ul li a:hover, .widget_recent_comments ul li a:focus,
.widget_meta ul li a:hover, .widget_meta ul li a:focus,
.widget_rss ul li a:hover, .widget_rss ul li a:focus,
.widget_pages ul li a:hover, .widget_pages ul li a:focus,
.widget_nav_menu ul li a:hover, .widget_nav_menu ul li a:focus,
.widget_categories ul li a:hover, .widget_categories ul li a:focus {
	text-decoration: underline;
}
.widget_tag_cloud div { padding: 0;	overflow: hidden; }
.widget_tag_cloud a { line-height: 1.62em; }
.widget_tag_cloud a:hover, .widget_tag_cloud a:focus { text-decoration: underline; }

/*--[ 6 COL LAYOUT ]--------------------------------------------------------------------------------*/

/*
	Default 6-column, 768 px layout for iPads, netbooks, and IE
	(All other layouts inherit styles from this layout)
	-----------------------------------------------------------
	1      2      3      4      5      6     
	76px  200px  324px  448px  572px   696px  (48px gutters)
*/

body {
	padding: 44px 36px 24px;
	width: 798px;
	margin:20px auto;
	font-size:1.4em;
}

#main-content { width:548px; margin-right:48px; float: left;}
#sidebar { width:200px; float: left;}

#main-nav ul li {  float: left; margin-right:24px; position: relative; }
#main-nav ul li a { display: block; }
#main-nav ul li ul { left: -999em; top: 0; position: absolute; background: #fff; border: 1px solid #eee; border-top: 0; margin: 2.5em 0 0 0 !important; padding: 0 !important; line-height: 1em; }
#main-nav ul li:hover ul { left: auto; width: 15em; }
#main-nav ul li:hover ul ul { left: -999em; margin: 0; }
#main-nav ul ul li:hover ul { left: 15em; margin-top: -1px !important;] }
#main-nav ul ul li { display: block; float: none; padding: 0 !important; margin: 0 !important; border-top: 1px solid #eee; }
#main-nav ul ul li a { display: block; padding: 1em; }

#subpages { 
	width: 198px; 
	float: right; 
	margin: 0 0 1.5em 1.5em;
}
#subpages ul {
	list-style: none outside;
	margin: 0;
	padding: 1.4375em;
}
#subpages ul li { line-height: 1.5em; }

/* Turn off dropdown nav for this layout */
#main-nav ul li ul { display:none; }

.boxshadow #main-nav ul li ul { -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.2); box-shadow: 0px 1px 2px rgba(0,0,0,0.2); }

.paging { overflow: hidden; zoom: 1; }
.paging .prev { float: left;}
.paging .next { float: right; }
article blockquote { margin-left: 0 }
#main-content article {margin-bottom:4em;}


/*--[ 9 COL LAYOUT ]--------------------------------------------------------------------------------*/


/* 
	9-column, 1224 px layout for desktops and laptops
	------------------------------------------------------------------------
	1      2      3      4      5      6      7      8      9
	82px  212px   342px  472px  602px  732px  862px  992px 1122px   (48px gutters)
*/

@media only screen and (min-width: 1224px) {
	
	body {
		padding: 64px 48px 64px;
		width: 1122px;
		font-size:1.6em;
	}
	
	#main-content { width:732px; margin-right:48px; float: left;}
	#sidebar { width:342px; float: left;}
	
	/* Turn on dropdown nav for this layout */
	#main-nav ul li ul { display:block; }
	
	#subpages { width: 210px; }
		
}

/*--[ 12 COL LAYOUT ]--------------------------------------------------------------------------------*/

/* 
	12-column, 1824 px layout for gigantic screens   (48px gutters)
	---------------------------------------------------------------------------------------
	1      2      3      4      5      6      7      8       9       10      11      12
	98px  244px  390px  536px  682px  828px  974px  1120px  1266px  1412px  1558px  1704px
*/

@media only screen and (min-width: 1925px) { /*1824px*/
	
	body {
		padding: 96px 60px;
		width: 1704px;
		font-size:2em;
	}
	
	#main-content { width:1120px; margin-right:48px; float: left;}
	#sidebar { width:536px; float: left;}
	#sidebar .widget {width:244px; float:left; margin-right:48px;}
	#sidebar .widget:nth-child(even) {margin-right:0;}
	
	/* Turn on dropdown nav for this layout */
	#main-nav ul li ul { display:block; }
	
	#subpages { width: 242px; }
	
}

/*--[ 2 COL LAYOUT ]--------------------------------------------------------------------------------*/


/* 
	2-column, 320 px layout for smartphones
	---------------------------------------
	1      2
	120px  264px   (24px gutters)
*/

@media only screen and (max-width: 767px) {
	
	body {
		padding: 48px 18px 0;
		width: 85vw;
		font-size:1.4em; /* Set to 14 px for smart phones creating 28px vertical rhythm */
		line-height: 1em;
	}
		
	#main-nav ul li {width:150px; float:left; margin-right:24px}
	#main-nav ul li:nth-child(even) {margin-right:0;}
		
	#main-content { width:85vw; margin:0; float: none;}
	#sidebar { width:85vw; margin:0; float: none;}
	
	article blockquote { margin-left: 0 }
	
	/* Turn off dropdown nav for this layout */
	#main-nav ul li ul { display:none; }
	
	#subpages { width: 85vw; margin-left: 0; float: none; }
	
}

/*--[ PRINT STYLES ]--------------------------------------------------------------------------------*/
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }

  a, a:visited { color: #444 !important; text-decoration: underline; }

  a:after { content: " (" attr(href) ")"; } 

  abbr:after { content: " (" attr(title) ")"; }
  
  .ir a:after { content: ""; }  /* Don't show links for images */
  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  
  img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }

  p, h2, h3 { orphans: 3; widows: 3; }

  h2, h3{ page-break-after: avoid; }
}
