/*
Theme Name: Vermont Digital Economy Project Theme
Theme URI: http://snellingcenter.org
Description: A simple responsive theme designed for the needs of local municipalities. Based on the Bootstrap framework and the WP-Boostrap Theme by 320press. Includes multiple page templates, sidebars on either right or left hand side.
Version: 1.0
Author: TWM
Author URI: http://timewavemedia.com
Tags: one-column, two-columns, flexible-width, full-width-template
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/
/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
h1, h2, h3, h4, h5 {
	color: #304a30;
	font-family: 'Bookman', sans-serif !important;
}
.boxbg {
	padding: 15px;
	margin-bottom: 20px;
	min-height: 350px !important;
	background-color: #fafafa;
	border: 1px solid #CCC;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px; /* future proofing */
	-khtml-border-radius: 10px; 
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 0, 0, 0.1) inset;
}

.hero-unit {
	background-color: inherit;
}

a, a:visited { color: #333;}

.page-header h1 a, a:visited {color: #304a30;}
.page-header {margin-left:20px;}

input[type="email"] {
	margin-bottom: 0;
}

/* footer */
.footer {
	margin: 0 -20px;
	background-color: #517638;
	color: #FFF;
	padding-top:30px;
	height: 210px;
	border-top: solid 5px #555;
}
.footer .container {
	max-width: 1040px;
}
#inner-footer a, a:visited {
		color: #fff;
	}

/* homepage buttons */

.buttons-small {
	background-color: #8db604;
	padding: 10px 10px 0 10px;
	color: #FFF;
	text-align: center;
	margin-left: -20px;
	margin-right: -40px;
	font-size: 14px;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
.container-fluid #buttons-small-inner {
	background-color: #8db604;
	margin: 0 auto;
	max-width: 1020px;
	padding-left: 10px;
	padding-right: 10px;
}
.buttons-small a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
}
.buttons-small a:visited {
	color: #fff;
	text-decoration: none;
}
.buttons-small a:hover {
	color: #666;
	text-decoration: none;
}

.container-fluid #buttons {
	padding-top: 40px;
	background-color: #FFF;
	
	margin-left: -20px;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
.container-fluid #small-buttons {
	
	padding-left: 20px;
	padding-right: 20px;
}
.container-fluid #buttons-inner {
	background-color: #FFF;
	margin: 0 auto;
	max-width: 1020px;
	padding-left: 0;
	padding-right: 10px;
}


.container-fluid #content {
	margin-top: 100px;
}
#nav-bg {
	width: 100%;
	margin-top: 8px;
	background-color: #fff;
	height: 42px;
	z-index: 99;
	border-bottom: 1px solid #e6e6e6;
	box-shadow: 0px -1px 10px 0px #242424;
	-webkit-box-shadow: 0px -1px 10px 0px rgba(00, 00, 00, .1);
	-moz-box-shadow: 0px -1px 10px 0px rgba(00, 00, 00, .1);
	-o-box-shadow: 0px -1px 10px 0px rgba(00, 00, 00, .1);
}

/* sticky menu */
.sticky_menu_top #sticky_menu {
	top: 80px;
	margin-left: 1px;
	border-bottom: none;
	border-right: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
}
.sticky_menu_top #sticky_menu>li>ul.sub-menu {
    position: absolute;
    z-index: 9;
    top: 51px;
    left: 0px;
    display: none;
}
.sticky_menu_top #sticky_menu div.sub-menu {
	position: absolute;
	z-index: 9;
	top: 51px;
	left: -1px;
	display: block;
	display: none;
	margin: 0;
	width: 100%;
}
.navbar-fixed-top, .navbar-fixed-bottom {
	background-color: #517638;
	height: 75px;
	border-bottom: 1px solid #ccc;
}


header .logo{
	padding: 0 0px 20px 0;
	margin-left: 50px;
}

header .logo h1{
	font-size: 30px;
	line-height: 25px;
	margin-bottom: -5px;
}

header .logo h1 a, header .logo h1 a:visited, header .logo h1 a:hover{
	color: #fff;
	text-decoration: none;
}

header .logo .hmeta{
	color: #777;
}
header #search {
	float: right;
}


