/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */

/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body {margin:0; padding:0;}

/* fonts */

html,
button,
input,
select,
textarea {
    color: #222;
}
a:link, a:visited {color:#006f51;}

body {
    font-size: 0.9em;
    line-height: 1.4;
	font-family:Arial, Helvetica, sans-serif;
	background: url(../img/pagebg.jpg);
}

body > .l-page {     background: url(/sites/all/themes/knowledgebank/img/headerbg.jpg) repeat-x; }
.l-region--branding { position:relative;}

span.highlight {background-color:yellow;}

h1, h2, h3, h4, h5, h6 {font-family:Arial, Helvetica, sans-serif; color:#006f51;}
h1#page-title {font-family:Georgia, "Times New Roman", Times, serif; margin-bottom:20px;font-size:24px;text-align:center;}

/* /fonts */


div.content div.vertical-tabs .vertical-tabs-panes .vertical-tabs-pane fieldset {
padding:20px;
margin: 20px;
}

div.content div.vertical-tabs .vertical-tabs-panes .vertical-tabs-pane fieldset fieldset {
border: 1px solid #CCC;
margin: 20px 0;
padding:20px;
}

div.vertical-tabs .vertical-tabs-panes .vertical-tabs-pane fieldset legend {
font-weight:bold;
}

.page-home .view-collections {max-width:300px;float:right;}

.page-home .view-collections .itemcount {padding:0;}
.page-home .view-collections h3 {max-width:190px;}



#newslettersignup {
	width:260px;
	background:url(/sites/all/themes/knowledgebank/img/signup.png) left top repeat-x;
	margin-bottom:20px;
	padding:10px 20px;
	color:#fff;
	float:right;
	border-radius:5px;
	box-shadow: #555 0 0 10px;
	font-family:Georgia, serif;
	background-size: cover;
}
#newslettersignup input {
	color:#9c9c9c;
	margin-bottom:5px;
	box-shadow: inset 0 0 5px #999;
	border: none;
	padding: 5px;
	height: 24px;
	font-size:0.8em;
}
#newslettersignup input[type=submit] {
	padding: 0 15px;
	float:right;
	margin:0;
}
#newslettersignup input[type=text] {
	width:260px;
}
#newslettersignup p {
	margin: 0 0 10px 0;
	padding:0;
	font-size:16px;
	line-height:18px;

}
#newslettersignup p a {
	color:#fff;
}

/* white box style */
.view-home-page .views-row { margin:0 10px 20px 10px;padding:10px 12px 13px 12px;background-color:#fff;border:1px solid #c7ad92;width:272px;float:left;}

.search-results .node--teaser{ margin:0 0 20px 0;padding:10px 12px 13px 12px;background-color:#fff;border:1px solid #c7ad92;width:270px;}

.search-results .node--teaser .content {}

.page-search-results h1 { display:none;}


.view-homepage-video, .pane-homepage-browser, .pane-homepage-image, .pane-homepage-text, .pane-homepage-person, .pane-homepage-books, .pane-homepage-audio {
	width:300px;
	float:right;
	clear:right;
margin:0 10px 10px 10px;
}

#homepagepanel .panel-col-middle .pane-node {
margin:0 10px 0 0px;padding:10px 12px 13px 12px;background-color:#fff;border:1px solid #c7ad92;width:272px;float:right;

}
#stoneypromo {
width: 590px !important;
margin-right: 25px !important;

}

.file-icon {width:auto !important;}

#stoneypromo .youtube-thumbnail {
	width:100%;
}

#mini-panel-homepage_top #node-page-1 {
	min-height: 442px;
}


.view-homepage-video h2 a, .pane-homepage-browser h2 a, .pane-homepage-image h2 a, .pane-homepage-text h2 a, .pane-homepage-person h2 a, .pane-homepage-books h2 a, .pane-homepage-audio h2 a, .pane-homepage-browser .browseheading h2 a {
text-decoration:none;
}

.pane-homepage-browser .browseheading.videos h2 {
	margin-top:0;
	background: url(/sites/all/themes/knowledgebank/img/search-video.png) 4px center no-repeat #eaeaea;
}
.pane-homepage-audio h2.blockheading {

	background: url(/sites/all/themes/knowledgebank/img/search-audio.png) 4px center no-repeat #eaeaea;
}
.pane-homepage-books h2.blockheading {

	background: url(/sites/all/themes/knowledgebank/img/search-book.png) 4px center no-repeat #eaeaea;
}
.pane-homepage-person h2.blockheading {

	background: url(/sites/all/themes/knowledgebank/img/search-person.png) 4px center no-repeat #eaeaea;
}
.pane-homepage-image h2.blockheading {

	background: url(/sites/all/themes/knowledgebank/img/search-image.png) 4px center no-repeat #eaeaea;
}
.pane-homepage-text h2.blockheading {

	background: url(/sites/all/themes/knowledgebank/img/search-text.png) 4px center no-repeat #eaeaea;
}

.view-home-page .views-row.footer {border:none; padding:0; background:transparent;width:300px;margin:10px 0 10px 10px;}
 .pane-homepage-browser h2 {
	margin-top:20px;
}

.pane-homepage-browser .browseheading h2, h2.blockheading {

font-family: Georgia;
font-size: 16px;
padding: 8px 10px 8px 35px;
margin:5px 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-radius:5px;
}

