/* kill any underline/line on brand link/text */
.header .logo,
.header .logo * {
    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    outline: 0 !important;
}

.header .logo::before,
.header .logo::after,
.header .logo *::before,
.header .logo *::after {
    content: none !important;
    display: none !important;
}

/* Footer brand: remove underline/line effects */
.footer .footer-about .logo a,
.footer .footer-about .logo a:link,
.footer .footer-about .logo a:visited,
.footer .footer-about .logo a:hover,
.footer .footer-about .logo a:active,
.footer .footer-about .logo .sitename {
    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    color: inherit;
    /* keep footer color */
}

/* If the template draws a line with pseudo-elements, nuke them */
.footer .footer-about .logo a::before,
.footer .footer-about .logo a::after,
.footer .footer-about .logo .sitename::before,
.footer .footer-about .logo .sitename::after {
    content: none !important;
    display: none !important;
}

.btn.btn-upload {
    background-color: #04316a;
    /* base bg */
    color: #fff;
    /* text */
    border: 1px solid #04316a;
    background-image: none;
    /* kill gradients */
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease, transform .05s ease;
}

.btn.btn-upload:hover,
.btn.btn-upload:focus {
    background-color: #bbd9ff;
    border-color: #bbd9ff;
    color: #fff;
}

.btn.btn-upload:active {
    background-color: #0369a1;
    border-color: #0369a1;
    transform: translateY(1px);
}

.btn.btn-upload:disabled,
.btn.btn-upload.disabled {
    background-color: #7dd3fc;
    border-color: #7dd3fc;
    color: #fff;
    opacity: .65;
    /* optional */
    pointer-events: none;
}

/* Dark styling for the file input in the Upload section */
#upload input[type="file"].form-control {
    background-color: #bbbbbb !important;
    /* the area that shows “X files selected” */
    color: #ffffff !important;
    /* text color for the selected files label */
    border: 1px solid #444 !important;
    /* helps Safari/WebKit render the text color correctly */
    -webkit-text-fill-color: #ffffff;
}

/* The “Choose files” button */
#upload input[type="file"]::file-selector-button {
    background-color: #1a1a1a;
    color: #f8f9fa;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    margin-right: 12px;
    cursor: pointer;
}

#upload input[type="file"]::file-selector-button:hover {
    background-color: #2a2a2a;
}

/* Fallback for older WebKit */
#upload input[type="file"]::-webkit-file-upload-button {
    background-color: #1a1a1a;
    color: #f8f9fa;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    margin-right: 12px;
    cursor: pointer;
}