header .form{
	text-align: right;
	margin: 0 auto;
	width: 400px;
	padding-top: 12px;
}



 /* Carousel */
 	#carousel-crop {
 		
 		margin: 0 auto;
 	}
    .carousel {
      margin-bottom: 60px;
      margin: -20px -20px 0 -20px;

    }

    .carousel .container {
      position: relative;
      z-index: 9;
      width: 100%;
    }

	
    .carousel-inner {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	}
	

    .carousel-control {
      height: 80px;
      margin-top: 40px;
      font-size: 120px;
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
      background-color: transparent;
      border: 0;
      z-index: 10;
    }

    .carousel .item {
      height: 500px;
    }
    .carousel img {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
      height: 500px;
    }

    .carousel-caption {
      background-color: transparent;
      position: static;
      max-width: 1200px;
      text-align: center;
      padding: 0 20px;
      margin-top: 200px;
     
    }
    .carousel-caption h1,
    .carousel-caption .lead {
      margin: 0;
      line-height: 1.25;
      color: #fff;
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
    }
    .carousel-caption .btn {
      margin-top: 10px;

    }
    .carousel-fade .carousel-inner .item {
	  opacity: 0;
	  -webkit-transition-property: opacity;
	  -moz-transition-property: opacity;
	  -o-transition-property: opacity;
	  transition-property: opacity;
	}
	.carousel-fade .carousel-inner .active {
	  opacity: 1;
	}
	.carousel-fade .carousel-inner .active.left,
	.carousel-fade .carousel-inner .active.right {
	  left: 0;
	  opacity: 0;
	  z-index: 1;
	}
	.carousel-fade .carousel-inner .next.left,
	.carousel-fade .carousel-inner .prev.right {
	  opacity: 1;
	}

/* mark twain */

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}

/* wp-specific classes */
.wp-caption{
	
}

.wp-caption-text{
	
}

.sticky{
	
}

.gallery-caption{
	
}

/* layout */

body{
	padding-top: 0;
	background-color: #fafafa;
}

/* Admin Top Navigation fixes */

body.admin-bar .navbar-fixed-top{ 
	top: 28px;
	background-color: #fff; 
}

.navbar .brand{
	color: #000 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
	font-weight: bold !important;
}

.nav-container{
	padding-left: 0;
	padding-right: 0;
}

#inner-header{
	width: 100%;
}

input, textarea, select, .uneditable-input {
	margin-bottom: 0;
}

.navbar-form, .navbar-search {
	margin: 0 -20px 5px;
}

.navbar-search{
	padding-left: 0;
}

#s{
	width: 100px;
}

#content{
	padding: 10px 0 0;
}

.more-link{
	white-space: nowrap;
}

.footer-links{
	float: right;
	margin-bottom: 18px;
}

.footer-links .menu{
	list-style-type: none;
	margin-left: 0;
}

.footer-links .menu li{
	float: left;
	margin-left: 10px;
}

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

#main article{
	margin-bottom: 18px;
	border-bottom: 1px solid #eeeeee;
	padding: 0 0 9px 15px;
}

.sidebar{
	margin-top: 408px !important;
	padding-right:20px;
}
.sidebar a, a:visited { color: #333;}

#main article footer{
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	min-height: 20px;
}

#main article footer a.edit-post{
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}
.post_content {
	padding: 20px;
}
.post_content a, a:visited {
	color: #0088cc;
}
.post:hover a.edit-post{
	display: inline;
}

p.tags{
	line-height: 20px;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}



#main .hero-unit img{
	margin-bottom: 1em;
}

#main article img{
	height: auto;
	max-width: 100%;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

.post header img{
	margin-bottom: 18px;
}

.archive #main .post h3{
	line-height: 24px;
	margin-bottom: 10px;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

/* page styling */

#featured-carousel .item{
	width: 970px;
	height: 600px;
}

.carousel-caption p{
	display: none;
}

.page-template-page-homepage-php #main article{
	border-bottom: none;
}

.page-template-page-homepage-php .hero-unit,
.blog .hero-unit{
	padding: 1em;
}

.hero-unit h1 {
	font-size: 3em;
}

/* comments */



#comments{
	line-height: 24px;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

.comment .vcard div{
	margin-top: 8px;
	padding: 0 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
	padding-left: 5px;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 0;
	top: 8px;
}

ol.commentlist li.bypostauthor{
	background-color: #dddddd;
}

ol.commentlist ul.children li{
	background-color: #cccccc;
}

ol.commentlist ul.children li ul.children li{
	background-color: #bbbbbb;
}

ol.commentlist ul.children li ul.children li ul.children li{
	background-color: #aaaaaa;
}

ol.commentlist article{
	border-bottom: none !important;
}

a.comment-reply-link{
	position: absolute;
	right: 0;
	bottom: 0;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

.comment .vcard .avatar{
	padding-right: 0;
}

.comment .vcard .comment-text{
	margin-left: 0;
}

img.avatar{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #dedede;
	border-right: 1px solid #dedede;
	border-left: 1px solid #ddd;
	
}

ol.commentlist li{
	padding-right: 10px;
	background-color: #F0F0F0;
}

#pings{
	margin-bottom: 9px;
}

ol.pinglist{
	list-style-type: none;
	margin: 0 0 9px 0;
}

#comment{
	width: 270px;
}

ol.commentlist #respond{
	padding: 5px 10px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

.ie8 #main .media-grid img{
	max-height: none !important;
	max-width: none !important;
}

