/* NEWSLETTAH */

@media only screen and (max-width:640px) {
p.shrink {
width:340px;
}
}

@media only screen and (max-width:640px) {
.cd-search form {
	margin-top:0!important;
}
}

.searchBoxLabel {
	font-weight:bold;
	text-transform:uppercase;
}

.gsc-search-button {
	background:#0072bc!important;
	color:#fff!important;
	margin-right:0!important;
	margin-bottom:0!important;
}

.gsc-input::placeholder {
	color:#fff!important;
}

.gsc-input {
	background:none!important;
}

.gsc-search-button:hover, .gsc-search-button-v2:hover, .gsc-search-button:active, .gsc-search-button-v2:active, .gsc-search-button:focus, .gsc-search-button-v2:focus {
	background:#0091ef!important;
}

.searchSquish {
	max-width:360px;
	background-color:#fff;
	padding:0.5em;
	border:2px solid #DFE1E5;
}

.mobileCatSearch {
	width:270px!important;
	float:left;
	min-height:80px!important;
	border:1px solid #DFE1E5!important;
	border-radius:5px;
}

table.gsc-search-box {
	margin-bottom:0!important;
}

.gsc-results-wrapper-overlay {
	top:26%!important;
}

input.catalogs {
	width:85%;display:inline;
	border-radius:0;
	border:1px solid #DFE1E5;
}

button.catalogbtn {
	float:none;margin-bottom:0;
	font-size:13px
}

#googlematch {
	height:55%!important;
	position:absolute;
	margin-left:48!important;
	margin-right:0!important;
}

.noHover:hover{
    background-color:#0072BC;
}

td.gsc-input{
	padding-right:0!important;
}
#killpadding {
	margin-left:0!important;
}

#killpadding-1 {
	width:66.6666666666%!important;
}

.cse .gsc-search-button-v2, .gsc-search-button-v2 {
	padding:15px!important;
	/* background-color:#0072bc!important;*/
	color:#fff!important;
	border:none!important;
}

td.gsc-search-button:hover {
	background:#0091ef!important;
}

.cse .gsc-control-cse,
.gsc-control-cse {
  padding: 0!important;
  width: auto;
}




.gsc-search-button-v2 svg {
	fill:#fff!important;
}

#s {
	width:100%;
}

/*NIETZSCHE */

@media only screen and (max-width:768px) {
.na.sideButton, .nichSideBtns, .buttonRightMargin, .buttonsLarge {
   display: none!important;
}
}

/*HOURS LINK FOOTER - cmrb 1/28/19 */
.allHours a {
	font-family:Montserrat,Helvetica,Arial,sans-serif;
	color: #000;
}
.allHours a:hover {
	color: #0072bc;
}


/*4O4*/
.not-found-page{ padding-bottom: 30px; }

/*Recent Posts*/
ul.st-recent-posts--list{
	margin: 12px 0 30px 0;
	list-style: disc;
}

.st-recent-posts--list-item{
	margin-bottom: 10px;
}

.st-recent-posts--list-link{
	display: block;
}

