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

Stylesheet: Custom Stylesheet

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


body {
	vertical-align:top;
	background:#eee;
    font-family: georgia, "times new roman", times, serif;
    font-size:0.95em;
    line-height:1.4;
    color:#333;
}

.medium-gray {
   background:#ccc;	
}

.padding-reset {
	padding-left:0;
	padding-right:0;
}

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

.display-none {display:none;}

h1, h2, h3, h4, h5, h6 {
    color: #333333;
    font-weight: 600;
    font-family: 'Georgia', 'Times New Roman', serif;
}

h4 {
    font-size:1.4rem;
}

strong {	font-weight: 700;}

embed, iframe, object, video {
    max-width: 100%;
}

.align-top {vertical-align:top;}

.row {
    max-width: 39rem; 
	background:#fff;
}

.black-bg {background-color:#000;}

.red {
	color:#c42121;
}

.one-edge-shadow {
  box-shadow: 0 8px 6px -6px black;

}


@media print,screen and (min-width:40em) {	
	.row {max-width: 44rem; }	

}

@media print,screen and (min-width:57.8em) {
	
	.row {max-width: 59rem; }
}

@media print,screen and (min-width:64em) {
		
    .row {max-width: 66rem; /* 1120 px */}
}


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

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

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

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

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

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

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

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

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

h2 {font-size: 2.0rem }


/*  Header */

/*  Top menu */
.top-of-header-menu-wrap {
     font-size:0.95em;
	font-family:arial;
    text-transform:uppercase;
     position:fixed;
     top:0;
     padding-top:0;
     padding-bottom:2px;
     width:100%;
     text-align:left;
     z-index:999;
}

.top-of-header-menu-wrap  div {
     position:relative;
}

#menu-sub-menu.menu, #menu-top-of-header-logged-in.menu  {
     background:#fff;
	-webkit-appearance: none;
	-webkit-box-shadow: 0 4px 4px rgba(0,0,0,0.06); 
	 box-shadow:  0 4px 4px rgba(0,0,0,0.06);
    border-bottom:1px solid #ccc;
}

#menu-sub-menu.menu  > li > a, #menu-top-of-header-logged-in.menu  > li > a {
    color:#000;
    padding:0.9em 0.5em 0.5em 0.5em;
    /*font-size:0.9em;
    font-weight:800;*/
    border-right:none;
    font-family:arial,helvetica;
}

#header-leaderboard {
	display:block;
	float:none;
    padding-top:5px;
    padding-bottom:1px;
	text-align:center;
	width:100%;
	max-height:62px;
	overflow:hidden;
}

.header-leaderboard-inner {
   /* display:inline-block;
    width:auto;
    margin:0 auto;*/
}


#header-leaderboard .widget {
    width:100%!important;
	max-width:730px;
	height:auto;
	margin:0 auto;
    background:#fff;
}

#logo-header {
	padding:10px 0;
    text-align:center;
     position:relative;
     min-height:150px;
}

.logo-header-inner {
        margin-top:10px;
}

.logo-header-inner #header-logo img {
       max-height:70px;
       width:auto;
       margin-bottom:10px;
}

.logo-header-inner div {
      font-size:95%;
}

#left-of-logo-ad, #right-of-logo-ad {
    padding-top:0px;
}

#right-of-logo-ad {
	display:none;
}

#left-of-logo-ad.columns {
	float:none;
	margin: 0 auto;
}

/*#left-of-logo-ad {
    text-align:left;
}

#right-of-logo-ad {
    text-align:right;    
}*/



.logo-ad  {
    width:100%;
    /*height:auto;*/
    max-width:200px;
    height:100px;
    background:#ccc;
}

#left-of-logo-ad .logo-ad  {
    background:#ddd;
    
}

#right-of-logo-ad .logo-ad  {
    float:right;
}

@media print,screen and (min-width:40.0em) {
	#header-leaderboard {
         padding-top:45px;
		max-height:142px;
	}
	
   .header-leaderboard-inner iframe {
       width:100%!important;
       height:auto!important;
    }
	
	#left-of-logo-ad.columns {
	    float:left;
    }
	
	#left-of-logo-ad.columns, #right-of-logo-ad.columns {
	    display:inline;
    }
}

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

    #menu-sub-menu.menu {
       margin-left:-5px;
       margin-right:-5px;
       padding-left:10px;
       padding-right:10px;
    }

   .header-leaderboard-inner iframe {
       width:728px!important;
       height:90px!important;
    }

   .logo-header-inner #header-logo img {
       max-height:86px;
    }


  #left-of-logo-ad .textwidget, #right-of-logo-ad .textwidget {
      position:absolute;
      top:0px;
   }
 
    #left-of-logo-ad .textwidget {
       left:10%;
       margin-top:17px;
    }

    #right-of-logo-ad .textwidget {
       right:10%;
       margin-top:17px;
    }

}

@media print,screen and (min-width:63.95em) {
	
	/* At screen width less than break point, 728 ad should be centered and not float */
	#header-leaderboard {
		/*max-width:500px;
		float:right;
		padding-right:2%;*/
	}
}

/*  Non-mobile menu */

.off-canvas {
	/*background:#000;	*/
}

/*.off-canvas, .top-bar.row {
	background:#fff;	
}

.top-bar {background-color:transparent;}

.top-bar ul {
    background-color: #000!important;
}



.top-bar-right {
   float:none;
}*/

#menu-main-menu-1.menu {
     border-top:0.1em solid #ccc;
     border-bottom:2px solid #000;
     padding: .5rem 0.05rem .3rem 0.05rem;
     position:relative;
}

.menu > li {
   padding-bottom:0.2rem;
}

.menu > li:hover {
    /* background:#222222;
     padding-bottom:0.0rem;
     border-bottom:0.2rem solid #c79c00; */
}

.menu > li > a {
    color:#000;
    padding:0.7rem 0.3rem;
	font-weight:normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
     border-right:1px solid #ccc;
}



#menu-main-menu-1.menu  > li > a {
     text-transform:uppercase;
     	font-size:0.7em;
	font-family:arial,helvetica;
}

.menu > li > a:hover {
     text-decoration:underline;
}



/*  Slightly more right padding for menu dropdown li */
.menu > li.is-dropdown-submenu-parent > a {
    padding-right: 0.7rem;
}

