body {
    overflow: hidden;
}
.ui-header, .ui-footer, .ui-content {
    padding: 0px;
}

#ldb-tabs li > a {
    background-color:rgb(255, 255, 255)!important;
    border-color: rgb(255, 255, 255) !important;
    color: rgb(64, 64, 64) !important;
    text-shadow: 0 1px 0 rgb(200, 200, 200) !important;
}

#ldb-tabs li.ui-tabs-active > a {
    background-color:rgb(255, 255, 255)!important;
    border-color: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
    text-shadow: 0 1px 0 rgb(200, 200, 200) !important;
    border-bottom: 5px solid  rgb(0, 104, 55)!important;
}

/* Leaderboard table */ 
.ldb-table {
    table-layout: fixed;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    width: 100%;
    background-color: white;
}

.ldb-table tbody {
    display: block;

    overflow-y: scroll;
}

.ldb-table thead {
    display: block;
}

.ldb-table td {
    padding: 6px;
    font-weight: bold;
    vertical-align: middle; 
    border-bottom: 1px solid #CDCDCD; 
}

.ldb-table th {
    padding: 5px;
    font-size: 86%;
    vertical-align: middle;
    text-align: center;
    background-color: #C0E0CD;
    text-shadow: none !important;  
}

.ldb-table .ldb-row-ingroup {
    background-color: #FFEFC0; 
}
.ldb-table .ldb-row-default {
    background-color: inherit;
}

/* Pos column */
.ldb-table td:nth-child(1), th:nth-child(1) {
    text-align: center;
    min-width: 30px;
}
/* Name column */
.ldb-table td:nth-child(2), th:nth-child(2) {
    text-align: left;
    width: 100%;
    max-width: 94px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Holes/rounds column */
.ldb-table td:nth-child(3), th:nth-child(3) {
    text-align: center;
    min-width: 35px;
}
/* Score column */
.ldb-table td:nth-child(4), th:nth-child(4) {
    text-align: center;
    min-width: 40px;
}
/* Result column */
.ldb-table td:nth-child(5), th:nth-child(5) {
    text-align: center;
    min-width: 45px;
}

/* Hide score column in smaller devices */
@media only screen and (max-width: 350px) {
.ldb-table td:nth-child(4), th:nth-child(4) {
    display:none;
  }
}

.ldb-res-minus {
    color: red;
}
.ldb-res-default {
    color: black;
}
.ldb-res-selected {
    color: white;
}

.td-highlight {
    background-color:#F3A82A;
}

.hidden {
    display: none;   
}
.hidden-btn {
    display: block;         
}

#score-view { 
    height: 100%;
    width: 100%;
}

/* Top view */
#enter-view { 
    width:100%;
    height:auto;
    overflow-y: auto;
    overflow-x:hidden;
}
/* Bottom view */
#pad-view { 
    background-color: #E2DFDF;  
    height:224px;
    width: 7px;
    position:fixed;
    bottom:0;
}

.sc-container {
    border: 1px solid #CDCDCD;
    border-radius: 5px;
    padding: 6px;
    background-color: white;
}

/* Score card table */
.sc-table {
    border-collapse: collapse;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    background-color: white;
}

.sc-table td {
    padding: 8px;
    font-size: 108%;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
.sc-row {
    border-top: 1px solid #CDCDCD;    
}
.sc-row-top {
    border: none;     
}

.sc-table tr td:nth-child(1) {
    width: 11%;
}
.sc-table tr td:nth-child(2) {
    width: 11%;
}
.sc-table tr td:nth-child(3) {
    width: 60%;
    max-width: 60px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
}

.sc-table tr td:last-child {
    font-weight: bold;
    width: 18%;
}

#sc-table2 .selected-row {
    background-color: #008800;
    color: white;
    text-shadow: none !important; 
}

/* score card score button */ 
.sc-score {
    font-weight: normal;
    background-color: #008800;
    color: white;
    text-shadow: none !important; 
    border: 1px solid darkgray;
    border-radius: 1px;
}

/* score card score enter */ 
.sc-score-enter {
    font-weight: bold;
    color: black;
    background-color: white;
    border: 1px solid darkgray;
    border-radius: 1px;
}

.sc-score-enter:hover {
    cursor: pointer;
}

.sc-score-button {
    margin-top: 0px;
    text-align: center;
    width: 96%;
    color: white;
}

.sc-score-finished {
    pointer-events: none;
    background-color: white;
    color: black;
}

#hole-info1 {
    font-size: 12pt; 
    padding: 6px 6px 6px 6px;
}
#hole-info2 {
    font-size: 12pt; 
    padding: 6px 6px 6px 6px;
}
.hole-title {
    font-weight: bold;
}

/* Number pad */
#numpad {  
    position:absolute;
    bottom:0;
    width:100%;
    background-color: #C8C5C5; 
    display:none; 
}

#numpad-table {
    text-align: center;
    vertical-align: middle;
    width: 99%;
    border-radius: 3px;
    margin-bottom: 0px;
}

#numpad-table .pad-row td {
    padding: 2px;
    font-size: 20pt;
    font-weight: bold;
    width: 25%;
    height: 50px;
    background-color: #ffffff;
    border-radius: 1px;
}

/* Num pad hide button */ 
#pad-hide {
    vertical-align: middle;
    margin-right: 4px;
    height: 46px;
    border: 1px solid #CDCDCD;
    background-color: #FFFFFF;
}

.inline-icon {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 4px;
}
.inline-icon-nodisk {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 4px;
}
.inline-icon-nodisk:after {
    background-color: transparent !important;
}

/* Num pad score button */ 
#pad-send {
    font-size: 14pt;
    border-radius: 2px;
}
.send-enabled {
    color: white;
    background-color: #008800;
}
.send-disabled {
    color: #383838;
    background-color: #C8C5C5;
}

