/*
Theme Name:James Lind Library
Theme URI:http://themes.themolitor.com/curator
Description:Based on "the Curator" premium theme developed by Chris Molitor.
Author:Robin Layfield
Author URI:http://ultrasimplified.com/
License:GNU General Public License
License URI:license.txt
Version:1.4.3
Tags:White, Dark
*/

/* Search icon by IcoMoon, made with http://icomoon.io/app/ */
@font-face {
    font-family: 'icomoon';
    src:url('../fonts/icomoon/icomoon.eot');
    src:url('../fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'),
        url('../fonts/icomoon/icomoon.woff') format('woff'),
        url('../fonts/icomoon/icomoon.ttf') format('truetype'),
        url('../fonts/icomoon/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.noscreen {
	display: none;
}

.clear_button {
	border-radius: 5px;
	font-size: 0.8em;
	line-height: 20px;
	background-color: #ffffff;
	color: #4d4d4d !important;
	display: inline-block;
	margin-top: 0px;
	padding-top: 0 !important;
	padding-bottom: 4px !important;
}

.aligncenter,
.bypostauthor,
.sticky,
.wp-caption-text,
.gallery-caption,
.wp-caption {}

.entry td {
    padding: 10px;
    border: 0;
}

* {
	padding:0;
	margin:0;

	outline:none;

	-moz-transition-property:background-color, border-color, color, opacity;
 	-moz-transition-duration:0.20s;
 	-moz-transition-timing-function:linear;

 	-webkit-transition-property:background-color, border-color, color, opacity;
 	-webkit-transition-duration:0.20s;
 	-webkit-transition-timing-function:linear;

 	-o-transition-property:background-color, border-color, color, opacity;
 	-o-transition-duration:0.20s;
 	-o-transition-timing-function:linear;

 	font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;
 	text-rendering: optimizeLegibility;
}

body {
	overflow-x: hidden;
}
/* RL Additions */
.side-content ul { list-style: none; }
ul { margin-bottom: 20px; }
li { margin-left: 10px; margin-bottom: 10px; }

.box-content ul {
	list-style: none;
	margin-bottom: 0;
}

.box-content ul li{

	margin-bottom: 0;
}

.archive-header {
	margin-bottom: 40px;
	background-color: #4d4d4d;
	padding: 20px 10px 20px 40px;
	border-radius: 10px 10px 0 0 ;
	color: #fff;
	font-family: p22underground, sans-serif;
	margin-left: -40px;
	margin-top: -40px;
	width: 610px;
	border-bottom: 2px solid #c2272d;
}

.archive-header h2 {
	color: #ffffff;
	margin-bottom: 20px;
}

.archive-header a:link, .archive-header a:visited, .archive-header a:hover, .archive-header a:active {
	color: #fff;
	border: 2px solid #fff;
	padding: 4px 8px;
	text-decoration: none;
	margin-left: 10px;
}

.archive-header a:hover, .archive-header a:active, .archive-header a.active {
	color: #c2272d;
	background-color: #fff;
	border: 2px solid #fff;
	padding: 4px 8px;
	text-decoration: none;
	margin-left: 10px;
}

.archive-header select {
border: 2px solid white;
background: #4d4d4d;
color: white;
/* padding: 0px 8px; */
margin-left: 10px;
font-size: 0.8em;
height: 28px;
}

a.view-record {
	float: right;
	border: 2px solid #c2272d;
	padding: 4px 16px 0 16px;
	text-transform: none;
	font-weight: normal;
	font-family: P22Underground, sans-serif;
	line-height: 1.3em;
}

a.view-record:link, a.view-record:visited {
	color: #c2272d;
	background-color: #fff;
	text-decoration: none;
}

a.view-record:hover, a.view-record:active {
	color: #fff;
	background-color: #c2272d;
	text-decoration: none;
}

a.sort-key {
	margin-left: 10px;
	border: 2px solid #4d4d4d;
	padding: 4px 16px 0 16px;
	text-transform: none;
	font-weight: normal;
	font-family: P22Underground, sans-serif;
	line-height: 1.3em;
}

a.sort-key:link, a.sort-key:visited {
	color: #4d4d4d;
	background-color: #fff;
	text-decoration: none;
}

a.sort-key:hover, a.sort-key:active, a.sort-key.active {
	color: #fff;
	background-color: #4d4d4d;
	text-decoration: none;
}

.filter-widget {
	border: 2px solid #4d4d4d;
	display: inline-block;
	margin-left: 20px;
	height: 24px;
	font-size:18px;
	padding:4px;
	font-weight: normal;
	font-family: P22Underground, sans-serif;
	border-radius: 0;
	line-height: 1.3em;
}

#tab-1 .filter-widget, #tab-2 .filter-widget, #tab-3 .filter-widget, #tab-4 .filter-widget, .js-specialist {
	font-size:12px;
	width: 160px;
}

.current-cat>a {
	color: #000;
	text-decoration: underline;
}

.wpcf-field-timeline-title-value {
	color: #c2272d;
	text-transform: none;
	text-decoration: underline;
}

.timeline-panel {
	background-color: #efefef !important;
	font-size:0.8em;
}

.wpcf-field-wysiwyg {
	word-wrap: break-word;
}

#lang_sel {
	position: absolute !important;
	right: 0 !important;
	z-index: 1001;
}

.sentence {
	text-transform: none;
}

.record {
	border-bottom:2px solid #c2272d;
	padding-bottom: 12px;
	padding-left: 50px;
	background: url( images/icons/book.png ) no-repeat top left;
}

.record:last-child{
	border-bottom: none;
}

.record small {
	text-transform: none;
	line-height: 1.1em;
	font-family: 'PT Serif', serif;
}

