/*
 Theme Name:   Canvas Child
 Theme URI:    http://jefflibrary.org/sandbox
 Description:  Child theme of Woo Canvas tailored for JTPL
 Author:       WooThemes
 Author URI:   http://www.woothemes.com/
 Template:     canvas
 Version:      5.9.3
 Text Domain:  canvas-child
*/

/*--------------------------------------------------------------*
* 	TABLE OF CONTENTS					*
*	01. General Canvas tweaks & customizations		*
*	02. Navigation customizations				*
* 	03. Header customizations				*
*	04. Footer customizations				*
*	05. Sidebar customizations				*
* 	06. Home page customizations				*
*	07. "Using The Library" subpage customizations		*
*	08. "Events" subpage customizations			*
*	09. "Resources" subpage customizations			*
*	10. "Kids" subpage customizations			*
*	11. "Teens" subpage customizations			*
*	12. "Local History" subpage customizations		*
*	13. "Friends" subpage customizations			*
*	14. "About" subpage customizations			*
*---------------------------------------------------------------*/


/**********************************************
* 01. General Canvas Tweaks & Customizations  *
**********************************************/
body {
	padding-top: 5px;
}
.home .breadcrumb {
	display: none;
}
.home .breadcrumbs {
	margin-bottom: 0;
}
#navigation {
	margin-bottom: 0px;
}
a {
	text-decoration: none !important;
}
a:hover {
	text-decoration: none !important;
}
.entry img, #portfolio .group.portfolio-img img { 
	border:none; 
}
.magazine .block { 
	width: 100% !important; 
}
#loopedSlider .content  {
	background: none repeat scroll 0 0 rgba(0, 100, 0, 0);
	display: block;
	width: 25%;
	float: right;
	height: 100%;
	margin-top: -30px;
}
#loopedSlider .slide img {
	width: 75%;
}
td.smaller {
	font-size: 0.85em;
}
.top {
    	text-align: right;
    	font-size: 11px !important;
    	margin: 0;
    	padding: 0;
}
.top a:hover {
	text-decoration: none !important;
}
.jtpl-divider {
    	color: rgba(253,184,19,1); 
    	text-align: center;
    	margin: 0 auto;
	display: block;
	clear: both;
}
.jtpl-divider::after {
    	content: "\f06c";
    	font-family: 'FontAwesome';
}

@media only screen and (min-width: 768px) {
	/* For tablets and desktop: */
	#header-container {
		background: url("http://jefflibrary.org/wp/wp-content/uploads/2015/10/gplaypattern.png") repeat left top !important;
	}
	#header {
		background: transparent !important;
	}
}
.reviewed {
	font-size: .7em !important;
	text-align: right !important;
	padding-top: 5px !important;
}
.libold {
	font-weight: bold;
}
.normal {
	font-weight: normal;
}

/**********************************
*  02. Navigation Customizations  *
**********************************/
@media only screen and (min-width: 768px) {
/* For tablets and desktop: */
	#nav-container.affix {
  		position: fixed;
    		top: 0;
    		width: 100%;
   		z-index:10;
	}
	.affix,.affix-top {
   		position:static;
	}
	#header-container {
		height: 165px;
	}
}

#main-nav li > .sub-menu li > a:hover {
	text-decoration: none !important;
	background: #013e7f !important;
	font-weight: bold;
	color: #fff !important;
}


