/*  
Theme Name: NSMAS
Theme URI: http://nsmascr.cz/
Description: Custom theme for NS MAS CR
Version: 1.7.14
Author: Lop
Author URI: http://lop.cz
*/

/* Reset */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, em, 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;
}

th, td {
	vertical-align: middle;
}

:focus{ outline: 0; }

/* Google fonts */

/*@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,latin-ext);*/

/* webfonts */

@font-face {
	font-family: 'Museo-700';
	src: url('fonts/20EEF0_0_0.eot');
	src: url('fonts/20EEF0_0_0.eot?#iefix') format('embedded-opentype'),
			 url('fonts/20EEF0_0_0.woff') format('woff'),
			 url('fonts/20EEF0_0_0.ttf') format('truetype'),
			 url('fonts/20EEF0_0_0.svg#wf') format('svg');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.eot');
	src: url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
			 url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.woff2') format('woff2'),
			 url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.woff') format('woff'),
			 url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
			 url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

/* Floating & Alignment */

.fl{float:left;}

.fr{float:right;}

.ac{text-align:center;}

.ar{text-align:right;}

/* Alignment (images) */

.alignleft { float: left; height: auto; margin: 0px 15px 10px 0; }

.alignright { float: right; height: auto; margin: 0px 0 10px 15px; }

.aligncenter { text-align: center; margin-bottom:10px; }

img.aligncenter { margin-left:auto; margin-right:auto; display:block; }

/* Clear Floats */

.col-full:after,.wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden;}

.fix{clear:both;height:1px;overflow:hidden;margin:-1px 0 0;}

html body * span.clear,html body * div.clear,html body * li.clear,html body * dd.clear{background:none;border:0;clear:both;display:block;float:none;font-size:0;list-style:none;overflow:hidden;visibility:hidden;width:0;height:0;margin:0;padding:0;}

/* Micro Clearfix */

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

.clearfix:after, .ui-helper-clearfix:after {clear:both;}

/*.clearfix, .ui-helper-clearfix {*zoom:1;}*/

/* IE 6/7 */

/* Glyphicons */

.glyphicon {
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	cursor: default;
}

a .glyphicon, button .glyphicon { cursor: inherit; }

.glyphicon-heart:before { content: "\e005"; }

.glyphicon-heart-empty:before { content: "\e143"; }

.glyphicon-user:before { content: "\e008"; }

.glyphicon-home:before { content: "\e021"; }

.glyphicon-file:before { content: "\e022"; }

.glyphicon-time:before { content: "\e023"; }

.glyphicon-lock:before { content: "\e033"; }

.glyphicon-tag:before { content: "\e041"; }

.glyphicon-tags:before { content: "\e042"; }

.glyphicon-book:before { content: "\e043"; }

.glyphicon-super-sticky:before,
.glyphicon-bookmark:before { content: "\e044"; }

.glyphicon-edit:before { content: "\e065"; }

.glyphicon-info-sign:before { content: "\e086"; }

.glyphicon-warning-sign:before { content: "\e107"; }

.glyphicon-eye-open:before { content: "\e105"; }

.glyphicon-eye-close:before { content: "\e106"; }

.glyphicon-comment:before { content: "\e111"; }

.glyphicon-sticky:before,
.glyphicon-pushpin:before { content: "\e146"; }

.glyphicon-log-in:before { content: "\e161"; }

.glyphicon-log-out:before { content: "\e163"; }

.glyphicon-private:before,
.glyphicon-sunglasses:before { content: "\e240"; }

/*-------------------------------------------------------------------------------------------*/

/* 1. SETUP */

/*-------------------------------------------------------------------------------------------*/

/* Defaults */

body {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	color: #404040;
	background: url("images/body_bg.jpg") no-repeat center top #363B2B;
	padding-bottom: 30px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Museo-700', sans-serif;
	/*font-weight: normal;*/	/* IE */
}

h1 { font-size: 22px; }

h2 { font-size: 20px; }

h3 { font-size: 17px; }

h4 { font-size: 15px; }

h5 { font-size: 14px; }

p { line-height: 1.4285em; }