h2.posttitle {
		line-height: 1em;
		letter-spacing:-0.03em;
		font-weight: normal !important;
		margin-bottom: 10px;
}

h2.posttitle small {
	line-height: 0.8em;
}

.languages {
	font-size:12px;
	padding-right: 20px;
	margin:auto;
	width: 500px;
	position: relative;
	z-index: 10000;
}

.languages li {
	display:block; float: left;
}

.languages li a {
	color: #ececdd;
	text-decoration: underline;
	padding: 0 5px;
}

.languages li a:hover, .languages li a:active {
	color: #fff;
	background-color: #c00;
}

.essay-landing-ssba {
background-color: #c00;
margin: -40px -40px 20px -40px;
padding: 5px 10px;
}

.blockout {
	background-color: #c1282d;
	color: #fff;
	padding: 10px 15px;
	line-height:14px;
	margin-right: 10px;
	margin-top: 2px;
	width: 70px;
	float: left;
	margin-bottom: 10px;
}

.tti-logo {
	vertical-align: middle;
	margin-top: -8px;
	margin-right: 40px;
	margin-left: 220px;
	float: left;
}

.eventDetails h2 {
	color: #c1282d;
	font-size: 0.8em !important;
}

.eventDetails h2:hover {
	text-decoration: underline;
}

#category_header {
	background: white;
	clear: both;
	padding: 20px 40px 0 40px;
	border-radius: 10px;
	margin: 20px 4px 0 8px;
}

#category_description {
	display: inline-block;
	width: 580px;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 2px solid #c1282d;
}

#category_description h1 {
	margin-bottom: 0;
	font-size: 1.8em;
}

#category_description h2 {
	font-family: 'PT Serif', serif;
	line-height: 1.2em;
	font-style:italic;
	font-size: 1em;
	width: 100%;
	min-height: 50px;
}

.category_essay {
	font-family: 'PT Serif', serif;
	line-height: 1em;
	font-size: 1em;
	width: 100%;
	float: left;
	display: inline-block;
	max-width: 480px;
}

.cat-head{
	width: 150px;
	height: 150px;
	border-radius: 100px;
	border: 4px solid #4d4d4d;
	float: left;
	margin-right: 40px;
}

.side-element h3 {
	text-transform: uppercase;
}

.home-box {
	float: left;
	position: absolute;
	top: 700px;
	width: 100%;
	margin: auto;
}

.container {
	max-width: 1200px;
	width: auto;
	margin: auto;
}

.home-box h1 {
	margin-bottom: 10px;
	text-transform: uppercase;
	text-align: center;
}


.panel {
	width: 22%;
	min-width: 270px;
	min-height: 574px;
	float: left;
	margin: 0 15px;
	background-color: #4d4d4d;
	border-radius: 10px;
	margin-bottom: 40px;
	padding-bottom: 30px;
}

.panel h2, .panel-wide h2 {
	color: #fff;
	text-transform: uppercase;
	font-weight: 100;
	border-bottom: 2px solid #c1282d;
	padding-bottom: 5px;
	text-align: center;
	margin: 10px 10px 0 10px;
}

.panel img {
	padding: 10px;
	width: 93%;
	height: auto;
}

.panel a {
	font-style: italic;
}

.panel p {
	font-size: 1em;
}
.panel h3 {
	background: #fff;
	margin: 0;
}

.panel-wide {
	width: 98%;
	float: left;
	clear: both;
	margin: 0 15px;
	background-color: #4d4d4d;
	border-radius: 10px;
	padding-bottom: 30px;
}

.panel-wide .box-content ul li{
	width: 20%;
	margin-top: 10px;
	margin-left: 50px;
	display: inline-block;
	float: left;
}
.box-content {
	padding: 10px 10px 0 10px;
	min-height:356px;
	background: #fff;
	font-family: 'PT-serif', serif;
}

.panel-wide .box-content {
	padding: 10px 10px 0 10px;
	min-height: 0;
	background: #fff;
	font-family: 'PT-serif', serif;
}

.footer {
	background-color: #4d4d4d;
	color: #fff;
	clear: both;
	margin:auto !important;
	width: 100%;
	padding: 20px 0!important;
}

.footer-home {
	top: 1380px;
	position: relative;
}

.footer-block {
	width: 170px;
	height: 130px;
	padding: 20px;
	float: left;
	margin: 0 40px;
}

.footer a:link, .footer a:visited {
	color: #ececdd;
}

.footer a:hover, .footer a:active {
	color: #fff;
}

.specialist-collections {
	text-align:center;
	font-size: 1.2em;
}
.copyright {
	margin: auto;
	font-size: small;
	clear: both;
	padding-top: 40px;
	width: 700px;
	display: block;
}

.sidebar#left {
	top: 217px;
	height: 520px;
}
.sidebar#right {
	top: 217px;
	height: 520px;
}

.defocused {
	color: #545454 !important;
}
#navigation {
 position: relative;
}

.header-search {
 /* (remove float:right;margin-top:-40px;) */
 display: block;
 position: absolute;
 top: 0;
 right: 0;
}

#search-input[type="text"]{
	margin-top: 8px;
	max-width: 120px;
	font-size: 14px;
	border: 0;
	border-bottom: 1px solid #fff;
	background-image: url( 'images/search.png' );
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	border-bottom: 1px solid #c00;
}

#search-input[type="text"]:hover, #search-input[type="text"]:focus {
	border-bottom: 1px solid #c00;
}

