@font-face {
  font-family: "Mali";
  src: url(/fonts/Mali-Regular.ttf);
}

body {
  font-family: "Mali";
  overscroll-behavior: none;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background-color: rgb(245,244,255);
  margin: 0;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #9E9E9E #e7e7e7;
}

a {
  text-decoration: none;
}

.background {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: rgb(227, 219, 255);
  /* background: linear-gradient( 90deg, rgba(227, 219, 255, 1) 0%, rgba(221, 236, 255, 1) 50%, rgba(213, 255, 255, 1) 100% ); */
  background: linear-gradient( 180deg, #ebd6ff 0%, #d0cdfb 50%, #d4e9ff 100% );
}


.primary {
  min-width: 50px;
  background-color: #ff9800;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.primary:hover,
.primary:active {
  background-color: #ffc107;
}

.circle {
  border-radius: 50%;
}

.login {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  place-content: center;
  align-items: center;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.login > div {
  padding: 20px;
}

.login > div.off {
  opacity: 0;
}

.login > div > div:first-child div {
  margin-bottom: 10px;
}

.login > div > div:first-child input {
  width: 200px;
}

.login > div > div:first-child i {
  color: #607d8b;
  margin-right: 10px;
}

.login .error {
  color: #f44336;
  font-size: 13px;
  display: none;
}

.login .error.on {
  display: initial;
}

section.menu {
  position: fixed;
  top: 0;
  left: -130px;
  height: 100%;
  width: 120px;
  padding: 5px;
  border-right: 1px solid #ccc;
  background-color: rgb(57, 62, 64);
  color: white;
  z-index: 3;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

section.menu.on {
  left: 0;
}

section.menu ul {
  list-style: none;
  padding: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

section.menu ul.off {
  opacity: 0;
}

section.menu ul li {
  padding: 8px 5px 12px 5px;
  border-top: 1px solid #ccc;
}

section.menu ul li:last-child {
  border-bottom: 0;
}

ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

ul li.active a {
  color: #ff9800;
}

ul li a i {
  margin-right: 3px;
}

.logo {
  position: relative;
  display: flex;
  place-content: center;
  align-items: center;
  margin: 60px 0 20px 0;
  height: 100px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.logo.off {
  opacity: 0;
}

.logo > [h] {
  position: absolute;
  top: 28px;
  left: 15%;
  height: 10px;
  width: 0;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #F90, 0 0 35px #F90, 0 0 40px #F90, 0 0 50px #F90, 0 0 75px #F90;
}

.logo > [v] {
  position: absolute;
  bottom: 0;
  height: 0;
  width: 10px;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #F90, 0 0 35px #F90, 0 0 40px #F90, 0 0 50px #F90, 0 0 75px #F90;
}

.logo > [h]::before {
  content: "";
  position: absolute;
  top: 0;
  height: 10px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  z-index: 1;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 8px #fff, 0 0 10px #FF9900, 0 0 16px #FF9900, 0 0 20px #FF9900, 0 0 25px #FF9900, 0 0 32px #FF9900;
  }

  50% {
    box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #FF9900, 0 0 35px #FF9900, 0 0 40px #FF9900, 0 0 50px #FF9900, 0 0 75px #FF9900;
  }

  100% {
    box-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 8px #fff, 0 0 10px #FF9900, 0 0 16px #FF9900, 0 0 20px #FF9900, 0 0 25px #FF9900, 0 0 32px #FF9900;
  }
}

header {
  position: fixed;
  top: -40px;
  height: 40px;
  width: 100%;
  background-color: #232a2d;
  display: flex;
  place-content: space-between;
  align-items: center;
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.4);
  z-index: 4;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

header.on {
  top: 0;
}

header > i {
  color: white;
  font-size: 20px;
  margin-left: 10px;
  cursor: pointer;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

header > i.off {
  opacity: 0;
}

header > .user {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

header > .user.off {
  opacity: 0;
}

header > .user > div {
  color: white;
  margin-right: 10px;
}

header > .user i {
  color: white;
  font-size: 20px;
  cursor: pointer;
}

header > .user .username {
  color: white;
}

main {
  margin-top: 60px;
  margin-left: 130px;
  padding: 0 10px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

main.off {
  opacity: 0;
}

main.full {
  margin-left: 0;
}

.tabs > div {
  display: none;
}

.tabs > div.active {
  display: block;
}

.forms > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 50%;
  margin: 5px 10px;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #eee;
}

.forms > div > b {
  flex: 1;
  font-size: 14px;
}

.forms > div > input[type="password"],
.forms > div > input[type="number"],
.forms > div > input[type="date"],
.forms > div > input[type="text"] {
  flex: 1;
}

.forms > div > label {
  cursor: pointer;
}

.forms > div:first-child {
  margin-top: 10px;
}

.forms > div:last-child {
  padding-bottom: 5px;
  border-bottom: none;
}

.forms > div:last-child input[type="button"] {
  margin-left: 5px;
}

.forms > div > .radio {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.forms > div > .radio > label {
  font-size: 14px;
  cursor: pointer;
}

.forms > div > .rate {
  display: flex;
  place-content: flex-end;
  flex: 1;
}

.forms > div > .rate > select {
  margin-right: 5px;
}

.forms > div > .rate > input {
  margin-right: 5px;
}

.forms input.error {
  border-color: red;
}

table {
  width: 100%;
}

div[data-section="psalm"] > h4 > span {
  display: none;
}

div[data-section="psalm"] > h4 > span.active {
  animation: fadeInRight 5s;
}

div[data-section="psalm"] > h4 > a {
  cursor: pointer;
}

div[data-section="psalm"] > h4 > a > i {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

div[data-section="psalm"] > h4 > a.cancel > i {
  transform: rotateZ(45deg);
}

.create_psalm {
  display: none;
  max-width: 1000px;
}

.create_psalm > ul {
  list-style: none;
  width: 100%;
  padding: 0;
  display: flex;
  place-content: space-between;
  align-items: center;
}

.create_psalm > ul > li {
  position: relative;
  width: 100%;
}

.create_psalm > ul > li:first-child:before {
  content: "";
  position: absolute;
  top: -18px;
  font-size: 13px;
}

.create_psalm > ul > li > a {
  width: 30px;
  height: 30px;
  background-color: #9e9e9e;
  color: white;
  border-radius: 50%;
  display: flex;
  place-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.create_psalm > ul > li > a:after {
  content: "";
  position: absolute;
  left: 30px;
  width: 100%;
  height: 1px;
  background-color: #ccc;
}

.create_psalm > ul > li:last-child > a:after {
  display: none;
}

.create_psalm > ul > li.active > a, 
.create_psalm > ul > li.completed > a {
  background-color: #cddc39;
}

.create_psalm > ul > li.active > a,
.create_psalm > ul > li.completed > a {
  color: white;
}

.create_psalm .content {
  width: 100%;
  padding: 10px;
}

.create_psalm .content > b {
  font-size: 14px;
}

.create_psalm .psalm_content {
  margin-bottom: 40px;
}

.create_psalm .psalm_content .header .index {
  width: 30px;
  height: 30px;
  font-size: 14px;
  color: white;
  margin: -15px 0 0 10px;
  border-radius: 4px;
  background-color: #03a9f4;
  display: flex;
  place-content: center;
  align-items: center;
}

.create_psalm .psalm_content .header .action {
  display: flex;
  margin: -15px 10px 0 0;
}

.create_psalm .psalm_content .header .action span {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: #f44336;
  display: flex;
  place-content: center;
  align-items: center;
  cursor: pointer;
}

.create_psalm .psalm_content .header .action i {
  color: white;
}

.create_psalm .psalm_content:first-child .header .action {
  display: none;
}

.create_psalm[type="edit"] .psalm_content:first-child .header .action {
  display: flex;
}

.create_psalm .psalm_content:last-child {
  margin-bottom: 100px;
}

.create_psalm .psalm {
  font-size: 13px;
  min-height: 225px;
  margin-top: 10px;
  border: 1px solid #ccc;
  resize: none;
  outline: 0;
  color: #000;
  font-size: 13px;
  background-color: transparent;
  overflow: auto;
  padding: 5px;
  margin-top: 20px;
  white-space: pre-line;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.create_psalm .key.off {
  display: none;
}

.float_action {
  position: fixed;
  right: 0;
  bottom: 0;
}

.float_action > div {
  background-color: white;
  border-radius: 4px;
  padding: 10px;
  margin: 0 10px 10px 10px;
}

.create_psalm[type="create"] .float_action .edit {
  display: none;
}

.create_psalm[type="edit"] .float_action .create {
  display: none;
}

.psalm_slider_exchange {
  position: fixed;
  background-color: rgba(0,0,0,0.8);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  display: flex;
  place-content: center;
  align-items: center;
  z-index: 3;
}

.psalm_slider_exchange.off {
  display: none;
  z-index: 0;
}

.psalm_slider_exchange ol {
  list-style: none;
  padding: 15px;
}

.psalm_slider_exchange ol li {
  color: white;
  float: left;
  border: 1px solid white;
  padding: 0 2px;
  margin: 5px 5px 0 0;
  text-align: center;
  cursor: pointer;
}

.psalm_slider_exchange ol li.active {
  color: #80deea;
  border: 1px solid #80deea;
}

.psalm_slider_exchange ol li.placeholder {
  position: relative;
}

.psalm_slider_exchange ol li.placeholder:before {
  position: absolute;
}

.psalm_slider_exchange ol li.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2;
}

.psalm_slider_exchange .exchange_action {
  position: absolute;
  bottom: 30px;
}

div[data-step] {
  display: none;
}

div[data-step].active {
  display: initial;
}

div[data-step="3"] > h4 > i {
  color: #009688;
  cursor: pointer;
}

.search {
  position: sticky;
  width: 100%;
  top: 60px;
  z-index: 2;
}
  .search_box {
      position: relative;
  }

  .search_box {
      display: flex;
  }

  .search_box > div:first-child {
      flex: auto;
      margin-right: 5px;
  }

  .search_box button {
      background-color: #00BCD4;
      padding: 0 8px;
  }

  .search input[type="text"] {
      height: 20px;
      width: 93%;
      padding: 0 5px 0 25px;
      outline: none;
      border: none;
      border-radius: 3px;
      background-color: rgba(255,255,255,0.9);
      box-shadow: 0 1px 15px rgba(255, 255, 255, 0.5);
  }

  .search i.reset_icon {
      position: absolute;
      top: 3px;
      right: 20px;
      font-size: 20px;
      color: #00bcd4;
      cursor: pointer;
      display: none;
  }

      .search i.reset_icon.on {
          display: block;
      }

  .search i.search_icon {
      position: absolute;
      top: 4px;
      left: 5px;
      font-size: 15px;
      color: #00bcd4;
  }

.settings,
.psalm_table {
  max-width: 1000px;
}

.song {
  position: relative;
  padding: 5px 0 5px 0;
  border-bottom: 1px dotted #9e9E9E99;
}

.song > .header {
  display: flex;
  flex-direction: row;
  place-content: space-between;
}

.song > .header > div:first-child {
  display: flex;
  flex-direction: column;
  place-content: center;
}

.song > .header > div:first-child > .title {
  font-size: 15px;
  font-weight: bold;
  margin-right: 5px;
}

.song > .header > div:first-child > .info > span {
  font-size: 12px;
  background-color: #607d8b;
  border-radius: 5px;
  padding: 2px 5px;
  margin-right: 10px;
  color: white;
}

.song > .header > div:first-child > .info > span.key {
  background-color: #4caf50;
}

.song > .header > div:first-child > .info > span.category {
  background-color: #00bcd4;
}

.song > .header > div:first-child > .info > span.author {
  background-color: #2196f3;
}

.song > .header > div:last-child > .key {
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  color: #8bc34a;
  right: 25px;
  border: 1px solid #c5e1a5;
  border-radius: 50%;
  height: 19px;
  width: 19px;
}

.song > .header > div:last-child > i {
  font-size: 20px;
  color: #f44336;
  margin-left: 10px;
  cursor: pointer;
}

.song > .header > div:last-child > .edit {
  color: #607d8b;
}

.song > .header > div:last-child > .delete {
  color: #f44336;
}

.song > .content {
  display: flex;
  flex-direction: column;
}

.song > .content > div {
  display: flex;
  flex-direction: row;
  place-content: space-between;
  margin: 5px 0;
}

.song > .content > div > div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.song > .content > div > div:first-child {
  flex: auto;
  margin-left: 20px;
  margin-right: 10px;
}

.song > .content > div > div:first-child > i {
  color: #009688;
  font-size: 12px;
  margin-right: 5px;
  cursor: pointer;
}

.song > .content > div > div:first-child > i.fa-toggle-off {
  color: #557686;
}

.song > .content > div > div:first-child > .description {
  flex: auto;
  font-size: 12px;
  cursor: pointer;
}

.song > .content > div > div:first-child > .description.en:after {
  content: "";
  position: absolute;
  background-image: url("/images/flag_en.png");
  background-size: contain;
  width: 10px;
  height: 10px;
  margin-left: 5px;
}

.song > .content > div > div:last-child {
  place-content: flex-end;
}

.song > .content > div > div:last-child > .link_song i {
  font-size: 20px;
  color: #4db6ac;
  margin-left: 5px;
}

.song > .content > div > div:last-child > .sheets i {
  font-size: 20px;
  color: #009688;
}

.song > .match {
  font-size: 12px;
  padding-left: 20px;
  color: #f44336;
}

.song .action div {
  position: relative;
  height: 21px;
  width: 40px;
  cursor: pointer;
  background-color: #009688;
  border-radius: 50px;
  box-shadow: inset 0 0 1px rgba(0,0,0,0.2);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.song .action div:before {
  content: "On";
  position: absolute;
  right: 8px;
  top: 3px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
}

.song .action > div:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  height: 12px;
  width: 12px;
  background: white;
  border-radius: 50px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.song .action > div.off {
  background-color: #557686;
  width: 40px;
}

.song .action > div.off:before {
  content: "Off";
  right: 20px;
}

.song .action > div.off:after {
  left: 25px;
}

.wrapper.off {
  display: none;
  opacity: 0;
}

.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.2);
  opacity: 0;
  display: flex;
  place-content: center;
  align-items: center;
  z-index: 3;
}

.modal.off {
  display: none;
}

.modal > div {
  opacity: 0;
}

.modal .header {
  padding: 5px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
}

.modal .header span {
  color: #607d8b;
}

.modal .header i {
  color: #f44336;
}

.modal .main {
  padding: 5px;
}

.modal .footer {
  padding: 5px;
  display: flex;
  place-content: center;
  align-items: center;
}

.modal .footer button {
  margin: 0 5px;
}

.darker {
  animation-name: darker;
  animation-duration: 0.5s;
  animation-timing-function: ease;
}

@keyframes darker {
  0% {
    background-color: rgba(0,0,0,0.2);
  }
  100% {
    background-color: rgba(0,0,0,0.8);
  }
}

.notification {
  position: fixed;
  right: 20px;
  top: 50px;
  z-index: 3;
  cursor: pointer;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.notification.off {
  top: -40px;
}

.notification > div {
  display: flex;
  place-content: center;
  align-items: center;
  padding: 10px;
}

.notification[type="error"] > div {
  background-color: #f44336;
}

.notification[type="success"] > div {
  background-color: #4caf50;
}

.notification[type="warning"] > div {
  background-color: #ff9800;
}

.notification i {
  font-size: 16px;
  font-weight: 400;
  color: white;
  margin-right: 5px;
}

.notification .message {
  font-size: 13px;
  color: white;
}

select,
input[type="password"],
input[type="number"],
input[type="date"],
input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

[box] {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.4);
}

[row] {
  display: flex;
  flex-direction: row;
}

[col] {
  display: flex;
  flex-direction: column;
}

.wrap {
  display: flex;
  flex-wrap: wrap;
}

[d] {
  margin-bottom: 5px;
}

[d="1"] {
  width: 100%;
  max-width: 100%;
  flex: 100%;
}

[d="1/2"] {
  width: 49%;
  max-width: 49%;
  flex: 49%;
}

[d="2/3"] {
  width: 64%;
  max-width: 64%;
  flex: 64%;
}

.wrap > [d] {
  margin-right: 10px;
}

.wrap > [d="1"] {
  margin-right: 0;
}

.wrap > [d="1/2"]:nth-child(even) {
  margin-right: 0;
}

[place-content="center"] {
  place-content: center;
}

[place-content="flex-start"] {
  place-content: flex-start;
}

[place-content="flex-end"] {
  place-content: flex-end;
}

[place-content="space-around"] {
  place-content: space-around;
}

[place-content="space-between"] {
  place-content: space-between;
}

[place-content="space-evenly"] {
  place-content: space-evenly;
}

[place-content="baseline"] {
  place-content: baseline;
}

[align-items="center"] {
  align-items: center;
}

[align-items="flex-start"] {
  align-items: flex-start;
}

[align-items="flex-end"] {
  align-items: flex-end;
}

[mgb="20"] {
  margin-bottom: 20px !important;
}

@media only screen and (min-width: 0px) and (max-width: 667px) {
  main {
    margin-left: 0;
  }
  
  [sm="1"] {
    width: 100%;
    max-width: 100%;
    flex: 100%;
    margin-right: 0 !important;
  }

  .float_action button span {
    display: none;
  }
}