/* Work arounds: */
/* - twitter bootstrap bug in handling empty dd elements */
.dl-horizontal dd:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

/* twitter bootstrap bug for tooltip in dl.dl-horizontal */
dl.dl-horizontal > dt > .tooltip {
  white-space: normal;
}

/* twitter bootstrap bug for tooltip in a label in a .col-sm-3 */
label .tooltip {
  width: 100%;
}

/* twitter bootstrap scrolls background not modal */
.modal {
  overflow-y: scroll;
}

.btn.btn-danger {
  background-color: #d9534f;
}

/* So the up/down select is at the far right */
input[type="number"] {
  padding-right: 0;
}

.signature {
  font-family: "Comic Sans MS", cursive, sans-serif
}

/* general styles */
body {
  color: #333333;
  background-image: none;
  min-width: 320px;
}

.closepopup {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1
}

.plain-template #main-panel {
  padding: 0 15px 20px 15px;
}

.container {
  padding: 0;
}

.main {
  padding-top: 15px;
  padding-bottom: 16px;
}

.main .row {
  margin-left: 10px;
  margin-right: 10px;
}

.content {
  background: white;
}

#banner {
  background-size: cover;
  background-repeat: no-repeat;
}

.nav-buttons {
  margin-top: 10px;
}

.nav-back {
  margin: 10px 0 0 0;
  float: left;
}

.nav-forward {
  margin: 10px 0 0 0;
  float: right;
}

/* Handle 'required' class on form fields */
span.required {
  color: #e32;
  font-weight: bold;
  font-size: 1.50em;
}

.required label.control-label:after {
  color: #e32;
  content: '*';
  display: inline;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 0.5em;
}

.main img {
  max-width: 100%;
}

#code-form input,
#code-form button {
  margin-bottom: 5px;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
  width: 100%;
}

.container {
  position: relative;
}

.locale-switch {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.locale-switch img {
  border: 1px solid #eeeeee;
}

.locale-switch .dropdown-menu {
  min-width: 0;
}

.locale-switch .dropdown-menu a {
  padding: 6px 12px;
}

form#customer input,
form#customer .input-group,
form#customer select,
form#contactForm input,
form#contactForm select {
  max-width: 265px;
}

.description {
  font-size: 1.1em;
  line-height: 1.4em;
}

.freetext {
  font-size: 1.1em;
  line-height: 1.4em;
}

.freetext img {
  max-width: 100%;
}

.upsell-image {
  float: left;
  margin: 0 15px 10px 0;
}

h1.header {
  margin-top: 0px;
  padding: 8px 12px 8px 18px;
  line-height: 1.0em;
  font-weight: 500;
  font-size: 2em;
}

h1.header .name {
  display: block;
  padding-bottom: 5px;
}

div.datepicker {
  color: black;
}

.date {
  text-transform: capitalize;
}

h1.header .date {
  display: block;
  font-size: 0.7em;
}

h1.header .venue {
  display: block;
  font-size: 0.7em;
}

dt, th {
  font-size: 1.2em;
}

h2 {
  font-size: 1.6em;
  line-height: 1.2em;
  margin-bottom: 5px;
}

h3 {
  font-size: 1.3em;
  line-height: 1.3em;
  margin-bottom: 5px;
}

td.numeric,
th.numeric {
  text-align: right
}

td.price,
th.price {
  text-align: right
}

.required .question:after,
.required-example:after {
  content: '*';
  color: #e32;
  font-weight: bold;
  font-size: 1.50em;
  display: inline;
}

.questions {
  margin-bottom: 15px;
}

.answer {
  padding: 5px 0 0 10px;
}

.answer input[type="text"],
.answer select,
.answer textarea {
  width: 400px;
}

/* Header styles */

#header {
  font-weight: bold;
}

.action-area {
  background-color: #eeeeee;
  border: 1px solid #dddddd;
  padding: 8px 12px 8px 12px;
  margin: 8px 0 12px 0;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.action-area table {
  margin-bottom: 0;
}

.togglePriceGroup {
  margin-top: 5px;
}

/* Venue (within event) */
/* do not use padding on venue-images or venue-image */
#venue-images {
  margin: 12px 0;
}

#venue-images #map-wrapper {
  height: 225px;
  float: right;
}

img.venue-image {
  max-width: 100%;
}

/* Performances (within event) */

table#performance-list thead tr th {
  padding-bottom: 4px;
}

table#performance-list td.available {
  padding: 2px 3px;
  text-align: right;
}

table#performance-list td.status {
  text-align: right;
}

/* booking flow */

#countdown {
  margin-top: 10px;
  margin-bottom: 10px;
}

.co-sell {
  color: green;
  font-weight: bold;
}

.code-accepted {
  margin-left: 25px;
}

.code-submit {
  padding-top: 10px;
  display: inline-block;
}

.code-submit .alert {
  margin: 10px 0 0 0;
}

.soldout {
  font-weight: bold;
}

#priceInfoAccordion {
  margin-top: 5px;
}

