/*
Theme Name: IBPA - Your Membership
Description: Theme to match the IBPA Your Membership site.  Intended to use YM's CSS files.
Author: Red Clay Interactive
Author URI: https://www.redclayinteractive.com/
Version: 1.0
*/

/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 12px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}

.irailcontent.rci-ad{
	text-align:center;
}
.rci-ad img{
	max-width:100%;
}

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

.tag-column {float:left; width:46%}

.filters * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}
.filter { float: left; height: 36px; line-height: 36px; }
.filter ~ .filter { margin-left: 1em; }
.filter [class^="icon-"] { line-height: 36px; }
.filter li:first-child { line-height: 36px; }
.filter li { line-height: 36px; }
.filter span { position: relative; display: inline-block; width: 100%; color: #555; font-size: 13px; font-weight: bold; text-transform: uppercase; padding: 0 10px; }
.filter span:after { position: absolute; top: 50%; right: 10px; display: block; content:""; width: 0; height: 0; border-width: 5px 5px 0 5px; border-color: #555 transparent transparent; border-style: solid; margin-top: -3px; }
.filter:hover span:after { display:none; }
.filter-or { float: left; height: 36px; line-height: 36px; color: #aaa; margin-left: 1.3em; margin-right: .3em; }
.filter.slim li { padding-left: 0; margin-left: 0; }
.filter.current a:link { color: #444; line-height: 36px; }
.filter.current a:hover { height: 36px; color: #fff; background: #730703; }
.filter.current a i { position: absolute; float: right; right: 10px; top: 10px; width: 16px; height: 16px; background: #730703; border-radius: 4px; color: #fff; line-height: 14px; font-weight: bold; text-align: center; }
.filter.current ul:hover, .filter.noresults ul:hover { overflow-y: hidden; }
.noresults span:after { display: none; }
.filter.noresults ul { border:0 none; background: none; }
.select-box { position: relative; display: inline-block; width: 37%; height: 36px; font-weight: 300; text-align: left; }
.select-box ul { overflow: hidden; position: absolute; width: 100%; height: 38px; border: 1px solid #ccc; border-radius: 2px; padding:0 !important; margin:0 !important; }
.select-box ul {
	position: relative;
	max-height: 550px;
	background-color: #e8e8e8;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e8e8e8));
	background-image: -webkit-linear-gradient(top,#fff,#e8e8e8);
	background-image: -webkit-gradient(linear,top left,bottom left,from(#fff),to(#e8e8e8));
	background-image: -webkit-linear-gradient(top,#fff,#e8e8e8);
	background-image: linear-gradient(to bottom,#fff,#e8e8e8);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#e8e8e8', GradientType=0);
}
.select-box ul:hover { overflow-y: scroll; height: auto; z-index: 10; }
.select-box ul:hover li { display: block; }
.select-box.active { z-index: 100; }
.select-box.active ul { height: auto; z-index: 10; }
.select-box.active ul li { display: block; }
.select-box li { display: none; padding: 0; }
.select-box li:first-child { display: block; }
.select-box li:first-child a { color: #555; }
.select-box li.sub a { padding-left: 35px; padding-right: 0; }
.select-box li.sub a:before { position: relative; left: -5px; margin-left: -5px; }
.select-box a { display: block; z-index: 1; color: #555; line-height: 26px; padding: 0 10px; }
.select-box a:hover { color: #fff; text-decoration: none; }
.select-box a:hover {
	background: #ffb054;
	background: -moz-linear-gradient(top, #ffb054 0%, #f59220 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb054), color-stop(100%,#f59220));
	background: -webkit-linear-gradient(top, #ffb054 0%,#f59220 100%);
	background: -o-linear-gradient(top, #ffb054 0%,#f59220 100%);
	background: -ms-linear-gradient(top, #ffb054 0%,#f59220 100%);
	background: linear-gradient(top, #ffb054 0%,#f59220 100%);
}
.select-box span { z-index: 1; }
.select-box-button {
	position: relative;
	display: inline-block;
	height: 36px;
	background: #ffb054;
	background: -moz-linear-gradient(top, #ffb054 0%, #f59220 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb054), color-stop(100%,#f59220));
	background: -webkit-linear-gradient(top, #ffb054 0%,#f59220 100%);
	background: -o-linear-gradient(top, #ffb054 0%,#f59220 100%);
	background: -ms-linear-gradient(top, #ffb054 0%,#f59220 100%);
	background: linear-gradient(top, #ffb054 0%,#f59220 100%);
	border-radius: 2px;
	font-size: 13px;
	line-height: 36px;
	color: #fff;
	padding: 0 10px;
	font-weight: bold;
	margin: 0;
}
.select-box-button:hover {
	background: #fff;
	color: #ffb054;
	text-decoration: none;
	border: 1px solid #ffb054;
}

/* Tags */
.article-tags{
	display: block;
	padding: 0;
}
.article-tags span{
	display: inline-block;
	list-style: none;
	margin: 0 5px 10px;
}

.article-tags span a{
	display: block;
	color: #fff;
	font-size: 12px;
	background-color: #007698;
	padding: 6px 15px;
	line-height: 20px;
	transition: all 0.2s ease;
}
.article-tags span a:hover{
	background-color: #666;
}

.wp-pagenavi a, .wp-pagenavi span {
	border: none !important;
}
.wp-pagenavi span.current {
    background: #FFF;
    color: #047698;
}