.timeline-title {
	display: block;
	width: 475px;
	margin: 46px auto 0;
	z-index:9999;
	 font-size: 32px;
  	text-align: center;
}
/* -----BODY STUFF----- */
body {
	width:auto;
	font-family: 'PT Serif', serif;
	line-height:1.2em;
	height:100%;
}
#mainWrapper {left:0; bottom:0; right:0; overflow:auto; margin-top: 10px;}
#main { width:920px;  margin: auto;}
#content { padding:40px; width:580px; margin: 20px 5px 20px;  position:relative; border-radius:10px; box-shadow:0 1px 1px rgba(0,0,0,.1); background-color: #fff; float: left; }

#sidepanel {
    /* padding:20px; */
    width: 240px;
    margin: 20px 5px 80px;
    position:relative;
    float: left;
}
#sidepanel h3 {
    background-color: #4D4D4D;
    color: #fff;
    border-radius: 10px 10px 0px 0px;
    padding: 10px 20px 5px 20px;
    border-bottom: 2px solid #C02932;
    font-weight: normal;
}
.side-element {
    border-radius:10px;
    box-shadow:0 1px 1px rgba(0,0,0,.1);
    background-color: #fff;
    margin-bottom: 10px;
}
.side-content {
    padding: 10px 0 20px 0;
    font-size: 14px;
}

.side-content ul {
	padding: 0 20px 0 10px;
}

.side-content ul li {
    margin-left: 10px;
}

.side-content ul li a {
	font-weight: normal;
}

.side-content ul li+li {
    margin-top: 10px;
}

.side-content ul ul {
	padding: 0;
}

.side-content ul ul li {
    margin-left: 20px;
}

.side-content p {
	margin: 0;
}

.topics-list>li:not(:first-child) {
	margin-top: 15px;
}

.topics-list ul li, .topics-list ul li+li {
	margin-top: 5px;
}

/* -----HTML TAGS 'N STUFF----- */
a {text-decoration:none; color:blue;}
a:hover {text-decoration:underline;}
a[href$='jpg']:hover,
a[href$='png']:hover,
a[href$='gif']:hover {cursor:url(images/cursors/mag_glass.png),pointer;}

p { margin-bottom:12px; font-weight:normal;}

h1,h2 {font-weight:normal; font-family: P22Underground, sans-serif;  line-height: 1.3em; }
h3, h4, h5, h6 {font-weight:normal; font-family: sans-serif;  line-height: 1.3em; }
h4 { font-size: 0.8em; }
h1,h1 a,h1 a:visited,
h2,h2 a,h2 a:visited,
h3,h3 a,h3 a:visited,
h4,h4 a,h4 a:visited,
h5,h5 a,h5 a:visited,
h6,h6 a,h6 a:visited {text-decoration:none; }
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {text-decoration:underline;}

/* -----PAGE STUFF----- */
#loadingContainer {position:fixed; top:0%; left:0%; right:0%; bottom:0%; z-index:1000;}
#wrapper {/* position:absolute; */ top:0%; left:0%; right:0%; bottom:0%; overflow:hidden;}

/*---HEADER STUFF---*/
#header {
	/* position:fixed; */
	z-index:2000;
	top:0;
	box-shadow:0 1px 1px rgba(0,0,0,.1);
	left:0;
	right:0;
	background: #3c3c3c url("images/brownleather.png" ) repeat;
}
.logo {display:inline-block; padding:25px 25px 15px 50px;}
.logo img {display:inline-block;}
.print-logo {display:none;}

.post img {
	width: 536px;
	border: 8px solid #4d4d4d;
	border-radius: 10px;
}

h1#theTagline {display:block; font-family: 'PT Serif', serif; text-transform: none; font-size:18px; padding: 0 0px 15px 0px; margin:0 0 0 15px; color:linen; max-width: 600px; margin: auto; text-align: center; embossed effect */}

/*-------MAIN NAVIGATION STUFF--------*/
#navigation {display:block; position:absolute; /* bottom:-49px; */ height: 41px; width: 100%; background: white; text-transform: uppercase; border-bottom: 6px solid #c1282d}
#dropmenu {list-style:none;  position:relative; width:1000px; margin:auto; z-index:400;}
#dropmenu li {display:block; position:relative; float:left; }
#dropmenu li a {
	text-decoration:none;
	display:block;
	padding:0 16px;
	font:normal 16px/45px P22Underground, sans-serif;
}
#dropmenu li a:hover {text-decoration:none;}
#dropmenu ul {
	list-style:none;
	position:absolute;
	width:170px;
	z-index:3000;
	top:41px;
	right:0;
	padding:10px 0;
	border-top-width:2px;
	border-top-style:solid;
	display:block;
	visibility:hidden;
	opacity:0;
	box-shadow:0 1px 1px rgba(0,0,0,.1);
}
#dropmenu ul li {position:relative; width:100%;margin: 0px;}
#dropmenu ul li a {line-height:1.2em; padding:10px 20px; border-bottom:none; opacity:.6;}
#dropmenu ul li a:hover {opacity:1;}
#dropmenu ul li ul {position:absolute;top:-1px; right:170px;}
#dropmenu li:hover ul ul,
#dropmenu li:hover ul ul ul,
#dropmenu li:hover ul ul ul ul {visibility:hidden; opacity:0;}
#dropmenu li:hover ul,
#dropmenu li li:hover ul,
#dropmenu li li li:hover ul,
#dropmenu li li li li:hover ul {display:block; visibility:visible; opacity:1;
	-moz-transition-property:opacity;
 	-moz-transition-duration:0.15s;
 	-moz-transition-timing-function:linear;

 	-webkit-transition-property:opacity;
 	-webkit-transition-duration:0.15s;
 	-webkit-transition-timing-function:linear;

 	-o-transition-property:opacity;
 	-o-transition-duration:0.15s;
 	-o-transition-timing-function:linear;

}
#dropmenu > li.current-menu-item a:after,
#dropmenu > li.current-menu-ancestor a:after {
	bottom:0;
	border:solid transparent;
	content:"";
	height:0;
	width:0;
	position:absolute;
	border-width:5px;
	left:50%;
	margin-left:-5px;
}

