/************************************************

Stylesheet: Custom Stylesheet
Template Name: PA Custom Style

*************************************************/

body {
	font-family: helvetica,arial,sans-serif;
	background:#333;
}

.display-none {display:none;}

.display-inline {display:inline-block;}

.row {
	max-width: 65rem;
 }

.bg-red {
	background-color: #880606;
}

.bg-red, .bg-red a {
    color:#fff;
}
	
.bg-red:hover {
	background-color: #ae0808;
}

.border-bottom {
	border-bottom:3px solid #ddd;
}

/*  Fix Foundation */
.column:last-child:not(:first-child), .columns:last-child:not(:first-child) {
    float: left;
}

/*  Add to Foundation */

/*  New class of width-breaks between medium and large */
@media print,screen and (min-width:59.8em) and (max-width:63.99em) {
	
	.med-large-3 {
		width:25%
	}

	.med-large-4 {
		width:33.33333%
	}

	.med-large-5 {
		width:38.66667%
	}

	.med-large-6 {
		width:50%
	}

	.med-large-7 {
		width:61.33333%
	}

	.med-large-8 {
		width:66.66667%
	}

	.med-large-9 {
		width:75%
	}

	.med-large-10 {
		width:83.33333%
	}

	.med-large-11 {
		width:91.66667%
	}
}

/* Header */

#wrapper {
	padding:8px;
	border:1px solid #ccc;
	max-width:68rem;
	margin:10px auto;
	background:#fff;
}

#header-logo-leaderboard  {
	position:relative;
}

#header-logo  {
	display:inline-block;
	vertical-align:top;
	max-width:440px;
}

#header-logo img {
	width:100%;
	max-width:540px;
}

#header-leaderboard  {
	width:400px;
	height:90px;
	vertical-align:top;
	display:none;
}

.top-bar {padding-bottom:0;}

.top-bar, .top-bar ul {background:transparent;}

.top-bar .top-bar-left {
	margin-bottom:10px;
}

.top-bar .top-bar-right {
	border-top:1px solid #333;
	border-bottom:2px solid #333;
}

@media print,screen and (max-width:39.99em){
	.top-bar .top-bar-left, .top-bar .top-bar-right {
		float:none;
	}
}

@media print,screen and (min-width:57.4em){

	#header-leaderboard  {
	    display:inline-block;
	    position:absolute;
		right:0;
		/*background:#ccc;*/
	}
}

@media print,screen and (min-width:64em){
	#header-logo  {
	   max-width:540px;
    }
}

.top-of-header-menu-wrap {
	margin-left:1%;
	display:none;
}

.menu > li > a {
	color:#333;
	font-size: 0.66rem;
	text-transform: uppercase;
	font-weight: bold;
    display: block;
    padding: .6rem 1rem;
	border-right:0.09rem solid #ddd;
	line-height:1.2;
}

   /* mobile menu */
.show-for-small-only .menu > li > a { /* Menu toggle */
	background:#880606;
	color:#fff;
	font-size: 1.16rem;
    padding: .4rem 5rem .2rem 5rem;
}

#off-canvas .menu > li > a {
	font-size: 1.16rem;
	text-decoration:underline;
}

.is-accordion-submenu-parent > a::after {
    border: 12px inset;
}

.top-of-header-menu-wrap .menu > li > a {
	 padding: .1rem 0.5rem;
	margin-top:0.5rem;
	margin-bottom:0.5rem;
	border-right:0.09rem solid #ccc;
}

.menu > li ul.is-dropdown-submenu {
		z-index:999;
}

/*.top-of-header-menu-wrap*/ .menu > li ul.is-dropdown-submenu li {
	border:1px solid #eee;
	border-top:0;
	background:#fff;
}

.menu > li ul.is-dropdown-submenu li a {	
	border:0;
}

.menu .active>a{
	background:#fff;
	color:#333
}

.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
    border-color: #aaa transparent transparent;
}

/* change the opens-left menu to opens-right */
.dropdown.menu.medium-horizontal > li.opens-left > .is-dropdown-submenu {
    top: 100%;
    right: auto;
    left: 0;
}

#sub-menu {
	background:#eee;
	padding:5px 15px 1px 15px;
	font-size:0.75rem;
	border-bottom:1px solid #333;
}

