/*** IMAGE STYLES ***/

/** for videos (non-iframe) **/
div.video {
	background: #FFF;
	border: 1px solid #CCC;
	display: block;
	margin: 20px auto;
	overflow: hidden;
	padding: 20px;
	width: 518px;
}

div.video div {
	border: none !important;
	margin: 0px auto;
}


/** for table image/captions **/

#contentDiv table,
#contentDiv table td {
	width: auto !important;
}

img.aligncenter,
img.alignleft,
img.alignright,
img.alignnone {
	border: 1px solid #333;
    box-shadow: 0 0 2px #FFFFFF;
	display: block;
    margin: 20px auto;
}

img.alignleft {
	float: left;
	margin: 3px 20px 20px 0px;
}

img.alignright {
	float: right;
	margin: 3px 0px 20px 20px;
}

/* CAPTIONS */

.mceTemp,
div.wp-caption,
div.wp-caption.aligncenter,
div.wp-caption.alignnone,
div.wp-caption.alignright,
div.wp-caption.alignleft { /* wrapper for image and caption */
	background: #555;
	border: 1px solid #333;
    -moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	margin: 20px 0px;
	padding: 0px;
	box-shadow: 0 0 3px #FFFFFF;
	-moz-box-shadow: 0 0 3px #FFFFFF;
}

div.wp-caption.aligncenter,
p iframe,
#contentDiv p iframe {
	clear: both;
	display: block;
	margin: 20px auto;
}

div.wp-caption.alignright {
	float: right;
	margin: 15px 0px 20px 20px;
}

div.wp-caption.alignleft {
	float: left;
	margin: 15px 20px 20px 0px;
}

#content div.wp-caption.alignleft p.wp-caption-text {
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	padding: 5px;
	margin: 0px;
}
	

#contentDiv iframe { /* wrapper for image and caption */
	background: #555;
	border: 1px solid #333;
    box-shadow: 0 0 3px #FFFFFF;
}

.mceTemp.mceIEcenter {
	clear: both;
    display: inline-block;
    float: none;
    margin: 20px 0px;
}

.mceTemp.mceIEcenter:after {
	clear: both;
}

dl.wp-caption.aligncenter,
dl.wp-caption.alignleft,
dl.wp-caption.alignright,
div.wp-caption img  {
	margin: 0px;
	padding: 0px;
/*	width: auto !important;
	height: auto !important;*/
}

.wp-caption.aligncenter img,
.wp-caption.alignleft img,
.wp-caption.alignright img,
div.wp-caption img   {
	border-bottom: 1px solid #333;
	box-shadow: 0px 0px 1px #999;
}

#content p.wp-caption-dd,
#content div.wp-caption p.wp-caption-text {
	clear: both;
    color:  #EEE;
    margin: 5px;
    padding: 0px; 
}

#content .mceTemp.mceIEcenter p.wp-caption-dd {
	max-width: 600px; /* may need to update this */
}

#content p.wp-caption-dd a:link,
#content p.wp-caption-dd a:active,
#content p.wp-caption-dd a:visited,
#content p.wp-caption-dd a:hover {
	color: #CCC;
	border-bottom: 1px dotted #CCC;
	font-weight: bold;
	text-decoration: none;
}

#content p.wp-caption-dd a:hover {
	color: #FFF;
	border-bottom: 1px dotted #FFF;
}

/*** POST DETAILS ***/

div#content div.listing-page {
	border-top: 5px solid #101010;
	padding: 15px 0px;
	clear:both;
	overflow: hidden;
}

div#content article div.listing-page h1 a {
    text-decoration: none;
    display: block;
    margin: 0px 0px 10px 0px;
}

div#content article div.listing-page h1 a:hover {
    color: #002E5E;
}

div#content div.listing-page p {
	font-size: 14px;
	line-height: 18px;
	color: #333;
}

div.details,
div.listing-details div {
	margin: 15px 0px;
	overflow: hidden;
	padding: 0px;
}

div.listing-details {
	clear: both;
	margin: 0px;
}

