/*
Theme Name: Responsive TolkSoc
Author: Daniel Helen and Emil Johansson
Description: A responsive WordPress theme based on the Bootstrap framework for The Tolkien Society website.
Version: 1.0
*/
/* Global */
body {
	background: #eee url(images/bg.png) repeat top left;
}
/*
body:before {
	content: "This website is currently undergoing maintenance. Please bear with us.";
	position: fixed;
	top: 0;
	background: #333;
	opacity: 0.75;
	color: #fff;
	width: 100%;
	z-index: 999;
	text-align: center;
	font-size: 16px;
	line-height: 1.25;
	height: auto;
	padding: 5px 0;
}
*/

/* Header */
.header {
	height: 105px;
	position: relative;
	background: #ffffff;
}
.header-logo-image {
    position: absolute;
    top: 17px;
    margin-left: 17px;
    z-index: 101;
    background-image: url(images/tslogo.png);
    width: 90px;
    height: 113px;
}
.header-logo-text {
    position: absolute;
    top: 31px;
    left: 122px;
    z-index: 10;
    background-image: url(images/tslogotext.png);
    width: 151px;
    height: 58px;
}

/* Menu */
.menu {
	background: #333;
	height: 43px;
	position: relative;
}
.menu-fixed {
	position: fixed;
	top: 0;
	width: inherit;
	z-index: 101;
}
#cssmenu .menu-item-19 > a {
	border-bottom: 4px solid #82c4e5;
}
#cssmenu .menu-item-198 > a {
	border-bottom: 4px solid #e33417;
}
#cssmenu .menu-item-6764 > a {
	border-bottom: 4px solid #d99f3c;
}
#cssmenu .menu-item-24 > a {
	border-bottom: 4px solid #00A33E;
}
#cssmenu .menu-item-22 > a {
	border-bottom: 4px solid #F1654F;
}
#cssmenu .menu-item-35 > a {
	border-bottom: 4px solid #78bf32;
}
#cssmenu .menu-item-36 > a {
	border-bottom: 4px solid #829AE5;
}
#cssmenu .menu-item-7880> a {
	border-bottom: 4px solid #E2C71E;
}