#selectMenu {
	height: 24px;
	font-size: 16px;
	line-height: 24px;
	width: 100%;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	padding-left: 20px;
	height: 40px;
	text-transform: uppercase;
	border-bottom: 6px solid #c1282d;
	padding-left: 40%;
	z-index: 10;
	background-color: white;
}

.home #wrapper #header .ssba {
	position: relative;
	z-index: 1000;
}

.page-break	{ display: none; }

.home #theTagline a img{
	margin-top: -16px;
}

/*------- RESPONSIVE NAVIGATION STUFF --------*/
@media screen and (max-width:890px) {
	#navigation {display:none;}
	#selectMenu {display:block; position:relative;}
	.home #wrapper #header .ssba { display: none; }

	#main {
    	width: 100%;
	}
	.entrytitle, .post h2.posttitle, .single h2.posttitle {

        width: 100% !important;
        font-weight: normal;

    }

	#content {
    width: 70%;
    float: none;
    margin: 20px auto;
	}


	.archive-header {
		width: auto;
	}
	#sidepanel {
		clear: both;
        /* padding:20px; */
        width: 80%;
        margin: 20px auto;
        float: none;
    }

}/*/mediaquery*/

/* ----MORE STUFF----- */
#more {
	text-decoration:none;
	display:block;
	position:absolute;
	right:0;
	top:0;
	height:28px;
	font:normal 9px/28px sans-serif;
	z-index:2001;
	text-transform:uppercase;
	letter-spacing:.5px;
	color:#fff;
	padding:0 0 0 15px;
	width:85px;
}
#more:hover {color:#fff}
#more.openMe:after {
	content:"";
	border-style:solid;
    display:block;
    position:absolute;
    top:50%;
    width:0;
    height:0;
    z-index:1000;
    cursor:pointer;
    margin:-3px 0 0 -4px;
    border-color:#fff transparent transparent;
    border-width:4px 4px 0;
    right:10px;
}
#more.closeMe:after {
	content:"";
	border-style:solid;
    display:block;
    position:absolute;
    top:50%;
    width:0;
    height:0;
    z-index:1000;
    cursor:pointer;
    margin:-3px 0 0 -3px;
    border-color:transparent transparent #fff;
    border-width:0 4px 4px;
    right:10px;
}

/*---TIMELINE CONTROLS STUFF---*/
#controlsWrapper {
	font:normal 10px/40px sans-serif;
	height:40px;
	position:absolute;
	top: 634px;
	z-index:900;
	box-shadow:0 0 1px rgba(0,0,0,.1);
 	left:0;
	right:0;
}
#controlsWrapper p {margin:0px 15px; font:normal 10px/40px sans-serif;}

/*---TIMELINE CONTAINERS---*/
#timelineWrapper {
	overflow:hidden;
/* 	position:absolute; */
	left:0;
	top:0;
	right:0;
	bottom:0;
	z-index:1;
}
#timeline {
	white-space:nowrap; 	position:absolute;
	height:410px; /*HEIGHT OF ITEMS + SHADOW */
	top: 244px;
}

/*---LARGE LEFT RIGHT HOVERS---*/
.sidebar {width:49px; position:absolute; top:0; bottom:0; z-index:1000; display:block;}
.sidebar#left {left:0; cursor:url('images/cursors/arrow_left.png'),w-resize;}
.sidebar#right {right:0; cursor:url('images/cursors/arrow_right.png'),e-resize;}

/*---EVENT ITEMS---*/
.event {
	position:relative;
	height:350px;
	display:inline-block;
	overflow:hidden;
	vertical-align:top;
	margin:0 15px 0 0;
	box-shadow:0 1px 1px rgba(0,0,0,.1);
}
.event img {width:auto; height:300px; display:block;}
.event iframe {display:block; height:300px;}
.eventDetails {
	height:350px;
	white-space:normal;
	position:absolute;
	top:300px;
	width:100%;
	left:0;
	border-top: 1px solid #e5e5e5;
}
.eventDetails h2 {
	white-space:nowrap;
	text-overflow:ellipsis;
	cursor:pointer;
	text-align:center;
	padding:0 20px;
	height:50px;
	overflow:hidden;
	font:bold 11px/50px sans-serif;
	border-bottom:1px solid rgba(0,0,0,.1);
	display:block;
	margin:0;
}
.eventDetails h2:before {
    border-style:solid;
    border-width:7px;
    content:"";
    display:block;
    left:50%;
    position:absolute;
    top:-14px;
    width:0;
    margin-left:-4px;
    z-index:100;
}
.eventDetails .eventInfo {width:auto; height:300px; padding:25px; overflow:auto;}

/*--EVENT ITEMS WITH NO IMAGE--*/
.noImg {width:300px;}
.noImg .eventDetails {top:0;}
.noImg .eventDetails h2 {cursor:default;}

/*---divider MARKERS---*/
.divider {
	font:bold 11px/28px sans-serif;
	height:28px;
	text-align:center;
	color:#fff;
	display:inline-block;
	position:relative;
	margin:0 -85px 0 0px;
	width:85px;
	letter-spacing:1px;
	left:0px;
	top:-28px;
	z-index:1000;
}
.divider:first-child {margin-left:0;}

/*---TIMELINE REFERENCE---*/
#controls {
	position:absolute;
	top:0;
	z-index:1000;
	display:none;
	left:50px;
	right:50px;
	margin:0 auto;
	padding:16px 0 0 0;
}
#referenceWrapper {position:relative;}
#reference {
	height:9px;
	margin:0 auto;
	border-radius:10px;
	cursor:pointer;
	background:#d8d8d8;
}

