/*
Theme Name: OCF Theme
Theme URI:
Description: OCF Wordpress Theme
Author: HTMLGUYS Theme Developer
Author URI: http://www.htmlguys.com;
Version: 1.0
Tags: Wordpress, Theme
License: 
License URI: 
*/

/**** Sticky Side Links ****/

.sticky-side-links {
	display: none;
}

.comment-icon {
	margin-left: 20px;
	margin-right: 5px;
}

@media screen and (min-width: 480px) {
	.sticky-side-links {
		display: block;
		position: fixed;
		right: 0;
		top: 50%;
		margin-top: -40px;
		z-index: 999;
	}

	a.sticky-side-link {
		display: inline-block;
		font-size: 21px;
		line-height: 27px;
		border-radius: 3px 0 0 3px;
		margin-bottom: 5px;
		color: #FFF;
		padding: 5px 10px 5px 0;
		background: #db1734;
		float: right;
		clear: both;
	}
		a.sticky-side-link:hover,
		a.sticky-side-link:focus {
			background: #333;
			color: #FFF;
		}
		
	.sticky-side-link  .fa {
		padding: 3px 7px;
		float: left;
	}

	.sticky-side-link-text {
		text-transform: uppercase;
		color: #CCC;
		font-size: 11px;
		width: 0;
		overflow:hidden;
		float: right;
		display: inline-block;
		white-space: nowrap;
		-webkit-transition: width 1s ease-in-out;
		-moz-transition: width 1s ease-in-out;
		-o-transition: width 1s ease-in-out;
		transition: width 1s ease-in-out;

	}
	a.sticky-side-link.sign-up:hover .sticky-side-link-text,
	a.sticky-side-link.hold.sign-up .sticky-side-link-text	{
		width: 170px;
	}
	a.sticky-side-link.donate:hover .sticky-side-link-text,
	a.sticky-side-link.hold.donate .sticky-side-link-text {
		width: 50px;
	}
	
	a.sticky-side-link.fr.sign-up:hover .sticky-side-link-text,
	a.sticky-side-link.fr.hold.sign-up .sticky-side-link-text	{
		width: 260px;
	}
	a.sticky-side-link.fr.donate:hover .sticky-side-link-text,
	a.sticky-side-link.fr.hold.donate .sticky-side-link-text {
		width: 76px;
	}
}


/**** Related Posts Base ****/
.wp_rp_wrap  {
    border-top: 1px solid #CCC;
    padding-top: 30px;
    margin-top: 30px;
}
.wp_rp_content {	width: 100%; }
.wp_rp_content ul.related_post {
	width: 100%;
	margin-bottom: 20px !important;
}
.wp_rp_content ul.related_post li {
    width: 100%!important;
    margin: 10px 0 !important;
}
.wp_rp_content ul.related_post li a.wp_rp_thumbnail {
	padding: 10px;
	max-height: 200px;
	overflow: hidden;
}
	.wp_rp_content ul.related_post li a img {
		width: 100% !important;
		height: auto !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		opacity: 1;
	}
	
.wp_rp_content ul.related_post li a.wp_rp_title {
    font-size: 15px !important;
    text-align: center;
    padding: 0 11px 0;
    font-weight: bold;
}

.wp_rp_content .wp_rp_footer a.wp_rp_edit {
	background: #db1734 !important;
	border-radius: 3px !important;
	padding: 5px 10px !important;
	text-transform: uppercase;
	
}
/**** Mobile Sized ****/
@media screen and (max-width: 480px) {
	.wp_rp_content ul.related_post {
		display: table !important;
	}
	.wp_rp_wrap .related_post_title {
		margin-bottom: 10px !important;
	}
	.wp_rp_content ul.related_post li {
		display: table-row !important;
	}
	.wp_rp_content ul.related_post li a {
		display: table-cell !important;
		vertical-align: middle;
	}
	
	.wp_rp_content ul.related_post li:nth-of-type(even) {
		background: #f5f5f5 !important;
	}
}
/**** Tablet Sized ****/
@media (max-width: 768px) and (min-width: 481px) {
	.wp_rp_content ul.related_post li {
		width: 50%!important;
	}
}


