/*   
Theme Name: Cardinal
Theme URI: http://web.stanford.edu/design
Description: PLEASE FOLLOW THE QUICK START GUIDE: http://stanford.io/vfX7Il
Version: 1.0
Author: University Communications
Author URI: http://ucomm.stanford.edu/webteam/
*/

@import url("css/custom.css");

.cardinal-red {
  color: #821515;
}
.cardinal-red-text {
  color: #820000;
}

.no-viz {
  visibility: hidden;
}

#main-content img,
.sidebar img {
  max-width: 100%;
  height: auto;
}

.postcard-image {
  width: 170px;
}

.map-link {
  font-size: 0.8em;
  font-style: italic;
  text-align: right;
  margin: -0.5em 0 1em;
}

code {
	display: block;
  white-space: normal;
  background-color: #f2f1eb;
  color: #767676;
  font-size: 0.8em;
	line-height: 1.5;
}

/* Alignment */

.alignleft {
	float: left;
  margin-right: 1em;
}

.alignright {
	float: right;
  margin-left: 1em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/**
 * Widgets
 * -----------------------------------------------------------------------------
 */
.author-info   .fa,
.author-widget .fa {
  margin-right: 1em;
}

#main-content .well h2 {
  font-size: 1.6em;
}

p#author-desc {
  margin-bottom: 1.25em;
}
p#author-url,
p#author-email {
  margin-bottom: 2px;
}

/**
 * Nav
 * -----------------------------------------------------------------------------
 */

#primary-nav li.current-menu-item a {
  border-bottom: 2px solid #8c1515;
}
@media (max-width: 991px) {
  #primary-nav li.current-menu-item a {
    color: #820000;
    border-bottom: none;
  }
}

h2.widgettitle {
  font-size: 1.2em;
  padding: 10px 0 4px;
  text-transform: uppercase;
}

.taxonomy-description {
  margin: -10px 0 20px;
}


/**
 * Post listings
 * -----------------------------------------------------------------------------
 */
.post-listing > div {
  border-bottom: 1px solid #e3dfd5;
  width: 100%;
}
.post-listing > div:last-of-type {
  border-bottom: none;
}

.post-listing-post {
  padding: 0.75em 0;
}

.post-listing-post h2 {
  margin-bottom: 1em;
}
.post-listing .sticky {
  background-color: #f6f3e5;
  padding: 20px;
  border-radius: 10px;
  border-bottom: none;
  margin-bottom: 1.5em;
}

.post-listing .sticky .post-title {
  font-size: 1.6em;
  line-height: 1.1;
  padding: 0 0 0.5em;
  text-transform: uppercase;
}

/**
 * Post meta
 * -----------------------------------------------------------------------------
 */

.post-meta {
  margin-top: -1.0em;
  margin-bottom: 1.75em;
}

.post-meta a {
  color: inherit;
}

.post-attribution {
  font-style: italic;
}

/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */

.nav-links {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
	color: #5f574f;
  line-height: 1.3;
  padding-top: .25em;
}

.post-navigation,
.paging-navigation,
.image-navigation {
	margin-top: 2em;
	padding-top: 0.5em;
  width: 100%;
  border-top: 1px solid #e3dfd5;
}

.post-navigation .prev-post,
.post-navigation .next-post {
  position: relative;
}
.post-navigation .prev-post {
  padding-left: 32px;
}
.post-navigation .prev-post i.fa {
  position: absolute;
  top: 3px;
  left: 15px;
}
.post-navigation .next-post {
  padding-right: 32px;
}
.post-navigation .next-post i.fa {
  position: absolute;
  top: 3px;
  right: 15px;
}

.post-navigation .next-post,
.image-navigation .next-post {
  text-align: right;
}

.post-navigation a,
.image-navigation a {
	color: #5f574f;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}
.post-navigation a i,
.image-navigation a i {
  color: #821515;
}
.post-navigation a .post-title,
.image-navigation a .post-title {
	color: #767676;
  font-weight: 400;
  font-size: 0.85em;
  text-transform: none;
}

.post-navigation a:hover,
.post-navigation a .post-title:hover,
.image-navigation a:hover,
.image-navigation a .post-title:hover {
  color: #821515;
  text-decoration: underline;
}

/* Paging Navigation */

.prev i.fa,
.nav-previous i.fa {
  margin-right: 0.3em;
}
.next i.fa,
.nav-next i.fa {
  margin-left: 0.3em;
}

.paging-navigation .loop-pagination {
	margin: -7px 0 0;
	text-align: center;
}

.paging-navigation .page-numbers {
	display: inline-block;
	padding: 0.5em 1em;
}
.paging-navigation .prev.page-numbers {
  padding-left: 0;
}
.paging-navigation .next.page-numbers {
  padding-right: 0;
}

.paging-navigation a {
	color: #5f574f;
  font-weight: 600;
  text-decoration: none;
}

.paging-navigation .page-numbers.current,
.paging-navigation a:hover {
  background-color: #f2f1eb;
  color: #821515;
}
.paging-navigation a:hover {
  text-decoration: underline;
}


/**
 * 6.14 Comments
 * -----------------------------------------------------------------------------
 */

.comments-area {
	margin: 2em 0 0;
	padding: 1em 0 0;
  width: 100%;
  border-top: 1px solid #e3dfd5;
}

.comment-reply-title,
.comments-title {
	font-weight: 600;
	margin: 0;
	text-transform: uppercase;
}

.comment-list {
	list-style: none;
	margin: 0 0 48px 0;
  padding: 0;
}

.comment-author {
	font-size: 14px;
	line-height: 1.7142857142;
}

.comment-list .reply,
.comment-metadata {
	font-size: 12px;
	line-height: 2;
	text-transform: uppercase;
}

.comment-list .reply {
	margin-top: 1em;
}

.comment-author .fn {
	font-weight: 900;
}

.comment-author a {
	color: #5f574f;
}

.comment-list .trackback a,
.comment-list .pingback a,
.comment-metadata a {
	color: #5f574f;
}

.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
	color: #821515;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 1em;
	padding-top: 1em;
}