/******************************
*  03. Header Customizations  *
******************************/
input.jtpl-searchbox {
    	background: none repeat scroll 0 0 #fafafa;
	border-radius: 10px;
	border: solid 2px #013e7f;
   	/* border-top: solid 1px #013e7f;
    	border-left: solid 1px #013e7f;
    	border-bottom: solid 1px #ccc; */
	color: #5e5e5e;
	display: block;
	font-family: arial, sans-serif;
	font-size: inherit;
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
   	margin: 0;
    	height: 40px;    
}
#searchtext-wrap {
	overflow: hidden;
}
a.submitbutton {
 	box-sizing: border-box;
	margin: 0;
	height: 40px;
	font-family: inherit;
	font-size: 2em;
	padding: 8px 10px;
	text-align: center;
	width: 45px;
	color: rgba(1,62,127,0.4);
	float: right;
	display: block;
	/* border-top: solid 1px #013e7f;
	border-right: solid 1px #013e7f;
	border-bottom: solid 1px #013e7f;
	background: none repeat scroll 0 0 #fafafa; */
}
@media only screen and (min-width: 761px) {
	/* For tablets and desktop: */
	.searchwrap {
		width: 80%;
		display: block;
		overflow: hidden;
		padding-top: 2em;
	}
	.jtpl-search-label {
        	display: inline;
		padding-right: 10px;
    	}
}
@media only screen and (max-width: 760px) {
	/* for phones */
	.jtpl-search-label {
        	display: block;
        	margin: 0px;
        	padding: 0px;
    	}
	.header-widget {
		margin-top: 0px !important;
		padding-top: 0px !important;
	}
}
.jtplRedAlert {
	max-width: 98%;
	display: block;
	clear: both;
	margin: 0px auto;
	text-align: center;
	padding: 12px;
	background: #FA6B6B;
	color: #000000;
	font-size: 1.3em;
	border-bottom: solid 2px #B80909;
}
.jtplRedAlert-icon {
	color: #FC0303;
	padding-right: 10px;
}
.jtplYellowAlert {
	max-width: 98%;
	display: block;
	clear: both;
	margin: 0px auto;
	text-align: center;
	padding: 12px;
	background: #F5F17D;
	color: #000000;
	font-size: 1.3em;
	border-bottom: solid 2px #CCC500;
}
/* .jtplYellowAlert {
	max-width: 60%;
	margin: 10px auto;
	text-align: center;
	padding: 10px;
	border: solid 2px #CCC500;
	background: #F5F17D;
	color: #000000;
	font-size: 1.3em;
	border-radius: 15px;
}
.jtplYellowAlert-icon {
	color: #000000;
	padding-right: 10px;
} */
/******************************
*  04. Footer Customizations  *
******************************/
.jtpl-fb a {
	color: rgba(59,89,152,1.0)	!important;
	text-decoration: none;
}
.jtpl-fb a:hover {
	color: rgba(59,89,152,0.5)	!important;
}
.jtpl-twitter a {
	color: rgba(64,153,255,1.0)	!important;
	text-decoration: none;
}
.jtpl-twitter a:hover {
	color: rgba(64,153,255,0.5)	!important;
	text-decoration: none;
}

.jtpl-youtube a {
	color: rgba(205,32,31,1.0)	!important;
	text-decoration: none;
}
.jtpl-youtube a:hover {
	color: rgba(205,32,31,0.5)	!important;
	text-decoration: none;
}
.jtpl-icon {
	color: #fff;
}
.jtpl-login-link {
	text-align: right;
	font-size: 10px !important;
}
.jtpl-login-link a {
	color: #999 !important;
}
.jtpl-login-link a:hover {
	text-decoration: none;
	color: #000;
}

