/* ========================================================================
[Table of contents]

1. General
  1.1 background
  1.2 div
  1.3 header
  1.4 icon 
  1.5 logo

2. Panel

3. Table

4. Button

5. Data

6. Icon

7. Dropdown

8. Google Material Icons

9. Bootstrap Customization

100. Miscellaneous



 ========================================================================== */
 

/* ========================================================================
   1. General
 ========================================================================== */

  .bg-todayall {
  background-color: #5D9CEC !important;
  color: #fff !important;
}
.bg-todayall-dark {
  background-color: #5191E4 !important;
  color: #fff !important;
}
  
  
 .bg-reception {
  background-color: #F6BB43 !important;
  color: #fff !important;
}
.bg-reception-dark {
  background-color: #E9AF39 !important;
  color: #fff !important;
}
 
 
 .bg-exam {
  background-color: #967BDC !important;
  color: #fff !important;
}
.bg-exam-dark {
  background-color: #8B6FD2 !important;
  color: #fff !important;
} 
 
 
 .bg-treatment {
  background-color: #DB4453 !important;
  color: #fff !important;
}
.bg-treatment-dark {
  background-color: #D23B4A !important;
  color: #fff !important;
} 
 
 
.bg-billing {
  background-color: #8CC051 !important;
  color: #fff !important;
}
.bg-billing-dark {
  background-color: #7FB245 !important;
  color: #fff !important;
}
 
 
.bg-gohome {
  background-color: #B4B4B4 !important;
  color: #fff !important;
}
.bg-gohome-dark {
  background-color: #A6A6A6 !important;
  color: #fff !important;
}

.bg-notpresent {
  background-color: #B4B4B4 !important;
  color: #fff !important;
}
.bg-notpresent-dark {
  background-color: #A6A6A6 !important;
  color: #fff !important;
}

.bg-search {
  background-color: #3B3B3B !important;
  color: #fff !important;
}


.bg-unimportant {
  background-color: #AAB7B8;
  color: #E5E7E9 !important;
}
.bg-unimportant-dark {
  background-color: #A3B1B2;
  color: #E5E7E9 !important;
}

.bg-gadget-medicine-bar{
	background-color: #AAB7B8 !important;
}

/* ---------- 1.2 div ---------- */

div.inline { 
	float:left; 
}

.clearBoth { 
	clear:both; 
}

div.patient-icon {
	float: left; 
	width: 60px;
	font-size: 60px;
	margin-top: -10px;
	
}

div.patient-body{
	margin-top: 10px;
	margin-left: 10px;
}


.myheader {
  font-size: 15px  !important;
}

.fa-std {
  font-size: 15px  !important;
}

.logo-padding{ 
	margin-top: 5px !important;
}

.patientinfo-row{
	margin: 5px 0 10px 0;
}

/* Remove button padding in FF */
input[type="button"]::-moz-focus-inner {
    border:0;
    padding:0;
}

.fl {
   float:left;
}
.fr {
   float:right;
}
.center {
   text-align: center;
}

.padding_small {
    padding: 5px 15px 2px 5px;
}

.padding_medium {
    padding: 10px 5px 5px 0px;
}

.padding_big {
    padding: 5px 10px 10px 5px;
}

.clearFix {
   clear:both;
}
.cursor {
   cursor: pointer;
}

.font10{
    font-size: 9px;   
}

.font12{
    font-size: 12px;   
}

.font_medium{
    font-size: 14px;   
}

.font_big{
    font-size: 18px;  
    font-weight: bold;    
}

.table-radius {border-collapse:separate;overflow:hidden;border-radius: 5px;font-size: 12px;}


.invalidType{
    color: red;
    float: right;
    margin-right: 5px;
}

.displayBlock{
    display: block;
}
.w35 {
    width: 35%;
}

.w65 {
    width: 65%;
}
.w600 {
    width: 600px;
}
.table em.asc {background:url(/images/arrow_iocn.png) no-repeat 3px 2px;width:13px;height:14px;display:inline-block;}
.table em.desc {background:url(/images/arrow_iocn.png) no-repeat -10px 3px;width:13px;height:14px;display:inline-block;}
.pt7 {
    padding-top: 7px;   
}

