/*various pieces of block styling*/
/*front page specific blocks and regions in fron_page.css*/
/*for NCpedia live site (ncpedia.org)
 *block numbers will not match dev site
 *(statelibrarync.oeg/dev_ncp)
 */

/*add padding to the top of the navigation region
  includes NCpedia logoand about menu blocks on every page
  also includes the searchbox block that appears on
  every page EXCEPT the front page  */
/*Changed from 30px to 15px 2018-08-07*/
.region-navigation{
	padding-top: 15px;

}
/* navbar-header class, contains the navigation region*/
.navbar-header {
	margin-bottom: 0px;
	width: 100%;
}
/* another level up, contains the navbar-header (above) and the navigation region */
.container > .navbar-header {
	margin-right: auto;
	margin-left: auto;
}
/*NCpedia logo image */
#block-block-71{
	padding: 0px;
 	width: 100%px;
	float: left;
	position: relative;
	vertical-align:bottom;
}

#block-block-97 {
float: left;
}
/*About menu - main menu with about, educators, share, etc. links */
/*Anchor main menu also*/
#block-menu-block-4,
#block-menu-menu-anchor-main-menu {
	width: 100%;
	/* margin-top: 42px; */
	background: #092940; /* #395775; */
	position: relative;
	float: right;
}
/*Admin tabs on nodes - view, edit, outline, etc.*/
ul.tabs--primary{
	overflow: hidden;
	border-bottom: 1px solid #bbbbbb;
	list-style: none;
	float: left;
	margin-top: 1em;
	padding: 0 2px;
	white-space: nowrap;
	width:100%;
}

/*main menu styling */
ul.menu {
  list-style-type: none;
  margin:0;
}
/*main menu styling - indidvidual links*/
ul.menu > li.leaf {
  float: left;
  list-style-type: none;
}
/* copyright notice */
#block-block-47, /*enc (mobile)*/
#block-block-48, /*dncb (mobile)*/
#block-thjh-thjh-copyright-mobile, /*tarheel junior historian -- NOT USED*/
#block-thjh-tarheel-copyright, /*thjh - no images*/
#block-ncpedia-commland-commland-copyright-mobile, /*commland (mobile)*/
#block-block-54, /*educator resources on North American Indians - not copyright -- NOT USED*/
#block-block-69 /*Listening to History copyright block (mobile) */{
	background-color: #ededeb;
	border-radius:15px;
    padding: 0.5em;
}
/*copyright notices - styling the block title */
#block-block-47 >h2.block-title, /*enc (mobile) */
#block-block-48 > h2.block-title, /*dncb (Mobile) */
#block-thjh-thjh-copyright-mobile > h2.block-title, /*tarheel junior historian -- NOT USED */
#block-thjh-tarheel-copyright > h2.block-title, /*thjh - no images*/
#block-ncpedia-commland-commland-copyright-mobile > h2.block-title, /*commland (mobile) */
#block-block-54 > h2.block-title, /*educator resources on North American Indians - not xopyright -- NOT USED */
#block-block-69 > h2.block-title /*Listening to History copyright (mobile) */{
	 font-size:22px;
}

/*resource descriptions - these appear on the explore-resource page */
#block-block-78, /*commland resource description*/
#block-block-79, /*DNCB resource description */
#block-block-80,  /*ENC resource description */
#block-block-81, /*Listening to History*/
#block-block-82, /*NC Gazetteer*/
#block-block-83, /*NC WINS */
#block-block-84, /*Research Branch*/
#block-block-85, /*THJH*/
#block-block-86 /*UNC-CH Libraries*/ {
	background-color: #ededeb;
	border-radius:10px;
    padding: 0.5em;
	margin-top: 10px;
	margin-bottom: 10px;
}

/*NC Gazetteer search block */
#block-ncpedia-gazetteer-gazetteersearch {
	padding-bottom: 2em;
}
/*MOH and THJH image div in the THJH copyright block - appear only on page_thjh items*/
/* #block-thjh-tarheel-copyright > div.thjh-image-duo{
	text-align: center;
	margin: 0px 100px;
} */
/*individual images in the THJH copyright block - appearsonly on page_thjh items*/
/* #block-thjh-tarheel-copyright > div.thjh-image-duo > div.thjh-image{
	display: inline-block;
	margin: 0px 50px;
} */
/*right sidebar - rarely used
  still used for NC Gazetteer blocks on gaz list pages (searching or browsing entries) */
