:root {
  --dark-color: #2f3544;
  --brand-color: #59adec;
  --brand-secondary-color: #ffa500;
  --animation-speed: 0.5s;
}
html {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

h1 {
  color: white;
  font-family: sans-serif;
  font-size: 2.5rem;
}

.authorline {
  font-family: "Artifika", serif;
  font-style: italic;
  font-size: 11pt;
  color: black;
  line-height: 12pt;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  background-color: rgba(173, 216, 230, 0.34);
}

.lyricsline {
  /*font-family: Arial, Helvetica, sans-serif;*/
  /*font-family: 'Duru Sans', sans-serif;*/
  /*font-family: 'Arvo', serif;*/

  /*font-family: "Helvetica Neue", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, "Lucida Grande", sans-serif;
   	font-weight: 400;*/

  font-family: "HelveticaNeue", Helvetica, Arial;

  font-size: 20pt;
  color: black;
  /*letter-spacing: 0.9pt;*/
  line-height: 70px;

  /*text-align: left;*/
  text-align: center;
  /*padding-left: 100px;*/
  padding-top: 70px;
  /*background-color: rgba(0, 216, 230, 0.34);*/
}

.lyricslineold {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  color: black;
  letter-spacing: 0.9pt;
  line-height: 25pt;
}

.chord {
  position: absolute;

  /*font-family: Arial, Helvetica, sans-serif;*/
  /*vertical-align:sub;*/
  font-size: 13pt;
  color: #00aeef; /*blue #efae38 */
  font-style: italic;
  letter-spacing: 1pt;
  /*margin-bottom: 10pt;*/
  /*white-space: pre;*/
}

.chord .inner {
  position: relative;
  top: -16pt;
}

.chord .inner0 {
  /*font-family: Arial, Helvetica, sans-serif;*/
  position: relative;
  top: -1em;
  text-shadow: #ccc -1px 1px;
  color: #00f;
  font-weight: bold;
  font-size: 13px;
}

.chord .supper {
  /*font-family: Arial, Helvetica, sans-serif;*/
  position: relative;
  top: -0.5em;
  font-weight: bold;
  font-size: 10px;
}

.verse {
  padding-bottom: 0px;
  margin-top: -70px;
}

.chorus {
  font-family: "HelveticaNeue", Helvetica, Arial;
  font-weight: bold;
  font-size: 20pt;
  color: black;
  text-align: center;
  padding-left: 20px;
  background-color: rgba(173, 216, 230, 0.34);
  padding-bottom: 70px;
}

#chorus:first-child {
  margin-top: -40px;
}

.intro {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13pt;
  margin-left: 0px;
  color: blue;
  letter-spacing: 0.9pt;
  font-style: italic;
}

.left {
  background-color: #d8ecd5;
  float: left;
  width: 50%;
  padding: 10px;
}

.right {
  background-color: #d3ddec;
  margin-left: 50%;
  padding: 10px;
}

/* the big white box for the lyrics*/
.whitebox {
  background-color: #fff;
  top: 200px;
  /*
	float: left;
	width: 98%;
	height: 100%;
	padding: 20px;*/
}

.example code {
  display: block;
  font: 10px "Monaco", "Courier New", monospace;
  white-space: pre;
  background: #fbffce;
  border: 1px solid #eff2c7;
  border-radius: 4px;
  padding: 5px 10px;
}

#fullscreen {
  border-radius: 0px;

  padding: 0 0px 0px;
  /*
		it is recommended to explicitly set 'color' and 'background-color' properties for "fullscreened" object,
		because otherwise Opera will use default styles "background-color: #000000; color: #fffff;".
	 */
  background: #fafafa;
  color: inherit;
}

#centerlogo {
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#content {
  transition: var(--animation-speed);
  flex: 1;
  background-color: var(--brand-color);
  position: relative;
}

div#content-header {
  /*position: relative;*/
  top: 0px;
  left: 0;
  /*width: 100%;*/
  height: 100px;
  /*background: #fcfeff;*/
  border-radius: 0;
  /*z-index: -100;*/
}

