/*
Theme Name: Canterbury
Description: Canterbury theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
body {
	margin: 0;
	background: #fff;
	min-width: 300px;
}

html, body, p, li, dd, td {
	color: #5f5140;
	line-height: 150%;
	font-size: 1.0em;
	font-family: 'Volkhov', serif;
}

img a, a img {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
}

td {
	vertical-align: top;
}

a {
	color: #1a6eb7;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #ff9900;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	line-height: 120%;
}

h1, h1 a {
	font-size: 1.8em;
	margin-top: 0;
}

h2, h2 a {
	font-size: 1.4em;
}

h3, h3 a {
	font-size: 1.2em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #81aad2;
	color: #81aad3;
	margin: 5px 0 15px 0;
}

.wrapper {
	width: 930px;
	padding: 0 25px;
	margin: 0 auto;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	font-size: 24px;
	line-height: 140%;
	background: #e09963 url(images/header-bg.jpg);
	text-align: center;
}

#header a {
	font-size: 44px;
	text-decoration: none;
	color: #000;
}

img.tab-left {
	float: left;
}

img.tab-right {
	float: right;
}

#header-wrapper {
	background: #98a9a9;
}

#header-wrapper img {
	display: block;
	width: 100%;
	height: auto;
}

/* Navbar                                           */
/* ------------------------------------------------ */
#navbar {
	background: #5f7777;
	height: 52px;
	position: relative;
	margin: 4px 0;
}

.anchor-link {
	display: none;
	float: left;
	height: 50px;
}

a.anchor-link {
	color: #fff;
	text-decoration: none;
	line-height: 52px;
	font-size: 20px;
}

#navbar ul li a, .homepage-box img {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* Homepage                                         */
/* ------------------------------------------------ */
/*
#homepage-boxes {
	overflow: hidden;
	padding-top: 20px;
}

.homepage-box {
	width: 31.33%;
	float: left;
	position: relative;
	overflow: hidden;
}

.homepage-box img {
	display: block;
	width: 100%;
	height: auto;
}

#homepage-boxes .homepage-box:first-child + .homepage-box {
	margin-left: 3%;
	margin-right: 3%;
}

.homepage-box-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	background: rgba(95, 119, 119, 0.8);
	font-size: 23px;
	color: #fff;
	font-weight: bold;
	padding: 10px 0;
}

.homepage-box img:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-mz-transform: scale(1.1);
	transform: scale(1.1);
}
*/

/* Content                                          */
/* ------------------------------------------------ */
#content {
	padding: 25px 0 100px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
}

#content, #content p, #content li {
	line-height: 160%;
}

#content img {
	max-width: 100%;
	height: auto;
}

body.home #content {
	text-align: center;
}

body.home #content img {
    width: 100%;
    height: auto;
}

.ngg-gallery-thumbnail-box {
	float: left !important;
	width: 22%;
	margin: 2% 2%;
}

.ngg-gallery-thumbnail img {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	height: auto;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 45px 0;
	text-align: center;
	background: #e09963 url(images/header-bg.jpg);
	font-size: 30px;
	line-height: 130%;
}

#footer a, #footer, #footer p {
	color: #4e4438;
}

#copyright {
	margin-top: 160px;
	font-size: 13px;
}

#trim {
	height: 16px;
	background: #5f7777;
	margin-bottom: 8px;
}

a.scrollup {
	width: 67px;
	height: 67px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.gif') no-repeat;
	opacity: 0.7;
}

.slideshowlink {
    display: none;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (min-width: 1280px) {
	.wrapper {
		width: 1200px;
	}
}


@media screen and (max-width: 1600px) {
	#slideshow {;
		margin-top: -100px;
	}
}



@media screen and (max-width: 1025px) {
	.wrapper {
		width: auto;
	}

	#header-wrapper .wrapper {;
		padding: 0;
	}

	.ngg-galleryoverview {
		width: auto !important;
	}

	.ngg-gallery-thumbnail-box {
		width: 29%;
		margin: 1% 2%;
	}

	.ngg-gallery-thumbnail {
		width: 100%;
	}

	.ngg-gallery-thumbnail img {
		width: 100%;
		height: auto;
	}

	#lightbox-container-image-box img {
		max-width: 100% !important;
		height: auto !important;
	}

}

@media screen and (max-width: 650px) {
	.ngg-gallery-thumbnail-box {
		width: 45%;
		margin: 2%;
	}

	#cboxTitle {
		display: none !important;
	}
}

@media screen and (max-width: 600px) {
	.homepage-box {
		width: 100%;
		float: none;
		margin-bottom: 50px;
	}

	#header a {
		font-size :28px;
	}

	#homepage-boxes .homepage-box:first-child + .homepage-box {
		margin-left: 0;
		margin-right: 0;
	}

	img.tab-left, img.tab-right {
		width: 100px;
		height: auto;
	}

	#footer {
		font-size: 20px;
	}

}




/* WP Common Styles */

ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}
.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}