/*
Theme Name: Salient Child Theme
Theme URI: http: //media.amtrak.com
Description: This is a custom child theme for the Amtrak Media website
Author: Stratacomm
Template: salient
Version: 2020.12
*/

/** Global Layout **/

body[data-header-resize="0"] .container-wrap, .container-wrap {
	padding: 0px 0px 30px;
}

a {
	color: #007289;
	text-decoration:underline;
}

a:hover {
	color: #007289;
	text-decoration:underline;
	opacity:.8;
}


#top {
	border-top: 20px solid #002748;
}

#header-space {
	min-height: 180px !important;
}

#header-outer {
	padding-top:0px !important;
} 

#amtrak-logo, #top #logo {
	display: inline-block;
}

#amtrak-logo-box {
	width: 260px;
	height: 82px;
	background-image: url(/wp-content/themes/salient-child/img/Amtrak_blue.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin: 30px auto 0px;
	display: inline-block;
}

#logo, #logo-home {
	margin-top: 10px !important;
	margin-bottom: 40px !important;
}

#logo-home {
	display: none;
}

#top #logo img, #top #logo-home img{
	max-width: 250px;
	height: auto !important;
}

#user-faves {
	position: absolute;
	top: 10px;
	right: 30px;
}

#user-faves a:hover {
	text-decoration: underline;
}

#user-faves img, #user-faves-mobile img {
	width: 15px;
	margin-bottom: 0px;
	margin-right: 5px;
}

h2 {
	color: #004869;
	margin-bottom: 20px;
}

body:not([data-header-format="left-header"]) #top .sf-menu li ul {
	background-color: #ffffff !important;
} 

.sub-menu li {
    padding: 10px 20px;
    font-weight: bold !important;
    text-transform: uppercase;
}

#header-outer .sf-menu li ul li a {
	font-size: 16px !important;
	line-height: 18px;
}

#header-outer .sf-menu li ul li:hover, #header-outer .sf-menu li ul li a:hover  {
	background-color: #f5f5f5 !important;
}

.sub-menu .current-menu-item {
	background-color:#f5f5f5;
}

.content-inner ul li ul li {
	list-style-type: circle;
}

.row .col.section-title {
    padding: 0 0 20px 0;
    margin-bottom: 30px;
}

.search-results div#sidebar, .search-results .title span {
    display: none !important;
}


.search-results .col.span_9 {
    width: 100% !important;
}


/** Emergy Alerts **/

.alertText {
	text-align: center;
	padding: 10px;
	font-size: 75%;
	line-height: 120%;
}

.alert-intro {
	padding-right: 10px;
	font-weight: bold;
	font-size: 145%;
}

.alertContainer {
	background-color: #004f6d;
	color: #ffffff;
}

.alertContainer a{
	color: #ffffff;
	font-style: italic !important;
	text-decoration: underline;
}

.alertLabel {
	padding-right: 10px;
}
 
.alertText img {
	max-width: 30px;
	margin-right: 10px;
    vertical-align: bottom;
}

/** Footer **/

#footer-above {
    /* background: url(/wp-content/themes/salient-child/img/diagonal-repeater-30x4.png) repeat left top; */
    padding: 20px;
}

#footer-journey-line {
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: visible;
}

#twitter-feed {
	max-width: 1245px;
	margin: 0px auto;
	background-color: #bacbdb;
	padding: 20px;
}

.ctf-carousel .ctf-owl-stage {
	display: flex;
}

#ctf .ctf-item {
	height: 100%;
	flex: 1;
	padding: 15px 25px;
}

.ctf-feed-1.ctf-fixed-height {
	padding-top: 20px;
}

#ctf.ctf-carousel #ctf-more {
	margin-top: 0px;
}

#footer-outer {
    /* background: url(/wp-content/themes/salient-child/img/diagonal-repeater-30x4.png) repeat left top; */
    position: relative;
    overflow: hidden;
}
#footer-outer .row {
    padding: 30px 0px 0px;
}

#footer-widgets .wp-container-1 {
    gap: 0.8em;
 }

