/**
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

 body {
	font-family: "helvetica", sans-serif;
	text-align: center;
	margin: 0;
  }

.unauthorized {
	background-image: url('/static/images/ir.png'); 
	background-size: 100%;
	background-repeat: repeat-y;
} 

.index {
	background-image: url('/static/images/ir2.png'); 
	background-size: 100%;
	background-repeat: repeat-y;
} 

 table {
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0px;
	width: 90%;
	table-layout: fixed;
}

div {
	margin-left: auto;
	margin-right: auto;
}

td.graph {

	padding: 20px;
    
}

#eyescan_video_container {
	width: 90%;
}

table.equal_table {
	table-layout: fixed;
	width: 90%; 
	border-color: black;
	border-style: solid;
	border-width: 1px;
	
}

#tables_documentation {
	text-align: left;
	width: 90%;
}

table.list_table {
	table-layout: auto;
	width: 90%; 
	border-color: black;
	border-style: solid;
	border-width: 1px;
	
}
th,td {
	border: 1px solid;
	border-color: gainsboro;
  }

td.OK {
	/* background-color: darkseagreen; */
	color: darkseagreen;
}

a.OK {
	/* background-color: darkseagreen; */
	color: darkseagreen;
}

td.WARN {
	color: gold;
}

a.WARN {
	color: gold;
}

td.ERROR {
	color: indianred;
}

a.ERROR {
	color: indianred;
}

div.gallery {
	margin: 5px;
	border: 1px solid #ccc;
	float: left;
	width: 400px;
  }
  
  div.gallery:hover {
	border: 1px solid #777;
  }
  
  div.gallery img {
	width: 100%;
	height: auto;
  }

  div.desc {
	padding: 5px;
	text-align: center;
  }


.sidebar-container {
    height: 100%;
    position: fixed;
    padding: 0px;
    /* margin-top: 60px; */
    /* padding-top: 50px; */
    border-right: 1px solid #ddd;
}

