/* fixes a margin issue caused by site-name appearing outside the header */
.uh-header-app:not(.uh-header-primary) .site-name { margin-top: 0;}

/* removes the redundant menu-button appearing inside the application header div */
.uh-header-app .menu-button {display: none;}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.max_height_container {
    height: 100%;
}

.readonly {
    background-color: #fefefe !important;
}

.expanded_container {
    flex: 1 0 auto;
}

.choice_grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 800px;
}

.block-el {
    display: inline-block;
}

.detail-container {
    display: none;
    position:fixed;
    overflow-y: auto;
    top: 50%;
    left: 50%;
    z-index: 998;
    width: 100%;
    max-width: 1000px;
    height: 90%;
    background: rgba(255,255,255,1);
    border: solid 2px #ccc;
    border-radius: 5px;
    transform: translate(-50%, -50%);
}

.detail-scroll {
    position: absolute;
    width: 100%;
    height: calc(100% - 100px);
    padding: 10px 30px 30px 30px;
    margin: 0px 0px 0px 0px;
}

.detail-fixed {
    margin:10px;
}

.form-controlx {
    font-size: 16px;
    height: 40px;
    line-height: 1.5;
    padding: 7px 12px;
}

.fa-spinner {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.detail-confirm {
    width: 100%;
    max-width:300px;
    margin:auto;
    height: 100%;
    max-height: 200px;
    z-index:999 !important;
}

@media screen and (max-height: 600px){
    .detail-container {
        height: auto;
        bottom: 0;
        overflow-x: hidden;
    }
}

.close-x {
    color: #777;
    font: 24px/100% arial, sans-serif;
    padding: 7px;
    position: absolute;
    right: 5px;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    top: 5px;
}

.close-window:after {
    content: '✖';
}

.blurred {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    pointer-events: none;
    /*background-color: rgba(0, 0, 0, 0.3);*/
}

.ttip {
    margin-left: 10px;
    color: #888;
    text-decoration: none;
}

.ttiptext {
    font-size: 16px;
    font: 1.125rem 'Source Sans Pro', sans-serif;
}

.ttip .ttiptext {
    visibility: hidden;
    width: max-content;
    max-width: 500px;
    background-color: #555;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

.ttip:hover .ttiptext {
    visibility: visible;
}

.fa-large {
    font-size: 28px;
}

.fa-green {
    color: #00B388;
}

.fa-gray {
    color: #54585A;
}

.fa-red {
    color:#c8102e;
}

.fa-times {
    color: #C8102E;
}

.fa-check {
    color: #00B388;
}

.fa-check-circle {
    color: #00B388 !important;
}

.fa-exclamation-triangle {
    color: #D89B00 !important;
}

.fa-shopping-cart {
    font-size: 32px;
}

.vspace {
    padding-top: 5px;
}

.row {
    padding-top: 8px;
    padding-left: 10px
}

.col-md-4-abs {
    width: 33.33333333% !important;
    margin-left: 5px;
}

.strike {
    text-decoration: line-through;
}

.pp-header {
    font-size: 24px;
    line-height: 27px;
    font-weight: bold;
    margin:5px 8px;
}

.pp-small {
    font-size: 14px;
    line-height: 18px;
}

.pp-center {
    text-align: center;
}

.pp-max800 {
    /* border: solid 1px #116753; */
    width: 100%;
    max-width:800px;
}

.pp-max1200 {
    /* border: solid 1px #00B388; */
    width: 100%;
    max-width:1200px;
}

.pp-maxwidth {
    /* border: solid 1px #C8102E; */
    width: 100%;
}

.result-table {
    padding: 20px;
    margin-top: 20px;
}

.on-top {
    z-index: 999 !important;
}

.attention {
    width: 80%;
    background-color: #f5f5f5;
    border-radius: 6px;
    margin:auto;
    margin-top: 10px;
    padding-left: 15px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.wide_grid {
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 10px;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 3px;
}

.detail-cell {
    padding-top: 5px;
    padding-right: 10px;
}

.tab_header {
    margin-left:10px;
    display:inline-block;
    width: calc(100% - 50px);
}

.tab_header_rec {
    color: #00B388;
}

.tab_header_unrec {
    color: #C8102E;
}

.summary {
    font-family: 'Milo', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 27px;
    padding-left: 1px;
    text-transform: none;
    transform: translate(0%, 60%);
}

.search-container {
    z-index: 999;
    background-color: #fff;
    padding: 2px 5px;
    width: 100%;
    max-width: 800px;
    border: solid 2px #ccc; 
    -moz-border-radius: 0 7px 7px 0; -webkit-border-radius: 0 7px 7px 0; 
    border-radius: 7px 7px;
    position: relative; 
    top: 0px;
    left: 0px;
    margin-top: 10px;
}

.btn {
    margin: 10px;
}

.autoresults {
    display: none;
    position: absolute;
    padding: 5px;
    z-index: 999;
    background-color: #fff;
    border: solid 2px #ccc; 
}

.pp-button-row {
    position: absolute;
    width: calc(100% - 60px);
    padding: 20px 20px 0px !important;
    margin: 0px !important;
    bottom: 0px;
}

.bump-5 {
    margin-top: 5px !important;
}
.bump-10 {
    margin-top: 10px !important;
}
.bump-20 {
    margin-top: 20px !important;
}

.lined {
    display:flex;
    flex-direction: row;
}
.lined:before, .lined:after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #cccccc;
    
    margin: auto 10px;
}

.q-frame {
    background-color: #f5f5f5;
    padding: 15px;
    margin-bottom: 12px;
    border: solid 2px #ccc; 
    -moz-border-radius: 0 7px 7px 0; -webkit-border-radius: 0 7px 7px 0; 
    border-radius: 7px 7px;
}

.q-row {
    padding: 5px;
}

.tabulator-group-level-0 {
    background-color: #ddd !important;
}