a.seeall {float:right;line-height:30px;display:block;padding:5px 10px 8px 0;}

.pane-homepage-browser h2, .pane-homepage-audio h2 {font-family: Georgia, "Times New Roman", Times, serif;
font-size: 15px;
text-decoration: none;
color: #006F51;

}

.pane-homepage-browser > .pane-content,
.pane-homepage-image > .pane-content,
.pane-homepage-text > .pane-content,
.pane-homepage-person > .pane-content,
.pane-homepage-books > .pane-content,
.pane-homepage-audio > .pane-content {

	width:274px;
	padding:5px 12px 8px 12px;
background-color:#fff;border:1px solid #c7ad92;

}
.view-homepage-random-nodes {
	position:relative;
}

.view-homepage-video .view-content {
	width:274px;
	padding:10px 12px 13px 12px;
background-color:#fff;
border:1px solid #c7ad92;
float:left;
margin-bottom:20px;
}

.view-homepage-video .view-content .views-field-nothing {
	position:relative;
}

.view-homepage-video .view-footer {
	margin-top:20px;
}
#autoscroll {clear:left; margin:0 0 20px 0;font-size:0.8em; background-color:#eaeaea;max-width:420px;}

.field-name-field-video a,.field--name-field-video a{
	display:block;
	position:relative;
}

#cboxTitle {display:none !important; }
#cboxContent {margin-bottom:0;}