/* Result table */ 
.res-table {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
    background-color: white;   
}
 
.res-table thead {
    height: 6.3%;
    background-color: #C0E0CD;
    text-shadow: none !important;  
}
.res-table tbody {
    height: 77%;
    background-color: white;
}
.res-table tfoot {
    height: 16.6%;
    background-color: #C0E0CD;
    text-shadow: none !important;  
}

.res-table thead th {
    width: 16.6%;
    max-height: 36px;
}

.res-table tbody td {
    width: 16.6%;
    height: 11.11%;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #CDCDCD; 
}

.res-table tfoot td {
    width: 16.6%;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
}

#score-edit-table {
    text-align: center;
    vertical-align: middle;
    width: 100%;
    border-radius: 3px;
    padding: 1px;
    background-color: silver; 
}

#score-edit-table td {
    font-size: 18pt;
    font-weight: bold;
    width: 60px;
    height: 60px;
    min-height: 60px;
    min-width: 60px;
    background-color: #ffffff;
    border-radius: 1px;
    padding: 0px;;
}

#score-edit-table .score-list {
    font-size: 16pt;
    width: 100%;
    padding: 0px;
}
#score-edit-table .ui-field-contain {
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    background-color: tomato;
    padding: 0px;
    display: table;
    vertical-align: top;
}
#select-high-score {
    vertical-align: top;
    position:absolute;
    padding: 0px;
    margin: 0px;;
}

.btn-score-edit {
    background-color: #008800;
    color: white;
    text-shadow: none !important;
    cursor: pointer; 
    border-radius: 1px;
}
.btn-score-edited {
    background-color:#D48401;
    color: white;
    text-shadow: none !important;
    cursor: pointer; 
    border-radius: 1px;
}

.res-table th {
    width: 16.6%;
    max-height: 40px;
    padding: 5px;
    font-size: 86%;
    text-align: center;
    vertical-align: middle;
}

#res-player-info {
    font-weight: bold;
    font-size: 110%;
    width: 100%;
    height: 23px;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 8px;
}

.side-panel.ui-panel {
    width: 60%;
    max-width: 300px;
    min-width: 220px;    
}

/* #side-panel-score.ui-panel {
    width: 60%;
    max-width: 300px;
    min-width: 220px;
}
#side-panel-ldb.ui-panel {
    width: 60%;
    max-width: 300px;
    min-width: 220px;
} */

.menu-header {
    height: 40px;
}
.menu-header div {
    padding-top: 10px;
    font-size: 11pt; 
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#info-container {
    padding: 20px;
    font-size: 114%;
    background-color: #FFFFFF;
}
.info-header {
    font-size: 106%;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 4px;
}
#hole-info-container {
    padding: 20px;
    font-size: 118%;
    background-color: #FFFFFF;
}

/* Hole info page */
#hole-info-table {
    border-collapse: collapse;
    width: 100%;
}
#hole-info-table td:nth-child(1) {
    font-weight: bold;
    width: 60px;
    min-width: 60px;
}

#hole-tee-table {
    border-collapse: collapse;
    width: 100%;
}
#hole-tee-table th {
    text-align: left;
    border-bottom: 1px solid #000;
}
#hole-tee-table td {
    border-bottom: 1px solid #CDCDCD;
}
#hole-tee-table td:nth-child(1) {
    width: 56%;
    min-width: 100px;
}
#hole-tee-container {
    margin-top: 10px;
    margin-bottom: 2px;
}

/* General settings */
tr {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ui-loader-background {
    width:100%;
    height:100%;
    top:0;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    display:none;
    position: fixed;
    z-index:100;
}

.ui-loading .ui-loader-background {
    display:block;
}

.banan {
    padding: 0px;
}

.banner-text {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    background-color: white;
}

.custom-splash {
    width: 280px;
    max-height: 200px;
    min-height: 150px;
    padding: 0px;
    top: 40%;
    left: 50%;
    margin-left: -140px;
    background-color: white;
    opacity: 1.0;
}

.custom-splash img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit:cover;
    opacity: 1.0;
}

/* Navar tabs customization 
https://stackoverflow.com/questions/44187805/how-to-customize-the-jquery-mobile-navbar
http://andymatthews.net/code/jQuery-Mobile-Icon-Pack/
https://demo.mobiscroll.com/jquery/navigation/tab-icons#
http://jsfiddle.net/Palestinian/7bdPD/
.ui-grid-d {
    overflow: visible !important;
  }
  .ui-grid-d div {
    font-weight: normal !important;
    font-family: 'Jura', sans-serif !important;
    font-size: 12px;
  }
  .ui-grid-d a {
    margin: 0;
  }
  .ui-grid-d > .ui-block-a,
  .ui-grid-d > .ui-block-b,
  .ui-grid-d > .ui-block-c,
  .ui-grid-d > .ui-block-d,
  .ui-grid-d > .ui-block-e {
      text-align: center !important;
      background: white;
      padding-top: .3em;
      padding-bottom: .9em;
  }
  .ui-btn-icon-notext.ui-btn-active:after {
    background-color: transparent !important;
  }
  .ui-icon-big {
    height: 52px !important;
    width: 52px !important;
    margin-top: -24px !important;
    border-radius: 26px !important;
  }
  .ui-icon-big:after {
    width: 32px !important;
    height: 32px !important;
    background-size: 22px !important;
    margin-top: -16px !important;
    margin-left: -16px !important;

    /*     background-color: transparent !important; */
  
  /* jQM no frills */
  .ui-btn,
  .ui-btn:hover,
  .ui-btn:focus,
  .ui-btn:active,
  .ui-btn:visited {
    text-shadow: none !important;
  }
  .ui-focus,
  .ui-btn:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }