.cursor-pointer {
    cursor: pointer;
}

input[type="checkbox"] {
    width: 40px;
}

.dataTables_filter {
    display: none;
}

/* hides the currency type dropdown in the form input for money fields */
#id_budget_1, #id_funds_1, #id_actual_cost_1 {
    display: none;
}

.leaflet-container {
    height: 100%;
    width: 100%;
}

.map-container {
    height: 85vh;
}

.map-thumbnail {
    height: 40vh;
}

#server-error, .year-error, .budget-error, .cost-error, .source-error, .secured-error {
    display: none;
    font-size: 0.8em;
    color: red;
}

#server-error.visible, .year-error.visible, .budget-error.visible, .cost-error.visible, .source-error.visible, .secured-error.visible {
    display: block;
}

.existing-tr>td, .new-tr>td {
    padding: 0px;
    border: 0px;
}

.existing-tr tr:hover, .new-tr tr:hover {
    background-color: transparent !important;
}

/* Set the width of all column cells except those for delete/remove btns */
.funding-table th:nth-child(-n+5), .funding td:nth-child(-n+5){
    width: 17%;
    min-width: 115px;
}

.funding-table {
    overflow-x: auto;
    white-space: normal;
}

.funding-table table {
    width: 100%;
}

.icon-loader, .icon-saved, .icon-failed {
    display: inline-block;
}

.icon-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #7e9137;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 2s linear infinite;
}

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

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

.fa-check-square {
    color: #7e9137;
}

.fa-exclamation-circle {
    color: #dc3545;
}