.region-sidebar-second{
	margin-top: 50px;
}
/*NC Gazetteer blocks for comments and copyright - appear in right sidebar on /gazetteer pages*/
#block-block-59, /*NC Gazetteer copyright in sidebar*/
#block-block-60{ /*NC Gazetteer comment in sidebar*/
	border-radius: 10px;
	padding: 0.5em;
	background-color: #F2F2F2;
	margin: 10px 0px;
}
/* titles of NC Gazetteer blocks for comment and copyright - appear in right sidebar on /gazetteer pages */
#block-block-59 > h2.block-title, /*NC Gazetteer copyright in sidebar*/
#block-block-60 > h2.block-title { /*NC Gazetteer comment in sidebar*/
	font-size:22px;
	margin-top: 10px;
}
/* image in resource description blocks - appear on explore-resource page*/
.resource-image{
	/* float: left; */
	display: inline-block;
	padding: 0.5em;
	padding-right:1em;
	/* max-height: 190px; */
}
/*resource title - in resource description blocks - appear on explore-resource page*/
.resource-title{
	padding-top: 10px;
	padding-bottom:10px;
}
/*main content region with article text, etc. */
.region-content{
	margin-top: 20px;
}
/*one item in a list created by views - example on /topic-location page */
li.views-row{
	padding: 5px;
}
/*titles on explore by location, bio alphabetical pages*/
.page-topic-location > .white > .main-container > .row > .col-sm-12 h1,
.page-biography-alphabetical > .white > .main-container > .row > .col-sm-12 h1{
	display: block;
	padding: 0px;
	font-weight: bold;
	margin: 0px;
}
/*title on what's new page*/
.page-newest > .white > .main-container > .row > .col-sm-12 h1{
	display: block;
	padding: 21px 0px 0px 0px;
	font-weight: bold;
	margin: 0px;
}
/* .page-newest > #lg-container > .main-container > .row > .col-sm-12 > .page-header,
.page-biography-alphabetical > #lg-container > .main-container > .row > .col-sm-12 > .page-header {
	display: block;
	font-weight: bold;
	margin: 0px;
	padding-bottom: 0px;
} */
/*formatting views - browse by topic, newest, alpha biographies - change color of links*/
.view-browse-by-topic > .view-content > .item-list > ul > li > div > span a,
.view-newest > .view-content > .item-list > ul > li > div > span a,
.view-biographies-alphabetical > .view-content > .item-list > ul > li > span > span a{
	color: #006699;
	text-decoration:none;
}
/*formatting views - browse by topic, newest, alpha biographies - change color of links*/
.view-browse-by-topic > .view-content > .item-list > ul > li > div > span a:hover,
.view-newest > .view-content > .item-list > ul > li > div > span a:hover,
.view-biographies-alphabetical > .view-content > .item-list > ul > li > span > span a:hover {
	text-decoration:underline;
	background: none;
}
/*formatting views - browse by topic, newest, alpha biographies - remove padding from list items*/
.view-browse-by-topic > .view-content > .item-list > ul > li,
.view-newest > .view-content > .item-list > ul > li,
.view-biographies-alphabetical > .view-content > .item-list > ul > li {
	padding: 0px;
}
/*formatting views - browse by topic, newest, alpha biographies - edit unorder list*/
.view-browse-by-topic > .view-content > .item-list > ul,
.view-newest > .view-content > .item-list > ul,
.view-biographies-alphabetical > .view-content > .item-list > ul {
	padding: 0px 40px 0px;
		color: #006699;
}

/*formatting view - alpha biographies - increase top padding to content area*/
.view-biographies-alphabetical > .view-content {
	padding-top: 15px;
}

