/** Non-compiled CSS file for when compiling isn't a practicable option.
 * See internal email thread re: ticket INC000002792217 for conversation.
 */

.story.story-external {
  margin-top: 1.5rem;
}
.story.story-external .publication-name {
  font-size: 1.125rem;
  top: -1.125rem;
  padding: 0 .5rem 0 0;
  font-weight: 600;
  max-height: 25px;
  width: auto;
  text-align: center;
  margin: auto;
  position: absolute;
  background: #fff;
  display: inline-block;
}


/* Featured story card spacing fixes (April 2020) */
body.node--landing .story-lg {
	margin-bottom: 34px;
}

body.node--landing .row-lead-story .story-lg {
	margin-bottom: 0;
}

body.node--landing .story-md {
	margin-bottom: 22px;
}

a.btn-secondary:link,
a.btn-secondary:visited {
	color: #fff;
	text-decoration: none;
}

.margin-top.margin-xl {
	margin-top: 2.5rem;
}
.margin-bottom.margin-xl {
	margin-bottom: 3rem;
}

.text-strong {
	font-weight: 700;
}
.text-lg {
	font-size: 18px;
}

/* Search Fixes (August 2020) */

/*
.cornell-search .form-item-search-api-fulltext label.control-label {
    display:none;
}

.cornell-search .form-item-date-start label.control-label {
    display:none;
}

.cornell-search .form-item-date-end label.control-label {
    display:none;
}
 */

/* Homepage Around Cornell Link Styling */

a.tax-linked {
	color: #b31b1b !important;
}

a.tax-linked a:link,
a.tax-linked:visited {
	text-decoration: none;
}

a.tax-linked:hover,
a.tax-linked:active {
	text-decoration: underline;
}

.stories-heading.stories-heading-primary.reg-title h2 {
	color: #000000;
}

/* Stories Subscribe */

.subscribe-wrapper hr {
	margin-left: 0;
	margin-right: 0;
}

.subscribe-container {
	background: #f7f7f7;
	text-align: center;
	padding: 2em;
}

.subscribe-container p {
	font-weight: bold;
}

.subscribe-container .btn-tertiary {
	border: none;
	background-color: #a10101;
}

.subscribe-container .btn-tertiary:hover {
	background-color: #8f0101;
}

/* Stories Category Identifier */

.category-identifier {
	text-align: center;
	margin: 2rem 0 3rem;
}

.category-identifier-box {
	background-color: #f7f7f7;
	display: inline-block;
	font-family: 'freight-sans-pro-n5', 'freight-sans-pro', sans-serif;
	font-size: 1rem;
	padding: 0.75em 1.5em;
}

.category-identifier-name {
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 0;
}

.category-identifier-name::after {
	content: "";
	display: block;
	border: 2px solid #b31b1b;
	width: 2rem;
	margin: 0.25rem auto 0.5rem;
}

.category-identifier-description {
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
}

.g-recaptcha {
	margin-bottom: 1em;
}

/* Broken SVG path fix */
.form-required:after {
	background-image: url(../../../core/themes/claro/images/core/ee0000/required.svg);
	background-size: 7px 7px;
	height: 7px;
	width: 7px;
	margin-left: 4px;
	margin-bottom: 9px;
	vertical-align: middle;
}

/*** Upnext styling ***/

.addtoany_list {
	display: block;
	position: relative;
	text-align: center;
}

.addtoany_list a {
	background-color: #f7f7f7 !important;
	border: 1px solid #eaeaea;
	padding: 6px 10px;
	margin: 0px 2px;

	margin-bottom: 5px;
}

.addtoany_list > a > .a2a_svg {
	background-color: transparent !important;
	display: flex;
	align-items: center;
}

.a2a_svg > svg {
	height: 20px !important;
	width: 32px !important;
}

.a2a_button_facebook .a2a_s_facebook svg path {
	fill: #3b5998 !important;
}

.a2a_button_twitter .a2a_s_twitter svg path {
	fill: #55acee !important;
}

.a2a_button_email .a2a_s_email svg path,
.addtoany_share .a2a_s__default svg path {
	fill: #707070 !important;
}

