﻿
.marMedicationListCell {
    height: 80px;
    width: 80px;
    border: 1px solid;
    border-color: black;
    border-radius: 7px;
    padding: 6px;
    margin: 2px;
    font-size: 11px;
    word-wrap: break-word;
    display: inline-block;
    vertical-align: central;
    overflow: hidden;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

    .marMedicationListCell:hover {
        -webkit-filter: brightness(70%);
    }

    .marMedicationListCell button {
        background-color: transparent;
        border: none;
        display: block;
        height: 100%;
        width: 100%;
    }

.marMedicationListCellMedicationName {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    max-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    display: block;
    line-height: 1em; /* a */
    /*max-height: 2em;*/ /* a x number of line to show (ex : 2 line)  */
}

.marMedicationListCellMedicationDosage {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
}

.MedicationItemGreen {
    background-color: #86B020 !important;
}

    .MedicationItemGreen:hover {
        background-color: #6E8A2C !important;
    }

.MedicationItemGrey {
    background-color: #CAC6C6 !important;
}

    .MedicationItemGrey:hover {
        background-color: #9E9A9A !important;
    }

.marPersonImage {
    height: 110px;
    width: 110px;
    border-radius: 5px;
    align-self: flex-start;
    margin: 5px;
}

/*.marMedicationListCell:hover {
    background-color: #A2BE60
}*/

.medicationDetailsBox {
    background-color: #f2f2f2;
    font-size: large;
    font-weight: bold;
}

.residentDetailsBox {
    background-color: #E0E0E0;
    border-radius: 8px;
    padding: 10px;
    /*height: 150px;*/
    text-wrap: none;
    min-width: 385px;
}

    .residentDetailsBox label {
        display: block;
    }

    .residentDetailsBox img {
        height: 130px;
        width: 130px;
        border-radius: 50% !important;
        margin: 0px 5px;
        order: 0;
        transition: 0.2s;
    }

        .residentDetailsBox img:hover {
            transition: 0.2s;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        }

    .residentDetailsBox label {
        margin-bottom: 0.3rem !important;
    }

.medicationItem {
    height: 75px;
    width: 75px;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid black;
    background-color: green;
}

.medicationDetailsBox {
    background-color: #f2f2f2;
    font-size: large;
    font-weight: bold;
}


.cuppedMedicationContainer {
    bottom: 0;
    position: relative;
}

.switch label {
    display: inline-block;
    margin-right: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #aaa;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #34aca4;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


warfarinDoseContainer{
    display:block;
}

warfarinDoseContainer input{
    display:block;
}
warfarinDoseContainer label{
    display:block;
}