/* **************** 
	
	Some Global Style Adjustments
	
 **************** */

@media screen and (max-width: 991px) {
	.no-mobile {
		display: none;
	}
}

a h3 {
	color: #9a1f73;
}

.region-content p {
	line-height: 25px;
}

ul li {
	padding-left: 25px;
	line-height: 25px;
}

iframe {
	display: block;
}

div.hero {
	overflow: hidden; /* Fixes gray bar under hero images */
	background-size: cover;
	background-position: center center;
}

.highlight-box {
	background: #edf7f8;
	position: relative;
	overflow: hidden;
	width: 100%;
}
.highlight-box p {
	padding: 0 25px;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* Line height of titles in ad spaces */
section#section-user-02 h3.block-title {
	line-height: 1em;
}

/* **************** 
	
	Get Header Menu on one line
	
 **************** */

section#section-header.dexp-section.dexp-sticky {
	width: 100% !important;
}

#section-header .container {
	width: 100%;
	max-width: 100%; /* cancelling out body .container style in other stylesheet */
	padding-left: 50px;
}

#section-header .region-navigation {
	width: auto;
}

#section-header a.site-logo, #section-header .search-toggle {
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	-ms-transition: none;
	transition: none;
}

.region-search {
	padding-left: 0;
}

/* Add Purple block around active menu item */
@media screen and (min-width: 991px) {
	#section-header ul.menu .nolink .active, #section-header ul.menu .active>a  {
		color: white !important;
		background: #ca92b5;	
	}
	 #section-header ul.menu li a:hover, #section-header ul.menu span.nolink:hover {
		 color: white;
		 background: #ca92b5;
	 }
	 #section-header .dexp-dropdown >ul>li>a:before, #section-header .dexp-dropdown >ul>li>span.nolink:before {
		 background: none;
		 display: none;
	 }
	 
	.dexp-dropdown ul.menu li .dexp-menu-mega .dexp-menu-row {
		border-top: 5px solid #ca92b5;
	}
	#section-header ul.menu ul li a, #section-header ul.menu ul li span.nolink {
		padding-left: 4px;
	}
	#section-header ul.menu ul li a:hover, #section-header ul.menu ul li span.nolink:hover {
		background: #9a1f73;
	}
}

@media screen and (min-width: 991px) and (max-width: 1300px) {
	#section-header .region-navigation {
		padding: 0 0 0 12px;
	}
	#section-header .container > .row > .col-lg-2 {
		width: 9%;
	}
	#section-header .dexp-dropdown >ul.menu >li>a, #section-header .dexp-dropdown >ul.menu >li>span.nolink, form#search-block-form div span.fa.fa-search.search-toggle {
		padding-top: 25px;
	}
}

@media screen and (min-width: 991px) and (max-width: 1160px) {
	#section-header .container > .row > .col-lg-2 {
		float: none;
		width: 100%;
		text-align: center;
	}
	#section-header .container > .row > .col-lg-2 img {
		width: 12%;
	}
	#section-header .region-navigation {
		padding: 0 0 0 30px;
	}
	#section-header .dexp-dropdown >ul.menu >li>a {
		margin:0;
		padding: 0 10px;
	}
	#section-header .dexp-menu-mega ul.menu {
		margin:0;
	}
	#section-header .region-search form#search-block-form div span.fa.fa-search.search-toggle {
		padding: 0;
	}
}

@media screen and (min-width: 1040px) and (max-width: 1150px) {
	#section-header .region-navigation {
		padding: 0 0 0 60px;
	}
}


@media screen and (max-width: 991px) {
	#section-header .col-xs-2 {
		width: 30%;
	}
	#section-header a.site-logo img {
		margin-top: 0;
	}
	#section-header .region-navigation {
		float: right;
		text-align: right;
		margin:0;
		padding: 0;
		width: auto;
	}
	#section-header .region-navigation .btn {
		background: none;
	}
	#section-header .region-search {
		float: right;
		margin:0;
		padding: 0;
	}
	#section-header .region-search form#search-block-form div span.fa.fa-search.search-toggle {
		padding: 0;
	}
	#section-header .region-search .search-form-block-wrapper {
		right: -60px;
	}
	.dexp-dropdown >ul.menu>li {
		display: block;
	}
	#section-header .dexp-dropdown >ul.menu >li>a {
		padding-top: 0;
	}
}

