@import url('../twentyfourteen/style.css');
/*   
Theme Name: Child of 2014
Theme URI: 
Description: Customized for Wild Virginia off of Wordpress default theme 2014
Author: Johnny Mac
Version: 1.0
Tags: simple, right sidebar, responsive, custom header
Template: twentyfourteen
Copyright (c) 2014 Johnny Mac
*/

/* remove the left padding on the home page featured slides */
.featured-content {padding-left: 0px;}

/* hide left sidebar */
#secondary {display:none; margin:0; padding:0;}
.site:before {width: 0;}

/* reduce max-width of site from 1260px and center entire site */
#page, .site-header { max-width:1010px; margin:0 auto; }

/* remove main content text left margin */
.site-content, .site-main .widecolumn { margin-left: 0px; }

/* change menu selection green color indicator */
::selection {background:#3E993C;}
::-moz-selection {background:#3E993C;}

.search-toggle:hover, .search-toggle.active {background-color: #3E993C;}

/* reduce black space beneath the captions of the home page featured slides */
.grid .featured-content .entry-header { height:auto; max-height: 120px; }

/* reduce white space above main content and sidebar text */
.content-area, .content-sidebar {padding-top: 24px;}

/* Adjust sidebar main header and widget titles */
.content-sidebar .widget .widget-title {
    border-top: 5px solid #000000;
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 18px;
    padding-top: 7px;
    text-transform: none; 
}
.content-sidebar #sidebar-title {
    margin: 0 0 12px;
    text-transform: uppercase;
    color: #2B2B2B;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.71429;
}

/* reduce space underneath widget text */
.widget {margin-bottom: 12px;}

/* define indented para */
p.indent { margin-left:5%; }

/* get rid of end of line word-hyphenation */
.entry-content, .entry-summary, .page-content {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	word-wrap: none;
}

/* style the caption under featured images on post pages */
span.post-thumbnail-caption { font-style:italic; text-transform:none; float:right; margin-top:-8px; margin-bottom:8px;}

/* make sure featured images on post pgs are centered */
img.wp-post-image { display:block; margin-left:auto; margin-right:auto; }

/* style site breadcrumbs above page titles */
p#breadcrumbs { font-size:.7em; margin:0 0.5em 1em 2em; }	

/* put border around input boxes e.g. on event reg pgs */
span.fieldbox input { border:1px solid grey; }

/* expand page content width on full width template pgs */
.full-width .entry-content { max-width:80%; }

/* Adjust header on Blog page which is actually a modified category template page */
header#blog-header { padding-left:0; margin-bottom: 24px; font-style:italic; }

@media screen and (min-width: 783px) {

/* reduce nav menu item font size so menu doesn't span two lines */
.primary-navigation a { font-size: 1em; }

.header-main { padding-left:0; }

}

@media screen and (min-width: 846px) {

/* increase menu item font size */
.primary-navigation a { font-size: 1.2em; }

}

@media screen and (max-width: 846px) {

/* fix display of donation page from email campaign */
#salsa #right_container {  clear:left  }

}