.node--full .node__content {padding:20px;width:100%;max-width:920px;float:left;background-color:#fff;border:1px solid #c7ad92;margin:20px 0;}
.node--full .node__content .field {padding: 5px 0;}

/* / white boxes */

.view-home-page .views-row h2.node-title a, .page-home .view-collections h3 a, .view-collections h3 a, .view-homepage-video .views-row h2 a  {font-family:Georgia, "Times New Roman", Times, serif;font-size:15px;text-decoration:none;color:#006F51;}
.view-home-page .views-row h2.node-title, .page-home .view-collections h2, .view-homepage-video .views-row h2 {margin:5px 0;padding:0;line-height:15px;font-size:15px;}
.view-home-page .views-row .node-page h2.node-title, .view-homepage-video .views-row h2 {font-family:Georgia, "Times New Roman", Times, serif;}
.view-home-page .views-row .node-page h2.node-title a, .view-homepage-video .views-row h2.node-title a {text-decoration:none;}
.view-homepage-video h4 {margin-bottom:0;}
.page-home .isotope-view {max-width:300px;}
.page-home .isotope-view .views-row {width:272px;}

.view-collections, .view-taxonomy-term, .view-series-listing  { width:100%; float:left;}
.view-taxonomy-term .views-row{float:left; margin-right:19px;font-size:12px;}
.view-collections .itemcount, .isotope-view .itemcount, .tiles-view .itemcount {float:right;padding:10px 0 0 0;font-size:15px;font-weight: bold; color:#275b2d;font-family:arial;}
.view-collections h3, .view-taxonomy-term h3, .isotope-view h3, .tiles-view h3, .view-series-listing h3, .search-results h2.node__title {margin:0;padding:0;font-size:15px;text-transform:capitalize;font-family: 'Roboto Slab', serif;}
.comment_count, .views-field-disqus-comment-count {float:right; padding:0 10px 0 18px; display:block;background:url(../img/speech.png) left 2px no-repeat; }

.view-collections h3 a:hover, .view-taxonomy-term h3 a:hover {text-decoration:underline;}

.view-series-listing {margin: 10px 0;
border-radius: 10px;
padding:	0 50px;
}
.view-header .view-series-listing .views-row {padding:0 0 10px 0px;float:left;margin:0px 20px 20px 0; background:#fff;border:1px solid #c7ad92;}
.view-header .view-series-listing .view-series-image .views-row, .view-bibliography .views-row {padding:0;float:none;margin:0;border:none;text-align:center;}

#sortresults {float:left; margin-right:10px;color:#333;font-size:16px;margin-top:20px;font-family:Georgia, "Times New Roman", Times, serif;}
.views-exposed-form label {font-weight:normal; font-size:11px;}
.pane-isotope-term {clear:both;}
.pane-isotope-term .view-filters {padding:5px 0 0 0; border-top:1px solid #c7af93;border-bottom:1px solid #c7af93;margin:20px 0;}
.pane-isotope-term .views-exposed-widgets {margin-bottom:5px;}
.views-exposed-form .views-exposed-widget .form-submit {}

.tilecaption {display:block; padding: 0 35px 5px 35px;min-height:30px; text-align:center;}

.view-collections .views-row-last, .view-taxonomy-term .views-row-last {margin-right:0;}



.isotope-view .views-row img, .tiles-view .views-row img, .view-bibliography .views-row img, .search-results .field-item img { margin: 5px auto;max-height: 400px;width: auto;display:block;}

.view-bibliography .tilecaption {
	padding: 0 30px 5px 5px;
}
.field--name-field-accession-number {clear:left;}

.isotope-view .jp-audio, .search-results .jp-audio, .tiles-view .jp-audio{max-width:255px;margin:5px;}

#block-panels-mini-search-advanced-filters {width:911px;margin:0 auto;background-color:#fff;border:1px solid #c7ad92;font-family:Georgia, "Times New Roman", Times, serif;}
#block-panels-mini-search-advanced-filters .block-inner {padding:0 20px;}
#block-panels-mini-search-advanced-filters h2 {margin:10px 0 0 0;font-family:Georgia, "Times New Roman", Times, serif;font-size:16px;color:#024331;}


.isotope-view > .item-list, .tiles-view > .item-list {padding:5px;border-radius:5px;float: left;width: 100%;}

.isotope-view > .item-list .pager li, .tiles-view > .item-list .pager li {padding:0;display:inline-block;margin:0 10px 10px 0;}

.isotope-view .pager, .tiles-view .pager {background:none;border:none;}
.isotope-view .pager li.pager-ellipsis, .tiles-view .pager li.pager-ellipsis{display:none;}
.isotope-view .pager li.pager-next, .isotope-view .item-list .pager li.pager-last, .tiles-view .pager li.pager-next, .tiles-view .item-list .pager li.pager-last {position:relative;right:0;}
.isotope-view .pager li, .tiles-view .pager li {border:none;}

.isotope-view .pager a, .isotope-view .pager li.pager-current, .tiles-view .pager a, .tiles-view .pager li.pager-current {
background: #fff;
border: 1px solid #00704f;

color: #053e2f;
padding: 7px;
font-weight: bold;
font-size: 16px;}
.isotope-view .pager li.pager-current, .tiles-view .pager li.pager-current{ background-color:#ccc;}
.isotope-view .pager .ajax-progress-throbber, .tiles-view .pager .ajax-progress-throbber {display:none;}

/*.field--name-field-transcript hr {visibility: hidden; height:1px; margin:0;padding:0;}*/

.field--name-field-transcript {margin-bottom:10px;border-bottom:3px solid #eaeaea;  max-height : 600px; overflow-y: scroll;}

.field--name-field-author .field-item {
margin-right:10px;

}

.page-taxonomy-term-582 .view-series-listing .views-field-field-image {
	display:none;
}

.hidehr {visibility:hidden; height:1px; margin:0; padding:0; }

.field--name-field-youtube-token {
	/*display:none;*/
}

.vbo-select-all-markup, .vbo-table-select-all-markup {
display: block;
}
.view-taxonomy-term .views-row {margin-bottom:20px;}

div.comment{padding:20px;background-color:#fcfcfc;border-radius:10px;margin-bottom:20px;}
.comment-submitted {font-size:0.7em; font-weight:bold;}

.node--full.node--audio--full .node__content .field--name-field-transcript { width:80%;}

.page-node #region-content {background:#fff;border:1px solid #c7ad92;}
.page-node #region-content .region-content-inner{padding:20px;}
.page-node h1#page-title, .page-search-results h1#page-title {font-size:18px;text-align:left;}

#region-menu, #region-branding {margin:0;}


#zone-branding-wrapper {background:url(../img/headerbg.jpg) top left repeat-x; height:192px;}

#zone-content-wrapper {

}
#page {
background: url(../img/watermark.jpg) 30px 188px no-repeat;
}
.fieldset-legend {font-size:1.1em;font-weight:bold;color:#063;text-decoration:none;font-family:Georgia,serif;}

/*don't want second-level fieldset titles to be big */
.field-group-fieldset  fieldset .fieldset-legend {font-size:1em; color:#222;font-family:Arial;}

.galleryformatter.galleryview {float:right; clear:right; margin: 0 0 20px 20px;width:450px}

.gallery-thumbs, .gallery-slides {width:450px !important;}
.gallery-processed .gallery-slides .gallery-slide  {width:450px;}
.gallery-slides .gallery-slide img {
display:block;
margin:0 auto;
}
.galleryformatter-greenarrows .gallery-thumbs {
	padding:0;
}
.gallery-frame {width:450px;text-align:center;}
.gallery-slides .gallery-slide {float:none;}

button#cboxClose {
	z-index:5000;
}

.node .field--name-field-master {float:left;max-width:263px;}
#edit-field-image-und legend {cursor:pointer;}

.node-form fieldset {margin-top:30px;background:#efefef; padding:10px;}

#node_still_image_form_group_exif {display:none;}

input[type="reset"], input[type="submit"], input[type="button"], input[type="file"] {
-webkit-appearance: none;
-moz-border-radius: 11px;
-webkit-border-radius: 11px;
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box;
border-radius: 11px;
background: #DDD url(../images/button.png) repeat-x;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(1, #DDD));
background: -moz-linear-gradient(top center, white 0%, #DDD 100%);
border: 1px solid;
border-color: #DDD #BBB #999;
cursor: pointer;
color: #333;
font: bold 12px/1.2 Arial, sans-serif;
outline: 0;
overflow: visible;
padding: 3px 10px 4px;
text-shadow: white 0 1px 1px;
width: auto;
}
.views-exposed-form .views-exposed-widget {
    float: left;
    padding: 0 1em 0 0;
}
.isotope-link {float:right;margin-right:20px;padding:10px;border-radius:5px;background-color:#fcfcfc;}

.node-form #edit-submit, .node-form #edit-field-master-und-0-upload-button, .node-form #edit-field-master-und-0-upload {font-size:16px; padding:10px;}
.node-form #edit-field-master-und-0-upload {padding:7px; margin-right:10px;}

fieldset.group-imageinfo {clear:right;float:right; width:430px;}
fieldset.group-imageinfo .field {width:380px;}

.node--still-image .field, .node--text .field, .node--person .field, .node--person fieldset, .node--full .node__content .field { float:left; clear:left;margin: 5px 0; width:420px;}
 .node--person fieldset fieldset { width:380px;}

.search-results .node--still-image .field, .search-results .node--text .field, .search-results .node--person .field  {
	width:270px;
}

.group_classification {float:left; padding:0; border-radius:10px;max-width:420px;}
.group_classification .field {clear:none; display:block; margin:0 20px 10px 0}
.group_classification .field.field--name-field-collections {clear:left;}

#comments { max-width:600px; }

table td, table th, form .field-multiple-table th.field-label {padding:5px;}

#zone-footer {padding:0; max-width:960px; margin:30px auto;}
#region-footer-first{margin:0;}

.page-node-add-still-image #page-title {padding-left:60px;background:url(../img/still-image.png) left center no-repeat;line-height:50px;}
.page-node-add-video #page-title {padding-left:60px;background:url(../img/video.png) left center no-repeat;line-height:50px;}
.page-node-add-audio #page-title {padding-left:60px;background:url(../img/audio.png) left center no-repeat;line-height:50px;}
.page-node-add-person #page-title {padding-left:60px;background:url(../img/person.png) left center no-repeat;line-height:50px;}
.page-node-add-text #page-title {padding-left:60px;background:url(../img/text.png) left center no-repeat;line-height:50px;}
.page-node-add-book #page-title {padding-left:60px;background:url(../img/book.png) left center no-repeat;line-height:50px;}


#node_still_image_form_group_location {display:none;}

.cta {background:#c8534b left top repeat-x; height:49px;box-shadow: #555 0 0 10px;color:#fff;font-size:16px;font-family:Georgia, "Times New Roman", Times, serif;padding:0;line-height:17px;margin: 10px 0 20px 0;}
.cta p {margin:0;padding:8px 15px;}
#googlemaplink {
	display:block;
	float:right;
	margin:0 0 0 0;
	color:#555555;
	line-height:14px;
	border:1px solid #c7ae92;

	background: url(/sites/all/themes/knowledgebank/img/gmap.png) #fcf6ef right center no-repeat;
}

#googlemaplink a, #googlemaplink a:link, #googlemaplink a:visited{
	color:#555555;
	font-family:Georgia, serif;
	font-size:14px;
	text-decoration:none;
	display: block;
	padding:5px 60px 5px 10px;
}
#googlemaplink a span {
	font-weight:bold;
}
#facebooktile {
	float:left;
margin-top:2px;
}
.cta .redbutton {
	float:right;
	margin:8px 10px 0 10px;
	background: url(../img/searchbutton.png) left top repeat-x;
	border-radius:3px;
	height:30px;
	line-height:30px;
	padding:0 15px;
	border:1px solid #af4740;
}

.redbutton {background:url(../img/ctabutton.png) left top repeat-x; color#fff;}
.redbutton a { color:#fff;text-decoration:none;}

/* search results */
.search-results {padding:0;}
.searchthumbnail {float:left; margin:0 10px 10px 0;}



.search-result {
	padding-right:50px;
	border-bottom:1px solid #fff;
	clear:left;
	padding-top:20px;
}
.search-result h3 {margin:0 0 5px 0;}
#block-search-form, #stoneycroft-searchform #greenbox {
	height:49px;
	background: url(../img/searchbg.png) left top repeat;
	border-radius:8px;
	box-shadow: #555 0 0 10px;
	line-height:49px;
	padding:0 10px;
}

#stoneycroft-searchform .fieldset-legend {
	color:#024331;
	font-size:16px;
	font-family:Georgia;
}
h2.block-title {
	font-family:Georgia,serif;
}

#stoneycroft-searchform .checker {

}
#stoneycroft-searchform .checked label {
	color:#006f51;
	text-decoration:underline;
}
#block-search-form .container-inline {padding-top:0;}
#edit-search-block-form--2, #stoneycroft-searchform #edit-keywords {height:26px;width:510px;box-shadow:inset 0 0 5px #999; border:none;	padding:0 10px;margin-left:25px;font-size:14px; font-weight:bold;}

.views-exposed-form .views-exposed-widget .form-submit {
	margin-top:14px;
}
.pager li.pager-previous a {width:60px;}
#block-search-form input[type=submit],
#newslettersignup input[type=submit],
.views-exposed-form .views-exposed-widget .form-submit,
#advancedFilters,
#stoneycroft-searchform .form-submit,
#stoneycroft-searchform #edit-togglefilters {
	background: url(../img/searchbutton.png) left top repeat-x;
	border-radius:3px;
	height:28px;
	border:1px solid #af4740;
	text-shadow:none;
	color:#FFF;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:16px;
	font-weight:normal;
}

#stoneycroft-searchform .form-item-keywords {
	float:left;
	margin-top:0;
	margin-right:3px;
	height:28px;
	font-family:Georgia, "Times New Roman", Times, serif;
}
#stoneycroft-searchform #edit-togglefilters {
margin:0 3px;
background:url(../img/searcharrow.png) right bottom no-repeat;padding:0 30px 0 10px;
}
#stoneycroft-searchform #edit-togglefilters.up {
	background-position:right top;
}
#stoneycroft-searchform #edit-types {
	width: 911px;
	margin: 0 auto;
	background-color: #fff;
	border: 1px solid #c7ad92;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#stoneycroft-searchform #edit-types.collapsed {
	height:auto;
}
#stoneycroft-searchform #edit-types legend {
float:left;
}
#stoneycroft-searchform #edit-types .fieldset-wrapper {
clear:left;
display: block;

}