.modal-bigimg{
    width: 100px;
    cursor: pointer;
}
input.error,select.error,textarea.error,div.required-error { border: 3px solid red; border-radius: 4px; background-color: #F6CEE3;}

label.error, div.error {color: red;}

.view-element {padding:7px;word-break: break-all;}

.mr5 {
  margin-right: 5px;
}

.mt5 {
  margin-top: 5px;
}

.img-box {
  position: relative;
}
.img-box img {
  border-radius: 5px;
}
.img-box em {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 2px;
  background-color: #000000;
}

/* ========================================================================
   2. Panel
 ========================================================================== */

 .panel-navy {
  border-color: #cfdbe2;
}
.panel-navy > .panel-heading {
  color: #fff;
  background-color: #4A81C2;
  border-color: #cfdbe2;
}
.panel-navy > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #cfdbe2;
}
.panel-navy > .panel-heading .badge {
  color: #4A81C2;
  background-color: #fff;
}
.panel-navy > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #cfdbe2;
}

 
 
.panel-grey {
  border-color: #cfdbe2;
}
.panel-grey > .panel-heading {
  color: #fff;
  background-color: #6E6E6E;
  border-color: #cfdbe2;
}
.panel-grey > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #cfdbe2;
}
.panel-grey > .panel-heading .badge {
  color: #6E6E6E;
  background-color: #fff;
}
.panel-grey > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #cfdbe2;
}


.panel-orange {
  border-color: #cfdbe2;
}
.panel-orange > .panel-heading {
  color: #fff;
  background-color: #EBB644;
  border-color: #cfdbe2;
}
.panel-orange > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #cfdbe2;
}
.panel-orange > .panel-heading .badge {
  color: #EBB644;
  background-color: #fff;
}
.panel-orange > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #cfdbe2;
}


.panel-pink {
  border-color: #cfdbe2;
}
.panel-pink > .panel-heading {
  color: #fff;
  background-color: #CC6EA3;
  border-color: #cfdbe2;
}
.panel-pink > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #cfdbe2;
}
.panel-pink > .panel-heading .badge {
  color: #CC6EA3;
  background-color: #fff;
}
.panel-pink > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #cfdbe2;
}




/* ========================================================================
   3. Table
 ========================================================================== */
 
 .table-patient, .mytable {
	width: 100%;
	
}

.table-patient tr th, .table-patient tr td,
.mytable tr th, .mytable tr td 
{
	padding: 6px 6px 6px 8px;
}
 
.table-patient tr th {
	min-width:70px
}

.page-active {
	background-color: #E6E6E6 !important;
}

.zero-padding{
	padding: 0px !important;
}

.mytablelist th{
	padding: 12px 1px 8px 1px !important;
}

.mytablelist td{
	padding: 0px !important;
}

.mytablelist tbody tr:hover{
    background-color: #F2F2F2;
}
.mytablelist tbody tr.list-content {
    height: 45px;
}

.table-reserve > thead:first-child > tr:first-child > th {
  border:1px solid #eee;
}

.table-reserve > tbody > tr > td,.table-reserve > thead > tr > th {
  vertical-align:middle;
  text-align:center;
}

/* ========================================================================
   4. Button
 ========================================================================== */ 
 
 .button-green {
  color: #fff;
  background-color: #318631;
}
 
 
.btnUpload {
 	color: #fff;
	background-color: #318631;
	padding: 15px;
	margin: 0px;
}

 
 div.center-page {
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
}
 
 
 /* ========================================================================
   5. Data
 ========================================================================== */ 
  div.patient-male {
  color: #A9E2F3;
}

  div.patient-female {
  color: #F5A9E1;
}


.mst-day{
  padding: 6px;
}

.status {
    height: 24px; 
    text-align: center; 
    padding: 4px 6px 4px;
    border-radius: 10px;
    font-weight: bold;    
}

.status_reception {
    background-color: #F6BB43;
    color: #FFFFFF;
}
.status_exam_waiting {
    background-color: #F6BB43;
    color: #FFFFFF;
}
.status_exam {
    background-color: #967BDC;
    color: #FFFFFF;
}
.status_treatment_waiting {
    background-color: #DB4453;
    color: #FFFFFF;
}
.status_treatment {
    background-color: #DB4453;
    color: #FFFFFF;
}

