﻿.chart-container {
    position: relative;
    margin: auto;
    height: 50vh;
    width: 85vw;
}

.validation-message {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}


.w3-spaceside {
    margin-left: 250px;
    margin-right: 0 !important;
}



label {
    font-weight: bolder !important;
}

input, textarea, select {
    background-color: #c3cfcf;
    border-radius: 7px;
}

    /*	input:disabled,
	select:disabled,
	textarea:disabled {
		background-color: #fff;
		border-radius: 0px;
		border: none !important;
		padding-left: 0px;
	}*/

	input[type=checkbox]:focus, input[type=radio]:focus, button:focus {
		outline: none;
		box-shadow: none;
		/*color: #c3cfcf*/
	}


    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
        box-shadow: 0 0 1pt 1pt #c3cfcf;
    }








.blazored-typeahead {
    border-radius: 7px !important;
    background-color: #c3cfcf;
}

    .blazored-typeahead:focus-within {
        outline: none;
        box-shadow: 0 0 1pt 1pt #c3cfcf !important;
    }

.blazored-typeahead__input-icon {
    padding: 5px;
    background-color: #c3cfcf;
}

    .blazored-typeahead__input-icon:focus {
        outline: none;
        box-shadow: 0 0 2pt 1pt #c3cfcf !important;
    }

    .blazored-typeahead__input-icon:hover {
        background-color: #c3cfcf;
    }

        .blazored-typeahead__input-icon:hover .blazored-typeahead__down-arrow path {
            fill: #000;
        }

.blazored-typeahead__results {
    z-index: 1 !important;
    display: block !important;
}

.blazored-typeahead__active-item,
.blazored-typeahead__result:hover,
.blazored-typeahead__result:focus {
    background-color: #c3cfcf;
    border-top: 1px solid #c3cfcf;
    border-bottom: 1px solid #c3cfcf;
    color: #333333;
    cursor: pointer;
    z-index: 4 !important;
}

.lazored-typeahead__controls {
    background-color: #c3cfcf;
}

.blazored-typeahead__input {
    padding: 5px;
    background-color: #c3cfcf;
}

.blazored-typeahead__input-mask {
    padding: 5px;
}

.blazored-typeahead__clear {
    color: #000;
}

.blazored-typeahead__down-arrow {
    color: #000;
}
/* The container */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    line-height: 22px;
}

    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #c3cfcf;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #c3cfcf;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #333333;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


div.scrollmenu {
    overflow: auto;
    white-space: nowrap;
}

    div.scrollmenu a {
        display: inline-block;
        text-align: center;
        padding: 9px;
        text-decoration: none;
        cursor: pointer;
    }

        div.scrollmenu a:hover {
            font-weight: bolder;
        }






.containerradio {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    padding-top: 3px;
    margin-bottom: 12px;
    cursor: pointer;
    /*font-size: 15px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media(max-width:601px) {
    .containerradio {
        display: block;
        position: relative;
        padding-left: 35px;
        margin-top: 5px;
        padding-top: 2px;
        /*margin-bottom: 12px;*/
        cursor: pointer;
        /*font-size: 15px;*/
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}
/* Hide the browser's default radio button */
.containerradio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #c3cfcf;
    border-radius: 50%;
    border: 1px solid #999;
    /*box-shadow: 0 0 2pt 0pt #999;*/
}

/* On mouse-over, add a grey background color */
.containerradio:hover input ~ .radiomark {
    background-color: #c3cfcf;
}

.containerradio input:disabled ~ .radiomark {
    background-color: #c3cfcf;
    cursor: default;
}

.containerradio:disabled input:disabled ~ .radiomark {
    background-color: #c3cfcf;
    cursor: default;
}
/* When the radio button is checked, add a blue background */
.containerradio input:checked ~ .radiomark {
    background-color: #c3cfcf;
    /*border: 1px solid #004d8c;*/
    box-shadow: 0 0 2pt 1pt #333333;
}



/* Create the indicator (the dot/circle - hidden when not checked) */
.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.containerradio input:checked ~ .radiomark:after {
    display: block;
    background-color: #333333;
}

/* Style the indicator (dot/circle) */
.containerradio .radiomark:after {
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
}


