/* generic */

html, body { 
	/*_height: 100%;
	min-height: 100%;
	background: #464646;*/
}

body {
	/*background: #464646 url(../images/body-bg.png) 50% 0 repeat-x;*/
}

.clear-block, .clear {
	display: block;
	float: none;
	clear: both;
	width: 100%;
	height: 1px;
}

.nospace {
	line-height: normal;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.m16 {
	margin: 16px!important;
}

.ml16 {
	margin-left: 16px!important;
}

.mt16 {
	margin-top: 16px!important;
}

.mr16 {
	margin-right: 16px!important;
}

.mb16 {
	margin-bottom: 16px!important;
}

.m0 {
	margin: 0!important;
}

.ml0 {
	margin-left: 0!important;
}

.mt0 {
	margin-top: 0!important;
}

.mr0 {
	margin-right: 0!important;
}

.mb0 {
	margin-bottom: 0!important;
}

.p16 {
	padding: 16px;
}

li { 
	list-style: none outside none;
	margin: 0;
}

ul ul {
	margin-bottom: 0;
}

.aligncenter {
	margin: 0 auto;
}

.wp-caption {
	display: block;
	margin-bottom: 16px;
	padding: 10px;
	background: #EAEAEA;
}

.wp-caption img {
	display: block;
}

/* blocks */

#wrap {
	position: relative;
	margin: 0 auto;
}

.container {
	position: relative;
	width: 944px;
	margin: 0 auto;
}

#head {
	position: relative;
	width: 100%;
}

#content {
	display: block;
	padding: 0;
}

#footer {
	width: 100%;
}

/* shadows */

#shadow-bg {
	position: fixed;
	top: 0;
	left: 50%;
	display: none;
	margin: 0 0 0 -488px;
	width: 976px;
	height: 100%;
	background: #006991;
}

.shadow {
	display: block;
	width: 100%;
	height: 27px;
	background: url(../images/shadow.png) 50% 0 no-repeat;
}

.shadow-flat {
	display: block;
	width: 100%;
	height: 18px;
	background: url(../images/shadow-flat.png) 50% 0 no-repeat;
}

/* header */

#head {
	position: relative;
	height: 180px;
	z-index: 999;
}

#head .container {
	z-index: 9999;
	height: 100%;
}

#head #logo {
	position: absolute;
	top: 13px;
	left: 0;
	display: block;
	margin: 0!important;
	padding: 0;
	width: 248px;
	height: 154px;
	overflow: hidden;
	z-index: 99999;
}

#head #logo img {
	position: absolute;
	top: 0;
	left: 0;
}

#head #logo span {
	display: none;
}

#head #strapline {
}

#header-contact {
	position: absolute;
	top: 96px;
	right: 0;
	display: block;
}

#header-contact .telephone, #header-contact .email {
	display: block;
}

#header-contact .telephone {
}

#header-contact .email {
}

#head #strapline {
	position: absolute;
	top: 10px;
	right: 0;
}

#social-logos {
	position: absolute;
	top: 14px;
	right: 0;
	/*padding: 3px; 
	background: #AAA;
	border-radius: 3px;*/
	z-index: 1000;
}

#social-logos a {
	display: block;
	float: left;
	margin: 0 0 0 6px;
	width: 39px;
	height: 39px;
	text-indent: -5000px;
	background: url(../images/icons-social.png) 0 0 no-repeat;
}

#twitter {
	background-position: -39px 0!important;
}

#gplus {
	background-position: -50px 0!important;
}

#facebook {
	background: url(../images/facebook.png) 0 0 no-repeat;
}

#pinterest {
	background-position: -100px 0!important;
}

#linkedin {
	margin: 0!important;
}

/* navigation */

.navigation {
	height: 34px;
}

#head .navigation {
	position: absolute;
	top: 58px;
	right: 0;
}

#nav-1 {
	width: 100%;
	height: 34px;
}

.navigation li {
	position: relative;
	float: left;
	margin-left: 13px;
}

#nav-1 li {
}

#nav-1 li.page-item-3 {
	margin-left: 0;
}

#nav-1 a {
	display: block;
	float: left;
	padding: 4px 0 0;
	height: 30px;
	background-color: #6F421B;
	text-align: center;
}

#nav-1 li.page-item-3 a {
	padding-left: 19px;
	background: #6F421B url(../images/home.png) 8px 7px no-repeat;
}

#nav-1 a:hover, #nav-1 li:hover a, #nav-1 .current_page_item a {
	background-color: #B3A36E!important;
}

.navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 222px;
	background: #27C0DC;
	z-index: 100;
}

.navigation ul ul li {
	float: none;
}

.navigation li:hover ul {
	display: block;
}

.navigation ul ul a {
	height: auto;
	float: none; 
	padding-bottom: 5px;
}

#nav-2 {
	width: 624px;
	height: 34px;
}

#nav-2 a {
	display: block;
	padding: 5px 45px 0 13px;
	height: 29px;
	background: #8B0305 url(../images/arrow.png) 100% 50% no-repeat;
	border: none!important;
}

