/*
Theme Name: Creative Citizens Theme
Theme URI: http://www.studiohead.com
Description: Designed specifically for Creative Citizens
Author: Matthew Harrison
Version: 1.1
Tags: Creative Citizens
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

/* general */

*{/* fixes spacing problems in IE */
	margin: 0;
	padding: 0;
	border: none;
}

img {
border:none;
}

img a {
border:none;
}

body{
	font-size: 0.8em;
	line-height: 1.5em;
	font-family: 'Open Sans', Arial, sans-serif;
	color: #666666;
	margin: 10px 0px;
	background-color: #B4D3D0;
}


#container {
	margin: 0 auto;
	width: 960px;
	background-color: #FFFFFF;
	padding:20px;
}


/* content */

#content {
	width: 70%;
	padding: 10px 0px;
	margin: 0;
	float:left;
}

.anyexcerpt {
	background-color: #e5f1ef;
	padding: 20px;
	margin-bottom: 10px;
	min-height: 240px;
}

.excerptthumb {
	float:left;
	margin: 0 10px 10px 0;
	
}

.excerptthumb img {
	border: 1px solid #015B55;
	}


/* ---------typeography--------- */


h1, h2, h3, h4, h5 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 600;
	color: #3E3E3E;
	padding: 0 0 20px 0;
}

p, small {
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: normal;
	color: #333333;
	padding: 0 0 20px 0;
}

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

a:hover {
	text-decoration: underline;
	color: #1F5955;
}


strong {
	font-weight: bold;
}


.purplec {
	color: #9B1A80;
}

.orangec {
	color: #F4901D;
}

.pinkc {
	color: #E6296D;
}


/* ---------navgiation--------- */

#topnav{
	width:100%;
	height: auto;
	margin-bottom: 3px;
	padding:0 0 5px 0;
}

#topnav li {
	display: inline-table;
	font-weight: 600;
	margin: 0 1px 5px 0;
	min-height: 20px;
	text-align: center;
	list-style: none;
	padding: 0;
}

#topnav li a{
	display: block;
	color: #FFFFFF;
	padding: 5px 10px;
	
}

#topnav li a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

.short {
	/* width: 13%; */
	width: 140px;
}

.long {
	width: 170px;
	/* width: 19%; */
}

.last {
	width: 145px;
}

.greenback a {
	background-color: #459390;
}

.greenback a:hover {
	background-color: #01413C;
}

.purpleback a {
	background-color: #9B1A80;
}

.purpleback a:hover {
	background-color: #75005F;
}

.orangeback a {
	background-color: #F4901D;
}

.orangeback a:hover {
	background-color: #B27000;
}

.pinkback a {
	background-color: #E6296D;
}

.pinkback a:hover {
	background-color: #A9004D;
}

#topnav li a:hover {
	text-decoration: none;
}

#subnav{
	width:100%;
	min-height: 20px;
	margin-bottom: 5px;
	padding:0 0 10px 0;
	clear:both;
}

#subnav li {
	float: left;
	font-weight: 600;
	padding: 0 10px;
	list-style: none;
	color: #459390;
	text-decoration: none;
	border-right: 1px solid #459390;
	margin-bottom: 5px;
	}

#subnav li a {	
	display: block;
		}

#subnav li a:hover {
	text-decoration: underline;
	color: #B4D3D0;
	}
	
#subnav li:last-child {
	border-right: none;
	}
	
.page_item a{
	color: #459390;	
}

.current_page_item a{
	color: #F00;
	}


/* ---------headers--------- */

#header {
	margin: 0 0 10px 0;
	padding: 0;
	width:100%;
	height: 270px;
	background-image: url("_img/title-home.jpg");
	/* background-image: url("_img/title-home.jpg"); */
	background-repeat: no-repeat;
	clear:both;
}


#headerlogoleft {
	float: left;
	width: 249;
	height:72px;
	margin: 165px 0 0 10px;
}

#headerlogoright {
	float: right;
	width: 246;
	height:72px;
	margin: 165px 0px 0 0;
}

#headerlogoright img {
	float:left;
	padding:0;
	margin: 0 10px 0 0;
	opacity:0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}


#headerlogoright img:hover, #headerlogoleft img:hover {
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}

/* --------------footer-------------- */

#footer {
	padding: 30px 10px 40px 20px;
	height:100px;
	margin: 0 auto;
	width: 960px;
}

#footer p, #footer a, #footer a:hover {
	color: #1F5955;
	margin-bottom: 0;
	font-size: 100%;
	line-height: 140%;
}

.footer-right {
	float: right;
	width: 23%;
}

.footer-left {
	float: left;
	width: 26%;
}



/*---- sidebar---*/

#sidebar {
	float:right;
	padding: 0 0 10px 0px;
	width: 28%;
}

ul.sidebarul li {
	list-style: none;
	margin: 10px;
}


#sidebar h2 {
	margin-top: 15px;
	border-top: 2px solid #459390;
	padding-top: 12px;
	padding-bottom: 5px;
	color: #666;
}