/* Subheader */
.subheader {
	background: #808080;
	color: #fff;
	height: 150px;
}
.subheader-image {
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
	height: 150px;
}
.subheader-gradient {
	height: 150px;
	position: relative;
	left: 0px;
	right: 0px;
	background: -moz-linear-gradient(45deg,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(45deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 75%,rgba(0,0,0,0) 100%);
	background: linear-gradient(45deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 75%,rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 );
}
.subheader-text {
	position: absolute;
	bottom: 15px;
	left: 15px;
	font-weight: 300;
	font-size: 42px;
	color: #FEFEFE;
	line-height: 1.1;
}
.subheader-image.blog {
	background-image: url('images/subheaders/blog.jpg');
}
.subheader-image.contact {
	background-image: url('images/subheaders/contact.jpg');
}
.subheader-image.donate {
	background-image: url('images/subheaders/donate.jpg');
}
.subheader-image.events {
	background-image: url('images/subheaders/events.jpg');
}
.subheader-image.legal-notices {
	background-image: url('images/subheaders/legal-notices.jpg');
}
.subheader-image.links {
	background-image: url('images/subheaders/links.jpg');
}
.subheader-image.members-area {
	background-image: url('images/subheaders/members-area.jpg');
}
.subheader-image.store {
	background-image: url('images/subheaders/store.jpg');
}
.subheader-image.membership {
	background-image: url('images/subheaders/membership.jpg');
}
.subheader-image.news {
	background-image: url('images/subheaders/news.jpg');
}
.subheader-image.press {
	background-image: url('images/subheaders/press.jpg');
}
.subheader-image.site-map {
	background-image: url('images/subheaders/site-map.jpg');
}
.subheader-image.the-author {
	background-image: url('images/subheaders/the-author.jpg');
}
.subheader-image.the-society {
	background-image: url('images/subheaders/the-society.jpg');
}

/* Content */
.content-container {
	background: #ffffff;
}
.content {
	padding-left: 7.5px;
	padding-right: 7.5px;
}
.content-article {
	margin-top: 15px;
	margin-bottom: 15px;
}

/* Content: Parent Pages */
.content-parent {
	padding: 10px 10px 0 10px;
	border-bottom: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-top: 15px;
}
.content-thumbnails-container {
	margin-top: 15px;
}
.content-thumbnail, .content-thumbnail:hover, .content-thumbnail:active, .content-thumbnail:focus {
	display: block;
	position: relative;
	text-decoration: none;
	margin-bottom: 15px;
	color: #fefefe;
	text-shadow: -1px -1px 7px rgba(0, 0, 0, 0.75);
    background: #000000;
}
.content-thumbnail > img {
	width: 100%;
	height: auto;
	opacity: 0.6;
	-webkit-transform: translateZ(0);
}
.content-thumbnail > img:hover, .content-thumbnail > img:active, .content-thumbnail-caption:hover + .content-thumbnail-img, .content-thumbnail-caption:active + .content-thumbnail-img {
	webkit-transition: opacity .15s ease-in-out;
	-moz-transition: opacity .15s ease-in-out;
	-ms-transition: opacity .15s ease-in-out;
	-o-transition: opacity .15s ease-in-out;
	transition: opacity .15s ease-in-out;
	opacity: 0.8;
}
.content-thumbnail-caption {
	position: absolute;
	left: 10px;
	bottom: 10px;
	left: 1rem;
	bottom: 1rem;
	padding-right: 10px;
	z-index: 99;
}
.content-thumbnail-caption-title {
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.25;
}
.content-thumbnail-caption-text {
	margin-top: 5px;
	font-size: 14px;
	font-size: 1.4rem;
}
/* Content: Posts */
.content-box {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	color: #fefefe;
	font-size: 11px;
	line-height: 1.1;
	text-transform: uppercase;
	padding: 5px 5px;
	margin-right: 5px;
}
.content-box-back {
	margin-top: 15px;
}
.content-box:hover, .content-box:active, .content-box:focus {
	color: #e8e8e8;
	text-decoration: none;
}
.content-box-grey {
	background: #333333;
}
.content-box-red {
	background: #e33417;
}
.content-title {
	font-weight: 300;
	font-size: 32px;
	margin-top: 15px;
	margin-bottom: 15px;
	line-height: 1.25;
}
.content-title a, .content-title a:hover, .content-title a:active {
	color: #333333;
}
.content-meta {
	font-size: 14px;
	margin-bottom: 20px;
	font-weight: 700;
	line-height: 1.1;
}
.content-meta > a, .content-meta > a:hover {
	color: inherit;
}
.content-slider {
	margin-top: 15px;
	margin-bottom: 15px;
}
.content-biog {
	background: #eeeeee;
	border: 1px solid #cccccc;
	padding: 15px;
	min-height: 130px;
}
.content-biog-image {
	float: left;
}
.content-biog-main {
	margin-left: 115px;
}
.content-biog-title {
	font-family: 'Oswald', 'Open Sans', sans serif;
	font-size: 14px;
	text-transform: uppercase;
	color: #333333;
	margin-bottom: 15px;
	line-height: 1.25;
}
.content-biog-desc {
	font-size: 12px;
	color: #333333;
}
.content-avatar {
	float: right;
}
.content-archive-title {
	display: block;
	margin: 5px 0;
}
.content-archive-title a {
	font-size: 22px;
	font-weight: 300;
	color: #333333;
	line-height: 1.25;
}
.content-archive-meta {
	display: inline-block;
	margin-bottom: 8px;
}
.content-archive-meta, .content-archive-meta a {
	font-size: 12px;
	font-weight: 700;
	color: #333333;
}
.content-archive-excerpt {
	font-size: 12px;
	margin-bottom: 15px;
	border-bottom: 1px solid #cccccc;
}
.pagination {
	margin-left: auto;
	margin-right: auto;
}
.pagination > li .current {
	z-index: 2;
	color: #0d0d0d;
	background-color: #eee;
	border-color: #ddd;
}
.content-more {
	margin-top: 15px;
	margin-bottom: 15px;
}
.content-blog {
	margin-bottom: 30px;
	border-bottom: 1px solid #cccccc;
}
.content-video {
	margin-bottom: 15px;
}

/* Content: Front Page */
.slider-title {
	display: inline !important;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	color: #ffffff;
	font-size: 32px;
	font-size: 3.2rem;
	background: #222222;
	padding: 5px;
	box-shadow: 5px 0 0 #222222, -5px 0 0 #222222;
	box-decoration-break: clone;
	line-height: 1.5;
}

/* Content: Events */
.content-event-box {
	border: 1px solid #cccccc;
	margin-bottom: 15px;
	position: relative;
	box-shadow: 0px 0px 7px #aaaaaa;
	padding: 10px;
}
.content-event-box-title {
	font-family: 'Oswald',sans-serif;
	font-size: 22px;
	text-transform: uppercase;
	line-height: 1.25;
	width: calc(100% - 60px);
	display: inline-block;
}
.content-event-box-title a {
	color: #333333;
}
.content-event-box-meta {
	color: #666666;
	font-size: 12px;
	font-weight: 700;
	margin-top: 10px;
}
.content-event-box-location {
	font-style: italic;
	color: #666666;
	font-size: 12px;
	margin-bottom: 10px;
}
.content-event-box-excerpt {
    font-size: 12px;
}
.content-event-box-ribbon {
	position: absolute;
	right: 10px;
	top: 0px;
	padding: 5px;
	width: 40px;
	text-align: center;
	background: #333333;
	color: #FEFEFE;
	box-shadow: 0px 5px 10px #AAAAAA;
	line-height: 1.1;
}
.content-event-box-ribbon-day {
	font-size: 25px;
}
.content-event-box-ribbon-month {
	font-size: 12px;
	text-transform: uppercase;
}
.content-event-header {
	background: #EEEEEE;
	color: #333333;
	text-align: center;
	padding: 30px 15px;
	margin-bottom: 27.5px;
	position: relative;
	border: 1px solid #CCCCCC;
}
.content-event-header-title {
	font-size: 36px;
	font-family: 'Oswald', sans-serif;
}
.content-event-header-date {
	position: absolute;
	bottom: -12.5px;
	left: 0;
	width: 100%;
}
.content-event-header-date-text {
	display: inline-block;
	background: #E33417;
	padding: 4px;
	text-transform: uppercase;
	margin: 0 auto;
	font-size: 12px;
	color: #fefefe;
}
.content-event-header-box {
	display: inline-block;
	background: #333333;
	font-family: 'Oswald', sans-serif;
	color: #fefefe;
	font-size: 11px;
	line-height: 1.1;
	padding: 5px;
	text-transform: uppercase;
	margin: 0 auto;
}
.content-event-header-location-text {
	position: absolute;
	bottom: -10.6px;
	right: 15px;
}
.content-event-header-back-text {
	position: absolute;
	bottom: -10.6px;
	left: 15px;
}
.content-event-location {
	text-align: center;
	font-style: italic;
	color: #666666;
	font-size: 16px;
	margin-top: -12.5px;
}
.content-comments {
	margin-top: 15px;
}
.content-comments-event {
	padding-top: 15px;
	border-top: 1px solid #cccccc;
}

/* Downloads */
.content-downloads-box {
	text-align: center;
	cursor: pointer;
	border: 1px solid #CCCCCC;
	padding: 10px;
	margin-bottom: 15px;
	background-color: #F4F4F4;
	width: 100%;
}
.content-downloads-box:hover {
	color: #E33417;
}
.content-downloads-box:active {
	background-color: #EEEEEE;
}
.content-downloads-box-title {
	font-family: 'Oswald',sans-serif;
	font-size: 16px;
	padding: 5px 0;
}
.content-downloads-box-desc {
	font-size: 12px;
	padding: 5px 0;
}
.content-pager:before {
	content: "."; 
	visibility: hidden; 
	display: block; 
	height: 0; 
	clear: both;
}
/* Form */
.content-form-progress {
	width: 25%;
	display: inline-block;
	text-align: center;
	margin: 0;
	opacity: 0.4;
	font-size: 16px;
	line-height: 1.75;
	border-bottom: 3px solid #CCCCCC;
	text-transform: uppercase;
	padding-bottom: 10px;
	font-family: 'Oswald',sans-serif;
	color: #333333;
}
.content-form-progress-donate {
	width: 33.3333333333333333% !important;
}
.content-form-progress-active {
	opacity: 1 !important;
}
.content-form-text {
	margin: 15px 0;
}
.content-form-box {
	text-align: center;
}
.content-form-box-title {
	font-size: 28px;
	font-family: 'Oswald',sans-serif;
	line-height: 1.5;
}
.content-form-box-cost {
	text-align: center;
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 36px;
	font-weight: 300;
	font-family: 'Oswald',sans-serif;
}
.content-form-box-footer {
	margin-top: 36px;
}
.content-form-title {
	font-size: 24px;
	color: #333;
	margin-bottom: 15px;
	font-weight: 300;
	line-height: 1.5;
	border-bottom: 1px solid #ccc;
}
.form-group.required > .control-label:first-of-type:after {
	content: "*";
	color: #a94442;
}
#mordor, #thangorodrim {
	display: none;
}
#help, #stripe_transaction_fee, #gocardless_transaction_fee, .help-button {
	font-size: 12px;
}
#stripe_transaction_fee .panel, #gocardless_transaction_fee .panel {
	margin-bottom: 0;
}