.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 80%;
    max-height: 200px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.circular-chart.circular-orange .circle {
    stroke: #ff9f00;
}

.circular-chart.circular-red .circle {
    stroke: #f44336;
}

.circular-chart.circular-green .circle {
    stroke: #4CC790;
}


.circular-chart.circular-theme .circle {
    stroke: #93be05;
}


.circular-chart.circular-blue .circle {
    stroke: #3c9ee5;
}

.percentage {
    /*fill: #000;*/
    font-size: 0.5em;
    text-anchor: middle;
}

.sticky {
    overflow-y: scroll;
    max-height: 80vh;
    padding-top: 0px !important;
    padding-left: 0px !important;
}

    .sticky tr:last-child th {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background-color: #fff;
        /*z-index: 1;*/
    }

        .sticky tr:last-child th:after {
            content: '';
            position: absolute;
            left: 0;
        }

        .sticky tr:last-child th:after {
            top: -1px;
            bottom: -1px;
            border-top: 1px solid black;
            border-bottom: 1px solid black;
            width: 100%;
        }


.sticky2 {
    overflow-y: scroll;
    max-height: 60vh;
    padding-top: 0px !important;
    padding-left: 0px !important;
}


    /*
	.sticky2 th {
		position: sticky;
		top: 0;
		z-index: 2;
		background: #fff; 
	}

	.sticky2 thead > tr:nth-child(2) th {
		top: 20px; 
	}

	.sticky2 tr td:nth-child(1),
	.sticky2 tr td:nth-child(2),
	.sticky2 tr th:nth-child(1),
	.sticky2 tr th:nth-child(2) {
		position: sticky;
		left: 0;
		background: #fff;
	}


	

		*/

    .sticky2 thead {
        top: -1px;
        position: sticky;
        z-index: 1;
        background: #fff;
    }




    .sticky2 tr td:nth-child(1),
    .sticky2 tr td:nth-child(2),
    .sticky2 tr th:nth-child(1),
    .sticky2 tr th:nth-child(2) {
        position: sticky;
        left: 0;
        background: #fff;
    }

    .sticky2 thead > tr:nth-child(2) th {
        top: 20px;
    }


    .sticky2 tr th:nth-child(2),
    .sticky2 tr td:nth-child(2) {
        left: 480px;
    }




.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #333333 !important;
}


/*
		.sticky tr:last-child th:first-child {
			position: -webkit-sticky;
			position: sticky;
			left: 0;
			background-color: #fff;
			z-index: 2;
		}

		.sticky tr:last-child th:first-child:after {
			left: -1px;
			right: -1px;
			border-right: 1px solid #ccc;
			border-left: 1px solid #ccc;
			width: auto;
		}

	.sticky td:first-child {
		position: -webkit-sticky;
		position: sticky;
		left: 0;
		background-color: #fff;
	}

		.sticky td:first-child:after {
			content: '';
			position: absolute;
			top: 0;
		}

		.sticky td:first-child:after {
			left: -1px;
			right: -1px;
			border-right: 1px solid #ccc;
			border-left: 1px solid #ccc;
			height: 100%;
		}
*/

.notification {
    position: relative;
}

    .notification .badge {
        position: absolute;
        top: 0px;
        right: 0px;
        padding: 0px 6px;
        border-radius: 50%;
        background: red;
        color: white;
        font-size: small;
        font-weight: bold;
    }

.manageIcon {
    padding: 6px;
}

.manageIcon:hover {
    color: #fff !important;
    background-color: #93be05;
    border-radius: 50%;
}

.PharmacyViewCampaignImage {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}

.OrderSystemLink {
    display: flex;
    align-items: center;
    padding: 8px;
    width: 100%;
    justify-content: center;
}

.OrderingSystemImage {
    width: 66px;
    height: 56px;
    padding-right: 10px;
}

.BuyingListLink {
    width: 40px;
    display: flex;
    align-content: center;
    align-items: center;
    padding: 8px;
}

.AccordionHeadingSpan {
    color: initial;
    padding-left: 5px;
}

.OrderingSystemTopButton {
    border: 1px solid #dedede;
    border-radius: 10px;
    width: 100%;
}

