/*
 Theme Name:   Phoenix Child for Tickets
 Theme URI:    http://burningman.com
 Description:  BM Phoenix Child Theme for Tickets
 Author:       BM Tech Team
 Template:     burning-man-phoenix
 Version:      1.0.1
 Text Domain:  phoenix-child
*/

/*@import url("../../burning-man-phoenix/css/app.css");*/

/* =Theme customization starts here
-------------------------------------------------------------- */
@import url("//fonts.googleapis.com/css?family=Abel");
@import url("//fonts.googleapis.com/css?family=Rokkitt:400,700");

.detail-page.fullwidth-page.tickets-homepage #primary {
  width: 98%;
  margin: 0 auto;
}

figure {
  margin-left: 0;
}

.entry-content img,
.comment-content img,
.widget img {
  max-width: 97.5%; /* Fluid images*/
}
img[class*="align"],
img[class*="wp-image-"] {
  height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
  max-width: 97.5%;
  width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}
img.size-full,
img.size-large {
  max-width: 95%;
  width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}
.gallery-item {
  display: block;
  height: 185px;
}
.wp-caption-text {
  font-size: 0.9rem;
  padding-top: 10px;
  font-style: italic;
  line-height: 1.3;
}
.wp-caption.aligncenter .wp-caption-text {
  max-width: 95%;
  padding-bottom: 10px !important;
}
.gallery-caption {
  max-width: 200px;
}

article:first-of-type::before {
  background: none;
  height: 0;
}
h1.page-title {
  color: #59341b;
}
h2 {
  color: #2c5573;
  line-height: 1.2;
  font-size: 1.6rem;
  font-family: "RockwellStd", "Courier Bold", Courier, Georgia, serif;
}
h2.blog-special {
  font-family: "Amatic SC", cursive;
  font-weight: bold;
  font-size: 2.5rem;
}
h3 {
  color: #2c5573;
  font-size: 1.1rem;
  font-weight: bold;
}
.home .detail-page:before {
  margin-bottom: 15px;
}

article .entry-meta {
  margin: 0 0 1rem 0;
  color: #333;
}
article .entry-meta span .entry-date,
article .entry-meta .posted-in span,
article .entry-footer .tagged a,
article .entry-footer .comments-link a,
span.tagged,
.edit-link a {
  font-size: 0.9rem;
  font-family: "Open Sans", helvetica, arial, sans-serif;
}

p.edit-post {
  clear: both;
}

h1 {
  font-family: "RockwellStd", "Courier Bold", Courier, Georgia, serif;
}
article .entry-content {
  margin-top: 1.5rem;
}
article .entry-footer {
  margin: 0;
  overflow: hidden;
}
article span.tagged {
  display: block;
  margin-bottom: 1em;
  float: left;
  max-width: 80%;
  line-height: 1.4;
  padding-top: 3px;
}
article .posted-in {
  line-height: 1.3;
}
article p.comments-link {
  font-weight: bold;
}
article p.comments-link a {
  font-weight: normal;
  padding-left: 5px;
}
.paging-navigation {
  overflow: hidden;
  margin-bottom: 2rem;
}
.nav-links {
  overflow: hidden;
  margin-bottom: 2em;
}
.nav-previous {
  float: left;
  padding-top: 1em;
  padding-bottom: 0.5rem;
}
.nav-next {
  float: right;
  padding-top: 1em;
}
blockquote {
  background-color: rgba(246, 248, 249, 0.4);
  padding-left: 1rem;
}

code {
  color: #5c5c5c;
  font-weight: 400;
  line-height: 1;
}
p.form-submit input[type="submit"] {
  height: 40px;
  background-color: #722426;
  color: #fff;
  border: 1px solid rgb(204, 204, 204);
  font-family: "RockwellStd", "Courier Bold", Courier, Georgia, serif;
  font-size: 1em;
}

figure img,
img.aligncenter,
img.alignnone {
  border: 5px solid #fff;
}

.tablepress {
  width: 100%;
  background: transparent;
  border: none;
}
.tablepress thead {
  background: #2c5573;
}
.tablepress [class*="column"] + [class*="column"]:last-child {
  float: none;
}
table thead tr th,
table thead tr td {
  color: #fff;
}
table tr.even,
table tr.alt,
table tr:nth-of-type(even) {
  background: rgba(252, 252, 252, 0.9);
}
table tr.even,
table tr.alt,
table tr:nth-of-type(odd) {
  background: rgba(252, 252, 252, 0.3);
}