#footer-widgets .widget_text > p > a {
	color: #00ff68 !important;
	text-decoration: underline;
}

.footer-icon-list {
	font-size: 24px;
    line-height: 40px;
}

.footer-icon-list img {
	display: inline-block;
    margin-right: 10px;
    margin-bottom: 0px !important;
    width: 25px !important;
    vertical-align: text-bottom;
}

.footer-icon-list a {
	font-size: 110%;
	text-decoration:none;
}

.footer-icon-list a:hover {
	text-decoration: underline;
}

#footer-outer #copyright[data-layout="centered"] {
    padding: 15px 0;
}

#footer-widgets .container {
	padding-bottom: 35px;
}


/** Homepage **/

.home #header-outer {
  background: linear-gradient(#004f6d 60%, #004f6dc9 90%);
  border-bottom: 0px !important;
}

.home #header-outer[data-format="centered-menu-under-logo"] #top #logo {
	display: none;
}

.home #header-outer[data-format="centered-menu-under-logo"] #top #logo-home {
	display: inline-block;
	vertical-align: text-bottom;
}

.home #header-outer #top #logo-home img {
    margin: 0 auto 0 auto;
    width: 173px;
    height: 19px;
}

.home #header-space {
	background-color: transparent;
}

.home #amtrak-logo-box {
	background-image: url(/wp-content/themes/salient-child/img/Amtrak_white.svg);
}

.home #top .sf-menu li ul {
	opacity: .9;
}

.home #header-outer #top nav > ul.sf-menu > li > a, .home #header-outer #top nav ul #search-btn a span, .home #header-outer #top nav ul #search-btn a span:hover,  .home #header-outer #top nav ul #search-btn a span:focus {
	color: #ffffff !important;
}

.home #header-outer #top nav .sf-menu > .menu-item-over > a, .home #header-outer[data-lhe="default"] #top nav .sf-menu > .sfHover:not(#social-in-menu) > a.sf-with-ul, .home #header-outer[data-lhe="default"] #top nav .sf-menu > .sfHover:not(#social-in-menu) > a:focus  {
	color: #ffffff !important;
	opacity: .9;
}

.home #user-faves a {
	color: #ffffff;
}

.home-gallery {
		max-height: 320px;
		overflow: hidden;
}

.home .download-icon {
    padding: 10px;
    background-color: #1F1F1F;
    color: #ffffff;
    opacity: .85;
    display: inline-block;
    width: 175px;
    float: right;
    margin-right: -175px;
    position: relative;
    right: 175px;
    margin-top: -300px;
    top: 300px;
    text-align: right;
    font-size: 80%;
}

.home .download-icon:hover {
	opacity: 1;
}

.home .download-icon img {
    vertical-align: middle;
    max-width: 25px !important;
    margin-top: -10px;
}

.home .featured-gallery .download-icon {
    float: right;
    right: 0px;
    margin-right: 0px;
    margin-top: -440px;
    width: 35px;
    padding: 8px 5px 5px 6px;
}

.home .featured-gallery {
	display: flex;
    max-width: 2000px;
    align-items: center;
    margin: 0px auto;
    max-height: 300px;
    overflow: hidden;
}

.home #featured {
	padding-top: 100px;
}

.home #featured .featured-main {
	max-height: 750px;
	width: 100%;
	margin: 0px auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home #featured .featured-main img {
	width: 100%;
	max-width: 2000px;
}

.home .featured-gallery-column {
	width: 33.33%;
}

.home .featured-gallery-column img{
	max-width: 100%;
}


.home h1 {
	font-weight: bold;
	color: #002748;
}


.home .nectar-post-grid-filters {
	background-color: transparent;
	text-align: left;
	padding: 14px 0px;
}

.home .nectar-post-grid-filters a {
	background-color: #d9d9d9;
	color: #002748;
	padding: 15px 25px;
    margin: 0px;
    border-left: 1px solid white;
    border-right: 1px solid white;
    font-weight: 700;
}

.home .nectar-post-grid-filters a:first-child {
	border-left: 0px;
}

.home .nectar-post-grid-filters a:last-child {
	border-right: 2px solid white;
}

