﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top:50px;
    padding-left: 15px;
    padding-right: 15px;
}
.loginHeader {
    margin-top: -25px;
}

.welcomePage {
    margin-top: -75px;
}

@media (min-width: 400px) and (max-width: 767px) {
    .body-content {
        margin-top: 30px;
    }

    .loginHeader {
        margin-top: 30px;
    }
    .welcomePage {
        margin-top: 45px;
    }
}

@media (min-width: 768px) {
    .body-content {
        margin-top: 90px;
    }
    .loginHeader {
        margin-top: -75px;
    }
}
@media (min-width: 992px) {
    .body-content {
        margin-top: 50px;
    }
    .loginHeader {
        margin-top: -25px;
    }
}
@media (min-width: 1200px) {
    .body-content {
        margin-top: 50px;
    }
    .loginHeader {
        margin-top: -25px;
    }
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select
 {
    max-width: 280px;
}

h2 {
    color:#0059A5;
}

.btn-info {
    background-color: #0059A5 !important;
    border-color: #0059A5 !important;    
}


.navbar-collapse {
    background-color:#ffffff;    
}
.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: #007AC2; /* Northwell Blue */
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #007AC2; /* Northwell Blue */
    opacity: 0.9; /* Slightly reduce opacity for a subtle effect */
    transition: background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

.navbar-header {
    background-color: #FFFFFF;
}

.card-header.bg-primary {
    /*background-color: #0059A5;*/
    background-color: #6DC3E7;
}

.card-header {
    color:black;
    padding: 10px 15px; /* Default Bootstrap panel heading padding */
    border-bottom: 1px solid #ddd; /* Light border similar to Bootstrap panels */
    border-top-left-radius: 3px; /* Match common Bootstrap rounded corners */
    border-top-right-radius: 3px; /* Match common Bootstrap rounded corners */
}


/*
    Type Ahead Search Styles for suggestion options
*/
.suggestions-container-style {
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin-top: 0;
    display: none;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    max-width: 280px;
    min-height: 50px;
    transition: height 0.2s ease-out;
}

.suggestions-container-style.has-results {
        display: block; /* Show when there are results */
    }

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

    .suggestion-item:last-child {
        border-bottom: none;
    }

    .suggestion-item:hover, .suggestion-item.active {
        background-color: #e9e9e9;
    }


/* Datatables custom styles for columns and display uses */
.status-active {
    color: green;
    font-weight: bold;
}

.status-inactive {
    color: red;
    font-weight: bold;
}

/* Base styles for status badges */
.status-badge {
    display: inline-flex; /* Allows text and icon to align nicely */
    align-items: center; /* Vertically aligns icon and text */
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    gap: 6px; /* Space between icon and text */
    white-space: nowrap; /* Prevent wrapping */
    font-size: 0.9em; /* Adjust font size if needed */
}

/* Active status (Green) */
.status-active {
    background-color: #e6ffed; /* Very light green */
    color: #28a745; /* Darker green text */
}

    .status-active .glyphicon { /* Target the glyphicon span */
        color: #218838; /* Slightly darker green for icon */
    }

/* Inactive status (Red) */
.status-inactive {
    background-color: #ffebeb; /* Very light red */
    color: #dc3545; /* Darker red text */
}

    .status-inactive .glyphicon { /* Target the glyphicon span */
        color: #c82333; /* Slightly darker red for icon */
    }  