.attachment-img{
	margin-bottom: 18px;
}

.metadata p.alert-message{
	margin-right: 0;
	margin-bottom: 18px;
}

#gallery-nav{
	list-style-type: none;
	margin-left: 0;
}

li.next a, li.previous a{
	position: relative;
}

li.next a:hover:before{
	content: "\2190";
	position: absolute;
	display: block;
	top: 42%;
	left: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before{
	content: "\2192";
	position: absolute;
	display: block;
	top: 42%;
	right: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}


/* widget styles */

.widget{
	margin-bottom: 18px;
}

.widgettitle{
	margin-bottom: 20px;
	font-weight: 700;
	text-align: center;
}
#text-2 .widgettitle{
	text-align: center;
	color: #304a30;
}
#text-3 .widgettitle{
	text-align: center;
	color: #304a30;
}
#text-4 .widgettitle{
	text-align: center;
	color: #304a30;
}
#text-5 .widgettitle{
	text-align: left;
	color: #fff;
}
#text-6 .widgettitle{
	text-align: left;
	color: #fff;
}
#text-7 .widgettitle{
	text-align: left;
	color: #fff;
}
#tag-cloud{
	margin-bottom: 18px;
	line-height: 160%;
}

/* for some reason the bs version currently available for download doesn't have this style */
.label{
	text-transform: uppercase;
}

/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover,
.tags a:hover{
	color: #ffffff;
	text-decoration: none;
}

#tag-cloud a{
	white-space: pre;
	text-transform: uppercase;
}

/* change default form padding for search */

.widget_search form{
	padding-left: 0;
}

.widget_search input{
	width: 121px;
}

/* calendar widget */

#calendar_wrap{
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
}

#wp-calendar{
	width: 100%;
	
}

#wp-calendar caption{
	font-weight: bold;
	padding: 8px;
}

#wp-calendar tr{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#wp-calendar tr:last-child{
	border-bottom: none;
}

#wp-calendar td{
	text-align: center;
	padding: 8px 0;
}

blockquote.pull-left{
	padding-right: 15px;
}

@media (max-width: 480px) {
	.navbar-fixed-top {
	background-color: #517638;
	height: 96px;
	border-bottom: 1px solid #ccc;
	}
	#small-buttons {
	display: none;
	}
	header .logo {
	padding: 0 0 18px 10px;
	}
	header .form {
		width: 280px;
		margin-left: 63px;
		padding: 0;
	}
	#s {
		width: 200px;
		margin: 0 auto 10px auto;
	}
	#nav-bg {
		display: none;
	}
	#sidebar2 {
	margin-top: 0 !important;
	}
	.sidebar {
	margin-top: 0 !important;
	}
	.container-fluid #content {
	padding-top: 0px;
	margin-top: 0;
	}
	.carousel-inner {
	display:none;
	}
	.carousel-caption {
	margin-top: 70px;
	}
	.carousel-control {
      margin-top: 0px;
      display: none;
  }
  .footer {
	height: 605px;
	padding: 20px 20px 0 20px;
	}
}
@media only screen and (min-width: 480px) and (max-width: 768px) {
	header .logo {
	padding: 0 0 18px 0;
	text-align: center;
	}
	header .form {
		padding: 0 0 0 100px;
		width: 250px;
		margin: 0 auto;
	}
	#small-buttons {
	display: none;
	}
	#nav-bg {
		display: none;
	}
	.navbar-fixed-top {
	background-color: #517638;
	height: 96px;
	border-bottom: 1px solid #ccc;
	}
	header #search {
	text-align: center;
	}
	#s {
		width: 200px;
	}
	#sidebar2 {
	margin-top: 0 !important;
	}
	.sidebar {
	margin-top: 0 !important;
	}
	.container-fluid #content {
	padding-top: 0px;
	margin-top: 0;
	}
	.carousel-inner {
	height: 300px;
	display: inherit;
	}
	.carousel-control {
		display: inherit;
	}
	.carousel-caption {
	margin-top: 70px;
	}
	.carousel-control {
      margin-top: 0px;
  }
  .footer {
	height: 605px;
	padding: 20px 20px 0 20px;
	}
}



@media only screen and (min-width: 768px) and (max-width: 980px) {
	header .logo {
	padding-left: 60px;
	padding-top: 7px;
	margin-left: 0;
	}
	header .form {
	margin-right: 101px;
	padding: 8px 0 0 10px ;
	float: center;
	width: 275px;
	}
	#small-buttons2 {
	display: none;
	}
	#small-buttons {
	display: inherit;
	}
	#s {
		width: 200px;
		margin-top: 8px;
	}
	.navbar-search > .pull-right {
		float: right;
	}
	#nav-bg {
	display: none;
	}
	.navbar-fixed-top, .navbar-fixed-bottom {
	background-color: #517638;
	height: 60px;
	border-bottom: 1px solid #ccc;
	}
	#sidebar2 {
	width: 240px;
	margin-top: 0 !important;
	}
	.container-fluid #content {
	padding-top: 0px;
	margin-top: 0px;
	}
	.sidebar{
	margin-top: 50px !important;
	}
	.carousel-inner {
	height: 350px;
	}
	.carousel-caption {
	margin-top: 70px;
	}
	.carousel-control {
      margin-top: 0px;
  }
  	.footer {
	height: 240px;
	}
}