/* Sidebar */

.widget {
  background: #fcfbf9;
  background: -moz-linear-gradient(
    left,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  background: -webkit-linear-gradient(
    left,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  background: linear-gradient(
    to right,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfbf9', endColorstr='#00fcfbf9',GradientType=1 );
}
.widget a {
  color: #996600;
}
.widget ul {
  padding-left: 0.8rem;
  padding-bottom: 1rem;
}
.widget h2 {
  padding-top: 0.5rem;
  padding-left: 0.8rem;
}
.widget_nav_menu ul {
  list-style-type: none;
  padding: 1rem 0;
}
.widget_nav_menu ul li a {
  font-family: "Amatic SC", cursive;
  color: #960;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 1px;
  font-weight: bold;
  padding: 0 0 5px 0;
  display: inline-block;
  width: 90%;
}
.widget_nav_menu ul li:before {
  content: "";
  display: block;
  height: 20px;
  width: 19px;
  margin-top: 0;
  background: url(../../burning-man-phoenix/img/phoenix-main-sprite.png) -13px -460px
    no-repeat;
  float: left;
}

/* media queries */
@media only screen and (min-width: 480px) {
  figure.aligncenter {
    max-width: 97.5% !important;
  }
  .content-area .comment-form-comment textarea {
    width: 100%;
    min-height: 150px;
  }
}

@media only screen and (min-width: 768px) {
  .gallery-item {
    float: left;
  }

  figure.alignright,
  img.alignright {
    float: right;
    margin: 6px 0 8px 18px !important;
  }
  figure.alignleft,
  img.alignleft {
    float: left;
    margin: 6px 18px 8px 0 !important;
  }
  img.size-full,
  img.size-large,
  .wp-caption.aligncenter .wp-caption-text {
    max-width: 100%;
    width: auto;
  }
  blockquote {
    padding: 0.5625rem 1.25rem;
  }
  blockquote p {
    margin-bottom: 0;
  }
  article p.comments-link {
    float: right;
  }
}

@media only screen and (min-width: 1024px) {
  .fullwidth-page.tickets-homepage {
    max-width: 50rem;
    margin: 0 auto;
  }
  .fullwidth-page.tickets-homepage #primary {
    margin-left: 0 !important;
  }
  .content-area .comment-form-comment textarea {
    width: 100%;
    min-height: 150px;
  }
}

/* FAQ Styling Customizations */
.ufaq-faq-div {
  width: 100%;
}

.faqs-template #primary {
  width: 100%;
}
.faqs-template.no-children #primary {
  background: #f8f4eb;
  padding: 15px;
}
.tax-ufaq-category #primary {
  width: 100% !important;
  margin: 0px;
  padding: 0px;
  font-size: 1em;
  color: #625d53;
  font-family: Open Sans, sans-serif;
}
.tax-ufaq-category .content-area-wrapper {
  width: 100%;
  padding: 10px;
}
.tax-ufaq-category #primary p {
  font-size: 1em;
  color: #625d53;
  font-family: Open Sans, sans-serif;
}

.page-template-taxonomy-ufaq-category #primary h1,
.page-template-taxonomy-ufaq-category #primary h2,
.page-template-taxonomy-ufaq-category #primary h3,
.page-template-taxonomy-ufaq-category #primary h4,
.page-template-taxonomy-ufaq-category #primary h5,
.tax-ufaq-category #primary h1,
.tax-ufaq-category #primary h1.entry-title,
.tax-ufaq-category #primary h2,
.tax-ufaq-category #primary h3,
.tax-ufaq-category #primary h4,
.tax-ufaq-category #primary h5 {
  color: #625d53;
  font-family: Abel, sans-serif !important;
  font-weight: 300;
}
.page-template-taxonomy-ufaq-category #primary h1 a,
.page-template-taxonomy-ufaq-category #primary h2 a,
.page-template-taxonomy-ufaq-category #primary h3 a,
.page-template-taxonomy-ufaq-category #primary h4 a,
.page-template-taxonomy-ufaq-category #primary h5 a,
.tax-ufaq-category #primary h1 a,
.tax-ufaq-category #primary h2 a,
.tax-ufaq-category #primary h3 a,
.tax-ufaq-category #primary h4 a,
.tax-ufaq-category #primary h5 a {
  color: inherit;
  font-weight: inherit;
}
ul.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-list-item {
  font-size: 16px;
  padding: 0.3rem 0;
  font-family: Abel, sans-serif !important;
  color: #369;
  line-height: 1.2;
}
.section-tree {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.section-tree .see-all-articles {
  display: block;
  padding: 15px 0;
  color: #f30;
}
.section-tree .section {
  box-sizing: border-box;
  flex: 0 0 49%;
  background: #f8f4eb;
  padding: 15px;
  margin: 0.5%;
}
@media only screen and (max-width: 768px) {
  .section-tree .section {
    flex: 0 0 100%;
  }
}
.section-tree .article-list-item a {
  color: #336699;
}
.tax-ufaq-category #primary h1 {
  font-size: 3em;
}
.single-ufaq .container.faqs-template h2 {
  color: #625d53;
  font-family: Abel, sans-serif !important;
  font-weight: 300;
}
.tax-ufaq-category #primary h1.entry-title {
  font-size: 1.5em;
  color: #625d53;
}
.single-ufaq .box {
  height: auto !important;
}
.single-ufaq .container.faqs-template {
  padding: 10px;
}
.single-ufaq .box p.subheader {
  line-height: 1.4;
  font-size: 0.83rem;
  color: #6f6f6f;
  font-weight: 400;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}
