/*------------------------- (common) -------------------------*/

body {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid none;
    margin: 0;
    width: 100%;
    height: 100vh;
    /* background-color: rgb(46, 142, 88) */
    min-height: 100vh;
}

.container {
    border: 1px solid none;
    width: 100%;
    position: relative;
}

/******** header ********/

header{
    background-image: url("../images/neph_header_1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: sticky;
    top: 0;
    z-index: 1;
}

header .hosp-logo-and-name {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1em 0;
}

.search-login-area  {
    display: flex;
    justify-content: space-between;
    padding: 1em;
}

.search-login-area form {
    display: flex;
}

.search-login-area form input {
    border-radius: 5px;
    border: 1px solid lightgray;
    outline: none;
    width: 15rem;
    margin: 0;
}

.search-login-area .search-form button {
    display: flex;
    align-items: center;
    margin-left: 0.5em;
    background-color: gold;
    border: 1px solid goldenrod;
    padding: 5px;
    border-radius: 5px;
}

.search-login-area form button:hover {
    cursor: pointer;
}

.search-login-area form button img {
    width: 1.5em;
}

.log-in-out-btn {
    display: flex;
    color: white;
    align-items: center;
    margin-left: 0.5em;
    padding: 5px;
    border-radius: 5px;
}

.logout-button {
    background-color: red;
    border: 1px solid darkred;
}

.login-button {
    background-color: rgb(46, 142, 88);
    border: 1px solid rgb(36, 107, 67);
}

.media-query-menu {
    margin: 0;
}

.mobile-search {
    display: none;
    padding: 0 1em;
}

header .hosp-logo-and-name a .hosp-logo {
    width: 5em;
}

header .hosp-logo-and-name .hosp-name {
    font-size: 4rem;
    margin-left: 2rem;
    color: rgb(46, 142, 88);
    margin: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 3px 5px;
    border-radius: 5px;
}

header .background-image-change-indicator {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0;
    margin-bottom: 1em;
}

header .background-image-change-indicator .indicator {
    width: 1em;
    height: 1em;
    border: 1px solid lightgrey;
    border-radius: 50%;
    margin: 2px;
    background-color: white;
}

header nav .nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-bottom: 0.5em solid rgb(46, 142, 88);
}

header nav .nav-items a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

header nav .nav-items a:hover{
    background-color: rgba(108, 202, 108, 0.5);
    margin: 0;
    color: gold;
    transition: 1s;
    z-index: 3;
}

header nav .more-page-dropdown {
    position: relative;
}

header nav .more-page {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid none;
}

header nav .more-page img {
    width: 0.75em;
    margin-left: 3px;
}

header nav .more-page-dropdown-items {
    position: absolute;
    display: none;
    background-color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 5px 3px 8px black;
    top: 20;
    width: 12em
}

header nav .dropdown-item {
    margin: 0;
}

header nav .dropdown-item .nav-item {
    display: inline-block;
    border-radius: 0;
    width: 10em;
}

header nav .query-media-dropdown-items {
    display: none;
}

header nav .query-media-dropdown-items .nav-item {
    display: block;
    text-decoration: none;
    color: black;
    padding: 5px 15px;
    background-color: rgb(222, 222, 222);
}

header nav .query-media-dropdown-items .nav-item:hover {
    background-color: rgba(108, 202, 108, 0.5);
    margin: 0;
    color: gold;
    transition: 1s;
}

header nav .nav-items .media-query-menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav .nav-items .menu-icon {
    display: none;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: larger;
    color: rgb(46, 142, 88);
    padding: 5px;
    margin: 0;
    background-color: goldenrod;
    border-radius: 5px;
    width: 1.5em;
    height: 1.5em;
}

header nav .nav-items .menu-icon:active{
    color: white;
}

header nav .nav-items .menu-icon:hover{
    cursor: pointer;
}

header .menu-icon-nav {
    background-color: white;
    position: absolute;
    width: 40%;
    box-shadow: 5px 3px 8px black;
    margin-left: 1em;
    border-radius: 5px;
    margin-left: -42%;
    /* z-index: 5; */
    top: 25em;
}

header .menu-icon-nav p {
    margin: 0;
    padding-left: 5px;
}

header .menu-icon-nav p a {
    display: inline-block;
    text-decoration: none;
    color: black;
    width: 100%;
    padding: 10px 0;
}

header .menu-icon-nav p:hover {
    background-color: rgba(108, 202, 108, 0.5);
    margin: 0;
    color: gold;
    transition: 1s;
}

header .menu-icon-nav p a:hover {
    color: gold;
    transition: 1s;
}