/*******************************
*  05. Sidebar Customizations  *
*******************************/
.hours-highlight {
	font-weight: bold;
}
.blank-table, .blank-table td {
	border: 0 !important;
}
.warningLabel {
	width: 100%;
	display: block;
	padding-bottom: 10px;
}
.warningIcon {
    	color: orange;
    	float: left;
}
.warningText {
    	padding-left: 25px;
    	display: block;
    	font-size: 1em;
}
ul.list-group {
    	list-style-type: none;
    	margin: 0;
}
li.list-group-item {
    	margin: 0px;
}
li.list-group-item a {
    	display: block;
    	font-weight: bold;
	font-size: 18px;
	color: #013e7f;
    	padding: 10px !important;
    	/* background: #eee;
    	border-left: solid 1px #ccc;
    	border-right: solid 1px #ccc;
    	border-bottom: solid 1px #ccc; */
}
li.list-group-item a:first-child {
    	/* border-top: solid 1px #ccc; */
   
}
li.list-group-item a:hover {
    	background: #dbdbdb;
	color: #013e7f;
	text-decoration: none !important;
}
.askbox {
    	margin: 15px auto;
	padding-top: 10px;
	padding-bottom: 20px;
    	text-align: center;
}
a.ask {
	color: #fff !important;
    	background: -webkit-linear-gradient(top, rgba(253,184,19,0.7), rgba(253,184,19,1)); /* For Safari 5.1 to 6.0 */
    	background: -o-linear-gradient(bottom, rgba(253,184,19,0.7), rgba(253,184,19,1)); /* For Opera 11.1 to 12.0 */
    	background: -moz-linear-gradient(bottom, rgba(253,184,19,0.7), rgba(253,184,19,1)); /* For Firefox 3.6 to 15 */
    	background: linear-gradient(to bottom, rgba(253,184,19,0.7), rgba(253,184,19,1)); /* Standard syntax (must be last) */
    	font-size: 1.9em;
    	padding: 15px;
    	border-radius: 15px;
    	text-align: center;
	margin: 0 auto;
}
a.ask:hover {
    	background: rgba(253,184,19,0.7);
	text-decoration: none !important;
	color: #fff !important;
}
ul.menu {
	padding-top: 10px;
}
.menu li {
	list-style-type: none;
}
.menu li > a {
	display: block;
	font-weight: bold;
	text-align: center;
	font-size: 1.3em;
	color: #013e7f;
	padding: 10px;
	margin-left: 0px;
	border-bottom: solid 5px #dbdbdb;
}
.menu li > a:hover {
	text-decoration: none !important;
	color: rgba(253,184,19,1);
}
.menu li > .sub-menu li {
	list-style-type: none;
	padding-left: 0;
	margin-left: -15px;
}

.menu li > .sub-menu li > a {
	display: block;
	font-weight: bold;
	color: #013e7f;
	text-align: left;
	font-size: 1.1em;
	padding: 10px;
	margin-left: 0px;
	border-bottom: 0;
}
li.current_page_item > a {
	color: #fdb813 !important;
}
.menu ul > .sub-menu ul > li.current_page_item > a::before {
	content: "\f138";
	font-family: 'FontAwesome';
	padding-right: 5px;
	color: #fdb813;
}
li.current_page_item > a:hover {
	color: #013e7f	 !important;
}
.menu li > .sub-menu li > a::before {
	content: "\f138";
	font-family: 'FontAwesome';
	padding-right: 5px;
}
.menu li > .sub-menu li > a:hover {
	background: #dbdbdb;
	text-decoration: none !important;
}
.sl-links-main > h3 {
    	text-align: center;
    	border-bottom: solid 5px #dbdbdb !important;
    	padding-bottom: 5px;
    	margin-bottom: 0px;
}
.sl-links-main > ul.simple-links-list {
    	margin-top: 0px;
}
.sl-links-main > .simple-links-list li {
    	list-style-type: none;
}
.sl-links-main > .simple-links-list li > a {
    	display: block;
    	font-weight: bold;
    	text-align: left;
	font-size: 1.1em;
    	padding: 10px;
    	margin-left: 0px;
    	border-bottom: 0;
}

.sl-links-main > .simple-links-list li > a::before {
    	content: "\f138";
    	font-family: 'FontAwesome';
    	padding-right: 5px;
}
.sl-links-main > .simple-links-list li > a:hover {
    	background: #dbdbdb;
	color: #013e7f;
	text-decoration: none !important;
}
.jtpl-hours td {
	padding: 2px 5px;
	margin-bottom: 5px;
}

