/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
body {
  background: #fff;
  color: #061022;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.main-title {
  font-size: 3.5em;
  margin-bottom: 0;
  margin-top: 0;
}
.tagline {
  font-size: 1.25em;
  line-height: 1.6em;
  font-weight: 400;
  margin-bottom: 3em;
}
.secondary-tagline {
  font-size: 1em;
  margin-bottom: 3em;
}
.heading-small {
  font-size: 0.9375em;
  font-weight: 600;
  text-transform: uppercase;
  color: #7B879F;
}
.breather {
  padding: 2em 0;
}

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

.page {
  padding: 0 2rem;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1440px;
}

header {
  padding: 46px 2rem;
}

header .container {
  display: flex;
  flex-direction: row;
}

#logo {
  display: block;
  width: 78px;
  height: 44px;
  margin-right: 24px;
}
#logo a {
  display: block;
  width: 78px;
  height: 44px;
  text-indent: -9999px;
  overflow: hidden;
  background: url(/assets/logo.png) no-repeat;
  background-size: cover;
}

header::after {
  content: '';
  display: table;
  clear: both;
}

nav {
  flex: 1;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  text-align: center;
  padding: 12px;
  display: inline-block;
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  color: #7B879F;
  font-weight: 600;
}

nav a:hover {
  color: #6D49FB;
}

.admin-link {
  color: #6D49FB;
  text-decoration: none;
}

.concierto-single .flex.hero {
  align-items: center;
  padding: 0;
}

.concierto-single .hero .metadata,
.concierto-single .hero .image {
  flex: 1;
  position: relative;
}

.concierto-single .hero .metadata {
  z-index: 2;
}

.concierto-single .hero .image img {
  width: 120%;
  float: right;
  position: relative;
  z-index: 1;
}

.concierto-single h1 {
  font-size: clamp(3.5rem, 8vw + 1rem, 6.875rem);
  line-height: 1em;
  font-weight: 800;
  margin: 0;
}

.price {
  color: #7B879F;
  padding: 0 1em;
}

.date,
.place {
  color: #7B879F;
  font-size: 1.125em;
  text-transform: uppercase;
  font-weight: 600;
  vertical-align: middle;
  margin-right: 1em;
}

.date:before,
.place:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: .5em;
}
.date:before {
  background:url(/assets/icon-calendar.png) no-repeat;
  background-size: cover;
  position: relative;
  top: -2px;
}
.place:before {
  background:url(/assets/icon-pin.png) no-repeat;
  background-size: cover;
  position: relative;
  top: -2px;
}

.concierto {
  transition: all ease-in-out .15s;
  cursor: pointer;
}

.concierto:hover,
.card-element:hover {
  box-shadow: 0px 18px 54px 0px rgba(70, 70, 88, 0.40);
  transition: all ease-in-out .15s;
}

.grilla-cards .card.card-element-new {
  box-shadow: none;
  border: 4px dashed rgba(70, 70, 88, 0.10);
  text-align: center;
}
.grilla-cards .card.card-element-new a {
  color: #7B879F;
}
.grilla-cards .card.card-element-new a:before {
  content: "+";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #7B879F;
  color: #7B879F;
  font-size: 1.25em;
  border-radius: 50%;
  line-height: 1.1em;
  text-align: center;
  margin-right: .5em;
}
.grilla-cards .card.card-element-new a:hover:before {
  border-color: #6D49FB;
  color: #6D49FB;
}

.concierto .place,
.concierto .date {
  font-size: 0.8125em;
}
.concierto .date:before,
.concierto .place:before {
  width: 16px;
  height: 16px;
}

.concierto-single .flex {
  padding: 3em 0 4em;
}

.concierto .title {
  font-size: 1.25em;
  color: #061022;
  font-weight: 600;
  margin: 0 0 .5em 0;
}

.concierto .arrow,
.card.card-table > .btn-full:after {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #6D49FB;
  color: #fff;
  text-align: center;
  box-shadow:0px 9px 20px rgba(141, 73, 251, 0.25);
  flex-basis: 48px;
	flex-grow: 0;
	flex-shrink: 0;
}
.card.card-table > .btn-full:after {
  content: "\203A";
  text-indent: 0;
  position: absolute;
  right: .5em;
  top: 50%;
  margin-top: -24px;
  font-size: 2em;
  line-height: 1.3em;
}
.concierto .arrow:before {
  content: "\203A";
  font-size: 2em;
  line-height: 1.3em;
}

