/***************** General Styles *********************************/
* {
  font-family: 'Open Sans', sans-serif;
  font-size: .98em;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: none;
}
a.button {
  line-height:28px;
}
.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  height: 28px;
  padding: 0 10px;
  color: #FFF;
  background-color: #007CBA;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 2px;
  border: 1px solid #007CBA;
  cursor: pointer;
  box-sizing: border-box; 
}

input[type="email"], input[type="number"], input[type="search"], input[type="text"],
input[type="tel"], input[type="url"], input[type="password"], textarea, select {
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; 
  margin: 2px;
}
/* Removes awkward default styles on some inputs for iOS */
input[type="email"], input[type="number"], input[type="search"], input[type="text"],
input[type="tel"], input[type="url"], input[type="password"], textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; 
}

textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; 
}

input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus,
input[type="text"]:focus, input[type="tel"]:focus, input[type="url"]:focus,
input[type="password"]:focus, textarea:focus, select:focus {
  border: 1px solid #007CBA;
  outline: 0; 
}

input[type="checkbox"], input[type="radio"] {
  display: inline; 
}

td {
  padding: 5px;
  border: 1px solid #d3d3d3;
}

.flexstd {
  display:flex;
  align-items: center;
}
.flexstd div {
  margin-right:10px;
}
.ui-datepicker-current-day {
  background: #83C948;
}
.ui-datepicker-today {
  background: #007CBA;;
}
.highlight {
  background-color: #F3F315 !important;
}
.fas {
  cursor: pointer;
}
/******************** Header ***********************/
/* .infohead moved to menu.css */
#mainbox{
  font-family: calibri;
  box-sizing: border-box;
  flex-wrap: wrap;
  display: -ms-flexbox;
  display: flex;  
  -ms-flex-wrap:wrap;
}
/* .loginbox moved to menu.css */

/****************** ToolTips ***********************/
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 1s;
}
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/************************ Employees Page Start ************************/
#emp_photos {
  margin: 0 auto;
}
#emp_photos td {
  padding: 5px;
  text-align: center;
}
#emp_photos img {
  max-width: 200px;
  max-height: 150px;
  width: auto;
  height: auto;
  text-align: center;
  border: 1px solid #E1E1E1;
  background:#fefefe;
  border-collapse: separate;
  border-radius: 5px;
  box-shadow: #475764 2px 2px 2px;

}
.phoneTBL {
  margin: 0 auto;
}
.phoneTBL td {
  padding-top: 0; 
}
/******************* Compulink Licenses ***************************************/
.clink-lic td {
  border-right: 1px solid #E1E1E1;
  border-left: 1px solid #E1E1E1;
}
/************** Vacation Calendar(s) Defaults  ********************************/
.vacHeader {
  display:flex;
  justify-content: center;
  margin-bottom: 10px;
}
.vacHeader div {
  margin-left: 30px;
}

.vacCal {
  margin: 0 auto;
}
.vacCal td {
  border: 1px solid #E1E1E1;
  vertical-align: top;
  width: 210px;
  height: 8em;
  padding: 0 0;
}
.vacCal li {
  cursor: default;
}
.vacCal th {
  border-bottom: none;
}
.vacDay {
  list-style-type: none;
}
.vacDay li {
  margin-bottom: 0;
}
.vacDayNum {
  font-weight: 500;
  background-color: #759ab0;
  font-size: 1.2em;
  padding-left: 5px;
}
.vacemplist {
  list-style: none;
}/*********** Shared Background color schedules ****/
.vacS, .vacV, .vacP {
  background-color:#ff4040;
}
.wasColor {
  background-color:#e89a6b;
}
.pekColor {
  background-color:#a64a47;
  color: #f5f5f5;
}

/*************** Settings Doctor Schedule ******************/
.doc-sch {
  font-size: .9em;
  color: #fff;
}
.doc-sch th {
  border: 1px solid #E1E1E1;
  color:#000000;
}
.doc-sch td {
  text-align: left;
  font-size: .95em;
  border: 1px solid #E1E1E1;
  vertical-align: top;
  padding: 5px 5px;
}
.doc-sch-daily {
  font-family: 'Trebuchet MS';
  width:100%;
  border-collapse: collapse;
}
.doc-sch-daily th {
  font-size:14px;
}

.doc-sch-daily td {
  padding: 5px;
  font-size:12px;
  color: #000;
  border: 1px solid #e1e1e1;
  vertical-align: center;	
}