/**** Desktop Sized ****/
@media screen and (min-width: 769px) {
	.wp_rp_content ul.related_post li {
		width: 25%!important;
	}
}

iframe { max-width: 100%; }

/**
 * Wordpress Gallery Styles
 * -----------------------------------------------------------------------------
 */


.gallery {
	margin: auto;
}

.gallery dl { margin: 0; }

.gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 32%;
	margin-right: 2% !important;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}
.gallery-item:last-of-type {
	margin-right: 0 !important;
}

.gallery-item img {
	border: 2px solid #cfcfcf;
	max-width: 100%;
	width: 100%;
}
/*
.gallery-item .gallery-caption {
	margin-left: 0;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
	margin: 0 5px;
}

.gallery-columns-2 .gallery-item {
	width: 48%;
	margin: 0 5px;
}

.gallery-columns-3 .gallery-item {
	width: 30%;
	margin: 0 10px;
}

.gallery-columns-3 .gallery-item img { width: 100%; }

.gallery-columns-4 .gallery-item {
	width: 22%;
	margin: 0 9px;
}

.gallery-columns-5 .gallery-item {
	width: 17%;
	margin: 0 9px;
}

.gallery-columns-6 .gallery-item {
	width: 15%;
	margin: 0 5px;
}

.gallery-columns-7 .gallery-item {
	width: 12%;
	margin: 0 7px;
}

.gallery-columns-8 .gallery-item {
	width: 10%;
	margin: 0 8px;
}

.gallery-columns-9 .gallery-item {
	width: 9%;
	margin: 0 6px;
}

.gallery-columns-10 .gallery-item {
	width: 8%;
	margin: 0 5px;
}*/

#disqus_thread {
	margin-top: 45px;
}

@media screen and (max-width: 480px) {

	.gallery-item {
		float: none;
		margin-top: 10px;
		text-align: center;
		width: 100%;
		margin-right: 0 !important;
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}
}

#programbar {
	background: #f5f5f5;
	margin-bottom: 80px;
}
#programbar strong {
	display: block;
	text-transform: uppercase;
	font-size: 15px;
	margin-bottom: 16px;
}
.program-row {
	margin: 0 -5px;
}
.program-item {
	width: 100%;
	height: 150px;
	margin-bottom: 10px;
}
.program-wrapper {
	height: 100%;
	margin: 0 5px;
	text-align: center;
	font-family: pathway_gothic_oneregular, Arial, sans-serif;
	font-size: 22px;
	line-height: 21px;
    text-transform: uppercase;
	background-size: cover;
	background-position: 50%;
}
.program-item a {
	display: block;
	width: 100%;
	height: 100%;
	color: #FFF;
	position: relative;
}
.program-item a:hover,
.program-item a:focus,
.program-item a:active {
	color: #FFF;
}
.program-item a:after {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.4;
	display: block;
	content: '';
  -webkit-transition: opacity 0.24s ease-in-out;
  transition: opacity 0.24s ease-in-out;
}
.program-item a:hover:after {
	opacity: 0.65;
	
}
.program-item a span {
        position: absolute;
        top: 50%;
		left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
		z-index: 10;
}

@media screen and (min-width: 768px) {
	.program-item {
		width: 33.333333%;
		float: left;
	}

}

@media screen and (min-width: 992px) {
	.program-item {
		width: 20%;
	}
}

.wef-default {
    max-width: none !important;
}
html body .wef-default a.wef-album-thumbs span.wef-album-thumb {
    width: 100px !important;
    height: 100px !important;
}
.wpb_single_image .vc_figure-caption {
	padding: 20px;
}