/*  color of triangle drop-down indicator */
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {border-color: #fff transparent transparent;}

/*  vertically position the drop-down menu */
.dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu {    top: 120%; }

/* non-mobile drop-down menu */
.is-dropdown-submenu li { 
    padding-top:0.5em;
    padding-bottom:0.5em;
}


/*  Don't highlight the active menu li */
.menu .active > a {
    background: none;
   color: #696969;
}

.main-menu-subscribe {
    position:absolute;
    top:50px;
    width:50%;
    right: 24%;
     border: 1px solid #aaa;
     -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
      border-radius: 2px;
    -webkit-box-shadow: 0px 8px 6px -6px #ccc; 
    -moz-box-shadow:    0px 8px 6px -6px #ccc; 
    box-shadow:         0px 8px 6px -6px #ccc; 
      background:#f0f8ff;
      padding:8px 10px;
    text-align:center;
}

.main-menu-subscribe a {
    color:#696969;
    font-family:Arial;
    font-size:1.0em;
     font-weight:700;
}

.main-menu-subscribe:hover {
        
}

.main-menu-subscribe a:hover {
    color:#b20000; 
}

@media print,screen and (min-width:40em) and (max-width:57.79em) {
    .main-menu-subscribe {
        display:none;
     }
}

@media print,screen and (min-width:57.8em) {
    .main-menu-subscribe {
        top:-5px;
        right:8%;
        width:auto;
        padding:8px 20px;
     }
}

/* 'Menu' button on mobile */
.show-for-small-only .menu > li > a {
    color:#fff;
    font-size:1.2em;
    padding-right:200px;
    border:none;
}

.off-canvas .menu > li > a {
    font-size:1.2em;
    color:#000;
    padding:0.3rem;
}

.menu ul.is-accordion-submenu > li > a {
    font-style:italic;
    padding-left:30px;
}

@media print,screen and (min-width:40em) {
	.menu > li > a {
	   padding: 0 1rem 0  1rem; 
	}
}

/* Header Search Form */

.search-bar-wrap {
     position:absolute;
     top:0.2em;
     right:20px;
}

form.search-form input[type=search] {
    padding:0.2em;
     margin:0;
     height: 1.5675rem;
     width:100px;
     box-shadow:none;
     border: 0.2em solid #eee;
     border-left: 0.5em solid #eee;
  -webkit-transition: width 0.5s ease-out;
  -moz-transition: width 0.5s ease-out;
  -o-transition: width 0.5s ease-out;
  transition: width 0.5s ease-out;
    font-size:0.8em;
    text-transform:uppercase;
}

form.search-form input[type=search]:hover {
     width:180px;
}

.button.search-submit {
     padding:0;
     margin:0;
     margin-left:-5px;
     height: 1.4875rem;
}



/*
.top-bar #search {
	min-width:200px;
	position:relative;
	top:0.15rem;
}

.top-bar #search form {height:29px;vertical-align:top;}

.top-bar #search label, .top-bar #search input.search-field[type="search"]{
    max-width: 150px;
    margin-right: .01rem;
	margin-bottom:0;
	padding: .2rem;
	line-height: 1.0;
	height: 1.56rem;
}

.top-bar #search label {
	padding:0 .2rem;
	height:1.75rem;
}

.top-bar #search input.search-submit {
	margin:0;
	padding:1px;
	height:1.8em;
	width:2em;
	vertical-align:top;
	padding: 0;
	background-image: url(//s.w.org/wp-includes/images/admin-bar-sprite.png?d=20120831);
	background-size: cover; 
	background-repeat: no-repeat; 	
}
*/
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

#search {}
	
#sub-head {
	background:#eee;
	padding:0 2%;
    border-bottom:1px solid #bbb;
    display:none;
}
	

	/* Main */

#main {
    max-width:305px;
    margin:0px auto 5px auto;
    padding-top:20px;
}

#sidebar1 > div {
    max-width:302px;
    margin:0 auto 20px auto;
}

#sidebar1 > div#custom_html-3 {
     border:0.1rem solid #d0dfed;
}

h4.widgettitle {
    display:none;
}

.page-id-5812 #sidebar1 #sidebar-subscribe  {
     display:none;
}

#sidebar1 #sidebar-subscribe img {
     /* border:10px groove #326699; */
}

#custom_html-8  {
        height:auto;
	    background:aliceblue;
	    color:#333;
	    text-align:center;
	    padding:3px 10px 0px 10px;
	    font-size:15px;
	    font-weight:bold;
	    border:10px ridge navy;
}

#sidebar1 #data-connection-block {
     padding:8px;
}

#sidebar1 #data-connection-block h3 {
     font-size:1.4em;
     text-align:center;
}

#sidebar1 #data-connection-block h3.underline {
     font-size:0.9em;
     text-decoration:underline;
}

#sidebar1 #data-connection-block img {
     border:0.1em solid #404040;
}

#sidebar1 #data-connection-block p {
     margin:0;
     padding:6px 0 0 0;
	 font-size:0.9em;
     font-family:arial,helvetica,sans-serif;
	 line-height:1.25;
}

#sidebar1 #data-connection-block p {
	text-align:center;
}

#sidebar1 #data-connection-block p.explore {
	 font-style:italic;
}
	
@media print,screen and (max-width:57.79em) {
   	#main.columns, #sidebar1.columns {
	 float:none;
	 padding-left:0;
	 padding-right:0
   }
}

@media print,screen and (min-width:40em) {
   	#main {
	 padding-top:0px;
	padding-left:5%;
   }
}

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

    .page-template-template-full-width #main {
		padding-left:10%;
		padding-right:10%;   
	}
	
}	

@media print,screen and (min-width:69em) {
	#main {
	    padding-top:0.0em;
        border-right:0.05rem solid #ccc;
	}
	

}

		
/* At screen width less than break point, sidebar should stack under #main and be ~ 300px wide */
	#sidebar1 {
		max-width:350px;		
	    margin:0 auto;

	}
	


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

	
	/*  Sidebar will adjust slightly at medium screen widths, ads will need to be re-sized */
	#sidebar1.columns {
		padding-left:0.9%;
		padding-right:0.9%;
	}
	
	#sidebar1 {
		border-left:0.00rem solid #ccc;
        padding-top:22px;
				
	}	
}

#sidebar1 img {
	  width:100%;
      max-width:300px;
      border: 0px solid red; 
	}

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

	#sidebar1.columns {
		padding-left:1.5%;
		padding-right:1%;
	}
	
	#sidebar1 {
		/*width:20.9rem;
		padding-left:1.2rem; */
	}	
}

@media print,screen and (min-width:69em) {
	
	/* At widest screen widths, add left padding to sidebar  */
	#sidebar1 {
		/*width:21.2rem;
		padding-left:1.4rem;  */
	}
}

/* Home Page block styles */

/*  Sets a max width of columns on a 2-column page */
    .main-left, .main-right{ 
          max-width:40rem;
   }

/*
.main-left article {
	background:#d7ecff; 
}

.main-right article {	
	background:#bde0ff;	
}  */

@media print,screen and (max-width:39.9em) {
	
	
	/*  At small screens, columns in a 2-column page should be stacked, centered, and not float  */
	.main-left, .main-right {
		float:none!important;
		margin:0 auto;
	}
}

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

	/*  At this screen width and above, make the 2 columns of a 2-column page */
	/*   line up side-by-side  */
	/* Remove outer padding of columns for 2-column pages */
	/* Keep inner padding for spacing */
	.main-left {
		padding-left:0;
		padding-right:1.025rem;
		border-right:1px solid #ccc;
	}
	
	.main-left.background-border {
	    border-right:0;		
		background-image: url('/wp-content/themes/JointsWP-master/assets/images/alt-border-1.png');
        background-position: 100% 40px; 
		background-repeat: no-repeat; 	
	}
	
	.main-right{
		padding-left:1.025rem;
		padding-right:0;
	}
}

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

   /*  Fix foundation style on last columns */
   .main-right.columns:last-child:not(:first-child) {
    float: left;
    }
	
}


