/*
Theme Name:     Twenty Fourteen - Princeton
Theme URI:      http: //blogs.princeton.edu
Description:    Princeton child theme for Twenty Fourteen with minor customizations. The 2014 default theme for WordPress is "a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors."
Version:        1.0 
Author:         Web Development Services
Author URI:     http: //www.princeton.edu/wds
Template:       twentyfourteen
Tags: black, orange, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: twentyfourteen 
*/

@import url("../twentyfourteen/style.css");

/* Custom Princeton footer - Trustees and logo */

#footerinfo {
    float: left;
    margin-bottom: 1em;
}

#footerlogo a {
    background: url(images/logobar_logo_white.png) no-repeat top right;
    width: 148px;
    height: 42px;
    text-indent: -9999px;
    display: block;
    float: right;
    margin-bottom: 1em;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {   
  #footerlogo a {
    background-image: url(images/logobar_logo_white_2x.png);
    background-size: 148px 42px;
  }
}

#footerinfo p,
#footerlogo p {
    margin: 0;
}
#footerinfo .sharing,
#footerlogo .sharing {
    display: none;
}

.site-info {
	padding: 2em 15px 0.75em 15px;
}

@media screen and (min-width: 673px) {
	.site-info {
		padding: 2em 30px 0.75em 30px;
	}
}

.clear {
    clear: both;
}

#ed_toolbar {
	text-align: right;
}

iframe {
max-width:100%;
}

.widget-area .widget h3 {
	margin-bottom: 0;
}

/* Theme overrides */

.site {
margin-right: auto;
margin-left: auto;
}

.site-description {
	font-size: 14px;
}

/* Outrageous Orange */

a,
.content-sidebar .widget a {
/* 	color: #24890D;  */
	color: #fa7f00;
}

.search-toggle,
.hentry .mejs-controls .mejs-time-rail .mejs-time-current,
.widget_calendar tbody a,
button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"],
.widget button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"],
.content-sidebar .widget input[type="button"],
.content-sidebar .widget input[type="reset"],
.content-sidebar .widget input[type="submit"],
.slider-control-paging .slider-active:before,
.slider-control-paging .slider-active:hover:before,
.slider-direction-nav a:hover,
.secondary-navigation li:hover > a,
.secondary-navigation li.focus > a {
/* 	background-color: #24890D;  */
	background-color: #fa7f00;
}

.paging-navigation .page-numbers.current {
	border-top-color: #fa7f00;
}

::selection {
	background: #fa7f00;
}

::-moz-selection {
	background: #fa7f00;
}

a:active,
a:hover,
.widget a:hover,
.site-navigation a:hover,
.entry-title a:hover,
.entry-meta a:hover,
.cat-links a:hover,
.entry-content .edit-link a:hover,
.post-navigation a:hover,
.image-navigation a:hover,
.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover,
.comment-reply-title small a:hover,
.widget-title a:hover,
.widget_twentyfourteen_ephemera .entry-meta a:hover,
.content-sidebar .widget a:hover,
.content-sidebar .widget .widget-title a:hover,
.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover,
.site-info a:hover,
.featured-content a:hover {
/* 	color: #41a62a;  */
	color: #ff9326;
}

button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.widget input[type="button"]:hover,
.widget input[type="button"]:focus,
.widget input[type="reset"]:hover,
.widget input[type="reset"]:focus,
.widget input[type="submit"]:hover,
.widget input[type="submit"]:focus,
.content-sidebar .widget input[type="button"]:hover,
.content-sidebar .widget input[type="button"]:focus,
.content-sidebar .widget input[type="reset"]:hover,
.content-sidebar .widget input[type="reset"]:focus,
.content-sidebar .widget input[type="submit"]:hover,
.content-sidebar .widget input[type="submit"]:focus,
.search-toggle:hover,
.search-toggle.active,
.search-box,
.entry-meta .tag-links a:hover,
.page-links a:hover,
.widget_calendar tbody a:hover,
.slider-control-paging a:hover:before {
/* 	background-color: #41a62a;  */
	background-color: #ff9326;
}

.entry-meta .tag-links a:hover:before {
	border-right-color: #ff9326;
}

.paging-navigation a:hover {
	border-top-color: #ff9326;
}

.page-links a:hover {
	border-color: #ff9326;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
.widget input[type="button"]:active,
.widget input[type="reset"]:active,
.widget input[type="submit"]:active,
.content-sidebar .widget input[type="button"]:active,
.content-sidebar .widget input[type="reset"]:active,
.content-sidebar .widget input[type="submit"]:active {
/* 	background-color: #55d737;  */
	background-color: #ffad33;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #ffad33;
}


@media screen and (min-width: 783px) {
	.primary-navigation ul ul {
		background-color: #fa7f00;
	}
	
	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #fa7f00;
	}
	
	.primary-navigation ul ul a:hover,
	.primary-navigation ul ul li.focus > a {
		background-color: #ff9326;
	}
}


@media screen and (min-width: 1008px) {
	.secondary-navigation ul ul,
	.secondary-navigation li:hover > a,
	.secondary-navigation li.focus > a {
	/* 	background-color: #24890D;  */
		background-color: #fa7f00;
	}

	.secondary-navigation ul ul a:hover,
	.secondary-navigation ul ul li.focus > a {
	/* 	background-color: #41a62a;  */
		background-color: #ff9326;
	}

	.footer-sidebar .widget, .primary-sidebar .widget {
		font-size: 90%;
	}
	
	.footer-sidebar .widget .widget-title, .primary-sidebar .widget .widget-title {
		font-size: 12px;
	}
}

@media screen and (max-width: 400px) {
	.site-content .coauthors span.byline .author span:after {
		content: ",";
	}
	.site-content .coauthors span.byline .author span.last:after {
		content: "";
	}
}

@media screen and (min-width: 401px) {
	.site-content .coauthors span.byline .author span:before {
		webkit-font-smoothing: antialiased;
		display: inline-block;
		font: normal 16px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
		content: "\f304";
	}
	.site-content .coauthors span.byline .author span {
		white-space: nowrap;
	}
}

/* Full width page template support */
/* www.transformationpowertools.com/wordpress/real-full-width-page-template-twentyfourteen */

.page-template-page-templatesreal-full-width-php .site {
    width: 100%;
}
 
.page-template-page-templatesreal-full-width-php  .hentry {
    margin: 0 auto 48px;
    max-width: 90%;
}
 
.page-template-page-templatesreal-full-width-php .site-content .entry-header,
.page-template-page-templatesreal-full-width-php .site-content .entry-content,
.page-template-page-templatesreal-full-width-php .site-content .entry-summary,
.page-template-page-templatesreal-full-width-php .site-content .entry-meta,
.page-template-page-templatesreal-full-width-php .page-content {
    margin: 0 auto;
    max-width: 90%;
}
 
.page-template-page-templatesreal-full-width-php .main-content,
.page-template-page-templatesreal-full-width-php .content-area {
    float: left;
    width: 100%;
}
.page-template-page-templatesreal-full-width-php .site-content,
.page-template-page-templatesreal-full-width-php .site-main .widecolumn {
    margin-left: 0;
}
 
.page-template-page-templatesreal-full-width-php .site:before {
    width: 0;
}
 
.page-template-page-templatesreal-full-width-php .site-content {
    margin-left: 0;
    margin-right: 0;
}

.page-template-page-templatesreal-full-width-php .search-box-wrapper {
    padding-left: 0;
}
 