/******** DERSINGHAM WALKING GROUP CSS STYLES *******/

/* RESET */

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {	margin: 0;	padding: 0;	border: 0;	font-size: 100%;	font: inherit;	vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	display: block;}body {	line-height: 1;}ol, ul {	list-style: none;}blockquote, q {	quotes: none;}blockquote:before, blockquote:after,q:before, q:after {	content: '';	content: none;}table {	border-collapse: collapse;	border-spacing: 0;}

/* GLOBAL */
body
{
		margin-bottom: 5px;
		border-bottom:1px solid #0085a4;
        background:#c6d4d8;
        font-family: arial, helvetica, sans-serif;
        color: #333;
}

#top-stripe-1{
		width: 100%;
		height: 10px;
		background: #0085A4;
		margin-top: 10px;
}

#top-stripe-2{
		width: 100%;
		height: 5px;
		background: #12a0bf;
		border-bottom: 2px solid red;
}

#top-stripe-3{
		width: 100%;
		background: #c6d4d8;
		text-align: center;
		font-size: 90%;
		padding: 10px;
}

#top-stripe-3 a{
		color: #023a73;
		text-decoration: underline;
		text-transform: uppercase;
}

#wrapper{
		max-width: 960px;
		background: #FFF;
		margin: 0 auto 0 auto;
		padding: 0 20px 20px 20px;
}

p
{
        font-size: 100%;
		margin:5px 0;
        line-height:25px;
}

a
{
        text-decoration:none;
}

b, strong
{
        font-weight: bold;
}


/* HEADER */

header
{
        float: left;
        max-width:75%
        margin: 0 auto 40px auto;
		background-color: #fff;
		background-image: url(village-sign-bg-6.jpg);
		background-repeat: no-repeat;
		background-position: 0;
		margin: 20px 0;
}

header h1
{
        padding: 30px 0 10px 0;
		margin-left: 100px;
        font-size:30px;
        color:#023a73;
		
        
}

header h1:first-letter { font-size: 35px; }

header p
{
        
        font-size: 80%;
        color: #333;
        margin-left:180px;
}

header span{
		font-size: 16px;
		color: #023a73;
}

/* NAVIGATION */

nav {
	max-width:40%;
	float: right;
	text-align:right;
	font-size:90%;
	font-weight: bold;
	margin-top: 20px;
	}
	
nav ul {
	margin-top:0px;
	}
nav ul li {
	list-style:none;
	}
nav ul#nav_left {
	float:left;
	}
nav ul#nav_right {
	float:right;
	}
nav a {
	color:#023a73;
	display: block;
	text-decoration:none;
	padding: 15px 5px 5px 5px;
	}
nav a:hover {
	color:#fff;
	background-color: #023a73;
	display: block;
	text-decoration:none;
	}
	
/* INTRO and SLIDER */

#intro article {
	width:40%;
	height:auto;
	float:left;
	position:relative;
	
	}
	
#intro article h2
{
        font-family: oswald, arial, sans-serif;
		font-weight: 400;
		color: #023a73;
        font-size: 140%;
        margin-bottom:10px;
}

#intro .slider
{
		width: 58%;
		height: auto;
		float: right;
		
}

#intro .slider img
{
		max-width: 100%;
		height: auto;
		float: right;
}

/* Prevent the slideshow from flashing on load */
.slidesjs-container
{
        border-top: 1px #d6d0c1 solid;
}
#slides
{
        display: none
}

/* Center the slideshow */
#intro .container
{
        width:58%;
        margin: 0;
        position:relative;
		float: right;
}

/* MAIN CONTENT FOR PAGES WITH TWO COLUMNS */

#left-column {
	width: 60%;
	height: auto;
	float: left;
	margin-top: 40px;
}


#right-column {
	width: 32%;
	height: auto;
	float: right;
	margin-top: 40px;
}

/* MAIN CONTENT FOR PAGES WITH ONE COLUMN AND ICONS */

#one-column {
	width: 100%;
	height: auto;
	float: left;
	margin-top: 40px;
}

#one-column .text {
	width: 85%;
}

#one-column .image {
	width: 10%;
}

/* MAIN CONTENT FOR PAGES WITH ONE COLUMN AND THUMBNAIL IMAGES */

#one-column-img {
	width: 98%;
	height: auto;
	float: left;
	margin-top: 40px;
}

#one-column-img .text {
	width: 80%;
}

#one-column-img .image {
	width: 15%;
}

#left-column h2, #right-column h2, #one-column h2, #one-column-img h2 {
	font-family: oswald, arial, sans-serif;
	font-weight: 400;
	font-size: 140%;
	border-bottom:8px solid #d9ebd7;
	padding-bottom:8px;
	color: #023a73;
	}