div#content-header-list {
  position: relative;
  top: 0px;
  left: 0;
  /*width: 100%;*/
  height: 20px;
  /*background: #fcfeff;*/
  /*z-index: -100;*/
}

div#content-header-song {
  top: 0px;
  left: 0px;
  position: fixed;
  width: 100%;
  height: 80px;
  /*background-color: #fcfeff;*/
  background-color: #40a2df;
  border-radius: 0;
  z-index: 1; /*keep this so that the chords don't overlap the header*/
}

#logo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.titleline {
  /*font-family: Arial, Helvetica, sans-serif;*/
  /*	font-family: 'Artifika', serif;*/
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;

  font-size: clamp(1vw, 5vw, 30pt);
  color: white;
  font-weight: bold;
  padding-left: 100px;
  padding-top: 10px;
  padding-bottom: 0px;
  /*	top: 100px;*/
  height: 60px;
  background-color: var(--dark-color);
  margin-right: auto;
}

.chorus,
.verse {
  padding: 50px;
}

#storeBadges {
  justify-self: self-end;
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}

#appStoreBadge img,
#playStoreBadge img {
  height: 50px;
}

@media only screen and (max-width: 600px) {
  .titleline {
    font-size: 20pt;
  }
  .lyricsline {
    font-size: 15pt;
    /*
        hyphens: auto;
        white-space: pre-line;
        word-wrap:break-word
*/
  }
  .chorus {
    font-size: 15pt;
  }

  iframe {
    /*width: 1px;*/
    /*min-width: 100%;*/
    width: 100%;
  }

  #searchfield form .biginput {
    width: 80% !important;
  }

  #appStoreBadge img,
  #playStoreBadge img {
    max-height: 100px;
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  #searchfield form .biginput {
    width: 65% !important;
  }
}

.centertext {
  text-align: center;
  /*background: black;*/
}

div#mainsearch {
  text-align: center;
}

#searchfield {
  font-size: 30px;
  position: relative;
}

#searchfield form .biginput {
  width: 90%;
  /*  height: 40px;*/
  /*  padding: 10px 10px 0 10px;*/

  /*text-align: left;*/
  text-align: center;

  /*border: 1px 0 0 0;*/
  border-left-width: 0px;
  /*  border-left-color: white;*/
  /*padding-left: 20px;*/
  border-right: 0px;
  border-top: 0px;
  border-bottom: 0;

  background-color: rgba(0, 0, 0, 0);

  /*border: 1px solid #c8c8c8;*/
  /*border-radius: 3px;*/
  /*color: rgba(0,0,0,0.0) !important;*/ /*#aeaeae*/
  color: rgba(255, 255, 255, 0.8);
  /*font-weight:normal;*/
  /*font-size: 1.2em;*/

  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;

  font-size: clamp(1vw, 5vw, 30pt);
  color: white;
  font-weight: bold;

  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
  /*border-left-width: 2px;*/
  /*border-style:solid;*/
  border-width: medium;
  border-left-color: white;
  border-right: 0px;
  border-top: 0px;
  border-bottom: 0;
}

.flatbtn {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  outline: 0;
  border: 0;
  color: #f3faef;
  text-decoration: none;
  background-color: #6bb642;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 22px 12px 22px;
  line-height: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  -moz-box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
}
.flatbtn:hover {
  color: #fff;
  background-color: #73c437;
}
.flatbtn:active {
  -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}

.autocomplete-suggestions {
  border: 1px solid #999;
  background: #fff;
  cursor: default;
  overflow: auto;
}
.autocomplete-suggestion {
  padding: 10px 5px;
  font-size: 1.2em;
  white-space: nowrap;
  overflow: hidden;
}
.autocomplete-selected {
  background: #f0f0f0;
}
.autocomplete-suggestions strong {
  font-weight: normal;
  color: #3399ff;
}