.sidebar-header {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.sidebar {
    height:60%;
    position: relative;
    overflow-y: scroll;
}


.patient_list {

	height: 85%; /* Full-height: remove this if you want "auto" height */
	width: 160px; /* Set the width of the sidebar */
	position: relative; /* Fixed Sidebar (stay in place on scroll) */
	z-index: 1; /* Stay on top */
	top: 0; /* Stay at the top */
	left: 0;
}

.patient_list td {
	/* padding: 6px 8px 6px 16px; */
	text-decoration: none;
	text-align: left;
	font-size: 14px;
	color: #696969;
	display: block;
	padding: 5px;
}


.quality_green {
	background-color: #b8f1a679;
}

.quality_yellow {
	background-color: #f0f1a678;
}

.quality_red {
	background-color: #f1a6a67f;
}

.patient_list td:hover {
	background-color: #e2e2e2;
}

.patient_list_selected {
	background-color: gainsboro;
}

/* Style page content */
.main {
    margin-top: 60px;
	margin-left: 80px; /* Same as the width of the sidebar */
	padding: 30px 10px;
	/* width: 100%; */
	/* margin-right: -50px; */
	/* height: 90%; */
  }

  .dropbtn {
	background:none;
	color: white;
	padding: 16px;
	font-size: 16px;
	border: none;
  }
  
  .dropdown {
	position: relative;
	display: inline-block;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  .dropdown-content a {
	color: black;
	padding: 12px 6px;
	text-decoration: none;
	text-align: left;
	display: block;
  }
  
  .dropdown-content a:hover {background-color: #ddd;}
  
  .dropdown:hover .dropdown-content {display: block;}
  
  .dropdown:hover .dropbtn {background-color: #543eff;}

  .doctor_portal_banner {
	background-color:  #3824D9; /* #3824D9; #1a0418; */
	top: 0;
	overflow: visible;
	height: 60px;
	width: 100%;
	position: fixed;
  }

.doctor_portal_text_bubble {
	width: fit-content;
	font-size: 14px;
	background-color: #a6c9f1;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2px;
	display: inline-flex;
	color: #3c6593;
}

.doctor_portal_green_text_bubble {
	width: fit-content;
	font-size: 14px;
	background-color: #b8f1a6;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2px;
	display: inline-flex;
	color: #49933c;
}

.doctor_portal_yellow_text_bubble {
	width: fit-content;
	font-size: 14px;
	background-color: #f0f1a6;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2px;
	display: inline-flex;
	color: #93913c;
}

.doctor_portal_red_text_bubble {
	width: fit-content;
	font-size: 14px;
	background-color: #f1a6a6;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2px;
	display: inline-flex;
	color: #933c3c;
}

.doctor_portal_purple_text_bubble {
	width: fit-content;
	font-size: 14px;
	background-color: #c9a6f1;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2px;
	display: inline-flex;
	color: #593c93;
}

.doctor_portal_error_text_bubble {
	width: fit-content;
	font-size: 14px;
	background-color: #f1a6a6;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2px;
	display: inline-flex;
	color: #933c3c;
}

table.portal_table {
	border: none;
	table-layout: auto;
	text-align: left;
	/* width: auto; */
}

table.portal_table th {
	margin-left: 2px;
	text-align: left;
	font-size: 12px;
	font-weight: normal;
	color: #b8b7b7;
	border: none;
}

table.portal_table td {
	border: none;
}

table.portal_table tr {
	border: none;
}

.doctor_portal_patient_list_name {
	font-size: 16px;
	display: inline-flex;
}

.doctor_portal_patient_list_status_Paid {
	font-size: 14px;
	display: inline-flex;
	color: darkseagreen;
}

.doctor_portal_patient_list_status_Refer {
	font-size: 14px;
	display: inline-flex;
	color: orangered;
}

.doctor_portal_patient_list_status_ReferredNeedsRefund {
	font-size: 14px;
	display: inline-flex;
	color: orangered;
}

.doctor_portal_patient_list_status_SupportRequired {
	font-size: 14px;
	display: inline-flex;
	color: orangered;
}

.doctor_portal_patient_list_status_FreeReport {
	font-size: 14px;
	display: inline-flex;
	color: gold;
}

.doctor_portal_patient_list_status_VisionReportSent {
	font-size: 14px;
	display: inline-flex;
	color: gold;
}

.doctor_portal_patient_list_status_RxSent {
	font-size: 14px;
	display: inline-flex;
	color: darkseagreen;
}

.doctor_portal_patient_list_status_Refunded {
	font-size: 14px;
	display: inline-flex;
	color:deepskyblue ;
}

.doctor_portal_patient_list_date {
	font-size: 12px;
	display: inline-flex;
}


.subsection_header th {
	background-color: #dadada;
	font-weight: normal;
	font-size: 16px;
	border: none;
	padding: 5px 0;
}

.doctor_portal_right_panel {
	/* border-spacing: 10px; */
	width: 100%;
	/* padding: 5px; */
	/* margin-bottom: 50px; */
	/* border: none; */
}

table.kiosk_info_form {
	border: none; 
	width: 25%; 
	text-align: left;
}

/* table.kiosk_info_form tr {
	border: none; 
} */
table.kiosk_info_form td {
	border: none; 
}



.ping_alert_urgent {
	color: orangered;
}

.ping_alert_warning {
	color: gold;
}

.ping_alert_ok {
	color: darkseagreen;
}

label.above {
	float: left;
	text-align: center;
}

#buttons_container.disabled input {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none; /* Prevents any interaction */
}

#buttons_container input {
	flex: 1;
}

.session-card {
	height: 85%;
    background: #fff;
    table-layout: fixed;
}

.session-card td {
    padding: 5px;
	text-decoration: none;
    text-align: left;
	font-size: 14px;
	color: #818181;
    overflow: hidden;
    text-overflow: ellipsis;
	border: 1px;
} */

#table_prev_sessions {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px;
	table-layout: fixed;
}

#table_prev_sessions td {
    vertical-align: top;
}

.required {
    color: red;
}

/* Portal users table */
#usersTable {
    border-collapse: collapse;
    width: 90%;
    margin: 16px auto;
    table-layout: fixed;
}

#usersTable th,
#usersTable td {
    text-align: left;
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: middle;
    word-break: break-word;
}

#usersTable thead th {
    background-color: #f4f4f6;
    border-bottom: 2px solid #c8c8cc;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

#usersTable tbody tr.zebra td {
    background-color: #fafafa;
}

#usersTable tbody tr:hover td {
    background-color: #eef3f8;
}

#usersTable tr[data-parent-id] td {
    background-color: #f6f9fc;
    padding: 14px 32px;
    border-bottom: 1px solid #e6e6e6;
}

#usersTable tr[data-parent-id] td div {
    margin-bottom: 4px;
}

#usersTable .prescriber-toggle {
    display: inline-block;
    width: 1em;
    text-align: center;
    color: #888;
    margin-right: 8px;
    font-size: 0.85em;
    cursor: pointer;
    user-select: none;
}

#usersTable .toggle-placeholder {
    display: inline-block;
    width: 1em;
    margin-right: 8px;
}

#usersTable button {
    padding: 4px 12px;
    cursor: pointer;
}
