/*
Theme Name: FSR
Theme URI: http://fsrinc.org
Description: FSR CBOX Child Theme
Tags: buddypress
Version: 1.0
Author: Bowe Frankema
Author URI: http://yourlink.co.uk
Template: cbox-theme
*/

/*
----------------------------------------------------------------
CBOX combines all the stylesheets into one file called dynamic.css. You can also write CSS using LESS. To learn all about this visit
http://commonsinabox.org/documentation/themes/developer-guide/adding-and-overwriting-custom-css
--------------------------------------------------------------*/
#header:before {
	border-radius:0px;
}
/* change default font */
body {
	font: 90%/140% "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	border-top:none;
}
/* change text font for longer passages */
p {
	font: 95%/180% "Merriweather", Georgia, serif;
}
.entry li {
	font: 95%/180% "Merriweather", Georgia, serif;
}

h1.page-title, h1.post-title {
	font-weight: 300;
	font-size: 3em;
	margin: 1em 0 .5em 0;
}
h3 {
	font-weight: 400;
	font-size: 1.9em;
	line-height: 1.15em;
	margin: 1em 0 .5em 0;
}
/*  for widget headers */
#sidebar h4 {
	font-weight: 300;
	font-size: 1.4em;
	margin: 1em 0 0 0;
	color:#005696;
	background-color: #d9d6d4;
	padding-top: 24px;
	padding-bottom:6px;
}


/* styling for homepage */
div#top-homepage {
	padding-top:0;
	color:#FFF;
	text-shadow:none;
}

div#top-homepage div.row {
	background-color: #005696;
}
div#top-homepage div.row div.topslider {
	padding:0;
}
div#top-homepage div.row img {
	width:100%;	
}
#homepage-sidebar h4 {
	font: 200%/140% "Merriweather", Georgia, serif;
	font-weight:300;
	border-bottom:none;
	margin: 0;
	padding-bottom: 0;
}
#homepage-sidebar p {
 	font-size: 1.2em;
	line-height: 170%;
	margin: 0;
}
#homepage-sidebar a {
	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .6em;
	color:#fff;
	border: 1px solid #fff;
	padding: 2px 3px 1px 3px;
}
#homepage-widget-left h4, #homepage-widget-middle h4, #homepage-widget-right h4 {
	font-weight: 300;
	font-size: 1.4em;
	margin: 0;
	padding-top:0;
	color:#005696;
}

/* Adjust elements for builtin slider */

.flex-caption {
    padding-top: 3px;
    padding-bottom: 3px;
}
.flex-caption h3 {
	font-size: 11px;
	line-height: 13px;
}
.flex-caption p {
	font-size: 12px;
	margin: .2em 0 .25em 0;
}


/* end styling for homepage  */

/* hide wp logo on login bar at top of page */
#wpadminbar ul li#wp-admin-bar-wp-logo.menupop {
	display:none;
}

/* adjust logo size - insure it is retina res */
#logo-menu-wrap img {
		width: 360px;
}

div#icext-16f6e2e3 a, h1#icext-16f6e2e3 a  {
	width: 360px;
	height: 70px;
}

/* Adding search box to header manually  */
/* display form as inline to run social links on same line.
form.searchform {
	display:inline;
}
form.searchform div {
	display:inline;
} */

/* align search and social to right on desktop left under 768 */
div.header-search {
	text-align:right;
}

div.header-search input {
	padding: 4px 6px;
	margin:0px;
}

/* give search button Font Awesome magnifier */
#searchsubmit {
	font-family: FontAwesome;
	font-size: 18px;
	font-weight:normal;
}
/* Social links in header */
.sociallinks {
	margin: 12px 0 0 9px;
}
.socialicons {
	width:24px;
	height:24px;
} 
/* translate menu styling */

div.translator-dropdown-container-custom {
	margin-left:4px !important;
}


/* add width to submenu which was 180 */
.base-menu ul ul {
	width:240px;	
}

/* main menu typography */

.base-menu a span {
	font-weight: auto;
}
/* styles for adding images to menu items */

/* makes room in menu bar for images */
.base-menu ul li {
	height:auto;
}
/* adds image for people menu -- not use in final site
.base-menu ul li.journal-menu > a {
	padding-left: 32px;
	height:36px;
	background-image: url("/wp-content/uploads/2015/12/JFSR-transparent-bug.png");
	background-size:24px 24px;
	background-repeat: no-repeat;
	background-position:7% 50%;
} */