/*************** Settings for the Clinical Time Off Calendar ******************/
.calDays td {
  height: 15px;
  border: none;
}
/*************** Settings for Clinical Schedule ******************/
.clincSch th {
  text-align:center;
}
.clincSch td {
  padding: 0 0 0 0;
  border-bottom: none;
  vertical-align: top;
  border: 1px #e1e1e1 solid;
}
.clinSlot {
  padding: 0 0 0 0 !important;
  margin-bottom: 0;
  width: 90px;
  height: auto !important;
}
.templateArea {
  padding: 0 0 0 0 !important;
  margin-bottom: 0;
  height: auto !important;
}
.dailysch {
  font-size: 1.3em;
}
.dailysch td {
  vertical-align: top;
}
.docDaily td {
  padding: 0 5px;
  border: 1px solid #e1e1e1;
  vertical-align:top;
}
.schSummary td {
  min-width: 45px;
  border:1px solid #e1e1e1;
  padding: 5px;
}

/******************* Settings for Doctor Time Off **********************/
.docTostatus {
  border: 1px solid #e1e1e1;
  font-weight: 500;
  background-color: #fff;
  font-size: 1.2em;
}
.docTostatusa {
  border: 1px solid #e1e1e1;
  font-weight: 500;
  background-color: #339933;
  font-size: 1.2em;
}
.docTostatusr {
  border: 1px solid #e1e1e1;
  font-weight: 500;
  background-color: #759ab0;
  font-size: 1.2em;
}

/*************** Settings for Patient Survey ******************/
.s_tbl {
  margin:20px;
}
.surv_ans {
  padding: 1px 1px 1px 1px !important;
  width: 20px;
  text-align: center;
}
.surv_ans_text {
  padding: 1px 1px 1px 1px !important;
  width: 200px;
  text-align: left;
}

#s-list tr {
  cursor: default;
}
#s-list tr:hover {
  background-color: #a8a8a8;
}
.surv_edit {
  margin-top:20px;
  border: 1px solid #d3d3d3;
  background:#fefefe;
  margin-left: 40px;
  border-collapse: separate;
  border-radius: 5px;
  box-shadow: #475764 2px 2px 2px;
}
.surv_edit th {
  cursor: pointer;
  padding: 1px;
}
.surv_edit td {
  padding:2px;
  border-top:1px solid #e0e0e0;
  border-right:1px solid #e0e0e0;
}
.pcomment {
  background-color: #C0D890;
}
.ncomment {
  background-color: indianred;
}
.chart {
  float:left;
}
.surv_filter {
  display:inline-table;
  float:left;
  max-width:15%;
  margin-right:10px;
}
.surv_filter td {
  padding-bottom: 3px;
}
.counts {
  overflow: hidden;
  border: 1px solid #d3d3d3;
  background:#fefefe;
  margin: 1% auto 0;
  border-collapse: separate;
  border-radius: 5px;
  box-shadow: #475764 2px 2px 2px;
}
.counts th {
  padding: 10px 5px 10px 5px; 
  text-shadow: 1px 1px 1px #fff; 
  background:#e8eaeb;
}
.counts td {
  text-align:center;
  padding:5px;
  border-top:1px solid #e0e0e0;
  border-right:1px solid #e0e0e0;
}
.tbl-comments {
  float:left;
  width: 50%;
  overflow:hidden;
  border:1px solid #d3d3d3;
  background:#fefefe;
  margin:1% auto 0;
  border-collapse: separate;
  border-radius: 5px;
  box-shadow: #475764 2px 2px 2px;
}
.tbl-comments th {
  padding: 10px 5px 10px 5px; 
  text-shadow: 1px 1px 1px #fff; 
  background:#e8eaeb;
}
.tbl-comments td {
  text-align:left;
  padding:5px;
  border-top:1px solid #e0e0e0;
  border-right:1px solid #e0e0e0;
}
/*************** Post Op Report ******************/
#postop {
  margin:0 auto;
  border-collapse: collapse;
}
#postop td {
  border: 1px #d3d3d3 solid;
  max-width: 200px;
  padding:1px;
}
#postop th {
  border: 1px #d3d3d3 solid;
  padding:1px;
}
#postop tr:nth-child(even) {
  background-color: #ececec;
}
/*************************** Front Desk ***************************/
.fdsch td {
  vertical-align: top;
  padding: 0 0;
  font-size: 1em;
  border: 1px solid #E1E1E1;
}
/********************** Reports ****************************/
.reportGrid {
  display:flex;
  margin-left: 20px;
}
.reportGrid div {
  min-width:150px;
  margin:5px;
  border: 1px #007CBA solid;
}
.reportGrid div h5 {
  background-color:#007CBA;
  color:#fff;
  padding: 5px;
  line-height:1;
  margin-bottom: 5px;
}
.reportGrid div a {
  padding:5px;
}


/********************* Please wait Style *************/
#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1000;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-text {
  font-size: 16px;
  color: #3498db;
}

/* ── jQuery UI dialog stacking fix ──────────────────────────────── */
.ui-widget-overlay {
  z-index: 1000 !important;
}
.ui-dialog {
  z-index: 1001 !important;
}