.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
	border-top: 0;
}

.comment-author {
	position: relative;
}

.comment-author .avatar {
	border: 1px solid rgba(0, 0, 0, 0.1);
	width: 34px;
  height: auto;
	padding: 2px;
	position: absolute;
	top: 0;
	left: 0;
}

.says {
	display: none;
}

.comment-author,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply,
.comment-metadata {
	padding-left: 48px;
}

.comment-edit-link,
.comment-reply-link,
.comment-navigation a {
  text-decoration: none;
}

.comment-edit-link {
	margin-left: 10px;
}

.comment-edit-link:before { /* fa-pencil */
  font-family: "FontAwesome";
	content: "\f040  ";
}

.comment-reply-link:before { /* fa-reply */
  font-family: "FontAwesome";
	content: "\f112  ";
}

.comment-reply-login:before {
  font-family: "FontAwesome";
	content: "\f412  ";
}

.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
}

.comment-content img {
  max-width: 100%;
}

.comment-content ul,
.comment-content ol {
	margin: 0 0 24px 22px;
}

.comment-content li > ul,
.comment-content li > ol {
	margin-bottom: 0;
}

.comment-content > :last-child {
	margin-bottom: 0;
}

.comment-list .children {
	list-style: none;
}

.comment-respond {
	margin-bottom: 24px;
	padding: 0;
}

.comment .comment-respond {
	margin-top: 24px;
}

.comment-respond h3 {
	margin-top: 0;
	margin-bottom: 0.5em;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
	color: #767676;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as {
	font-size: 14px;
	line-height: 1.7142857142;
}

.no-comments {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.5;
	margin-top: 24px;
	text-transform: uppercase;
}

.comment-form label {
	display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] ,
.comment-form textarea {
	width: 100%;
}

.required {
	color: #c0392b;
}

#cancel-comment-reply-link {
	color: #5f574f;
	float: right;
  margin-top: 2px;
  text-transform: none;
}

#cancel-comment-reply-link:hover {
	color: #821515;
}

#cancel-comment-reply-link i {
  margin-right: 0;
}

.comment-navigation {
	font-size: 12px;
	line-height: 2;
	margin-bottom: 36px;
	text-transform: capitalize;
  background-color: #f2f1eb;
  padding: 2px 0;
}

.comment-navigation .nav-next,
.comment-navigation .nav-previous {
	display: inline-block;
}
.comment-navigation .nav-previous {
  margin-left: 0.6em;
}
.comment-navigation .nav-next {
  float: right;
  margin-right: 0.6em;
}

#comment-nav-above {
	margin-top: 18px;
	margin-bottom: 0;
}

#comment-nav-below {
  margin-top: -36px;
}


/**
 * Media queries
 * -----------------------------------------------------------------------------
 */

@media (max-width: 470px) {
  .paging-navigation .page-numbers {
    font-size: 0.9em;
    padding-left:  0.4em;
    padding-right: 0.4em;
  }
}

@media (min-width: 471px) and (max-width: 510px) {
  .paging-navigation .page-numbers {
    padding-left:  0.5em;
    padding-right: 0.5em;
  }
}

@media (min-width: 511px) and (max-width: 610px) {
  .paging-navigation .page-numbers {
    padding-left:  0.65em;
    padding-right: 0.65em;
  }
}
@media (max-width: 767px) {
}
@media (min-width: 768px) {
}
@media (min-width: 768px) and (max-width: 991px) {
}
@media (max-width: 991px) {
}
@media (min-width: 992px) {
}
@media (min-width: 992px) and (max-width: 1199px) {
  .paging-navigation .page-numbers {
    padding-left:  0.65em;
    padding-right: 0.65em;
  }
}
@media (min-width: 1200px) {
}
