/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */

.btn-primary {
    color: #fff;
    background-color: #DF1024;
    border-color: #DF1024;
}

.btn-primary:hover {
    color: #fff;
    background-color: #df1024bf;
    border-color: #DF1024;
}

.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #DF1024;
    border-color: #DF1024;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, 
.btn-primary:not(:disabled):not(.disabled):active:focus, 
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem #df102440;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem #df102440;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #DF1024;
    border-color: #DF1024;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

.btn-outline-secondary {
    color: #007bff;
    border-color: #007bff;
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
/*  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);*/
}

pre {
    color: #fff;
}

.cover-container {
  max-width: 57em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 18px;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
    
    
  }
  .nav-masthead {
    float: left;
    margin-left: 100px;
  }
}


/*
 * Cover
 */
.cover {
  /*padding: 0 1.5rem;*/
}
.cover .btn-lg {
/*  padding: .75rem 1.25rem;
  font-weight: 700;
  background-color: #DF1024;
  color: #fff;
  margin-top: 30px;*/
}

.cover form .document {
    font-size: 20px;
    padding: 10px;
    line-height: 30px;
    height: auto;
    font-weight: bold;
}

.cover form .document:focus {
    border-color: #df1024;
    outline: 0;
    box-shadow: 0 0 0 0.4rem #df10241c;
}

h3.cover-heading {
    font-size: 18px;
}

/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}


/*
* Login Form
*/
.login-form {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}


/*
* Toolbar
*/
.toolbar {
    margin-top: 20px;
}

.toolbar a.option:hover {
    color: #DF1024;
    text-decoration: none;
}

.section-options .list-group-item {
    background-color: transparent!important;
}

/*
* Pagination
*/
.page-item.disabled .page-link {
    color: #fff;
    pointer-events: none;
    cursor: auto;
    background-color: #343a40;
    border-color: #454d55;
}

.page-link {
    color: #fff;
    background-color: #343a40;
    border: 1px solid #454d55;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #7890a9;
    border-color: #7890a9;
}

.page-link:hover {
    color: #fff;
    background-color: #7890a9;
    border-color: #7890a9;
}


/*
* Fingerprint
*/
.fingerprint .fingerprint-capture .img-thumbnail {
    background-color: transparent!important;
    border-color: #888888!important;
}

.fingerprint .instructions ul {
    padding-left: 15px;
}

.fingerprint .captureimg {
    /*max-height: 80px;*/
}


/**
* Forms
**/
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #df1024;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #dc354587;
}


/**
* Tabs
**/
.nav-pills .nav-item .nav-link.active {
  /*color: #DF1024;*/
  background-color: #DF1024;
}

.nav-tabs .nav-item .nav-link.active {
    /* color: #DF1024; */
    background-color: #DF1024;
    color: #fff;
}


/**
* Overlay
**/
#loading-img {
    background: url(../img/loading-overlay-white-128.gif) center center no-repeat;
    height: 100%;
    z-index: 50001;
}
.overlay {
    background: #495057;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.8;
    z-index: 50000;
}


/*Draw*/
.draw-box .draw-option {
    background-color: #f8f9fa!important;
    color: #343a40!important;
}

.draw-box .draw-option-box {
    min-width: 150px;
}

.draw-box .draw-option-hover .card:hover {
    background-color: #DF1024!important;
    color: #fff!important;
}

.draw-box .draw-option-hover:hover {
    text-decoration: none;
}

.draw-box .draw-option-selected .card{
    background-color: #28a745!important;
    color: #fff!important;    
    box-shadow: 0 .5rem 1rem #ffc107!important;
}

.alert-purple {
    color: #f8f9fa;
    background-color: #d00997;
    border-color: #b968d2;
}