.badge-primary {
    color: #fff;
    background-color: #4CAF50;
}

.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

.badge {
    font-size: 0.718rem;
    display: inline-block;
    padding: 0.25em 0.4em;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: -webkit-baseline-middleline;
    border-radius: 0.25rem;
}

body {
    font-size: 0.86rem;
    color: #222222;
}

.dataTables_scrollHeadInner>table,
.dataTables_scrollBody>table {
    table-layout: fixed;
    word-wrap: break-word;
}

.dataTables_scrollBody>table>tbody {
    display: block;
    /* max-height: 300px;
            overflow-y: auto; */
    width: 100%;
}

.dataTables_scrollHeadInner>table>thead,
.dataTables_scrollBody>table>tbody {
    display: block;
}

.dataTables_scrollHeadInner>table>thead,
.dataTables_scrollBody>table>tbody>tr,
.dataTables_scrollBody>table>thead>tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.card-body {
    min-width: 280px;
}

.popover {
    font-size: 0.81rem;
}

.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}

@media(max-width: 768px) {
    .modal-dialog {
        min-height: calc(100vh - 20px);
    }
}

.table-hover>thead>tr>th,
.table-hover>tbody>tr>td {
    font-size: 0.84374rem;
    padding: 0.4rem;
}

.dataTable>thead>tr>th {
    word-wrap: normal;
}

.dataTable>thead>tr>th,
.dataTable>tbody>tr>td {
    font-size: 0.84374rem;
}

pre {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.84374rem;
    font-weight: 400;
    margin: 0px !important;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-break: break-all;
}

.left {
    float: left;
    padding: 0 10px 20px 0;
}

.navbar {
    padding: 0.6rem 1.5rem;
}

.navbar-dark {
    background-color: #ffc107 !important;
}

/* Spinner CSS */

.showbox {
    position: absolute;
    top: 33%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5%;
}

.loader {
    position: relative;
    margin: 0px auto;
    width: 100px;
}

.loader:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.circular {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    height: 100%;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@-webkit-keyframes color {
    100%,
    0% {
        stroke: #d62d20;
    }
    40% {
        stroke: #0057e7;
    }
    66% {
        stroke: #008744;
    }
    80%,
    90% {
        stroke: #ffa700;
    }
}

@keyframes color {
    100%,
    0% {
        stroke: #d62d20;
    }
    40% {
        stroke: #0057e7;
    }
    66% {
        stroke: #008744;
    }
    80%,
    90% {
        stroke: #ffa700;
    }
}

.backToTop {
    position: fixed;
    cursor: pointer;
    display: block;
    border: none;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.backToTop:focus {
    outline: 0 !important;
}

.backToTop:before {
    font-family: "FontAwesome";
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btt1 {
    visibility: hidden;
    background: #fff;
    height: 0px;
    width: 0px;
    overflow: hidden;
    border-radius: 50px;
    left: 20px;
    bottom: 20px;
    font-size: 0px;
}

.btt1:before {
    content: "\f077";
    padding-bottom: 3px;
}

.btt1.show {
    opacity: 0.8;
    color: #333;
    font-size: 25px;
    height: 35px;
    width: 35px;
    visibility: visible;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
}

.btt1-right {
    left: initial;
    right: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
}

.btt1-right:hover {
    background: white;
    opacity: 1.0;
}

.btt1-right:before {
    content: "\f0d8";
    padding-bottom: 3px;
}

.btt1-right.show {
    font-size: 25px;
}