.item h3 {
	font-family: oswald, arial, sans-serif;
	font-weight: 400;
	font-size:120%;
	color: #023a73;
	margin-bottom:0px;
	padding-bottom:0px;
	}
.item {
	clear:both;
	padding: 20px 0;
	}
	
.item.lightblue {
	background-color: #eaf7fb;
	}

.image {
	float: left;
	width: 26%;
	
}

.text {
	float: right;
	width: 70%;
	margin-bottom: 20px;
	
}

.text a:link {
	color: #333;
	text-decoration: underline;
}

.image img {
	float:none;
	width: 100%;
	border: 1px solid #c6d4d8;
	}
	
.topmargin {
	margin-top: 40px;
}
	
#right-column ul.gallery li{
	display: inline-block;
}

#right-column ul.gallery img{
	display: block;
	width: 140px;
	margin: 20px 10px 0 0;
}

#intro a.item-button:link, #left-column a.item-button:link, #right-column a.item-button:link, #one-column a.item-button:link, #one-column-img a.item-button:link {
	display: block;
	background: #d9ebd7;
	padding: 15px 5px;
	text-align: center;
	text-transform: uppercase;
	font-size: 80%;
	font-weight: normal;
	line-height: 1.5;
	text-decoration: none;
	color: #000;
	margin-bottom: 5px;
	border-radius: 7px;
}

#intro a.item-button:visited, #left-column a.item-button:visited, #right-column a.item-button:visited, #one-column a.item-button:visited, #one-column-img a.item-button:visited {
	display: block;
	background: #d9ebd7;
	color: #000;
}

#intro a.item-button:hover, #left-column a.item-button:hover, #right-column a.item-button:hover, #one-column a.item-button:hover, #one-column-img a.item-button:hover {
	display: block;
	background: #023a73;
	color: #ffffff;
}

#intro a.item-button:active, #left-column a.item-button:active, #right-column a.item-button:active, #one-column a.item-button:active, #one-column-img a.item-button:active {
	display: block;
	background: #d2e3d0;
	color: #023a73;
}

/**************LISTS - COUNCILLORS AND THE CALENDAR *****************/

.pc-list {
	width: 100%;
}

.pc-list li:nth-child(even) {
	background-color: #fff;
}

.pc-list li {
	background-color: #eaf7fb;
	padding: 10px;
	margin-top: 5px;
	line-height: 25px;
}

.pc-list li.white {
	background-color: #FFF;
	padding: 10px;
	margin-top: 5px;
}

.pc-list span {
	float: right;
}

.pc-list li a:link,
.pc-list li a:visited {
	color: #333;
	padding: 0;
	text-decoration: underline;
}

.pc-list li a:hover,
.pc-list li a:active {
	color: #4090b6;
	padding: 0;
	text-decoration: underline;
}

.pc-list h3 {
	font-family: oswald, arial, sans-serif;
	font-weight: 400;
	font-size:100%;
	color: #023a73;
	margin-left: 10px;
	}
	
.pc-list img {
	margin-right: 10px;
}

ul.privacy-list {
	list-style-type: disc;
	margin: 10px 0 10px 20px;
}

.privacy-list li {
	line-height: 25px;
}


	/******************* THUMBNAILS VILLAGE VOICE *********************/

#vvthumbs {
	list-style-type: none;
}
#vvthumbs li {
	float: left;
	margin: 20px 40px 0 0;
	padding 0;
}

#vvthumbs img {
	display: block;
	border: 1px solid #c6d4d8;
	margin: 0 0 5px 0;
}

/**************** GALLERY PAGE OF VILLAGE PHOTOS *********************/

#gallery {
	width: 100%;
	height: auto;
	margin-top: 40px;
}

.gallery-img {
	width: 100%;
	margin: 40px 0 0 0;
	border-bottom: 2px solid #ccc;
	padding-bottom: 20px;
	}
	
	.gallery-img img {
	max-width: 100%;
	height: auto;
	border: 5px solid #ccc;
	}
	
	p.gallery-caption {
	color: #525252;
	font-size: 90%;
	line-height: 1.25;
	}

/* FOOTER */

footer
{
        position:relative;
        clear:both;
        width:auto;
        height:510px;
		color: #fff;
        background:#244e62;
}

footer h4
{
        font-size: 16px;
        color: #fff;
        border-bottom: 1px solid #4090b6;
        padding: 0 0 10px 0;
        margin-bottom: 10px;
}

footer .wrapper
{
        line-height:25px;
        margin: 0 auto;
        padding: 30px 0 0 25px;
        width:auto;
        max-width:960px;
        font-size:14px;
}

footer .wrapper .column
{
        
        color:#fff;
        float:left;
        width:30%;
        margin-right:20px;
}

