div[id^="g-"].event-bg-url #changeHeaderInline,
div[id^="g-"] .element #changeHeaderInline {
  bottom: auto;
  top: 0;
  border-radius: 0 0 4px 0;
}
.st-details-wrap {
  position: fixed !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: inherit;
  z-index: 2 !important;
}

.finetune .st-details-wrap {
	width: calc( 100% - 60px );
}

.finetuneOpen .st-details-wrap {
	width: calc( 100% - 60px - 15em );
}

body[theme="st-flyer-v2"].finetuneOpen .st-details-wrap {
  width: 100%;
  width: calc( 100% - 17em );
}

.element-rsvp #element-rsvp .wrap {
  position: relative;
  z-index: 1;
}
.element-rsvp #element-rsvp:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  opacity: 0;
  border-radius: 5px;
  transition: opacity 0.15s linear;
  -webkit-transition: opacity 0.15s linear;
  -moz-transition: opacity 0.15s linear;
  -ms-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
}
.element-rsvp:hover #element-rsvp:before {
  opacity: 1;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}
.element-rsvp:active {
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -o-transform: scale(0.95);
}


/***
** RSVP button
*/

.element-rsvp:hover {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}
.element-rsvp:active {
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -o-transform: scale(0.95);
}

/***
***
**
* Punctuation helpers for date, time & venue */

.comma-before:before {
	content: ',';
	position: absolute;
	left: -.5em;
}

/* if not floated */
.comma-before.nofl {
	left: -.2em;
}

/* colon before minute */
.colon-before:before,
.time .minute:before {
	content: ':';
}

/* if end time, add hyphen before */
.time.end:before {
	content: '-';
	float: left;
}

/* if end date, same month, add hyphen between dates */
.event_start .date.end:before {
	content: '-';
	display:inline-block;
}

/* if end date, different month, add word 'until' between months */
.event_end:before {
	content: 'UNTIL';
	display: block;
	font-size: .7em;
}

/* comma after day of week */
.element-when-dow:after,
.element-when-end-dow:after {
	content: ',';
	position: absolute;
	right: 0.3em;
	bottom: 0;
}

/* if end date, same month, hide day of week */
.sesm .element-when-dow {
	display:none;
}

/* if end time, same day, show day of week */
.sesm.sesd .element-when-dow {
	display:inline-block;
}

/***
***
** Venue
*/

/* 
** No venue name 
*/

body.bigAddress .element-where-venue,
body.bigAddress .comma-before.element-where-city:before {
    display: none !important;
}

/* make the address bigger */
body.bigAddress .element-where-address {
  display: block;
  width: 100%;
  font-size: 1.5em !important;
  padding-left: 0.3em !important;
  padding-left: 0em !important;
  float: left;
  padding-top: 0 !important;
  padding-bottom: 0.5em !important;
}
  /* for pitch */
  .element-where-address .venue-address:after {
    display: none !important;
  }

/* center up the csz */
body.bigAddress .cszWrap {
  float: none !important;
  display: inline-block !important;
}
body.bigAddress .element-where-zip {
    padding-right: 0 !important;
}

/* 
** No address
*/
body.noAddress .comma-before.element-where-city:before {
    display: none !important;
}

/* 
** No City
*/
body.noCity .comma-before.element-where-state:before,
body.noCity .element-where-state .venue-state:before,
body.noCity .element-where-city {
    display: none !important;
}

/* 
** No venue name, no address
*/
body.bigCsz .cszWrap {
  display: inline-block;
  width: auto;
  font-size: 1.5em !important;
  float: none;
  line-height: 1em;
}

body.bigCsz .element-where-venue,
body.bigCsz .element-where-address,
body.bigCsz .cszWrap .comma-before.element-where-city:before {
  display: none;  
}

/*
** Legacy patch
*/

#splash-container h1 {
  line-height: 1em;
}

.sf .title h1 {
  margin-bottom: 1em;
}

@media (min-width: 1em) {
  body #splash-container {
    font: normal 0.6em/1.3em 'GibsonRegular', arial, sans-serif;
  }
  .canvas {
    min-width: 25em;
  }
}

@media (min-width: 29.938em) {
  body #splash-container {
    font: normal 0.9em/1.4em 'GibsonRegular', arial, sans-serif;
  }
  .canvas {
    max-width: 48em;
    min-width: 25em;
  }
}

@media (min-width: 47.938em) {
  body #splash-container {
    font: normal 0.9em/1.4em 'GibsonRegular', arial, sans-serif;
  }
  .canvas {
    max-width: 48em;
  }
}

@media (min-width: 59.938em) {
  body #splash-container {
    font: normal 1em/1.5em 'GibsonRegular', arial, sans-serif;
  }
  .canvas {
    max-width: 60em;
  }
}