@media print,screen and (min-width:40em){
	.top-bar-left, .top-bar-right {
		width:100%;
		float:none;
	}
	
	.top-of-header-menu-wrap {
		display:block;
    }
	  /*  Only show these menu items on the off-canvas menu on mobile */
	.menu.medium-horizontal > li.menu-item-7538, .menu.medium-horizontal > li.menu-item-7539, .menu.medium-horizontal > li.menu-item-7540, #menu-main-menu-1.menu.medium-horizontal > li.login-logout {
		display:none;
	}
}

/* Content */

#page-content #inner-content {
    padding: 0 0rem 1rem 0rem ;
}

#site-introduction p {
	font-size: 1rem;
	line-height:1.3;
	margin-top: 20px;
	margin-right:10%;
}

/*  Content Short */

.main-left, .main-right {
	text-align:center;
}

@media print,screen and (min-width:40em){
	.main-left {
		padding-right:1.0rem;
	}
	
	.main-right {
		border-left:0.1rem solid #eee;
		padding-left:1.0rem;
	}	
	
}

@media print,screen and (min-width:64em){
	.main-left {
		padding-right:1.8rem;
	}
	
	.main-right {
		border-left:0.1rem solid #eee;
		padding-left:1.8rem;
	}
	
}


h2.section-title {
	font-size:0.9rem;
	font-weight:800;
	background:#333;
	color:#fff;
	margin-bottom:0;
	padding:3px 7px;
	border:.1rem solid #ccc;
	text-align:left;
}

.main-left article, .main-right article, article.main-left, article.main-right {
	margin-left:auto;
	margin-right:auto;
	max-width:300px;
	text-align:left;
}

article.article-short {
	border-bottom: 0.05em solid #ddd;
	padding-top:15px;
	padding-bottom:15px;
	position: relative;
}

h2.entry-title {
	line-height:1.2;
	margin-bottom:5px;
	text-align:left;
}

.wide-image h2.entry-title  {
	line-height:1.1;
}

h2.entry-title a {
	font-size:0.9rem;
	color:#333333;
	font-weight:800;
	display:block;
}

.wide-image h2.entry-title a {
	font-size:1.13rem;
	text-align:left;
}
         /* .alm refers to ajax load more plugin */
article .photo, .main-right .alm-listing li .photo   {
    width:32%;
	float:left;
	margin-right:12px;
}

.wide-image article .photo  {
	max-height:220px;
	overflow:hidden;
	width:100%;
	float:none;
	margin:10px 0;
}

.wide-image article .photo img {
	width:99%;
}

article.article-short p {
	margin-bottom: 5px;
}

article.article-short .entry-summary, .alm-listing li p, .tax-section .entry-summary, .tax-directory_category .entry-summary, .archive.author .entry-summary {
    font-size:0.85rem;	
	line-height:1.25
}

p.home-see-more {
	font-size:0.9rem;
	font-style:italic;
	padding-top:20px;
}

/* Sidebar */

#sidebar1 {
	margin-top:25px;
}

#sidebar1 div {
	max-width:302px;
	margin-left:auto;
	margin-right:auto;
}

#sidebar1 .sidebar-top-border {
	border-top:1px solid #bbb;
	margin-top:10px;
	padding-top:10px;	
}

#custom_html-4.widget {
    margin-bottom: 0px;
	padding-bottom: 0px;
}

#custom_html-4.widget div {
	text-align:center;
}

#sidebar1  .sidebar-join a {
	font-size:0.95rem;
	color:#000;
}

#sidebar1  .sidebar-join a:hover {
	color:#333;
}

#sidebar1  .sidebar-join img {
	max-width:250px;
	margin:0 auto;
}

#sidebar1 .sidebar-top-border p  {
	font-size:0.8rem;
	line-height:1.2;
	margin-top:6px;
	margin-bottom:6px;
}

#sidebar1 .sidebar-top-border p a {
	color: #7a2800;
	font-weight:bold;
}

/* Search Form */

#search-2  {
    margin-top:10px;
}

#search-2 h4.widgettitle {
    text-align:center;
}

label span.screen-reader-text {
	font-size: .675rem;
}

form.search-form  {
     text-align:center;
}

form.search-form label {
     display:inline-block;
}

form.search-form input[type=search] {
    padding:0.2em;
     margin:0;
     height: 1.775rem;
     width:180px;
     box-shadow:none;
     border: 0.2em solid #ddd;
    font-size:0.8em;
    text-transform:uppercase;
}

.button.search-submit {
     display:inline-block;
     padding:4px 6px;
     margin:0;
     margin-left:-5px;
	 margin-top: 2px;
     height: 1.75rem;
     font-size:0.8em;
     line-height:1.4;
     font-weight:bold;
     background-color: #880606;
}



/*  Search Results */