.status_billing {
    background-color: #8CC051;
    color: #FFFFFF;
}

.status_home {
    background-color: #B4B4B4;
    color: #FFFFFF;
}
.status_cancel {
    background-color: #FFFFFF;
    border: 1px solid #A4A4A4;
    color: #A4A4A4;
}

 
 /* ========================================================================
   6. Icon
 ========================================================================== */
 
 em.icon-padding{
	padding: 0 6px 0 0;
}
 
 .icon-doctor{
	 font-size: 20px;
	 padding: 0 10px;
 }
 
 .doctor-theme1{
	 color: #08088A;
 }
 .doctor-theme2{
	 color: #FA5882;
 }
 
  
 /* ========================================================================
   7. Dropdown
 ========================================================================== */ 
 
.mydropdown {
  min-width: 10px !important;
  width: 150px !important;
  border: 0px !important;  
}

.dropdown-menu > li > a {
	padding: 12px 12px 12px 15px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: white;
  background-color: #3AB6DB;
}

.mydropdown-item {
  padding: 10px;
  background-color: #44C2EA;
  color: white !important;
}


ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}


.dropdown > a:hover, {
  text-decoration: none;
  color: white;
}

.mydropdown-header {
  color: white;
  min-width: 160px !important;
}

a.mydropdown-header:hover {
  color: white !important;
}

.caldept-filtered-font{
	color: #D8D8D8;
}

.caldept-filtered-bg{
	background-color: #D8D8D8 !important;
}



 /* ========================================================================
   9. Bootstrap Customization
 ========================================================================== */ 
@media (min-width: 1280px) {
  .modal-xl {
    width: 90%;
   max-width:1280px;
  }
}

 /* ========================================================================
   10. Target CSS
 ========================================================================== */ 
.dweek {
	background-color: green; 
	color: white !important;	
}

.cmonth {
	background-color: #61380B !important; 
	color: white !important;	
}
.cweek {
	background-color: #CD5C5C; 
	color: white !important;	
}
.cday {
	background-color: #F1C40F; 
	color: black;	
}

.closed {
	background-color: red !important;
	color: #BDBDBD !important;
}

.time-xs{
	display:inline-block;
	width:32px;
	padding:5px;
}

.time-small{
	display:inline-block;
	width:40px;
	padding:5px;
}

.mypanel-green {
  color: #fff;
  background-color: #37bc9b;
  border-color: #37bc9b;
}

.mypanel-white {
  color: #37bc9b;
  background-color: white;
  border-color: #37bc9b;
}


.parent-used {
	color: #04B404;	
}

/*------------------------- Calendar ---------------------------*/

.calendar-header{
	 background-color: #848484; 
	 color: #fff;
	 text-align: center;
}

.reserve-calendar{
	font-size: 22px;
	font-family: arial;
}

.select-calendar{
	font-size: 18px;
	font-family: arial;
}

.not-in-this-month {
	color: rgba(66,66,66,0.5);
}

.time-na {
  background-color: #E0E0E0;
}

.in-this-month{
	color: #424242;
}

.past-day{
	color: rgba(66,66,66,0.5);
}


.day-closed{	
	color: #AAB7B8;
	background-color: #E0E0E0;
}

.day-full{	
	color: #ff0000;
	background-color: #E0E0E0;
}

.reserve-cell-available{
	color: rgb(66,66,66);
}

.today-cell {
	background-color: #F5F6CE;
}

.today-cell-week {
	background-color: #F5F6CE;
}

.select-cell-available{
	background-color: #F2F2F2;
	color: #424242;
}

.select-cell-available:hover, .select-cell-available:hover *{
	background-color: #27c24c;
	color: #fff;
}

.cell-selected, .cell-selected * {
	background-color: #27c24c !important;
	color: #fff !important;
}

.cell-na {
	color: #ff0000;
}

.icon-available{
	color: #27c24c;
}
.icon-available:hover{
	color: #fff;
}

.num-available{
	color: #27c24c;
  font-weight: bold;
  font-size: 14px;
}
.num-available:hover{
	color: #fff;
  font-weight: bold;
  font-size: 14px;  
}