#marker {
	width:7px;
	height:7px;
	border-radius:30px;
	border-width:7px;
	border-style:solid;
	position:absolute;
	left:0;
	top:-6px;
	z-index:10;
	cursor:url("//www.google.com/intl/en_ALL/mapfiles/openhand.cur"), default !important;
	background:#fff;
}
#marker.ui-draggable-dragging {cursor:url("//www.google.com/intl/en_ALL/mapfiles/closedhand.cur"), default !important;}

#hoverInfo,
#markerInfo {
	font:bold 11px/28px sans-serif;
	height:28px;
	text-align:center;
	color:#fff;
	display:inline-block;
	position:absolute;
	width:85px;
	letter-spacing:1px;
	z-index:1000;
	top:-44px;
	left:-39px;
}
#hoverInfo {margin-left:-43px; top:-43px; z-index:2000; opacity:0;}

#hoverInfo:after,
#markerInfo:after {
    border-style:solid;
    border-width:10px;
    content:"";
    display:block;
    left:50%;
    position:absolute;
    bottom:-18px;
    width:0;
    margin-left:-11px;
}
#controls:hover #markerInfo {opacity:1;}

#progress {
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	z-index:0;
	width:0;
	border-radius:10px;
	padding-right:7px;
}

.referenceDivider {
	position:absolute;
	width:3px;
	height:10px;
	top:0;
	margin:0;
	z-index:0;
	overflow:hidden;
	display:none;
	cursor:pointer;
}
/*HIDE FIRST REF DIVIDER -- MOSTLY FOR LOOKS ;-) */
#referenceWrapper > div:nth-child(5) {visibility:hidden;}

.sidebarSmall {
	width:50px;
	height:40px;
	position:absolute;
	top:-16px;
	cursor:pointer;
}
#leftSmall {left:-50px;}
#rightSmall {right:-50px;}
#rightSmall:before,
#leftSmall:before {
	content:'';
	border-style:solid;
    display:block;
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    z-index:1000;
}
#leftSmall:before {
    border-width:8px 8px 8px 0;
    margin:-7px 0 0 -4px;
}
#rightSmall:before {
    border-width:8px 0 8px 8px;
    margin:-7px 0 0 -4px;
}

/* -----SEARCH STUFF----- */
#searchform {background:rgba(255,255,255,.35); border:1px solid rgba(0,0,0,.15); width:260px; height:35px;}
#searchform #s {width:190px; padding:0 10px; height:35px; line-height:35px; margin:0; background:none; border:none;}
#searchform #searchsubmit {cursor:pointer; padding:10px 0 10px 10px; float:left;}
#searchform #searchsubmit:hover {text-decoration:none;}

/*-----CRUMBS STUFF-----*/
#crumbs {
	/* position:relative; */
	font:normal 15px/30px sans-serif;
	font-family: 'PT Serif', 'serif';
	font-style:italic;
	height:30px;
	padding: 10px 20px 0px 50px;
	color:#4d4d4d;
	overflow:hidden;
	/* position:absolute; */
	left:0px;
	top:-30px;
	width: 920px;
	margin: auto;
	display: none;
}
#crumbs a {color:#4d4d4d; text-decoration: none;}
#crumbs a:hover {color:#4d4d4d; text-decoration:none;}
/* #crumbs span {position:relative; left:0; top:100%;} */
#crumbs .current {color:#4d4d4d;}
#crumbs #loading {
	position:absolute;
	top:0;
	left:0;
	height:28px;
	line-height:28px;
	color:#fff;
	padding:0 18px;
}

/* -----POST AND ENTRY STUFF----- */
.listing .column {width:235px; float:left;}
.listing .noImgColumn {margin:0; width:280px;}
.listing .firstColumn{ margin-left:0;}
.listing .post {
	margin:0 0 60px;
	width:100%;
	display:block;
	clear:both;
}
.listing .post h2.posttitle {
	margin-bottom:10px;
	font-size:14px;
	font-weight: normal;
	position:relative;
}

.posttitle a {
    color: white !important;
}

.listing a.thumbLink {display:block; float:left;  margin:0 25px 15px 0; margin-right:0; width:100%;}
.listing a.thumbLink img {/*box-shadow:1px 1px 1px rgba(0,0,0,.25);*/ width:100%; height:auto;}

.readMore {font-size:12px;}

.entrytitle,
.post h2.posttitle,
.single h2.posttitle {
margin-bottom: 20px;
font-size: 24px;
background-color: #c1282d;
color: white;
margin-left: -40px;
margin-top: -40px;
padding: 35px 40px 10px;
border-radius: 10px 10px 0 0;
width: 580px;
font-weight: normal;
}

h2.posttitle small {
	text-transform:none;
	font-size:16px;
	line-height: 24px;
	font-family: 'PT Serif', 'serif';
	padding: 16px 0;
	font-weight: normal;
}

.entry{ margin-bottom:0px; /* text-align:justify; */}
.entry ol {margin:0 0 15px 18px; padding:0;}
.entry ol li {padding:0; list-style-position:outside; line-height:1.5em;}
.entry ul { list-style:square; margin:0 0 15px 12px; padding:0;}
.entry ul li {padding:0 0 0 5px; list-style-position:outside; line-height:1.5em;}
.entry p {margin:0 0 15px;}
.details { margin-bottom:35px;}
.entry h1, .entry h2, .entry h3, .entry h4,.entry h5,.entry h6 { font-weight: bold;}
.entry h2 {
border-top: 2px solid #c2272d;
padding-top: 20px;
width: 575px;
margin-bottom: 20px;
}

.entry h2:first-child{
	border: 0;
}