#page-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#page-content-bg {
  width: 100%;
  height: 100%;
}

#page-content-wrapper > .container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding-bottom: 1em;
}

#list_songs {
  background-color: white;
}

#list_songs .titleline {
  text-align: center;
}

#slide-menu-logo {
  height: 100px;
  text-align: center;
  padding-left: 0;
}

#slide-menu-logo a {
  position: absolute;
  top: 10px;
  left: 0px;
  width: 40px;
  display: none;
  text-align: center;
}

.social-links {
  font-size: 60px;
  display: flex;
  margin: 0 auto;
  gap: 10px;
  justify-content: flex-start;
  width: 100%;
}

.social-links a {
  justify-content: center;
  align-items: center;
  display: flex;
  width: 80px;
  height: 80px;
  border-radius: 5px;
}
.social-links .youtube {
  color: #ff0000;
}
.social-links .twitter {
  color: #1da1f2;
}
.social-links .facebook {
  color: #4267b2;
}

#footer {
  font-family: "HelveticaNeue", Helvetica, Arial;
  color: #899;
  background-color: var(--dark-color);
  font-size: 11pt;
  text-decoration: none;
  padding: 50px;
  text-align: center;
  transition: var(--animation-speed);
}

#video div {
  font-family: "HelveticaNeue", Helvetica, Arial;
  padding-bottom: 15px;
  font-size: 11pt;
}

#musescore {
  font-family: "HelveticaNeue", Helvetica, Arial;
  color: #899;
  font-size: 11pt;
  text-decoration: none;
  text-align: center;
}

#video {
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

#footer a:link {
  /*color:#efae38;*/
  color: #ffa500;
}

#footer a:visited {
  /*color:#efae38;*/
  color: #ffa500;
}

/*great idea for the future*/
#twocolumn {
  -webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  column-count: 2;
}

#left {
  width: 50%;
  float: left;
}

#right {
  margin-left: 50%; /* Change this to whatever the width of your left column is*/
}

.clear {
  clear: both;
}

.container {
  text-align: center;
}

#songbook,
#table_songs {
  font-family: "HelveticaNeue", Helvetica, Arial;
  font-size: clamp(1vw, 5vw, 25pt);
  border-collapse: collapse;
  text-align: center;
  width: 100%;
}

#songbook td,
#songbook th,
#table_songs td,
#table_songs th {
  border: 1px solid #ddd;
  padding: 8px;
}

#songbook tr:nth-child(even),
#table_songs tr:nth-child(even) {
  background-color: #f2f2f2;
}

#songbook tr:hover,
#table_songs tr:hover {
  background-color: #ddd;
}

#songbook th,
#table_songs th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: var(--brand-color);
  color: white;
}

/* autocomplete search songs */
.ui-menu .ui-menu-item a {
  background: white;
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1vw, 5vw, 30pt);
  font-weight: bold;
  width: 100%;
  display: inline-block;
}

.authorListLink {
  width: 100%;
  display: inline-block;
  font-family: "HelveticaNeue", Helvetica, Arial;
  font-size: clamp(1vw, 5vw, 25pt);
}

.songsListLink {
  width: 100%;
  display: inline-block;
}

#create_songbook_form input,
#create_songbook_form label,
#create_songbook_form button {
  font-family: "HelveticaNeue", Helvetica, Arial;
  font-size: 14pt;
  margin: 5px;
}

#create_songbook_form input {
  width: 300px;
}

#create_songbook_form label {
  width: 120px;
  text-align: right;
  display: inline-block;
}

#create_songbook_form button {
  width: 308px;
  margin-left: 139px;
}

table span {
  height: inherit !important;
}

.dataTable th div {
  margin-right: 15px;
}

.actionChords {
  border: 2px solid #efae38 !important;
}

#generatePPT {
  border: 2px solid #efae38;
  color: #efae38;
  padding: 4px 11px 3px 13px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  border-radius: 50%;
}

#generatePPT {
  padding: 5px 11px 5px 13px;
}

/* datatables */
tr.child ul {
  list-style: none;
}

/* progress bar */
.progress {
  position: fixed;
  display: none;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 5px;
  z-index: 9999;
  background-color: var(--dark-color);
}
.bar {
  background-color: #efae38;
  width: 0%;
  height: 5px;
  border-radius: 3px;
}
.percent {
  position: absolute;
  display: inline-block;
  top: 3px;
  left: 48%;
}

.reveal .authorline {
  font-size: clamp(1vw, 5vw, 30pt);
  line-height: clamp(1vw, 5vw, 30pt);
  font-family: "HelveticaNeue", Helvetica, Arial;
  font-style: normal;
}

.reveal .lyricsline {
  line-height: 50px;
}

.reveal .chord {
  display: none;
}

#logoReveal {
  width: 70px;
  position: absolute;
  bottom: 1.4em;
  left: 1.5em;
}

#logoReveal path {
  fill: #e3f2f6 !important;
}

#menu {
  background-color: #2e323d;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#menu.open {
  width: 300px;
}

#menu li span {
  display: flex;
  align-items: center;
}

#content.open {
  margin-left: 300px;
}

#footer.open {
  margin-left: 300px;
}

#menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#menu li {
  font-family: "PT Sans Narrow", sans-serif;
  font-size: 20px;
}

#menu #menu-main li {
  margin: 20px 20px 20px 20px;
}

#menu #menu-main li a {
  color: rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 2em;
  padding: 10px;
  transition: none;
}

#menu #menu-main li a:hover {
  background: rgb(0 0 0 / 47%);
  border-radius: 10px;
}

#menu li a img {
  width: 32px;
  height: auto;
}

#menu #menu-main {
  margin-top: 60px;
}

#menu-footer {
  display: flex;
  flex-direction: row;
  margin-top: auto !important;
  width: 100%;
  padding: 10px 0 !important;
  justify-content: space-around;
  border-top: 1px solid hsl(224deg 14% 17%);
  opacity: 0;
  transition: var(--animation-speed);
}

#menu-footer a {
  font-size: 20px;
  opacity: 0.8;
}

#menu.open #menu-footer {
  opacity: 1;
}

.homesearch {
  margin: 5vh 0;
}

.homesearch input {
  /* border: 2px solid var(--dark-color) !important; */
  border-radius: 50px;
  color: white;
  padding: 10px;
  outline: none;
  width: clamp(50%, 400px, 800px) !important;
  background-color: var(--dark-color) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M23.809 21.646l-6.205-6.205c1.167-1.605 1.857-3.579 1.857-5.711 0-5.365-4.365-9.73-9.731-9.73-5.365 0-9.73 4.365-9.73 9.73 0 5.366 4.365 9.73 9.73 9.73 2.034 0 3.923-.627 5.487-1.698l6.238 6.238 2.354-2.354zm-20.955-11.916c0-3.792 3.085-6.877 6.877-6.877s6.877 3.085 6.877 6.877-3.085 6.877-6.877 6.877c-3.793 0-6.877-3.085-6.877-6.877z'/%3E%3C/svg%3E");
  background-position: 30px;
  background-size: 30px;
  background-repeat: no-repeat;
}

#menu.open:after {
  content: "";
  display: block;
  width: 20px;
  height: 120%;
  position: absolute;
  left: 100%;
  top: -10%;
  z-index: 99;
  box-shadow: 0 0 20px rgb(0 0 0 / 50%);
}

#menu #toggleMenu {
  display: none;
}

#toggleMenu {
  background: center center no-repeat transparent;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC);
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  left: 30px;
}

/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: var(
    --animation-speed
  ); /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

div#searchResultsPopup {
  position: absolute;
  left: 25%;
  width: calc(50% - 40px);
  background: var(--dark-color);
  padding: 20px;
  border-radius: 10px;
  top: 75px;
  overflow: scroll;
  overflow-x: hidden;
  box-shadow: 0 10px 50px 3px #00000038;
  text-transform: none;
  z-index: 1;
}

.searchfield_song div#searchResultsPopup {
  position: absolute;
  left: calc(50% - 40px);
  width: fit-content;
  background: var(--dark-color);
  padding: 20px;
  border-radius: 10px;
  top: 75px;
  overflow: scroll;
  overflow-x: hidden;
  box-shadow: 0 10px 50px 3px #00000038;
  text-transform: none;
  z-index: 1;
  transform: translate(-50%);
}

div#searchResultsPopup::-webkit-scrollbar {
  width: 10px;
}

div#searchResultsPopup::-webkit-scrollbar-thumb {
  background: var(--brand-secondary-color);
  border: 2px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 9999px;
}

div#searchResultsPopup.closed {
  display: none;
}

div#searchResultsPopup ul {
  list-style-type: none;
  margin: 0;
  font-family: sans-serif;
  text-align: left;
  user-select: none;
  cursor: pointer;
}

div#searchResultsPopup ul li {
  margin-bottom: 5px;
  transition: 0.2s;
  padding: 5px;
  border-radius: 10px;
}
div#searchResultsPopup ul li a {
  color: white;
  display: block;
  width: 100%;
}
div#searchResultsPopup ul li.selected {
  background-color: var(--brand-secondary-color);
}
div#searchResultsPopup ul li.selected a {
  color: var(--dark-color);
}

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

.placeholder {
  background: #ffebeb;
  height: fit-content;
  width: 100%;
  margin: 1em auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px dashed #ffb1b1;
  color: black;
  gap: 20px;
  padding: 2em;
  box-sizing: border-box;
}

.placeholder p {
  line-height: 1.5em;
}

.placeholder .help {
  background: #ff6464;
  color: white !important;
  padding: 0.5em 2em;
  /* border: 1px solid #ffb1b1; */
  text-transform: uppercase;
  font-weight: 600;
}

.placeholder a:link {
  color: red;
}

.placeholder a:visited {
  color: red;
}

p {
  font-size: 15pt;
  font-family: sans-serif;
  text-align: left;
  line-height: 100%;
  margin-bottom: 10pt;
}

h2 {
  text-align: left;
  color: var(--dark-color);
  text-transform: uppercase;
  font-size: 2em;
  margin: 1em 0 0.5em;
  letter-spacing: 1px;
  font-weight: 700;
  font-family: sans-serif;
}

.block {
  background: #ffffff99;
  padding: 20px;
}

#videoEmbed,
#musescoreEmbed {
  width: 100%;
}

#musescoreEmbed {
  height: 50vh;
}

#videoEmbed {
  aspect-ratio: 16/9;
}

#extras {
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 2em 0;
}

/* mobile devices */
@media screen and (max-device-width: 480px) {
  .container.center {
    max-width: 90%;
    margin: 0 auto;
  }

  #menu.open {
    width: 70vw;
    z-index: 2;
  }

  #content.open {
    margin-left: 0;
  }

  #footer.open {
    margin-left: 0;
  }

  #menu #toggleMenu {
    display: block;
  }

  .sidenav a {
    font-size: 20px;
  }

  .homesearch input {
    background-size: 20px;
    background-position: 15px;
  }

  #searchfield.homesearch form .biginput {
    width: calc(100% - 60px) !important;
  }

  #searchfield.searchfield_song {
    position: unset;
  }

  div#searchResultsPopup {
    width: calc(100% - 80px);
    left: 20px;
    top: 50px;
  }

  div#searchResultsPopup ul li a {
    font-size: 1rem;
  }

  #searchfield.homesearch {
    font-size: 15px;
  }

  #footer {
    padding: 15px;
    font-size: 12px;
  }
}

@media screen and (max-device-width: 900px) and (orientation: landscape) {
  div#searchResultsPopup {
    width: 90%;
    left: 2.5%;
  }

  #searchfield {
    position: unset;
  }
  #searchfield form .biginput {
    font-size: 1.5rem;
  }
}