.day-summary {
   position: absolute;
   bottom:0;
   font-size: 14px;
}

.time-block{
	margin-bottom: 21px;
	border-radius: 4px;
	border: 1px #E0E0E0;
	border-style: solid;
	padding: 10px 15px;
	text-align: center;
}

.reserve-view{
	display: inline-block;
	margin-top: 7px;
}

.reserve-cell{
	overflow: hidden;
	border-radius: 3px;
	line-height: 16px;
	font-size: 12px;
	margin-bottom: 1px;
	color: white;
}

.facility-form-item {
    margin-bottom: 0px!important;
    padding: 10px;
}
.customized-field {
    background-color: #9acfea!important;
}

.noHover{
    pointer-events: none !important;
}

.language {
  font-size: 14px;
  color: #CCC;
  font-weight: bold;
  position: absolute;
  top: 5px;
  right: 5px;
}
.language a {
  color: #FFFFFF !important;
}

.facility-block {
  padding-top: 1px;
  padding-left: 30px;
}

.facility-name {
  color: #DE8B0B;
  font-size:28px;
}

.button-gap {
  padding:0px 20px;
}

.link-button-row {
  margin-top: 30px;
}

.reserve-time-block{
	width:90px;
	text-align: left;
	font-size: 11px;
	padding : 4px 3px 2px 3px;	
	float:Left;
	border-radius: 3px;
	color: white;
	margin: 1px;
	text-overflow: clip;
	overflow: hidden; 		/*without this overflow is still visible*/
  white-space: nowrap; 	/*without this overflow won't work if white space is found*/
}

.reserve-cancel-block{
	width:90px;
	text-align: left;
	font-size: 11px;
	text-overflow: clip; 
	padding : 4px 3px 2px 3px;	
	float:Left;
	border-radius: 3px;
	border: 1px dashed #BDBDBD;
	margin: 1px;
	text-overflow: clip;
	overflow: hidden; 		/*without this overflow is still visible*/
  white-space: nowrap; 	/*without this overflow won't work if white space is found*/
}

.public-holiday{
	color: #F4FA58 !important;
}

.btn-options{
  font-size: 18px !important;
  text-align: center;
  min-width: 200px;
}

.receivemedicine-label, .customize1-label, .customize2-label, .customize3-label, .customize4-label, .customize5-label {
  padding-left:5px;
  padding-right:6px;
  font-weight:normal;
  display:inline;
}

.form-comment {
  color: #228B22;
}

.alternative {
  font-size: 14px;
  color: #4B0082;
}

.required-icon {
    color: red;
}

.left-label {
  padding-top:8px;
}

.lnk-back {
  font-size: 12px;
  color: #4B0082;
}

.btn-group {
  margin-left: 10px;
  margin-right: 10px;
}

.label-url {
  color: #99A3A4;
}


.navi-month {
  margin: 2px 8px;
  font-size: 14px;
  color: #23b7e5;

}

 /* ========================================================================
   100. Miscellaneous
 ========================================================================== */ 
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}



.this-site {
  color: #717D7E; 
  font-weight: bold; 
  padding: 17px 12px 0px 12px;
}

.other-site {
  color: #FFF; 
  padding: 17px 12px 0px 12px;
}

.main-photo{
  max-height:320px;
  max-width:320px;
  height:auto;
  width:auto;
}

.logo {
  max-height:150px;
  max-width:300px;
  height:auto;
  width:auto;
}

.msg-index {
  line-height:200%;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

.tpl-keyword {
  color: #27AE60;
}

 /* ========================================================================
   101. Print
 ========================================================================== */ 


@media print {
  @page { margin: 0; }
  body { margin: 1cm; }
}

@media print {
  .hide-print {
    display: none;
  }
}

.print-reserve-time-block{
	width:100%;
	text-align: left;
	font-size: 11px;
	padding : 4px 3px 2px 3px;	
	float:Left;
	border-radius: 3px;
	color: white;
  margin: 1px;
  list-style-type: none;
}

.dd-small {
    height: 24px;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 3px;
}


 /* ========================================================================
   102. Responsive Text
 ========================================================================== */ 

.site-header {
  font-size: 40px;
  background-color: #23b7e5;
  color: #fff;
  padding: 25px;
}

.site-header h1 {
  font-weight: normal;
  font-size: 40px;
}

@media screen and (max-width: 800px){
  .site-header h1 {
      font-size: 30px;
  }
}
@media screen and (max-width: 500px){
  .site-header h1 {
      font-size: 20px;
  }
}

.myresponsive {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.bg-link2site-visit {
  background-color: #E8A3B5;
}

.bg-link2site-online {
  background-color: #27c24c;
}

.link2site {
  padding: 10px 16px;
  color: #FFFFFF;
  font-size:22px;
}

.myanchor {
  background-color: #FFA2B4;
  color: #FFFFFF;
  font-size:16px;
  padding: 7px 10px;
  margin:25px 5px;
  font-weight:bold;
}

.myanchor-v {
    background-color: #23b7e5;
    color: #FFFFFF;
    font-size:16px;
    padding: 5px 8px;
    margin:25px 5px;
    font-weight:bold;
    text-align: center;
}

@media screen and (max-width: 1000px) {
  .link2site {
    font-size:18px;
  }
}
@media screen and (max-width: 600px) {
  .link2site {
    font-size:16px;
  }
}

.class_phone { display: none; }

@media (max-width: 600px) {
    .class_phone { display: inline-block; }
    .class_pc { display: none; }
}


 /* ========================================================================
   102. Overwrite
 ========================================================================== */ 

.pb10 {
  padding-bottom: 10px;
}

.control-data {
  padding-top: 7px;
}

.form-search {
  padding-top: 10px;
  padding-right: 10px;
}

.search-label {
  width: 70px;
  margin: 10px 0px 10px 10px;
}

.search-field {
  width: 180px;
  display:inline-flex;
  margin: 10px 10px 10px 0px;
}

.search-field-wide {
  width: 280px;
  display:inline-flex;
  margin: 10px 10px 10px 0px;
}

.shrink-size {
  font-size:14px !important;
}


 /* ========================================================================
   200. Themes
 ========================================================================== */ 

.test-site {
	background-color: red;
	color: yellow;
	margin: 0px 30px;
	padding: 10px 30px;
  line-height: 35px;
  font-weight: bold;
}


.free-version {
  background-color: #BFC9CA !important;
}

.login-default {
	width: 100%;
	height:100%;
	font-family: 'Open Sans', sans-serif;
	background: #f1f1f1;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3E1D6D', endColorstr='#f1f1f1',GradientType=1 );
}


.theme2 {
	background-color: #F1948A !important;
}
.login-theme2 {
	width: 100%;
	height:100%;
	font-family: 'Open Sans', sans-serif;
	background: #F5B7B1;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3E1D6D', endColorstr='#f1f1f1',GradientType=1 );
}


.available-time-div {
  margin: 0px;
  padding: 0px;
}

.available-time {
  font-size:11px !important;
}

.available-time-full {
  background: #D5DBDB;
}

.available-time-ok {
  color: #2ECC71;
}

.ddl-time {
  border: 1px solid #dde6e9;
  border-radius: 4px;
  font-size: 14px;
  height: 35px;
  line-height: 1.52857143;  
  margin: 10px 10px 10px 0px;
  padding: 5px;
}

.kid-pending {
  background: #D98880;
  color: white;
  border-bottom: 1px solid #D98880 !important;  
}
.kid-confirmed {
  background: #27AE60;
  color: white;
  border-bottom: 1px solid #27AE60 !important;
}
.kid-cancelled {
  background: #F2F3F4;
  color: #BFC9CA;
}
.kid-archive {
  background: #BFC9CA;
  color: #EAEDED;
  border-bottom: 1px solid #95A5A6 !important;
}
.kid-timeout {
  color: #CCD1D1;;
}
.kid-internal-cancelled {
  color: #CCD1D1;;
}

.firstcell {
  border-top: 2px solid #CACFD2 !important;
}


.f_option_on {
  padding: 6px 10px;
  background: #27AE60;
  color: #000000;
  font-size:14px;
}

.f_option_off {
  padding: 6px 10px;
  background: #F0F3F4;
  color: #CACFD2;
  font-size:14px;
}