.entry .gallery {margin-bottom:15px !important;}
.entry .gallery img {border:none !important;}
.post img,
.single img,
.entry img {max-width:100%; height:auto; margin: 15px; }

#fullResImage {
	margin: 0;
}

img.ssba {
	margin: 6px;
	opacity: 0.8;
}

img.ssba:hover {
	opacity: 1;
}

.entry iframe,
.entry object,
.entry object embed {width:100%;}

embed {background:#000;}

#details {margin:40px 0 0; font-size:10px; clear:both; position:relative; line-height:1.1em;}
#details span {opacity:.5;}

/*--ARCHIVE AND SEARCH LAYOUT STUFF---*/
/*
body.archive #sidebar {
	background:none !important; width:auto !important; box-shadow:none !important; padding:0 !important; margin:78px 15px 60px 50px;
}
body.archive #main,
body.search #main {background:none !important; width:auto !important; box-shadow:none !important; padding:0 !important; margin:78px 15px 60px 50px;}
body.archive .post,
body.search .post {padding:30px; width:240px; margin:0px 0 15px; box-shadow:0 1px 1px rgba(0,0,0,.1); position:relative; float:left; clear:none !important; overflow:hidden;}
body.archive #crumbs,
body.search #crumbs {top:50px; left:50px;}
body.archive .post iframe,
body.archive .post object,
body.search .post iframe,
body.search .post object {width:300px; height:200px; margin:-30px -30px 25px;}
body.archive .post object embed,
body.search .post object embed {width:300px; height:200px; margin:-30px 0 25px;}
body.archive a.thumbLink,
body.search a.thumbLink {width:300px; margin:-30px -30px 25px;}
body.archive .listing h2.posttitle,
body.search .listing h2.posttitle {clear:both; margin-bottom:15px;}
body.archive h2.posttitle:before,
body.search h2.posttitle:before {
    border-style:solid;
    border-width:7px;
    content:"";
    display:block;
    left:50%;
    position:absolute;
    top:-43px;
    width:0;
    margin-left:-4px;
    z-index:100;
}
body.archive .post p,
body.search .post p {line-height:1.4em;}
body.archive .post span,
body.search .post span {opacity:.5;}
*/

h2.article-title {
    text-transform: none;
    font-weight: normal;
    font-size: 20px;
}

#embededContent > * > * {width:100%}
#embededContent > *,

/*---POST GALLERY STUFF---*/
ul.attachmentGallery {list-style:none; margin:-60px -60px 50px; width:615px; max-width:inherit; position:relative; z-index:1; display:block;}
ul.attachmentGallery li {width:615px; display:none;}
ul.attachmentGallery li a,
ul.attachmentGallery li img {display:block; width:100%; height:auto;}

#galleryNav {text-align:right; position:absolute; top:100%; padding:0 19px 0 15px; right:0px; background:#39566B; display:none; height:30px;}
#galleryNav a {font:normal 10px/28px sans-serif; display:inline-block; padding:0 5px; color:#fff;

	font:normal 10px/8px sans-serif;
	height:8px;
	width:8px;
	background:#fff;
	opacity:.35;
	padding:0;
	margin:11px 0 0 4px;
	overflow:hidden;

}
#galleryNav a:hover,
#galleryNav a.activeNav {text-decoration:underline; opacity:1;}

.post > img {display:none;}
.post > img:before {
    border-style:solid;
    border-width:7px;
    content:"";
    display:block;
    left:50%;
    position:absolute;
    bottom:0;
    width:0;
    margin-left:-4px;
    z-index:100;
    border-color:transparent transparent #fff transparent;
    z-index:10;
}


