html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  .col-md-4-custom {
      width: 60%;
  }
  .acct-custom-left {
    float: left;
    width: min-content;
  }
  .acct-custom-right {
      float: right;
      width: 350px;
    }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.tablesorter thead .disabled {
    display: none;
}

.p-align-right {
    text-align: right;
}

.btn-custom {
    padding: 0rem 0.75rem;
}

.btn-custom-edit {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 0.00rem 0.75rem;
}

    .btn-custom-edit:hover {
        color: #fff;
        background-color: #5c636a;
        border-color: #565e64;
    }

    .btn-check:focus + .btn-custom-edit, .btn-custom-edit:focus {
        color: #fff;
        background-color: #5c636a;
        border-color: #565e64;
        box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
    }

    .btn-check:checked + .btn-custom-edit, .btn-check:active + .btn-custom-edit, .btn-custom-edit:active, .btn-custom-edit.active, .show > .btn-custom-edit.dropdown-toggle {
        color: #fff;
        background-color: #565e64;
        border-color: #51585e;
    }

        .btn-check:checked + .btn-custom-edit:focus, .btn-check:active + .btn-custom-edit:focus, .btn-custom-edit:active:focus, .btn-custom-edit.active:focus, .show > .btn-custom-edit.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
        }

    .btn-custom-edit:disabled, .btn-custom-edit.disabled {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

.div-overlay {
    opacity: 0.9;
    background-color: #ccc;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1000;
    display: none;
    text-align: -webkit-center;
    padding-top: 50px;
}

.image-div {
    background-color: #ccc;
    position: fixed;
    transform: translate(0, -45%);
    top: 50%;
    left: 50%;
    z-index: 9999;
    display: none;
    text-align: -webkit-center;
    background-color: beige;
    border-style: ridge;
}

    .image-div.show-full {
        height: calc(100% - 10px);
        width: 50%;
    }

    .image-div.show-normal {
        height: calc(100% - 80px);
        width: 40%;
    }

.image-div-content {
    position: relative;
    width: 100%;
    overflow: auto;
    height: calc(100% - 30px - 50px);
    padding: 15px 10px;
}

.image-div-overlay {
    opacity: 0.9;
    background-color: #ccc;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: none;
    text-align: -webkit-center;
    padding-top: 50px;
}

.image-div-full-width-container {
    min-width: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-div-container {
    width: fit-content;
    padding-bottom: 10px;
}

.image-div-container-header {
    width: fit-content;
}

.image-div-pasteArea-container {
    display: flex;
    justify-content: center;
    position: relative;
    width: fit-content;
}

.image-div-pasteArea {
    border: 2px dashed #ccc;
    padding: 20px 20px 50px;
    min-width: 300px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    color: rgb(5, 89, 89);
    position: relative;
}
    .image-div-pasteArea:focus {
        outline: auto;
    }

    .show-normal .image-div-pasteArea > img {
        max-width: 500px;
        width: 100%;
    }

.image-div-image-button {
    position: absolute;
    width: 120px;
    bottom: 10px;
}

.image-div-footer {
    height: 50px;
    display: flex;
    gap: 5px;
    justify-content: start;
    align-items: center;
    margin-left: 10px;
}

.cursor-link {
    text-decoration: underline;
    cursor: pointer;
    color: #0d6efd;
}
.bet-link {
    text-decoration: none;
    cursor: pointer;
    color: black;
}
    .bet-link:hover {
        background-color: yellow;
    }

.form-control {
    appearance: auto;
    width: auto;
}

.div-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-0%, -45%);
    overflow:auto; 
    background-color: beige; 
    border-style: ridge;
    z-index:9999;
}
.overlay-label {
    border: 2px solid #ddd;
    font-weight: bold;
}

.noresultdiv {
    display: inline-block;
    color: red;
    vertical-align: top;
    border-style: ridge;
    text-align: center;
    padding: 10px;
    width: 50%;
}
.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.icon-close {
    background-image: url(../images/icon-close.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: 0.5;
}

.filter-overlay {
    /*display: none;*/
    /*height: 300px;*/
    overflow: hidden;
    border-style: ridge;
    background-color: white;
}

.filter-header-overlay {
    background-color: darkgrey;
    height: 40px
}

.filter-header-title {
    font-weight: bold;
    vertical-align: -webkit-baseline-middle;
}

.filter-inner-overlay {
    overflow: auto;
    height: 300px;
}

.ledger-table {
    display: inline-block;
    vertical-align: top;
    /*width: 50%;*/
}

.mt-5rem {
    margin-top: 5rem !important;
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    /*font-size: 15px;*/
    border: none;
    /*outline: none;*/
    background-color: gainsboro;
    /*color: white;*/
    cursor: pointer;
    padding: 7px;
    border-radius: 4px;
    width: 35px;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.mini-loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 17px;
    height: 19px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    display: none;
    position: absolute;
}

button.ui-datepicker-close {
    display: none;
}

.form-group-filter {
    display: inline-block;
}
.control-label {
    font-weight:bold;
}
.web-align-right {
    text-align: right;
}

.btn {
    vertical-align: initial;
}

.val-filter {
    display : table-cell;
}

.tooltipcustom {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltipcustom .tooltiptextcustom {
        visibility: hidden;
        width: 300px;
        background-color: #555;
        color: #fff;
        /*text-align: center;*/
        border-radius: 6px;
        /*padding: 5px 0;*/
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -100px;
        opacity: 0;
        transition: opacity 0.3s;
        overflow-wrap: break-word;
        padding: 5px;
    }

        .tooltipcustom .tooltiptextcustom::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 35%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltipcustom:hover .tooltiptextcustom {
        visibility: visible;
        opacity: 1;
    }

.filter-dropdown-group {
    position: relative;
    width: auto;
    display: inline-flex;
}

    .filter-dropdown-group .btn-outline-secondary.dropdown-toggle {
        padding-top: 0;
        padding-bottom: 0;
        border-color: #ced4da;
        background-color: #fff;
    }

        .filter-dropdown-group .btn-outline-secondary.dropdown-toggle:active,
        .filter-dropdown-group .btn-outline-secondary.dropdown-toggle:hover,
        .filter-dropdown-group .btn-outline-secondary.dropdown-toggle.show {
            border-color: #6c757d;
            background-color: #6c757d;
        }

    .filter-dropdown-group .dropdown-toggle::after {
        display: none;
    }

    .filter-dropdown-group .dropdown-menu {
        overflow: auto;
        padding: 0;
        width: calc(100% - 42px);
        box-shadow: 0px 18px 20px 0px #6f6f6f4d;
    }

.filter-dropdown-item-div {
    max-height: 200px;
    overflow: auto;
}

    .filter-dropdown-item-div a:focus-visible {
        outline: 0;
    }

.filterInputCss {
    padding: 8px 16px;
    border: 0;
    background: #f1f1f1;
    width: 100%;
}

    .filterInputCss:focus {
        outline: 3px solid #ddd;
    }

.form-check-input.disabled {
    pointer-events: none;
    filter: none;
    opacity: 0.5;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@media ( max-width: 35em ) {
    .form-control {
        width: 100%;
    }
    .dt-width {
        width: 90%;
    }
    .form-group-filter {
        display: block;
    }
    .web-align-right {
        text-align: left;
    }
    .div-center {
        left: 10%;
    }
}