/* **************** 
	
	 Slideshow Height and Dot Navigation 
	 
 **************** */

div.region.region-feature-first.col-xs-12.col-sm-12.col-md-12.col-lg-12 {
	background: #333333;
}

.region-feature-first .bx-viewport {
	height: 570px !important;
}
div#block-views-hero-slider-front-page-block div.hero,
div#hero-slider-front-employer-block div.hero, div#block-views-01fd62260b16564fb84c1bd923325dd5 div.hero, div#hero-slider-front-relauncher-block div.hero {
	min-height: 570px;
}

.region-feature-first .bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
	bottom: -50px;
}

@media screen and (max-width: 1150px) {
	div#block-views-hero-image-for-conference-block h1.page_title,
	div#block-views-hero-slider-front-page-block h1.page_title, div#hero-slider-front-employer-block h1.page_title, div#block-views-01fd62260b16564fb84c1bd923325dd5 h1.page_title, div#hero-slider-front-relauncher-block h1.page_title {
		font-size: 44px;
		line-height: 1em;
	}
}

@media screen and (max-width: 850px) {
    div.view-hero-image-for-conference,
	div.view-hero-slider-front-university,
    div.view-hero-slider-front-employer,
	 div.view-hero-slider-front-page,
    div.view-hero-slider-front-relauncher {
        background: #000000;
    }

div#block-views-527516e165b85c5d10903995972837e7,
div#block-views-afffd9ccd3ebab38a7e20b5775a2485a,
div#block-views-9450649dae90dc88dec179910c487e3a,
div#block-views-6dfeec552e4c97f6ccdc6853dc1e0d39 ,
    div#block-views-hero-image-for-conference-block,
	div#hero-slider-front-relauncher-block, div#block-views-01fd62260b16564fb84c1bd923325dd5,
    div#hero-slider-front-employer-block,
div#block-views-hero-slider-front-page-block	{
        color: #ffffff;
        text-align: center;

    }


div#block-views-afffd9ccd3ebab38a7e20b5775a2485a h1.page_title,
div#block-views-527516e165b85c5d10903995972837e7 h1.page_title,
div#block-views-9450649dae90dc88dec179910c487e3a h1.page_title,
div#block-views-6dfeec552e4c97f6ccdc6853dc1e0d39 h1.page_title,
	div#block-views-hero-image-for-conference-block h1.page_title,
	div#block-views-hero-slider-front-page-block h1.page_title,
	div#hero-slider-front-employer-block h1.page_title,
    div#block-views-01fd62260b16564fb84c1bd923325dd5 h1.page_title,
    div#hero-slider-front-relauncher-block h1.page_title {
        font-size: 24px;
        line-height: 32px;
    }

div#block-views-afffd9ccd3ebab38a7e20b5775a2485a h4,
div#block-views-527516e165b85c5d10903995972837e7 h4,
div#block-views-9450649dae90dc88dec179910c487e3a h4,
div#block-views-6dfeec552e4c97f6ccdc6853dc1e0d39 h4,
div#block-views-afffd9ccd3ebab38a7e20b5775a2485a h3,
div#block-views-527516e165b85c5d10903995972837e7 h3,
div#block-views-9450649dae90dc88dec179910c487e3a h3,
div#block-views-6dfeec552e4c97f6ccdc6853dc1e0d39 h3,
    div#block-views-hero-image-for-conference-block h4,
	div#block-views-hero-image-for-conference-block h3,
	div#block-views-hero-slider-front-page-block h4,
	div#block-views-hero-slider-front-page-block h3,
	div#hero-slider-front-employer-block h4,
    div#block-views-01fd62260b16564fb84c1bd923325dd5 h4,
    div#hero-slider-front-relauncher-block h4,
    div#hero-slider-front-employer-block h3,
    div#block-views-01fd62260b16564fb84c1bd923325dd5 h3,
    div#hero-slider-front-relauncher-block h3 {
        display: none;
    }
    
    
	div#hero-slider-front-employer-block h4,
    div#block-views-01fd62260b16564fb84c1bd923325dd5 h4,
    div#hero-slider-front-relauncher-block h4,
    div#hero-slider-front-employer-block h3,
    div#block-views-01fd62260b16564fb84c1bd923325dd5 h3,
    div#block-views-hero-slider-front-page-block a.medium-rectangle,
	div#hero-slider-front-relauncher-block a.medium-rectangle {
	    position: absolute;
	    bottom: 130px;
    }

