/**
 * Administracion
 */

/* Modals */
.mdafw2021-modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99999;
    background-color: rgba(0,0,0,0.5);
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: 0.2s opacity;
}
.mdafw2021-modal.show {
    display: block !important;
}

.mdafw2021-modal-content {
    margin: 1.75rem auto;
    max-width: 80%;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    background: #fff;
    line-height: 2.1em;
    border-radius: .25em;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    outline: 0;
    max-height: calc(100vh - 1.75rem - 1.75rem);
}

.mdafw2021-modal-exit {
    margin-top: 7px;
    transform: rotate(45deg);
    display: flex;
    margin-left: auto;
    cursor: pointer;
}
.mdafw2021-modal-exit:hover {
    color: #c63939;
}

.mdafw2021-dash-exit {
    transform: rotate(45deg);
}

.mdafw2021-modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    background-color: #f8f8f8;
}
.mdafw2021-modal-header h3 {
    margin: 0;
    line-height: 1.5;
    font-size: 1.25rem;
}
.mdafw2021-modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    overflow: auto;
}

[data-theme="dark"] .mdafw2021-modal-content {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: #0C153B !important;
}
[data-theme="dark"] .mdafw2021-modal-header {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: #242644 !important;
}

/* Labels */
.mdafw2021-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    float: none;
    line-height: 1.3;
    margin: 0 0 4px 0;
    padding: 0;
}

/* Forms Elements */
.mdafw2021-form-control {
    width: 100%;
}
.mdafw2021-form-control.inputs {
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.mdafw2021-form-control.numbers {
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.mdafw2021-form-control.textareas {
    padding: 6px 10px;
    display: block;
    width: 65%;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    height: 110px;
    font-size: 16px;
    line-height: 1.3;
    width: 100%;
}
.mdafw2021-form-control.selects {
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.mdafw2021-form-control.files {
    background: #fff !important;
    padding: 10px;
    border: 1px dashed #777;
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.mdafw2021-form-custom.checkboxs, .mdafw2021-form-custom.radios {
    margin-right: 5px;
}

.mdafw2021-field-empty {
    box-shadow: 0 0 1px 1px red !important;
}

/* Buttons */
.mdafw2021-btn, .mdafw2021-btn-submit {
    padding: 8px;
    border-radius: .25rem;
    cursor: pointer;
    font-weight: 700;
}
.mdafw2021-btn[disabled], .mdafw2021-btn-submit[disabled] {
    opacity: 0.5;
}
.mdafw2021-btn.dark, .mdafw2021-btn-submit {
    background-color: #444;
    border: 1px solid #444;
    color: #fff;
}
.mdafw2021-btn.dark:hover, .mdafw2021-btn-submit:hover {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
}
.mdafw2021-btn.red {
    background-color: #ea1616;
    border: 1px solid #ea1616;
    color: #fff;
}
.mdafw2021-btn.red:hover {
    background-color: #c63939;
    border: 1px solid #c63939;
    color: #fff;
}

.mdafw2021-btn.right {
    display: flex;
    margin-left: auto;
}
.mdafw2021-rest-50 {
    float: left;
    max-width: 50%;
}

/* Spacing */
.mdafw2021-mb-5px {
    margin-bottom: 5px;
}
.mdafw2021-mt-6px {
    margin-top: 6px;
}
.mdafw2021-mb-10px {
    margin-bottom: 10px;
}
.mdafw2021-mb-15px {
    margin-bottom: 15px;
}
.mdafw2021-p-0 {
    padding: 0 !important;
}
.mdafw2021-px-5px {
    padding: 0 5px;
}

/* Empty */
.mdafw2021-empty {
    text-align: center;
    text-transform: uppercase;
    color: #888;
    padding: 40px 10px;
}
.mdafw2021-empty span {
    font-size: 200%;
}
.mdafw2021-empty h3 {
    color: #888;
}

/* Progress Upload */
.mdafw2021-progress {
    vertical-align: baseline;
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
}
.mdafw2021-progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #333;
    transition: width 0.6s ease;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    line-height: 1rem;
}

/* others */
.mdafw2021-float-left {
    float: left !important;
}
.mdafw2021-float-right {
    float: right !important;
}

.mdafw2021-d-none {
    display: none;
}
.mdafw2021-d-none-imp {
    display: none !important;
}
.mdafw2021-d-block {
    display: block;
}
.mdafw2021-d-inline-block {
    display: inline-block;
}
.mdafw2021-position-relative {
    position: relative;
}
.mdafw2021-position-absolute {
    position: absolute;
}

.mdafw2021-cursor-pointer {
    cursor: pointer;
}

.mdafw2021-badge-standard,
.mdafw2021-badge-specially {
    color: #fff;
    font-size: 1em;
    line-height: 1rem;
    padding: 3px 5px;
    border-radius: .25em;
}
.mdafw2021-badge-standard {
    background-color: #17a2b8;
}
.mdafw2021-badge-specially {
    background-color: #dc3545;
}

/* Animacion de carga */
.mdafw2021-element-loader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255,255,255,0.6);
    z-index: 2;
}
.mdafw2021-load-carga {
    border: 10px solid #ccc;
    border-top-color: #333;
    border-top-style: solid;
    height: 30px;
    width: 30px;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-animation: mdafw2021-rotate 1.5s linear infinite;
    -o-animation: mdafw2021-rotate 1.5s linear infinite;
    animation: mdafw2021-rotate 1.5s linear infinite; }

@keyframes mdafw2021-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* QR READER */
  .QrReader {
      position: relative;
      width: 100%;
  }
  .QrReader #loadingMessage {
    text-align: center;
    padding: 40px;
    background-color: #eee;
  }

  .QrReader #canvas {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .QrReader #outputQR {
    background: #eee;
    padding: 10px;
    position: relative;
    width: 100%;
  }

  .QrReader #outputQR div {
    padding-bottom: 10px;
    word-wrap: break-word;
  }

  .QrReader #noQRFound {
    text-align: center;
  }