﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.status-msg {
    color: #05649b;
    font-weight: bold;

}


/* Use this for the Go to Top button */
@media screen {
    #GoTopBtn {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 30px;
        z-index: 99;
        font-size: 14px;
        border: none;
        outline: none;
        background-color: #f2683a;  /* #05649b;*/  
/*      opacity: 0.75; */
        color: white;
        cursor: pointer;
        /*	padding: 15px;*/
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 8px;
        padding-bottom: 8px;
        border-radius: 4px;
    }

        #GoTopBtn:hover {
            background-color: #555;
        }
}



/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

.cch-Submit {
    background-color: #05649b;
}

/* hide hamburger menu */
span.navbar-toggler-icon, .navbar-toggler {
    visibility: hidden;
}

/* leave vertical space between search text box and Clear button for small screens */
input#searchTags {
    margin-bottom: 1em;
}

/* jQueryUI - autocomplete */

.ui-menu .ui-menu-item-wrapper {
    color: #303030;
}

    .ui-menu .ui-menu-item-wrapper:hover,
    .ui-menu .ui-menu-item-wrapper.ui-state-active {
        color: #eeeeee;
        background-color: #05649b;
         border: #fff 1px solid;
    }

/* jQueryUI - Modal dialog */

#dialog-message {
    display: none;
}

div#dialog-message div.ui-widget-header {
    background-color: #dddddd;
    border: 1px solid black;
}

div#dialog-message, div.ui-dialog-buttonpane {
    background-color: #eeeeee;
    color: black;
}

div.ui-widget-header, div.ui-state-default, div.ui-button {
    background: #333333;
    border: 1px solid #333333;
    color: white;
    font-weight: bold;
}

/*button.ui-dialog-buttonpane {
    background-color: grey;
    color: red;
}
*/

body.ui-widget-overlay.ui-front {
    opacity: 1.0;
}


/*button.ui-dialog-titlebar-close::before {
    content: "X";
    position: absolute;
    top: 1px;
    left: 3px;
    line-height: 1rem;
}
*/

.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close {
    display: none;

}

.ui-dialog-titlebar-close {
    background-color: #333333;
    border: none;
}



/* Use this to format the CPT Search Results */

fieldset.cptInfo {
    width: 90%;
    margin-left: 5px;
    padding: 20px;
}

table.cptInfo td {
    border: 1px ridge;
    border-color: white;
}

table.cptInfo td {
    border-color: white;
}

    table.cptInfo td.textRight {
        text-align: right;
        font-weight: bold;
        width: 40%;
        padding-right: 10px;
    }

    table.cptInfo td.textBold {
        font-weight: bold;
    }


/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 450px; /*280px; */
}

/* Table styling */
#fileList table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

#fileList table th {
    background-color: #05649b;
    color: white;
    padding: 0.75rem;
    text-align: left;
}

#fileList table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

#fileList table tr:nth-child(even) {
    background-color: #f8f9fa;
}

#fileList table tr:hover {
    background-color: #e9ecef;
}

/* File URL/Download link */
#fileList table a {
    color: #05649b;
    text-decoration: none;
    font-weight: bold;
}

#fileList table a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-group label {
        margin-bottom: 0.5rem;
    }
    
    #fileList table {
        display: block;
        overflow-x: auto;
    }
}