.concierto .info.flex {
  justify-content: space-between;
  padding: 1.25em;
  align-items: flex-end;
}

.btn-primary {
  border-radius: 5px;
  background: #6D49FB;
  box-shadow:0px 9px 20px rgba(141, 73, 251, 0.25);
  color: #fff;
  color: #FFF;
  font-size: 1.125em;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  transition: all ease-in-out .15s;
}
.btn-primary:hover {
  box-shadow:0px 9px 40px rgba(141, 73, 251, 0.55);
  background: #7958ff;
  color: #fff;
}
.btn-smaller {
  font-size: 1em;
  padding: .872em 1.5em;
}
.btn-circle {
  width: 48px;
  height: 48px;
  line-height: 44px;
  border-radius: 50%;
  padding: 0;
  text-align: center;
  font-size: 2em;
  font-weight: 400;
}

.card {
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0px 4px 44px 0px rgba(70, 70, 88, 0.20);
  color: #7B879F;
}
.card.card-table {
  position: relative;
  margin-bottom: 1rem;
}
.card.card-table > .btn-full {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  text-indent: -9999px;
  z-index: 100;
}
.data-evento {
  flex: 3;
}
.data-fecha {
  flex: 2;
}
.data-capacidad,
.data-vendidas {
  flex: 1;
  text-align: right;
}
.data-vendidas {
  margin-right: 5em;
}
.admin .card-table.flex .data-vendidas {
  order: 3;
}

.data-evento,
.data-fecha,
.data-capacidad,
.data-vendidas {
  padding: 2rem;
}
.labels .data-evento {
  padding-left: 0;
  padding-right: 4rem;
}
.card-table .data-evento {
  font-weight: 600;
  color: #061022;
}

.card-grid.flex {
  gap: 2em;
  flex-direction: row;
  padding-top: 0;
}
.concierto-single .card-grid.flex {
  padding-top: 2em;
}
.card-grid .card {
  flex: 1;
  padding: 1.5em;
}
.card-grid .card p {
  margin-bottom: 0;
}

.card small {
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
}
.card.card-big {
  padding-top: 1.5em;
}

.card h2 {
  color: #000;
  font-size: 1.25em;
  font-weight: 600;
  margin: .5em 0;
}

.card p {
  font-size: 1em;
  font-weight: 400;
  margin: 0;
  margin-bottom: 1.5rem;
}

.card.card-big small,
.card.card-big h2,
.card.card-big p {
  padding-left: 1.5rem;
}

#map-container {
  height: 330px;
}
#map {
  height:100%; 
  width:100%;
  max-width:100%;
  overflow: hidden;
}

.extra-info {
  gap: 4em;
}

.column-left {
  flex: 5;
}
.column-right {
  flex: 4;
}

.card.dark {
  background: #7B879F;
  color: #fff;
}

.card.description {
  font-size: clamp(1rem, 0.7vw + 1rem, 1.563rem);
  text-align: center;
  padding: clamp(1rem, 0.7vw + 1rem, 1.563rem);
  line-height: 2em;
  margin-top: 7rem;
}
.card.description small {
  color: #FFF;
  font-size: .64em;
  font-weight: 600;
  text-transform: uppercase;
}
.card.description p {
  padding: 0 clamp(1.25rem, 1vw + 1rem, 1.563rem);
}


#modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 100%;
  text-align: center;
  background: rgba(32,28,60,.75);
  opacity: 1;
  height: 100vh;
  display: flex;
  justify-content: center;
}

#concierto_modal {
  text-align: center;
  height: 10vh;
  display: flex;
  justify-content: center;
}

#client-data-form {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  height: auto;
  opacity: 1;
  position: absolute;
  min-height: 300px;
  padding: 30px;
  text-align: justify;
  box-shadow: 0px 4px 44px 0px rgba(70, 70, 88, 0.20);
  margin-top: 2em;
}
#client-data-form h2 {
  font-size: 1.5em;
  margin: 0 0 2rem;
  font-weight: 600;
}

#client-data-form label,
.admin-fields label {
    margin-bottom: 1em;
    display: block;
	}

#client-data-form input,
.admin-fields input[type=text],
.admin-fields input[type=datetime-local],
.admin-fields input[type=number] {
  text-align: left;
  width: 100%;
  max-width: 400px;
  border: 1px solid #7B879F;
  padding: 0.75em 1em;
  border-radius: 6px;
  box-sizing: border-box;
  color: #061022;
  margin-bottom: 2em;
}
.admin-fields input[type=file] {
  margin-bottom: 2em;
}
.admin-fields textarea {
  text-align: left;
  margin-bottom: 10px;
  width: 100%;
  max-width: 400px;
  border: 1px solid #7B879F;
  padding: 0.75em 1em;
  border-radius: 6px;
  box-sizing: border-box;
  color: #061022;
  margin-bottom: 2em;
  height: 200px;
}
#client-data-form button {
  width: 100%;
}
.checkbox-container {
  display: block;
  box-shadow: 0px 4px 14px 0px rgba(70, 70, 88, 0.20);
  margin-bottom: 1em;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  position: relative;
  padding: 1em;
  box-sizing: border-box;
}
.checkbox-container input {
  display: block;
  width: 100%;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
}
.checkbox-container label {
  display: block;
  margin: 0;
  font-weight: 400;
}
.checkbox-container input:checked ~ label {
  font-weight: 600;
}
.checkbox-container input:checked ~ label:before {
  background: url(/assets/tick.png) no-repeat center #6D49FB;
  background-size: 16px;
  border: 1px solid #6D49FB;
}

.checkbox-container label:before {
  content: "";
  width: 1em;
  height: 1em;
  display: inline-block;
  border: 1px solid #7B879F;
  position: relative;
  top: 2px;
  margin-right: .5em;
  z-index: 1;
}

.edit-concert img {
  max-width: 400px;
}
.edit-concert input[type=checkbox] {

}

.btn-secondary {
  border: none;
  background: none;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  padding: 1em 0;
  cursor: pointer;
  margin-top: 1em;
  text-decoration: none;
  color: #061022;
}
.btn-cancel {
  padding: 1em 0;
  margin-top: 1em;
  display: inline-block;
}

.btn-secondary:hover {
  color: #6D49FB;
}
  
.qr {
  background: #ffffff;
}

.concierto-title {
  margin-left: 60px;
  margin-right: 60px;
}

.btn-print {
  background: transparent;
  border: none;
  margin-left: 60px;
  color: #bbbbbb;
}

.btn-print:hover {
  color: #D1D100;
}

@media print {
  .no-printable {
    display: none;
  }
}

@page { size: auto;  margin: 0mm; }

/* Entradas */

.entrada_0 {
  grid-area: c;
  height: 100%;
}

.entrada_0 p {
  transform: rotate(-90deg);
  width: 100%;
  text-align: left;
  padding:0;
  font-family: 'Copperplate', sans-serif;
  margin:0;
}

.entrada_1 {
  grid-area: a;
}