.sponsorbox {
	padding:10px;
	
}

.sponsorbox h2{
	margin:0 0 20px 0;
}

.sponsorbox p {
	text-align: center;
}


.twitterbox{
	margin: 25px 0 0 10px;
	border-top: 2px solid #459390;
	padding-top: 12px;
	width:250px;
}

.sponsorbox img{
	float:left;
	display: inline-block;
	margin: 10px;
}



.clearfloat {
	clear:both;
}





/*------------------blog post------------------*/

.sticky{
padding: 20px;
border: 1px solid #ddd;
background: #eee;
margin-top: 10px;
}

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}


.post, .page, .lastestposts {/*border around blog posts*/

padding: 15px;
margin-top: 15px;
border-top: 2px solid #459390;

}

.post img, .page img, .lastestposts img {
	max-width: 600px;
	height: auto;
}


.navigation {
	background-color: #e5f1ef;
	padding: 10px 30px;
}

.post ul li, .page ul li {
	margin: 0 20px 10px 30px;
	
}

.vimvid {
	/* width:90%; */
	margin: 2px auto 20px auto;
	min-height: 300px;
	text-align: center;
	background-color: #D2E5E2;
	padding: 30px 20px 10px 20px;

}

.vimvid p {
	/* color: #FFF; */
	margin-top: 10px;
}

.vimvid iframe {
	border: 1px solid #000;
	-moz-box-shadow: 0 5px 8px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 5px 8px rgba(0,0,0,0.3);
	box-shadow: 0 5px 8px rgba(0,0,0,0.3);
}

/* forms
-------------------------------------------------------------- */

.widget_search input {
	margin: 3px;
	width: 56%;
	padding: 6px;
	border: #015B55 solid 1px;	
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	color: #015B55;
	
	}
	
#searchsubmit {
	
	padding: 7px;
	border: none;
	width: 30%;
	color: #FFF;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	  /* fallback */
	  background-color: #015B55;
	  /* chrome 2+, safari 4+; multiple color stops */
	  background-image:-webkit-gradient(linear, left bottom, left top, color-stop(#299691), color-stop(#015B55));
	  /* chrome 10+, safari 5.1+ */
	  background-image: -webkit-linear-gradient(#299691, #015B55);
	  /* firefox; multiple color stops */
	  background-image: -moz-linear-gradient(top,#299691, #015B55);
	  /* ie8 + */
	  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#299691', endColorstr='#015B55')";
	  /* ie10 */
	  background-image: -ms-linear-gradient(#299691, #015B55);
	  /* opera 11.1 */
	  background-image: -o-linear-gradient(#299691, #015B55);
	  /* The "standard" */
	  background-image: linear-gradient(#299691, #015B55);

}

a.greenbtn {
	
	margin:10px;
	padding: 7px;
	border: none;
	width: 30%;
	color: #FFF;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	  /* fallback */
	  background-color: #015B55;
	  /* chrome 2+, safari 4+; multiple color stops */
	  background-image:-webkit-gradient(linear, left bottom, left top, color-stop(#299691), color-stop(#015B55));
	  /* chrome 10+, safari 5.1+ */
	  background-image: -webkit-linear-gradient(#299691, #015B55);
	  /* firefox; multiple color stops */
	  background-image: -moz-linear-gradient(top,#299691, #015B55);
	  /* ie8 + */
	  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#299691', endColorstr='#015B55')";
	  /* ie10 */
	  background-image: -ms-linear-gradient(#299691, #015B55);
	  /* opera 11.1 */
	  background-image: -o-linear-gradient(#299691, #015B55);
	  /* The "standard" */
	  background-image: linear-gradient(#299691, #015B55);


}

a.greenbtn:hover {
	  background-color: #299691;
	
}

.widget_search label {
	display:none;
}

.widget_search div {
	background-color: #D1E5E2;
	padding: 10px 10px 15px 10px;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

/* =Images from default
-------------------------------------------------------------- */

#content img {
	margin: 0;
	height: auto;
	max-width: 625px;
}
#content .attachment img {
	max-width: 625px;
	height: auto;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #dedede;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
	max-width: 90%;
	height: auto;
}
#content .wp-caption img {
	margin: 5px 5px 0;
	max-width: 90%;
	height: auto;
	}
	
#content .wp-caption p.wp-caption-text {
	color: #015B55;
	font-size: 12px;
	margin: 5px;
}
#content .wp-smiley {
	margin: 0;
}
#content .gallery {
	margin: 0 auto 18px;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}
#content .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* s------------COMMENTS--------- */

#commentsdiv-page {
  background-color: #CEE6E2;
  padding: 10px;
  margin: 20px 0 0 0;
}

#commentsdiv {
  background-color: #CEE6E2;
  padding: 10px;
  margin: 20px 0 0 0;
}

#commentsdiv img,
#commentsdiv-page img {
  width: 32px;
  height: 32px;
  padding: 1px 1px 1px 1px;
}

#commentsdiv ol,
#commentsdiv-page ol,
ol li {
  list-style: none;
  font-size: 1.0em;
}

#commentsdiv h2,
#commentsdiv h3,
#commentsdiv-page h3,
#commentsdiv-page h2 {
  font-size: 1.0em;
}

#commentsdiv p,
#commentsdiv-page p {
  font-size: 1.0em;
}

#commentsdiv a,
#commentsdiv-page a {
  color: #015B55;
}

#commentsdiv a:hover,
#commentsdiv-page a:hover {
  color: #299691;
}

#commentsdiv ol li,
#commentsdiv-page ol li {
  padding: 10px 5px;
  margin: 5px 0 0px 0;
  border-top: 1px solid #999;
}