/* Search */
.content-search-results {
	margin: 15px 0 30px 0;
	font-size: 12px;
	text-transform: uppercase;
	color: #E33417;
}

/* TolkSoc table */
.tolksoc-table {
	margin-bottom: 40px;
}
.tolksoc-table tr:nth-child(odd) {
	background-color:#f8f8f8;
}
.tolksoc-table tr:hover {
	background-color:#eee;
}
.tolksoc-table th,.tolksoc-table td {
	padding: 5px 15px;
}

/* Timeline table */
.tolksoc-table-timeline {
	margin-bottom: 10px;
}
.tolksoc-table-timeline th {
	font-weight: normal;
	text-align: right;
	vertical-align: top;
	width: 170px;
}
.tolksoc-table-timeline tr:nth-child(odd) {
	background-color:#f8f8f8;
}
.tolksoc-table-timeline tr:hover {
	background-color:#eee;
}
.tolksoc-table-timeline th,.tolksoc-table-timeline td {
	padding: 5px 15px;
}

/* Bilbiography */
.tolksoc-bibliography {
	padding-left: 30px;
	text-indent: -30px;
}

/* Top footer */
.top-footer {
	background: #eee;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.top-footer-box {
	padding: 15px 0;
}
.top-footer-box:hover {
	background: #D8D8D8;
}
.top-footer a {
	text-decoration: none;
}
.top-footer-image {
	text-align: center;
	padding-bottom: 10px;
}
.top-footer-title {
	color: #e33417;
	font-family: 'Oswald', 'Open Sans', sans serif;
	font-size: 14px;
	text-transform: uppercase;
}
.top-footer-text {
	font-size: 12px;
	line-height: 16px;
	margin: 5px 0;
	color: #333333;
}