/******** session bar ********/

.session-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0.25em 0.5em;
    position: sticky;
    top: 17.5em;
    z-index: 1;
    border-bottom: 1px solid lightgray;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.session-bar .profile-name-img-display {
    display: flex;
}

.session-bar .profile-name-img-display .profile-name-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.session-bar .profile-name-img-display .profile-name-display p{
    margin: 0;
}

.session-bar .profile-name-img-display .profile-img-display {
    width: 2.5em;
    margin-right: 0.25em;
}

.session-bar .profile-name-img-display .profile-img-display img {
    width: 2.5em;
}

.session-bar .sub-session-bar {
    display: flex;
    align-items: center;
}

.session-bar .sub-session-bar a {
    text-decoration: none;
    color: blue;
    margin: 0.35em;
}

.session-bar .sub-session-bar a img{
    height: 1.25em;
}

.session-bar .sub-session-bar .message-icon-link {
    position: relative;
}

/******** management nav ********/

.main .sub-main .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main .sub-main .nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main .sub-main .nav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 5px;
    width: 15em;
    margin: 0.25em;
    padding: 0.25em;
}


/******** button ********/

.btn {
    background-color: lightgrey;
    border: 1px solid gray;
    color: black;
    box-shadow: 1px 1px 1px black;
}

.btn:hover {
    background-color: rgb(194, 194, 194);
}

.btn:active {
    box-shadow: -1px -1px 1px black;
}

/******** content management form ********/

/* .toggle-hide-show-form {
    display: none;
} */

/******** content management form title ********/

.toggle-hide-show-title:hover {
    cursor: pointer;
    background-color: lightgray;
}

/******** message notification ********/

.message-notification-1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    margin-left: 0.25em;
}

.message-notification-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: -0.45em;
    top: -0.45em;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    padding: 0.17em;
}

.notification-number-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    margin: 0 0.5em;
    padding: 0.5em;
}

.notification-number-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    font-size: 0.7em;
    width: 0.75em;
    height: 0.7em;
    margin: 0 0.5em;
    padding: 0.5em;
}















/******** main ********/

/* main {
} */

.main .sub-main {
    margin: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(1px);
    padding: 2px;
    /* background-color: white; */
}

.main .page-name {
    color: darkslategray;
    margin: 0;
    margin: 2em 11em;
    background-color: white;
}

.main .page-name h1 {
    margin: 0;
    padding: 0;
}

/******** form ********/

.form-div {
    margin-bottom: 5em;
}

.form-div .form-table-title {
    display: flex;
    justify-content: center;
    margin: 1em;
}

.form-div form label, input, select, textarea {
    width: 40%;
    box-sizing: border-box;
}

.form-div form input, select, textarea {
    margin-bottom: 0.95em;
    outline: none;
    border: 1px solid gray;
}

.form-div form input, textarea {
    background-color: rgb(240, 245, 245);
}

.form-div form input:focus {
    background-color: white;
}

.form-div form textarea:focus {
    background-color: white;
}

.form-div form div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-div form label {
    text-align: center;
}

.form-div form input, select, textarea {
    border-radius: 10px;
    height: 2.5em;
    padding: 0 0.75em;
}

.form-div form textarea {
    height: 15em;
}



/******** form - content management form ********/

/******** table ********/

table {
    margin: auto;
}

table thead tr th {
    padding: 0.5em;
    background-color: rgb(255, 247, 205);
}

table, th, td {
    border: 1px solid lightgray;
    border-collapse: collapse;
    color: gray;
}

table tbody tr:nth-child(even) {
    background-color: rgb(222, 235, 235);
}

table tbody tr .table-service-description {
    white-space: nowrap;       /* Prevents text from wrapping to the next line */
    overflow: hidden;          /* Ensures content is clipped within the container */
    text-overflow: ellipsis;   /* Adds ellipsis (...) when the text is truncated */
    max-width: 50em;
}

table tbody tr td {
    padding: 0.25em;
    height: 1.5em;
    text-align: left;
}

table tbody tr .action-column {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgb(255, 108, 108); */
    /* height: 4em; */
}

table tbody tr .action-column form button {
    background-color: none;
    height: 2em;
    margin: 0 0.15em;
}

table tbody tr .action-column form .table-btn {
    background-color: darkslategray;
    color: white;
    border: 1px solid gray;
    border-radius: 5px;
    width: 6.5em;
}

table tbody tr .action-column button img {
    height: 1.5em;
}

table tfoot tr td {
    font-weight: bold;
}

/******** create button ********/