.nectar-post-grid-filters a:after {
    content: none;
}

.nectar-post-grid-filters a.active, .nectar-post-grid-filters a:hover  {
    background-color: #002748;
    color: #ffffff;
}

.nectar-post-grid .nectar-post-grid-item-bg {
	background-image: url(/wp-content/themes/salient-child/img/amtrak-logo-blue-background.png);
}

.nectar-post-grid .nectar-post-grid-item .content .meta-category {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #002748;
    padding: 5px 5px 0px 10px;
}

.nectar-post-grid .nectar-post-grid-item .content .meta-category a {
	color: #ffffff;
	font-style: normal;
    font-weight: bold;
    font-size: 80%;
} 

.nectar-post-grid .nectar-post-grid-item .content .meta-category a:hover {
	text-decoration: underline;
}

.nectar-post-grid .nectar-post-grid-item .content {
    padding: 35px 35px 5px 35px;
}

.nectar-post-grid .meta-date {
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/** Individual Post Pages (single.php) **/

.post-area .content-inner {
	font-size: 20px;
	line-height: 28px;
}

.post-details .col{
	text-align:  center;
	margin: 0px auto;
}

.meta-category {
	display: inline-block;
	color: #888888;
}

.meta-category a {
	color: #7bc3cf;
	font-style: italic;
}

.meta-category a:hover {
	text-decoration: underline;
}

.single .heading-title {
	border-bottom: 0px;
	padding-bottom: 0px;
}

.post-featured-image {
	background-image: url(/wp-content/themes/salient-child/img/placeholder.png);
	min-height: 700px;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	background-position: center center; 
	max-width: 2000px;
	margin: 0px auto;
}

.post-featured-image img {
	width: 100%;

}

#featured-journey-line {
	position: absolute;
	bottom: 100px;
	right: 0;
	opacity: .6;
}

.blog-title {
    max-width: 900px;
    margin: -40px auto 0px !important;
    background-color: #002748f0;
    color: #ffffff;
    float: none;
    padding: 30px 80px 40px!important;
}

.video-title {
	margin: 0px auto !important;
	max-width: none;
	text-align: center;
	padding-top: 50px !important;
    padding-bottom: 50px !important;
    background-color: #002748f0;
    color: #ffffff;
    float: none;
}

.video-title h4, .video-title h1 {
	max-width: 900px !important;
    margin: 0px auto;
    text-align: left;
    color: #ffffff;
}

iframe {
	margin-top: 20px;
	margin-bottom: 20px;
}

.video-download-button {
	background-color: rgba(0,79,109,100);
    color: #ffffff;
    padding: 15px 30px;
    margin:0px auto 20px;
    display: block;
    min-width: 200px;
    max-width: 300px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    font-family: 'Open Sans';
    border-radius: 10px;
}

.video-download-button a {
	color: #ffffff;
}

.category-video .content-inner, .category-image .content-inner {
	padding-bottom: 0px;
}

.blog-title h1, .blog-title h4 {
	color: #ffffff;
}

.blog-title h1 {
	text-transform: none !important;
	font-size: 40px !important;
	line-height: 46px !important;
}

.post-content {
	max-width: 900px;
	margin: 0px auto;
}

.function-links {
	display: inline-block;
	float: right;
}

.pdfprnt-buttons {
	display: inline-block;
}

.content-inner {
	clear: both;
}

.simplefavorite-button {
	border-width: 0px;
	background-color: transparent;
	cursor: pointer;
}

.simplefavorite-button img {
	margin-bottom: 0px !important;
}

.simplefavorite-button.active {
	opacity: 1 !important;
}

.post-details {
	background-color: #eff2f3 !important;
}

.author-info {
	background-color: #ffffff;
	text-align: center;
	max-width: 500px;
	margin: 0px auto;
	float: none;
	padding: 5px 40px 20px;
}

.author-info h3 {
	font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.related-assets h2 {
	font-style: normal;
}

.related-assets ul {
	margin: 0px;
}

.related-assets li {
	list-style-type: none;
	display: inline-block;
	max-width: 30%;
	margin-right: 10px;
	margin-left: 10px;
}

.related-assets img {
	border-bottom: 10px solid #dd4833;
	margin-bottom: 0px !important;
}


.download-icon {
    position: relative;
    bottom: 75px;
    right: 10px;
    float: right;
}

.download-icon img {
	border-bottom: 0px;
}

.related-updates h4, .about-text h4 {
	color: #004869;
	font-size: 28px;
	margin-bottom: 15px !important;
}

.related-updates, .about-text {
	padding-left: 8%;
	padding-right: 8%;
	font-size: 20px;
	line-height: 24px;
	color: #004869;
	text-align: left !important;
}

.related-updates ul {
	margin-left: 0px;
}

.related-updates li{
	list-style-type: none;
	margin-bottom: 20px;
}

.related-updates li a{
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
}

.vertical-image-container {
	max-width: 40%;
    padding: 10px 10px 10px 20px;
    float: right;
}
.vertical-image-caption {
	font-size: 80%;
	line-height: 110%;
	font-style: italic;
}

.nectar-post-grid .nectar-post-grid-item .content .post-heading {
    max-width: 80%;
    font-weight: bold;
    font-size: 110%;
}

/** Your Favorites Page **/

.favorites-list li {
	list-style-type: none;
}

.favorites-list li a:before {
	content: '' !important;
    background: url(/wp-content/themes/salient-child/img/heart-icon-red.png);
    width: 15px;
    height: 13px;
    margin-right: 10px;
    background-size: contain;
    display: inline-block !important;
    background-repeat: no-repeat;
    background-position: center;
}

.simplefavorites-clear {
	background-color: rgba(0,79,109,100);
    color: #ffffff;
    padding: 15px 30px;
    margin-top: -20px;
    margin-bottom: 10px;
    margin-right: 10px;
    min-width: 200px;
    max-width: 300px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    font-family: 'Open Sans';
    border-radius: 10px;
    cursor: pointer;
}

.simplefavorites-clear a {
    color: #ffffff;
}
.home .nectar-post-grid-filters a {
	text-decoration: none !important;
}
.nectar-post-grid .nectar-post-grid-item .content .meta-category a { 
	text-decoration:none !important;
}


/** Removing the Post Major Projects from showing on the grid post filters **/
/*.nectar-post-grid-filters a:nth-child(4) {
	display: none !important;
}*/

/** Mobile Styles **/

@media only screen and (max-width: 999px) {
	#amtrak-logo-box {
   		margin: 10px 0px 0px;
   		width: 200px;
    	height: 42px;
	}
	.alertText img {
		max-width: 20px;
		vertical-align: middle;
	}
	#user-faves {
    	display: none;
	}

	#user-faves-mobile {
    	margin-top: 20px;
	}

	#top .mobile-search, #top .span_9 >.slide-out-widget-area-toggle {
		top: 20px;
	}
	#logo, #logo-home {
    	vertical-align: top !important;
    	margin-bottom: 0px !important;
    	margin-top: 27px !important;
	}

	#top #logo-home img {
		height: 15px !important;
		width: auto !important;
	}

	#top .col.span_9, body.ascend #header-outer[data-format="centered-menu-under-logo"] #top .row .span_9, body.original #header-outer[data-format="centered-menu-under-logo"] #top .row .span_9, body.material #header-outer[data-format="centered-menu-under-logo"] #top .row .span_9, #header-outer[data-format="centered-menu-under-logo"] #top .span_9, #header-outer[data-format="centered-menu-bottom-bar"] #top .span_9 {
    	top: -12px;
	}
	.alert-intro {
		font-size: 100%;
	}
	.alert-icon {
    	font-size: 150%;
	}

	#footer-widgets h2 {
		background-color: #1F1F1F;
		padding: 20px;
	}

	#footer-widgets .container .col.span_4 {
    	margin-bottom: 0px;
	}

	#footer-widgets .wp-container-1 {
    	gap: 0.7em;
	}	
	#footer-widgets .container .col #block-9{
    	margin-bottom: 0px;
	}
	#footer-widgets .container .col #block-9 a{
    	width: 130px !important;
	}
	#footer-widgets .container .row > div:last-child {
		width: 100%;
	}

	#footer-journey-line {
		display: none;
	}
	.cropped-horizontal {
		display: none;
	}

	.big-gallery-image .portfolio-wrap .portfolio-items .col .work-info .vert-center {
    	top: 55%;
	}

	.home-wrap {
		padding-top: 1.5em;
	}

	.home #header-outer .col .mobile-search .icon-salient-search {
		color: #ffffff !important;
	}
	.home #header-outer #top .slide-out-widget-area-toggle a .lines:before, .home #header-outer #top .slide-out-widget-area-toggle a .lines-button:after, .home #header-outer #top .slide-out-widget-area-toggle a .lines:after {
		background-color: #ffffff;
	}

	.home #featured {
		padding-top: 70px;
	}

	.home .download-icon {
    	padding: 5px;
    	width: 200px;
    	font-size: 14px;
    	margin-right: -200px;
    	right: 200px;
    	margin-top: -400px;
	}

	.home .download-icon img {
    	max-width: 30px !important;
	}

	.home .featured-gallery .download-icon {
	    margin-top: -370px;
	    width: auto;
	    padding: 10px 10px 10px 2px;
	}

	.home .nectar-post-grid-filters {
	    background-color: transparent;
	    padding: 0px;
	}

	.home .nectar-post-grid-filters h4{
	    padding: 5px 40px 5px 60px;
	    width: 100%;
	}

	.post-featured-image {
	    min-height: 300px;
	    height: 300px;
	    max-height: 300px;
	    overflow: hidden;
	}

	.video-title h4, .video-title h1 {
		max-width: 600px !important;
	}

	.blog-title h1 {
   		text-transform: none !important;
    	font-size: 30px !important;
    	line-height: 36px !important;
	}

	.blog-title {
    	padding: 30px 60px 40px!important;
	}
	.related-assets ul {
		margin-left: 0px;
		margin-bottom: 0px;
	}
	.related-assets li {
		max-width: 600px;
	}

	.related-assets img {
		margin-bottom: 0px !important;
	}

	.related-updates h4, .about-text h4 {
    	font-size: 24px;
    }

    .related-updates, .about-text {
    	font-size: 16px;
    	line-height: 22px;
	}

	.about-text {
		margin-top: 30px !important;
	}

	.row .col.section-title.project-title, .row .col.section-title.blog-title {
    	max-width: 600px;
	}
	.download-icon {
    	bottom: 70px;
    	right: 30px;
    	display: block;
    	text-align: right;
    }
}