div.listing-details div {
    background: rgba(0,0,0,.08);
    padding: 10px;
    display: block;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0,0,0,.05) inset;
	margin-bottom: 0px;
}

div.details ul,
div.listing-details div ul {
	margin: 0px;
	padding: 0px;
}

div.details ul li,
div.listing-details div ul li {
	color: #555;
	display: block;
	float: left;
	font-size: 12px;
	line-height: 16px;
	list-style: none;
	margin: 0px;
	min-width: 30%;
	padding: 0px 12px 12px 0px;
}

div.listing-details div ul li {
	min-width: inherit;
	padding-bottom: 0px;
}

div.details ul li:nth-child(3) {
	color: #e8e3df;
}

div.details ul li li,
div.listing-details div ul li li {
	display: inline;
    float: none;
	padding: 0px;
}

div.details li strong,
div.listing-details div li strong {
	color: #333;
	float: left;
	font-weight: bold;
	padding: 0px 5px 0px 0px;
	text-transform: uppercase;
}


ul.post-categories,
div.listing-details div ul.post-categories {
	display: inline;
}

div.details ul li a:link,
div.details ul li a:active,
div.details ul li a:visited,
div.details ul li a:hover,
div.listing-details div ul li a:link,
div.listing-details div ul li a:visited,
div.listing-details div ul li a:active,
div.listing-details div ul li a:hover {
	background: none repeat scroll 0 0 #CCCCCC;
    border: 1px solid #999999;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 1px #EEEEEE inset;
    color: #003876;
    display: block;
    float: left;
    font-size: 11px;
    font-weight: bold;
    line-height: 16px;
    margin: -3px 4px 0px 0px;
    padding: 1px 6px;
    position: relative;
    text-decoration: none;
    text-transform: none;
}

div.details ul li a:hover,
div.listing-details div ul li a:hover {
	box-shadow: 0px 1px 1px #EEE inset, 0px 1px 2px rgba(0,0,0,.25);
}

div.details ul li a:active,
div.listing-details div ul li a:active {
	background: none repeat scroll 0 0 #C5C5C5;
	box-shadow: 0px 0px 1px #DFDFDF inset;
}

div.details ul li.small {
	font-size: 11px;
}

div.details ul li.small a:link,
div.details ul li.small a:active,
div.details ul li.small a:visited,
div.details ul li.small a:hover {
	background-color: transparent;
	border: none;
	display: inline;
	float: none;
	margin: 0px;
	padding: 2px;
	box-shadow: none;	
}

div.details ul li.small a:active,
div.details ul li.small a:hover {
	background: none repeat scroll 0 0 #CFCFCF;
	box-shadow: 0px 0px 1px #999 inset;
}

/*** SOCIAL ***/

#contentDiv .social4i iframe {
	background-color: transparent;
	border: none;
	box-shadow: none;
	margin: 0px;
}

/*** COMMENTS ***/

div.comments {
	background: #d0ccc8;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    border-radius: 3px 3px 3px 3px;
	clear: both;
    display: block;
    overflow: hidden;
	margin: 20px 0px;
	position: relative;
}

#content div.comments h1 {
	background: none repeat scroll 0 0 #101010;
    color: #F0F0F0;
    margin: 0px;
    padding: 5px 10px;
}

#content div.comments p.login-info { /* might not need this */
	position: absolute;
	top: 5px;
	right: 10px;
}

#commentform {
	padding: 0px 10px 10px 10px;
}

#commentform ul {
	margin: 0px;
	padding: 0px;
}

#commentform ul li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	position: relative;
	width: 100%;
}

#commentform ul li.half {
	width: 48%;
}

#commentform ul li em {
	bottom: -8px;
	color: #555555;
	font-size: 11px;
	font-style: normal;
	left: 0;
	position: absolute;
}

#commentform ul li.half:first-child {
	padding-right: 20px;
}