.create-btn {
    background-color: darkslategray;
    color: whitesmoke;
    border-radius: 10px;
    padding: 0.5em;
    width: 40%;
    height: 2.5em;
    box-sizing: border-box;
    outline: none;
    border: none;
}

/******** add button ********/

.add-btn {
    background-color: rgb(46, 142, 88);
    color: whitesmoke;
    border-radius: 10px;
    padding: 0.5em;
    width: 40%;
    height: 2.5em;
    box-sizing: border-box;
    outline: none;
    border: none;
}

/******** update button ********/

.update-btn {
    background-color: darkgoldenrod;
    color: whitesmoke;
    border-radius: 10px;
    padding: 0.5em;
    width: 40%;
    height: 2.5em;
    box-sizing: border-box;
    outline: none;
    border: none;
}

/******** cancel button ********/

.cancel-btn {
    background-color: lightgrey;
    color: black;
    border-radius: 10px;
    padding: 0.5em;
    width: 40%;
    height: 2.5em;
    box-sizing: border-box;
    outline: none;
    border: 1px solid gray;
    font-size: 13px;
    text-decoration: none;
    margin-top: 0.5em;
}

/******** short cancel button ********/

.short-cancel-btn {
    background-color: lightgrey;
    color: black;
    border-radius: 10px;
    padding: 0.5em;
    width: 10em;
    height: 2.5em;
    box-sizing: border-box;
    outline: none;
    border: 1px solid gray;
    font-size: 13px;
    text-decoration: none;
    margin-top: 0.5em;
}

.short-cancel-btn:hover {
    background-color: rgb(228, 228, 228);
    cursor: pointer;
}

/******** print button ********/

.print-btn {
    background-color: blue;
    color: white;
    border-radius: 10px;
    padding: 0.5em;
    width: 10em;
    height: 2.5em;
    box-sizing: border-box;
    outline: none;
    border: 1px solid darkblue;
    font-size: 13px;
    text-decoration: none;
    margin-top: 0.5em;
}

.print-btn:hover {
    background-color: rgb(60, 60, 253);
    cursor: pointer;
}

/******** login error and success message ********/

.submit-message {
    display: flex;
    justify-content: center;
    margin: 2em;
}

.submit-error-message {
    color: red;
}

.submit-success-message {
    color: green;
}

hr {
    margin-top: 2em;
    border: 1px solid lightgray;
}

.switch-login-signup-link {
    display: flex;
    justify-content: center;
    color: blue;
    text-decoration: none;
    margin: 2em;
}









/******** footer ********/

footer {
    background-color: rgb(46, 142, 88);
    border-top: 1px solid darkslategray;
    padding: 0 10px;
    /* min-height: 100vh; */
    height: 30em;
}

footer .sub-footer {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid darkslategray;
}

footer .sub-footer div {
    border: 1px solid none;
}

footer .sub-footer .footer-div .footer-item p {
    margin-right: 10px;
}

footer .sub-footer .footer-div .footer-item p a {
    display: flex;
    align-items: center;
}

footer .sub-footer .footer-div .footer-item p a img {
    margin-right: 0.5em;
}

footer .sub-footer .footer-div .footer-title {
    color: white;
}

footer .sub-footer .footer-div .address-detail{
    display: flex;
    align-items: center;
}

footer .sub-footer .footer-div .address-detail p{
    color: gold;
    margin: 0;
}

footer .sub-footer .footer-div .address-detail img{
    width: 1.25em;
    height: 1.25em;
    margin-bottom: 5px;
    margin-right: 10px;
    background-color: darkslategray;
    padding: 7px;
    border-radius: 50%;
}

footer .sub-footer .footer-div p {
    margin: 0;
    margin-bottom: 5px;
}

footer .sub-footer .footer-div p a {
    text-decoration: none;
    color: gold;
}

footer .sub-footer .footer-div p a img {
    background-color: darkslategray;
    padding: 7px;
    border-radius: 50%;
    width: 1.25em;
}

footer .sub-footer .footer-div form label {
    color: gold;
}

footer .sub-footer .footer-div form input {
    padding: 5px;
    outline: none;
    margin-bottom: 5px;
}

footer .sub-footer .footer-div form button {
    font-weight: bold;
    color: white;
    background-color: darkslategray;
    padding: 5px;
    border: 1px solid rgb(48, 74, 74);
    border-radius: 5px;
}

footer .copyright-footer {
    display: flex;
    justify-content: space-around;
}

footer .copyright-footer p{
    color: white;
}

footer .copyright-footer .designed-by{
    color: gold;
    text-decoration: none;
}