@media only screen and (max-width: 690px) {
	
	.home #header-outer[data-transparent-header="true"].transparent{
    	background-color: #004f6d !important;
    	background-image: none;
	}
	.home .featured-gallery, .home .download-icon {
		display: none;
	}

	.home #featured {
		padding-top: 120px;
	}

	.home .nectar-post-grid-filters a {
    	padding: 7px 10px;
    	font-size: 80%;
	}
	#logo, #logo-home {
    	vertical-align: top !important;
    	margin-bottom: 0px !important;
    	margin-top: 3px !important;
		margin-left:10px
	}
	#footer-widgets {
		text-align: center;
	}
	#footer-outer #footer-widgets .col ul {
		display: block;
	}
	#footer-outer #footer-widgets .col ul li {
		display: inline-block;
		margin-right: 10px;
		margin-left: 10px;
	}
	#footer-widgets .container .col #block-9 a{
    	width: 150px !important;
	}
	#block-25 {
		text-align: left;
		padding-left: 20%;
	}
	.vertical-image-container {
		max-width: 90%;
		float: none;
		margin-bottom: 20px;
	}
	.blog-title {
    	padding: 25px!important;
	}

	.video-title h4, .video-title h1 {
		max-width: 420px !important;
    }
}

body.attachment .attachment a img {

	width: 100% !important;
	max-width: 500px !important;

}

body.attachment .attachment a {

	display: block;
	text-align: center;

}

body.attachment .pdfprnt-buttons {
	display: none;
}