.search-results ol {
        margin-top:2em;
}

.search-results li  {
        margin-bottom:0.5em;
}

.search-results li h2.entry-title {;
        margin-bottom:0.2rem;
}

.search-results li h2.entry-title a {
	    font-size: 1.0rem;
        color: #1779ba;
		font-weight:400;
}

.search-results li .entry-summary {
        font-size: 0.85rem;        
}

.widget {
	padding:10px 0;
	margin-bottom:10px;
}

/* Widget Lists */

.widget h4 {
	background:#ddd;
	border:2px solid #ccc;
	color:#000;
	font-size:0.82rem;
	font-weight:800;
	padding:3px 8px;
}

.widget ul li {
	font-size:0.8rem;
	border-bottom:1px solid #eee;
	padding:3px 0 3px 5px;
	line-height:1.3;
}

.widget ul li a {
    color:#333333;
}

.widget ul li a:hover {
    color:#aaaaaa;
}

.widget.advertise {
	text-align:center;
	max-width:300px;
	border:3px groove #880606;
	margin-left:2%;
}

.widget.advertise a {
	font-size:1.0rem;
	font-weight:800;
	padding:5px;
}

@media print,screen and (min-width:40em){
	
	#sidebar1 {
		padding-left:0.5rem;
		padding-right:0.5rem;
	}
}

@media print,screen and (min-width:57.8em){
	
	#sidebar1 {
		border-left:0.1rem solid #eee;
	}
}

@media print,screen and (min-width:64em){
	
	#sidebar1 {
		padding-left:1.8rem;
	}
}

/*  Footer */

footer.footer {
	background:#eee;
	text-align:center;
	padding-top:20px;
}

footer .menu.horizontal > li, .menu > li {
     display:inline-block;	
}

footer p {
	padding-top:5px;
	font-size:0.85rem;
}

#scrollup {
    background: url('/wp-content/themes/JointsWP-CSS-master/assets/images/scrolltotop-icon_top_2.png') no-repeat;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 40px;
    right: 15px;
    display: none;
    text-indent: -9999px;
}

/* Single Article */

.single-article #breadcrumbs {
	margin-top:20px;
    line-height: 1;
    padding-bottom: 0.85em;
    border-bottom: 1px solid #e9e9e9;
}

.single-article #breadcrumbs span a {
    font-size: 0.85rem;
    color: #333;
    text-decoration: underline;
}

header.article-header h1, header.page-header h3, .author-description h3, header.article-header h2 {
	font-size:1.4rem;
	font-weight:bold;
	padding-bottom:10px;
	border-bottom:0.09rem solid #ddd;
	margin:15px 0 2px 0;
}

.single-article .entry-meta {
	font-size: 0.8rem;
    font-weight: 800;
	padding:0 5px;
	border-bottom: 5px solid #ddd;
}

.single-article .entry-meta a {
    color:#000;
	padding-right:7px;
}

.single-article .author {
    font-style:italic;
}

.single-article .entry-summary p {
    border-bottom: 1px solid #ddd;
    font-style: italic;
    margin: 15px 0 0 0;
    padding: 0 0 15px 0;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #666;
}

.single-article .entry-content {
    margin-top:20px;
}

.single-article .entry-content .entry-thumbnail {
    width:45%;
	max-width:250px;
	float:left;
	padding-top:5px;
	margin-right:12px;
	margin-bottom:7px;
}

@media print,screen and (max-width:39.99em){
	.single-article .entry-content .entry-thumbnail {
     	float:none;	
		width:100%;
		height:auto;
		max-width:300px;
		max-height:300px;
		overflow:hidden;
	}

}

.single-article .entry-content .entry-thumbnail img {
     padding:2px;
	 border:1px solid #ccc;
}

.single-article .entry-content p {
    line-height:1.4;
}

.single-article .article-author, .single-article .author-description p  {
	font-size:0.9rem;
	font-style:italic;
	padding:5px;
}

.single-article .article-author  {
	background:#eee;
	border:1px solid #ccc;
}

.single-article .author-bio .photo, .single-article .author-description  {
	margin-top:12px;
}

.single-article .author-bio .photo img {
	margin-top:8px;
}

     /*  Restrict Content message */
span.rc-restricted-content-message {
	display:block;
	background:aliceblue;
	padding:5px 5%;
	margin-bottom:10px;
}

/*  Hide the original lost password link in an article */
article.rcp-no-access form p.rcp_lost_password {
	display:none;
}