#advancedFilters {padding:3px 10px 5px 0; margin:0 5px;line-height:19px;border: 1px solid #AF4740;cursor:pointer;}
#advancedFilters .innerbtn {background:url(../img/advancedfilters.png) right bottom no-repeat;padding:0 30px 0 10px;}

#advancedFilters.expanded .innerbtn {background-position:top right;}
#advancedFilters.collapsed .innerbtn {background-position:bottom right;}


.view-isotope-term .views-row.Book .tilecaption, .search-results .node--book h2.node__title{
background: url(/sites/all/themes/knowledgebank/img/search-book.png) right 5px top no-repeat;
}
.view-isotope-term .views-row.Audio .tilecaption, .search-results .node--audio h2.node__title{
background: url(/sites/all/themes/knowledgebank/img/search-audio.png) right 5px top no-repeat;
}
.view-isotope-term .views-row.Video .tilecaption, .search-results .node--video h2.node__title{
background: url(/sites/all/themes/knowledgebank/img/search-video.png) right 5px top no-repeat;
}
.view-isotope-term .views-row.Text .tilecaption, .search-results .node--text h2.node__title{
background: url(/sites/all/themes/knowledgebank/img/search-text.png) right 5px top no-repeat;
}
.view-isotope-term .views-row.Person .tilecaption, .search-results .node--person h2.node__title{
background: url(/sites/all/themes/knowledgebank/img/search-person.png) right 5px top no-repeat;
}
.view-isotope-term .views-row.Still.Image .tilecaption, .search-results .node--still-image h2.node__title {
background: url(/sites/all/themes/knowledgebank/img/search-image.png) right 5px top no-repeat;
}