@media print,screen and (min-width:64em) {
	
	/* Adjust spacing between columns on 2-column page at larger screen widths */
	.main-left {	
		padding-right:1.2rem;
	}

	.main-right{	
		padding-left:1.0rem;
		padding-right:0.2rem;
	}
}

#bottom-cover-block {
     margin-top:13px;
     border-top:5px double #ccc;
     border-bottom:5px double #ccc;
}

#bottom-cover-block h4 {
     font-size:1em;
	 text-align:center;
	 width:100%;
	 border-top:0px double #ccc;
	 border-bottom:0px solid #ddd;
	 margin-top:8px;
     padding-top:10px;
}

#bottom-cover-block .wide-image {
     float:left;
}


.home #bottom-cover-block article {
     padding-top:10px;
     border-top:none;
}

.bottom-cover-article-1 {
     padding-right:2.6%;
}

.bottom-cover-article-2 {
     padding-left:1.3%;
     padding-right:1.3%;
}

.bottom-cover-article-3 {
     padding-left:2.6%;
}

.home-bottom-article-issue, .alm-reveal p.entry-meta {
    text-align:left;
    font-size:80%;
    font-weight:bold;
    padding-bottom:3px;
}

    @media print,screen and (min-width:40em) {
       #main {
             max-width:100%;
       }
   }


/*  Home Page section header styles */

/* .home h2.section-title, .archive.tax-issuem_issue h2.section-title {
      font-size: 0.8em;
	  font-weight:bold;
	  text-transform:uppercase;
      background: rgb(155,18,25);
      border-top:1px solid #ccc;
      border-bottom:1px solid #ccc;
	  padding: 0.4em 1px 0.3em 8px;
	  margin-top:0px;
	  margin-bottom:15px;
}

*/

.home h2.section-title, .archive.tax-issuem_issue h2.section-title {
      font-size: 0.8em;
      font-weight:bold;
      text-transform:uppercase;
      padding-bottom:18px;
      margin-bottom:0;
}

.home h2.section-title a, .archive.tax-issuem_issue h2.section-title a {
      color:#fff;
      display:block;
      width:100%;
      background: rgb(155,18,25);
      border-top:1px solid #ccc;
      border-bottom:1px solid #ccc;
	  padding: 0.4em 1px 0.3em 8px;
	  margin-top:0px;
	  margin-bottom:0px;
}

/*  If it's not the first section in a home_block, then add a top margin. */
.home h2.section-title.section-not-first, .archive.tax-issuem_issue h2.section-title.section-not-first {
	   margin-top:24px;
}

/*.home h2.section-title a, .archive.tax-issuem_issue h2.section-title a {
	  color:#fff;
} */

.home h2.section-title .see-all, .archive.tax-issuem_issue h2.section-title .see-all {
      display:none;	
}

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

/*  Home Page article styles */



.home article .article-eyebrow, .archive .article-eyebrow  {
     text-transform:uppercase;
     font-size:0.8em;
     margin-bottom: 9px;
}

.archive .article-eyebrow.archive  {
    font-size:0.9em;
    padding:0.3em 0;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}

.home article .home-byline, .archive article .home-byline {
     font-size:0.7em;
     margin-bottom: 5px;
}

.home article .home-byline span, .archive article .home-byline span {
     text-transform:uppercase;
}

.home article, .archive article  {
	vertical-align:top;
	padding-top:20px;
	border-top:1px solid #d6d6d6;
	margin-bottom:20px;
}

.home .main-left article:first-child, .home .main-right article:first-child  {
     border-top:3px double #ccc;
}

.home article.article-1, .home .large_left article.article-2, .archive article.article-1, .archive .large_left article.article-2  {
	padding-top:3px;
	border-top:0px solid #efefef;
}


.home article .photo, .archive article .photo {
	float:right;
	width:30%;
	max-width:125px;
	max-height:650px;
	overflow:hidden;
	vertical-align:top;
    margin-left:10px;
   position:relative;
}

.archive article .photo img {
    /*position:absolute;
    top:0;*/
}

.home article .photo img.wp-post-image, .archive article .photo img.wp-post-image {
	width:100%!important;
	margin-top:3px;
	padding-bottom:5px;
	height:auto;
}

.home .wide-image article .photo, .archive .wide-image article .photo {
	float:none;
	width:100%;
	max-width:310px;
	max-height:600px;	
    margin-left:0;
}

.home #top-cover-block.wide-image article , .archive #top-cover-block.wide-image article {
	border-top:0;
}

.home #top-cover-block.wide-image article .photo, .archive #top-cover-block.wide-image article .photo {
	float:right;
	max-width:370px;
	max-height:600px;	
    margin-left:20px;

}

.home #home_block_1 article .photo, .archive  #home_block_1 article .photo {
    width:30%;
}

.home article .preview, .archive article .preview {
	vertical-align:top;
}

.home article h2.entry-title, .archive article h2.entry-title, .alm-reveal h3 {
	 font-size: 1.2em;
	  line-height:1.2;
	  margin-bottom: 6px;

}

.home article h2.entry-title a, .archive article h2.entry-title a, .alm-reveal a {
	font-weight:600;
	color:#1e3d5b;
}

.home article h2.entry-title a:hover, .archive article h2.entry-title a:hover, .alm-reveal a:hover {
	color:#265b8e;
}

.home .wide-image article h2.entry-title,  .archive .wide-image article h2.entry-title {
	font-size: 1.6em;
	margin-top:0;
	 margin-bottom: .2rem;
}

.home #bottom-cover-block .wide-image article h2.entry-title,  .archive #bottom-cover-block .wide-image article h2.entry-title {
	font-size: 1.2em;
}

#bottom-cover-block

.home-byline {

}

.home article .entry-summary, .archive article .entry-summary {
	 font-size: 0.90em;
     color:#1e1e1e;
     line-height:1.3;
     font-family:Arial;
	text-align:left;
}

.home #top-cover-block article .entry-summary, .archive  #top-cover-block article .entry-summary {
	 font-size: 1.0em;
     line-height:1.35;
}


.home article:last-child, .archive article:last-child {
    border-bottom:0;
}

a.see-more {
	display:block;
	color:#404040;
	font-size: 0.92em;
	font-style:italic;
	margin-bottom:20px;
}

a.see-more:hover {color:#2b2ba6;}

#bottom-cover-block article {
     text-align:center;
}

#bottom-cover-block article .photo {
     height:175px;
     overflow:hidden;
}

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

    .home #top-cover-block.wide-image article .photo, .archive #top-cover-block.wide-image article .photo {
        width:60%;
     }

     #bottom-cover-block article .photo {
           height:150px;
      }

	.home #top-cover-block article .entry-summary, .archive  #top-cover-block article .entry-summary {
   	       max-width:240px;
     }
}

@media print,screen and (min-width:57.8em) {
     #bottom-cover-block article .photo {
           height:170px;
      }

     .home #top-cover-block, .archive #top-cover-block {
	    width:96%;
        margin:5px 0 5px 2%;
        /*background:#eee;*/
     }
}

/*  Footer  */

.footer {
  margin-top: 0em;

}