h3.toggle-group {
  margin-top: 3px;
  cursor: pointer;
}

h3.toggle-group:hover {
  text-decoration: underline;
}

/* chooseTickets */

.choose-tickets div.tooltip-inner {
  max-width: 400px;
  padding: 15px 10px;
}

.choose-tickets div.tooltip-inner h4 {
  color: white;
}

.choose-tickets div.tooltip-inner ul {
  padding-left: 20px;
  text-align: left;
}

.priceInfo .panel-body h2 {
  margin-top: 0;
}

form#booking {
  padding-top: 10px;
  clear: both;
}

table.choose-tickets tr th {
  border-top: none;
}

table.choose-tickets input,
table.choose-tickets select {
  display: inline;
  width: 70px;
  padding-right: 6px;
  margin: 0;
}

table.choose-tickets td.select {
  padding: 3px;
}

table.choose-tickets .price-heading h4 {
  padding-left: 0;
}

#priceThenSectionSections {
  padding-left: 8px;
}

#priceThenSectionSections legend {
  font-size: 1.2em;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.2em;
}

#priceThenSectionSections label {
  margin-bottom: 10px;
}

.seatingTable .tooltip-inner img {
  max-width: 100%;
}

.seating-plan {
  position: relative;
  width: 100%;
  margin-bottom: 0.5em;
}

.seating-plan img {
  margin: 10px 0 0 0;
  width: 100%;
}

/* ... */

#footer {
  background-color: #343535;
  padding: 12px 20px;
}

#footer img {
  float: left;
}

#footer-links {
  list-style: none;
  float: right;
  padding-left: 0;
  margin-bottom: 0;
}

#footer-links li {
  padding-bottom: 8px;
}

#footer-links li a {
  color: white;
}

#right-panel {
  padding: 0 0 15px 0;
}

#right-panel img.inset {
  display: block;
  width: 100%;
  margin: 20px auto 0 auto;
  border: 1px solid #e4e8e5;
  border-radius: 7px;
  webkit-border-radius: 7px;
}

#right-panel .btn {
  display: block;
  padding: 4px 4px;
  width: 120px;
  margin: 0 auto 15px auto;
}

.socialmedialinks {
  width: 100%;
  font-size: 12px;
  margin: 15px auto 0 auto;
}

.socialmedialinks h3 {
  margin: 0;
  padding: 5px 2px;
  line-height: 1.4em;
  font-size: 1em;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: white;
  background-color: #666666;
}

.socialmedialinks ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #ddf1fa;
  border: 1px solid #999999;
}

.socialmedialinks li {
  border-bottom: 1px solid #999999;
  line-height: 1.4em;
  padding: 4px 4px 6px 6px;
}

.socialmedialinks li:last-child {
  border-bottom: none;
}

.socialmedialinks li img {
  float: left;
  width: 32px;
  margin: 2px 8px 0 0;
}

.checkout-template .socialmedialinks {
  display: none;
}

#paymentFrame {
  background: white;
  border: 0;
  width: 100%;
  height: 505px;
}

#processing {
  text-align: center;
  padding: 20px;
}

#processing img {
  display: block;
  border: 0;
  margin: 0 auto 20px auto;
}

#orderComplete {
  margin-bottom: 20px;
}

.event-item {
  padding: 10px 1% 10px 1%;
  height: 290px;
  text-align: center;
}

.event-item img {
  margin: 5px auto;
  width: 90%;
}

.event-item span {
  display: block;
}

.event-item span.name {
  font-weight: bold;
}

.event-item span.date,
.event-item span.venue {
  font-size: 0.7em;
}

.event-filter {
  font-size: 13px;
}

.unused-credit {
  font-weight: bold;
}

.calendar .performance-item {
  margin-bottom: 25px;
}

.calendar .performance-item img {
  background-color: black;
  width: 100%;
  aspect-ratio: 1;
}

.calendar a.disabled {
  cursor: default;
}

.calendar a:hover {
  text-decoration: none;
}

.performance-item .item-date {
  padding: 4px 1px;
  text-transform: uppercase;
  position: absolute;
  left: 20px;
  top: 5px;
  width: 50px;
  height: 56px;
  background: black;
  color: white;
  text-align: center;
}

.performance-item .item-date .dom {
  height: 16px;
  font-size: 1.3em;
  line-height: 0.9em;
}

.performance-item .item-date .dom-range {
  padding-top: 8px;
  padding-bottom: 4px;
  font-size: 1.1em;
  line-height: 1em;
}

.performance-item .item-date .day,
.performance-item .item-date .mon {
  height: 16px;
  font-size: 0.8em;
}

.calendar .item-foot {
  padding: 2px 5px;
  background-color: #252525;
  color: white;
  text-align: center;
}

.calendar .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0;
  height: 1.4em;
}

.calendar .description {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8em;
  height: 2.8em;
  margin: 5px 0;
}

.calendar .buy {
  display: inline-block;
  margin: 4px auto;
  text-transform: uppercase;
  background-color: #dddddd;
  border: 1px solid #555555;
  padding: 4px 10px;
  border-radius: 5px;
  color: black;
}

.calendar .performance-item:hover {
  filter: brightness(120%);
  transform: scale(1.05);
  transition: transform .2s;
}

/* accountbar css */
.account-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  border-radius: 0 0 5px 5px;
}

.account-bar .container {
  background: white;
}

.account-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.account-flex .account-bar-image img {
  height: 46px;
}

@media all and (max-width: 600px) {
  .account-bar-image-2 {
    display: none;
  }
}

.account-bar-image-2 {
  flex: 1;
}

.account-icon-label {
  font-size: 12px;
  display: block;
}

.account-links {
  padding: 6px 0;
  flex: 0 0 auto;
}

a.account-link {
  text-align: center;
  padding: 0 8px 0 4px;
  text-decoration: none;
}

a.account-link:last-child {
  padding-right: 0;
}

.account-icon {
  display: inline-block;
}

.account-flex .account i, .account-flex .checkout i {
  font-size: 1.2em;
}

.account-flex #account-menu i {
  font-size: 2.6em;
}

.account-details {
  overflow-x: auto;
}

.account-details th {
  font-size: 1em;
}

.account-details td {
  text-align: left;
}

div.content {
  margin-top: 52px;
}

#account-modal {
  text-align: center;
}

#account-modal .buttons a {
  padding-bottom: 4px;
  display: block;
}

.guest-checkout {
  padding-top: 70px;
}

.guest-checkout .guest-checkout-message {
  font-weight: bold;
  font-style: italic;
}

.section-group-image {
  height: 4em;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.share-call-to-action img {
  width: 100%;
}
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media all and (max-width: 1199px) {
  .event-item {
    height: 280px;
  }
}

@media all and (max-width: 991px) {
  .event-item {
    height: 301px;
  }
}

@media all and (max-width: 991px) {
  .main .row {
    margin-left: 0px;
    margin-right: 0px;
  }

  #right-panel {
    padding-right: 2px;
  }

  #right-panel .btn {
    padding: 4px 12px;
    width: auto;
  }

  #right-panel img.inset {
    margin-top: 15px;
  }

  .socialmedialinks {
    font-size: 10px;
  }

  .socialmedialinks h3 strong {
    display: block;
  }

  .socialmedialinks li {
    padding: 4px 1px 4px 4px;
    line-height: 1.5em;
  }

  .socialmedialinks li img {
    margin-right: 4px;
    width: 22px;
  }
}

@media all and (max-width: 767px) {
  .event-item {
    height: auto;
  }
}

@media all and (max-width: 767px) {
  .socialmedialinks, #right-panel img.inset {
    width: 17%;
  }

  .socialmedialinks {
    float: left;
    margin: 0 2% 0 0;
  }

  #right-panel img.inset {
    float: right;
    margin: 0 0 0 2%;
  }
}

#performance-list {
  display: table;
  width: 100%
}

.performance-list-row.header {
  font-weight: bold;
}

.performance-list-row.entry .performance-list-cell {
  border-top: 1px solid #ddd;
}

.performance-list-row {
  display: table-row;
}

.performance-list-cell {
  display: table-cell;
  padding: 8px;
}

.performance-list-cell.status {
  text-align: right;
}

@media all and (max-width: 480px) {
  .action-area {
    padding: 8px 8px;
  }

  table.choose-tickets {
    font-size: 80%;
  }

  form table.choose-tickets.table > tr > td,
  form table.choose-tickets.table > tr > th {
    padding: 8px 4px;
  }

  table.choose-tickets input, table.choose-tickets select {
    width: 4.5em;
  }

  .btn {
    padding: 6px 9px;
    font-size: 90%;
  }

  .form-control {
    padding: 6px 9px;
  }

}

@media all and (max-width: 414px) {
  table.choose-tickets {
    font-size: 70%;
  }
}

@media all and (max-width: 400px) {
  table.choose-tickets {
    font-size: 65%;
  }

  .main h1.header {
    padding: 8px 6px 8px 6px;
  }

  .main .row .col-sm-12 {
    padding-left: 8px;
    padding-right: 8px;
  }

  table.ticket-summary tr > th,
  table.choose-tickets tr > td,
  .performance-list-row.header {
    font-size: 12px;
  }

  .performance-list-cell {
    display: block;
    padding: 4px 8px;
  }

  .performance-list-row.entry .performance-list-cell.name {
    font-weight: bold;
  }

  .performance-list-cell.date,
  .performance-list-cell.day,
  .performance-list-cell.time,
  .performance-list-cell.status {
    display: inline-block;
    height: 40px;
  }

  .performance-list-cell.status {
    float: right;
    display: inline-block;
  }

  .performance-list-cell a {
    width: 100%;
  }

  .performance-list-row {
    display: block;
    clear: both;
  }

  .performance-list-row.entry:not(:last-child) {
    border-bottom: 1px solid #aaa;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .performance-list-row.entry .performance-list-cell {
    border-top: none;
  }
}