div#block-views-afffd9ccd3ebab38a7e20b5775a2485a div.hero,
div#block-views-527516e165b85c5d10903995972837e7 div.hero,
div#block-views-9450649dae90dc88dec179910c487e3a div.hero,
div#block-views-6dfeec552e4c97f6ccdc6853dc1e0d39 div.hero,
    div#block-views-hero-image-for-conference-block div.hero,
	div#hero-slider-front-employer-block div.hero, div#block-views-01fd62260b16564fb84c1bd923325dd5 div.hero,
    div#hero-slider-front-relauncher-block div.hero,
div#block-views-hero-slider-front-page-block div.hero	{
        padding-right: 44px;
        padding-left: 44px;
        padding-top: 10px;
        min-height: 380px;
        background-size: cover;
    }
 
	a.large-rectangle {
		width: 200px;
		max-width: 70%;
	}
 
    .region-feature-first .bx-viewport {
	height: 280px !important;
}
}




/* Fix Layout of Ad Regions with Circle Icons on index pages */

#section-user-02 .row {
	display: -ms-flex-flex;
	display: -webkit-flex;
	display: flex;
}
@media screen and (max-width: 985px) {
	#section-user-02 .row {
		flex-direction: column;
		-webkit-flex-direction: column;
	}
}

#section-user-02 .region {
	position: relative;
}

#section-user-02 .block {
	position: static !important;
}

#section-user-02 .content {
	overflow: auto;
}

#section-user-02 .adbody {
	margin-bottom: 140px;
}

#section-user-02 a img {
	bottom: 30px !important;
}

section#section-user-02 a.small-rectangle, section#section-user-02 a.medium-rectangle {
	bottom: 50px;
	width: 70%
}

/* Fix gear button placement for logged-in users */
#section-user-02 div.contextual-links-wrapper {
  right: 65px;
  top: 46px;
}

/* **************** 
	
	 THE OFFER
	 
 **************** */
 
 /* Ad space */
 
 section#section-user-02 div.region-ad-third-alt .block {
	 margin-bottom: 30px;
 }
 
 #section-user-02 #cchdr img  {
	 width: 80%;
	 max-width: 280px;
	 margin-bottom: 10px;
 }
 
 #section-user-02 #cchdr #tagline {
	 margin-bottom: 10px;
	 color: white;
	 max-width: 100%;
 }
 
section#section-user-02 span.stay-connect-span select {
	width: 90%;
	height: 45px;
	max-height: 45px;
	margin-bottom: 20px;
}

section#section-user-02 span.stay-connect-span .form-submit {
	width: 70%;
	height: 54px;
	max-height: 54px;
}

 /* Home space */
.region-user-06 #block-constant-contact-4 input, div#block-constant-contact-4 select {
	height: 60px;
	padding-bottom: 14px;
}

@media screen and (max-width: 1133px) {
	#block-constant-contact-4 {
		padding: 0 6%;
	}
	.region-user-06 #block-constant-contact-4 #cchdr img {
	width: 70%;
	max-width: 300px;
	margin-bottom: 10px;
}
	.region-user-06 #block-constant-contact-4 #tagline {
		display: block;
		margin: 0;
		max-width: 100%;
	}
	
	.region-user-06 #block-constant-contact-4 input, div#block-constant-contact-4 select, .region-user-06 #block-constant-contact-4 .stay-connect-span, .region-user-06 #block-constant-contact-4 span#tagline, div#block-constant-contact-4 span.stay-connect-span .form-submit {
		width: 100%;
	}
} 