/*Governor's biographies - edit table cell padding*/
#node-396 > .field-name-body > .field-items > .field-item > table > tbody > tr > td {
	padding: 0px 5px;
}
/*footer section of page - edit background color and top padding*/
.footer {
	background: #092940;/* #395775; */
	padding-top: 0px;
}
/*footer region - center text*/
.region-footer{
	text-align: center;
}
/*footer menu - left side of footer*/
#block-block-87{
	display: inline-block;
	padding: 20px;
	vertical-align: top;
	text-align: left;
	float: left;
}
/*footer menu and social media icon blocks in footer - style block title*/
#block-block-87 > h2.block-title,
#block-block-88 > h2.block-title{
	color: white;
	font-size: 28px;
	margin-top: 0px;
}
/*social media icons block - block title styling*/
#block-block-88 > h2.block-title {
	padding-right:10px;
}
/*footer menu block - styling paragraph*/
#block-block-87 > p {
	text-indent: 15px;
}
/*footer menu block - styling links in paragraphs*/
#block-block-87 > p > a {
	color: #ecf0f1;
}
/*footer menu block - styling hover over links*/
#block-block-87 > p > a:hover {
	text-decoration: underline;
	background: #006699;
}
/*social media icons block - styling*/
#block-block-88{
	vertical-align:top;
	display: inline-block;
	padding: 20px;
}
/*social media container - in block 88 - styling*/
.social-media-icon-container {
	float: right;
}
/*social media container - in block 88 - styling links*/
.social-media-icon-container > p > a {
	color: #ecf0f1;
	font-size: 10px;
}
/*social media container - in block 88 - styling icon img container*/
.social-media-icon {
	display:inline-block;
	padding: 10px;
}
/*social media container - in block 88 - styling linked image*/
.social-media-icon > a > img {
	width:50px;
}
/*latest tweets block - in footer region - generated by views*/
#block-views-tweets-block{
	display: inline-block;
	padding: 20px;
	text-align: left;
	vertical-align: top;
}
/*latest tweets block - block title styling*/
#block-views-tweets-block > h2.block-title{
	margin-top: 0px;
	font-size: 16px;
	color:white;

}
/*latest tweets and footer menu - styling links in block titles*/
#block-views-tweets-block > h2.block-title > a,
#block-block-87 > h2.block-title > a {
	color: #ecf0f1;
	font-size: 28px;
}
/*latest tweets - styling hover links in block title*/
#block-views-tweets-block > h2.block-title > a:hover {
	text-decoration: underline;
	background: #006699;
	font-size: 28px;
}
/*latest tweets block - editing bullets in front of each tweet/li item */
#li.views-row:before{
	content: "• ";
	color: #ecf0f1;
}
/*latest tweets block - styling links*/
span.field-content > a {
	/*color: #ecf0f1;*/
	text-decoration: underline;
}
/*latest tweets block - styling hover links*/
span.field-content > a:hover {
	text-decoration: underline;
	background: #006699;
}
/*brought to you by block - in footer region */
#block-block-20{
	background: white;
	width: 99%;
	padding: 20px;
	margin-top: 20px;
	display: inline-block;
	vertical-align: top;
}
/*on pages generated by views - setting the background of one list item to white*/
span.field-content{
	color: white;
}
/*on pages generated by views - styling unordered list within the 'item-list' div class */
div.item-list > ul {
	padding: 0px;
	color: white;
}

div.view-tweets a {
color: white;
}
/*comments admin view table*/
#views-form-admin-views-comment-system-2 > div >.table-responsive > table > tbody > tr > td {
	padding: 0px;
}

/*comments admin view filter form
  change width of author field to 214px - won't affect FF, necessary for Chrome */
.views-widget-filter-uid {
	width:214px;
}

/*styling placeholder text in google CSE blocks (72, 75, 90)*/
.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: black;
}
.form-control::-moz-placeholder { /* Firefox 19+ */
  color: black;
}
.form-control:-ms-input-placeholder { /* IE 10+ */
  color: black;
}
.form-control:-moz-placeholder { /* Firefox 18- */
  color: black;
}

#block-block-105{
	background: white;
	width: 99%;
	padding: 20px;
	margin-top: 20px;
	display: inline-block;
	vertical-align: top;
}