/* Footer */
.footer {
	position: relative;
	color: #cccccc;
	line-height: 1.5;
}
.footer-container {
	position: relative;
	overflow: hidden;
	top: 0px;
	width: 100%;
	background: #000 url(images/darkbg.png) repeat top left;
	
}
.footer-content {
	padding-left: 7.5px;
	padding-right: 7.5px;
}
.footer-bg {
	background: url(images/footermountains.png) no-repeat right bottom;
	height: 168px;
	margin-left: -15px;
	margin-right: -15px;
}
.footer-social-container {
	display: block;
	padding-bottom: 12px;
}
.footer-social {
	display: inline-block;
	overflow: auto;
}
.footer-social-text, .footer-social:hover .footer-social-text {
	float:left;
	font-size: 14px;
	line-height: 30px;
	height: 30px;
	color: #dedede;
	text-decoration: none;
	padding-left: 15px;
}
.footer-social-icon, .footer-social:hover .footer-social-icon {
	float: left;
	height: 30px;
	width: 30px;
	background: url(images/stayconnected.png) no-repeat;
}
.footer-social-facebook .footer-social-icon {
	background-position: -30px 0px;
}
.footer-social-facebook:hover .footer-social-icon {
	background-position: 0px 0px;
}
.footer-social-facebook:hover .footer-social-text {
	color: #3A589B;
}
.footer-social-twitter .footer-social-icon {
	background-position: -30px -30px;
}
.footer-social-twitter:hover .footer-social-icon {
	background-position: 0px -30px;
}
.footer-social-twitter:hover .footer-social-text {
	color: #598DCA;
}
.footer-social-google .footer-social-icon {
	background-position: -30px -60px;
}
.footer-social-google:hover .footer-social-icon {
	background-position: 0px -60px;
}
.footer-social-google:hover .footer-social-text {
	color: #D6492F;
}
.footer-social-youtube .footer-social-icon {
	background-position: -30px -90px;
}
.footer-social-youtube:hover .footer-social-icon {
	background-position: 0px -90px;
}
.footer-social-youtube:hover .footer-social-text {
	color: #CF3427;
}
.footer-social-flickr .footer-social-icon {
	background-position: -30px -120px;
}
.footer-social-flickr:hover .footer-social-icon {
	background-position: 0px -120px;
}
.footer-social-flickr:hover .footer-social-text {
	color: #ED1983;
}
.footer-social-linkedin .footer-social-icon {
	background-position: -30px -150px;
}
.footer-social-linkedin:hover .footer-social-icon {
	background-position: 0px -150px;
}
.footer-social-linkedin:hover .footer-social-text {
	color: #007AB9;
}
.footer-social-rss .footer-social-icon {
	background-position: -30px -180px;
}
.footer-social-rss:hover .footer-social-icon {
	background-position: 0px -180px;
}
.footer-social-rss:hover .footer-social-text {
	color: #E19126;
}
.footer-navigate {
	list-style: none;
	padding: 0;
}
.footer-navigate li a, .footer-navigate li a:hover {
	padding: 6px 0 6px 0;
	color: #dedede;
}
.footer-search {
	margin: 6px 0 12px 0;
}
.footer-logo {
	background-image: url(images/logofooter.png);
	width: 233px;
	height: 76px;
	margin-top: 15px;
	margin-bottom: 15px;
}
.footer-title {
	font-family: 'Oswald', 'Open Sans', sans serif;
	font-size: 16px;
	text-transform: uppercase;
	color: #d99f3c;
	margin-top: 15px;
	margin-bottom: 15px;
}
.footer a, footer a:hover, footer a:focus {
	color: #cccccc;
}