.single-ufaq .box .columns {
  padding: 0px;
}
.page-template-taxonomy-ufaq-category .container.faqs-template,
.single-ufaq .container.faqs-template,
.tax-ufaq-category .container.faqs-template {
  background: #ffffff;
}
#rate_article_container {
  background: #f0ece2;
  width: 85%;
  margin: 20px auto;
  padding: 10px 25px;
}

.tax-ufaq-category .detail-page:before {
  display: none !important;
}
.tax-ufaq-category #primary #main {
  padding-left: 0px;
  padding-right: 0px;
}

ul.breadcrumbs {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  padding-left: 20px;

  display: block;
  list-style: none;
}
ul.breadcrumbs li {
  display: inline-block;
  color: #bab3a0;
  font-size: 0.875em;
  line-height: 40px;
  text-transform: none;
  font-family: Abel;
}
ul.breadcrumbs > :first-child:before {
  content: " ";
  margin: 0;
}
ul.breadcrumbs > :before {
  color: #aaa;
  content: "/";
  margin: 0 0.75rem;
  position: relative;
  top: 1px;
}
ul.breadcrumbs li a {
  color: #bab3a0;
}

#ufaq-faq-list {
  background: #fff;
}

.box {
  background: #f8f4eb;
  padding: 10px 30px;
}
.box .header.row {
  margin: 0 -0.9375rem;
  max-width: none;
  width: auto;
}

.logout-link {
  padding-right: 15px;
  float: right;
}
/* New homepage styles
-------------------------------------------------------------- */
:root {
  --primary-blue: #2c5573;
  --hover-blue: #2b6cb0;
  --success-green: #2f855a;
  --error-red: #c53030;
}
.display-wide {
  width: 90%;
  margin: 0 auto;
}
.display-wide .entry-header {
  text-align: center;
  padding: 2rem 0 0;
}
.bmp-sales-container {
  margin-top: 1.5rem;
}

.all-sales-grid {
  --auto-fit-min-col-size: 350px;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(var(--auto-fit-min-col-size), 100%), 1fr)
  );
  max-width: 1400px;
  margin: 2rem auto;
}

.bmp-sale-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 1.5rem 0;
  border: 1px solid #e2e8f0;
  position: relative;
  perspective: 1000px;
}
.bmp-sale-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.bmp-sale-card.flipped .bmp-sale-card-inner {
  transform: rotateY(180deg);
}
.bmp-sale-card-front,
.bmp-sale-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: white;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bmp-sale-card-front {
  position: relative;
}
.bmp-sale-card-back {
  transform: rotateY(180deg);
  top: 0;
}
.bmp-sale-back-description {
  overflow-y: auto;
  text-wrap-style: pretty;
  padding: 0.3rem;
  margin-bottom: 0.8rem;
}