@media only screen and (min-width: 980px) {
	header .logo {
	padding: 10px 0 0 10px;
	margin-left: -35px;
	}
	header .form {
	margin-right: 0;
	padding: 18px ;
	width: 200px;
	}
	#small-buttons2 {
	display: none;
	}
	.carousel-inner {
	height: 400px;
	}

	body{
		padding-top: 60px;
	}
	.container-fluid{
		max-width: 100%;
		margin: -14px auto;
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 10px;
		background: url(https://westfordvt.us/wp-content/uploads/2014/09/bedge_grunge.png) repeat left center fixed; 
  		opacity: 0.95;
	}
	
	#inner-footer{
		padding: 0;
	}

	
	#content{
		margin: 0 auto;
		padding-left: 0;
		padding-right: 20px;
		max-width: 1020px;
		background-color: #fafafa;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 0, 0, 0.1) inset;
	border-radius: 250px 250px 0 0 / 4px 4px 0 0;
	}
	

	
	.topbar-inner{
		padding: 0;
	}
	
	.topbar form.pull-right {
		float: right;
	}
	
	.navbar-form, .navbar-search {
		margin-top: 6px;
		margin-bottom: 0;
	}
	
	.navbar-search{
		padding-left: 0;
	}
	
	.sidebar{
		margin-top: 60px !important;
	}
	
	.widget_search input{
		width: 230px;
	}
	
	.blog .hero-unit{
		margin-top: 10px;
	}
	
	.page-template-page-homepage-php .hero-unit,
	.blog .hero-unit{
		padding: 60px;
	}
	
	.hero-unit h1 {
		font-size: 60px;
	}
	
	/* hide edit comment button and show on hover on desktop version */
	.edit-comment{
		display: none;
	}
	
	.vcard:hover .edit-comment{
		display: inline-block;
	}
	
	#s{
		width: 210px;
		margin-bottom: 6px;
	}
	
	.widget_search input{
		width: 209px;
	}
	
	.comment .vcard .comment-text{
		padding-left: 0;
		padding-right: 0;
	}
	.navbar-fixed-top, .navbar-fixed-bottom {
	background-color: #517638;
	height: 75px;
	border-bottom: 1px solid #ccc;
	}
	.footer {
	height: 230px;
	}

}
@media only screen and (min-width: 980px) and (max-width: 1020px) {
	header .logo {
	padding: 12px 0 0 20px;
	margin: 0;
	}
	header .form {
	margin-right: 40px;
	padding: 18px 40px 0 0;
	width: 200px;
	}
	#small-buttons2 {
	display: none;
	}
	#s {
	width: 210px;
	}
	#nav-bg {
	display: none;
	}
	.navbar-fixed-top, .navbar-fixed-bottom {
	background-color: #517638;
	height: 75px;
	border-bottom: 1px solid #ccc;
	}
	#sidebar2 {
	width: 260px;
	}
	.container-fluid #content {
	margin-top: 70px;
	}
	.carousel-inner {
	height: 400px;
	}
	.footer {
	height: 230px;
	}
	.container-fluid{
		background: url(https://westfordvt.us/wp-content/uploads/2014/09/bedge_grunge.png) repeat left center fixed; 
		margin-top: -20px;
	}
}
@media only screen and (min-width: 1020px) and (max-width: 1200) {
	#sidebar2 {
	width: 260px;
	}
	.container-fluid{
		background: url(https://westfordvt.us/wp-content/uploads/2014/09/bedge_grunge.png) repeat left center fixed; 
		margin-top: -20px;
	}
	#small-buttons2 {
	display: none;
	}
	
}

@media only screen and (min-width: 1200px) {
	header .logo {
	margin-left: 80px;
	margin-top: 0;
	}
	header .form {
	margin-right: 90px;
	}
	#small-buttons2 {
	display: none;
	}
	.navbar-fixed-top, .navbar-fixed-bottom {
	background-color: #517638;
	height: 75px;
	border-bottom: 1px solid #ccc;
	}

	#sidebar2 {
	width: 280px;
	}
	.container-fluid{
		background: url(https://westfordvt.us/wp-content/uploads/2014/09/bedge_grunge.png) repeat left center fixed; 
		margin-top: -20px;
	}
	.footer {
	height: 230px;
	}
}