.containerCustomHeight {
    height: -webkit-fill-available;
    padding: 10px 0 !important;
}

.calendar {
    width: 100%;
    max-width: 1500px;
    margin: 10px auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #ddd;
    padding: 1px;
}

.day {
    background-color: #fff;
    min-height: 90px;
    max-height: 90px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0px;
}

.day-name {
    background-color: #f0f0f0;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.day-date {
    background-color: #fff;
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.viewScheduleHeadWidth{
    min-width:300px;
}

.month-button {
    background-color: #93be05;
    color: white;
    width: 36px;
    height: 36px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
    font-size: 1.5em;
}

    .month-button:hover {
        background-color: darkgreen;
    }

/* Media query for mobile devices */
@media (max-width: 1080px) {
    .calendar {
       max-width : 550px;
       width: 100%
    }

    .day {
        min-height: 10px;
        max-height: 90px;
        min-width: 60px;
        max-width: 100px;
    }

    .day-date {
        font-size: 1em;
    }

    .nurseInfo {
        font-size: 0.5em;
    }
    .viewScheduleHeadWidth {
        min-width: 120px;
        max-width: 200px;
        max-height: 30px;
        font-size: 0.75em !important;
    }

    .month-button {
        width: 20px;
        height: 20px;
        font-size: 0.75em
    }
}
}

.TableHeadingRow {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.CapacityListContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.TableHeader {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: white;
}

.scheduler-media .rz-button {
    background-color: #389D81 !important;
    color: white !important;
    border-color: #389D81 !important;
}

.scheduler-event .rz-button {
    background-color: #FF8D76 !important;
    color: white !important;
    border-color: #FF8D76 !important;
}

.scheduler-on-demand .rz-button {
    background-color: #FCDC42 !important;
    color: black !important;
    border-color: #FCDC42 !important;
}

.scheduler-social-media .rz-button {
    background-color: #43B6EF !important;
    color: black !important;
    border-color: #43B6EF !important;
}

.scheduler-teams .rz-button {
    background-color: #ED8100 !important;
    color: black !important;
    border-color: #ED8100 !important;
}

.scheduler-in-store .rz-button {
    background-color: #67E5BB !important;
    color: black !important;
    border-color: #67E5BB !important;
}

.scheduler-default .rz-button {
    background-color: #333333 !important;
    color: white !important;
    border-color: #333333 !important;
}

.rz-button.rz-primary.rz-state-active:hover,
.rz-button.rz-today:hover,
.rz-button.rz-prev:hover,
.rz-button.rz-next:hover {
    background-color: #333333 !important;
    color: white !important;
    border-color: #333333 !important;
    transition: none !important;
    box-shadow: none !important;
}



.rz-steps ul[role="tablist"] {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
/* Apply only to this div */
.my-scrollable-div {
    overflow: auto; /* or overflow-y: auto; */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #93be05 #ffffff; /* Firefox: thumb track */
}

    /* Chrome / Edge / Safari (WebKit/Blink) */
    .my-scrollable-div::-webkit-scrollbar {
        width: 5px;
        height: 5px; /* if horizontal scrollbars can appear */
    }

    .my-scrollable-div::-webkit-scrollbar-track {
        background: #ffffff;
    }

    .my-scrollable-div::-webkit-scrollbar-thumb {
        background: #93be05;
        border-radius: var(--rz-border-radius);
    }

        .my-scrollable-div::-webkit-scrollbar-thumb:hover {
            background: #93be05;
        }

/* Phase 16: the holding screen at route "/" - Client/MainLayout.razor.
   Same #00953B as the WASM boot screen in index.html and the dashboard app bar, so
   login and logout are one continuous colour instead of a flash of dark chrome.
   Plain wwwroot CSS rather than a MainLayout.razor.css because this project has no
   scoped-CSS anywhere and adding the pattern for one screen is not worth it. The
   class names are unique to this layout. */
.dischem-holding {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background-color: #00953B;
    text-align: center;
}

.dischem-holding-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 28px;
}

.dischem-holding-body {
    width: 100%;
    max-width: 480px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.dischem-holding-body a {
    color: #ffffff;
    text-decoration: underline;
}