.bmp-sale-card.hidden {
  display: none;
}
.sale-more-info-btn,
.sale-flip-back-btn {
  background: #f8fafc;
  border-top: 1px solid #e1e1e1;
  border-bottom: transparent;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-left: none;
  border-right: none;
  padding: 0.7rem 1rem;
  margin-inline: -1.5rem;
  margin-top: auto;
  font-size: 1.1rem;
  font-weight: bold;
  color: #59341b;
  font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode",
    "Lucida Sans", Tahoma, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bmp-sale-card-header,
.bmp-sale-front-description,
.bmp-sale-dates-container,
.bmp-sale-button-container {
  flex: 0 0 auto;
}

.bmp-sale-card p {
  margin: 0 0 1.5rem;
}
.bmp-sale-card h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}

.bmp-sale-date {
  display: block;
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 3px;
}

.bmp-sale-time {
  display: block;
  color: #4a5568;
  font-size: 1.1rem;
  font-weight: 600;
  &.bmp-sale-time-closing {
    font-size: 1rem;
    margin-top: -1.5rem;
  }
}

.bmp-sale-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 12px 0;
  color: #1a202c;
}
.bmp-sale-image-container {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.bmp-sale-image-container img {
  max-width: 100%;
  height: auto;
}

.status-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 14ch;
  text-align: center;
}

.bmp-sale-dates-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.bmp-sale-date-block {
  background: #f8fafc;
  border-radius: 5px;
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 7px;
}

.bmp-sale-date-block-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  flex: 0 0 40%;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .bmp-sale-date-block-title {
    line-height: 1.7;
  }
}
.bmp-sale-date-block-title.steward-form,
.bmp-sale-date-block-title.applicaiton-form {
  flex: 0 0 30%;
}
.bmp-sale-date-block-content {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.3;
  text-wrap-style: balance;
  text-align: end;
}
.bmp-application-date-container {
  margin-bottom: 1rem;
}

.status-upcoming {
  background: #ebf8ff;
  color: var(--hover-blue);
  border: 2px solid var(--hover-blue);
}
.status-active {
  background: #f0fff4;
  color: var(--success-green);
  border: 2px solid var(--success-green);
}
.status-closed {
  background: #fff5f5;
  color: var(--error-red);
  border: 2px solid var(--error-red);
}
.status-application {
  background: #fff5f5;
  color: #960;
  border: 2px solid #960;
}
.bmp-sale-button-container {
  margin: 0 0 1rem;
}
.bmp-link-to-vendor {
  background: var(--success-green);
  border: 2px solid var(--success-green);
  border-radius: 5px;
  padding: 0.6rem 1rem;
}
.bmp-link-to-vendor:hover,
.bmp-link-to-vendor:active,
.bmp-link-to-vendor:focus {
  background: #cda131;
  border: 2px solid #eaeaea;
}

.bmp-link-to-vendor .bmp-sale-link {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bmp-sale-front-description {
  color: #4a5568;
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .bmp-sale-front-description {
    font-size: calc(1em + 0.1 * (100vw - 20em) / (30 - 20));
  }
}

.bmp-sale-icon {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--success-green);
  margin-bottom: 0.2rem;
}

.bmp-sales-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bmp-sales-filter-container {
  max-width: 1400px;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 1rem;
  display: none;
}

.bmp-sales-filter-button {
  flex: 0 0 calc(50% - 60px);
  padding: 8px 24px;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid;
}
@media (max-width: 768px) {
  .bmp-sales-filter-button {
    flex: 0 0 calc(50% - 10px);
  }
}

.bmp-sales-filter-button.all {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: white;
}

.bmp-sales-filter-button.all.active {
  background: var(--primary-blue);
  color: white;
}

.bmp-sales-filter-button.upcoming {
  border-color: var(--hover-blue);
  color: var(--hover-blue);
  background: white;
}

.bmp-sales-filter-button.upcoming.active {
  background: var(--hover-blue);
  color: white;
}

.bmp-sales-filter-button.active-filter {
  border-color: var(--success-green);
  color: var(--success-green);
  background: white;
}

.bmp-sales-filter-button.active-filter.active {
  background: var(--success-green);
  color: white;
}

.bmp-sales-filter-button.closed {
  border-color: var(--error-red);
  color: var(--error-red);
  background: white;
}

.bmp-sales-filter-button.closed.active {
  background: var(--error-red);
  color: white;
}
.bmp-step-sale-buttons-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 1rem;
}

/* new */

@media (max-width: 768px) {
  .all-sales-grid {
    grid-template-columns: 1fr;
  }
  .bmp-sales-filter-container {
    display: flex;
  }

  .bmp-sale-dates-container {
    flex-direction: column;
  }

  .bmp-sale-date-block {
    flex: none;
  }
}
