html,
body {
    height: 100%;
}
body{
    position: relative;
}
.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 {
    font-family: 'Font Awesome 5 Free';
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    display:inline-block;
    font-style:normal;
    font-variant:normal;
    text-rendering:auto;
    line-height:1;
    position: relative;
    top: 1px;
    padding-left: 5px;
    font-weight: 900;
}

a.asc:after {
    content: "\f161";
}

a.desc:after {
    content: "\f160";
}

.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;
}

.loyalty-count {
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 1;
    position: absolute;
    bottom: 0px;
    top: 0px;
    right: 12px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.modal-fix .modal-header .close {
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.lif-td {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

/* Fix some styles for language button */

.dropbtn-inner {
    color: gray;
}

.dropbtn-inner:hover {
    color: black;
}

.dropdown-menu-inner {
    padding-top: 0;
    max-height: 80vh;
    overflow: auto;
}

.dropdown-menu-inner input[type=text] {
    padding: 10px 16px;
    margin: 0;
    border: none;
    font-size: 15px;
    width: 100%;
    outline: none;
}

.dropdown-menu-inner .search-container button {
    position: absolute;
    top: 0;
    right: 5px;
    padding: 9px 15px;
    margin-right: 0;
    margin-top: 0;
    background: transparent;
    font-size: 17px;
    border: none;
    cursor: pointer;
}
.select2-selection__choice {
    color: white !important;
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: white ;
}

.table-striped tbody tr:hover, .table-striped tbody tr:focus {
    background-color: rgba(0,0,0,.05) !important;
}

/* Language menu */

#lang-menu {
    overflow: auto;
    min-width: 300px;
    max-height: 200px;
}

#search-lang {
    display: block;
    position: relative;
    width: 100%;
    padding: .7rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #eee;
}

.table-overflow .card-body  {
    overflow-x: auto;
    padding-bottom: 21px !important;
}

.table-overflow .card-body  .card-footer.clearfix {
    position: absolute;
    width: 100%;
}

.table-overflow .card-header .nav{
    flex-wrap: nowrap;
    align-items: center;
}
.table-overflow .card-header .btn-outline-success{
    margin-top: 0.5rem;
}


/* === Fix tags block === */
.field-currencyexchangeorder-sellingpaymentmethodids{
    margin: 0;
}
.select2-selection.select2-selection--multiple{
    padding: 0.5rem;
}
.select2-selection__rendered{
    display: flex !important;
    flex-wrap: wrap;
    align-items:center;
    row-gap: 0.5rem;
    column-gap: 0.3rem;
}

.select2-selection__clear{
    display: none;
}
.select2-selection__choice{
    margin: 0 !important;
}
.select2-search.select2-search--inline{
    width:100%;
}
/* === END Fix tags block === */
