html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

p {
    font-size: .9em;
}

form label {
    font-weight: normal !important;
}

.main {
    flex: 1 0 auto;

    font-size: 1.2em;
}
.footer {
    flex-shrink: 0;
}
.bg-grey {
    border: 1px solid #dee2e6;
    background-color: #F2F2F2;
}
.bg-black {
    background-color: #000 !important;
}

.navbar {
    border-radius: 0;
    min-height: 100px;
}

.navbar .navbar-nav .nav-link:not(.btn), .dropdown-menu .dropdown-item, .bootstrap-select .dropdown-menu.inner li a {
    font-size: 1em;
}
.w100 {
    width: 100%;
}

.bg-grey .form-control {
    background-color: #FFF;
}

textarea.form-control {
    border: 1px solid #E3E3E3;
}

.highlight {
    /* padding: 1.5rem; */
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.pagination {
    padding-bottom: 3em;
    width: 30%;
    margin: auto;
}

.pagination .page-item .page-link, .pagination .page-item span {
    font-size: 16px;
}

.pagination li span {
    /* padding-left: 10px;
    padding-right: 10px; */
    padding: 0px 20px;
    line-height: 30px; 
}

select.form-control {
    height: 40px;
    border-radius: 5px !important;
}

.has-success .form-control-feedback, .has-success .control-label {
    color: #000 !important;
}

.btn-primary {
    background-color: #2CA8FF !important;
}

input:focus {
    border: 1px solid #E3E3E3 !important;
}

.form-control {
    border-radius: 5px;
}

.web-pge .panel-heading {
    padding: 10px;
    background-color: #343A40;
    color: #FFF;
}

.add-item, .add-item:focus, .remove-item, .remove-item:focus{
    border: none;
    background-color: transparent;
}

.form-group .form-control, .input-group .form-control {
    padding: 10px 10px 10px 10px;
}

.bold {
    font-weight: bold;
}

.upper {
    text-transform: uppercase;
}

.right-align {
    text-align: right;
}

/* .fade.in {
    opacity: 1 !important;
  }
  .modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  .modal-backdrop.in {
    opacity: 0.5;
  } */

.transparent {
    background: none !important;
}

.jumbotron {
    margin-top: 2rem;
}

.left-align {
    text-align: left !important;
}

.quick-link a {
    color: #FFF !important;   
    font-weight: 400;
}

.quick-link p {
    text-align: left !important;
}

.quick-link-list {
    /* background-color: #0009; */
    background-color: #000;
    font-size: 18px;
    text-transform: uppercase;
}

.input-group-text {
    background-color: #e9ecef;
    border-radius: .25rem;
    border: 1px solid #ced4da;
    padding: .375rem .75rem !important;
}

.no-margin {
    margin: 0px !important;
}

.no-margin-btm {
    margin-bottom: 0px;
}

.no-mgnbtm {
    margin-bottom: 10px !important;
}

.margin-rght {
    margin-right: 20px;
}

.light-grey {
    background-color: #F5F5F5;
}
/* @media (min-width: 576px) {
    .jumbotron {
        padding: 4rem 2rem 2rem !important;
    }
} */


/* a {
    color: #2CA8FF !important;
} */
/* .alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
} */

/* .main {
    margin-top: 4.5em;
} */
/* html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
} 

/* reduce table row height */
.table th, .table td {
    padding: 0.40rem !important;
}

table.order-form > tbody > tr > td > div > input,
table.order-form > tbody > tr > td > div > div > input {
    font-size: 0.9em;
    color: black !important;
}

table.order-form > tbody > tr > td > div > input[readonly],
table.order-form > tbody > tr > td > div > div > input[readonly] {
    background-color: #f6f6f6;
    border-color: #ced4da;
}

table.order-form > tbody > tr > td > div > div > input {
    text-align: right;
}

.preserv-btn-hint {
    font-style: italic;
    display: flex;
    align-items: center;
    height: 50px;
    padding-left: 10px;
    color: grey;
    font-size: 15px;
}

.form-control.is-invalid{
    background-image: none;
}

.has-success:after {
    font-family: 'Nucleo Outline';
    display: none;
    position: absolute;
    color: #18ce0f;
}

.has-success.form-group .form-control{
    padding-right: 10px !important;
}

.badge {
    border-radius: 6px !important;
    padding: 8px 8px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 12px;
    border-color: #ffffff !important;
    border: 1px solid;
    margin-bottom: 5px;
    color: black !important;
}

/* date picker fix */
.table-condensed>tbody>tr>td, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>td, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>thead>tr>th{
    position: relative; 
    z-index: -1;
}
/* end of date picker fix */

/* loading gif */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(44, 168, 255, 0.8);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
