﻿/*.residentTile {
    padding: 10px;
    margin: 5px;
    border: none;
    border-color: black;
    border-radius: 10px;
    width: 150px;
    height: 210px;
    color: black !important;
    display: flex;
    align-items: start;
    justify-content: center;
    overflow: hidden;
    font-weight: bold;

}*/

.residentTileHidden {
    display: none !important;
}

  /*  .residentTile img {
        height: 130px;
        width: 130px;
        border-radius: 10px;
        margin: 0px 5px;
        order: 0;
    }

    .residentTile label {
        display: block;
        align-items: center;
        text-align: center;
        width: 130px;
        height: 50px;
        margin: 5px;
        word-wrap: break-word;
        order: 1;
    }*/



.medicationTile {
    padding: 10px;
    margin: 5px;
    border: 1px, solid;
    border-color: black;
    border-radius: 10px;
    width: 90px;
    height: 90px;
    color: black !important;
    display: flex;
    align-items: start;
    justify-content: center;
    overflow: hidden;
    font-weight: bold;
    background-color: grey;
    font-size: 12px;
}




.residentSearch input[type=text] {
    padding: 10px;
    font-size: 17px;
    border: 1px solid grey;
    float: left;
    width: 80%;
    background: #f1f1f1;
    height: 50px;
}

.residentSearch button {
    float: left;
    width: 20%;
    padding: 10px;
    background: #34aca4;
    color: white;
    font-size: 17px;
    border: 1px solid grey;
    border-left: none;
    cursor: pointer;
    height: 50px;
}

    .residentSearch button:hover {
        background: #3c9e49;
        transition: 0.5s;
    }

.residentSearch select {
    padding: 10px;
    font-size: 17px;
    border: 1px solid grey;
    float: left;
    width: 20%;
    background: #f1f1f1;
    height: 50px;
}



.residentSearch::after {
    content: "";
    clear: both;
    display: table;
}

.residentSearch datalist {
    width: 100%;
    height: 80%;
    overflow-y: scroll;
    margin: 5px 0px;
}





.hover:hover {
    filter: brightness(85%);
    transition: 0.25s;
}




@media (max-width: 1000px) {

    .residentSearch table {
        width: 100%;
        padding: 5px;
    }
}

.wrapper {
    display: block;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    /* top layer */
    z-index: 9999;
}

.overlay {
    display: none;
    position: fixed;
    /* full screen */
    width: 100vw;
    height: 100vh;
    /* transparent black */
    background: rgba(0, 0, 0, 0.7);
    /* middle layer, i.e. appears below the sidebar */
    z-index: 998;
    opacity: 0;
    /* animate the transition */
    transition: all 0.5s ease-in-out;
}
    /* display .overlay when it has the .active class */
    .overlay.active {
        display: block;
        opacity: 1;
    }

#dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    /* top right corner of the sidebar */
    top: 10px;
    right: 10px;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    background-color: #eee;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

    .sidenav a {
        padding: 8px 0px 8px 0px;
        text-decoration: none;
        font-weight: 600;
        color: black;
        display: block;
        transition: 0.3s;
    }

    .sidenav label {
        font-weight: 600;
    }

    .sidenav div {
        color: black;
        display: block;
        padding: 12px;
        text-decoration: none;
        text-align: right;
        transition: 0.3s;
    }

        /*    .sidenav a:hover {
        color: #f1f1f1;
    }

    .sidenav div:hover label {
        color: #f1f1f1;
        transition: 0.3s;
    }

    .sidenav div:hover {
        background-color: #ccc;
    }*/

        .sidenav div.active {
            background-color: #34aca4;
            color: white;
            font-weight: 600;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }
