/* -----------------------------------------------
------------------- GENERAL ----------------------
----------------------------------------------- */

:root {
  --bottom-margin: 0px;
}

@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/segoeuil.11fd79bcf794.ttf");
}

body,
input {
  font-family: "Segoe UI", sans-serif;
  font-size: 100%;
  font-weight: 100;
}

@media (min-width: 576px) {
  body,
  input {
    font-size: 150%;
  }
}

.btn-search {
  font-size: 55%;
}

.s-25x25 {
  width: 25px;
  height: 25px;
}

.s-30x30 {
  width: 30px;
  height: 30px;
}

.s-28x28 {
  width: 28px;
  height: 28px;
}

.cursor-pointer {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  min-height: 100%;
  padding-bottom: 120px; /* same as footer's height */
}

footer {
  position: absolute;
  bottom: 0;
  height: 120px;
  background-color: #424242;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(180, 180, 180);
  z-index: -100;
  text-align: center;
}

/* -----------------------------------------------
---------------- compartir.html ------------------
----------------------------------------------- */

.comparte-lo-bueno {
  padding-bottom: 40px;
  margin-top: 56px;
}

.qr-image {
  width: 220px;
}

.comparte-lo-bueno-icon {
  padding: 1%;
  margin: 10px;
}

/* -----------------------------------------------
---------------- event_detail.html ------------------
----------------------------------------------- */