.entrada_2 {
  grid-area: d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.entrada_3 {
  grid-area: e;
}

.entrada_4 {
  grid-area: g;
}

.entrada_5 {
  grid-area: h;
}


.table-container .labels {
  padding: 2rem 0;
}

.item.entrada {
  position: relative;
  border-bottom: 1px solid #E2E4E7;
  padding: 2rem 0;
  color: #7B879F;
}

.item.entrada button {
  display: block;
  background: #6D49FB;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  color: #fff;
  text-align: center;
  box-shadow: 0px 9px 20px rgba(141, 73, 251, 0.25);
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}
.item.entrada button:before {
  content: "";
  position: absolute;
  display: block;
  width: 23px;
  height: 18px;
  background: url(/assets/tick.png) no-repeat;
  top: 15px;
  left: 12px;
  background-size: cover;
}

.item.entrada .data-uso {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  height: 100%;
  align-items: center;
  overflow: visible;
}
.item.entrada .data-uso small {
  font-weight: 400;
  font-size: .875em;
  opacity: .5;

}
.item.entrada .data-nombre {
  color: #061022;
  font-weight: 600;
}

.compradores .tagline {
  margin-bottom: 2em;
}
.compradores .card-grid {
  padding: 0 0 2em 0;
}
.compradores .card-grid .card {
  padding: 1em 1.5em;
  margin: 0;
}

.data-id,
.data-uso,
.data-nombre,
.data-mail,
.data-dni,
.data-info {
  flex: 2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding-right: 1em;
}
.data-id {
  max-width: 50px;
}

.data-info {
  display: none;
}

/**/



.concierto p {
  color: #000000;
}

.grilla-conciertos {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
}

.grilla-cards {
  display: grid;
  gap: 2em;
  grid-auto-rows: 5rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}
.grilla-cards .card {
  margin-bottom: 0;
  display: flex;
}
.grilla-cards .card a {
  display: block;
  flex: 1;
  line-height: 5em;
  color: #061022;
  font-weight: 600;
  text-decoration: none;
  padding: 0 1em;
}
.grilla-cards .card a:hover {
  color: #6D49FB;
}

.concierto .image {
  text-align: center;
}
.concierto img {
  position: relative;
  width: 100%;
  max-width: 300px;
  top: 0;
}

.content {
  width: 100%;
}

.outcome {
  text-align: center;
}
.outcome img {
  max-width: 225px;
}

@media screen and (max-width: 1000px) {
  .extra-info {
    flex-direction: column-reverse;
    gap: 1rem;
  }
  .card.description {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  header {
    padding: 1rem 2rem;
  }
  .page,
  header {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .extra-info.flex {
    padding-top: 2rem;
  }
  .hero.flex {
    flex-direction: column-reverse;
    text-align: center;
  } 
  .where.flex {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
  }
  .hero .metadata {
    position: relative;
    top: -2vh;
  }
  .concierto-single .hero .image {
    order: 0;
  }
  .concierto-single .hero .image img {
    width: 100%;
    float: none;
  }
}

@media screen and (max-width: 500px) {
  .place, .date {
    display: block;
  }
  .date {
    margin-bottom: 0.75em;
  }
  .card-grid.flex {
    flex-direction: column;
  }
  .grilla-conciertos {
    grid-auto-rows: auto;
  }
  .card-grid .card {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 1100px) {
 .hero .price {
    display: block;
    padding: 1em 0;
 }
}

@media screen and (max-width: 768px) {
  .admin .labels,
  .compradores .label:not(.data-nombre) {
    display: none;
  }
  .compradores .labels {
    padding: 1em 0;
  }
  .compradores .label.data-nombre:after {
    content: "es";
  }
  .tabla-conciertos {
    margin-top: 2em;
  }
  .admin .concierto .data-fecha {
    display: block;
  }
  .admin .concierto .data-fecha,
  .admin .concierto .data-vendidas,
  .admin .concierto .data-capacidad {
    font-size: .875em;
  }
  .admin .card-table.flex {
    display: block;
    padding: 1em 1.5em;
    line-height: 1.5em;
  }
  .admin .card-table.flex span {
    padding: 0;
  }
  .admin .card-table.flex .data-evento {
    display: block;
  }
  .admin .card-table.flex .data-fecha:after {
    content: ". "
  }
  .admin .card-table.flex .data-vendidas:after {
    content: " de ";
  }
  .admin .card-table.flex .data-capacidad:after {
    content: " vendidas."
  }
  .admin .card-table.flex .data-vendidas,
  .admin .card-table.flex .data-capacidad {
    font-weight: 600;
    margin: 0;
  }
  .item.entrada.flex {
    display: block;
    padding: 1em 0 1em 2.5em;
    line-height: 1.5em;
  }
  .item.entrada.flex .data-id {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -12px;
    opacity: .5;
  }
  .item.entrada.flex .data-nombre,
  .item.entrada.flex .data-dni {
    display: block;
  }
  .item.entrada.flex .data-dni,
  .item.entrada.flex .data-mail {
    font-size: .875em;
  }
}
@media screen and (max-width: 1440px) {
  .concierto .place,
  .concierto .date {
    display: block;
  }
  .concierto .date {
    margin-bottom: .825em;
  }
}

@media screen and (max-width: 900px) {
  .compradores .card-grid {
    display: grid;
    gap: 2em;
    grid-auto-rows: 5.5rem;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));   
  }
  .main-title {
    font-size: 2.75em;
  }
}