/* Right Sidebar and left footer input/select height */
span.stay-connect-span select, span.stay-connect-span input {
	height: 60px;
}

#block-constant-contact-3 span.stay-connect-span select, #block-constant-contact-3 span.stay-connect-span input, #block-constant-contact-3 span.stay-connect-span .form-submit {
	width: 90%;
}

#block-constant-contact-3 #cchdr {
	text-align: center;
}

#block-constant-contact-3 #cchdr img, #block-constant-contact-3 #cchdr #tagline {
	margin-bottom: 10px;
}

/* To center the left footer area better */
@media screen and (min-width: 770px) {
	#block-constant-contact-3.block.block-constant-contact {
		margin-right: 40px;
	}
}

/* Featured Event Block formatting */
/* Didn't match the block next to it so removed */
/* 
#block-views-return-to-work-events-block h3 {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 8px;
}
*/

.views-field.views-field-field-event-city {
	margin-bottom: 8px;
}


#block-views-return-to-work-events-block .views-field-body {
	font-size: 1.1em;
	line-height: 1.5em;
}

#block-views-return-to-work-events-block .views-field-nothing-1 {
	font-size: 0.95em;
	font-weight: 700;
}

/* **************** 
	
	 INTERNSHIPS AND PAGINATION
	 
 **************** */

table.pink-grey-content-table tr td:first-child, .pink-title-grey-body-results td.view-purple-square-title {
	width: 34%;
}

table.pink-grey-content-table tr td:first-child>div, table.pink-grey-content-table .purple-container, .pink-title-grey-body-results .purple-container {
	max-width: none;
	min-width: 0;
}

@media screen and (max-width: 700px) {
	table.pink-grey-content-table tr td:last-child, .pink-title-grey-body-results td.view-grey-rect-content {
		display:none;
	}
	table.pink-grey-content-table tr td:first-child>div, table.pink-grey-content-table .purple-container, .pink-title-grey-body-results .purple-container {
		height: auto;
		min-height: 50px;
	}
	.pink-title-grey-body-results .square-topic {
		position: static;
		margin-top: 10px;
	}
	
	div.past-conferences table.pink-grey-content-table > tbody > tr > td:first-child img {
		display: none;
	}
	
	div.past-conferences  table.pink-grey-content-table tr td:last-child, div.past-conferences  .pink-title-grey-body-results td.view-grey-rect-content {
		display:block;
	}
}


/* Align plus sign in purple boxes */
table.pink-grey-content-table tr td:first-child img, .pink-title-grey-body-results .square-more {
	left: auto;
	right: 0;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
}

/* Make pagination background extend across page */
.view > .item-list {
	padding-left: 3000px;
	margin-left: -3000px;
	padding-right: 3000px;
	margin-right: -3000px;
}

ul.pagination {
	margin-top: 8px;
}

.pagination>li>a, .pagination>li>span {
	line-height: 1.6;
}

ul.pagination li.pager-item a, .view > .item-list .pagination > li > a:hover, ul.pagination li.pager-current a {
	background-size: 50px;
}

.view > .item-list .pagination > li > a {
	font-size: 22px;
	min-width: 50px;
	min-height: 50px;
}


/* **************** 
	
	 SUCCESS STORIES
	 
 **************** */

section#section-user-02 #block-views-success-stories-ad-block h3.block-title {
	display: none;
}

section#section-user-02 div#block-views-success-stories-ad-block h2 {
	display: block;
	font-size: 48px !important;
	line-height: 1em;
	margin-top: 45px;
	margin-bottom: 25px;
	text-align: left;
}

section#section-user-02 div#block-views-success-stories-ad-block a img {
	position: relative;
	top: 6px;
	margin: 0 20px 30px 0;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
}

#block-views-success-stories-ad-block p {
	clear: both;
}