#commentform textarea,
#commentform li input {
	background: none repeat scroll 0 0 #FAFAFA;
    border: 1px solid #B0B0B0;
    border-radius: 3px;
    box-shadow: 0 0 1px rgba(255,255,255,.3), 0 0 3px rgba(0, 0, 0, 0.25) inset;
    color: #666666;
	font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
	margin-bottom: 8px;
    padding-left: 3px;
    width: 99%;
}

#commentform textarea:focus,
#commentform li input:focus { 
	background: #FFF;
	border: 1px solid #999999;
	outline: none;
	box-shadow: 0px 0px 3px rgba(0,0,0,.35);
}
#commentform textarea {
	padding: 3px;
	height: 100px;
}

#commentform li input {
	height: 30px;
}

#commentform label {
	color: #333;
	display: block;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 3px;
}

#commentform label span {
	color: #555;
	font-weight: normal;
}

button#send {
    background: #9D0708; 
	border: 1px solid #700505;   
    color: #EEEEEE;
	cursor: pointer;
    display:block;
    float: right;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
	margin: 10px 0px;
    padding: 0px 10px;
	box-shadow: inset 0px 1px 1px rgba(255,255,255,.35);
    text-decoration: none;
    text-transform: uppercase;
}

button#send:hover {
	box-shadow: inset 0px 1px 1px rgba(255,255,255,.35), 0px 1px 2px rgba(0,0,0,.4);	
}

.lt-ie9 button#send:hover {
	background: #8C0506;
	border: 1px solid #670E0E; 
	color: #FFFFFF;
}
 
button#send:focus {
	background: #8C0506;
	border: 1px solid #670E0E; 
	color: #FFFFFF;
	box-shadow: inset 0px 1px 1px rgba(255,255,255,.2); 
}

/*** READ MORE LINKS ***/

#content a:link.more-link,
#content a:active.more-link,
#content a:visited.more-link,
#content a:hover.more-link {
    background: #9D0708; 
	border: 1px solid #700505;   
    color: #EEEEEE;
    border-radius: 3px 3px 3px 3px;
    box-shadow: inset 0px 1px 1px rgba(255,255,255,.35);
    display: block;
    float: right;
    font-size: 12px;
	line-height: 16px;
    margin: 20px 0px 10px 0px;
    padding: 3px 20px 2px 5px;
	position: relative;
    text-decoration: none;
	text-transform: none;
}

#content a:active.more-link,
#content a:hover.more-link {
	background: #8C0506;
	border: 1px solid #670E0E; 
	color: #FFFFFF;
	box-shadow: inset 0px 1px 1px rgba(255,255,255,.2); 
}

#content a.more-link:after {
    border-bottom: 6px solid transparent;
    border-left: 6px solid #EEE;
    border-top: 6px solid transparent;
    content: "";
	height: 0;
    right: 6px;
    position: absolute;
	top: 5px;
    width: 0;
    z-index: 100;
}

/*** PAGINATION ***/

#content p.pagination,
nav.pagination {
	clear: both;
	display: block;
	margin: 20px 0px;
	overflow: hidden;
}

nav.pagination ul {
	margin: 0px;
	padding: 0px;
}

nav.pagination ul li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

p.pagination a:link,
p.pagination a:visited,
p.pagination a:active,
p.pagination a:hover,
nav.pagination ul li a:link,
nav.pagination ul li a:active,
nav.pagination ul li a:visited,
nav.pagination ul li a:hover {
    background: none repeat scroll 0 0 #CCCCCC;
    border: 1px solid #999999;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0px 1px 1px #EEEEEE inset;
    color: #003876;
   	cursor: pointer;
    display: block;
    float: left;
    font-size: 12px;
	line-height: 16px;
    margin: 0px 4px 6px 0px;
    padding: 3px 6px;
	position: relative;
    text-decoration: none;
	text-transform: none;
}

p.pagination a:hover,
nav.pagination ul li a:hover {
	box-shadow: 0px 1px 1px #EEE inset, 0px 1px 2px rgba(0,0,0,.25);
}