.search-results h2.node__title {
	min-height:30px;
	padding-right:35px !important;
}

.node--video .field {
	margin-bottom:10px;
}

/* Google block */

#region-branding #block-block-9 {width:300px; float:right; clear:right; }
#advancedSearchLink, #advancedSearchLink a {color:#fff;text-align:right;}
.search-results .search-snippet-info {padding-left:0;}
.search-results {margin-top:40px;}

/* logo */

#block-block-4 {float:left;}
#block-block-4 p {margin:0;padding:0;}


/* navigation */

#block-menu-menu-top-links {float:right;display:block;height:25px;}
#block-menu-menu-top-links li {list-style:none;float:left; margin-right:1px solid #fff; padding: 0 5px 0 0; margin-top:3px;}
#block-menu-menu-top-links li a {color:#fff; display:block; float:left;font-family:Georgia, "Times New Roman", Times, serif;text-decoration:none;}


#zone-menu-wrapper {}

/* main menu */
#block-menu-block-1 {margin:0;padding:0; height:50px;float:right; clear:right; margin-top: 25px;}
.logged-in #block-menu-block-1 { margin-top: 25px; }
#block-menu-block-1 ul {margin:0;}
#block-menu-block-1 li{display:block;padding:6px 0 0 0;height:35px;float:left;list-style:none;position:relative;}
#block-menu-block-1 li.active, #block-menu-block-1 li.active-trail {padding-top:0;height:41px;}
#block-menu-block-1 li.active a, #block-menu-block-1 li.active-trail a  {height:41px;background-image:none; background-color:#006f51;font-style:italic;line-height:41px;}
#block-menu-block-1 li a{
	margin:0 2px;
	background: url(../img/menubg.png) repeat-x left top;
	height:35px;
	border-top:1px solid #7ba096;
	border-left:1px solid #7ba096;
	border-right:1px solid #7ba096;
	border-radius:8px 8px 0 0;
	display:block;
	height:35px;
	padding: 0 15px;
	line-height:35px;
	color:#fff;
	text-decoration:none;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:16px;
	font-weight:bold;
}
#block-menu-block-2{float:right;margin-right:3px; margin-top:2px;clear:right; min-width:580px; font-family:Georgia, "Times New Roman", Times, serif; background-color:#81a299;}
#block-menu-block-2 li {border: none;
list-style: none;
float: left;
border-right: 1px solid #024331;
margin: 5px;
padding: 5px 15px 5px 5px;
}
#block-menu-block-2 li a {background:none;line-height:16px; color:#fff;text-decoration:none;font-weight:bold;font-size:16px;font-weight:normal;}
#block-menu-block-2 li.active a {text-decoration:underline;font-style:italic;}
#block-menu-block-2 li.last {border-right:none;}
h2.element-invisible {display:none;margin:0;padding:0;}
#breadcrumb {margin: 0;text-align:right;font-family:Georgia, "Times New Roman", Times, serif;}
.breadcrumb {font-size:0.8em;padding:10px;}

#zone-footer, #zone-footer a {font-size:11px; color:#898989;}
#zone-footer a {text-decoration:underline;}

/* header contact details */

.l-branding { width:100%;}

#block-block-19 { float:right; background-color: rgba(255,255,255,0.5); width:220px;}