#inner-footer1 {
	padding-top:1em; 
	border-top:1px solid #eee;
    background:#f9f9f9;
    padding:10px 12%;
}

.footer p {
     text-align:center;
     font-size:0.9em;
}

.footer p.copyright {
     color:#fff;
     font-weight:bold;
     padding-top:10px;
     padding-bottom:10px;
}



/* Single Article Page Styles */

.dkpdf-button-container {
    padding-top: 0px!important;
}

.dkpdf-button {
    font-size:0.85em;
}

@media print,screen and (min-width:57.8em) {
    .dkpdf-button-container {
         margin-top: -5px;
      }
}

.single-article #breadcrumbs {
	color: #999;
	font-size: 0.88rem;
	line-height: 1;
	padding-bottom:0.85em;
	border-bottom: 1px solid #e9e9e9;
}

.single-article article .article-header {
    border-top: 0px solid #cccccc;
    margin: 0 0 5px 0;
    padding-top: 0.3em;
    padding-bottom: 0.4em;

}

.single-article article h1.entry-title {
    padding-bottom: 0;
    font-size:1.4em;
}

.single-article article .entry-meta {
    margin-top: 3px;
    margin-bottom: 2px;
    text-transform: none;
    padding: 3px 0 4px 0;
    border-top: 1px solid #e9e9e9;
    border-bottom: 3px solid #e9e9e9;
    display: block;
    color: #222;
    font-size: 1.1em;
}

.single-article article .entry-author, .single-article .entry-date {
	font-size:90%;
    display: inline-block;
    vertical-align: middle;
    padding-top: 0em;
}

.single-article article .entry-author span.author {
    margin-right: 20px;
}

 .single-article article .entry-summary {
    color: #474747;
	font-size:0.94rem;
    font-style: italic;
    line-height: 1.15;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1.6em;
    border-bottom: 1px solid #e9e9e9;
}

.single-article article .entry-thumbnail {
    width: 33%;
    float: left;
    margin-right: 3%;
    margin-bottom: 5px;
}

.single-article article.issuem_issue_categories-data-connection .entry-thumbnail {
    width: 270px;
    
}

.single-article article .entry-thumbnail.headshot {
    width: 25%;
}

.single-article article .entry-thumbnail img {
    width: 100%;
    height:auto;
}


.single-article article .entry-content span {
    font-size:1.04rem!important;
}

@media print,screen and (max-width:39.99em) {
	img.magnify {
		max-width: 100%;
		height:auto!important;
	}
}


@media print,screen and (min-width:40em) {
	.single-article article .entry-thumbnail {
    	width: 20%;
	}
	
	.single-article  article.issuem_issue_categories-cover .entry-thumbnail {
    	width: 33%;
	}
	
	.single-article article.issuem_issue_categories-data-connection .entry-thumbnail {
         width: 350px;    
    }
}


/*  Article See More Box */

.single-article .single-see-more {
}

footer.article-footer div {
	padding-top:8px;
	background:#f9f9f9;
	border:6px solid #fff;
}

.single-article h4.single-see-more {
	font-size:1.2em;
}

.single-article footer li {
	line-height:1.25;
	padding-bottom:7px;
}

.single-article footer li a {
	font-size:1.04em;
	color:#155e8e;
}

/* Social Share buttons in articles */

.single-article .entry-meta .social-share-buttons {
    display:block;
	margin-top:2px;
}

span.share-share {
    font-size:12px;
    padding-top:5px;
     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;
}

.single-article blockquote, .single-post blockquote {
	background: #fffaf0;
	border:1px solid #faebd7;
	padding-top:0;
}

.single-article blockquote p, .single-post blockquote p {
	font-size:145%;
	color:#b8860b;
	font-family:Arial;
}

@media print,screen and (min-width:40em) {
	.single-article .entry-meta .social-share-buttons {
		display:inline-block;
		margin-top:-2px;
		padding-left:10%;
     }
	
	span.share-share {
    	font-size:14px; 
    }

	.single-article blockquote, .single-post blockquote {
		width:45%;
		float:right;
		margin:0 0 2px 20px;
		background: #f8f8ff;
		border:1px solid #faebd7;
   }
}



/*  Article See More Carousel */

.single-article #carousel-1 {
	position:relative;
	border:1px solid #d6d6d6;
}

.single-article #carousel-1 h3.section-title {
	font-size: 0.8em;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	background: rgb(155,18,25);
	padding: 0.4em 1px 0.3em 8px;
	margin-bottom: 10px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.single-article #carousel-1 .owl-item {
	padding: 0;
	padding-right:13px;
	border-right:1px solid #d6d6d6;
}

.single-article #carousel-1 .active:last-child {
	
}

.single-article  #carousel-1 .owl-carousel-wrapper{
	margin-left:13px;
}

.single-article  #carousel-1 .owl-carousel .item {
    height: 10rem;
    /*background: #4DC7A0;*/
    padding: 0rem;
}

.single-article #carousel-1 .owl-carousel .photo, .owl-carousel .photo div {
   height:80px;
   overflow:hidden;
   text-align:center;
}

.single-article #carousel-1 .owl-carousel .photo img {
   width:auto;
   max-width:100%;
   max-height:80px;
   display: table-cell;
   vertical-align: top;  
}

.single-article #carousel-1 .owl-carousel .preview {
	margin-top:0.8em;
}

.single-article #carousel-1 .owl-carousel .preview h3.carousel-article-title {
	font-size: 0.95em;
	margin-bottom: 10px;
	line-height:1.2;
}

.single-article #carousel-1 .owl-carousel .preview h3.carousel-article-title a {
	font-weight: 400;
	color: #333333;
}


.single-article #carousel-1 .owl-nav {
	margin-top:0;
	position:absolute;
	top:3px;
	right:50px;
    width:80px;
	border:0px solid red;
}


.single-article #carousel-1 .owl-nav div {
	display:inline-block;
} 

.single-article #carousel-1 .owl-nav span {
	background:#eee;
	font-family:Verdana;
	font-size:0.95em;
	line-height:1.0;
    padding: 0.01em 0.35em 0.1em 0.35em;	
	margin: 0 5px;
	font-weight:800;
	color:rgb(155,18,25);
	border-radius: 0.01em;
	cursor: pointer;
} 

/*
.owl-carousel h2.entry-title {
   font-size:1em;
} */

/*  Article Flickr Slideshow */

.single-article #cycle {
    margin: 0 auto;
    margin-bottom:10px;
    padding: 0;
    /*width: 515px;
    height: 333px; */
	width:100%;
	max-height:400px;
    padding-bottom: 10px;
}

.single-article .fsDemo { /*height: 300px; width: 595px; */}

.single-article #flickr-slide {
	padding: 10px 0 0 0 ;
	}

.single-article #cycle li { position: relative; list-style: none; margin: 0; margin-bottom: 3px; width:100%;max-height:400px;overflow: hidden;text-align:center; }

.single-article #cycle li img {height:100%;width:auto;max-height:200px;}

.single-article #cycle li div { position: absolute; bottom: 0px; left: 3px; padding: 3px; width: 99%; background: black; color: white; font-size: 12px; opacity: .8;display:block!important;}