footer .wrapper .column a:link
{
        color:#fff;
		text-decoration: underline;
}

footer .wrapper .column a:hover
{
        color:#FFF;
}

footer .wrapper .columnright
{
        
        color:#fff;
        float:left;
        width: 65%;
        margin-right:20px;
}

footer .wrapper .columnright a:link
{
        color:#fff;
		text-decoration: underline;
}

footer .wrapper .columnright a:hover
{
        color:#FFF;
}

footer .right-margin {
	
	text-align: right;
	margin: 0 20px 20px 0;
}

/*********************CONTACT FORM**********************/

input, textarea, select {
   -webkit-appearance: none;
}

footer input[type=submit] {
	
	color: #FFF;
	background: #244e62;
	padding: 10px;
	border: 3px solid #4090b6;
	border-radius: 7px;
	margin: 10px 0 10px 0;
	
}

footer input[type=text] {
	width: 45%;
	font-family: arial, helvetica, sans-serif;
	font-size: 100%;
	padding: 20px 5px;
	background-color: #fff;
}

footer textarea {
	width: 94%;
	font-family: arial, helvetica, sans-serif;
	font-size: 100%;
	margin-top: 20px;
	padding: 20px 5px;
	background-color: #fff;
}

footer .corners {
	border: none;
	border-radius: 7px;
	
}

footer .rightmargin {
	margin-right: 2%;
}



/* COPYRIGHT STRIPE BELOW FOOTER */

#copyright
{
        background: #1c3d4d;
		color: #B2D3E6;
        height:70px;
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
}
#copyright .wrapper
{
        
        padding: 25px 0 0 25px;
        color: #B2D3E6;
        font-size:14px;
        position:relative;
}
#copyright .wrapper .sm
{
        margin-left:25px;
}
#copyright .wrapper .social
{
        position:absolute;
        right:0;
        top:25px;
}
#copyright .wrapper .social a
{
        transition: opacity .25s ease;
        opacity: 0.3;
        margin-left: 12px;
        display:block;
        float:left;
}
#copyright .wrapper .social a:hover
{
        opacity: 0.7;
}

#copyright .wrapper a
{
        color: #B2D3E6;
}

#copyright .wrapper a:hover
{
        color: #FFF;
}

/* MISC */
.clear
{
        clear:both;
}
.hidden
{
        position:absolute;
        clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
          clip: rect(1px, 1px, 1px, 1px);
}

/* BACK TO TOP BUTTON */

a.back-to-top {
	display: none;
	width: 60px;
	height: 60px;
	text-indent: -9999px;
	position: fixed;
	z-index: 999;
	right: 20px;
	bottom: 20px;
	background: #0085A4 url("up-arrow.png") no-repeat center 43%;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}
a:hover.back-to-top {
	background-color: #000;
}


/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 850px) {
	
	footer
	{
        height:900px;
        background:#244e62;
	}
	
	footer .wrapper .column
	{
        width:100%;
	}

	footer .wrapper .columnright
	{
        margin-top:20px;
	}
	
}

@media (max-width: 760px) {
	
	header
{ 
        float: left;
        max-width:100%;
        margin: 0 auto 20px auto;
		background-color: #fff;
		background-image: url(village-sign-bg-0.jpg);
}

	header h1
{
        padding: 10px 0 10px 0;
		margin-left: 0;         
}

	header p
{
        
        font-size: 80%;
        color: #333;
        margin-left:0;
}
		
	nav {
	max-width:100%;
	text-align: right;
	float: right;
	margin: 0 0 20px 0;
	
	}
	
	nav ul {
	margin-top:0px;
	}
	nav ul li {
	list-style:none;
	float: none;
	}
	nav ul#nav_left {
	float:left;
	}
	nav ul#nav_right {
	float:right;
	}
	
	#intro article {
	width:100%;
	height:auto;
	float:left;
	position:relative;
	}
	
	#intro .container
	{
        width:100%;
        margin: 0;
        position:relative;
		float: left;
	}
	
	#intro .slider
	{
		width: 100%;
		height: auto;
		float: left;
		
	}

	#intro .slider img
{
		max-width: 100%;
		height: auto;
		float: left;
}

	#left-column {
	width: 100%;
	height: auto;
	float: none;
	}


	#right-column {
	clear: both;
	width: 100%;
	height: auto;
	float: none;
	}
	
	footer input[type=text] {
	width: 94%;
	margin-bottom: 10px;
}

}

@media (max-width: 620px) {
	
	nav {
	max-width:100%;
	float: left;
	text-align: left;
	margin: 0 0 20px 0;
	}
	
	nav ul#nav_right {
	float:right;
	}
	
	.pc-list span {
	float: none;
}
	
}