/* Style the new lost password link - set in functions-admin */
p.article-reset-password {
	    margin-left:70px;
		position:relative;
	    top:-30px;
	   font-size:1.0rem;
	   font-style:italic;
}

@media print,screen and (min-width:40em){
   p.article-reset-password {
      	margin-left:330px;
    }
	
  article.rcp-no-access form.rcp_form, p.member-login  {
	   max-width:300px;
	   margin-left:250px;
   }
}

p.member-login {
	text-decoration:none;
	clear:both;
}

/* Control views of messages on the Login page - see header.php */
p#login_message {display:none;margin-top:15px;}
p#reset_password_message {display:none;margin-top:15px;}

/* Adjust width of Restrict Content Pro registration form */

#rcp_registration_form {
	max-width:410px;
}

#rcp_registration_form .rcp_login_link a {
	text-transform:uppercase;
	font-weight:bold;
    text-decoration:underline;
}

 /* Social Share buttons in articles */

.single-article .entry-meta .social-share-buttons {
    display:inline-block;
    margin-left:20%;
}

span.share-share {
    font-size:16px;
     vertical-align:bottom;
     display:inline-block;
}

.single-article a.social-share-link {
    padding: 2px 8px 4px 8px !important;
    color: white;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 2px;
    cursor: pointer;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    margin-top: 2px;
    display: inline-block;
    text-decoration: none;
    vertical-align:top;
}

.single-article .entry-meta .social-share-buttons a.social-share-link  {
    padding: 4px 8px 4px 8px !important;
    font-size:12px;
    font-family: Arial,Helvetica,sans-serif;
    font-weight:bold;
}
 
a.social-share-link:hover, a.social-share-link:active {
    color: white;
}
 
a.social-share-twitter {
    background: #00aced;
}
 
a.social-share-twitter:hover,a.social-share-twitter:active {
    background: #0084b4;
}
 
a.social-share-facebook {
    background: #3B5997;
}
 
a.social-share-facebook:hover,a.social-share-facebook:active {
    background: #2d4372;
}

a.social-share-linkedin {
    background: #0074A1;
}
 
a.social-share-linkedin:hover,a.social-share-linkedin:active {
    background: #006288;
}
 
a.social-share-social {
    margin: 20px 0px 25px 0px;
    -webkit-font-smoothing: antialiased;
    font-size: 12px;
}


/* Section Archive */

header.page-header h3, .author-description h3 {
	margin:15px 0 25px 0;
}

.archive.tax-section #page-content, .archive.author #page-content, .archive.tax-directory_category #page-content {
		max-width: 356px;
		margin:0 auto;
}

.archive.tax-section article, .archive.author article, .archive.tax-directory_category article {
    min-height: 150px;
    border-top: 0;
    border-bottom: 0.05em solid #ddd;
    border-right: 0;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 20px;
    vertical-align: top;
    position: relative;
    font-size: 90%;
}

.archive.tax-directory_category article {
	padding-top: 15px;
    padding-bottom: 10px;
}

article.main-left, article.main-right {
    margin-left: auto;
    margin-right: auto;
    max-width: 350px;
    text-align: left;
}

article.main-left {
    padding-left:0.5rem;
}

article.main-right {
    padding-right:0.5rem;
}

#main-pagination {
	margin-top:10px;
}

a.prev, a.next {
	display:inline-block;
	padding:0 10px;
}


@media print,screen and (min-width:40em){
	.archive.tax-section #page-content, .archive.author #page-content, .archive.tax-directory_category #page-content {
		max-width: 730px;
		
	}
	
	article.main-left, article.main-right {
		margin-left: 0;
		margin-right: 0;
    }
	
   .archive .line_1 {
      display: block;
      width: 46.4%;
      border-bottom: 3px double #ccc;
   }

   .archive .line_1.main-left {
       margin-right: 3.1%;
   }
	
	.archive .line_1.main-right {
       margin-left: 3.1%;
	
   }
	
	.archive.tax-section article.main-right, .archive.author article.main-right, .archive.tax-directory_category article.main-right  {
		border:0;
	}
	
	.archive.tax-section article, .archive.author article, .archive.tax-directory_category article {
        border-bottom: none;
     }
}

@media print,screen and (min-width:59.8em){
	.archive.tax-section #page-content, .archive.author #page-content, .archive.tax-directory_category #page-content {
		max-width: 100%;
		margin:0;		
	}
}

/* Issue List Page */

.issue_archive {
    width: 100%;
    display: inline-block;
	text-align:center;
    margin-right: 3%;
    margin-left: 3%;
    margin-bottom: 20px;
	padding:5px;
    vertical-align: top;
}

.issue_archive .photo {
    height: 146px;
    width: auto;
    margin: 0 auto 8px auto;
    display: block;
	overflow:hidden;
}


.issue_archive img {
    height: 100%;
    width: auto;
}

.issue_archive.y2011 img {
    height: auto;
    width: 110px;
	background:	#f9f9f9;
	padding-bottom:110px;
}

.issue_archive a.archive_title {
    font-size: 0.95em;
    font-weight: 600;
}

@media print,screen and (min-width:34em){
	.issue_archive {
		width: 40%;
	}
}

/* Directory */

  /* Directory parent page */
.directory-parent section {
	margin-top:30px;
	margin-left:3%;
}

.directory-parent section ul {
	list-style-type: square;
}

.directory-parent section li{
	padding-bottom:10px;
	margin-bottom:10px;
	border-bottom:1px solid #ddd;
	list-style-position: inside;
}

.single-listing .entry-thumbnail, .single-listing .listing-detail {
	margin-top:10px;
}
	
.single-listing .listing-detail {
}

.single-listing .listing-detail table tbody tr:nth-child(2n) {
    background-color: transparent;
}

.single-listing .listing-detail td {
	font-size:0.9rem;
	padding-top:0.2rem;
	padding-bottom:0.2rem;
	padding-left:0rem;
	padding-right:0.3rem;
	word-wrap: break-word;
	vertical-align:top;
}

.single-listing .listing-detail .listing-label {
	font-weight:800;
}

@media print,screen and (min-width:40em){
	.single-listing .entry-thumbnail, .single-listing .listing-detail {
		margin-bottom:10px;
    }
	.single-listing .entry-thumbnail {
		display:inline-block;
		width:30%;
		vertical-align:top;
		margin-right:2%;
	}
	
	.single-listing .listing-detail {
		display:inline-block;
		width:63%;
	}
	
}

@media print,screen and (min-width:57.8em){
	.single-listing .entry-thumbnail {
		width:40%;
	}
	
	.single-listing .listing-detail {
		width:53%;
	}
}

/* Authors List */

.author-list .item {
   border-bottom: 0.09rem solid #ccc;	
}

.author-list h4 a {
	font-size:0.95rem;
}

.author-list .photo {
	width: 110px;
	float:left;
	margin-right:12px;
	margin-bottom:12px;	
}

.author-list-bio p {
	font-size:0.90rem;
	line-height:1.35;
}

.author-list h4 a {
	font-weight:800;
}

/* Author Archive */
 
.author-bio {
    border-bottom:0.09rem solid #ccc;
	padding-bottom:5px;
	margin-bottom:20px;
}

.author-bio .photo {
	width: 110px;
	float:left;
	margin-right:12px;
	margin-bottom:12px;
}

.author-bio img {
	margin-top:0!important;
}

.author-bio p {
	font-size:0.9rem;
	line-height:1.3;
}

/* Restrict Content Pro */

/* style the final confirm page, which the subscriber sees after completing Paypal payment */

#billing_info.rcp-confirm-details h3 {
	background: #eee;
	border:3px ridge #ccc;
	/*color: #fff;*/
	font-size:16px;
	padding: 5px 10px;
	display: inline-block;
}

#billing_info.rcp-confirm-details h3::after {
	content: " - click the CONFIRM button, below - THANK YOU!";
	color:#880000;
}

#rcp-paypal-express-confirm-form [type="submit"] {
    border:6px groove #aaa;
	font-size:20px;
	color:#fff;
	font-weight:800;
	text-transform:uppercase;
	background:#880000;
	padding:15px 30px;
	margin-left:15%;
}

/*  Ajax Load More for home page */

.alm-btn-wrap .alm-load-more-btn {
     background:#444!important;
	padding-bottom:100px;
}

.alm-listing li {
	padding: 0 0 0 0px!important; 
	margin-bottom:0!important;
	max-width:300px;
	margin-left:auto!important;
	margin-right:auto!important;
}

.alm-reveal .li-inner {
	border-bottom: 0.05em solid #ddd;
	padding-top:15px!important;
	padding-bottom:15px!important;
}

.alm-listing li .photo {
	height:200px;
	overflow:hidden;
}

.main-right .alm-listing li .photo {
	height:80px;   
}

.main-left .alm-listing li .photo {
	margin-top: 10px;
	margin-bottom: 10px;
}

.alm-listing li img {
   position: static!important;
	width:100%;
}

.alm-listing li p {
	text-align:left;
}