textarea {
  width: 80%;
  background-color: #FFFFFF;
  border: 1px solid #015B55;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 6px;
}

input {
  width: 50%;
  background-color: #FFFFFF;
   border: 1px solid #015B55;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 6px;
}

submit,
.submit,
#submit {
  margin: 5px;
  padding: 6px 20px;
  width: 180px;
  -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	  /* fallback */
	  background-color: #015B55;
	  /* chrome 2+, safari 4+; multiple color stops */
	  background-image:-webkit-gradient(linear, left bottom, left top, color-stop(#299691), color-stop(#015B55));
	  /* chrome 10+, safari 5.1+ */
	  background-image: -webkit-linear-gradient(#299691, #015B55);
	  /* firefox; multiple color stops */
	  background-image: -moz-linear-gradient(top,#299691, #015B55);
	  /* ie8 + */
	  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#299691', endColorstr='#015B55')";
	  /* ie10 */
	  background-image: -ms-linear-gradient(#299691, #015B55);
	  /* opera 11.1 */
	  background-image: -o-linear-gradient(#299691, #015B55);
	  /* The "standard" */
	  background-image: linear-gradient(#299691, #015B55);
}

submit,
.submit,
#submit,
submit a,
.submit a,
#submit a {
  color: #FFFFFF;
}



/* __ responsive css ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ __ */

.bigCal {
		display: inherit;
	}
	
.mobileCal {
		display: none;
	}



@media screen and (min-width: 400px) and (max-width: 959px) {
	
	#container {/*contains the whole lot*/
		width: 90%;
	}
	
	#content {
		width:100%;
	}
	
	#sidebar {
		width:100%;
	}
	
	li.widget {
		float:right;
		width:30%;
	}
	

	#topnav li {
		margin-right: 1px;
		width: 32%;
	}
	
	.short, .long, .last {
		width:32%;
	}
	
	#headerlogoleft {
		margin: 35px 0 0 10px;
	}
	
	#headerlogoright {
		float: right;
		margin: 35px 0px 0 10px;
	}
	
	#subnav {
		margin: 5px 0;
		clear:both;
		padding-bottom: 10px;
	}
	
	.twitterbox {
		width:76%;
		padding: 20px 12%;
		margin: 10px 0;
	}
	
	#header {
		margin: 20px 0;
	}
	
	#footer {
		width: 90%;
	}
	
	#content img {
		margin: 0;
		height: auto;
		max-width: 90%;
	}
	
	#content .attachment img {
		max-width: 90%;
		height: auto;
	}
	
}


@media screen and (orientation: portrait) {


	#container {
		width: 90%;
	}
	
	h1, h2, h3, h4, p {
		font-size: 1.8em;
		line-height: 1.8em;
	}
	
	li, ol, input{
		font-size: 1.4em;
		line-height: 1.4em;
	}
	
	#topnav{
		height:auto;
		margin-bottom: 5px;
	}

	#topnav li {
		margin-right: 1px;
		height: auto;
		width:48%;
	}
	
	.short, .long, .last {
		width:48%;
	}
	
	#subnav {
		margin: 5px 0 10px 0;
		height: auto;
		clear:both;
	}
	
	#header {
		margin: 10px 0 10px 0;
	}
	
	#content {
		width: 100%;
	}
	
	#headerlogoleft {
		margin: 35px 0 0 10px;
	}
	
	#headerlogoright {
		float: left;
		margin: 35px 0px 0 10px;
	}
	
	#sidebar {
		float:right;
		padding: 10px 0px;
		width: 100%;
		clear: both;
	}
	
	#footer {
		width: 90%;
	}
	
	
	.footer-left {
		float: left;
		width: 50%;
	}
	
	.footer-right {
		float: right;
		width: 50%;
	}
	
	.bigCal {
		display: none;
	}
	
	.mobileCal {
		display: inherit;
	}
	
	.twitterbox {
		width:76%;
		padding: 20px 12%;
		margin: 10px 0;
	}
	
	#content img {
		margin: 0;
		height: auto;
		max-width: 90%;
	}
	
	#content .attachment img {
		max-width: 90%;
		height: auto;
	}
	
	li.widget {
		float:right;
		width:96%;
	}
	
}