.single-article .flickr-prev-next {text-align:center;margin:0 auto 3px auto;width:100%;}

.single-article .flickr-prev-next span {display:inline-block;margin-right:10px;padding:4px 8px;font-size:1.0em!important;color:#fff;background:#007acc;border:1px solid #ccc;border-radius:1px;}

@media print,screen and (min-width:35em) {
	.single-article div.flex-video.for-flickr {
		padding-bottom:50%;
	}
	
	.single-article #cycle li img {height:100%;width:auto;max-height:300px;}
}

@media print,screen and (min-width:64em) {
	.single-article #cycle li img {height:100%;width:auto;max-height:500px;}
}

/*  Single Article Paywall Block */


.leaky_paywall_message_wrap { /*Remove LP styling */
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    background: none; 
}

#leaky_paywall_message {
     background:#fff;
     clear:both;
     color: #000;
     font-weight: normal;
     margin: 3em auto 3em auto;
     padding: 5px;
     width: 99%;
     font-size: 1em;
     line-height: 1.3;
     border: 2px solid #FFFFFF;
     -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
      border-radius: 5px;
      box-shadow: 0 0 5px #888888;
      position:relative;
}

#leaky_paywall_message a {
     color: #14679e;
}

.single-article article .entry-content #leaky_paywall_message span {
	 font-size:100%;
}

#leaky_paywall_message .leaky-paywall-payment-button a {
      color: #ffffff;
      text-decoration:underline;
}

#leaky_paywall_message .leaky-paywall-payment-button a span {
	  font-size:1.2rem!important;
}
	
div#article-paywall-header {
      background:#f0f8ff;
      padding:10px;
      border-bottom:1px solid #ddd;
      margin-bottom:10px;
}

.login_fail {
		color:#000;
		font-family:Arial;
		padding:5px;
		background:#f1f1f1;
		max-width:260px;
		line-height:1.25;
}

.article_login_form {     
     position:absolute;
     top:100px;
     left:20px;
     text-align:left;
     padding:6px;
}

.article_login_form p {
     
} 
/*
.article_login_form:after {     
     content:"Note: Current RIJ members, as we've transitioned to a new website, for your security, please reset your site password using the 'Reset here' link, above, and the email in your RIJ profile.  Contact us on any questions!";
	font-size:0.85rem;
	font-style:italic;
}
*/
p.login-remember, p.login-submit {
      margin-bottom:0;
}

.login-submit .button {
     padding: .85em 3em;
}

form#loginform {
		margin-bottom:10px;
	}

p.login-password label:after {
	content:" (see note below)";
	font-style:italic;
	font-size:0.9rem;
}

#leaky_paywall_message h5 a, #leaky_paywall_message .article_login_form a { 
      color:#1779ba;
}

#leaky_paywall_message h5 a:hover, #leaky_paywall_message .article_login_form a:hover { 
      color:#6bb8ea;
}

.leaky-paywall-message-top {
	margin-left:5%;
	font-weight:800;
	margin-top:15px;
	margin-bottom:1px;
}

#article_subscribe_message {
     margin-top:480px;
     padding:6px;
}

.article-subscribe-button {
     max-width: 300px;
}

.article-subscribe-button a {
	color:#fff;
	display:block;
	line-height:1.9;
	font-size:1.2rem;
	font-weight:800;
	text-decoration:none;
}

.article-subscribe-button a:hover {
	color:aliceblue;
}

.article-subscribe-button a span {
	font-size:1.0rem;
}

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

      .article_login_form {
           float:left;
           width:45%;
           position:relative; 
           top:0;
           left:0;  
      }
	 
	form#loginform {
		width:99%
	}

      #article_subscribe_message {
           float:right;
            width:50%;
            margin-top:0;
      }

 }

/* Reset password form */
body.login body.login #login {
		width: 100%;
		max-width:625px;
		background:#fff;
}

body.login #login p.message, body.login  #login form {
       width:295px;
       margin:10px auto;
}

#comments {display:none;}

/*  Section Archive  */

.archive .page-header, .page .archive-page-title, .page .article-header, .search-results .page-header, .archive.author .page-header {
    border-bottom: 2px solid #cccccc;
    border-top: 2px solid #1a1a1a;
    margin: 0 1% 30px 3%;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    font-size: 120%;
}

.archive .page-header h3, .page .article-header h3,  .search-results .page-header h3,  .archive.author .page-header h3 {
    font-size: 1.1em;
	line-height:1.2;
	margin-bottom:0;
}

@media print,screen and (min-width:40.0em) {
	
	.archive .page-header, .page .archive-page-title, .page .article-header,  .search-results .page-header,  .archive.author .page-header {
         margin: 0 6% 30px 0;
	}
}

.archive-row {
    position: relative;
    margin-bottom: 10px;
}

.archive.tax-issuem_issue_categories article, .archive.author article /*.author.tax-issuem_issue_categories article*/ {
	border-right:0;
	vertical-align: top;
	position:relative;
	font-size:90%;
    border-bottom: 3px double #ccc;
	margin-bottom:10px;
}

.archive article .photo img.wp-post-image {
	margin-bottom:20px;
}

.archive.tax-issuem_issue_categories article .entry-meta, .archive.author article .entry-meta {
	display:none;
}

p.issue-linked  {
	margin-bottom:0;
	font-size:80%;
	text-align:right;
    margin-top:1em;
    margin-bottom:1em;
}

.archive .line_1 {
	display:none;
	width:47.4%;
	border-bottom: 3px double #ccc;
   /* display: inline-block;
    width: 46%;
    margin-right: 5%; */
}

.archive .line_1.main-right.columns {
    float:right;
}

#main-pagination, #main-pagination a {
    font-size: 13px;
}

#main-pagination a {
    display: inline-block;
}

@media print,screen and (min-width:40.0em) {
	
	.archive.tax-issuem_issue_categories article, .archive.author article  {
	    /* min-height: 150px; */
		border-top:0;
		border-bottom:0;
		margin-bottom:0px;
		padding-bottom:40px;
	}
	
	.archive article .photo img.wp-post-image {
		margin-bottom:10px;
	}
	
	p.issue-linked  {
	   position:absolute;
	   bottom:10px;
	   margin-top:0;
   	   margin-right:15%;
	   margin-bottom:0;
   	   width:85%;
   }
   
   .archive .line_1 {
       display:block;
   }
}


/*  Register Page */

#leaky-paywall-payment-form {max-width:500px;}

body.sub-level-15 header.article-header {display:none;}

ul.leaky-paywall-subscription-details {
     padding:10px 20px 10px 30px;
    display: inline-block;
    margin-left:0;
    -webkit-box-shadow: 1px 3px 3px 3px #ddd;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
     -moz-box-shadow:    1px 3px 3px 3px #ddd;  /* Firefox 3.5 - 3.6 */
     box-shadow:         1px 3px 3px 3px #ddd;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
 	 -webkit-border-radius: 3px; 
 	 -moz-border-radius: 3px; 
 	 border-radius: 3px; 
}


/* Don't show the name of the subscription under Your Subscription */

ul.leaky-paywall-subscription-details li:first-child {
	display:none;
}