/*********************************
*  06. Home Page Customizations  *
*********************************/
#jtplSlider {
	display: block;
	box-sizing: border-box;
	margin-bottom: 10px;
	padding-bottom: 10px;
	clear: both;
	/* overflow: auto; */
}

@media only screen and (max-width: 650px) {
	#jtplSlider {
		display: none;
	}
}

#jtpl-slider-wrapper {
	display: block;
	box-sizing: border-box;
	margin: 10px auto;
	clear: both;
}

@media only screen and (max-width: 600px) {
   /* for mobile devices */
	#libaware-full {
		display: none !important;
	}
	#libaware-mobile {
		display: block;
		box-sizing: border-box;
		margin-bottom: 10px;
		
	}
}
@media only screen and (min-width: 601px) {
   /* for tables + desktop */
	#libaware-full {
		display: block;
		box-sizing: border-box;
		margin: 0 auto;
		text-align: center;
		padding-bottom: 10px;
		
	}
	#libaware-mobile {
		display: none !important;
	}
}
/* .post::after {
    	content: "\f06c";
    	font-family: 'FontAwesome';
	color: rgba(253,184,19,1); 
    	text-align: center;
    	margin: 0 auto;
	display: block;
	clear: both;
} */
#iconList ul {
    	list-style-type: none;
	margin-left: 20px;
}
#iconList li {
    	padding-bottom: .75em;
    	font-size: 14px;
	list-style-type: none;
}


/***************************************************
*  07. "Using The Library" Subpage Customizations  *
***************************************************/


/****************************************
*  08. "Events" Subpage Customizations  *
****************************************/
.clubCard {
	padding: 10px; 
	display: block;
	box-sizing: border-box;
}
.clubTitle {
    	margin-bottom: 5px;
}
img.clubCover {
	border: solid 2px #fdb813 !important;
    	float: left;
    	width: 100px;
    	height: 150px;
   	margin-right: 10px;
	padding: 0;
	clear: none;
}
.clubInfo {
    	margin-top: -10px;
    	padding-top: 0px;
}
dl.clubLabel {
	margin-top: 0px;
	padding-top: 0px;
}
.clubLabel dt {
	display: block;
	font-weight: bold;
	color: #5d73a5;
	margin-top: 10px;
}
.clublabel dd {
	display: block;	
	margin-left: 0px;
	padding-left: 0px;
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
	.clubLabel dt {
    		display: block;
    		float: left;
    		margin: 0;
	}
	.clubLabel dt:first-of-type {
		font-weight: bold;
		color: #5d73a5;
    		display: block;
    		float: left;
    		margin-top: -5px;
	}
	.clubLabel dd {
    		display: block !important; 
		padding-left: 20% !important;
		margin-left: 13%;
		padding-bottom: 10px;
	}
}

/*******************************************
*  09. "Resources" Subpage Customizations  *
*******************************************/
.jtpl-featured-box {
	font-size: 11px;
        width: 100%;
	display: block;
	margin: 0;
	background: #ffefce	!important;
        border-radius: 15px	!important;
    	border: solid 1px #fdb813	!important;
       	padding: 5px 10px	!important;
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
	.jtpl-featured-box {
		font-size: 11px;
        	width: 30%	!important;
        	float: left		!important;
        	margin-right: 10px	!important;
	}
}
.jtpl-featured-box h4 {
	margin-bottom: 0px;
}
.resources ul {
    	list-style-type: none;
	margin-left: 20px;
}
.resources li {
    	padding-bottom: .75em;
    	font-size: 18px;
    	font-weight: bold;
	list-style-type: none;
}
.resource-list dl {
	padding-bottom: 20px !important;
	padding-top: 10px !important;
}
.resource-list dt {
    	font-weight: bold !important;
    	padding-top: 10px !important;
}
.resource-list dd {
    	margin-left: 0px;
    	text-align: justify;
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
	dd.resource-list {
    		margin-left: 30px !important;
	}
}
.green {
	color: green;
}
.white {
	color: #fff;
}
.red {
	color: red;
}
.orange {
	color: orange;
}
.jtpllightblue {
	color: #5d73a5;
}
.jtplorange {
	color: #fdb813;
}
.jtpldarkblue {
	color: #013e7f;
}
.tax-desc {
    	padding: 5px;
    	display: block;
    	clear: both;
    	font-style: italic;
    	font-size: .9em;
}
.tax-wrapper {
    	padding: 5px;
    	width: 100%;
    	border-bottom: solid 1px #ccc;
    	margin-bottom: 10px;
    	background: #eee;
} 
.tax-dept {
	font-size: 1.2em;
	display: block;
    	padding: 5px;
    	clear: both;
} 

.tax-phone, .tax-open, .tax-address, .tax-hours, .tax-appt, .tax-no-appt {
    	display: block;
    	padding: 5px;
    	clear: both;
}
 .tax-phone::before {
        content: "\f095";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .tax-address::before {
        content: "\f041";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .tax-open::before {
        content: "\f073";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .tax-hours::before {
        content: "\f017";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .tax-appt::before {
        content: "\f0a2";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .tax-no-appt::before {
        content: "\f1f7";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
@media screen and (max-width: 499px) {
/* because it won't work when I have this outside a media query? */
	.tax-wrapper {
    		padding: 5px;
    		width: 100%;
    		height: auto;
    		clear: both;
    		border-bottom: solid 1px #ccc;
    		margin-bottom: 10px;
    		margin-right: 5px;
    		background: #eee;
	}
}
@media screen and (min-width: 500px) {
  /* tablets + desktop */
 	/* BOXED VERSION */
	.tax-wrapper {
            width: 300px;
            height: 275px;
            float: left;
            clear: none;
            border-bottom: solid 1px #ccc;
            margin-bottom: 10px;
            margin-right: 10px;
            padding: 5px;
            background: #eee;
    	} 
	.tax-wrapper:last-of-type {
	    clear: right;
	} 
	/* END BOXED VERSION */
	.tax-dept {
		display: inline;
        	padding: 5px 15px 5px 5px;
        	float: left;
        	clear: none;
        	font-size: inherit;
	}
	.tax-phone, .tax-open, .tax-address, .tax-hours, .tax-appt, .tax-no-appt {
        	display: inline;
        	padding: 5px 15px 5px 5px;
        	float: left;
        	clear: none;
    	}  
	/* .tax-wrapper {
		margin:: 15px 0px;
    		background: none;    
	}
	.tax-wrapper:last-of-type {
		border-bottom: 0;
	} */
}
/**************************************
*  10. "Kids" Subpage Customizations  *
**************************************/
img.bedtime {
	border: solid 2px orange  !important;
	display: inline !important;
	padding: 5px;
	margin: 5px;
	float: left;
	clear: none;
	width: 160px;
	height: 160px;	
}
.club-div {
	text-align: center !important;
	color: rgba(253,184,19, 0.5)	!important;
}

/**************************************
*  11. "Teen" Subpage Customizations  *
**************************************/
.club-thumb {
	border: solid 6px #fdb813 !important; 
	float: left; 
	margin-right: 10px; 
	margin-bottom: 5px;
	padding: 0 !important;
	max-width: 150px;
	max-height: 150px;
}
.club-desc {
	text-align: justify;
	margin-top: -10px;
	margin-bottom: 20px;
	clear: bottom;
}

/***********************************************
*  12. "Local History" Subpage Customizations  *
***********************************************/
.localhist-list dl {
	padding-bottom: 5px !important;
	padding-top: 5px !important;
}
.localhist-list dt {
    	/* font-weight: bold !important; 
	border-bottom: solid 1px #ccc; */
    	padding-top: 10px !important;
}
.localhist-list dd {
    	margin-left: 0px;
    	text-align: justify;
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
	dd.localhist-list {
    		margin-left: 20px !important;
	}
}
.lh-arrowicon {
	padding-left: 5px; 
	margin-right: 5px; 
	float: left;
}
.lh-badgereqs {
	padding-left: 35px;
}
/*****************************************
*  13. "Friends" Subpage Customizations  *
*****************************************/


/***************************************
*  14. "About" Subpage Customizations  *
***************************************/
#policyList ul {
    	list-style-type: none;
	margin-left: 20px;
}
#policyList li {
    	padding-bottom: .75em;
    	font-size: 18px;
    	font-weight: bold;
	list-style-type: none;
}
.contact-desc {
    	padding: 5px;
    	display: block;
    	clear: both;
    	font-style: italic;
    	font-size: .9em;
}
.contact-desc-lh {
    	padding: 5px;
    	display: block;
    	clear: both;
    	font-size: .9em;
}
.contact-wrapper {
    	padding: 5px;
    	width: 100%;
    	border-bottom: solid 1px #ccc;
    	margin-bottom: 10px;
    	background: #eee;
} 
.contact-dept {
	font-size: 1.2em;
	display: block;
    	padding: 5px;
    	clear: both;
} 

.contact-phone, .contact-phone-nl .contact-email, .contact-address {
    	display: block;
    	padding: 5px;
    	clear: both;
}
 .contact-phone::before, .contact-phone-nl::before {
        content: "\f095";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .contact-email::before {
        content: "\f0e0";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
 .contact-address::before {
        content: "\f015";
        font-family: 'FontAwesome';
        padding-right: 8px;
        width:1.28571429em;
        text-align:center
 }
@media screen and (max-width: 499px) {
/* because it won't work when I have this outside a media query? */
	.contact-wrapper {
    		padding: 5px;
    		width: 100%;
    		height: auto;
    		clear: both;
    		border-bottom: solid 1px #ccc;
    		margin-bottom: 10px;
    		margin-right: 5px;
    		background: #eee;
	}
}
@media screen and (min-width: 500px) {
  /* tablets + desktop */
 	/* BOXED VERSION 
	.contact-wrapper {
            width: 250px;
            height: 200px;
            float: left;
            clear: none;
            border-bottom: solid 1px #ccc;
            margin-bottom: 10px;
            margin-right: 10px;
            padding: 5px;
            background: #eee;
    	} 
	END BOXED VERSION */
	.contact-dept {
		display: inline;
        	padding: 5px 15px 5px 5px;
        	float: left;
        	clear: none;
        	font-size: inherit;
	}
	.contact-phone-nl {
        	display: inline;
        	padding: 5px 15px 5px 5px;
        	float: left;
        	clear: left;
    	} 
	.contact-phone, .contact-email, .contact-address {
        	display: inline;
        	padding: 5px 15px 5px 5px;
        	float: left;
        	clear: none;
    	}  
	.contact-wrapper {
		margin:: 15px 0px;
    		background: none;    
	}
	.lhtest {
		border-bottom: 0;
	}
	.contact-wrapper:last-of-type {
		border-bottom: 0;
	}
}
.location-wrapper {
    	width: 100%;
    	display: block;
    	clear: both;
    	margin-bottom: 20px;
    	padding-bottom: 20px;
}
.location-map {
    	display: block;
    	float: right;
    	margin-left: 15px;
    	margin-bottom: 15px;

}
.location-desc {
    	display: block;
}











/****************************************
* 	OLD CSS FOR SEARCH FORM 	*
* .searchwrap {				*
*	overflow: hidden;		*
*	padding-top: 1em;		*
* }					*
*					*
* .searchbox {				*
*	border: solid 1px #013e7f;	*
*	width: 60%;			*
* }					*
*					*
* #submitSearch {			*
*	font-family: FontAwesome;	*
*	font-size: 18px;		*
*	background: #013e7f;		*
*	position: relative;		*
*	padding: 0 1px;			*
*	width:33px;			*
* }					*
****************************************/