#nav-2 .page-item-7 {
	float: right;
}

#nav-1 .page-item-3 a {
	width: 73px;
}

#nav-1 .page-item-4 a {
	width: 199px;
}

#nav-1 .page-item-5 a {
	width: 167px;
}

#nav-1 .page-item-6 a {
	width: 230px;
}

#nav-1 .page-item-7 a {
	width: 70px;
}

#nav-1 .page-item-8 a {
	width: 120px;
}

/* slider */

#slider {
	width: 100%;
	height: 314px;
	/*background: url(../images/slider-bg.png) 50% 0 no-repeat;*/
}

#slider .container {
	height: 100%;
}

.slide {
	width: 100%;
	height: 100%;
}

.slide img {
	bottom: 0;
}

/* content */

#content {
}

#content .container {
}

#banner, .wp-image-48 {
	margin: 0 0 16px;
}

#content .text {
	width: 624px;
	position: relative;
	z-index: 1000;
}

img.alignleft {
	float: left;
	margin: 0 16px 8px 0;
}

img.alignright {
	float: right;
	margin: 0 0 8px 16px;
}

img.alignnone {
	margin: 0 0 22px;
}

.text ol, .text ul {
	list-style: outside;
	margin: 0 0 15px 47px;
}

.text ul li {
	list-style-type: disc;
}

.text ol li {
	list-style-type: decimal;
}

.text table {
	font-size: 12px;
	margin: 0 0 20px;
}

.text table td {
}

/* page specific rules */

#mini-banners {
	height: 139px;
}

.column {
	width: 304px!important;
	margin: 0 0 0 16px!important;
}

.column.first {
	margin: 0!important;
}

.column.last {
}

.page-3 #content .text {
}

h4 {
}

#quote img.alignleft {
	margin-bottom: 2px;
}

#user {
	background: none;
}

#user a {
	display: block;
	padding: 5px 16px 0;
	height: 29px;
	background: #231F20 url(../images/arrow.png) 100% 50% no-repeat;
}

#service {
	position: relative;
	width: 624px;
}

#service.active {
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 2px dotted #7A121E;
}

#service .service-link {
	position: absolute;
	bottom: 16px;
	right: 0;
	display: block;
	padding: 5px 51px 0 16px;
	height: 29px;
	background: #231F20 url(../images/arrow.png) 100% 50% no-repeat;
}

#service ul {
	margin-left: 16px;
}

.service {
	width: 197px;
	height: 139px;
	overflow: hidden;
	cursor: pointer;
}

/* posts */

.post {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dotted #7A121E;
}

.post.single, .post.first {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.post-meta-data {
	text-align: right;
}

.post.post-home {
	margin: 15px 0 0;
	padding: 15px 0 0;
	border-top: 2px dotted #F7ACB5;
}

.post .post-date {
	display: block;
	float: right;
	margin: 5px 0 0;
	padding: 4px 12px;
	background: #CCC;
}

.post .post-excerpt {
}

/* social */

#social {
	margin: 0 0 16px;
	height: 84px;
}

#social h2 {
	margin: 0 0 10px;
}

#social img {
	margin: 0 10px 0 0;
}

/* sidebar */

#sidebar {
	width: 304px;
}

.sidebar-inner {
	position: relative;
	margin: 0 0 16px;
	z-index: 1000;
}

.sidebar-inner img {
	display: block;
}

#contact h2 {
	padding: 0 0 0;
	margin: 0 0 16px;
}

#sidebar #arrow {
	position: absolute;
	top: -2px;
	right: -22px;
}

#blog h2 {
	background-image: none;
}

#sidebar p {
	/*clear: both;*/
}

#sidebar ul {
	margin: 0 0 10px;
}

#sidebar ul ul {
	margin-left: 18px;
	margin-bottom: 0;
}

#sidebar ul ul, #sidebar ul ul li {
	list-style-type: disc;
	list-style-position: outside;
}

#sidebar ul ul li {
	margin: 0 0 5px;
}

#sidebar table td {
	color: #FFF;
}

#latest-blog img {
	margin: 0 0 10px;
}

#blog-menu > li {
	margin: 0 0 16px;
}

/* footer */

#footer {
	margin: 0 0 16px;
}

#footer .container {
	height: 34px;
	background: #6F421B;
}

#footer-contact {
	float: left;
}

#footer .telephone, #footer .email {
	display: block;
	float: left;
}

#footer .telephone, #footer .email {
	margin: 5px 0 0 10px;
}

canvas {
	display: block;
	padding: 2px 0 0;
}

#footer-info {
	float: left;
	margin: 4px 0 0 11px;
	padding: 1px 0 0;
}

#footer img {
	float: left;
	margin-left: 10px;
}

.tdm {
	display: block;
	margin: 5px 11px 0 0;
	padding: 6px 30px 0 0;
	height: 25px;
	font: 10px Verdana, Arial, sans-serif;
	color: #FFF;
	background: url('../images/dm-logo-footer.png') 100% 0 no-repeat;
}

/* forms */