.lt-ie9 p.pagination a:hover,
.lt-ie9 nav.pagination ul li a:hover {
	background: #C5C5C5;
}

p.pagination a:active,
nav.pagination ul li a:active {
	background: #C5C5C5;
	box-shadow: 0px 0px 1px #DFDFDF inset;
}

#content p.pagination a[rel="prev"],
nav.pagination ul li.older a {
	padding-left: 20px;
}

#content p.pagination a[rel="next"],
nav.pagination ul li.newer a {
	padding-right: 20px;
}

#content p.pagination a[rel="prev"]:after,
nav.pagination ul li.older a:after {
    border-bottom: 6px solid transparent;
    border-right: 6px solid #003876;
    border-top: 6px solid transparent;
    content: "";
	height: 0;
    left: 6px;
    position: absolute;
	top: 5px;
    width: 0;
    z-index: 100;
}

#content p.pagination a[rel="next"]:after,
nav.pagination ul li.newer a:after {
    border-bottom: 6px solid transparent;
    border-left: 6px solid #003876;
    border-top: 6px solid transparent;
    content: "";
	height: 0;
    right: 6px;
    position: absolute;
	top: 5px;
    width: 0;
    z-index: 100;
}

/*** GALLERY COLUMN FIX ***/

div.gallery.four-columns dl.gallery-item {
	width: 25% !important;
}

div.gallery.three-columns dl.gallery-item {
	width: 33% !important;
}

/*** LIGHTBOX STYLES ***/

.gallery { 
	background: #555;
 	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#555), to(#404040));
	background: -webkit-linear-gradient(top, #555, #404040); 
	background: -moz-linear-gradient(top, #555, #404040);
	background: -ms-linear-gradient(top, #555, #404040);
	
	border: 1px solid #333;
    -moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	margin: 20px auto;
	padding: 0px;
	box-shadow: 0 0 3px #FFFFFF;
	-moz-box-shadow: 0 0 3px #FFFFFF;
}

.gallery-item { 
	float: left; 
	margin: 20px 0px 0px 0px;
	text-align: center; 
}

.gallery img { 
	border: 1px solid #202020;
	box-shadow: 0 0 3px rgba(255,255,255,.25);
	-moz-box-shadow: 0 0 3px rgba(255,255,255,.25); 
}

.gallery img:hover { 
	box-shadow: 0px 1px 6px rgba(0,0,0,.3);
	-moz-box-shadow: 0px 1px 6 gulopx rgba(0,0,0,.3); 
}


/* If you want to show images slowly, use this. And you need to edit lightbox-gallery.js too. 
 .gallery img {
	display: none; 
 	border: 2px solid #cfcfcf;
 } */
 
.gallery-caption { 
	display: none;
	margin-left: 0px; 
}

/* TOOLTIPS */
#tooltip {
	border: 1px solid #000;
	background-color: #eee;
	background-color: rgba(255,255,255,.85);
	padding: 5px;
	position: absolute;
	max-width: 200px;
	z-index: 3000;
}

#tooltip h3, #tooltip div { 
	color: #333;
	font-size: 14px;
	font-weight: normal; 
	margin: 0px;
	padding: 0px;
}

/* Lightbox */
#jquery-overlay {
	height: 500px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 90;
}

#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}

#jquery-lightbox a img { 
	border: none; 
}

#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

#lightbox-container-image { 
	padding: 10px; 
}

#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}

#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}

#lightbox-container-image-box > #lightbox-nav { 
	left: 0; 
}

#lightbox-nav a { 
	outline: none;
}

#lightbox-nav-btnPrev, 
#lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}

#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}

#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}

#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}

#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}

#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}
	
#lightbox-image-details-caption { 
	font-weight: bold; 
}

#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			

#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}

.lt-ie9 #content {
	position: relative;
}

.lt-ie9 #rightcolumn {
	position: absolute;
	right: 10px;
	top: 17px;
	width: 180px;
}

.lt-ie9 #maincolumn {
	padding: 5px 240px 0 20px;
    width: 640px;
}