#block-block-19 img { width:60px; height:auto; float:left; margin:0 15px 15px 15px;}
#block-block-19 a { text-decoration:none;}
#block-block-19 h3 {padding-top:5px}

#region-branding .block-search {
	float:right;
	clear:right;
}
#region-branding .block-search .form-text {
	width:150px;
}
.spelling-suggestions {
	float:right;
	background-color:#fff;
	padding:0 10px;
	border-radius:10px;
	margin: 10px 0 10px 10px;
    padding:10px;
}
.spelling-suggestions dd, .spelling-suggestions dt {padding:0;margin:0;text-align:center;font-size:14px; display:inline-block;}
.spelling-suggestions dd { margin-left:5px;}
.spelling-suggestions .form-item { margin:0;}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


/* tablet styles */
@media only screen and (max-width : 979px) {

  #homepagepanel .panel-col-middle .pane-node, #stoneypromo, #stoneycroft-searchform #edit-types {

    float:none;
    width:100% !important;


  }
  #mini-panel-homepage_top #node-page-1 {
  	min-height:0;
  }

  #edit-search-block-form--2, #stoneycroft-searchform #edit-keywords {width:100%;}

  #stoneycroft-searchform .form-item-keywords {width:50%;}



  .cta {height:auto;}

  #page > .section-content, #zone-menu-wrapper {max-width: 70%; margin: 0 auto;}


 body, .container-12, .container-12 .grid-12, #zone-footer, #zone-content, #zone-branding, #block-menu-block-2 {min-width: 340px !important; max-width:100% !important; width:100% !important;}

 #block-search-form, #stoneycroft-searchform #greenbox {min-height:49px; height:auto;text-align:center;}
	.cta .redbutton {float:none;margin:3px;}

	.cta {padding-top:2px;}

}


@media only screen and (max-width : 665px) {

	#block-menu-block-1 {float:none; display:block; background-color:#006f51;margin-top:200px; height:auto;}
	#block-menu-block-2 {float:none;display:block;height:auto;}


	#page > .section-content, #zone-menu-wrapper {max-width: 100%; margin: 0 auto;}

	.view-home-page .views-row  {min-width: 340px !important; max-width:100% !important; width:100% !important;}

	.view-homepage-video, .pane-homepage-browser, .pane-homepage-image, .pane-homepage-text, .pane-homepage-person, .pane-homepage-books, .pane-homepage-audio {float:none; width:100%; margin:0;}


	.pane-homepage-browser > .pane-content, .pane-homepage-image > .pane-content, .pane-homepage-text > .pane-content, .pane-homepage-person > .pane-content, .pane-homepage-books > .pane-content, .pane-homepage-audio > .pane-content {width:100%; margin:0;}

	.tiles-view .views-row, .isotope-view .views-row, .view-bibliography .views-row, .page-home .view-collections .views-row {max-width: 90%; width:90%;margin: 10px auto;}

	#block-menu-block-1 li, #block-menu-block-2 li {float:none; margin:0; text-align:center;}
	#block-search-form, #stoneycroft-searchform #greenbox {margin-top:20px;}

	.searchtips {float:none !important; clear:left;}

	.search-results .node--teaser,
	.field--name-body img, .gallery-frame,.galleryformatter.galleryview, .gallery-slide img,
	.gallery-thumbs, .gallery-slides, .field--name-field-licence .col-1-2, .node--still-image .field,
	.node--text .field, .node--person .field, .node--person fieldset {max-width:100% !important;width:100% !important; height:auto;}

	.field--name-field-licence .col-1-2 {float:none !important; margin:10px;}

	.field--name-field-licence {padding:0 !important;}
	.field--name-field-licence .field-items {padding:5px !important;}

	 #stoneycroft-searchform .form-item-keywords {width:90%;}


}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/************************/
/*********isotope********/

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}


#search-block-form .form-item{margin-top:0;}


.node--full .node__content .field--name-field-image {float:right; margin: 0 0 20px 20px;max-width: 59%;}
.field--name-field-image .field-item {margin-bottom:20px;}

#stoneycroft-searchform .form-type-checkbox {
float:left;
margin:10px
}

#search-form {
display:none;

}
.group-webvideos, .group-webvideos iframe {
	width:100%;
	max-width:100%;

}
.group-webvideos iframe { height:auto; min-height:400px;}

.horizontal-tabs fieldset.horizontal-tabs-pane {
	padding:0;
}

div.video-inprogress {
	display:block;
	width:307px;
	height:228px;
	background:url(/sites/all/themes/knowledgebank/img/video-processing.png) center center no-repeat !important;
	text-indent:-9001px;
	border:none;
}

#edit_sort_order_chzn {
	min-width:80px;
}

#edit-items-per-page {
	min-width:51px;
}

.video-play-overlay {
  position: absolute;
   display: block;
    background: url(/sites/all/themes/knowledgebank/img/videoplay.png) no-repeat center 55%;
    height: 80%;
   width: 100%;
   top:0;
   left: 0;
   cursor:pointer;

}
.views-field-nothing {position:relative;}
.video-play-overlay:hover {
	    background-image: url(/sites/all/themes/knowledgebank/img/videoplay-hover.png);
}

.views-field-field-video {
	position:relative;
}

.jp-current-time {
	float:none;
	display:block;
	text-align: left;
	position: absolute;
	left: 100px;
	top: 45px;
}
.jp-duration {
	float:none;
	display:block;
	text-align: left;
	position: absolute;
	right: 105px;
	top: 45px;
}