#sidebar .wpcf7 {
}

#sidebar input[type=text], #sidebar input[type=email], #sidebar input[type=tel], #sidebar textarea, #sidebar select {
	margin: 4px 0 2px;
	padding: 2px 3px;
	width: 296px;
	border: 1px solid #FFF;
	background-color: #E1D8D0;
}

#sidebar textarea {
	height: 97px;
	resize: none;
}

#sidebar select {
	width: 304px;
}

#sidebar .widget_categories select {
	margin: 0;
}

#sidebar form p {
	
}

#sidebar input[type=submit] {
	display: block;
	float: right;
	margin: 5px auto 0;
	width: 72px;
	height: 28px;
	border: 0;
	background: url(../images/send.png) 0 0 no-repeat;
	text-indent: -9999px;
}

#sidebar .actions span {
	display: block;
	margin: -7px 0 0;
}

div.wpcf7-response-output {
	margin-bottom: 0;
}

span.wpcf7-not-valid-tip {
	display: none!important;
}

.wpcf7-not-valid {
	border: 1px solid #F00!important;
}

.ajax-loader {
	position: absolute;
	display: none;
}

/* maps */

#map_canvas {
	margin: 0 0 16px;
	width: 100%;
	height: 231px;
	border: 1px solid #CCC;
}

#map_canvas p {
	font-size: 12px;
}

/* gallery */

#gallery-wrap img {
	display: block;
	float: left;
	margin: 0 0 8px 8px;
}

#gallery-wrap .first img {
	margin-left: 0;
}

/* calendar */

.calendar-table td {
	border-color: #D9E2D4!important;
}

.day-with-date, .day-without-date {
	height: 75px!important;
}

.day-without-date {
	background: #F0F0F0;
}

.no-events {
	background: url(../images/vacant.png) 50% 19px no-repeat;
}

.calnk a {
	position: relative;
	display: block;
	padding: 16px 0;
	text-align: center;
	border: none!important;
}

.calnk a:hover span {
	display: none!important;
}

.the-date {
	display: block;
	margin: 0 0 5px;
}

.cat-key {
	display: none;
}

/*
Colorbox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{
	position:absolute;
	top:0;
	left:0;
	z-index:9999;
	overflow:hidden;
}
#cboxOverlay{
	position:fixed;
	width:100%;
	height:100%;
}
#cboxMiddleLeft, #cboxBottomLeft{
	clear:left;
}
#cboxContent{
	position:relative;
}
#cboxLoadedContent{
	overflow:auto;
	-webkit-overflow-scrolling: touch;
}
#cboxTitle{
	margin:0;
}
#cboxLoadingOverlay, #cboxLoadingGraphic{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{
	cursor:pointer;
}
.cboxPhoto{
	float:left;
	margin:auto;
	border:0;
	display:block;
	max-width:none;
	-ms-interpolation-mode:bicubic;
}
.cboxIframe{
	width:100%;
	height:100%;
	display:block;
	border:0;
}
#colorbox, #cboxContent, #cboxLoadedContent{
	box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box;
}

/* 
User Style:
Change the following styles to modify the appearance of Colorbox.  They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{
	background:#fff;
}
#colorbox{
	outline:0;
}
#cboxContent{
	margin-top:32px;
	overflow:visible;
	background:#000;
}
.cboxIframe{
	background:#fff;
}
#cboxError{
	padding:50px;
	border:1px solid #ccc;
}
#cboxLoadedContent{
	background:#000;
	padding:1px;
}
#cboxLoadingGraphic{
	background:url(../images/loading.gif) no-repeat center center;
}
#cboxLoadingOverlay{
	background:#000;
}
#cboxTitle{
	position:absolute;
	top:-22px;
	left:0;
	color:#000;
}
#cboxCurrent{
	position:absolute;
	top:-22px;
	right:205px;
	text-indent:-9999px;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
	border:0;
	padding:0;
	margin:0;
	overflow:visible;
	text-indent:-9999px;
	width:20px;
	height:20px;
	position:absolute;
	top:-20px;
	background:url(../images/controls.png) no-repeat 0 0;
	border-radius: 4px 4px 0 0;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
	outline:0;
}

#cboxPrevious{
	background-position:0px 0px;
	right:44px;
}
#cboxPrevious:hover{
	background-position:0px -25px;
}
#cboxNext{
	background-position:-25px 0px;
	right:22px;
}
#cboxNext:hover{
	background-position:-25px -25px;
}
#cboxClose{
	background-position:-50px 0px;
	right:0;
}
#cboxClose:hover{
	background-position:-50px -25px;
}
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{
	right:66px;
}
.cboxSlideshow_on #cboxSlideshow{
	background-position:-75px -25px;
	right:44px;
}
.cboxSlideshow_on #cboxSlideshow:hover{
	background-position:-100px -25px;
}
.cboxSlideshow_off #cboxSlideshow{
	background-position:-100px 0px;
	right:44px;
}
.cboxSlideshow_off #cboxSlideshow:hover{
	background-position:-75px -25px;
}