@charset "UTF-8";
/*!
Author: Red Pearl Design Company
Description: Custom CSS added to mediaX at Stanford University
Version: 1.0.0
*/


/* General Styling - Override Minified CSS */
em {
    font-style: italic;
}


/* Stanford University Brand Bar */
#brandbar {
	background: #2e2d29;
	padding-top: 4px;
}

#brandbar .container {
	padding-right: 0em;
	padding-left: 0em;
}

@media screen and (min-width: 1200px){
	#brandbar .container {
		width: 1200px;
	}
}


/* Stanford University Footer */
#global-footer {
    margin-top: 0 !important;
}

p.copyright {
	color: #e3dfd5;
}

@media screen and (min-width: 48em) {
	.site-footer svg.mediax-icon {
		height: 60%;
		top: 4%;
		width: 25%;
	}
	p.copyright {
		/*margin-top: -25px;*/
		padding-top: 0;
	}
}

@media screen and (max-width: 767px) {
	p.copyright {
		margin: 0 auto;
	}
	#global-footer .container .row {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Header Cover Text & Title Adjustments */

@media screen and (min-width: 48em){
	header.cover-video .cover-text, header.cover-image .cover-text {
    	margin-left: 0rem;
    	margin-right: 0rem;
	}	
	
	.page-title.page-title-parent {
    	margin-left: .5em;
}
	
	.row .title-large {
		margin-left: .5em;
	}
}


/* Page Headers */
.hc-orange .page-header {
    background-color: #F38A00;
    color: #fff;
}

/* Social Sharing */
.type-mediax_event .sharing a:hover {
    color: #ffffff;
}

.hc-red .type-page .sharing {
    border-color: #A41F35;
}

.hc-red .type-page .sharing a {
    color: #A41F35;
}

.hc-red .type-page .sharing a:hover {
    background-color: #A41F35;
	color: #ffffff;
}

.hc-red .type-page .post-nav-links a {
    color: #A41F35;
}
.hc-blue .type-page .sharing {
    border-color: #009ADD;
}

.hc-blue .type-page .sharing a {
    color: #009ADD;
}

.hc-blue .type-page .sharing a:hover {
    background-color: #009ADD;
	color: #ffffff;
}

.hc-blue .type-page .post-nav-links a {
    color: #009ADD;
}

.hc-green .type-page .sharing {
    border-color: #009578;
}

.hc-green .type-page .sharing a {
    color: #009578;
}

.hc-green .type-page .sharing a:hover {
    background-color: #009578;
	color: #ffffff;
}

.hc-green .type-page .post-nav-links a {
    color: #009578;
}

.hc-grey .type-page .sharing {
    border-color: #8A8A8A;
}

.hc-grey .type-page .sharing a {
    color: #8A8A8A;
}

.hc-grey .type-page .sharing a:hover {
    background-color: #8A8A8A;
	color: #ffffff;
}

.hc-grey .type-page .post-nav-links a {
    color: #8A8A8A;
}

.hc-orange .type-page .sharing {
    border-color: #F38A00;
}

.hc-orange .type-page .sharing a {
    color: #F38A00;
}

.hc-orange .type-page .sharing a:hover {
    background-color: #F38A00;
	color: #ffffff;
}

.hc-orange .type-page .post-nav-links a {
    color: #F38A00;
}

.hc-purple .type-page .sharing {
    border-color: #54274E;
}

.hc-purple .type-page .sharing a {
    color: #54274E;
}

.hc-purple .type-page .sharing a:hover {
    background-color: #54274E;
	color: #ffffff;
}

.hc-purple .type-page .post-nav-links a {
    color: #54274E;
}


/* Gravity Forms Styling */

.gform_wrapper input {
    border: 1px solid #353132;
    color: #353132;	
}

.gform_wrapper .gform_footer .gform-button {
	padding: 0;
}

.gform_wrapper .gform_footer .gform-button input.button, 
.gform_wrapper .gform_footer .gform-button input[type=submit] {
	width: 100%;
	border: none;
	margin: 0;
	padding: .8em .5em;
	letter-spacing: 2px;
	color: #fff;
}

.gform_wrapper .gform_footer .gform-button input.button:hover, 
.gform_wrapper .gform_footer .gform-button input[type=submit]:hover, 
.gform_wrapper .gform_footer .gform-button input.button:active, 
.gform_wrapper .gform_footer .gform-button input[type=submit]:active {
	letter-spacing: 4px;
	background: transparent;
}

.type-event .events-title {
	/* border-bottom: 4px solid #009578; */
    font-size: 2em;
    margin: 0;
}

.home .type-event .event-container {
	border-bottom: 4px solid #009578;
	margin-bottom: 1em;
}

.home .upcoming-event .event-details {
    border-top: 0;
	padding-top: 0;
}

.home .upcoming-event .event-details .title {
	margin-top: 0;
}

.type-event .events-title:before {
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	content: "";
	height: 40px;
	margin-bottom: 5px;
}

.type-event .events-title:before {
	display: none;
}

.type-event .events-title:before {
	background-image: url("data:image/svg+xml,%3Csvg width='56' height='59' viewBox='0 0 56 59' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23009578' fill-rule='evenodd'%3E%3Cpath d='M0,28.15V0H39.89Zm2.65,2.09L15.5,37.76l7.41-13ZM0,31.25V59H39.89Z'/%3E%3C/g%3E%3C/svg%3E");
}

@media screen and (min-width: 48em) {
	.type-event .events-title:before {
    	display: block;
	}
	
	.type-event .events-button {
		margin-top: 1.6em;
		margin-bottom: 0.5em;
	}
	
	.show-mobile-only {
		display: none;
	}
	
	.hide-mobile-only {
		display: block;
	}
	
}

@media screen and (max-width: 47.9em) {
	.show-mobile-only {
		display: block;
	}
	
	.hide-mobile-only {
		display: none;
	}
	
	.home .type-event.show-mobile-only .event-container {
		border-bottom: 0;
	}
}

/* Adding E Icon to Events template */

.type-event .title:before,
.post-type-archive-mediax_event .page-header .page-title:before,
.single-mediax_event .page-header:not(.page-parent) .page-title:before {
	background-repeat:no-repeat;background-size:contain;display:block;content:"";height:40px;margin-bottom:5px
}

.single-mediax_event .page-header .page-title:before,
.post-type-archive-mediax_event .page-header .page-title:before {
	background-image:url("data:image/svg+xml,%3Csvg width='56' height='59' viewBox='0 0 56 59' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-rule='evenodd'%3E%3Cpath d='M0,28.15V0H39.89Zm2.65,2.09L15.5,37.76l7.41-13ZM0,31.25V59H39.89Z'/%3E%3C/g%3E%3C/svg%3E");
}


/* Events Template */

.excerpt-item.type-mediax_event p {
    color: #8A8A8A;
}

.entry-date {
    color: #8A8A8A;
}


.event-details .title {
font-size: 1.3em;
line-height: 1.1;	
}

.team-member p {
    font-size: 1em;
    line-height: 1.4;
}

.leadership-meta {
	margin-bottom: 1.5em;
}

/* Tags */

.entry-footer.tags-container {
	padding-bottom: 20px;
}

.entry-footer .tags-content {
	padding-top: 20px;
    border-top: 1px #cccccc solid;
}

.hc-blue .entry-footer a:not(.cta) {
    color: #009ADD;
}

.hc-red .entry-footer a:not(.cta) {
    color: #A41F35;
}

.hc-purple .entry-footer a:not(.cta) {
    color: #54274E;
}

.hc-green .entry-footer a:not(.cta) {
    color: #009578;
}

.hc-research .entry-footer a:not(.cta) {
    color: #A41F35;
}

.hc-program .entry-footer a:not(.cta) {
    color: #54274E;
}

.hc-event .entry-footer a:not(.cta) {
    color: #009578;
}

.hc-news .entry-footer a:not(.cta) {
    color: #008DA8;
}

.hc-leadership .entry-footer a:not(.cta) {
    color: #009ADD;
}

.hc-about .entry-footer a:not(.cta) {
    color: #009ADD;
}



/* Pagination */
.nav-previous.nav-page-first {
	display: none;
}

.nav-next.nav-page-last {
	display: none;
}

/* Search Results */

.search-results .excerpt-item img, .tag .excerpt-item img {
	display: none;
}

.search-no-results .search-form {
	margin-bottom: 50px;
}


/* Fix Missing Space below YouTube videos */

.fluid-width-video-wrapper {
    margin-bottom: 40px;
}