/* Widgets */
.widget-container {
	padding-top: 15px;
}
.widget {
	background: #00a33e;
	margin-bottom: 15px;
	padding: 10px;
	color: #fff;
}
.widget-green {
	background: #00a33e;
}
.widget-grey {
	background: #222 url(images/greybg.png) repeat top left;
}
.widget-title {
	font-family: 'Oswald', 'Open Sans', sans serif;
	font-size: 14px;
	text-transform: uppercase;
}
.widget-text {
	font-size: 12px;
	line-height: 16px;
	margin-top: 10px;
}
.widget-text p {
	margin: 0;
	text-align: left;
}
.widget-text a {
	color: #fff;
}
.widget-join {
	background: #000 url(images/darkbg.png) repeat top left;
	padding: 6px;
}
.widget-join-inner {
	background: url(images/door.png) no-repeat right bottom;
	border: 2px solid #cccccc;
	height: 150px;
	position: relative;
}
.widget-join-banner {
	position: absolute;
	top: -8px;
	left: 5px;
	background: url(images/joinbanner.png) no-repeat bottom left;
	width: 76px;
	height: 87px;
}
.widget-join-top {
	text-align: center;
	font-size: 24px;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	position: absolute;
	bottom: 47px;
	left: 18px;
}
.widget-join-middle {
	text-align: center;
	font-size: 16px;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	line-height: 16px;
	position: absolute;
	bottom: 31px;
	left: 18px;
}
.widget-join-bottom {
	text-align: center;
	position: absolute;
	width: 72px;
	bottom: 13px;
	left: 8px;
	font-size: 12px;
	line-height: 16px;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
}
.widget-about {
	height: 225px;
}
.widget-about .widget-text {
	font-size: 1.2rem !important;
}
.widget-event {
	display: block;
	margin-bottom: 15px;
}
.widget-event:after {
	content: "."; 
	visibility: hidden; 
	display: block; 
	height: 0; 
	clear: both;
}
.widget-event-date {
	font-size: 12px;
	font-weight: 700;
	width: 40px;
	margin-right: 10px;
	text-align: center;
	background: #fefefe;
	border-radius: 40px;
	padding: 5px;
	text-transform: uppercase;
	float: left;
}
.widget-event-date-green {
	color: #00a33e;
}
.widget-event-date-grey {
	color: #333333;
}
.widget-event-date-day {
	font-size: 12px;
}
.widget-event-date-month {
	font-size: 10px;
}
.widget-event-text {
	float: left;
	width: calc(100% - 50px);
}
.widget-event-text-title {
	font-weight: 700;
}
.widget-event-text-location {
	font-style: italic;
}

/* Products */
.product-header {
	margin-top: 15px;
}
.product-price {
	font-size: 18px;
	line-height: 36px;
	font-weight: 700;
	color: #60646c;
}
.product-desc {
	margin-top: 12px;
}

/* 768px and up */
@media (min-width: 768px) {
	.header {
		background: #fff url(images/eventbg.png) no-repeat right top;
		margin-top: 20px;
	}
	.menu-flapleft {
		position: absolute;
		top: -10px;
		left: -16px;
		height: 53px;
		width: 16px;
		background: url(images/menuflapleft.png) no-repeat right top;
	}
	.menu-flapright {
		position: absolute;
		top: -10px;
		right: -16px;
		height: 53px;
		width: 16px;
		background: url(images/menuflapright.png) no-repeat right top;
	}
	.footer {
		margin-bottom: 20px;
	}
	.footer-container {
		left: -16px;
		width: calc(100% + 32px);
	}
	.footer-flapleft {
		position: absolute;
		top: -10px;
		left: -16px;
		height: 10px;
		width: 16px;
		background: url(images/flapleft.png) no-repeat left top;
	}
	.footer-flapright {
		position: absolute;
		top: -10px;
		right: -16px;
		height: 10px;
		width: 16px;
		background: url(images/flapright.png) no-repeat right top;
	}
}

/* High resolution screens */
@media only screen and (-moz-min-device-pixel-ratio: 1.5), 
only screen and (-o-min-device-pixel-ratio: 3/2), 
only screen and (-webkit-min-device-pixel-ratio: 1.5), 
only screen and (min-devicepixel-ratio: 1.5), 
only screen and (min-resolution: 1.5dppx) {
	.header-logo-image {
		background-image: url(images/tslogo@2x.png);
		background-size: 90px 113px;
		background-repeat: no-repeat;
	}
	.header-logo-text {
		background-image: url(images/tslogotext@2x.png);
		background-size: 151px 58px;
		background-repeat: no-repeat;
	}
	.footer-logo {
		background-image: url(images/logofooter@2x.png);
		background-size: 233px 76px;
	}
}

/* WordPress Core */
.alignnone {
    margin: 0 0 15px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 0 auto 15px auto;
}
.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}
.alignright {
    float:right;
    margin: 0 0 15px 15px;
}
a img.alignnone {
    margin: 0 0 15px 0;
}
a img.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}
a img.alignright {
    float: right;
    margin: 0 0 15px 15px;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
	
}
.wp-caption.alignnone {
    margin: 0 0 15px 0;
}
.wp-caption.alignleft {
    margin: 0 15px 15px 0;
}
.wp-caption.alignright {
    margin: 0 0 15px 15px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    padding: 0;
    width: auto;
}
.wp-caption .wp-caption-text {
    font-size: 12px;
	color: #ffffff;
    line-height: 24px;
    margin: 0;
    padding: 15px;
	background: #000000;
}
.wp-caption a {
	color:#FFFFFF !important;
	font-weight: bold !important;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	box-shadow: 0px 0px 4px #999;
	border: 1px solid #f2f2f2;
	padding: 8px;
	background: #ffffff;
}
.gallery img:hover {
	background: #f2f2f2;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888888;
	font-size: 12px;
	margin: 5px 0 15px 0;
}
.gallery dl, .gallery dt {
	margin: 0;
}
.gallery br+br {
	display: none;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}