/*THUMBNAILS PAGE*/
@media(min-width: 768px){

	.thumbnail-block--details{
		min-height: 200px;
	}

	.thumbnails--row .col-xs-12:nth-child(3n+3){
		clear: right;
	}

	.thumbnail-block--info{
		max-height: 115px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

}

/*Recent Posts -- Thumbnails*/
ul.st-thumb-recent-posts--list{
	margin: 12px 0 30px 0;
	padding: 0;
	list-style: none;
}

.st-thumb-recent-posts--list-item{
	display: block;
	list-style: none;
	margin-bottom: 30px;
	text-align: center;
	max-width: 250px;
	margin: 0 auto 30px auto;
}

@media(min-width: 768px){
	.st-thumb-recent-posts--list-item{
		max-width: 31%;
		width: 31%;
		margin-right: 3%;
		vertical-align: top;
		display: inline-block;
	}
	.st-thumb-recent-posts--list-item:nth-child(3n){
		margin-right: 0;
		clear: right;
	}

	.st-thumb-recent-posts--list-item:nth-child(4n){
		clear: left;
	}
}

.st-thumb-recent-posts--list-link{
	color: #000;
	font-weight: bold;
	line-height: 1.35;
	display: block;
}

.st-thumb-recent-posts--img{
	display: inline-block;
	vertical-align: top;
	height: 80px;
	width: 100%;
	background-color: #999;
	overflow: hidden;
	margin-bottom: 15px;
	position: relative;
}

.st-thumb-recent-posts--img:before{
	content: "";
	display: block;
	text-align: center;
	line-height: 80px;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('assets/img/logo.png');
}

.st-thumb-recent-posts--img img{
	position: relative;
	z-index: 3;
}

@media(min-width: 1000px){
	.st-thumb-recent-posts--img:before{
		line-height: 120px;
	}
	.st-thumb-recent-posts--img{
		height: 120px;
	}
}

.st-thumb-recent-posts--title{
	font-size: 16px;
	display: inline-block;
	vertical-align: top;
}

/*Databases*/
ul.st-databases--list{
	margin: 12px 0 30px 0;
	padding: 0;
	list-style: none;
}

.st-databases--list-item{
	display: block;
	list-style: none;
	margin-bottom: 30px;
	text-align: center;
	max-width: 250px;
	margin: 0 auto 30px auto;
}

@media(min-width: 768px){
	.st-databases--list-item{
		max-width: 31%;
		width: 31%;
		margin-right: 3%;
		vertical-align: top;
		display: inline-block;
	}
	.st-databases--list-item:nth-child(3n){
		margin-right: 0;
		clear: right;
	}

	.st-databases--list-item:nth-child(4n){
		clear: left;
	}
}

.st-databases--list-link{
	color: #000;
	font-weight: bold;
	line-height: 1.35;
	display: block;
}

.st-databases--img{
	height: 100px;
	line-height: 100px;
	width: 100%;
	overflow: hidden;
	position: relative;
	text-align: center;
}

.st-databases--img img{
	display: inline-block;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}


@media(min-width: 1000px){
	.st-databases--img{
		height: 140px;
		line-height: 140px;
	}
}

.st-databases--title{
	font-size: 16px;
	display: inline-block;
	vertical-align: top;
	margin-top: 15px;
}

/*Color sibling pages of Teen - cmrb commented out 1/28/19
#C5001A  #113743 #C5BEBA
.parent-pageid-394 .sidebar--overlap{
	border-top-color: #C5001A;
	background: #C5BEBA;
}

.parent-pageid-394 .navbar.navbar-browse ul li.current_page_item a, .parent-pageid-394 .navbar.navbar-browse ul li:hover a{
	color: #C5001A;
}

.parent-pageid-394 .navbar.navbar-browse ul:after{
	background: #113743;
}

.parent-pageid-394 .content--main-page-title:after{
	background: #C5001A;
}
*/
/*Color sibling pages of Kids*/
/*#008DCB  #E1315B #FFEC5C*/
.parent-pageid-171 .sidebar--overlap{
	border-top-color: #FFEC5C;
	background: #008DCB;
}

.parent-pageid-171 .navbar.navbar-browse ul li.current_page_item a, .parent-pageid-171 .navbar.navbar-browse ul li:hover a{
	color: #fff;
}

.parent-pageid-171 .navbar.navbar-browse ul:after{
	background: #E1315B;
}

.parent-pageid-171 .content--main-page-title:after{
	background: #008DCB;
}


/*Books*/
.book-carousel-wrapper .share-list{
	clear: both;
}

/*GIVE FEEDBACK*/
.side--btn--wrapper{
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 20;
	margin-right: -71px;
}

.side--btn{
	line-height: 1;
	-ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
    padding-bottom: 15px;
}

.side--btn .fa{
	line-height: 1;
}

@media screen and (max-width:959px) {
	.side--btn--wrapper, .side--btn {
		display:none;
	}
}

.modal--side-btn{
	background: rgba(0, 114, 188, 0.75);
}

.modal--side-content{
	padding-bottom: 30px;
}

.modal--side-content p{
	margin: 0;
	font-size: .9em;
	line-height: 1.35;
}

.close.modal--side-close{
    margin-top: -6px;
	font-size: 2em;
	background: none;
	background-color: transparent
}

.modal--side-content .gform_wrapper .top_label .gfield_label{
	margin: 0;
	padding: 0;
}


body .modal--side-content .gform_wrapper label.gfield_label+div.ginput_container{
	margin: 0;
}

.modal--side-content .gform_wrapper .ginput_complex label{
	margin: 0;
	padding: 0;
}

.modal--side-content .gform_wrapper form li, .gform_wrapper li{
	margin-bottom: 10px;
}

.modal--side-content .gform_wrapper .gform_footer input.button{
	width: 100%;
}

.alert-informative {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}

.wp-caption.alignright{
	float: right;
	margin: 15px 15px 15px 0;
}


.wp-caption.alignleft{
	float: left;
	margin: 15px 15px 15px 0;
}

/*HOME*/
.st-view-all--link{
	color: #666;
	text-decoration: none;
	margin-left: 15px;
	display: inline-block;
}

/*COLOR BRANCHES*/
.eo-event-venue-trustees-room.fc-day-grid-event, .eo-event-venue-teen-room.fc-day-grid-event, .eo-event-venue-rabbit-hole.fc-day-grid-event, .eo-event-venue-hunneman-hall.fc-day-grid-event, .eo-event-venue-computer-lab.fc-day-grid-event, .eo-event-venue-brookline-village-childrens-room.fc-day-grid-event, .eo-event-venue-brookline-village.fc-day-grid-event, .eo-event-venue-brookline-village-conference-room.fc-day-grid-event { background-color: #0072bc!important; border-color: #30499B !important; color: #fff !important; }

.venue-cc-meeting-room.fc-day-grid-event, .venue-coolidge-corner-branch.fc-time-grid-event { background-color: #EB7B2D!important; border-color: #b1ba23 !important; color: #2b0000 !important; }

.venue-putterham-meeting-room.fc-day-grid-event, .venue-putterham.fc-day-grid-event, .venue-putterham.fc-time-grid-event { background-color: #56B949 !important; border-color: #88C542 !important; color: #fff !important; }


.content-block-area.cba--overlap{float:left;width:100%;clear:both;}

.link-group--col:nth-child(4n+4){
	clear: left;
}

.btn.btn-green{
	color: #fff;
	border-color: #56B949;
	background-color: #56B949;
}

.btn.btn-green:hover, .btn.btn-green:active, .btn.btn-green:focus{
	color: #fff;
	border-color: #3e8735;
	background-color: #3e8735;
}

.btn.btn-purple{
	color: #000;
	border-color: #b65799;
	background-color: #b65799;
}

.btn.btn-purple:hover, .btn.btn-purple:active, .btn.btn-purple:focus{
	color: #000;
	border-color: #803e6b;
	background-color: #803e6b;
}

.btn.btn-orange{
	color: #fff;
	border-color: #EB7B2D;
	background-color: #EB7B2D;
}

.btn.btn-orange:hover, .btn.btn-orange:active, .btn.btn-orange:focus{
	color: #fff;
	border-color: #b85f23;
	background-color: #b85f23;
}


.branch--filtering-box label{
	display: block;
}


.branch--filtering-box .btn{
	display: block;
	margin-bottom: 15px;
}

@media(min-width: 768px){
	.branch--filtering-box{
		position: absolute;
		top: 40px;
		right: 40px;
		z-index: 3;
	}

	.branch--filtering-box .btn{
		display: inline-block;
		margin-bottom: 0;
	}
}

@media(min-width: 992px){
	.branch--filtering-box label{ display: inline-block;}
}

.site-alert--is-visible{
	padding-top: 90px;
}

/* .site-alert--is-visible.cd-search form{	padding-top: 100px; } */

@media(min-width: 768px){
	.site-alert--is-visible.cd-search form{	padding-top: 0; }
}

.site-alert{
	font-size: .8em;
	margin-bottom: 0!important;
}

/*gallery*/
.st-gallery--item{
	display: block;
	height: 200px;
	overflow: hidden;
    margin-bottom: 1em;
}

.st-gallery--item img{
	height: 100%;
	width: auto;
	max-width: 600px;
}

/*BLOG UPDATES*/
.bpl--blog-meta{
	color: #333;
	position: relative;
	top: -40px;
	font-size: .85em;
}

.bpl--blog-meta-pipe{
	margin: 0 5px;
}

.bpl--blog-label{
	color: #000;
	font-size: 1.2em;
	position: relative;
}


.bpl--blog-label:after{
	display: block;
	content: '';
	position: relative;
	margin: 8px 0 5px 0;
	background: #000;
	height: 4px;
	width: 40px;
}

.comment-reply-title{
	color: #000;
}

@media(min-width: 768px){
	.bpl-single-post--img-wrap{
		float: right;
		max-width: 300px;
		margin: 0 10px 15px 20px;
	}
}

@media(min-width: 992px){
	.bpl-single-post--img-wrap{
		max-width: 370px;
		margin: 0 10px 15px 20px;
	}
}

h3#comments{
	color: #000;
	position: relative;
	margin-bottom: 1.5em;
}


h3#comments:after{
	display: block;
	content: '';
	position: relative;
	margin: 8px 0 5px 0;
	background: #000;
	height: 4px;
	width: 40px;
}

.commentlist, .commentlist .comment{
	list-style: none;
}


.comment .fn{
	color: #000;
	font-style: normal;
	font-weight: bold;
}

.comment .commentmetadata{
	margin: 0 0 8px 0;
	font-size: .8em;
}

.comment-reply-link{
	font-size: .8em;
	display: inline-block;
	clear: both;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 1.25em;
	text-decoration: underline;
}

.comment .avatar{
	display: none;
}

.comment .says{
	display: none;
}

.commentlist{
	border-bottom: 1px solid #ccc;
}

#cancel-comment-reply-link{
	text-decoration: underline;
	margin-left: 8px;
	text-transform: capitalize;
}

.depth-1.comment > ul.children > li{
	padding: .5em;
}

.depth-1.comment > ul.children > li:nth-child(odd){
	background: rgba(0,0,0,.1);
}

.comment ul.children .comment-respond{
	border-top: 2px dashed #999;
	padding: 5px;
}

.comment-respond input[type="submit"]{
	float: none;
}

/*MAIN BLOG PAGE*/

.bpl--blog-item{
	margin-bottom: 2.5em;
	background: #fff;
	outline: 1px solid #999;
}

.bpl--blog-item-img{
	display: block;
	height: 200px;
	opacity: 1;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.bpl--blog-item-img:hover,
.bpl--blog-item-img:active,
.bpl--blog-item-img:focus{
	opacity: .7;
}

.bpl--blog-content-wrapper{
	padding: 1em;
	min-height: 200px;
	width: 100%;

	display: table;
}

.bpl--blog-content-inner-wrapper{
	width: 100%;
	display: table-cell;
	vertical-align: middle;
}

.bpl--blog-title{
	font-size: 1.25em;
	margin: 0 0 1em 0;
}

.bpl--blog-title-link{
	color: #222;
}

.bpl--short-blog-meta{
	color: #666;
	font-weight: normal;
	margin: 0 0 1.3em 0;
	font-size: 1em;
}

@media(min-width: 768px){
	.bpl--blog-content-wrapper{
		padding: 0;
		width: 80%;
		margin: 0 10%;
	}

	.bpl--blog-item, .bpl--blog-item-img, .bpl--blog-content-wrapper, .bpl--blog-content-wrapper, .bpl--blog-content-inner-wrapper{
		height: 250px;
	}
}

.bpl--post-pipe{
	color: #ccc;
	margin: 0 6px;
}

.bpl--posts-pagination a{
	display: block;
	padding: 10px 15px;
	color: #000;
	font-weight: bold;
	background: transparent;
	bordeR: 2px solid #000;
	text-transform: uppercase;
	margin-bottom: 1em;
}

.bpl--posts-pagination a:hover,
.bpl--posts-pagination a:active,
.bpl--posts-pagination a:focus {
	color: #fff;
	background: #000;
}


.bpl--posts-pagination a + a{
	text-align: right;
}

@media(min-width: 768px){
	.bpl--posts-pagination a{
		display: inline-block;
	}


	.bpl--posts-pagination a + a{
		float: right;

	}
}

.bpl--blog-btn{
	display: block;
}

@media(min-width: 768px){
	.bpl--blog-btn{
		font-size: 1em;
		text-transform: uppercase;
		display: inline-block;
	}
}

.nav-previous + a, .nav-next + a{
	display: block;
	width: auto;
	padding: 10px 15px;
	color: #000;
	font-weight: bold;
	background: transparent;
	bordeR: 2px solid #000;
	text-transform: uppercase;
	margin-bottom: 1em;
}


@media(min-width: 768px){
	.nav-previous + a, .nav-next + a{
		display: inline-block;
	}

	.nav-previous + .nav-next + a{
		float: right;
	}

}


.nav-previous + a:hover,
.nav-previous + a:active,
.nav-previous + a:focus {
	color: #fff;
	background: #000;
}

.nav-next + a:hover,
.nav-next + a:active,
.nav-next + a:focus {
	color: #fff;
	background: #000;
}

/*Events*/
.event-url--btn{
	margin-bottom: 1em;
}

/*Event Categories*/
.eo-fullcalendar .eo-event-venue-computer-lab,
.eo-fullcalendar .eo-event-venue-brookline-village-conference-room,
.eo-fullcalendar .eo-event-venue-brookline-village-hunneman-hall,
.eo-fullcalendar .eo-event-venue-brookline-village-rabbit-hole,
.eo-fullcalendar .eo-event-venue-brookline-village-trustees-room,
.eo-event-venue-brookline-village-childrens-room {
	background-color: #0072bc !important;
    border-color: #0072bc !important;
    color: #fff !important;
}


.eo-fullcalendar .eo-event-venue-coolidge-corner-meeting-room{
	color: #2b0000 !important;
    border-color: #EB7B2D !important;
    background-color: #EB7B2D !important;
}

.eo-fullcalendar .eo-event-venue-off-site {
	color: #000!important;
}

#cd-search .search-btn{
	height: 58px;
}

/*LEGEND*/
.bpl--legend-wrapper{
	margin-bottom: 3em;
	padding: 1em;
	background: rgba(100,100,100,.2);
}

@media(min-width: 992px){
	.bpl--legend-wrapper{
		padding: 1em 1em 0 1em;
		margin-top: -120px;
		float: right;
	}
}

.bpl--cat-block--wrapper{
	margin-top: 1em;
}

@media(min-width: 992px){
	.bpl--cat-block--wrapper{
		margin-top: 0;
		margin-bottom: 1em;
		margin-left: 1em;
		display: inline-block;
	}
}

.bpl--legend-title{
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
	margin: 0 0 1em 0;
	font-size: .75em;
}

@media(min-width: 992px){
	.bpl--legend-title{
		font-size: .8em;
	}
}

.bpl--cat-block--wrapper-first{
	margin-left: 0;
}

.bpl--cat-block{
	width: 20px;
	height: 20px;
	border: 1px solid #000;
	display: inline-block;
}


@media(min-width: 992px){
	.bpl--cat-block{
		width: 20px;
		height: 20px;
	}
}

.bpl--cat-label{
	font-size: .8em;
	display: inline-block;
	margin-left: .4em;
	position: relative;
	top: -4px;
}

.bpl--cat-brookline-village{ background: #0072bc; }
.bpl--cat-coolidge-corner{ background: #EB7B2D; }
.bpl--cat-putterham{ background: #56B949; }

.st-media-read-more {
	margin-right: 20px;
}

#eo-event-submission-form {
	display: none;
}

/*CANVA Gallery Embed*/
.canva-embed{
	width: 100%;
}

/* added by cmrb 12/23/16 */
/* for shortcodes */
.bluechunk {
	background:#0072bc;
	color:#fff;
	padding:10px 15px;
	display:inline-block;
	margin-right:0.25em;
}
.bluechunk:hover {
	background:#0091ef;
	cursor:pointer;
}
.bluechunk a, .bluechunk a:hover {
	color:#fff;
}
.yellowchunk {
	background:#ffc20f;
	color:#fff;
	padding:10px 15px;
	display:inline-block;
}
.yellowchunk:hover {
	background:#ffcf42;
	cursor:pointer;
}
.yellowchunk a, .yellowchunk a:hover, .yellowchunk a:active, .yellowchunk a:visited {
	color:#fff;
}

/* for locations/hours page 2.0 */
.thisWeek {
	margin:0.25em;
	text-transform:uppercase;
	font-size:0.8em;
	font-weight:bold;
	text-decoration:underline;
}

/*Adjusting search bars*/