/* adds image for blog menu -- not use in final site
.base-menu ul li.blog-menu > a {
	padding-left: 32px;
	height:36px;
	background-image: url("/wp-content/uploads/2015/12/FiR-transparent-bug.png");
	background-size:24px 24px;
	background-repeat: no-repeat;
	background-position:7% 50%;
}
 */
/* fix current page background by using a color since the background image from stock menu is being overridden but the menu item background image */
.base-menu ul li.current-cat a, .base-menu ul li.current_page_item a, .base-menu ul li.current-menu-item a {
	background-color:#000;
}

/* promo bar and boxes for home page */
.promo-bar {
/* background-color: #efefef; */
}
.promo-box {
	padding: 6px 9px;
}
.promo-box-inner {
	background-color: #bdbec0;
	padding: 6px;
	text-align:center;
}
.promo-box-inner img {
	width:84px;
	height: 84px;
	border-radius: 42px;
	margin-top:6px;
}
.promo-box-inner h3 {
	margin-top:6px;
}
.promo-box-inner h3 a {
	font-family: "Merriweather", Georgia, serif;
	color: #ffffff;
	text-decoration: none;
}
/* Home page widget lists */

.homepage-widgets .widget_display_topics ul {
	list-style: none!important;
	margin-left: 0!important;
	padding-left: 0!important;
}

/* fix silly list item placement from cbox */
ul, ol {
	list-style-position: outside;
}

/* vertically tighter list items */
ul.item-list li {
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 0px;
	padding-top: 10px;
}


/* more-link from theme default to small word after excerpt */
a.more-link  {
	background:none;
	border: none;
	font-weight:normal;
	box-shadow:none;
	margin:0 0 0 4px;
	padding:0;
	line-height:inherit;
}

/* Search widget */
label.screen-reader-text {
	display:none;
}
input#searchsubmit {
	padding: 1px 12px;
	margin-top:0px;
}

/* Social buttons in sidebar
.sociallinks {
	margin: 0 9px 0 0;
}
.socialicons {
	width:24px;
	height:24px;
} */
.foottag {
	font: 70%/125% "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding-bottom: 12px;
}

/* Sidebar - position top of sidebar */
#sidebar {
	padding-top: 0px;
}


/* widgets styling */

.widget li {
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding-bottom: 10px;
	list-style-type: none;
	font-weight: 400;
	font-size: 12px!important;
	line-height: 1.5em;
}
/* special widget for contact us in home page */
div.contact-widget {
	margin-top: 36px;
}
.contact-widget p, .contact-info-footer p {
	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin-top: 9px;
	margin-bottom: 9px;
    font-weight: 300;
	font-size: 11px!important;
	line-height: 1.1em;
}
#footer div#amznCharityBanner {
	position: relative;
	float:right;
	margin:12px;
}


/* post listing styling - targeted by body class of blog */
body.blog .postthumb, body.search-results .postthumb, body.archive .postthumb {
	width: 100px;
	float:left;
	margin-right: 12px;
	margin-bottom: 6px;
}
body.blog h1.blog-page-title {
	font-size: 24px;
	font-weight:200;
}
body.blog h2.post-title, body.archive h2.post-title {
	border-top: 1px solid #eee;
	padding-top:6px;
	margin-bottom:0;
	font-weight:200;
}
.post-meta-data {
	border-top:none;
	border-bottom:none;
	padding:0;
}
body.blog .entry, body.archive .entry {
	margin-top: 0px;
}
body.blog footer.post-bottom, body.archive footer.post-bottom {
	display:none;
}

/* post styling */

.entry {
	margin-top:9px;	
}
.postthumb img {
	width: 100%;
	max-width: 170px;
	float:left;
	margin-right: 12px;
	margin-bottom: 6px;
}
footer.post-meta-data.post-bottom {
	border:none;
}

/* styling Recent Post Widget Extended shortcode placements */
/* FSR News listing on /about page */
div#fsr-news a.rpwe-img, div#jfsr-news a.rpwe-img {
	display:none !important;
}
div#fsr-news h3.rpwe-title, div#jfsr-news h3.rpwe-title {
	font-size: 16px !important;
}
div#fsr-news .rpwe-time, div#jfsr-news .rpwe-time {
	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: .9em;
}
div#fsr-news .rpwe-summary, div#jfsr-news .rpwe-summary {
	line-height: 130%;

}