#block-block-11 {
	background:#eee;
	border-radius:5px;
	padding:20px;
	margin:0 0 20px 0;

}
#newslettersignup input#MERGE1 { margin-right:10px;}
#newslettersignup input#MERGE1, #newslettersignup input#MERGE2 {width:115px;}
#newslettersignup input#mce-EMAIL {width:250px;margin-top:5px;}
#newslettersignup input[type="submit"] { margin-top:5px; }

.display_archive {}
.display_archive .campaign {padding:10px 20px; background:#fafafa; margin:5px 0; display:block;}
.display_archive .campaign a {font-size:16px; font-weight:bold; display:inline-block;}

.page-node-42574 .node--full .node__content .field { width: 100%; }

.horizontal-tabs ul.horizontal-tabs-list li {
	background-color:#dedede;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected {
	background-color:#efefef;
}

.drupal-comments {
	display:none;
}
.ytthumbnail {
	max-width:270px;
}

.container-12 {
	min-width:960px ;
}

/* Hide image and web video fields on new node creation. These should be auto generated. Also hax around a bug with videos not uploading to Youtube on creation, but working on editing. */
.page-node-add #node_still_image_form_group_image, .page-node-add #node_video_form_group_webvideo {

}

.node-type-book .field--name-body .field-items {clear:left;}

#beggingbowl {
	border-radius: 5px;
	padding: 20px 20px 20px 70px;
	margin: 10px 0;
	background:url(../img/hires.png) 20px center no-repeat #eee;
	font-size:11px;
}

.group-classification {clear:left;}

.page-admin-people .action-links, .page-admin-people .action-links li {
	list-style:none;
	padding:0;
	margin:0;
	height:50px;
}

.node-still_image-form .field--name-field-image .form-type-managed-file {display:none;}
#edit-field-location, #edit-field-business, #edit-field-tags {padding:10px 0;}


.page-admin-people .action-links li a {

	padding:15px;
	color:#fff;
	background: url(/sites/all/themes/knowledgebank/img/searchbg.png) repeat-x;
	font-size:14px;
	font-weight:bold;
	border-radius:5px;
	text-decoration: none;
}
#donationplea {display:none;}
.donationpleainner {padding:20px 40px;}
a.closecolorbox {
	display: block;
	float: right;

	padding-left: 20px;
	border-left: 1px solid #aaa;
	line-height: 50px;
}
.donatebutton {width:300px;border-radius:5px;background:#eee;padding:20px;margin:20px auto;}

#autocomplete {
	font-size:16px;
	font-weight:bold;
}

.page-people #edit-title {
	width:400px;
}

.page-people #sortresults {
	display:none;
}

.field-type-name .family {text-transform:uppercase;}

.view-people h4 {
	margin:5px;
}
.view-people.view-display-id-page > .view-header {float:right;}

.view-people span.family {text-transform:uppercase;}

.view-display-id-attachment_1 a {
	font-size:16px;
	font-weight:bold;
	text-transform:uppercase;
	display:block;
}

.view-display-id-attachment_1 .views-summary:first-child {
margin-left:0;
}

