html {
    height: 100%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    position: relative;
    padding-bottom: 6rem;
    min-height: 100%;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4rem;
    color: #7a7a7a;
}

#loading {
    opacity: 0;
}

#loading-bar-outer {
    height: 2px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

#loading-bar {
    background-color: #00afd0;
    height: 100%;
    position: absolute;
    width: 50%;
}

#loading-bar.animation {
    -webkit-animation: kitt 1.5s ease-in-out infinite;
    animation: kitt 1.5s ease-in-out infinite;
}

@-webkit-keyframes kitt {

    0%,
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    50% {
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
    }
}

@keyframes kitt {

    0%,
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    50% {
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
    }
}


#resultsTable tr:nth-child(4n), #resultsTable tr:nth-child(4n-1) {
    background: #ffffff;
}
#resultsTable tr:nth-child(4n-2), #resultsTable tr:nth-child(4n-3) {
    background: #f5f5f5;
}

#resultsTable tr:nth-child(4n-1), #resultsTable tr:nth-child(4n-3) {
    border-top: 1px solid #dee2e6;
}
#resultsTable tr:nth-child(4n-1) td, #resultsTable tr:nth-child(4n-3) td {
    padding-top: 1.5rem;
}

#resultsTable td {
    border: none;
    padding: 0.5rem .75rem;
}

#databaseFundCount {
    color: black;
    margin-bottom: 2em;
}

.fadeOverflow {
    overflow: hidden;
    position: relative;
}

.fadeOverflow .btnReadMore {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    background-image: linear-gradient(rgba(255, 0, 0, 0) 0%, white 100%);
    text-align: center;
    padding: 30px 0;
}


.table-bordered thead th, .table thead th {
    background-color: #ced4da;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-top: none;
    padding-right: 1.5rem
}
.table-bordered thead th:last-child, .table thead th:last-child {
    border-right: none;
}

th.sortable-asc.active,
th.sortable-desc.active,
th.sortable-asc:hover,
th.sortable-desc:hover {
    cursor: pointer;
    background-color: #666666;
    color: #ffffff;
}

th.sortable-asc,
th.sortable-desc {
    position: relative;
}

th.sortable-asc:after,
th.sortable-desc:after {
    content: ' ';
    position: absolute;
    height: 0;
    width: 0;
    right: 10px;
    /* (right padding / 2) - arrow width */
    top: 16px;
    /* ((padding * 2) + line height) - arrow height */
    /** As pointed out by Dave Everitt in
    * https://css-tricks.com/snippets/css/css-triangle/
    * The arrow is not an equilateral triangle.
    * the height is 86.6% of the width.
    * Notice the above code does not subract the border
    * width exactly. It is subtracting
    * (rounded) border width * 86.6%
    **/
}

th.sortable-asc:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 0px solid transparent;
    border-bottom: 5px solid #007a91;
}

th.sortable-asc:hover:after,
th.sortable-asc.active:after {
    border-bottom: 5px solid #caecea;
}

th.sortable-desc:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #007a91;
    border-bottom: 5px solid transparent;
}

th.sortable-desc:hover:after,
th.sortable-desc.active:after {
    border-top: 5px solid #caecea;
}

.form-check-toggle {
    position: relative;
    padding-left: 0;
    display: block;
    width: 44px;
}

.form-check-toggle input {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 0%;
    margin: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.form-check-toggle input+span {
    cursor: pointer;
    user-select: none;
    height: 24px;
    margin-left: 50px;
    display: block;
}

.form-check-toggle input+span:before {
    content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    height: 24px;
    width: 44px;
    background: #FFF;
    border: solid 1px #dee2e6;
    transition: background 0.1s ease-in-out, border-color 0.1s ease-in-out;
    border-radius: 15px;
}

.form-check-toggle input+span:after {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    margin-left: 1px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    background: #FFF;
    transition: margin-left 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    text-align: center;
    font-weight: bold;
    content: '';
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.05);
}

.form-check-toggle input:checked+span:after {
    content: '';
    margin-left: 21px;
    box-shadow: none;
}

.form-check-toggle input:checked+span:before {
    background-color: #00afd0;
    border-color: #00afd0;
    transition: background 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.form-check-toggle input:disabled+span:before {
    background-color: #bfebf3;
    border-color: #00afd2;
}

tr.rowStatusChecked {
    background-image: linear-gradient(135deg, #737373 25%, #828282 25%, #828282 50%, #737373 50%, #737373 75%, #828282 75%, #828282 100%);
    background-size: 56.57px 56.57px;
}

tr.rowStatusChecked td {
    background-color: transparent;
    color: #ffffff;
    text-decoration: line-through;
}

.allowTextWrap {
    white-space: normal !important;
    word-wrap: break-word;
    word-break: normal;
}

.filedropzone {
    padding: 4em;
    border: 0.25rem dashed #6c757d;
    color: #6c757d;
    text-align: center;
}

.filedropzone * {
    pointer-events: none;
}

.drag-over {
    background-color: rgba(0,0,0,.05);
}

#hiddenFileInput {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
}

#fileDisplay {
    padding: 4em;
    border: 1px solid #6c757d;
    color: #6c757d;
    text-align: center;
}

.hvb-data.table-striped tbody tr:nth-of-type(odd) {
    background-color: #e5eff2;
}
.hvb-data.table-striped tbody tr:hover:nth-of-type(odd) {
    background-color: #cbdfe5;
}

.fund-data td:first-child {
    width: 60%;
}
.fund-data td:nth-child(2) {
    text-align: right;
}
.fund-data td {
    padding-right: 8px;
    padding-left: 8px;
}

dd.is-dirty textarea, dd.is-dirty textarea:focus {
    background-color: #fef1cc;
}

tr.is-dirty td {
    background-color: #fef1cc;
}


label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

span.not-available {
    cursor: default;
    color: #dee2e6;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0;
}

section h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.break-out {
    width: 100vw;
    position: relative;
    left: calc(-1 * (100vw - 100%) / 2);
    height: calc(100vh - 300px);
    overflow: hidden;
    border-bottom: 1px solid #ccc
}

blockquote {
    border-left: 5px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}

/*xs*/
.navbar-brand .img-fluid {
    width: 20px;
}

/*md*/
@media (min-width: 768px) {
    .navbar-brand .img-fluid {
        width: 50px;
    }
}

/*lg*/
@media (min-width: 992px) {
    .navbar-brand .img-fluid {
        width: 160px;
    }
}

/*xl*/
@media (min-width: 1200px) {
    .navbar-brand .img-fluid {
        width: 200px;
    }
}