/*-------BLOG PAGE NAVIGATION STUFF----------*/
.navigation {font-size:12px; width:100%; clear:both; position:absolute; bottom:-25px; right:0;}
.navigation .pagenav a {display:block; line-height:28px; padding:0 15px; color:#fff; font-size:11px;}
.navigation .pagenav a:hover {text-decoration:none;}

/*---NEXT/PREV ARTICLE STUFF----*/
#nextPrevPosts {margin:-65px auto 80px; width:615px;}
.nextPrevItem {box-shadow:0 1px 1px rgba(0,0,0,.1); position:relative; width:300px; height:100px;}
#rightNextItem {float:right;}
#leftNextItem {float:left;}

#nextPrevPosts p a {display:block;}
#nextPrevPosts a small {color:rgba(0,0,0,.5); font:normal 10px sans-serif; margin:20px 0 10px; display:block;}
#nextPrevPosts a:hover {text-decoration:none; color:#000;}
#nextPrevPosts p {font:normal 14px/1.1em serif; margin:0 20px; width:160px}
#nextPrevPosts p.alignright {text-align:right;}

.nextPrevItem > a {display:block; position:relative;}
.nextPrevItem a > img {display:block; position:relative; height:100px; width:100px;}

.nextPrevItem > a:before {
    border-style:solid;
    border-width:7px;
    content:"";
    display:block;
    right:0;
    position:absolute;
    top:50%;
    margin:-7px 0 0 0;
    width:0;
    z-index:100;
}
.nextPrevItem > a.alignright:before {right:auto; left:0;}

.noLink {text-align:center; top:50%; position:absolute; font:normal 12px/1em sans-serif; width:100%; margin-top:-7px; left:0; opacity:.5}

/*---WIDGET PANEL STUFF---*/
#widgetsWrapper {
	position:fixed;
	z-index:2000;
	top:0%;
	bottom:100%;
	left:0;
	width:100%;
	overflow:auto;
}
#widgets {position:relative; margin:50px;}
.widget {
	list-style:none;
	position:relative;
	width:260px;
	float:left;
	margin:0 0 30px 0px;
	font:normal 13px/1.6em sans-serif;
}
.widget h2 {margin-bottom:20px; font:normal 11px/1.2em sans-serif; padding:8px 35px 9px 10px; position:relative; color:#fff;}
.widget h2:before {
    border-style:solid;
    content:"";
    display:block;
    position:absolute;
    width:0;
    z-index:100;
    border-color:#fff transparent transparent !important;
    bottom:50%;
    right:10px;
    border-width:4px;
    margin:0 0 -5px -2px;
}
.widget p {font:normal 13px/1.6em sans-serif;}

.widget ul li {list-style-type:square; list-style-position:outside; margin-left:15px; margin-bottom:10px;}
.widgetul li ul li {padding:0 0 0 15px; list-style-type:square; list-style-position:inside;}

/*----TAG CLOUD WIDGET STUFF-------*/
.widget_tag_cloud a {
	font-size:11px !important;
	display:block;
	float:left;
	padding:2px 8px;
	margin:0 3px 3px 0;
	color:#fff;
}
.widget_tag_cloud a:hover {padding:2px 8px; margin:0 3px 3px 0; text-decoration:none; color:#fff;}
.widget_tag_cloud:after {
    content:".";
    display:block;
    height:0;
    clear:left;
    visibility:hidden;
}

/*---COPYRIGHT STUFF---*/
#copyright {font:normal 11px/30px sans-serif; margin:0; position:fixed; bottom:0px; left:0px; color:#fff; padding:0 15px; z-index:1000;}
#copyright a {color:#fff; text-decoration:none; border-bottom:1px dotted #fff;}
#copyright a:hover {color:#fff; text-decoration:none; border-bottom:1px solid #fff;}

/*---FOOTER SOCIAL ICONS---*/
.socialicon {width:18px; height:18px; background-image:url('images/social.png'); margin:0px 0 -6px 5px; border:none !important; z-index:1; position:relative; display:inline-block;}
.socialicon:hover {border:none !important;}
#youtubeIcon {background-position:0px 0px;}
#vimeoIcon {background-position:-18px 0px; }
#twitterIcon {background-position:-36px 0px; }
#skypeIcon {background-position:-54px 0px; }
#rssIcon {background-position:-72px 0px; }
#myspaceIcon {background-position:-90px 0px; }
#facebookIcon {background-position:-108px 0px; }
#flickrIcon {background-position:-126px 0px; }
#linkedinIcon {background-position:-144px 0px; }

#youtubeIcon:hover {background-position:0px -18px;}
#vimeoIcon:hover {background-position:-18px -18px; }
#twitterIcon:hover {background-position:-36px -18px; }
#skypeIcon:hover {background-position:-54px -18px; }
#rssIcon:hover {background-position:-72px -18px; }
#myspaceIcon:hover {background-position:-90px -18px; }
#facebookIcon:hover {background-position:-108px -18px; }
#flickrIcon:hover {background-position:-126px -18px; }
#linkedinIcon:hover {background-position:-144px -18px; }

/* -----COMMENT STUFF----- */
#commentsection {
	font-size:12px;
	padding:60px;
	width:495px;
	box-shadow:0 1px 1px rgba(0,0,0,.1);
	position:relative;
	margin:-65px auto 80px;
}
.commentlist {width:100%; list-style:none; }
#commentsection h3 {margin:0 0 30px; font-size:16px;}
.commentlist li,#commentform input,#commentform textarea {font:.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;}
.commentlist li {font-weight:bold;list-style:none; padding:15px 0; font-size:12px;}
.commentlist li img.avatar {float:left; margin-right:15px;}
.commentlist cite,.commentlist cite a {font-weight:bold;font-style:normal;}
.commentlist p {font:normal 12px/1.5em sans-serif; text-transform:none; margin:10px 5px 10px 48px;}
.commentlist .pingback p {margin:10px 5px 10px;}
#commentform p {margin:5px 0;}
.commentmetadata {font-weight:normal;display:block; font-size:10px; padding:3px 0 0; text-transform:uppercase;}
cite.fn {text-transform:uppercase;}
.commentlist {text-align:justify;padding:0 0 40px;}
.nocomments {text-align:center;}
#recentcomments li {}
.alt {}

.reply {text-align:right;}
#cancel-comment-reply-link,
.reply a {display:inline-block; padding:3px 8px; color:#fff; font:normal 10px/18px sans-serif;}
#cancel-comment-reply-link:hover,
.reply a:hover {text-decoration:none; color:#fff;}

.commentlist ul.children {margin:15px 0 10px 48px; background:rgba(0,0,0,.015); border:1px solid rgba(0,0,0,.025); padding:5px 15px; border-radius:5px;}

/*---FORM STUFF---*/
input[type="email"],input[type="text"],input[type="password"] {padding:5px; width:170px; margin:5px 0 0 0; border:1px solid rgba(0,0,0,.2); background:none; font-size: 14px;}
textarea {padding:4px; width:90%; border:1px solid rgba(0,0,0,.2); background:none; margin-top:5px; font-size: 14px;}
#commentform input[type="submit"],
input[type="submit"] {cursor:pointer; border:none; overflow:hidden; display:block; padding:5px 10px; color:#fff;}

.wpcf7-select {
	font-size: 14px;
}
#sidebar #searchform {padding:0 0 10px;}
#sidebar input, #sidebar textarea {padding:3px}
#sidebar input[type="submit"]{cursor:pointer;}

#commentform input[type="text"] {float:left; clear:left; margin:0 8px 5px 0}
#commentform > p {line-height:30px;}
#commentform p.form-allowed-tags {line-height:1.3em;}
#commentform p.form-allowed-tags code {font:12px "Courier New";}

/* -----UNIVERSAL STUFF----- */
code {font:1.1em 'Courier New', Courier, Fixed;}
acronym,abbr,span.caps {font-size:.9em;letter-spacing:.07em;cursor:help;}
p img {max-width:100%;}
img.centered {display:block;margin:0 auto;}
img.alignright {display:inline;margin:0 0 25px 25px;}
img.alignleft {display:inline;margin:0 25px 25px 0;}
.entry a img {box-shadow:1px 1px 1px rgba(0,0,0,.25);}
.alignright {float:right;}
.alignleft {float:left;}
acronym.abbr {border-bottom:1px dashed #999;}
blockquote {padding-left: 10px;margin: 10px 20px; }
blockquote cite {display:block;margin:5px 0 0;}
.center {text-align:center;}
hr {display:none;}
hr.title {display: block;margin: 10px 0;border: 1px solid white; }
a img {border:none;}
img#wpstats {width:0;height:0;border:none;overflow:hidden;}
#hideme {visibility:hidden;}
.hidden {visibility:hidden; display:none;}
.rssSummary {padding-bottom:15px;}
.clear {clear:both;}
p.clear {height:1px; width:1px; }
.hide {display:none;}

div.wp-caption {max-width:100%; margin-bottom:15px; margin:auto;}
div.wp-caption.alignleft {margin:0 15px 15px 0;}
div.wp-caption.alignright {margin:0 0 15px 15px;}
div.wp-caption p.wp-caption-text {font-size:14px; margin:0; padding: 4px 5px 20px 5px; font-style: italic}
div.wp-caption img {margin:0;}

/* -----CALENDAR STUFF----- */
#wp-calendar {empty-cells:show;width:100%;margin:10px auto 0;}
#wp-calendar #prev a,#wp-calendar #next a {font-size:9pt;}
#wp-calendar #next a {padding-right:10px;text-align:right;}
#wp-calendar #prev a {padding-left:10px;text-align:left;}
#wp-calendar a {text-decoration:none;display:block;}
#wp-calendar caption {font:bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;text-align:center;width:100%;}
#wp-calendar th {font-style:normal;text-transform:capitalize;}
#wp-calendar td {text-align:center;padding:3px 0;}
#wp-calendar td.pad:hover {background-color:#fff;}

/* ----- RESPONSIVE TABS ----- */
.r-tabs .r-tabs-nav {
    margin: 0;
    padding: 0;
}

.r-tabs .r-tabs-tab {
    display: inline-block;
    margin: 0;
    list-style: none;
}

.r-tabs .r-tabs-panel {
    padding: 15px;
    display: none;
}

.r-tabs .r-tabs-accordion-title {
    display: none;
}

.r-tabs .r-tabs-panel.r-tabs-state-active {
    display: block;
}

/* Accordion responsive breakpoint */
@media only screen and (max-width: 768px) {
    .r-tabs .r-tabs-nav {
        display: none;
    }

    .r-tabs .r-tabs-accordion-title {
        display: block;
    }
}

/* Tabs container */
.r-tabs {
	position: relative;

	background-color: #c2272d;

	border-top: 1px solid #c2272d;
	border-right: 1px solid #c2272d;
	border-left: 1px solid #c2272d;
	border-bottom: 4px solid #c2272d;
	border-radius: 4px;

}

/* Tab element */
.r-tabs .r-tabs-nav .r-tabs-tab {
	position: relative;
	background-color: #c2272d;
}

/* Tab anchor */
.r-tabs .r-tabs-nav .r-tabs-anchor {
	display: inline-block;
	padding: 10px 12px;

	text-decoration: none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.4);
	font-size: 14px;
	font-weight: bold;
	color: #fff;
}

/* Disabled tab */
.r-tabs .r-tabs-nav .r-tabs-state-disabled {
	opacity: 0.5;
}

/* Active state tab anchor */
.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
	color: #c2272d;
	text-shadow: none;

	background-color: white;

	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

/* Tab panel */
.r-tabs .r-tabs-panel {
	background-color: white;

	border-bottom: 4px solid white;

	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;

}

/* Accordion anchor */
.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
	display: block;
	padding: 10px;

	background-color: #c2272d;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.4);
	font-size: 14px;

	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

/* Active accordion anchor */
.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
	background-color: #fff;
	color: #c1282d;
	text-shadow: none;
}

/* Disabled accordion button */
.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
	opacity: 0.5;
}


@media screen and (max-width:1215px) {
	.footer-home {
		top: 2270px;
		position: relative;
	}

	.panel {
		margin: 10px 5px 10px 25px;
		width: 46%;
	}

	.panel-wide {
		width: 96%;
		margin: 20px 25px;
	}

	.box-content {
		min-height:290px;
	}

	.panel-wide .box-content ul {
		margin: auto;
	}

	.panel-wide .box-content ul li {
		width: 25%;
	}

	.panel-wide .box-content ul li select {
		width: 160px;
	}

}

@media screen and (max-width:760px) {
	.footer-home {
		top: 3430px;
		position: relative;
	}

}

@media screen and (max-width:614px) {
	.footer-home {
		top: 3500px;
		position: relative;
	}

	.timeline-title {
		margin: 32px 0 0 -20px;
		font-size: 28px;
	}

}

@media screen and (max-width:600px) {
	.footer-home {
		top: 3720px;
		position: relative;
	}

	.panel {
		float: none;
		margin: 40px auto;
	}

	.panel-wide {
		width: 275px;
		margin: auto;
		float: none;
	}

	.panel-wide .box-content ul li {
		width: 35%;
		margin:auto
		float: none
	}

	.panel h2, .panel-wide h2 {
		margin: 10px auto;
		padding-top: 10px;
	}

	li .filter-widget {
		margin:auto;
		width: 160px;
	}

	.copyright {
		width: 275px;
	}

	.footer-block {
		margin: 0px 80px 20px 80px;
	}
}