.view-display-id-attachment_1 .views-summary {
		display:inline-block;

	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

.view-people > .attachment-before {
	margin-bottom:-1px;
}

.view-people .views-summary a {background-color:#eee;}

.view-people ul.pager {min-height:50px; margin-top:20px;background:#eee; border-radius:5px; padding:0;display: block;line-height: 50px;}

.view-people ul.pager li {min-height:50px;margin:20px 10px 0 0;}

.typeicon {
	display:inline-block;
	height:16px;
	width:16px;

	background:left bottom no-repeat;
	background-size:16px;
	margin:4px 0 0 5px;

}

.typeicon.Still.Image {
	background-image:url(/sites/all/themes/knowledgebank/img/search-image.png);
}
.typeicon.Video {
	background-image:url(/sites/all/themes/knowledgebank/img/search-video.png);
}
.typeicon.Audio {
	background-image:url(/sites/all/themes/knowledgebank/img/search-audio.png);
}
.typeicon.Text {
	background-image:url(/sites/all/themes/knowledgebank/img/search-text.png);
}
.typeicon.Book {
	background-image:url(/sites/all/themes/knowledgebank/img/search-book.png);
}
.typeicon.Person {
	background-image:url(/sites/all/themes/knowledgebank/img/search-person.png);
}

#edit-field-related-records-und-0-target-id {
	width:700px;
}

.view-id-people .view-display-id-attachment_1 a {
	padding:10px;
}

.view-id-people .view-display-id-attachment_1 a.active {
	background-color:#fff;

	opacity:0.8;
}

.view-id-people .view-display-id-attachment_1 .ajax-progress-throbber {
	position:absolute;top:10px;
}

.view-id-people .view-display-id-attachment_1 .views-summary {
	position:relative;
}

.field--name-field-marriage-date .field-items {
	display:block;
	padding: 0 5px;
	clear:left;
}

.field--name-field-marriage-date .field-items ol {
	margin:0;
}

.gallery-slide img {
	max-height:600px;
	width:auto !important;
}

img.youtube-thumbnail {
	max-width:100%;
}

.page-node .field-type-entityreference .field-item {
	margin-right:5px;
	padding-right:5px;
	border-right:1px solid #eaeaea;
}

.page-node .field-type-entityreference .field-item:last-child {
	margin-right:0;
	padding-right:0;
	border-right:none;
}


.isotope-view .view-term-info .views-row, .tiles-view .view-term-info .views-row {
	float:none;
	width:100%;
	max-width:100%;
	padding:20px;
}

.view-isotope-term .view-term-info table, .tiles-view .view-term-info table{
	width:300px;
}

 .view-term-info .views-row img {
 	float:left;
 	margin-right:5px;
 }

 .view-term-info .views-row a {
 	display:block;
 	padding:5px;
 }

  .view-term-info .views-field-edit-term {
  	float:right;
  	background-color:#eaeaea;
  	border-radius:5px;
  	padding:10px;
  }

.searchtips {
	float:right;
	margin:5px 20px 0 0;
	padding:0;
	font-style: italic;
}

.field--name-field-licence .col-1-2 {
	width:48%;
	padding:1%;
	float:left;
}

.field--name-field-licence {
	margin:20px 0;
	padding:10px;
	background:#eaeaea;
	border-radius:10px;
}

.commercial {
	padding:0px;
	display:block;
}
.commercial p {
	padding:0 10px;
	margin:0;
}
img.creativecommons {
	margin-bottom:5px;
}



/*.isotope-view .views-row, .view-bibliography .views-row, .page-home .view-collections .views-row {margin:0 15px 20px 0;padding:10px 13px 13px 13px;background-color:#fff;border:1px solid #c7ad92;float:left;max-width: 280px;}*/

.view-bibliography .views-row .field-content {padding:5px 0;}

.isotope-view .views-row, .tiles-view .views-row,  .view-bibliography .views-row, .page-home .view-collections .views-row, .view-id-tag_browser_3 .views-row, .search-results .node--teaser {


margin: 15px 15px 20px 0;
padding: 0px 0px 13px 0;
background-color: #fff;
float: left;
max-width: 280px;
width: 270px;
box-shadow: 0px 0px 15px #aaa;
border:none;


}


.tiles-view .views-row { margin:20px;}

@media only screen and (max-width : 945px) {

}

.isotope-view .views-row img, .tiles-view .views-row img, .view-bibliography .views-row img, .page-home .view-collections .views-row img, .search-results .node--teaser img {
	margin-top:0;
	width:100%;
	height:auto;
}

.isotope-view .views-field-name, .tiles-view .views-field-name, .isotope-view .itemcount, .search-results .node--teaser h2.node__title, .view-bibliography h3{
	padding:0 15px;
	text-align:center;
	text-transform: capitalize;
	font-family: 'Roboto Slab', serif;
}

.isotope-view h3, .tiles-view h3, .search-results .node--teaser h3, .search-results .node--teaser h2.node__title {
	font-size: 1.2em;
	font-weight:700;
}
.search-results .node--teaser .field {margin:0 10px;}
.search-results .node--teaser .field--type-image {
	margin:0;
}
.search-results .node--teaser h2.node-title {

	font-size:1.1em;
	padding:0 35px 10px;

	margin-top:5px;

}

.tiles-view { padding-left:15px;}

.tiles-view .views-row:nth-of-type(3n+1) { clear:left; }


@media only screen and (max-width : 945px) {

	.tiles-view .views-row:nth-of-type(3n+1) { clear:none; }
	.tiles-view .views-row:nth-of-type(2n+1) { clear:left; }


}

.search-results .node--teaser .links {

	display:none;
}

.isotope-view .itemcount, .tiles-view .itemcount  {
font-size:1em;
float:none;
display:block;
font-weight:400;
}

#block-block-9 { clear:both;}

.view-home-page .views-row { margin:0 10px 20px 10px;padding:10px 12px 13px 12px;background-color:#fff;border:1px solid #c7ad92;width:272px;float:left;}

div.jp-audio ul.jp-controls {
	min-height:50px;
}

div.jp-audio div.jp-type-playlist a.jp-play, div.jp-audio div.jp-type-playlist a.jp-pause {
	top:0;
	left:0;
}

div.jp-audio {width:100%;}

div.jp-audio div.jp-type-playlist div.jp-progress {
	left:70px;
	right:auto;
	top:27px;
}

div.jp-audio div.jp-type-playlist div.jp-volume-bar {
	left:204px;
	top:32px;
}

div.jp-audio div.jp-type-playlist a.jp-stop, div.jp-audio div.jp-type-playlist a.jp-previous, div.jp-audio div.jp-type-playlist a.jp-next {display:none;}

div.jp-audio div.jp-type-playlist div.jp-current-time, div.jp-audio div.jp-type-playlist div.jp-duration {
	left:70px;
}

div.jp-playlist {display:none;}



#visit {

	display:block;padding:5px;border:3px solid #af4740;border-radius:3px;text-align:center;
}

#visit h4 {
	margin:5px 0;
}


.view-homepage-news .views-field-field-image { float:right; margin:0 0 20px 20px;}

.pane-home-page { display:block; clear:left; }
.pane-homepage-news {
    margin: 0 10px 20px 10px;
    padding: 10px 12px 13px 12px;
    background-color: #fff;
    border: 1px solid #c7ad92;
    width: 590px;
    float: left;
}

.node--news .field--name-field-image img { max-width:100%; height:auto; }