hr { background-color: #e6e6e6;	border:0; height: 1px; margin-bottom: 20px; clear: both; }

small { font-size: 11px; }

code { background: #FFFFC1; }

pre { border-left: 6px solid #D3D3D3; margin: 1.7em 0.3em; overflow: auto; padding: 0.1em 0.5em 0.3em 0.7em; width: 93%; }

/* Hyperlinks */

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

a:hover, a:focus { text-decoration: underline; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #404040; text-decoration: none; }

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: underline; }

small a { font-weight: inherit !important; }

a img { border: none; }

a.external { padding-right: 14px; background: url("images/ico-external.png") no-repeat right 2px transparent; }

/* Form fields */

input, textarea, select {
	background-color: #ECECEC;
	border: 1px solid #CCCCCC;
	border-radius: 2px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
	color: #363B2B;
	font-size: 13px;
	line-height: 16px;
	margin: 0;
	outline: none;
	padding: 4px 8px;
	vertical-align: middle;
}

input:focus, textarea:focus {
	background-color: #FCFCFC;
	border-color: #8EB63E;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(142, 182, 62, 0.4);
}

textarea { overflow: auto; resize: vertical; }

select {
	background: -webkit-linear-gradient(top, #F6F6F6 10%, #D6D6D6) #ECECEC;
	background:         linear-gradient(to bottom, #F6F6F6 10%, #D6D6D6) #ECECEC;
	border: 1px solid rgba(0,0,0,.3);
	box-shadow: 1px 1px 1px rgba(0,0,0,.1) inset;
	font: inherit;
	padding: 0;
	vertical-align: inherit;
	text-shadow: 0 1px 0 #FFFFFF;
}

select > option { text-shadow: none; }

/* Form submits & Buttons */

button, .button, .submit, 
input[type=submit], input[type=button], input[type=reset] {
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	/*background: url("images/button_bg.png") repeat-x scroll 0 0 #BF0000;*/
	background: -webkit-linear-gradient(top, #f90000, #ef0000 4%, #ce0000 25%, #b10000 75%, #900000 96%, #850000) repeat-x 0 1px border-box #bf0000;
	background:   linear-gradient(to bottom, #f90000, #ef0000 4%, #ce0000 25%, #b10000 75%, #900000 96%, #850000) repeat-x 0 1px border-box #bf0000;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 1px 2px rgba(0, 0, 0, 0.25);
	color: #FFFFFF;
	display: inline-block;
	font: 13px/18px 'Open Sans Condensed',sans-serif;
	height: 28px;
	padding: 3px 10px 5px;
	text-decoration: none;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	cursor: pointer;
}

button:hover, .button:hover, a.button.hover, .submit:hover, 
input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover,
button:focus, .button:focus, a.button.focus, .submit:focus, 
input[type=submit]:focus, input[type=button]:focus, input[type=reset]:focus {
	background-image: none;
	text-decoration: none;
}

button:active, .button:active, a.button.active, .submit:active, 
input[type=submit]:active, input[type=button]:active, input[type=reset]:active {
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset;
	border-color: rgba(0,0,0,.7);
	text-decoration: none;
}

button:disabled, .button:disabled, a.button.disabled, .submit.disabled, 
input[type=submit]:disabled, input[type=button]:disabled, input[type=reset]:disabled {
	background-image: -webkit-linear-gradient(top, #878885, #82837f 4%, #6f726b 25%, #5b5e54 75%, #424638 96%, #3a3f30);
	background-image:   linear-gradient(to bottom, #878885, #82837f 4%, #6f726b 25%, #5b5e54 75%, #424638 96%, #3a3f30);
	background-color: #777;
	box-shadow: none;
	color: rgba(255,255,255,.8);
	cursor: default;
}

button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }

button::-moz-focus-inner, input[type=submit]::-moz-focus-inner, input[type=button]::-moz-focus-inner, input[type=reset]::-moz-focus-inner { padding: 0; border-style: none; }

input[type="radio"],
input[type="checkbox"] { box-sizing: border-box; padding: 0; }

input[type="search"] { outline-offset: -2px; -webkit-appearance: none; }

input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/*-------------------------------------------------------------------------------------------*/

/* 2. SITE STRUCTURE & APPEARANCE */

/*-------------------------------------------------------------------------------------------*/

/* Wrap */

.wrap { width: 100%; }

.left-col { float: left; }

.right-col { float: right; }

/* Container */

#container {
	width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	background: url("images/container_bg.png") repeat-y scroll 0 0 transparent;
}

#footer-container {
	clear: both;
	width: 960px;
	margin: 0 auto;
	padding: 0 20px 20px;
	background: url("images/footer-container_bg.png") no-repeat scroll 0 bottom transparent;
}

/* Header */

#header-top {
	width: 100%;
	height: 120px;
	background: url("images/header_bg.png") repeat-x 0 bottom #fff;
	position: relative;
}

#page-corner { height: 20px; line-height: 20px; border-left: 84px solid #8eb63e; padding-left: 1em; }

#logo { padding: 15px 15px 20px; }

#header-top .hgroup { bottom: 28px; position: absolute; right: 20px; }

/*#header-top .site-title { display: none; }*/

#header-top .site-description {
	font: italic normal 15px/16px Cambria, Georgia, serif;
	padding: 0 24px;
	text-align: right;
	max-width: 230px;
}

#header-top .site-description:before, #header-top .site-description:after { background: url("images/brackets.png") no-repeat 0 0 transparent; content: ""; height: 64px; left: 0; margin-top: -32px; position: absolute; top: 50%; width: 19px; opacity: 0.7; }

#header-top .site-description:after { background-position: 0 -64px; left: auto; right: 0; }

/* Login button */

#header-top a.loginout-btn {	font-size: 12px; background: url("images/ribbon_next.png") no-repeat 0 0 transparent; color: #FFF; display: block; width: 32px; height: 35px; line-height: 30px; text-align: center; text-shadow: 0 -1px 1px rgba(0,0,0,.4); position: absolute; top: 7px; right: -5px; }

#header-top a.loginout-btn:hover { background-position: 0 -35px; text-decoration: none; }

#header-top a.loginout-btn:active { background-position: 0 -70px; line-height: 32px; }

/* Lang selector */

#lang_sel, #lang-selector { top: 10px; right: 44px; position: absolute; }

#lang-selector { 
	background: #e6e6e6;
	background: -webkit-linear-gradient(top, #DDDDDD, #F5F5F5);
	background: linear-gradient(to bottom, #DDDDDD, #F5F5F5);
	border-radius: 4px 4px 4px 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset;
	padding: 0;
}

#lang-selector ul { list-style: none; margin: 0; padding: 0; }

#lang-selector li { display: inline; float: left; }

#lang-selector .lang-button {
	background: #f5f5f5;
	background: -webkit-linear-gradient(top, #fcfcfc, #ececec);
	background: linear-gradient(to bottom, #fcfcfc, #ececec);
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset;
	color: #666666;
	display: inline-block;
	font-size: 12px;
	line-height: 16px;
	height: 18px;
	padding: 2px 6px;
	position: relative;
}

#lang-selector li:first-child .lang-button { border-radius: 4px 0 0 4px; }

#lang-selector li:last-child .lang-button { border-radius: 0 4px 4px 0; }

#lang-selector .lang-button.active { background: none transparent; border-color: transparent; box-shadow: none; }

/* arrow for active */

#lang-selector .lang-button.active:after, #lang-selector .lang-button.active:before { border: solid transparent; content: " "; width: 0; height: 0; top: 100%; position: absolute; pointer-events: none; }

#lang-selector .lang-button.active:after { border-color: rgba(255,255,255,0); border-top-color: #efefef; border-width: 5px; left: 50%; margin-left: -5px; }

#lang-selector .lang-button.active:before { border-color: rgba(255,255,255,0); border-top-color: #bfbfbf; border-width: 6px; left: 50%; margin-left: -6px; }

#lang-selector a.lang-button:hover { 
	background: #eee;
	background: -webkit-linear-gradient(top, #fcfcfc 20%, #dcdcdc);
	background: linear-gradient(to bottom, #fcfcfc 20%, #dcdcdc);
	border-color: rgba(0, 0, 0, 0.4);
}

#lang-selector .lang-button img { vertical-align: middle; box-shadow: 0 0 1px 1px #fff; }

#lang-selector .lang-button.missing img { opacity: .5; }

#lang-selector a.lang-button.missing:hover img { opacity: 1; }

/* Header image */

#header-image {
	width: 100%;
	height: auto;
	position: relative;
}

#header-image img, #logo img { vertical-align: middle; }

/* header image vignette */

#header-image:after {
	background: url("images/headers/_vignette.png") no-repeat scroll 0 0 transparent;
	background-size: 100% 100%;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset, 0 -10px 50px 4px rgba(0, 0, 0, 0.2) inset;
	content: " ";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

/* Content Area - Content and Sidebar */

.background {
	background: url("images/content_bg.png") repeat-y #DDE9C5;
	background: -webkit-linear-gradient(left, #dde9c5 81px, #d3dfbc 81px, #d3dfbc 83px, #8eb63e 83px, #8eb63e 84px, #fff 84px, #fff 652px, #f0f0f0 658px, #eaeaea 658px, #eaeaea 659px, #fff 659px, #fff 660px, #6f912a 660px, #6f912a 661px, #7ea630 661px, #8eb63e 665px) repeat-y #DDE9C5;
	background: linear-gradient(to right, #dde9c5 81px, #d3dfbc 81px, #d3dfbc 83px, #8eb63e 83px, #8eb63e 84px, #fff 84px, #fff 652px, #f0f0f0 658px, #eaeaea 658px, #eaeaea 659px, #fff 659px, #fff 660px, #6f912a 660px, #6f912a 661px, #7ea630 661px, #8eb63e 665px) repeat-y #DDE9C5;
}

/* Content */

#content { width: 660px; }

.home #content { padding-top: 14px; }

/* 2.2 Navigation - Main Menu */

/* Superfish essential styles */

.sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; }

.sf-menu li { position: relative; }

.sf-menu ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; }

.sf-menu > li { float: left; }

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul { display: block; }

.sf-menu a { display: block; position: relative; }

.sf-menu ul ul { top: 0; left: 100%; }

#main-nav {
	/*width: 100%;*/
	height: 30px;
	margin-top: -35px;
	position: relative;
	z-index: 10;
	padding-bottom: 5px;
	padding-left: 84px;
	background: url("images/content_top.png") no-repeat 0 bottom;
}

.main-menu {
	/*position: relative;
	width: 828px;
	height: 35px;
	background: url(images/menu_bg.png) no-repeat 0 bottom;
	line-height: 1;*/
	float: left;
	display: flex;
}

.main-menu li {
	font-family: 'Museo-700', sans-serif;
	font-weight: bold;
	font-size: 14px;
	line-height: 30px;
	text-transform: uppercase;
	white-space: nowrap;
}

.main-menu > li > a {
	padding: 0 18px;
	color: #FFEFEF;
	border-left: 1px solid #D24D4D;
	border-right: 1px solid #8F0000;
	text-decoration: none;
	background: #bf0000;
	background: -webkit-linear-gradient(bottom, #850000 1px, #a60000 1px, #bf0000 8px) #bf0000;
	background: linear-gradient(to top, #850000 1px, #a60000 1px, #bf0000 8px) #bf0000;
}

.main-menu > li:first-child > a {
	border-left: 0;
	border-top-left-radius: 6px;
}

.main-menu > li:last-child > a {
	border-top-right-radius: 6px;
}

.main-menu > li > a:hover {
	color: #fff;
	/*cursor: pointer;*/
	/*background: url(images/menu_bg_over.png) repeat-x 0 0;*/
	background: #aa0000;
	background: -webkit-linear-gradient(bottom, #640000 1px, #7f0000 1px, #aa0000 50%, #b50000 83%) #aa0000;
	background: linear-gradient(to top, #640000 1px, #7f0000 1px, #aa0000 50%, #b50000 83%) #aa0000;
	border-left-color: #AA0000;
}

/*.main-menu > li > a span {
	display: inline-block;
	padding-left: 18px;
}*/

/* current menu item - top level */

#main-menu > .current-menu-item, #main-menu > .current-menu-ancestor { line-height: 35px; }

#main-menu > .current-menu-item > a, #main-menu > .current-menu-ancestor > a {
	/*background: url(images/menu_button_r.png) no-repeat right top;*/
	margin-top: -5px;
	color: #363B2B;
	border: 0;
	border-radius: 6px 6px 0 0;
	box-shadow: 0 0 0 2px #fff inset;
	background: #fff;
	background: -webkit-linear-gradient(top, #e6e6e6 2px, #ededed 4px, #fff 45%) #fff;
	background: linear-gradient(to bottom, #e6e6e6 2px, #ededed 4px, #fff 45%) #fff;
}

#main-menu > .current-menu-item > a:hover, #main-menu > .current-menu-ancestor > a:hover { color: #000; }

/*#main-menu > .current-menu-item > a span, #main-menu > .current-menu-ancestor > a span { background: url(images/menu_button.png) no-repeat left top; }*/

/* 2.2.1 Drop-down menus */

.main-menu ul {
	min-width: 180px;
	border: 1px solid #c9c9c9;
	border-width: 0px 1px;
	box-shadow: 1px 2px 6px rgba(0,0,0,.15);
}

.main-menu ul li {
	background: #e9e9e9;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 13px;
	line-height: 29px;
	text-shadow: 1px 1px 0 rgba(255,255,255,.6);
}

.main-menu ul li a {
	padding: 0 18px;
	color: inherit;
	border-top: 1px solid rgba(255,255,255,.8);
	border-bottom: 1px solid #c9c9c9;
	text-decoration: none;
	-webkit-transition: background-color .2s;
	transition: background-color .2s;
}

.main-menu ul li a:hover {
	background-color: #f5f5f5;
	color: #bf0000;
	-webkit-transition: none;
	transition: none;
}

.main-menu ul ul li {
	background-color: #dfdfdf;
}

/* current menu item - submenus */

#main-menu ul .current-menu-item > a,
#main-menu ul .current-menu-ancestor > a {
	background-color: #f5f5f5;
	color: #bf0000;
}

/* external link from submenu */

.main-menu ul .external a:after {
	content: "";
	position: absolute;
	width: 12px; height: 12px;
	top: 50%;
	right: 4px;
	margin-top: -7px;
	background: url("images/ico-external.png") no-repeat transparent;
}

/* Superfish arrows */

.sf-arrows .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  margin-top: -3px;
  height: 0;
  width: 0;
  border: 4px solid transparent;
  border-top-color: #df8080; /* IE8 fallback colour */
  border-top-color: rgba(255,255,255,.5);
}

.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: #fff;
}

/* right-facing arrows */

.sf-arrows ul .sf-with-ul {
  padding-right: 22px !important;
}

.sf-arrows ul .sf-with-ul:after {
  margin-top: -4px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #a3a3a3; /* IE8 fallback colour */
  border-left-color: rgba(0,0,0,.3);
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
  border-left-color: #666;
}

/* current menu item  - arrows */

#main-menu > .current-menu-item > .sf-with-ul:after,
#main-menu > .current-menu-ancestor > .sf-with-ul:after {
	border-top-color: #a3a3a3; /* IE8 fallback colour */
  border-top-color: rgba(0,0,0,.3);
}

#main-menu > .current-menu-item > .sf-with-ul:focus:after,
#main-menu > .current-menu-ancestor > .sf-with-ul:focus:after,
#main-menu > .current-menu-item:hover > .sf-with-ul:after,
#main-menu > .current-menu-ancestor:hover > .sf-with-ul:after,
#main-menu > .current-menu-item.sfHover > .sf-with-ul:after,
#main-menu > .current-menu-ancestor.sfHover > .sf-with-ul:after {
  border-top-color: #666;
}

/*-------------------------------------------------------------------------------------------*/

/* 3. POSTS */

/*-------------------------------------------------------------------------------------------*/

#breadcrumbs-nav { background: #f9f9f9; background: -webkit-linear-gradient(top, rgba(245,245,245,0), rgba(225,225,225,0.4) 85%) transparent; background: linear-gradient(to bottom, rgba(245,245,245,0), rgba(225,225,225,0.4) 85%) transparent; border-bottom: 1px solid #ccc; height: 16px; margin: 0 1px 10px 84px; overflow: visible; padding: 2px 0 5px; }

#breadcrumbs-nav:after { background: url("images/section_shadow.png") no-repeat center bottom transparent; background-size: 100% 10px; content: ""; display: block; height: 10px; margin-top: 5px; position: relative; width: 100%; }

.breadcrumbs { font-size: 11px; line-height: 16px; margin: 0 10px; }

.breadcrumbs .breadcrumb-trail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.breadcrumbs .sep { display: inline-block; font-weight: bold; height: 16px; margin: 0 3px; text-indent: -999em; width: 5px; position: relative; }

.breadcrumbs .sep::after { content: ""; position: absolute; top: 50%; left: 0; width: 0; height: 0; margin-top: -4px; border: 4px solid transparent; border-left-color: #a3a3a3; border-left-color: rgba(0,0,0,.3); }

.breadcrumbs a.trail-begin { background: url("images/home.png") no-repeat center center #999; border-radius: 8px; display: inline-block; height: 16px; text-indent: -999em; width: 24px; }

.breadcrumbs a.trail-begin:hover { background-color: #BF0000; }

/*.archive-header .breadcrumbs { margin-bottom:0; }*/

/* Archive headings */

h1.heading {
	background: url("images/subheading_bg.png") no-repeat scroll 0 0 transparent;
	clear: both;
	display: inline-block;
	height: 30px;
	margin: 24px 0 6px 78px;
	max-width: 515px;
	overflow: hidden;
	padding: 0 0 5px 5px;
}

h1.heading span {
	background: url("images/icons_head.png") no-repeat scroll 0 -60px transparent;
	color: #FFFFFF;
	display: block;
	font-size: 16px;
	height: 30px;
	line-height: 30px;
	overflow: inherit;
	padding: 0 25px 0 32px;
	text-overflow: ellipsis;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}

#category-title span { background-position: 0 -60px; }

#tag-title span { background-position: 0 -90px; }

#author-title span { background-position: 0 -120px; }

#date-title span { background-position: 0 -150px; }

#format-title span { background-position: 0 -180px; }

#search-title span { background-position: 0 -210px; }

/* Post entry (.hentry) */

article {
	width: 100%;
	clear: both;
	padding: 10px 0 20px;
	margin-bottom: 10px;
	border-bottom: #C1C8B3 1px solid;
	position: relative;
}

article.error, article.page { border-bottom: 0; }

/* Sticky/Featured label */

.post .sticky-label,
.tribe_events .featured-label {
	background: url("images/post_sticky_bg.png") no-repeat scroll 0 0 transparent;
	color: #FFFFFF;
	display: block;
	font: 14px/28px 'Museo-700',sans-serif;
	height: 28px;
	left: 9px;
	overflow: hidden;
	margin: 0;
	padding: 2px 20px 2px 2px;
	position: absolute;
	text-align: right;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
	top: 13px;
	width: 72px;
	z-index: 9;
	cursor: default;
}

.tribe_events .featured-label {
	left: -110px;
	letter-spacing: 0.05em;
}

/* Post Content */

.post-content {
	width: 520px;
	margin-right: 21px;
	display: inline;
}

.intro-content {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 1em;
}

.post-content a { font-weight: bold; }

.post-content p { margin-bottom: 1.5em; }

.post-content section { clear: both; }

/* Post Content Headings */

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 { line-height: 1.3em; margin-top: 0.6em; margin-bottom: 0.3em; }

.post-content h1.heading { margin-left: -41px; }

.page .post-content > header { margin-bottom: 18px; }

/* no post-taxmeta under h1 on pages */

.post-content .entry-title {
	background: url("images/post_element.png") no-repeat scroll 0 5px transparent;
	line-height: 26px;
	margin: 0 0 0 -40px;
	padding: 5px 0 5px 40px;
}

.single .post-content .entry-title,
.page .post-content .entry-title { line-height: 28px; }

/* hide headings for post formats on index pages */

.format-aside .post-content h2,
.format-image .post-content h2 { display: none; }

/* show arrow for post formats on index pages */

.home article.format-aside, .archive article.format-aside,
.home article.format-image, .archive article.format-image { background: url("images/post_element.png") no-repeat 79px 15px; }

/* Post Content Subheadings */

.post-content h2.subheading {
	background: url("images/subheading_bg.png") no-repeat scroll 0 0 transparent;
	clear: both;
	display: inline-block;
	height: 30px;
	left: -41px;
	margin: 30px 0 6px;
	max-width: 515px;
	overflow: hidden;
	padding: 0 0 5px 5px;
	position: relative;
}

.post-content h2.subheading.alt { background-image: url("images/subheading_bg_grey.png"); }

.post-content h2.subheading span {
	background: url("images/icons_head.png") no-repeat scroll 0 -60px transparent;
	color: #FFFFFF;
	display: block;
	font-size: 16px;
	height: 30px;
	line-height: 30px;
	overflow: inherit;
	padding: 0 25px 0 32px;
	text-overflow: ellipsis;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}

.post-content h2.comments-title span { background-position: 0 0; }

.post-content h2.attachments-title span { background-position: 0 -30px; }

.post-content h2.event-day span, 
.post-content h2.archive-year span, 
.post-content h2.current-year span { background-position: 0 -150px; }

/* Post Content Lists and Blockquote */

.post-content ul, .post-content ol { margin: 0.6em 0 1.5em 2em; }

.post-content ul ul, .post-content ol ol,
.post-content ul ol, .post-content ol ul { margin: 0.4em 0 1em 2em; font-size: 90%; }

.post-content li { line-height: 1.2857em; margin-bottom: 0.5em; }

.post-content li p { line-height: 1.5em; }

.post-content ul ul li, .post-content ul ol li,
.post-content ol ol li, .post-content ol ul li { margin-bottom: 0.3em; }

.post-content ul > li {	list-style-type: square; }

.post-content ul ul > li { list-style-type: circle; }

.post-content ol > li { list-style-type: decimal; }

.post-content ol ol > li { list-style-type: lower-latin; }

/* fancy bullet style */

.post-content ul.fancy { margin-left: 0; padding-left: 20px; }

.post-content ul.fancy > li {
	background: url("images/bullet.png") no-repeat scroll 0 3px transparent;
	line-height: 21px;	/* 1.5em */
	list-style-type: none;
	padding-left: 21px;
}

/* [sitelist] shortcode */

.post-content ul.site-list { margin-left: 0; padding-left: 20px; }

.post-content ul.site-list > li { 
	background: url("images/logo-icon.png") no-repeat scroll 0 3px transparent;
	line-height: 21px; /* 1.5em */
	list-style-type: none;
	padding-left: 21px;
}

.post-content blockquote {
	border-left: 2px solid #777777;
	color: #777777;
	font-style: italic;
	margin: 5px auto 15px;
	padding: 0px 10px;
	width: 85%;
}

.post-content blockquote p { padding: 10px 0; margin: 0; }

.type-attachment .post-content p { margin: 0 0 10px 60px; }

/* Post Content Images*/

.post-content img.woo-image {
	padding: 4px;
	background: #363B2B;
}

.post-content img.woo-image.logo, .post-content img.woo-image.thumbnail { background-color: #ffffff; }

.post-content img.attachment-icon {
	float: left;
	height: auto;
	margin: 5px 8px 10px 0;
}

/* [gallery] shortcode */

.gallery { margin: auto; padding-bottom: 20px; }

.gallery .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; }

.gallery-columns-4 .gallery-item { width: 25%; }

.gallery-columns-5 .gallery-item { width: 20%; }

.gallery img { border: 1px solid #e0e0e0; }

.gallery .gallery-caption { margin-left: 0; }

/* Post Content (read more) */

.post-content a.more-link {
	display: inline-block;
	font-size: 13px;
	line-height: 16px;
	margin-top: 5px;
	padding: 3px 10px;
	position: relative;
}

/* Post Content - Aside format */

.post-content .aside-entry {
	background-color: #f4f4f4;
	border-left: 5px solid #BF0000;
	border-radius: 3px;
	margin: 10px 0;
	padding: 20px 15px;
	width: 90%;
	position: relative;
}

.post-content .aside-entry p { font-style: normal; line-height: normal; margin-bottom: 18px; padding: 0; }

.post-content .aside-entry p:first-child {
	color: #555;
	font: italic 17px/20px Cambria,Georgia,serif;
}

.post-content .aside-entry p:last-child { margin-bottom: 0; }

/* red right arrow on left side */

.post-content a.more-link:before,
.post-content .aside-entry:before,
#comments .reply:before { border: solid transparent; border-color: rgba(191,0,0,0); border-left-color: #BF0000; border-width: 5px; content: " "; height: 0; width: 0; position: absolute; left: 0; top: 50%; margin-top: -5px; pointer-events: none; }

/* Post Meta */

.post-meta {
	width: 80px;
	margin-left: 3px;
	text-align: right;
	display: inline;
	/*padding-top: 3px;*/
	font-family: 'Open Sans Condensed', sans-serif;
}

.post-meta a { color: #7CA42D; }

.post-meta a:hover { text-decoration: underline; }

/* Post Format Icon */

.post-meta .post-icon {
	background: url("images/post_formats.png") no-repeat right top transparent;
	display: block;
	height: 40px;
	width: 40px;
	margin-left: 30px;
	overflow: hidden;
	text-indent: -999em;
	text-align: left;
}

/* formats: Link, Aside, Image, Gallery */

.format-link .post-icon { background-position: right -40px; }

.format-aside .post-icon { background-position: right -80px; }

.format-image .post-icon { background-position: right -120px; }

.format-gallery .post-icon { background-position: right -160px; }

.format-standard a:hover .post-icon { background-position: left top; }

.format-link a:hover .post-icon { background-position: left -40px; }

.format-aside a:hover .post-icon { background-position: left -80px; }

.format-image a:hover .post-icon { background-position: left -120px; }

.format-gallery a:hover .post-icon { background-position: left -160px; }

/* post types: Attachment, Tribe Events, Venues */

.type-attachment .post-icon { background-position: right -200px; }

.type-attachment a:hover .post-icon { background-position: left -200px; }

.type-tribe_events .post-icon { background-position: right -240px; }

.type-tribe_events a:hover .post-icon { background-position: left -240px; }

.type-tribe_venue .post-icon { background-position: right -280px; }

/* Post Meta Date */

.post-meta .post-date {
	background: url("images/post_date_bg.png") no-repeat scroll right center transparent;
	margin: 6px 0 10px 15px;
	padding: 3px 0;
	color: #F1F6E8;
	cursor: default;
	text-shadow: -1px -1px 0 #8A9A6A;
	width: 65px;
	height: 28px;
}

.post-meta .post-date span.day {
	display: block;
	float: right;
	font-size: 28px;
	line-height: 28px;
	padding-right: 6px;
}

.post-meta .post-date span.month, 
.post-meta .post-date span.year { width: 24px; }

.post-meta .post-date span.month {
	display: block;
	float: right;
	font-size: 14px;
	line-height: 14px;
	padding-right: 4px;
	padding-top: 1px;
	text-align: center;
	text-transform: uppercase;
}

.post-meta .post-date span.year {
	display: block;
	font-size: 11px;
	line-height: 13px;
}

/* Post Meta Author and Comments */

.post-meta span.meta {
	color: #666;
	display: block;
	height: 16px;
	margin: 0 8px 4px 0;
}

.post-meta span.meta a {
	background: url("images/icons_meta.png") no-repeat right 0;
	display: inline-block;
	font-size: 12px;
	line-height: 12px;
	max-width: 52px;
	overflow: hidden;
	padding: 2px 20px 2px 0;
	text-shadow: 1px 1px 0 #F1F6E8;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.post-meta span.comments a { background-position: right -16px; color: #666; }

.post-meta span.attachments a { background-position: right -32px; color: #666; }

/* Post Taxonomy Meta */

.post-taxmeta {
	background: #F4F4F4;
	background: -webkit-linear-gradient(left, #F4F4F4 50%, rgba(255, 255, 255, 0) 120%) transparent;
	background: linear-gradient(to right, #F4F4F4 50%, rgba(255, 255, 255, 0) 120%) transparent;
	font-size: 12px;
	height: 16px;
	line-height: 16px;
	margin-bottom: 18px;
	padding: 3px 6px 3px 16px;
	position: relative;
}

.post-taxmeta:before { background: url("images/item_element_grey.png") repeat-y scroll -35px center transparent; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 12px; }

.post-taxmeta.docs_category { margin-left: 58px; margin-bottom: 8px; }

.post-taxmeta .cat-links, 
.post-taxmeta .tag-links { margin-right: 3px; }

.post-taxmeta .edit-link {
	background-color: #FFFFFF;
	border: 1px solid #BBBBBB;
	border-radius: 10px;
	float: right;
	font-size: 11px;
	padding: 0 6px;
}

.post-taxmeta .icon {
	background: url("images/icons.png") no-repeat left top;
	display: inline-block;
	height: 16px;
	width: 16px;
	margin-right: 4px;
	text-indent: -999em;
	vertical-align: bottom;
}

.post-taxmeta .tag-links .icon { background-position: 0 -16px; }

.post-taxmeta .cat-links:hover .icon { background-position: -16px 0; }

.post-taxmeta .tag-links:hover .icon { background-position: -16px -16px; }

.post-taxmeta a { color: #7F7F7F; }

.post-taxmeta a:hover { color: #BF0000; text-decoration: none; }

/* 3.3 Pagination / WP-Pagenavi / Woo-Pagination */

.nav-entries, .wp-pagenavi, .woo-pagination, #nav-single { padding: 10px 15px; margin: 1.5em 0 1.5em 84px; clear: both; overflow: auto; }

.nav-entries a { /*display: block; color:#777;*/ text-decoration:none; font-size: 12px; font-weight: bold; }

.nav-entries a:hover { text-decoration:underline; }

.nav-previous { float: left; width: 50%; }

.nav-next { float: right; text-align: right; width: 50%; }

#nav-single { height: 35px; margin-bottom: 3em; overflow: visible; padding: 10px 0 6px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #E6E6E6; }

#nav-single {
	background: #fafafa;
	background: -webkit-linear-gradient(top, #fff, #f5f5f5);
	background:    -moz-linear-gradient(top, #fff, #f5f5f5);
	background:         linear-gradient(to bottom, #fff, #f5f5f5);
}

#nav-single .nav-next, #nav-single .nav-previous { display: table; width: auto; max-width: 40%; height: 35px; position: relative; }

#nav-single .nav-next { margin-right: -5px; padding-right: 32px; }

#nav-single .nav-previous { margin-left: -5px; padding-left: 32px; }

#nav-single a { display: table-cell; color: #707070; font: 15px/15px 'Open Sans Condensed',sans-serif; padding-bottom: 5px; vertical-align: middle; }

#nav-single a {
	-webkit-transition: padding 0.1s ease-out;
	   -moz-transition: padding 0.1s ease-out;
	    -ms-transition: padding 0.1s ease-out;
	        transition: padding 0.1s ease-out;
}

#nav-single .nav-next a { padding-right: 8px; }

#nav-single .nav-previous a { padding-left: 8px; }

#nav-single a:hover { color: #BF0000; text-decoration: none; padding: 0 4px 5px 4px; }

#nav-single a .meta-nav {	background-color: #BF0000; color: #FFF; display: block; height: 35px; line-height: 28px; position: absolute; text-align: center; text-shadow: 0 -1px 1px rgba(0,0,0,.4); top: 0; width: 32px; }

#nav-single .nav-next a .meta-nav { background: url("images/ribbon_next.png") no-repeat scroll 0 0 transparent; right: 0; }

#nav-single .nav-previous a .meta-nav { background: url("images/ribbon_prev.png") no-repeat scroll 0 0 transparent; left: 0; }

#nav-single a:hover .meta-nav { background-position: 0 -35px; }

#nav-single a:active .meta-nav { background-position: 0 -70px; line-height: 30px; }

.woo-pagination { /*margin: 0;*/ text-align: center; }

.woo-pagination .page-numbers { display: inline; text-decoration: none; color: #666; padding: 3px 7px; border: 1px solid #ddd; }

.woo-pagination .current, .woo-pagination a:hover { background: #eee; border: 1px solid #bbb; }

.woo-pagination span.dots { background: none transparent; border: 0; color: #666; padding: 0; }

/* nav button styles */

.woo-pagination .page-numbers, 
.nav-entries a, 
.navbar a,
.navbar-button,
.paging_two_button a,
.paging_full_numbers a {
	background: #f5f5f5;
	background: -webkit-linear-gradient(top, #fcfcfc, #ececec);
	background:    -moz-linear-gradient(top, #fcfcfc, #ececec);
	background:     -ms-linear-gradient(top, #fcfcfc, #ececec);
	background:      -o-linear-gradient(top, #fcfcfc, #ececec);
	background:         linear-gradient(to bottom, #fcfcfc, #ececec);
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 1px 1px 0 #fff inset;
	color: #666;
	display: inline-block;
	font: 13px/18px 'Open Sans Condensed',sans-serif;
	padding: 3px 10px 5px;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	text-transform: uppercase;
}

.woo-pagination a:hover, 
.nav-entries a:hover, 
.navbar a:hover,
.paging_two_button a:hover,
.paging_full_numbers a.paginate_button:hover {
	background: #eee;
	background: -webkit-linear-gradient(top, #fcfcfc 20%, #dcdcdc);
	background:    -moz-linear-gradient(top, #fcfcfc 20%, #dcdcdc);
	background:     -ms-linear-gradient(top, #fcfcfc 20%, #dcdcdc);
	background:      -o-linear-gradient(top, #fcfcfc 20%, #dcdcdc);
	background:         linear-gradient(to bottom, #fcfcfc 20%, #dcdcdc);
	border-color: #aaa;
	color: #bf0000;
	text-decoration: none;
}

.woo-pagination a:active, 
.nav-entries a:active, 
.navbar a:active,
.paging_two_button a:active,
.paging_full_numbers a.paginate_button:active {
	border: 1px solid rgba(0,0,0,.3); box-shadow: 0 2px 4px rgba(0,0,0,.3) inset !important;
}

.woo-pagination .current, 
.navbar-button.current,
.paging_full_numbers a.paginate_active {
	background: #777;
	background: -webkit-linear-gradient(top, #868686, #666);
	background:    -moz-linear-gradient(top, #868686, #666);
	background:     -ms-linear-gradient(top, #868686, #666);
	background:      -o-linear-gradient(top, #868686, #666);
	background:         linear-gradient(to bottom, #868686, #666);
	border: 1px solid rgba(0,0,0,.3);
	box-shadow: 0 2px 4px rgba(0,0,0,.4) inset;
	color: #fff;
	text-shadow: 0 -1px 1px rgba(0,0,0,.4);
}

/* navbar */

.navbar-next, .navbar-prev { float: left; }

.navbar-next a, .paging_two_button a.paginate_enabled_next, .paging_two_button a.paginate_disabled_next { border-radius: 0 4px 4px 0; }

.navbar-prev a, .paging_two_button a.paginate_enabled_previous, .paging_two_button a.paginate_disabled_previous { border-radius: 4px 0 0 4px; }

.navbar-button { float: left; padding: 2px 10px; border-radius: 0; border-left-width: 0; border-right-width: 0; }

/* special styling for next/prev */

.woo-pagination a.next, .nav-entries .nav-next a, .navbar .navbar-next a, .paging_two_button a.paginate_enabled_next, .paging_two_button a.paginate_disabled_next, .paging_full_numbers a.paginate_button.last { border-right: 4px solid #777; padding-right: 4px; }

.woo-pagination a.prev, .nav-entries .nav-previous a, .navbar .navbar-prev a, .paging_two_button a.paginate_enabled_previous, .paging_two_button a.paginate_disabled_previous, .paging_full_numbers a.paginate_button.first { border-left: 4px solid #777; padding-left: 4px; box-shadow: 0 1px 0 #fff inset; }

.woo-pagination a.next:hover, .nav-entries .nav-next a:hover, .navbar .navbar-next a:hover, .paging_two_button a.paginate_enabled_next:hover, .paging_full_numbers a.paginate_button.last:hover { border-right-color: #BF0000; }

.woo-pagination a.prev:hover, .nav-entries .nav-previous a:hover, .navbar .navbar-prev a:hover, .paging_two_button a.paginate_enabled_previous:hover, .paging_full_numbers a.paginate_button.first:hover { border-left-color: #BF0000; }

/* next/prev icon */

.woo-pagination a .meta-nav, .nav-entries a .meta-nav, .navbar a .meta-nav,
 .paging_two_button a.paginate_enabled_next:after, .paging_two_button a.paginate_disabled_next:after, .paging_two_button a.paginate_enabled_previous:before, .paging_two_button a.paginate_disabled_previous:before,
 .paging_full_numbers > a.next:after, .paging_full_numbers > a.last:after, .paging_full_numbers > a.previous:before, .paging_full_numbers > a.first:before { background: url("images/icons.png") no-repeat -16px -32px transparent; display: inline-block; height: 16px; margin-left: 0 2px; text-align: left; text-indent: -999em; /*line-height: 16px;*/ vertical-align: bottom; width: 16px; -webkit-transition: background-position 0.2s ease-out; transition: background-position 0.2s ease-out; }

.woo-pagination a.prev .meta-nav, .nav-entries .nav-previous a .meta-nav, .navbar-prev a .meta-nav,
 .paging_two_button a.paginate_enabled_previous:before,
 .paging_full_numbers > a.previous:before, .paging_full_numbers > a.first:before { background-position: 0 -48px; }

.woo-pagination a.next:hover .meta-nav, .nav-entries .nav-next a:hover .meta-nav, .navbar-next a:hover .meta-nav,
 .paging_two_button a.paginate_enabled_next:hover:after,
 .paging_full_numbers > a.next:hover:after, .paging_full_numbers > a.last:hover:after { background-position: 0 -32px; }

.woo-pagination a.prev:hover .meta-nav, .nav-entries .nav-previous a:hover .meta-nav, .navbar-prev a:hover .meta-nav,
 .paging_two_button a.paginate_enabled_previous:hover:before,
 .paging_full_numbers > a.previous:hover:before, .paging_full_numbers > a.first:hover:before { background-position: -16px -48px; }

/*.woo-pagination a:hover .meta-nav, .nav-entries a:hover .meta-nav, .navbar a:hover .meta-nav { -webkit-transition: background-position 0.25s ease; transition: background-position 0.25s ease; }*/

/* 3.4 Shortcode Tabs - NSMAS style */

.shortcode-tabs.nsmas { background: #fff; padding: 0; border-radius: 0; }

.shortcode-tabs.nsmas:after { background: url("images/section_shadow.png") no-repeat center top transparent; content: ""; display: block; height: 10px; position: relative; top: -1px; width: 100%; }

.shortcode-tabs.nsmas ul.tab_titles { list-style: none; margin: 0; padding: 0 0 0 1em; border-bottom: 3px solid #bbb; }

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab {
	background: #f5f5f5;
	background: -webkit-linear-gradient(top, #fcfcfc, #ececec);
	background: linear-gradient(to bottom, #fcfcfc, #ececec);
	border: 1px solid #ddd;
	border-bottom: 0 none;
	border-radius: 3px 3px 0 0;
	box-shadow: 1px 1px 0 rgba(255,255,255,.6) inset;
	cursor: pointer;
	float: left;
	list-style: none;
	margin: 0 3px 0 0;
	padding: 0;
	position: relative;
	white-space: nowrap;
}

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab:hover { border-color: #c2c2c2; }

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab.ui-state-active {
	background: #fcfcfc;
	background: -webkit-linear-gradient(top, #ffffff 70%, #fcfcfc);
	background: linear-gradient(to bottom, #ffffff 70%, #fcfcfc);
	border-color: #bbb;
	cursor: default;
	margin-bottom: -3px;
  padding-bottom: 3px;
}

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab a {
	color: #777;
	cursor: inherit;
	float: left;
	font: 14px/18px 'Open Sans Condensed',sans-serif;
	padding: 6px 10px;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	text-transform: none;
}

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab.ui-state-active a, 
.shortcode-tabs.nsmas ul.tab_titles li.nav-tab a:hover { background: none; border-radius: 0; }

/* overrides */

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab a:hover { color: #BF0000; }

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab.ui-state-active a { color: #666; }

.shortcode-tabs.nsmas ul.tab_titles li.nav-tab.ui-state-active:before { background-color: #C83B2C; border-radius: 4px 4px 0 0; border-top: 1px solid #BF0000; content: ""; display: block; height: 3px; left: -1px; position: absolute; right: -1px; top: -3px; }

.shortcode-tabs.nsmas .tab { background-color: #fcfcfc; border: 1px solid #e2e2e2; border-top: 0 none; border-radius: 0 0 4px 4px; }

/* 3.4.1 Shortcode Toggle - NSMAS style */

.shortcode-toggle.nsmas { margin-bottom: 1.5em; border: 0 !important; }

.shortcode-toggle.nsmas:after { background: url("images/section_shadow.png") no-repeat center top transparent; content: ""; display: block; height: 10px; position: relative; top: -1px; width: 100%; }

.shortcode-toggle.nsmas .toggle-trigger {
	background: #f5f5f5;
	background: -webkit-linear-gradient(top, #fcfcfc, #ececec);
	background: linear-gradient(to bottom, #fcfcfc, #ececec);
	border: 1px solid #ddd;
	border-radius: 3px;
	box-shadow: 1px 1px 0 rgba(255,255,255,.6) inset;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.shortcode-toggle.nsmas .toggle-trigger:hover { border-color: #c2c2c2; }

.shortcode-toggle.nsmas.open .toggle-trigger { border-radius: 3px 3px 0 0; }

.shortcode-toggle.nsmas .toggle-trigger a {
	background: url("images/icons_toggle.png") no-repeat right 1px transparent;
	background-origin: content-box;
	background-clip: content-box;
	color: #666;
	font: 14px/18px 'Open Sans Condensed',sans-serif;
	padding: 6px 10px;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
}

.shortcode-toggle.nsmas .toggle-trigger a:hover { color: #bf0000; background-position: right -31px; }

.shortcode-toggle.nsmas.open .toggle-trigger a { background-position: right -15px; }

.shortcode-toggle.nsmas.open .toggle-trigger a:hover { background-position: right -47px; }

.shortcode-toggle.nsmas .toggle-content { background-color: #fcfcfc; border: 1px solid #e2e2e2; border-top: 0 none; border-radius: 0 0 4px 4px; }

/* 3.5 Connect */

#connect { clear: both; }

#connect p { font-size: 12px; line-height: 1.1; margin: 5px 0 10px; }

#connect .newsletter-form .email { width: 140px; }

#connect .newsletter-form [type=checkbox] { margin: 5px 7px 7px 0; }

#connect .newsletter-form label.checkbox { display: inline-block; font-size: 12px; }

#connect .social { clear: both; float: none; }

#connect .social a { opacity: 0.9; display: inline-block; height: 28px; width: 32px; background: url("images/ico-subscribe-social.png") no-repeat 0 0 transparent; }

#connect .social a:hover { opacity: 1; }

#connect .social a.subscribe  { background-position: 0 0; }

#connect .social a.twitter    { background-position: -30px 0; }

#connect .social a.facebook   { background-position: -60px 0; }

#connect .social a.youtube    { background-position: -90px 0; }

#connect .social a.flickr     { background-position: -120px 0; }

#connect .social a.linkedin   { background-position: -150px 0; }

#connect .social a.delicious  { background-position: -180px 0; }

#connect .social a.googleplus { background-position: -210px 0; }

#connect .related-posts { border-left: 1px solid #e6e6e6; padding-left: 15px; }

#connect .related-posts ul { list-style: outside disc; margin: 5px 0 5px 15px; }

.widget #connect .fl, .widget #connect .fr { float: none; }

#main #connect .col-left, #main #connect .col-right { width: 48%; }

#mc_embed_signup { margin-bottom: 10px; }

/*-------------------------------------------------------------------------------------------*/

/* 4. WIDGETS */

/*-------------------------------------------------------------------------------------------*/

/* Sidebar */

#sidebar { width: 299px; }

#sidebar h3 {
	background: url("images/sidebar_block_title.png") no-repeat scroll 0 center transparent;
	color: #F4F4F4;
	font-size: 15px;
	height: 26px;
	line-height: 26px;
	margin-left: -5px;
	padding: 0 10px 0 18px;
}

/* Sidebar list toggle */

#sidebar .toggle.closed .toggle-content { display: none; }

/* Sidebar form fields */

#sidebar input[type=text], #sidebar input[type=search], 
#side-footer input[type=email] {
	background-color: #9AAB76;
	/*background-color: rgba(255, 255, 255, 0.42);*/
	border-color: #DDE9C5;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset;
}

#sidebar input[type=text]:focus, #sidebar input[type=search]:focus, 
#side-footer input[type=email]:focus {
	background-color: #BCC7A6;
	/*background-color: rgba(255, 255, 255, 0.62);*/
	border-color: #FFFFFF;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset, 0 0 4px rgba(255, 255, 255, 0.7);
}

#sidebar input[type=checkbox]:focus,
#side-footer input[type=checkbox]:focus {
	box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}

#sidebar input[placeholder]::-moz-placeholder, #side-footer input[placeholder]::-moz-placeholder { color: #506D16; opacity: 1; }

#sidebar input[placeholder]::-webkit-input-placeholder, #side-footer input[placeholder]::-webkit-input-placeholder { color: #506D16; }

#sidebar input[placeholder]:-ms-input-placeholder, #side-footer input[placeholder]:-ms-input-placeholder { color: #506D16; }

/* Sidebar Search */

#search {
	width: 100%;
	background: url("images/search_block_bg.png") no-repeat 0 0;
}

#search .search-form {
	background-color: #506D16;
	border-radius: 0 4px 4px 0;
	display: inline-block;
	margin: 14px 20px 12px 0;
	padding: 7px 7px 7px 19px;
	position: relative;
}

#search .search-field {
	background: url("images/ico-search.png") no-repeat scroll 5px 5px #9AAB76;
	/*height: 16px;*/
	margin: 0;
	padding: 4px 10px 4px 24px;
	width: 132px;
}

#search .search-field:focus { background-color: #BCC7A6; }

#search .search-submit {
	margin: 0;
	position: relative;
	left: -5px;
}

/* Sidebar Widgets */

#sidebar .widget {
	padding: 30px 18px 10px 21px;
	background: url("images/sidebar_block_top.png") repeat-x 0 0;
	clear: both;
}

#sidebar .widget:empty { display: none; }

#sidebar .widget > ul, 
#sidebar .widget h3 + div, 
#sidebar .widget_sp_image-description {
	background: url("images/sidebar_block_shadow.png") no-repeat scroll center bottom #AECA74;
	border-top: 1px solid #75992E;
	margin-top: 2px;
	padding: 0 0 10px;
	/*width: 100%;*/
}

#sidebar .widget h3 + div, 
#sidebar .widget_sp_image-description { padding: 5px 5px 15px; }

/* Image Widget */

#sidebar .widget_sp_image a { display: block; max-width: 260px; overflow: auto; }

#sidebar .widget_sp_image img { margin-bottom: 0; vertical-align: middle; }

#sidebar .widget_sp_image-description { border-top: 0 none; clear: both; font-size: 12px; margin-top: 0; text-align: center; }

/* Sidebar Primary Block */

.widget a { color: #363B2B; }

.widget a:hover { color: #BF0000; }

#sidebar .widget ul li {
	background: url("images/icons_list.png") no-repeat scroll 0 -180px transparent;
	border-top: 1px dashed #75992E;
	font-size: 12px;
	/*font-weight: bold;*/
}

#sidebar .widget ul li:hover { background-color: #E5EED3; }

#sidebar .widget ul li:first-child { border: 0 none; }

#sidebar .widget ul li > a {
	background: url("images/item_element_red.png") repeat-y scroll -47px center transparent;
	display: block;
	line-height: 20px;
	padding: 3px 6px 3px 29px;
}

#sidebar .widget ul li > a:hover { background-position: -35px center; margin-left: -5px; padding-left: 34px; }

#sidebar .widget ul.children { background: none #AECA74; border-top: 1px dashed #75992E; padding: 0; margin-top: 0; }

#sidebar .widget ul.children li { border: 0; margin-left: 20px; }

/* Sidebar Special List */

#sidebar .widget_recent_entries ul li, 
#sidebar .widget_pages ul li             { background-position: -30px -150px; }

#sidebar .widget_categories ul li        { background-position: -60px -120px; }

#sidebar .eventsListWidget ul li, 
#sidebar .eventsAdvancedListWidget ul li { background-position: -90px -90px; }

#sidebar .widget_recent_comments ul li   { background-position: -120px -60px; }

#sidebar .widget_links ul li             { background-position: -150px -30px; font-size: 11px; }

#sidebar .widget_recent_comments li.recentcomments { line-height: 20px; padding: 3px 6px 3px 29px; }

#sidebar .widget_recent_comments li.recentcomments > a { background-image: none; display: inline; margin: 0; padding: 0; text-decoration: underline; }

#sidebar .widget_recent_docs ul li { background-position: right 30px; }

#sidebar .widget_recent_docs ul li:hover { background-position: right 0; }

#sidebar .widget_recent_docs ul li > a { height: 20px; overflow: hidden; padding-right: 22px; text-overflow: ellipsis; white-space: nowrap; }

#sidebar .widget_recent_docs li > a img { margin-left: -21px; padding: 2px 5px 2px 0; vertical-align: top; }

/** Widget (Events List Advanced) **/

#sidebar .eventsAdvancedListWidget li.tribe_events { background-color: #D4E3B5; }

#sidebar .eventsAdvancedListWidget li.tribe_events.alt { background-color: #CADCA4; }

#sidebar .eventsAdvancedListWidget li.tribe_events:hover { background-color: #E5EED3; }

#sidebar .eventsAdvancedListWidget li.tribe_events .event {
	overflow: hidden;
	padding: 3px 6px 3px 29px;
	position: relative;
	-webkit-transition: padding-left 0.2s ease-out;
	   -moz-transition: padding-left 0.2s ease-out;
	    -ms-transition: padding-left 0.2s ease-out;
	        transition: padding-left 0.2s ease-out;
}

#sidebar .eventsAdvancedListWidget li.tribe_events .event:hover {
	cursor: pointer;
	padding-left: 37px;
	-webkit-transition: padding-left 0.25s ease-out 0.15s;
	   -moz-transition: padding-left 0.25s ease-out 0.15s;
	    -ms-transition: padding-left 0.25s ease-out 0.15s;
	        transition: padding-left 0.25s ease-out 0.15s;
}

#sidebar .eventsAdvancedListWidget li.tribe_events .event-date span { display: block; font-size: 16px; line-height: 20px; }

#sidebar .eventsAdvancedListWidget li.tribe_events .event-date {
	background: url("images/item_element_red.png") repeat-y scroll -11px center transparent;
	color: #FFFFFF;
	font: 14px/16px 'Open Sans Condensed',sans-serif;
	left: -29px;
	min-width: 20px;
	padding: 3px 12px 5px 4px;
	position: absolute;
	text-align: center;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	top: 0;
	z-index: 1;
	-webkit-transition: left 0.4s ease-out;
	   -moz-transition: left 0.4s ease-out;
	    -ms-transition: left 0.4s ease-out;
	        transition: left 0.4s ease-out;
}

#sidebar .eventsAdvancedListWidget li.tribe_events .event:hover .event-date {
	left: 0px;
	-webkit-transition: left 0.4s ease;
	   -moz-transition: left 0.4s ease;
	    -ms-transition: left 0.4s ease;
	        transition: left 0.4s ease;
}

#sidebar .eventsAdvancedListWidget li.tribe_events .event a {
	background-image: none;
	display: inline-block;
	font: 14px/20px 'Open Sans Condensed',sans-serif;
	margin: 0;
	padding: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 0 #E5EED3;
	vertical-align: bottom;
	white-space: nowrap;
}

#sidebar .eventsAdvancedListWidget li.tribe_events .event-venue {
	background: url("images/icons_toggle.png") no-repeat scroll right 0px transparent;
	color: #506D16;
	display: block;
	height: 16px;
	line-height: 16px;
	margin-bottom: 2px;
	overflow: hidden;
	padding-right: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#sidebar .eventsAdvancedListWidget li.tribe_events .event:hover .event-venue { background-position: right -32px; }

#sidebar .eventsAdvancedListWidget li.tribe_events.open .event-venue { background-position: right -16px; }

#sidebar .eventsAdvancedListWidget li.tribe_events.open .event:hover .event-venue { background-position: right -48px; }

#sidebar .eventsAdvancedListWidget li.tribe_events .event-more {
	background-color: #AECA74;
	border-top: 1px solid #8CAD4E;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
	padding: 8px 20px 8px 29px;
}

#sidebar .eventsAdvancedListWidget li.tribe_events dt {
	background: url("images/icons_event.png") no-repeat scroll left 0px transparent;
	float: left;
	height: 20px;
	margin: 2px;
	overflow: hidden;
	text-indent: -999em;
	width: 20px;
}

#sidebar .eventsAdvancedListWidget li.tribe_events dt.when-label { background-position: left -40px; }

#sidebar .eventsAdvancedListWidget li.tribe_events dt.loc-label  { background-position: left -60px; }

#sidebar .eventsAdvancedListWidget li.tribe_events dd {
	background-color: #C6DA99;
	border-bottom: 1px solid #8CAD4E;
	border-radius: 3px;
	box-shadow: 0 1px 1px #DDE9C5 inset;
	line-height: 16px;
	margin-bottom: 3px;
	padding: 4px 4px 4px 25px;
}

#sidebar .eventsAdvancedListWidget li.tribe_events dd a { font-weight: bold; text-shadow: 0 1px 0 #F1F6E8; }

#sidebar .eventsAdvancedListWidget li.tribe_events dd a:hover { text-decoration: none; }

#sidebar .eventsAdvancedListWidget li.tribe_events dd div { margin: 0.3em 0; }

#sidebar .eventsAdvancedListWidget li.tribe-event-featured .event a { color: #bf0000; }

#sidebar .eventsAdvancedListWidget li.tribe-event-featured .event::before { content: ""; position: absolute; display: block; top: 0; right: 0; width: 0; height: 0; border: 7px solid #bf0000; border-bottom-color: transparent; border-left-color: transparent; }

#sidebar .eventsAdvancedListWidget .dig-in,
#sidebar .events_calendar_widget .tribe-view-all-events { text-align: right; }

#sidebar .eventsAdvancedListWidget .dig-in a,
#sidebar .events_calendar_widget .tribe-view-all-events a { color: #F1F6E8; font-size: 12px; font-weight: bold; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3); }

#sidebar .eventsAdvancedListWidget .dig-in a:hover,
#sidebar .events_calendar_widget .tribe-view-all-events a:hover { color: #FFFFFF; }

#sidebar .eventsAdvancedListWidget .dig-in a:after,
#sidebar .events_calendar_widget .tribe-view-all-events a:after { content: ' »'; }

/** Widget (Featured / Next Event) **/

#sidebar .eventsFeatureWidget .event { background: none #75992E; border: 3px solid #F1F6E8; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.3); margin: 3px 1px; padding: 1px; position: relative; }

#sidebar .eventsFeatureWidget a.event-title { background: #BF0000; background: -webkit-linear-gradient(top, #C83E2E 10%, #BF0000) #BF0000; background: linear-gradient(to bottom, #C83E2E 10%, #BF0000) #BF0000; box-shadow: 2px 1px 2px rgba(227, 36, 27, 0.8) inset, 0 2px 0 rgba(0,0,0,.25); display: block; height: 70px; left: -8px; position: absolute; top: 21px; width: 248px; z-index: 10; -webkit-transition: width 0.1s ease-out, top 0.2s ease; transition: width 0.1s ease-out, top 0.2s ease; }

#sidebar .eventsFeatureWidget a.event-title:hover { width: 258px; }

#sidebar .eventsFeatureWidget a.event-title:after { background: url("images/ribbon_prev.png") 0 -30px transparent; bottom: -5px; content: ""; display: block; height: 5px; left: 0; position: absolute; width: 5px; }

#sidebar .eventsFeatureWidget a.event-title span { bottom: 11px; color: #fff; display: block; font: 15px/16px 'Museo-700',sans-serif; left: 32px; max-height: 48px; overflow: hidden; position: absolute; right: 19px; text-align: right; text-shadow: 0 1px 0 rgba(0,0,0,.4); -webkit-transition: left 0.1s ease-out; transition: left 0.1s ease-out; }

#sidebar .eventsFeatureWidget a.event-title:hover span { left: 42px; }

#sidebar .eventsFeatureWidget .has-thumb a.event-title span { right: 72px; text-align: left; }

#sidebar .eventsFeatureWidget .event-thumb { background-color: #fff; border: 1px solid #fff; float: right; height: 50px; line-height: 48px; margin: 9px; overflow: hidden; width: 50px; }

#sidebar .eventsFeatureWidget a.event-title img { vertical-align: middle; }

#sidebar .eventsFeatureWidget .event-meta { background: url("images/featured-event_bg.png") repeat-y left top #AECA74; overflow: hidden; padding-bottom: 20px; padding-top: 90px; width: 250px; /*min-height: 90px;*/ -webkit-transition: background-position 0.2s ease; transition: background-position 0.2s ease; }

#sidebar .eventsFeatureWidget .event-meta dl { margin-left: 50px; padding-top: 30px; position: relative; left: 0; opacity: 1; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; }

#sidebar .eventsFeatureWidget .event-meta dt { background: url("images/icons_event.png") no-repeat left 0 transparent; float: left; height: 20px; margin: 2px 2px 2px -24px; text-indent: -999em; width: 20px; }

#sidebar .eventsFeatureWidget .event-meta dt.date-label { background-position: left -20px; }

#sidebar .eventsFeatureWidget .event-meta dt.time-label { background-position: left -40px; }

#sidebar .eventsFeatureWidget .event-meta dt.loc-label { background-position: left -60px; }

#sidebar .eventsFeatureWidget .event-meta dt.category-label { display: none; }

#sidebar .eventsFeatureWidget .event-meta dd { background: #7F9C45; background: -webkit-linear-gradient(left, #68852E -3px, #7F9C45 10px) #7F9C45; background: linear-gradient(to right, #68852E -3px, #7F9C45 10px) #7F9C45; border-radius: 0 3px 3px 0; color: #F1F6E8; font: 14px/16px 'Museo-700',sans-serif; margin-bottom: 6px; max-width: 138px; padding: 4px 8px 4px 14px; }

#sidebar .eventsFeatureWidget .event-meta dd.category-meta { background: none #C6DA98; border-radius: 0 0 3px 3px; color: #506D16; font: 13px/16px 'Open Sans Condensed',sans-serif; max-width: 148px; overflow: hidden; padding: 3px 10px 2px; position: absolute; right: 20px; text-overflow: ellipsis; text-transform: uppercase; top: 0; white-space: nowrap; }

#sidebar .eventsFeatureWidget .event-meta dd a { color: inherit; }

#sidebar .eventsFeatureWidget .event-body { visibility: hidden; opacity: 0; background-color: rgba(0, 0, 0, 0.75); color: #fff; font-size: 13px; line-height: 1.2em; margin: 1px; overflow: hidden; padding: 86px 30px 14px 24px; position: absolute; left: 0; right: 0; top: 0; bottom: 0; }

#sidebar .eventsFeatureWidget .event-body a.more-link { display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }

#sidebar .eventsFeatureWidget .event-body a.more-link > span { background: url("images/icons.png") no-repeat scroll 0 -32px padding-box transparent; border: 3px solid rgba(255,255,255,.3); border-radius: 12px; bottom: 5px; display: block; height: 16px; position: absolute; right: 5px; text-indent: -999em; width: 16px; }

#sidebar .eventsFeatureWidget .event-body a.more-link:hover > span { background-position: -16px -32px; }

#sidebar .eventsFeatureWidget .has-body:hover a.event-title { top: 5px; }

#sidebar .eventsFeatureWidget .has-body:hover .event-meta { background-position: -50px top; }

#sidebar .eventsFeatureWidget .has-body:hover .event-meta dl { left: -50px; opacity: 0; }

#sidebar .eventsFeatureWidget .has-body:hover .event-body { visibility: visible; opacity: 1; -webkit-transition: opacity 0.4s ease 0.2s; transition: opacity 0.4s ease 0.2s; }

/* poster style */

#sidebar .eventsFeatureWidget .is-poster a.event-title { background: none transparent; box-shadow: none; display: inline; height: auto; position: static; width: auto; z-index: auto; }

#sidebar .eventsFeatureWidget .is-poster a.event-title:after { display: none; }

#sidebar .eventsFeatureWidget .is-poster a.event-title span { display: none; }

#sidebar .eventsFeatureWidget .event-poster { max-height: 300px; max-width: 250px; overflow: hidden; }

#sidebar .eventsFeatureWidget .has-body .event-poster { min-height: 150px; }

#sidebar .eventsFeatureWidget .is-poster .event-meta { display: none; }

#sidebar .eventsFeatureWidget .is-poster .event-body { padding-top: 30px; }

#sidebar .eventsFeatureWidget .is-poster.has-body:hover .event-body { -webkit-transition-delay: 0s; transition-delay: 0s; }

/* Sidebar Flickr */

/*#sidebar .flickr h3 span {
	color: #0061D8;
}
#sidebar .flickr h3 span span {
	color: #FF1183;
}
#sidebar .flickr .wrap {
	padding-top: 5px;
	margin-left: -10px;
	position: relative;
}
#sidebar .flickr li {
	float: left;
	margin-left: 10px;
	display: inline;
	margin-bottom: 10px;
}
#sidebar .flickr img {
	float: left;
	margin-left: 5px;
	display: inline;
	margin-bottom: 5px;
	display: block;
	padding: 4px;
	background: #fff;
	border: #BFCACE 1px solid;
}*/

/* Sidebar Adverts */

/*#sidebar .adverts {
	width: 285px;
	padding: 15px 0 10px 4px;
	background: url(images/sidebar_block_top.png) repeat-x 0 0;
}
#sidebar .adverts ul {
	padding: 0;
}
#sidebar .adverts ul li {
	float: left;
	margin-left: 10px;
	margin-top: 10px;
	display: inline;
}
#sidebar .adverts img {
	display: block;
}*/

#sidebar .adspace-widget { padding-right: 12px; }

#sidebar .adspace-widget a img { border: 1px solid #506D16; margin-right: 6px; max-width: 258px; }

/** Widget (Calendar) **/

#sidebar #calendar_wrap { padding-left: 0; padding-right: 0; }

#wp-calendar {
	width: 96%;
	margin: 0px auto;
	padding: 0;
	border-collapse: separate;
	border-spacing: 4px;
	font-size: 11px;
	line-height: 16px;
	position: relative;
}

#wp-calendar caption {
	background-color: #DDE9C5;
	border: 1px solid #8CAD4E;
	font-size: 12px;
	font-weight: bold;
	margin: 5px;
	padding: 5px 25px;
	border-radius: 13px;
	box-shadow: 0 1px 1px #F1F6E8 inset;
}

#wp-calendar th, #wp-calendar td {
	background-color: #CADCA4;
	border: 1px solid #8CAD4E;
	color: #363B2B;
	padding: 3px 6px 3px 0;
	text-align: center;
	border-radius: 3px;
	text-shadow: 0 1px 0 #DDE9C5;
}

#wp-calendar th {
	background-color: transparent;
	border-color: transparent;
	color: #506D16;
	font-weight: bold;
	line-height: 1em;
	padding: 0;
}

#wp-calendar td { text-align: right; }

#wp-calendar td.pad {
	background-color: transparent;
	border-color: transparent;
}

#wp-calendar a {
	background: url("images/item_element_red.png") no-repeat scroll -47px center transparent;
	color: #BF0000 !important;
	display: block;
	font-weight: bold;
	text-decoration: none;
}

#wp-calendar a:hover { background-position: -40px center; text-decoration: none; }

#wp-calendar tfoot {
	display: block;
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 3px;
	width: 100%;
}

#wp-calendar tfoot td { padding: 3px 6px; }

#wp-calendar tfoot td.pad { visibility: hidden; width: 100%; }

#wp-calendar #prev, #wp-calendar #next { background-color: transparent; border-color: transparent; }

#wp-calendar #prev a, #wp-calendar #next a {
	background: url("images/icons.png") no-repeat -16px -32px transparent;
	height: 16px;
	width: 16px;
	overflow: hidden;
	text-indent: 999em;
}

#wp-calendar #next a { float: right; }

#wp-calendar #prev a { background-position: 0 -48px; }

#wp-calendar #next a:hover { background-position: 0 -32px; }

#wp-calendar #prev a:hover { background-position: -16px -48px; }

/** Widget (Tag Cloud) **/

#sidebar .widget .tagcloud { padding: 12px 6px 20px; }

#sidebar .widget .tagcloud a {
	background-color: #EBF2DC;
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 1px 1px 0 0 rgba(0, 0, 0, 0.25);
	display: inline-block;
	font: 13px/18px 'Open Sans Condensed',sans-serif;
	height: 18px;
	margin: 0 3px 5px 0;
	overflow: hidden;
	padding: 3px 6px 3px 11px;
	position: relative;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

#sidebar .widget .tagcloud a:hover {
	background-color: #FDFFED;
}

#sidebar .widget .tagcloud a span {
	background: url("images/item_element_red.png") repeat-y scroll right center transparent;
	color: #FFFFFF;
	height: inherit;
	left: -14px;
	padding: 2px 13px 4px 6px;
	position: absolute;
	text-align: right;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
	top: 0;
	z-index: 1;
	-webkit-transition: left 0.3s ease-out;
	   -moz-transition: left 0.3s ease-out;
	    -ms-transition: left 0.3s ease-out;
	        transition: left 0.3s ease-out;
}

#sidebar .widget .tagcloud a span.count-2 { left: -20px; }

#sidebar .widget .tagcloud a span.count-3 { left: -26px; }

#sidebar .widget .tagcloud a:hover span {
	left: 0px;
	-webkit-transition: left 0.25s ease;
	   -moz-transition: left 0.25s ease;
	    -ms-transition: left 0.25s ease;
	        transition: left 0.25s ease;
}

/*** Footer ***/

#footer {
	width: 960px;
	background: url("images/footer_bg.png") no-repeat 0 0;
	/*margin-top: -1px;*/
	position: relative;
	clear: both;
}

/*#footer h2 { color: #6D7E87; }*/

/* Content footer */

#content-footer-wrapper {
	padding: 0 5px;
	background: url("images/content-footer_bg.png") no-repeat 0 -5px;
	height: 160px;
	width: 576px;
	margin-left: 79px;
}

#content-footer {
	background-color: #fff;
	background-clip: content-box;
	border-top: 5px solid #BF0000;
	max-height: 70px;
	padding: 23px 28px 22px;
	position: relative;
}

#content-footer .widget-title {
	font: 13px/12px 'Open Sans Condensed',sans-serif;
	height: 16px;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
}

#content-footer .widget-title > span {
	background-color: #BF0000;
	color: #FFFFFF;
	padding: 0 8px 1px;
	border-radius: 0 0 6px 0;
}

/** Widget (Links Carousel) **/

.widget_links_carousel ul {
	padding: 0;
	list-style: none;
}

.widget_links_carousel li {
	float: left;
	line-height: 70px;
	margin-right: 30px;
}

.widget_links_carousel .has-images li a {
	display: block;
	font-size: 0;
	opacity: 0.5;
	-webkit-filter: grayscale(1);
	        filter: grayscale(1);
	-webkit-transition: all .2s;
	        transition: all .2s;
}

.widget_links_carousel .has-images li a:hover {
	opacity: 1;
	-webkit-filter: grayscale(0);
	        filter: grayscale(0);
}

.widget_links_carousel .has-images li img {
	display: inline-block;
	vertical-align: middle;
	width: auto;
}

/** Widget (Related Content) **/

.widget_related_content ul {
	padding: 0;
	list-style: none;
}

.widget_related_content li {
	float: left;
}

.widget_related_content .related-content-link {
	display: block;
	font: 15px/20px 'Open Sans Condensed',sans-serif;
	margin-top: 3px;
	padding-left: 28px;
	background: url("images/icons_list.png") no-repeat 0px -183px transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.widget_related_content .related-content-link.post { background-position: -30px -153px; }

.widget_related_content .related-content-link.tribe_events { background-position: -90px -93px; }

.widget_related_content .related-content-link.attachment { background-position: -184px -3px; }

.widget_related_content .related-content-link a { color: #707070; }

.widget_related_content .related-content-link a:hover { color: #bf0000; }

/*
 *  Owl Carousel - Core
 */

.owl-carousel {
	display: none;
	width: 100%;
	-webkit-tap-highlight-color: transparent;
	/* position relative and z-index fix webkit rendering fonts issue */
	position: relative;
	z-index: 1;
}

.owl-carousel .owl-stage {
	position: relative;
	-ms-touch-action: pan-Y;
	touch-action: manipulation;
	-moz-backface-visibility: hidden;
	/* fix firefox animation glitch */
}

.owl-carousel .owl-stage:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.owl-carousel .owl-stage-outer {
	position: relative;
	overflow: hidden;
	/* fix for flashing background */
	-webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
	position: relative;
	min-height: 1px;
	float: left;
	-webkit-backface-visibility: hidden;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
	display: block;
	width: 100%;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
	display: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
	background: none;
	color: inherit;
	border: none;
	padding: 0 !important;
	font: inherit;
}

.owl-carousel.owl-loaded {
	display: block;
}

.owl-carousel.owl-loading {
	opacity: 0;
	display: block;
}

.owl-carousel.owl-hidden {
	opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
	visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
	-ms-touch-action: pan-y;
	    touch-action: pan-y;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.owl-carousel.owl-grab {
	cursor: move;
	cursor: -webkit-grab;
	cursor: grab;
}

.owl-carousel.owl-rtl {
	direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
	float: right;
}

/* No Js */

.no-js .owl-carousel {
	display: block;
}

/* Owl Carousel - theme */

#content-footer .owl-carousel {
	display: block;
	position: static;
}

#content-footer .owl-stage-outer {
	height: 70px;
}

#content-footer .owl-nav .owl-next,
#content-footer .owl-nav .owl-prev {
	width: 21px;
	height: 35px;
	position: absolute;
	top: 50%;
	margin-top: -15px;
	background: url("images/carousel_next-prev.png") no-repeat 0 0;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
}

#content-footer .owl-nav .owl-next { right: -5px; background-position: -23px 0; }

#content-footer .owl-nav .owl-next:hover { background-position: -23px -35px; }

#content-footer .owl-nav .owl-next:active { background-position: -23px -70px; }

#content-footer .owl-nav .owl-prev { left: -5px; }

#content-footer .owl-nav .owl-prev:hover { background-position: 0 -35px; }

#content-footer .owl-nav .owl-prev:active { background-position: 0 -70px; }

#content-footer .owl-nav .owl-next.disabled,
#content-footer .owl-nav .owl-prev.disabled { cursor: default; visibility: hidden; }

/* Side Footer */

#side-footer {
	color: #AECA74;
	height: 134px;
	overflow: hidden;
	padding: 16px 8px 10px 10px;
	width: 260px;
}

#side-footer h3 {
	color: #DDE9C5;
	font: 13px/16px 'Open Sans Condensed',sans-serif;
	padding: 0;
	text-shadow: 1px 1px 0 #506D16;
	text-transform: uppercase;
	margin-bottom: 5px;
}

/* Copyrights Footer */

.copy-footer {
	width: 100%;
	clear: both;
	background: #506D16 url("images/footer_bottom.png") no-repeat left bottom;
	font-size: 11px;
	color: #EBF2DC;
	/*padding: 5px 0;*/
	height: 40px;
	overflow: hidden;
}

.copy-footer ul { list-style: none; padding: 10px 15px; }

.copy-footer li {
	border-right: 1px solid #7CA42D;
	display: inline;
	line-height: 20px;
	padding: 0 5px;
}

.copy-footer li:last-child { border: 0 none; }

.copy-footer a, #side-footer a { color: #EBF2DC; }

.copy-footer a:hover, #side-footer a:hover { color: #FFFFFF; text-decoration: underline; }

/*-------------------------------------------------------------------------------------------*/

/* 5. COMMENTS */

/*-------------------------------------------------------------------------------------------*/

/* 5.1 Comments */

#comments { position:relative; margin:0; padding:0; border-bottom:1px solid #D9D9D9; }

#comments h3 { margin: 10px 0; }

#comments ol.commentlist { padding:0; line-height: 16px; }

#comments .comment.thread-even {}

#comments .comment.bypostauthor .comment-entry { background: #F3F7EB; border-left-color: #8EB63E !important; }

#comments .comment { width:100%; list-style-type:none; padding:0; border-top: 1px solid #D9D9D9; }

#comments .comment-container { position:relative; padding: 20px 10px; margin:0; border:0 none; width:auto; }

#comments .comment-head { margin: 0 0 15px 0; }

#comments .avatar { float:left; margin: 0 15px 10px 0; vertical-align:middle; border:1px solid #ddd; padding:3px; background:#fff; }

#comments .comment-head .name { margin: 0; font-weight: bold; font-size: 12px; background: url("images/icons_meta.png") no-repeat left top; padding-left: 20px; }

#comments .comment-head span { font-size: 12px; }

#comments .comment-head .date { color: #999; }

#comments .comment-entry { border-left: 3px solid #d3d3d3; padding-left: 10px; margin-left: 64px; }

#comments .comment-entry p {margin: 0 0 10px 0;}

#comments .reply { padding: 2px 0 3px 10px; position: relative; }

#comments .reply a {color: #BF0000; font-weight: bold; font-size: 12px;}

#comments .children {margin:0px 0 0 25px; padding:0; font-size: inherit;}

#comments .children li {border-top:1px dashed #D3D3D3;}

#comments .cancel-comment-reply {margin:10px 0;}

#comments .comment-navigation { margin-left: 2em; }

#comments .nocomments { font-size:14px; font-style: italic; }

#comments .unapproved { color: #999999; font-style: italic; }

/* 5.2 Comments Form */

#respond { margin: 2em 0 0; background-color: #F6F6F6; border-radius: 0 0 6px 6px; }

#comments #respond { margin-top:1em; }

#respond h3 { color:#333; font: 16px/1.25em 'Open Sans Condensed',sans-serif; margin: 0; padding: 2px 0; background-color: #FFFFFF; border-bottom: 3px solid #999999; }

#respond h3 span { background-color: #999999; border-radius: 6px 6px 0 0; color: #FFFFFF; padding: 1px 10px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4); }

#respond .left { float:left; width:200px; margin-right:15px; }

#respond .right { float:left; width:380px; }

#respond label { font-size:11px; color:#777; }

#respond #reply-title small { display: block; margin: 3px 5px; font-size: 12px; float:right; }

#respond #cancel-comment-reply-link { font-weight:normal; color:#BF0000; }

#commentform { margin: 15px 1px 15px 10px; }

#commentform label { position:relative; vertical-align:top; display:inline-block; margin-top:5px; }

#commentform input.txt,
#commentform textarea { font-family: Arial, Helvetica, sans-serif; }

#commentform input.txt { color:#666; width: 170px; margin-right: 5px; padding: 5px 7px; }

#commentform textarea { color:#666; width: 95% !important; padding: 5px 7px; }

#commentform input[type="checkbox"] { margin: 5px; display: inline-block; }

#commentform input[type="checkbox"] + label { color: inherit; vertical-align: baseline; }

#commentform .required { color: #AF0000; font-style: italic; }

#commentform .comment-form-comment label {display:none;}

#commentform p { margin-bottom: 10px; }

#commentform .comment-notes { color: #666; padding-right: 10px; line-height: 1.1; }

#commentform .form-submit { padding-bottom: 15px; }

/* 5.3 Pingbacks / Trackbacks */

#comments h3#pings { margin-top: 25px; }

#comments ol.pinglist { padding: 0; line-height: 16px; }

#comments .pinglist li { margin: 0 0 0 20px; list-style-type: decimal; padding:0 !important; border-top: 1px solid #D9D9D9; }

#comments .pinglist li .author { font-weight: bold; font-size: 12px; }

#comments .pinglist li .date { font-size: 11px; }

#comments .pinglist li .pingcontent { display: block; margin: 6px 0 10px; }

/*-------------------------------------------------------------------------------------------*/

/* 6. PAGE TEMPLATES */

/*-------------------------------------------------------------------------------------------*/

/* 6.1 Timeline Page Template */

#timeline-page .current-year { margin-bottom: 0; }

#timeline-page .archive-year { margin: 0; }

#timeline-page .archives-list { border-left: 3px solid #D3D3D3; list-style: none; margin: -7px 0 0 26px; padding: 14px 0 42px; }

#timeline-page .archives-list li { clear: left; font-size: 13px; font-style: normal; line-height: 16px; list-style: none; margin-bottom: 6px; padding-bottom: 1px; padding-left: 10px; position: relative; }

#timeline-page .archives-list li.new-month { padding-top: 40px; }

#timeline-page .archives-list li:before { border-top: 1px solid #D3D3D3; content: ""; display: block; height: 1px; left: 0; position: absolute; top: 8px; width: 10px; }

#timeline-page .archives-list li.new-month:before { top: 48px; }

#timeline-page .archives-list .date, 
#timeline-page .archives-list .comments { font: 13px/14px 'Open Sans Condensed',sans-serif; }

#timeline-page .archives-list .date { background-color: #999999; border-radius: 3px 0 0 3px; color: #fff; display: inline-block; left: -27px; padding: 1px 4px 2px; position: absolute; text-align: right; text-shadow: 0 -1px 0 rgba(0,0,0,.35); width: 16px; }

#timeline-page .archives-list .month { background-color: #8EB63E; border-radius: 3px; display: inline-block; font-size: 14px; left: 37px; line-height: 16px; padding: 1px 6px 3px; position: absolute; top: 0; visibility: hidden; }

#timeline-page .archives-list .month:before { border-top: 2px solid #D3D3D3; content: ""; display: block; height: 1px; left: -10px; position: absolute; top: 10px; width: 10px; }

#timeline-page .archives-list li.new-month .month { top: -26px; visibility: visible; }

#timeline-page .archives-list .linked { display: inline-block; max-width: 420px; background: url("images/icons_list.png") no-repeat -37px -155px transparent; padding-left: 20px; }

#timeline-page .archives-list .comments { display: inline-block; float: right; }

#timeline-page .archives-list .comments a { color: #666; display: inline-block; font: inherit; padding: 1px 0 1px 5px; text-align: right; }

#timeline-page .archives-list .comments a:hover { color: #BF0000; }

#timeline-page .archives-list .comments a:after { background: url("images/icons_list.png") no-repeat -128px -66px transparent; content: ""; display: inline-block; height: 14px; margin-left: 4px; vertical-align: top; width: 14px; }

#timeline-page .post-content .archives-list:last-child:after { background: #8EB63E; border: 4px solid #D3D3D3; border-radius: 8px; content: ""; display: block; height: 5px; left: -8px; position: relative; top: 46px; width: 5px; }

/* 6.2 Contact Form */

#contact-page #contactForm {background-color: #F6F6F6; border-radius: 0 0 6px 6px; padding: 15px 10px;}

#contact-page .screenReader { left: -9999px; position: absolute; top: -9999px; }

#contact-page ol.forms {list-style:none; width:100%; margin:0; padding:0;}

#contact-page ol.forms li{clear:both; list-style:none; margin-bottom:10px; padding:2px 0; position:relative; width:100%}

#contact-page ol.forms label{color:#777777; cursor:pointer; display:block; float:left; font-size:12px; font-weight:700; line-height:20px; margin:3px 0; padding-right:10px; text-align:right; width:18%;}

#contact-page ol.forms input.txt{width:50%;}

#contact-page ol.forms input#sendCopy{margin-bottom:1px;}

#contact-page ol.forms textarea{height:200px; width:72%;}

#contact-page ol.forms li .error{font-size:12px; display:block; margin-left:20%; color:red;}

#contact-page ol.forms li.textarea .error{display:block; margin-left:20%;}

#contact-page ol.forms li.screenReader{margin:0; padding:0;}

#contact-page ol.forms li.buttons.loading {background: transparent url("functions/images/ajax-loader.gif") no-repeat 15% 50%;}

#contact-page ol.forms li .offset,
#contact-page ol.forms li.inline input {width:auto; margin-left:20%;}

#contact-page ol.forms li.inline label {display:inline; float:none; padding-left:10px; width:auto;}

#contact-page ol.forms li .note { color: #666; line-height: 1; }

.entry #contact-page ol.forms li { list-style: none; }

/* Added to accomodate the contact form shortcode */

#contact-form-wrap { margin-top: 2em; }

#contact-form-wrap h3 { font: 16px/1.25em 'Open Sans Condensed',sans-serif; margin: 0; padding: 2px 0; border-bottom: 3px solid #999999; }

#contact-form-wrap h3 span { background-color: #999999; border-radius: 6px 6px 0 0; color: #FFFFFF; padding: 1px 10px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4); }

#contact-form-wrap #contact-form-title small { display: block; margin: 3px 5px; font-size: 12px; float:right; }

#contact-form-wrap #cancel-contact-form-link, #respond #cancel-comment-reply-link { background: url("images/icons.png") no-repeat 0 -80px transparent; color: #BF0000; display: block; font-weight: normal; height: 16px; overflow: hidden; text-indent: -999em; width: 16px; }

#contact-form-wrap #cancel-contact-form-link:hover, #respond #cancel-comment-reply-link:hover { background-position: -16px -80px; }

.contact-card #contact-form-wrap { margin-top: 1em; }

.contact-card #contact-form-wrap h3 span { margin-left: 6px; }

/* Contact info*/

.contact-info { margin: 20px 0; }

.contact-info address { font-style: normal; line-height: 16px; margin-bottom: 1em; }

.contact-info address .org { font-weight: bold; }

.contact-info span.contact-label { color: #8EB63E; font: 14px/1em 'Museo-700',sans-serif; text-transform: lowercase; }

.contact-info p { font-size: 12px; line-height: 16px; margin-top: 0; margin-bottom: 1em; }

.contact-info p.note { color: #666666; }

.contact-info p.contacts .contact-item { background: url("images/icons_contact.png") no-repeat scroll 0 -32px transparent; display: inline-block; line-height: 16px; margin: 1px 0; padding-left: 22px; }

.contact-info p.contacts .contact-item.email { background-position: -16px -16px; }

.contact-info p.contacts .contact-item.skype { background-position: -32px 0; }

/* Contact cards */

.contact-card { background: url("images/header_bg.png") repeat-x scroll 0 bottom #FDFDF9; border: 1px solid #DDDDD9; border-radius: 6px; box-shadow: 0 0 2px 1px #FFFFFF inset, 0 0 1px rgba(0, 0, 0, 0.15); clear: both; margin: 20px auto; min-height: 200px; position: relative; width: 400px; }

.contact-card:hover { border-color: #CDCDC9; box-shadow: 0 0 2px 1px #FFFFFF inset, 0 1px 5px rgba(0, 0, 0, 0.25); }

.contact-card .contact-avatar { background-color: #FFFFFF; border: 1px solid #D6D6D6; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); left: 18px; padding: 4px; position: absolute; top: 18px; z-index: 1; }

.contact-card .contact-avatar img { margin: 0; vertical-align: middle; }

.contact-card h4.contact-name { background: url("images/subheading_bg.png") no-repeat scroll 0 0 transparent; color: #FFFFFF; font-size: 16px; height: 30px; line-height: 30px; margin: 35px 30px 10px -5px; max-width: 320px; overflow: hidden; padding: 0 10px 5px 160px; text-overflow: ellipsis; text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35); white-space: nowrap; }

.contact-card a.ribbon-next { background: url("images/ribbon_next.png") no-repeat scroll 0 0 transparent; color: #FFFFFF; display: block; height: 35px; overflow: hidden; position: absolute; right: -5px; top: 35px; width: 32px; }

.contact-card a.ribbon-next:hover, .contact-card a.ribbon-next:focus { background-position: 0 -35px; }

.contact-card a.ribbon-next:active { background-position: 0 -70px; }

.contact-card a.vcard-link span { background: url("images/icons_ribbon.png") no-repeat scroll 0 0 transparent; display: block; height: 30px; margin: 0 2px 0 6px; overflow: hidden; text-indent: -999em; width: 24px; }

.contact-card a.vcard-link:active span { background-position: 0 1px; }

.contact-card .contact-info { margin: 0 20px 20px 155px; }

.contact-card .contact-info p.title { color: #666666; font: italic 15px/17px Cambria,Georgia,serif; }

.contact-card .contact-info .social-links { left: 18px; position: absolute; text-align: center; top: 150px; width: 110px; }

.contact-card .contact-info .social-links a, 
.contact-card .contact-info .social-links span { background: url("images/icons_social.png") no-repeat scroll left top #ADAFA7; border-radius: 3px; display: inline-block; height: 22px; margin: 0 2px; overflow: hidden; text-indent: -999em; width: 22px; }

.contact-card .contact-info .social-links span.no-link { background: none #DDDFD7; }

.contact-card .contact-info .social-links a.twitter-link { background-position: left -22px; }

.contact-card .contact-info .social-links a.google-link { background-position: left -44px; }

.contact-card .contact-info .social-links a.facebook-link:hover { background-color: #3C5A98; }

.contact-card .contact-info .social-links a.twitter-link:hover { background-color: #00ACED; }

.contact-card .contact-info .social-links a.google-link:hover { background-color: #C83E2E; }

.contact-card .contact-info a.contact-form-link { background: url("images/icons_toggle.png") no-repeat scroll 0 -32px transparent; display: inline-block; font-size: 12px; line-height: 16px; padding-left: 22px; }

.contact-card .contact-info a.contact-form-link:hover { background-position: 0 0; }

/* 6.3 Sitemap Page Template */

#sitemap-page .section { clear: both; background: url("images/section_shadow.png") no-repeat center bottom transparent; margin-bottom: 2em; padding-bottom: 20px; }

#sitemap-page .section-title { font: 16px/26px 'Open Sans Condensed',sans-serif; margin-bottom: 0; padding-bottom: 8px; position: relative; text-align: center; text-shadow: 0 -1px 1px rgba(0,0,0,.3); }

#sitemap-page .section-title:before { background: url("images/post_formats.png") no-repeat 0 0 #F1F6E8; border: 3px solid #AECA74; border-radius: 23px; content: ""; display: block; height: 40px; left: 50%; margin-left: -20px; opacity: 0.5; position: absolute; top: -10px; width: 40px; }

#sitemap-page .section-title.docs-title:before { background-position: 0 -200px; }

#sitemap-page .section-title.events-title:before { background-position: 0 -240px; }

#sitemap-page .section-title.photos-title:before { background-position: 0 -160px; }

#sitemap-page .section-title a { background-color: #B5B5B5; border-bottom: 1px solid #fff; border-top: 1px solid #fff; box-shadow: 0 1px 3px 1px rgba(0,0,0,.2); color: #fff; display: inline-block; padding: 0 30px; position: relative; text-transform: uppercase; }

#sitemap-page .section-title a:before,
#sitemap-page .section-title a:after { bottom: -7px; content: " "; display: inline-block; position: absolute; top: -3px; width: 25px; }

#sitemap-page .section-title a:before { background: -webkit-linear-gradient(left, #fff 5px, rgba(255,255,255,0)) transparent; background: linear-gradient(to right, #fff 5px, rgba(255,255,255,0)) transparent; left: -5px; }

#sitemap-page .section-title a:after { background: -webkit-linear-gradient(right, #fff 5px, rgba(255,255,255,0)) transparent; background: linear-gradient(to left, #fff 5px, rgba(255,255,255,0)) transparent; right: -5px; }

#sitemap-page .section-title a:hover { text-decoration: none; background-color: #BF0000; }

#sitemap-page .section .twocol-one { margin-bottom: 0; }

#sitemap-page ul { list-style: none; margin-left: 0; margin-top: 5px; }

#sitemap-page ul.children { font-size: inherit; margin: 2px 0 0 12px; }

#sitemap-page ul.children li:before { border-bottom: 1px dotted #666; border-left: 1px dotted #666; content: ""; display: block; height: 6px; left: -10px; position: absolute; top: 3px; width: 6px; }

#sitemap-page ul > li { background: url("images/icons_list.png") no-repeat -8px -184px transparent; color: #999; line-height: 18px; list-style: none; margin-bottom: 2px; padding-left: 19px; position: relative; }

#sitemap-page ul > li.page_item  { background-position: -38px -154px; }

#sitemap-page ul > li.cat-item   { background-position: -68px -124px; }

#sitemap-page ul > li.event-item { background-position: -98px -94px; }

#sitemap-page ul.wp-tag-cloud > li { background: none; }

#sitemap-page ul.wp-tag-cloud > li:before { background: url("images/icons.png") no-repeat -16px -16px transparent; content: ""; display: inline-block; height: 16px; left: -1px; position: absolute; top: 1px; width: 16px; }

#sitemap-page li > a { font-weight: normal; }

/*** Misc ***/

/* Text meant only for screen readers (e.g. form labels) */

.screen-reader-text {
	position: absolute;
	/*left: -1000em;*/
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	padding: 0;
	border: 0;
	white-space: nowrap;
}

.screen-reader-text.focusable:focus {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.hidden {
	display: none !important;
}

/* Cookie Notice */

#cookie-notice .privacy-policy-link {
	color: #fff;
}

/* Content attachments */

dl.attachments { width: 86%; margin: 0.5em auto;}

/*dl.attachments-large,dl.attachments-medium,dl.attachments-small {	border: 1px dashed black;}*/

dl.attachments:after { content:".";	display:block; height:0; clear:both; visibility:hidden;}

dl.attachments img{	margin: 0; padding: 0; background-color: transparent;}

dl.attachments dt.icon { float: left;}

dl.attachments dd {	min-height: 34px; margin: 0 0 0.8em 32px; padding: 0 0 0.3em 0.5em;}

dl.attachments dd p.caption {	color: #777777; font-size: 12px; line-height: 1.2em; margin: 0.5em 0 0;}

dl.attachments dd img.lock { margin: 0; float: right;}

div.widget dl.attachments {	width: 100%;}

/*div.widget dl.attachments-large {	border: 0;}*/

dl.attachments dd span.filesize {
	background-color: #999999;
	border-radius: 3px 3px 3px 3px;
	color: #FFFFFF;
	display: inline-block;
	float: right;
	font: 13px/14px 'Open Sans Condensed',sans-serif;
	margin: 0 0 0.5em 0.5em;
	padding: 1px 4px 2px;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
}

/*** TablePress ***/

.tablepress-table-description { clear: both; color: #666; display: block; font: italic 15px/17px Cambria,Georgia,serif; margin-bottom: 1.4em; }

.tablepress { border-collapse: collapse; border-spacing: 0; border: none; font-size: 12px; margin-bottom: 1em; position: relative; width: 100%; }

.tablepress:after { background: url("images/section_shadow.png") no-repeat center top transparent; bottom: -10px; content: ""; display: block; height: 10px; position: absolute; width: 100%; }

.tablepress th, .tablepress td { padding: 8px; border: none; background: none; text-align: left; }

.tablepress tbody td { vertical-align: top; }

/* Vertical lines / borders */

.tablepress tbody td { border-bottom: 1px solid #E3E3E3; }

.tablepress tbody tr:last-child td { border-bottom-color: #BF0000; }

.tablepress thead th, .tablepress tfoot th { border-bottom: 1px solid #850000; }

.tablepress thead th:first-child { border-radius: 4px 0 0 0; }

.tablepress thead th:last-child { border-radius: 0 4px 0 0; }

.tablepress thead th:last-child, .tablepress tfoot th:last-child { border-right: 0 none; }

/* Row background colors */

.tablepress thead th, .tablepress tfoot th { background: #BF0000; background: -webkit-linear-gradient(top, #BF0000 50%, #A60000); background: linear-gradient(to bottom, #BF0000 50%, #A60000); border-right: 1px solid #850000; box-shadow: 0 2px 1px rgba(255,255,255,.5) inset; color: #fff; font: 14px/16px 'Open Sans Condensed',sans-serif; padding: 7px 8px; text-shadow: 0 -1px 1px rgba(0,0,0,.4); vertical-align: middle; }

.tablepress .odd td { background-color: #f9f9f9; }

.tablepress .even td { background-color: #fcfcfc; }

.tablepress .row-hover tr:hover td { background-color: #ffeccc; }

.tablepress img { margin: 0; padding: 0; border: none; max-width: none; }

/* cell icons */

.tablepress tbody td[class*="icon-"] { background-position: center center; background-repeat: no-repeat; text-indent: -999em; }

.tablepress tbody td.icon-yes { background-image: url("functions/images/shortcode-tick.png"); }

.tablepress tbody td.icon-no { background-image: url("functions/images/shortcode-red-x.png"); }

/* caption */

.tablepress caption { background: #ddd !important; background: -webkit-linear-gradient(top, #ccc, #ddd 40%) !important; background: linear-gradient(to bottom, #ccc, #ddd 40%) !important; border-radius: 0 0 4px 4px; caption-side: bottom; font-size: 12px; line-height: 14px; margin: 0; padding: 4px 8px; text-align: left; text-shadow: 1px 1px 0 rgba(255,255,255,.6); }

.tablepress caption a { font-weight: normal; }

/* row grouping */

.tablepress tbody td.group { background-color: #DFDFDF; border-bottom-color: #C9C9C9; border-top: 1px solid transparent; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset; font-weight: bold; text-shadow: 1px 1px 0 rgba(255,255,255,.6); }

.tablepress tbody td.group-item-expander { background-position: 7px center; background-repeat: no-repeat; padding-left: 30px; }

.tablepress tbody td.group-item-expander:hover { background-color: #E9E9E9; border-bottom-color: #D3D3D3; cursor: pointer; }

.tablepress tbody td.expanded-group { background-image: url("functions/images/shortcode-toggle-close.png"); }

.tablepress tbody td.collapsed-group { background-image: url("functions/images/shortcode-toggle-open.png"); }

/* DataTables */

.dataTables_wrapper { clear: both; margin-bottom: 1em; }

.dataTables_wrapper .tablepress { clear: both; margin: 0 !important; }

.dataTables_wrapper label input, .dataTables_wrapper label select { display: inline; margin: 2px; vertical-align: baseline; width: auto; }

.table-toolbar { background: #FCFCFC; background: -webkit-linear-gradient(top, #FCFCFC 60%, #ECECEC); background: linear-gradient(to bottom, #FCFCFC 60%, #ECECEC); border: 1px solid #E3E3E3; border-bottom: 0 none; border-radius: 6px 6px 0 0; bottom: -2px; color: #888; font-size: 12px; line-height: 16px; padding: 3px 6px 6px 8px; position: relative; }

.dataTables_length { float: right; white-space: nowrap; margin: 3px 0; }

.dataTables_filter { float: left; white-space: nowrap; }

.dataTables_info { clear: both; color: #777; float: left; font-size: 11px; line-height: 12px; margin: 10px 0 0; }

.dataTables_processing { /*display: none;*/ }

.dataTables_scroll { clear: both; }

.dataTables_scrollBody { -webkit-overflow-scrolling: touch; }

/* Self clearing - */

.dataTables_wrapper:after, .table-toolbar:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

/* Pagination */

.dataTables_paginate { float: right; margin: 12px 0 0; padding: 0 0 10px 10px; }

/* Two button pagination - previous/next */

.dataTables_paginate a { outline: none; }

.dataTables_paginate .paginate_disabled_previous, .dataTables_paginate .paginate_disabled_next { color: #999 !important; border-color: #ccc !important; }

.paginate_disabled_next, .paginate_enabled_next { border-left: 0 none !important; margin-left: 0; }

.paginate_enabled_previous:hover, .paginate_enabled_next:hover { cursor: pointer; }

/* added for next/prev icons */

.paging_two_button a.paginate_enabled_next:after, .paging_two_button a.paginate_disabled_next:after { content: ""; margin-left: 3px; }

.paging_two_button a.paginate_enabled_previous:before, .paging_two_button a.paginate_disabled_previous:before { content: ""; margin-right: 3px; }

/* disabled state */

.paging_two_button a.paginate_disabled_next:after { background-position: 0 -32px; }

.paging_two_button a.paginate_disabled_previous:before { background-position: -16px -48px; }

/* Full number pagination */

.paging_full_numbers { clear: both; float: none; padding: 10px 10px; text-align: center; }

.paging_full_numbers a { margin: 0 2px; }

.paging_full_numbers .paginate_button:hover { cursor: pointer; }

/* added for next/prev icons */

.paging_full_numbers a.paginate_button.next { padding-right: 4px; }

.paging_full_numbers a.paginate_button.previous { padding-left: 4px; }

.paging_full_numbers > a.next:after, .paging_full_numbers > a.last:after { content: ""; margin-left: 3px; }

.paging_full_numbers > a.previous:before, .paging_full_numbers > a.first:before { content: ""; margin-right: 3px; }

/* disabled state */

.paging_full_numbers a.paginate_button_disabled { color: #999 !important; border-color: #ccc !important; }

.paging_full_numbers a.paginate_button_disabled:hover { cursor: default; }

.paging_full_numbers > a.paginate_button_disabled.next:after, .paging_full_numbers > a.paginate_button_disabled.last:after { background-position: 0 -32px; }

.paging_full_numbers > a.paginate_button_disabled.previous:before, .paging_full_numbers > a.paginate_button_disabled.first:before { background-position: -16px -48px; }

/* Sorting */

.dataTables_wrapper .sorting, .dataTables_wrapper .sorting_asc, .dataTables_wrapper .sorting_desc { padding-right: 20px; cursor: pointer; outline: none; }

.dataTables_wrapper .sorting div, .dataTables_wrapper .sorting_asc div, .dataTables_wrapper .sorting_desc div { position: relative; }

.dataTables_wrapper .sorting div:after, .dataTables_wrapper .sorting_asc div:after, .dataTables_wrapper .sorting_desc div:after { background: url("images/ico-sort-w.png") no-repeat -32px 0 transparent; content: ""; display: block; height: 16px; position: absolute; right: -18px; top: 0; width: 16px; }

.dataTables_wrapper .sorting_asc div:after { background-position: 0 0; }

.dataTables_wrapper .sorting_desc div:after { background-position: -16px 0; }

.dataTables_wrapper .sorting:hover, .dataTables_wrapper .sorting_asc, .dataTables_wrapper .sorting_desc { background: #9F0000; background: -webkit-linear-gradient(top, #B50000 25%, #7F0000); background: linear-gradient(to bottom, #B50000 25%, #7F0000); border-bottom-color: #640000; }

/*** bbPress ***/

#bbpress-forums ul { font-size: inherit; }

#bbpress-forums li,
	#bbpress-forums p.bbp-topic-meta {
		line-height: 1;
	}

#bbpress-forums div.bbp-topic-content ul li,
	#bbpress-forums div.bbp-reply-content ul li {
		line-height: 1.25em;
		margin-bottom: .25em;
	}

#bbpress-forums .quicktags-toolbar input {
		box-shadow: none;
		height: auto;
		text-shadow: none;
		text-transform: none;
	}

#bbpress-forums .bbp-forum-freshness a,
	#bbpress-forums .bbp-topic-freshness a {
		font-weight: normal;
	}

#bbpress-forums div.bbp-search-form,
	#bbpress-forums > #subscription-toggle {
		margin-bottom: 10px;
		display: inline-block;
	}

#bbpress-forums .status-closed,
	#bbpress-forums .status-closed a {
		color: inherit;
	}

#bbpress-forums .status-hidden,
	#bbpress-forums .status-hidden a {
		color: #bbb;
	}

#bbpress-forums span.bbp-admin-links {
		color: #bbb;
	}

#bbpress-forums span.bbp-admin-links a {
			color: #bf0000;
		}

#bbpress-forums span.bbp-admin-links a:hover,
			#bbpress-forums span.bbp-admin-links a:focus {
				text-decoration: underline;
			}