@media screen and (max-width: 1308px) {
	section#section-user-02 div#block-views-success-stories-ad-block h2 {
		font-size: 38px !important;
	}
	section#section-user-02 h3.block-title {
		font-size: 38px !important;
	}
}
@media screen and (max-width: 1200px) {
	section#section-user-02 div#block-views-success-stories-ad-block h2 {
		font-size: 26px !important;
		text-align: center;
		margin-top: 0;
	}
}

div#block-views-success-stories-ad-block img {
	margin: 0 20px 20px 0;
}

div#block-views-success-stories-ad-block h2 {
	text-align: left;
	font-size: 1.8em;
}

@media screen and (max-width: 1199px) {
	div#block-views-success-stories-ad-block h2 {
		text-align: center;
	}
	div#block-views-success-stories-ad-block img {
		float: none;
		margin: 10px auto 0 auto;
	}
}

@media screen and (max-width: 800px) {
	#block-views-success-stories-ad-block p {
		display: none;
	}
}

/* Show unexpanded categories in Success Stories side bar */
html.js fieldset.collapsed {
	height: auto;
}

/* **************** 
	
	 BLOG
	 
 **************** */
 
 .view-blog-overview img {
	 margin-bottom: 25px;
 }
 
 div#block-views-exp-blog-overview-page div.form-item .option:hover {
	 color: #c685b1;
 }

div#block-views-exp-blog-overview-page div.form-item {
	padding: 0;
}

div#block-views-exp-blog-overview-page div.form-item .option {
	padding:  6px 16px;
}

div#block-views-exp-blog-overview-page .views-exposed-form .views-exposed-widgets .views-exposed-widget .collapsible .form-item input:checked + .option:hover {
	color: white;
}

.blog-picture-grid .views-field-field-hero-text .field-content p {
	margin-bottom: 0;
	line-height: 20px;
}

.blog-picture-grid .views-row-1 .views-field-field-hero-text .field-content p {
	margin-bottom: 10px;
}

@media screen and (max-width: 1199px) {
	section#section-main-content div.container div#block-system-main>div.content {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Make sure horizontal lists of links don't break mid phrase - see Events page */
.views-exposed-form div.form-item.form-type-bef-checkbox{
	white-space: nowrap;
}


/* **************** 
	
	 SITE-WIDE MOBILE ADJUSTMENTS
	 
 **************** */

@media screen and (max-width: 800px) {
	section#section-main-content div.container div#block-system-main>div.content {
		padding-left: 0;
		padding-right: 0;
	}
	div.hero {
		padding-left: 3%;
		padding-right: 3%;
		padding-top: 20px;
		text-align: center;
	}
	
	div.region-dynamic-front02  td,
	div.region-dynamic-front01  td {
		  padding-left: 0px;
		  padding-right: 0px;
	}
	
	ul.menu li {
		margin: 0 0 0 1em;
	}
	
	/* updated 20170130 - no single row for submenus on mobile */
div#dexp-dropdown ul.menu li.expanded ul.menu li,
div#dexp-dropdown ul.menu li.expanded ul.menu li.expanded ul.menu li.leaf {
	white-space: inherit;
}
/* vertically compact the drop downs */
 #section-header .dexp-dropdown ul.menu li a {
    line-height: inherit;
  }
}


/* **************** 
	
	 CONTACT FORM REQUIRED FIELDS
	 
 **************** */


.required-asterisk ::-webkit-input-placeholder  {
	font-weight:bold;
}

.required-asterisk :-moz-placeholder  {
	font-weight:bold;
}

.required-asterisk :-ms-input-placeholder  {
	font-weight:bold;
}

input[required]:invalid {
	border-color: #f9a144;
	border-width: 2px 15px 2px 2px;
}


/* Requested Stanford Changes */

body.page-viewconference-2051 div.view-conference-sidebar {
	text-align: center;
}


/* **************** 
body.page-viewconference-2051 div.view-view-conference div.views-row-last::after
	content: "General registration will open in March 2017.";
}
 **************** */