.addtoany_list > a > .a2a_svg {
	width: 20px;
	height: 32px;
}

.addtoany_list.a2a_kit_size_32 a > span {
	width: 20px;
}

.a2a_mini_services .a2a_svg svg,
.a2a_wide .a2a_more svg,
.a2a_full_footer svg {
	width: auto !important;
	height: auto !important;
}

#a2apage_dropdown {
	left: 345px;
	top: 668px;
}
.a2a_full {
	height: calc(480px) !important;
}

.a2a_full_services .a2a_i {
	text-align: center !important;
	margin-bottom: 25px !important;
}

.a2a_full_services .a2a_i span {
	width: 50px !important;
	height: 50px !important;
	border-radius: 25px !important;
	line-height: 50px !important;
	display: block !important;
	margin: 0 auto !important;
	display: flex !important;
	align-items: center !important;
}

.a2a_full_services .a2a_i svg {
	height: 40px !important;
	width: 40px !important;
}

.a2a_full_services .a2a_i .a2a_svg {
	margin-bottom: 10px !important;
}

@media (min-width: 992px) {
	.addtoany_list {
		display: flex;
		flex-direction: column;
		position: absolute;
		margin-left: -167.5px;
	}

	.addtoany_list a:not(:first-child) {
		margin-top: 5px;
	}
}

.stories .byline span div.byline-unit:after {
	display: inline-block;
	content: ';';
}
.stories .byline span div.byline-unit:last-child:after {
	display: none;
}

article.node--type-stories header .byline.date,
article.container header .byline.date {
	display: block;
	text-align: center;
}
.byline a,
.byline a:link {
	color: #255a76;
	text-decoration: underline;
}

.byline a:hover,
.byline a:focus {
	color: #193c4f;
}

h2.byline {
	text-align: center;
	white-space: normal;
}

/* Bylines (11/18 */

body.node--stories .byline {
	margin-right: 0.8%;
}

/* In Content Full Width Images 10/22 */

@media (min-width: 992px) {
	body.node--stories .paragraph--type--section-image.width-full-width {
		margin-top: 30px;
		margin-bottom: 30px;
		margin-left: calc(-50vw + 320px);
		margin-right: calc(-50vw + 320px);
	}
	body.node--stories .paragraph--type--section-image.width-full-width img {
		width: 100%;
	}
	body.node--stories .paragraph--type--section-image.width-full-width figcaption {
		max-width: 640px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Media Inquiry Section - Button Contrast */

#media-inquiry .btn-primary:link {
	color: #fff;
	background-color: #b31b1b;
	border-color: #921616;
	text-decoration: none;
}
#media-inquiry .btn-primary:link:hover,
#media-inquiry .btn-primary:link:focus {
	color: #fff;
	background-color: #9d1818;
	border-color: #921616;
}

/* saml_sp login buttons */
ul[data-drupal-selector="edit-saml-sp-drupal-login-links"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 2em 0;
  padding: 0;
}

ul[data-drupal-selector="edit-saml-sp-drupal-login-links"] .login-link-button a {
  display: inline-block;
  color: #fff;
  padding: 24px 36px;
  font-size: 20px;
  line-height: 1.33333;
  border-radius: 0px;
  background-color: #3787b0;
  border-color: #31789d;
  text-decoration: none;
  white-space: nowrap;
  min-width: 180px;
  text-align: center;
}
ul[data-drupal-selector="edit-saml-sp-drupal-login-links"] .login-link-button a:hover {
  background-color: #2b6989;
  border-color: #22536c;
}
ul[data-drupal-selector="edit-saml-sp-drupal-login-links"] .login-link-button {
  list-style: none;
  margin: 0 1em 1em 0;
}

/* Toolbar icon for planning display */
a[data-drupal-link-system-path="admin/content/stories"]:before {
  background-image: url('/themes/contrib/stable/images/core/icons/787878/file.svg');
}

.all-stories #edit-reset-all-stories,
.cornell-search #edit-reset-search {
  display: inline-block;
  width: auto;
  border-radius: 0;
  background-color: transparent;
  text-decoration: underline;
  color: #255a76;
  padding: 3px 0;
  margin: 0 25px;
}
