@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
html {
  scroll-behavior: smooth;
}

#loader-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(24, 24, 24, 0.8);
  z-index: 9999;
  text-align: center;
}

#loader-wrapper > span {
  margin-top: 40vh;
}

.no-gutters > div {
  padding-left: 0;
}

.alert {
  display: none;
}

#scrollBarMenu {
  background: transparent;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  text-align: center;
  padding: 5px;
  display: none;
  width: 100%;
}

#scrollBarMenu button {
  border-radius: 50%;
  cursor: pointer;
}

#content {
  margin-top: 0;
}

#content > .jumbotron {
  padding: 1rem 1rem;
}

#content > .jumbotron h1 {
  font-size: 20px;
}

#content #searchBox {
  background: #adddcf;
  background: #9cc6f4;
  padding: 5px 1rem;
  margin-bottom: 5px;
  margin-left: 1rem;
  font-weight: bold;
}

#content #searchBox + div {
  margin-right: 1rem;
  margin-bottom: 5px;
  padding: 5px 0;
  background: #adddcf;
  background: #9cc6f4;
  text-align: right;
  padding-right: 5px;
}

#content #searchBox * {
  vertical-align: middle;
  text-transform: uppercase;
}

#content #searchBox label {
  margin-right: 25px;
  font-size: 0.78rem;
}

#content #searchBox label,
#content #searchBox form {
  display: inline-block;
  width: 100%;
}

#content .noResults {
  display: block;
  padding: 0 15px;
  font-weight: bold;
  background: #d8d8d8;
  border: 1px solid #000;
  margin: 0 auto;
}

#content h1 {
  vertical-align: middle;
  margin-bottom: 0;
}

#content hr {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

#content .jumbotron > .btn {
  display: block;
  max-width: 10rem;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0.5rem;
}

#content table tr td:nth-last-child(1) .btn {
  padding-top: 0.078rem;
  padding-bottom: 0.078rem;
  padding: 0.075rem 0.28rem;
}

#content table {
  text-transform: uppercase;
}

#content table tr:hover td,
#content table tr:hover th {
  background: #71dcb5;
  cursor: pointer;
}

#content table thead tr:hover th {
  background: #212529;
}

#content table td:nth-last-child(1) {
  text-align: right;
  padding-right: 1rem;
}

#content form input:hover,
#content form select:hover {
  box-shadow: 0 0 5px #212529;
  box-shadow: 0 0 10px #71dcb5;
  cursor: pointer;
}

#content form input:focus,
#content form select:focus {
  background: #f2f2f2;
  font-weight: bold;
  color: #59b392;
  color: #8d21a9;
}

#content fieldset {
  margin: 15px;
  padding: 10px;
  border: 1px solid #d8d8d8;
  box-shadow: 0 0 1px #f2f2f2;
}

#content fieldset legend {
  background: #fff;
  display: inline-block;
  width: auto;
  padding: 0 5px;
  text-align: left;
  margin-left: 20px;
}

#content fieldset label:hover {
  font-weight: bold;
}

#content input,
#content select,
#content datalist,
#content datalist option {
  text-transform: uppercase;
  font-size: 0.78rem;
}

#content .input-group {
  padding: 5px;
  margin: 2px;
  align-items: center;
  background: #f2f2f2;
  border-radius: 5px;
}

#content .input-group-text .fas {
  line-height: 1.5;
}

#content .input-group > .btn {
  margin: 0 5px;
}

#content .input-group label {
  margin-bottom: 0;
  font-size: 0.78rem;
}

#content label:hover {
  cursor: pointer;
}

#content form fieldset legend {
  font-size: 1rem;
  color: #59b392;
  color: #8d21a9;
  color: #aa70b9;
}

#content input, #content label, #content select {
  text-transform: uppercase;
  font-size: 0.8rem;
}

#fecha {
  max-width: 136px !important;
}

#content table td {
  font-size: 0.78rem;
  vertical-align: middle;
}

#content table thead {
  font-size: 0.9rem;
}

.jumbotron h1 {
  font-size: 1.8rem;
  color: #59b392;
  color: #8d21a9;
  text-transform: uppercase;
}

.jumbotron .card-title {
  margin-bottom: 0;
}

.jumbotron .card-title h1 {
  font-size: 20px;
  font-size: 18px;
  margin-bottom: 0;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.btn-custom-purple {
  background: #7c28a7;
  border: 1px solid #8828a7;
  color: #fff;
}

.btn-custom-light-blue {
  background: #593ebf;
  border: 1px solid purple;
  color: #fff;
}

.btn.desactivado, .btn.desactivado:hover {
  pointer-events: auto !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

input:disabled {
  background: #dcdcdc !important;
  cursor: not-allowed !important;
}

.jumbotron > div > div > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.jumbotron > div > div > a > span {
  margin-right: 5px;
}

@media screen and (max-width: 900px) {
  #content table tr td:nth-last-child(1) .btn {
    margin-bottom: 2px;
  }
}
@media screen and (max-width: 900px) and (orientation: landscape) {
  #column, #search, #extra {
    width: 100%;
    max-width: 25%;
  }
}
@media screen and (max-width: 900px) and (orientation: portrait) {
  #loader-wrapper {
    color: silver;
    color: #007bff;
    color: #3d638c;
    border: 2px solid #f2f2f2;
    text-shadow: 1px 1px 5px #007bff;
    /* text-shadow: 1px 1px 15px #9cc6f4; */
  }
  #content #searchBox {
    margin-left: 0;
  }
  #content #searchBox + div {
    margin-right: 0;
    text-align: center;
    float: none;
  }
  #searchBox {
    min-height: 35px;
  }
  #searchBox form {
    width: 100%;
    text-align: center;
  }
  #searchBox + div > a {
    float: none;
  }
  #searchBox select, #searchBox input {
    margin-bottom: 3px;
  }
  #toggleForm {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
  }
  #toggleForm button {
    border-radius: 7px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  #content #searchBox label, #content #searchBox form {
    margin-top: 7px;
  }
  #content #searchBox + div {
    padding-left: 5px;
  }
  #content > div > div.row {
    margin-left: 0;
    margin-right: 0;
  }
}
html {
  scroll-behavior: smooth;
}

#loader-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(24, 24, 24, 0.8);
  z-index: 9999;
  text-align: center;
}

#loader-wrapper > span {
  margin-top: 40vh;
}

.no-gutters > div {
  padding-left: 0;
}

.alert {
  display: none;
}

#scrollBarMenu {
  background: transparent;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  text-align: center;
  padding: 5px;
  display: none;
  width: 100%;
}

#scrollBarMenu button {
  border-radius: 50%;
  cursor: pointer;
}

#content {
  margin-top: 0;
}

#content > .jumbotron {
  padding: 1rem 1rem;
}

#content > .jumbotron h1 {
  font-size: 20px;
}

#content #searchBox {
  background: #adddcf;
  background: #9cc6f4;
  padding: 5px 1rem;
  margin-bottom: 5px;
  margin-left: 1rem;
  font-weight: bold;
}

#content #searchBox + div {
  margin-right: 1rem;
  margin-bottom: 5px;
  padding: 5px 0;
  background: #adddcf;
  background: #9cc6f4;
  text-align: right;
  padding-right: 5px;
}

#content #searchBox * {
  vertical-align: middle;
  text-transform: uppercase;
}

#content #searchBox label {
  margin-right: 25px;
  font-size: 0.78rem;
}

#content #searchBox label,
#content #searchBox form {
  display: inline-block;
  width: 100%;
}

#content .noResults {
  display: block;
  padding: 0 15px;
  font-weight: bold;
  background: #d8d8d8;
  border: 1px solid #000;
  margin: 0 auto;
}

#content h1 {
  vertical-align: middle;
  margin-bottom: 0;
}

#content hr {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

#content .jumbotron > .btn {
  display: block;
  max-width: 10rem;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0.5rem;
}

#content table tr td:nth-last-child(1) .btn {
  padding-top: 0.078rem;
  padding-bottom: 0.078rem;
  padding: 0.075rem 0.28rem;
}

#content table {
  text-transform: uppercase;
}

#content table tr:hover td,
#content table tr:hover th {
  background: #71dcb5;
  cursor: pointer;
}

#content table thead tr:hover th {
  background: #212529;
}

#content table td:nth-last-child(1) {
  text-align: right;
  padding-right: 1rem;
}

#content form input:hover,
#content form select:hover {
  box-shadow: 0 0 5px #212529;
  box-shadow: 0 0 10px #71dcb5;
  cursor: pointer;
}

#content form input:focus,
#content form select:focus {
  background: #f2f2f2;
  font-weight: bold;
  color: #59b392;
  color: #8d21a9;
}

#content fieldset {
  margin: 15px;
  padding: 10px;
  border: 1px solid #d8d8d8;
  box-shadow: 0 0 1px #f2f2f2;
}

#content fieldset legend {
  background: #fff;
  display: inline-block;
  width: auto;
  padding: 0 5px;
  text-align: left;
  margin-left: 20px;
}

#content fieldset label:hover {
  font-weight: bold;
}

#content input,
#content select,
#content datalist,
#content datalist option {
  text-transform: uppercase;
  font-size: 0.78rem;
}

#content .input-group {
  padding: 5px;
  margin: 2px;
  align-items: center;
  background: #f2f2f2;
  border-radius: 5px;
}

#content .input-group-text .fas {
  line-height: 1.5;
}

#content .input-group > .btn {
  margin: 0 5px;
}

#content .input-group label {
  margin-bottom: 0;
  font-size: 0.78rem;
}

#content label:hover {
  cursor: pointer;
}

#content form fieldset legend {
  font-size: 1rem;
  color: #59b392;
  color: #8d21a9;
  color: #aa70b9;
}

#content input, #content label, #content select {
  text-transform: uppercase;
  font-size: 0.8rem;
}

#content input {
  text-transform: none;
}

#fecha {
  max-width: 136px !important;
}

#content table td {
  font-size: 0.78rem;
  vertical-align: middle;
}

#content table thead {
  font-size: 0.9rem;
}

.jumbotron h1 {
  font-size: 1.8rem;
  color: #59b392;
  color: #8d21a9;
  text-transform: uppercase;
}

.jumbotron .card-title {
  margin-bottom: 0;
}

.jumbotron .card-title h1 {
  font-size: 20px;
  font-size: 18px;
  margin-bottom: 0;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.btn-custom-purple {
  background: #7c28a7;
  border: 1px solid #8828a7;
  color: #fff;
}

.btn-custom-light-blue {
  background: #593ebf;
  border: 1px solid purple;
  color: #fff;
}

.btn.desactivado, .btn.desactivado:hover {
  pointer-events: auto !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

input:disabled {
  background: #dcdcdc !important;
  cursor: not-allowed !important;
}

.jumbotron > div > div > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-left: 5px;
}

.jumbotron > div > div > a > span {
  margin-right: 5px;
}

@media screen and (max-width: 900px) {
  #content table tr td:nth-last-child(1) .btn {
    margin-bottom: 2px;
  }
}
@media screen and (max-width: 900px) and (orientation: landscape) {
  #column, #search, #extra {
    width: 100%;
    max-width: 25%;
  }
}
@media screen and (max-width: 900px) and (orientation: portrait) {
  #loader-wrapper {
    color: silver;
    color: #007bff;
    color: #3d638c;
    border: 2px solid #f2f2f2;
    text-shadow: 1px 1px 5px #007bff;
    /* text-shadow: 1px 1px 15px #9cc6f4; */
  }
  #content #searchBox {
    margin-left: 0;
  }
  #content #searchBox + div {
    margin-right: 0;
    text-align: center;
    float: none;
  }
  #searchBox {
    min-height: 35px;
  }
  #searchBox form {
    width: 100%;
    text-align: center;
  }
  #searchBox + div > a {
    float: none;
  }
  #searchBox select, #searchBox input {
    margin-bottom: 3px;
  }
  #toggleForm {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
  }
  #toggleForm button {
    border-radius: 7px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  #content #searchBox label, #content #searchBox form {
    margin-top: 7px;
  }
  #content #searchBox + div {
    padding-left: 5px;
  }
  #content > div > div.row {
    margin-left: 0;
    margin-right: 0;
  }
}