#leaky-paywall-payment-form br {
    display:none;
}

.leaky-paywall-payment-form .form-row label {
	line-height:1.6;
}

#leaky-paywall-payment-form [type="text"] {
    display: inline-block;
 /*   box-sizing: border-box; */
    width: auto;
	margin: 0 0 .1rem;
/*    height: 2.4375rem;
    margin: 0;
    padding: .5rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px hsla(0,0%,4%,.1);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    color: #0a0a0a; */
}

h2.leaky-paywall-profile-subscription-title, table.leaky-paywall-profile-subscription-details h2, div.leaky-paywall-profile-profile-update h2, div.issuem-leaky-paywall-subscriber-info h2, h3.leaky-paywall-subscription-details-title,  form.leaky-paywall-payment-form h3 {/* Register page and My Account page headings*/
	color:#336699;
	font-size:1.4rem;
	text-decoration:underline;
}

#leaky-paywall-payment-form p  {
	display:block;
}

#leaky-paywall-payment-form p.email-address [type="text"] {
	width:250px;
}

.leaky-paywall-payment-method-container {
	margin-bottom:10px;
}

#leaky-paywall-payment-form hr {
    margin:0 auto 0.7rem auto;
}

button#leaky-paywall-submit {
     display: block;
    width:100%;
	vertical-align: middle;
	margin: 5px 0 0 5%;
	font-size: 1.2rem;
	font-family: inherit;
	font-weight:bold;
	padding: 0.85em 0.1em;
	-webkit-appearance: none;
	border: 1px solid transparent;
 	 -webkit-border-radius: 5px; 
 	 -moz-border-radius: 5px; 
 	 border-radius: 5px; 
	-webkit-transition: background-color 0.25s ease-out, color 0.25s ease-out;
	transition: background-color 0.25s ease-out, color 0.25s ease-out;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	background-color: #cc0000;
	color: #fefefe;
}

button#leaky-paywall-submit:hover {
   	background-color: #1779ba;
}


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

   #leaky-paywall-payment-form p.first-name, #leaky-paywall-payment-form p.last-name, #leaky-paywall-payment-form p.password, #leaky-paywall-payment-form p.confirm-password, #leaky-paywall-payment-form .leaky-paywall-card-details p {
       width:45%;
       display:inline-block;
	   margin-bottom:5px;
   }
	
   #leaky-paywall-payment-form p.last-name, #leaky-paywall-payment-form  p.form-row.confirm-password {
	   margin-left:5%;
   }
	
 /*  #leaky-paywall-payment-form p.first-name {
	   max-width:220px;
   }
	   
   #leaky-paywall-payment-form  p.form-row.username {
   	width:90%;
   }
*/	
	
   #leaky-paywall-payment-form p.email-address input {
       width:290px;
   }

   #leaky-paywall-payment-form [type="text"], #leaky-paywall-payment-form [type="password"] {
       height: 2.0375rem;
       padding: .2rem;
   }
	
   #leaky-paywall-payment-form .card-name {
       width:200px;
   }

   button#leaky-paywall-submit {
        display: block;
        width:82%;
   }
}

@media print,screen and (min-width:57.8em) {
 /*  #leaky-paywall-payment-form p {
       width:45%;
    }
	
    #leaky-paywall-payment-form p.email-address {
       width:300px;
    }
	*/

   button#leaky-paywall-submit {
        display: block;
        width:62%;
	    
   }

}

body.page-id-11536 button#leaky-paywall-submit span {
        display: none;
        width:62%;	    
   }

body.page-id-11536 button#leaky-paywall-submit:after {
        content: "Submit and Claim your Book"	;    
   }

#leaky-paywall-registration-next {
	padding-top:10px;
	padding-bottom:8px;
	background:#3097DD;
	color:#fff;
	border:1px solid navy;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-weight:bold;
}

/* Page */



/* My Account Page */

div.issuem-leaky-paywall-subscriber-info h3 {
	color:#0d486f;
	font-size:1.0rem;
}

form#leaky-paywall-profile input[type="text"], form#leaky-paywall-profile input[type="password"], form#leaky-paywall-update-credit-card  input[type="text"] {
     max-width:300px;
}

form#leaky-paywall-update-credit-card input#leaky-paywall-cc-exp-month, form#leaky-paywall-update-credit-card input#leaky-paywall-cc-exp-year, form#leaky-paywall-update-credit-card input#leaky-paywall-cc-cvc {
     max-width:130px;
     display:inline-block;
}

/* Past Issues (list)  page */

.past-issue-list h3 {
    
    border-bottom:1px solid #696969;
    width:75%;
    margin:0 auto;
}

.issue_list_archive {
    position: relative;
	text-align: center;
	padding: 5px;
	font-size: 9pt;
    float: none;
    width: 100%;
    display: inline-block;
    margin-right: 3%;
    margin-left: 3%;
    margin-bottom: 20px;
    vertical-align: top;

}

.issue_list_archive a.archive_title {
    font-size: 1.15em;
    font-weight: 600;
}

.issue_list_archive img {
    height: 200px;
    width: auto;
    margin: 0 auto 8px auto;
	display:block;
}

/*  past issues pdf modal */

.lead {
    font-size: 100%;
    line-height: 1.4;
    margin-right:40px;
}

.reveal a {
     font-size:16px;
}

@media screen and (max-width:39.99em) {
   .reveal {
        height:50%;
        min-height:50%;
    }
}

.reveal a.close-button {
     font-size:40px;
     margin-left:10px;
}

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

/*  Search Results  */

.search-results .page-header {
	border:none;
}

.search-results article li {
    margin-left: 30px;
    margin-bottom: 15px;
    font-size: 1.0em;
    padding-left: 5px;
	line-height:1.3;
}

.search-results .entry-title {
    font-size: 100%;
    margin-bottom: 2px;
    font-weight: 500;
}

span.search-item-issue {
	font-size:90%;
	padding-left:2%;
}

/*  Author Archive */

.archive.author .page-header {
	border-top:0;
}

div.author-avatar {
	display:none;	
}

.archive.author .page-header h3 {
	margin-bottom: 15px;
}

.archive.author .page-header p {
	margin-bottom:10px;
	font-size:0.8rem;
}

/* All Pages  */

.page h3.page-title {
	font-size:1.4rem;
}

/*Subscribe Now Page */

.page-id-5812 .article-header, .page-id-9228 .article-header,  .page-id-9410 .article-header, page-id-9611 .article-header, #post-9917 .article-header {display:none;}

.page-id-5812.page-template-template-full-width #main, .page-id-9228.page-template-template-full-width #main {
	padding-left:0%;
	padding-right:0%;   
}

body.page-id-9228 {
	border-top:2px solid red; 
}

#subscribe-now-page h1 {
	font-size: 2rem;
	padding:5px 0;
}

#subscribe-now-page h1 a {
	color:#333333;
}

#subscribe-now-page h3 {
	background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
	text-align:center;
	padding:4px 0 16px 0;
	font-size: 1.4rem;
}

#subscribe-now-page h3 span {
	display:block;
    padding-top:10px;
}

#subscribe-now-page h2 {
	font-size: 1.6rem;
}

#subscribe-select h2.subscription-options-title {display:none}




.leaky_paywall_subscription_options {
	display:block;
    border-spacing: 35px;
}

@media print,screen and (min-width:40em){
		#subscribe-now-page  #sell {
			display:table-cell;
			vertical-align:top;
         }
	
		#subscribe-now-page  #book-offer {
			display:table-cell;
			vertical-align:bottom;
			margin-left:auto;
			margin-right:auto;
         }
}

     /*  Option buttons */
h2.subscription-options-title {
	font-size: 1.6rem 
}

.leaky_paywall_subscription_option {
	width:90%;
	display:block;
	padding:0;
	text-align:center;
	position:relative;
	border: 2px solid #105482;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	max-width:300px;
}

.leaky_paywall_subscription_option h3 {
	font-size:1.4rem;
}

.leaky_paywall_subscription_option h3, div.leaky_paywall_subscription_allowed_content {
	display:none;
}

div.leaky_paywall_subscription_price {
	position:absolute;
	top:8px;
	left: 16%;
    right: 0;
	width:66%;

}

div.leaky_paywall_subscription_price p {
	margin-bottom:10px;
	font-size:1.1rem;
	line-height:1.2;
	color:#ededed;
}

.leaky-paywall-payment-button {
	width:100%;
	margin:0 auto;
}

.form-free-offer-form a.button {
    background-color: #cc0000;
	transition: background-color 0.25s ease-out, color 0.25s ease-out;
	font-size: 1.2rem;
    font-weight: 700;
	padding-left:0.5rem;
	padding-right:0.5rem;
	font-family:open sans;
} 

.form-free-offer-form a.button:hover {
    background-color: #1779ba;
} 

#article_subscribe_message .leaky-paywall-payment-button  {
	max-width:280px;
}

.leaky_paywall_subscription_option .leaky-paywall-payment-button a, #article_subscribe_message .leaky-paywall-payment-button a {
	padding: 60px 70px 7px 70px;
    font-size:1.4rem;
	font-weight:800;
	background:#14679e;	
}

#article_subscribe_message .leaky-paywall-payment-button a {
	padding: 10px 50px;
	margin-bottom:8px;
    font-size:1.1rem;
	text-decoration:none;
}

.single-article article .entry-content #leaky_paywall_message  .leaky-paywall-payment-button a span {
	display:block;
}

.leaky_paywall_subscription_option:hover {
    border: 2px solid #14679e;
}

.leaky_paywall_subscription_option .leaky-paywall-payment-button a:hover, #article_subscribe_message .leaky-paywall-payment-button a:hover {
	background: radial-gradient(#5da1c6, #14679e);
}

.leaky_paywall_subscription_option:first-child {
	margin-bottom:1rem;		
}

p.recurring-notice {
	font-size:0.96rem;
}

@media print,screen and (min-width:40em){
	.indent-10 {
		padding:10px 10%;
	}

	.indent-5 {
		padding:10px 5%;
	}
	
	#subscribe-now-page h3 span  {
		display:inline-block;
		padding-top:20px;
		margin-left:8%;
	}
	
	.leaky_paywall_subscription_option {
		display:inline-block;
		width:42%;
		margin-left:3%;
	}
	
	.leaky_paywall_subscription_option:first-child {
		margin-left:0;	
	    margin-bottom:0;	
	}
}

/*  TAC free 6 months offer page */
body.page-id-10341 .leaky-paywall-subscription-details-wrapper {display:none;}

/*  Renewal Page */

.page-id-41 div.issuem-leaky-paywall-subscriber-info  {display:none}

/*Login Page*/

 @media print,screen and (min-width:40em){
     .page-id-5810 form#loginform p {
        width:98%;
    }
}


/* Search Form */
/*
#search_show_button {
     border:1px solid #ccc;
     -webkit-border-radius: 6px; 
     -moz-border-radius: 6px; 
     border-radius: 6px; 
     position:absolute;
     bottom:13px;
     right:6px;
     background:#a00000;
}

#search_show_button a {
     color:#fff;
     padding:4px 5px 0px 5px;
}

#search_show_button a .material-icons {
     font-size:1.2em;
     font-weight:600;
     line-height:1.3;
     vertical-align:bottom;     
}

#search-block  {
    display:none;
    position:absolute;
    bottom:-30px;
    right:10px;
    margin:0;
    padding:5px;
    width:280px;
    border:1px solid #eee;
    background:#fff;
    z-index:9999;
}

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

            #search_show_button {
              bottom:7px;
            }

            #search-block  {
                      bottom:-5px;
                      right:15px;
              }
       }
      @media print,screen and (min-width:64em){
            #search-block  {
                      bottom:10px;
                      right:20px;
              }
       }

#search-block label {
    padding: 0 .2rem;
    height: 1.35rem;
}

#search-block label, #search-block input.search-field[type="search"], form.search-form  {
    display:inline;
}

#search-block label, #search-block input.search-field[type="search"] {
    max-width: 180px;
    margin-right: .0rem;
    margin-top: 0.04rem;
    margin-bottom:0;
    padding: 0rem;
    line-height: 1.0;
    height: 1.66rem;
    display:inline;
}

#search-block input.button {
    background-color: rgb(155,18,25);
}
#search-block input.search-submit {
    margin: 0;
    height: 1.9em;
    width: 2.2em;
    vertical-align: top;
    padding: 0;
    background-image: url(//s.w.org/wp-includes/images/admin-bar-sprite.png?d=20120831);
    background-size: cover;
    background-repeat: no-repeat;
}

#search-block #search-x {
    padding:1px 5px;
    border:1px solid #eee;
    float:right;
}

#search-block #search-x a {
    color:#aaa;
    font-size:90%;
}
*/




/*  Back-to-top function */

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

.fshow-wrapper {clear:both; float:none;}

/*  Boxzilla popup */

.page-template-page-templatesfull-width-alt-registration-1-php  .boxzilla-container, .page-template-page-templatesfull-width-alt-registration-2-php  .boxzilla-container {display:none}

.boxzilla {
    padding-top:20px!important;
	padding-left:5px!important;
	padding-right:5px!important;
    font-family:Arial;
}

.boxzilla-content img {
   float:left;
   margin-right:10px;
   display:none;
}

.boxzilla-content p, 
.boxzilla-content form {
 
}

.boxzilla-content p {
    font-size:1.2em;
     line-height:1.3;
     padding-right:20px;
      margin-bottom:5px;
     text-align:center;
}

table.signupframe {
   width:210px;
}

.boxzilla-content form {
   padding-top:14px;
   padding-bottom:12px;
   margin-bottom:14px;
   background:#fff;
}
table.signupframe tbody tr {
   background:#f1f1f1;
}

table.signupframe td {
  font-size:0.85em;
  padding-left:0;
  padding-bottom:0;
  vertical-align:middle;
}

table.signupframe td.form-td-left {
  padding-right:10px;
}

.boxzilla-content div.formEl {margin-bottom:8px;}

.boxzilla-content form input[type="text"]{
    height: 1.73rem;
    width:180px;
    margin: 0;
    padding: .2rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px hsla(0,0%,4%,.1);
}

.boxzilla .submit-container {text-align:center;}

.boxzilla-content form input[type="submit"] {
	color: #Fff;
	text-align: left;
	font-size: 16px;
	font-weight:bold;
	letter-spacing: 0.03em;
	margin-top:10px;
	margin-left: auto;
	margin-right:auto;
	padding: 10px 20px;
	background: #880000 none repeat scroll 0% 0%;
	border-radius: 0px;
	cursor: pointer;
	text-transform:uppercase;
}

.boxzilla-close-icon {
    padding: 4px 4px!important;
    font-size:36px!important;
}

@media print,screen and (max-width:39.999em) {
   .boxzilla {
       border-color:#880000!important;
   }
}

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

    .boxzilla {
    	padding-top:10px!important;
		padding-left:10px!important;
		padding-right:10px!important;
     }

   .boxzilla.boxzilla-bottom-right {
        bottom: 10px!important;
        right: 100px!important;
     }

	.boxzilla-content img  {
		display: block;
	}

	.boxzilla-close-icon {
  	   /* font-size:26px!important; */
	}
	
	table.signupframe {
   		width:260px;
	}
	
	.boxzilla-content form input[type="text"]{
        height: 1.73rem;
        width:200px;
	}
}

/*  Email Newsletter Page */

.email-form-wrap .signupframe {
     padding:10px;
     border:10px solid #eee!important;
}

.email-form-wrap table.signupframe tbody tr {
     background:#fff;
}

.email-form-wrap table.signupframe td  {
      font-size:1.1em;
}

.email-form-wrap form input[type="submit"] {
	padding-top: 15px;
	padding-right: 38px;
	padding-bottom: 13px;
	padding-left: 38px;
    background-color:#1779ba!important;
    margin-bottom:10px;
    color:#fff;
    font-size:1.3em;
}

.widget {
   clear:both;
}

/* Email signup page */

.email-signup {
	display:inline-block;
	vertical-align:top;
}

.email-signup.w30 {display:none;}
	
@media print,screen and (min-width:64.0em) {
   .w60 {width:60%;}
   .w30 {width:30%;}
   .email-signup.w30 {display:inline-block;}
}

/* Home page mobile inter-article ad */
#custom_html-5 .widget {
   border:0px solid navy;
}

/*  Font tests */

.font-name {text-decoration:underline;}

.arial {font-family: arial, sans-serif;}

.roboto {
    font-family: 'Roboto', sans-serif;
	}
.encode-sans-condensed {
    font-family: 'Encode Sans Condensed', sans-serif;
	}
	
.open-sans  {
    font-family: 'Open Sans', sans-serif;
	}

.montserrat {
    font-family: 'Montserrat', sans-serif;
	}
	
.raleway  {
    font-family: 'Raleway', sans-serif;
	}

.noto-sans {
    font-family: 'Noto Sans', sans-serif;
	}

.arimo {
    font-family: 'Arimo', sans-serif;
	}

.muli {
    font-family: 'Muli', sans-serif;
	}

.abel {
    font-family: 'Abel', sans-serif;
	}

.libre-franklin {
    font-family: 'Libre Franklin', sans-serif;
}

.font-test  {margin-bottom:20px;color:#333;}

.font-test span {margin-right:20px;}

.font-test .second {font-size:0.8em;}

#menu-sub-menu.menu  > li > a, #menu-top-of-header-logged-in.menu  > li > a, #menu-main-menu-1.menu > li > a  {
       /*font-family: 'Raleway', sans-serif;
   font-weight:400;*/
       color:#282828;
       font-size:12px;
font-weight:500;
    font-family: 'Libre Franklin', sans-serif;
}

/*#menu-main-menu-1.menu > li.menu-item-8023 > a, #menu-main-menu-1.menu > li.menu-item-8006 > a {
            font-family: 'Muli', sans-serif;
        font-family: 'Raleway', sans-serif;
       font-size:0.7rem;
   font-weight:400;
    
color:#282828;

}*/

/* Ajax Load More */

.alm-listing li {
	padding-top:8px!important;
	margin-bottom:20px!important;
	border-top:1px solid #ddd;
	padding-left:0!important;
}

.alm-listing .alm-reveal > li, .alm-listing li {
		list-style-type: none!important;
}

.alm-listing li img {
	top:8px!important;
	position:static!important;
	float:left!important;
	margin-right:10px;
	margin-bottom:10px;
}

.alm-listing li h3 {
	margin-bottom:3px!important;
}

.alm-listing li h3, .alm-reveal li p {
	padding-left:0px!important;
}

.alm-reveal li p:not(.entry-meta){
	font-size:0.9rem;
	font-family:Arial;
	line-height:1.35;
}

/* Archive Category Books */

.archive.category-books article {
	border:none;
}

.archive.category-books article .photo {
	float:none;
	width:35%;
	margin:0 auto;
}

.archive.category-books article h2.entry-title {
    font-size: 0.9em;
	font-weight:500;
	font-family:Arial;
}

/* Very Simple Event List */
h4.vsel-meta-title {
	 font-size:1.1rem;
	color: #336699;
}

#vsel p {
	line-height:1.3;
	font-size:0.94rem;
}

#vsel p.vsel-meta-date {
	font-size:0.9rem;
	font-weight:700;
}

#vsel p.vsel-meta-location {
	font-size:0.9rem;
}

/*  Thank you page form */

@media print,screen and (max-width:39.99em) {
      img#thank-you-book {
       	width:120px;
      }
}

.jotform-form .form-all  {
	width:100%;
	max-width:677px;
}



.jotform-form .form-all [type="text"], .jotform-form .form-all [type="tel"] {
    display: block;
/*    box-sizing: border-box;*/
    width: 100%;
    height: 2.0375rem;
    margin: 0 0 0.1rem;
}

.jotform-form  p {
	display:none;
}
.jotform-form .form-buttons-wrapper {}

.jotform-form .form-line-error input:not(#coupon-input), .jotform-form .form-line-error select, .jotform-form .form-line-error textarea, .jotform-form .form-validation-error {
    border: 2px solid navy !important;
}

.form-line-error, .form-line.form-line-active {
	background-color:#ccc!important;
}

.form-line-error .form-error-message {
    background-color: navy!important;
}

.form-line-error .form-error-message .form-error-arrow {
    border-bottom-color: navy!important;
}

.form-error-message img {display:none;}

span.phone-separate, label#sublabel_area {display:none;}

.jotform-form .form-buttons-wrapper {
	margin-left:auto!important;
	margin-right:auto!important;
}

.jotform-form .form-buttons-wrapper button.form-submit-button {
	padding: 10px 25px;
	background-color:navy;
	background:navy;
	color:#fff;
	box-shadow: 0 0px #fff inset, 0 1px #ddd;
}

@media print,screen and (min-width:40.0em) {
   .jotform-form .form-buttons-wrapper {
	     text-align:center;
	}
}

/*  Guides page  */
table#guides td {
	width:45%;
	min-width:250px;
	vertical-align:top;
	border-bottom: 1px solid #ccc;
}

table#guides tbody tr:nth-child(2n) {
    background-color: #ffffff;
}