.gradient-event-bar {
  z-index: 80;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-detail-container {
  padding-bottom: 40px;
  margin-top: 56px;
}

.event-spacer {
  height: 30px;
}

/* -----------------------------------------------
---------------- event_list.html ------------------
----------------------------------------------- */

.event-list-title {
  padding: 16px;
}

.event-list-div {
  padding: 16px;
}

.event-list-container {
  padding-bottom: 40px;
  margin-top: 56px;
}

.event-list-item {
  padding: 0px;
}

/* -----------------------------------------------
--------------- liked_songs.html -----------------
----------------------------------------------- */

.liked-songs-container {
  padding-bottom: 40px;
  margin-top: 56px;
}

/* -----------------------------------------------
------------------ Export Views ------------------
----------------------------------------------- */

.button-next {
  visibility: hidden;
}

/* -----------------------------------------------
----------- select_export_songs.html -------------
----------------------------------------------- */

.select-export-songs-container {
  padding-bottom: 40px;
  margin-top: 35px;
}

.select-export-songs-container h4:hover {
  background-color: rgb(206, 206, 206);
}

.select-export-songs-container h4 {
  cursor: pointer;
  margin: -3px;
  border-radius: 10px;
  padding: 7px;
}

.select-export-songs-container h1 {
  margin-top: 10px;
}

.export-deselect-button {
  height: 17px;
  line-height: 17px;
  vertical-align: middle;
}

/* -----------------------------------------------
---------- export_song_selection.html ------------
----------------------------------------------- */

.export-sort-item {
  margin: 6px !important;
  padding: 6px;
  padding-bottom: 12px !important;
  border-radius: 10px !important;
  width: fit-content;
  cursor: pointer;
}

.export-transpose-select {
  margin: 0;
  margin-left: 10px;
  margin-bottom: -5px;
  background-color: #474747;
  color: white;
  padding: 3px;
  padding-bottom: 6px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
}

.active-sort-item {
  background-color: #d6d6d6;
}

.inactive-sort-item {
  background-color: rgb(237, 237, 237);
}

.export-selection-container {
  padding-bottom: 40px;
  margin-top: 35px;
}

.button-warning {
  font-size: small;
}

.button-warning img {
  width: 24px;
}

.button-ready {
  font-size: small;
}

.button-ready img {
  width: 24px;
}

.export-content-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.settings-container {
  background-color: #d6d6d6;
  border-radius: 10px;
  padding: 20px;
  margin-top: 11px;
  margin-left: 5px;
  display: flex;
  flex-direction: column;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
}

.settings-row select {
  font-size: 16px;
}
.modal-spacer {
  border: none;
  border-bottom: 1px solid gainsboro;
  margin-right: 5%;
  margin-left: 5%;
  margin-bottom: 2%;
}

.modal-body-heading {
  font-size: large;
}

.modal-body-text {
  font-size: medium;
}

/* -----------------------------------------------
------------------ SONG LISTS --------------------
----------------------------------------------- */

.unlike {
  vertical-align: middle;
  color: #ff0000;
  margin: 0;
  padding: 0;
  width: 24px;
  cursor: pointer;
}

.search-by-btn {
  visibility: hidden;
}

.category-card-large:hover .category-overlay {
  opacity: 1;
}

.category-card-large {
  position: relative;
  margin: 16px;
  padding: 0px;
  cursor: pointer;
}

.category-image-large {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.category-card {
  position: relative;
  margin: 16px;
  padding: 0px;
  cursor: pointer;
  width: 130px;
  pointer-events: none;
  cursor: default;
}

.category-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.category-image-dim {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  opacity: 0.5;
}

.category-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.3s ease;
  background-color: rgba(33, 33, 33, 0.5);
  border-radius: 50%;
}

.category-text {
  color: white;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.category-badge-row {
  margin-bottom: 20px;
}

.category-badge-div {
  width: 35px;
}

.selected-tag {
  padding-right: 6px;
  display: none;
}

.unselected-tag {
  padding-right: 6px;
}

.song-mp3-link-icon {
  vertical-align: middle;
  color: #2196f3;
  margin: 0;
  padding: 0;
}

.song-pdf-icon {
  vertical-align: middle;
  color: #009688;
  margin: 0;
  padding: 0;
}

.song-list-tag {
  margin: 0px;
  margin-left: 3px;
}

.back-to-top-button {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;

  position: fixed;
  bottom: -100px;
  right: 30px;
  z-index: 99;
  cursor: pointer;
  transition: bottom 0.5s linear;
}

/* Override Bootstrap */
.list-group-item :first-child {
  margin-right: 0;
}

.list-group-item:hover {
  z-index: 0;
}

/* -----------------------------------------------
------------- category_detail.html ---------------
----------------------------------------------- */

.category-detail-container {
  padding-bottom: 40px;
  margin-top: 35px;
}

.category-name-row {
  padding-right: 2%;
  margin-top: 15px;
}

/* -----------------------------------------------
-------------------- LOADER ----------------------
----------------------------------------------- */

.loader {
  border: 10px solid #dddcdc;
  border-top: 10px solid #009688;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  width: 100px;
  height: 100px;
  margin: 0px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.horizontal-scroll-container {
  display: flex;
  flex-wrap: no-wrap;
  overflow-x: auto;
  margin: 20px;
  padding-left: 3px;
  display: flex;
  flex-direction: row;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.selector {
  cursor: pointer;
  border-radius: 12px;
  padding-right: 6px;
  background-color: rgb(235, 235, 235);
}

.loader-container {
  margin-top: 100px;
}

/* -----------------------------------------------
----------------- SONG DETAIL --------------------
----------------------------------------------- */

/* Song content */

span.chord-span {
  position: relative;
}

span.chord-span:before {
  content: attr(data-chord);
  position: absolute;
  top: -20px;
  color: red;
  white-space: nowrap;
  font-size: 0.75em;
  font-style: normal;
  font-weight: normal;
  user-select: none;
}

@media (min-width: 576px) {
  span.chord-span:before {
    top: -30px;
  }
}

.btn-open-pdf {
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
}

@media (max-width: 576px) {
  .btn-open-pdf {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

.song-section {
  line-height: 2em;
  position: relative;
}

/* Event card */

.event-card {
  position: relative;
  margin: 16px;
  padding: 0px;
  cursor: pointer;
}

.event-image {
  display: block;
  width: 100%;
  padding-top: 100%;
  border-radius: 50%;
}

.event-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.3s ease;
  background-color: rgba(33, 33, 33, 0.5);
  border-radius: 50%;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

.event-text {
  color: white;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* -----------------------------------------------
------------------- base.html --------------------
----------------------------------------------- */

/* Show/hide elements on mobile or desktop */

@media only screen and (max-device-width: 480px) {
  desktop {
    display: none;
  }
}

@media only screen and (min-width: 480px) {
  mobile {
    display: none;
  }
}

/* Mobile Hamburger Menu */

#hamburger-menu-toggle {
  opacity: 0;
}

#hamburger-menu-toggle:checked + .hamburger-menu-button > span {
  transform: rotate(45deg);
}

#hamburger-menu-toggle:checked + .hamburger-menu-button > span::before {
  top: 0;
  transform: rotate(0deg);
}

#hamburger-menu-toggle:checked + .hamburger-menu-button > span::after {
  top: 0;
  transform: rotate(90deg);
}

#hamburger-menu-toggle:checked ~ .hamburger-menu-box {
  right: 0 !important;
}

.hamburger-menu-button {
  position: fixed;
  top: 25px;
  right: 30px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
  padding: 5px;
  padding-top: 10px;
  transition: top 0.4s;
}

.hamburger-menu-button > span,
.hamburger-menu-button > span::before,
.hamburger-menu-button > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ececec;
  transition-duration: 0.25s;
}

.hamburger-menu-button > span::before {
  content: "";
  top: -8px;
}

.hamburger-menu-button > span::after {
  content: "";
  top: 8px;
}

.hamburger-menu-box {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #585858;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
}

.hamburger-menu-item {
  display: block;
  text-align: center;
  padding: 16px;
  color: rgb(215, 215, 215);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: 0.25s;
}

.hamburger-contact-item {
  display: block;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition-duration: 0.25s;
}

.hamburger-menu-item:hover {
  background-color: #616161;
}

.navbar {
  z-index: 100;
  transition: top 0.4s;
}

.navbar-songapp-icon {
  width: 40px;
  height: 40px;
}

.navbar-navigation-icons-container {
  float: right;
}

/* -----------------------------------------------
----------------- welcome.html -------------------
----------------------------------------------- */

/* App download */

.app-download {
  display: inline-block;
  color: #009688;
}

.app-download:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* -----------------------------------------------
------------- EXPORT SONG SELECTION --------------
----------------------------------------------- */

/* Color inputs */

.song-export-color {
  border: none;
  border-radius: 10px;
  background: none;
  width: 45px;
}
.song-export-color::-webkit-color-swatch-wrapper {
  padding: 0;
}
.song-export-color::-webkit-color-swatch {
  border: none;
  border-radius: 10px;
}

.song-export-checkbox {
  accent-color: #474747;
  margin-right: 15px;
}

.song-export-select {
  width: 45px;
  border-radius: 10px;
  border: none;
  padding-left: 5px;
}

input.song-export-text {
  width: 100%;
  font-size: 15px;
  padding: 2px;
  border-radius: 10px;
}

.song-export-text-container {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.category-filter-religiosas {
  color: #424242;
  background-color: transparent;
  border: 1px solid #424242;
}

.category-filter-religiosas:hover {
  background-color: #424242;
  color: white;
  border: 1px solid #424242;
}

.category-filter-maria {
  color: #315b74;
  background-color: transparent;
  border: 1px solid #315b74;
}

.category-filter-maria:hover {
  background-color: #315b74;
  color: white;
  border: 1px solid #315b74;
}

.category-filter-folkloricas {
  color: #ce8e19;
  background-color: transparent;
  border: 1px solid #ce8e19;
}

.category-filter-folkloricas:hover {
  background-color: #ce8e19;
  color: white;
  border: 1px solid #ce8e19;
}

.category-filter-villancicos {
  color: #b63c2f;
  background-color: transparent;
  border: 1px solid #b63c2f;
}

.category-filter-villancicos:hover {
  background-color: #b63c2f;
  color: white;
  border: 1px solid #b63c2f;
}

.btn-category .short-name {
  display: none;
}

.btn-category .long-name {
  display: block;
}

@media screen and (max-width: 576px) {
  .btn-category .short-name {
    display: block;
    font-size: 20px;
  }

  .search-buttons-grid .btn-category label {
    padding: 0px 10px;
  }

  .search-buttons-grid label {
    font-size: 70%;
  }

  .btn-category .long-name {
    display: none;
  }
}

.search-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "lft-btn cntr-btn rght-btn";
}

.left-button-area {
  display: flex;
  justify-content: flex-start;
  grid-area: lft-btn;
}

.left-button-area label {
  margin-right: 6px;
}

.center-button-area {
  display: flex;
  justify-content: center;
  grid-area: cntr-btn;
}

.center-button-area label {
  margin-right: 3px;
  margin-left: 3px;
}

.right-button-area {
  display: flex;
  justify-content: flex-end;
  grid-area: rght-btn;
}

.right-button-area label {
  margin-left: 6px;
}

@media screen and (max-width: 1035px) {
  .search-buttons-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 4fr 5fr;
    grid-template-areas: "lft-btn rght-btn" "cntr-btn cntr-btn";
  }

  .center-button-area label {
    margin-top: 10px;
  }
}