/* pre, code {
	border:none;
	padding:0;
	margin:0;
}

pre code div.rpwe-block {
	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
pre code div.rpwe-block h3.rpwe-title {
	font-size: 1.1em;
}
*/

/* Volumes and Journal Article listing page related styles */

.volume-list {
	margin-bottom:0px;
}
.volume-list h4 {
	font-weight: 300;
	font-size: 1.15em;
	margin: 0px 0px 0px 0px;
	padding: 6px 0px 0px 0px;
}
.volume-list .entry {
	margin-top:6px;
	margin-bottom:0;
}

.journal-article p.article-title  {
	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:14px;
	line-height: 23px;
	margin-bottom: 0px;
}
.journal-article p.author {
	line-height: 23px;
	margin-top: 0px;
	margin-bottom: 18px;
}
/* styling Volume table of contents page */

body.single-jsfr_journal_volume h2 {
	font-weight: 300;
    font-size: 1.65em;
    line-height: 1.15em;
    margin: 1em 0 .2em 0;
}

/* styling on journal article detail page */
body.single-journal_article .authors  {
	margin: 18px 0;
}
body.single-journal_article .authors .field-name  {
	margin-bottom: 9px;
}
body.single-journal_article .authors .field-value  {
	font-family: "Merriweather", Georgia, serif;
}



/* end Volumes and Journal Article styles */


/* BuddyPress things */

div.activity-header p {
	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
ul.item-list li img.avatar, #whats-new-avatar img, .item-avatar img, .bbp-author-avatar img, .messages .avatar {
	border-radius: 36px;
}

/* BBPress feedback notices */

div.bbp-template-notice p a {
/*	font-family: "Merriweather Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .6em; */
	border: 1px solid #636669;
	padding: 2px 3px 1px 3px;
}




/* end buddypress things */



/*  ALL MEDIA QUERIES  
***
***/

@media only screen and (max-width: 960px) {
.promo-box-inner h3 {
	font-size:1.3em;
}

}

@media only screen and (max-width: 768px) {
	/*turn off left and right margins on this view */
body #wrapper {
	margin: 10px 0px;
}

.mobile-menu-container {
	margin: 0;	
}

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

/* switch alignment for under 768 */
div.header-search {
	text-align:left;
}
.sociallinks {
	margin: 12px 9px 0 0;
}

h1.page-title, h1.post-title {
	font-size: 2em;
}

/* flush Amazon box in footer to left */
#footer div#amznCharityBanner {
	position: relative;
	float:left;
	margin:12px 0;
}
/*turn off left and right margins on phone view */
body #wrapper {
	margin: 0 0px 10px;
}
.mobile-menu-container {
	margin-left: 0px;
	margin-right: 0px;
}
/* added for search box in header - to make search box to drop below logo when small */
#header {
	height: 160px;
	padding-bottom: 10px;
    padding-top: 10px;
	margin-top:36px;
}
#infinity-base .icext-feature {
	position:inherit;
}
/* finish extra styles for search bar */

}

@media only screen and (max-width: 480px) {
	/* logo size adjustments for mobile */
#header {
	height: 140px;
	padding-left:3px;
	padding-right:3px;
}
#logo-menu-wrap img {
    max-width: 90%;
}
h1.page-title, h1.post-title {
	font-size: 1.5em;
}

div#icext-16f6e2e3 a, h1#icext-16f6e2e3 a {
    width: 260px;
    height: 50px;
}
.postthumb img {
	width: 100%;
	max-width: 100px;
}
}

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

/*          NELIO ADDITIONS           */

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



.journal-section {
	border-bottom: 1px solid #CCCCCC;
	padding-bottom: 20px;
}
.journal-article {
	clear: both;
	margin: 0 0 20px;
}
.journal-article > p {
	margin: 0;
}
.journal-article .author {
	font-style: italic;
}
.article-volume-number,  .authors {
	margin: 0 0 10px;
}
.authors .field-name {
	font-weight: bold;
}
.authors .field-value {
	font-style: italic;
}
.abstract .field-name {
	font-weight: bold;
}
.abstract .field-value > p:first-child {
	margin: 0;
}

/* End Nelio Customizations */