body.page-node-1380 div.view-front-conference-sidebar-price-and-link div.views-row-first>div.views-field-nothing::before {
	/*content: "(Price includes parking and lunch)";*/
}

body.page-viewconference-2051 div#block-views-conference-sidebar-block  div.views-row-1>div.views-field-nothing::before {
	content: "(Price includes parking and lunch)";
}

body.page-viewconference-2051 div.view-conference-sidebar div.views-row-1 {
	margin-top: 10px;
}

body.page-viewconference-2051 a#vccta12051 {
	background: #8c1515;
	}

html.js body.page-viewconference-2051 div#block-block-43::after {
	content: url(/sites/default/files/tsmBlockS_rgb.png);
}
div#block-block-29 img {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

body.page-node-1380 div.view-front-conference-sidebar-price-and-link div.views-row-first a.medium-rectangle {
	background: #8c1515;
}

.stanford-color,
body.page-viewconference-2051 a.medium-rectangle, 
body.page-viewconference-2051 a.small-rectangle ,
body.page-viewconference-2051 span.stay-connect-span input#edit-submit--2{
	background: #8c1515 !important;
}

body.page-viewconference-2051 div#block-views-conference-sponsors-block-1 h3, body.page-showcitysponsors-2051 div.view-display-id-page_1 h3 {
	display: none;
}


/* Bio pages */
div.view-view-bio div.views-field-field-headshot img {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

div.view-team-bios div.dexp-grid-item {
	min-height: 250px;
}

/* conference sponsor styling */
body.page-rtwconf-sponsors div.view-rtwconf-allsponsors h3 {
	visibility: hidden;
}

body.page-showcitysponsors div.view-conference-sponsors div.row {
	border-bottom: 1px solid #e4e3e3;
	padding-bottom: 10px;
}

/* remove stanford conference sponsor row separators */
body.page-showcitysponsors-2051 div.view-conference-sponsors div.row {
	border-bottom: none;
}

/* remove early bird info */
body.page-viewconference-2051 span.hideContent, body.page-confagenda-2051 span.hideContent, body.page-bios-2051 span.hideContent, body.page-showcitysponsors-2051 span.hideContent, body.page-viewvenue-2051 span.hideContent, body.page-viewpolicy-2051 span.hideContent, body.page-node-1380 span.hide2051 span.hideContent {
	display: none;
}

/*** Last minute Stanford Changes ***/
/* Change the 2214 to 2051 */
body.page-viewconference-2051 div.view-view-conference div.views-field-nothing-1 ,
body.page-viewconference-2051 div.view-view-conference div.views-field-nothing,
body.page-viewconference-2051 a#vccta12214.medium-rectangle,
body.page-viewconference-2051 a#vccta12051.medium-rectangle {
	display: none;
}

a.bold {font-weight: bold;}


body.page-confagenda-2051 div.views-field > span.field-content > a.medium-rectangle {display: none;}
body.page-confagenda-2051 div.views-field > span.field-content h2 ~ a.medium-rectangle {display: block;}

body.page-bios-2051 div.views-field > span.field-content > a.medium-rectangle {display: none;}
body.page-bios-2051 div.views-field > span.field-content h2 ~ a.medium-rectangle {display: block;}

body.page-showcitysponsors-2051 div.views-field > span.field-content > a.medium-rectangle {display: none;}
body.page-showcitysponsors-2051 div.views-field > span.field-content h2 ~ a.medium-rectangle {display: block;}

body.page-viewvenue-2051 div.views-field > span.field-content > a.medium-rectangle {display: none;}
body.page-viewvenue-2051 div.views-field > span.field-content h2 ~ a.medium-rectangle {display: block;}

body.page-viewpolicy-2051 div.views-field > span.field-content > a.medium-rectangle {display: none;}
body.page-viewpolicy-2051 div.views-field > span.field-content h2 ~ a.medium-rectangle {display: block;}

div#block-block-29 {display: none;}

.page-viewconference-2057 .view.view-view-conference.view-id-view_conference:before {
	    content: 'SOLD OUT!';
    font-size: 24px;
    font-weight: bold;
    color: #ff0000;
}

