html,
body {
    height: 100%;
	font-family: arial;
    background: #f8fafc;
}


.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container-fluid {
    padding-top: 64px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #ffffff;
    border-top: 1px solid #dce6f1;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.cell-tt {
	border: 1px solid #f5f5f5;
	padding: 10px;	
	height: 56px;
	display: flex;
	align-items:center;
}
#dieu_tri_kh .cell-tt{
	border: 1px solid #d6cdcd;
}
.cell-tt-label {
	font-weight:bold;
}
.title-dieu-tri {
	font-size: 16pt;
	font-weight: bold;
	margin-top:10px;
}


#dieu_tri_kh { width:100%;}

.field-khachhang-upload {
	margin-top:20px;
	padding-top:10px;
	background:#dce2ed;
}
pre {
	background: none !important;
	border: none !important;
	padding: 2px !important;
    margin: 0px !important;
}
.row-dieu-tri:nth-child(even) {
	background-color:#fbfcfc;
}
.row-dieu-tri:nth-child(odd){
	background-color:#f9f9f9;
}
.panel-default > .panel-heading {
	background:none !important;
}
.container-items .item:nth-child(even){
	background-color:#f5f5f5;
}
.container-items .item:nth-child(odd){
	background-color:#f4e4f3;
}
.btn-xs, .btn-group-xs > .btn {
	padding: 5px 15px;
}
.panel-body {
	padding-bottom:0px;
}
.glyphicon .them{
	font-family: arial !important;
}

/*******/
/******** image view********/
/******/

.hinh-anh, .hinh-anh * {
	 box-sizing: border-box;
}
.hinh-anh .imgview_row > .imgview_column {
  padding: 0 8px;
}

.hinh-anh .imgview_row:after {
  content: "";
  display: table;
  clear: both;
}

.hinh-anh .imgview_column {
  float: left;
  width: 15%;
}

/* The Modal (background) */
.hinh-anh .modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  margin-top: 20px;
}

/* Modal Content */
.hinh-anh .modal-content {
  position: relative;
  /* background-color: #fefefe; */
  background: none;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.hinh-anh .imgview_close {
  color: white;
  position: absolute;
  top: 35px;
  right: 40px;
  font-size: 35px;
  font-weight: bold;
}

.hinh-anh .imgview_close:hover,
.hinh-anh .imgview_close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.hinh-anh .mySlides {
  display: none;
  justify-content: center;
  align-items: center;
}

.hinh-anh .cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.hinh-anh .prev,
.hinh-anh .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.hinh-anh .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.hinh-anh .prev:hover,
.hinh-anh .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.hinh-anh .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.hinh-anh img {
  margin-bottom: -4px;
}

.hinh-anh .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.hinh-anh .demo {
  opacity: 0.6;
}

.hinh-anh .active,
.hinh-anh .demo:hover {
  opacity: 1;
}

.hinh-anh img.hover-shadow {
  transition: 0.3s;
}

.hinh-anh .hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	vertical-align:middle;
}
.wraptext {
	font-family:Arial,Helvetica,sans-serif;
	white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	/* white-space: pre;*/
	white-space: pre-line;
	/* white-space: pre-wrap; */      /* css-3 */
	/* word-wrap: break-word;       /* Internet Explorer 5.5+ */
	word-break: break-word;	
	overflow-wrap: break-word;	
	display:block;
	}


.row-tt {
  /* display:flex; */
  margin: 0px;
}
#view_kh {width: 100%;}
#chan_doan, #dieu_tri {table-layout:fixed;}
#dieu_tri {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
#thong_tin_kh {
  width:100%;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.view-money {text-align:right;}

.my-navbar {
  background: linear-gradient(90deg, #174ea6 0%, #4285f4 38%, #34a853 68%, #fbbc05 100%);
  color: #ffffff;
  border: 0;
  box-shadow: 0 2px 12px rgba(23, 78, 166, 0.22);
}
.navbar-inverse { border-color: transparent; }
.my-navbar a {color: #ffffff;}
.my-navbar .btn-link {color:#eef5ff;}
.navbar-inverse .navbar-brand { color: #ffffff;}
.navbar-inverse .navbar-nav > li > a { color: #eef5ff;}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.my-navbar .btn-link:hover,
.my-navbar .btn-link:focus {
  color: #ffffff;
  background-color: rgba(23, 78, 166, 0.28);
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: rgba(23, 78, 166, 0.36);
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: rgba(23, 78, 166, 0.36);
}

a {
  color: #174ea6;
}

a:hover,
a:focus {
  color: #0b57d0;
}

.btn-primary {
  background-color: #1a73e8;
  border-color: #1765cc;
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-color: #174ea6;
  border-color: #123f86;
}

.btn-success {
  background-color: #34a853;
  border-color: #2f9349;
}

.btn-warning {
  background-color: #fbbc05;
  border-color: #e2a803;
  color: #202124;
}

.btn-danger {
  background-color: #ea4335;
  border-color: #d93025;
}

.panel,
.well,
.grid-view table,
.table {
  background-color: #ffffff;
}

.panel {
  border-color: #dce6f1;
  box-shadow: 0 3px 12px rgba(60, 64, 67, 0.08);
}

.panel-default > .panel-heading {
  background: linear-gradient(90deg, rgba(66, 133, 244, 0.12), rgba(52, 168, 83, 0.10), rgba(251, 188, 5, 0.12)) !important;
  border-bottom-color: #dce6f1;
}

.table > thead > tr > th,
.grid-view table > thead > tr > th {
  background: #eef5ff;
  border-bottom-color: #bfd5f5;
  color: #174ea6;
}

.table-striped > tbody > tr:nth-of-type(odd),
.grid-view table > tbody > tr:nth-of-type(odd) {
  background-color: #fbfdff;
}

.table-hover > tbody > tr:hover,
.grid-view table > tbody > tr:hover {
  background-color: #fff8e1;
}

.form-control:focus {
  border-color: #4285f4;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 3px rgba(66, 133, 244, 0.16);
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  background-color: #1a73e8;
  border-color: #1765cc;
}

.breadcrumb {
  background: #ffffff;
  border-left: 4px solid #4285f4;
  box-shadow: 0 1px 5px rgba(60, 64, 67, 0.08);
  margin-top: 0;
}

.breadcrumb:empty {
  display: none;
}

.alert-info {
  background-color: #e8f0fe;
  border-color: #bfd5f5;
  color: #174ea6;
}

.alert-success {
  background-color: #e6f4ea;
  border-color: #b7dfc5;
  color: #1e7e34;
}

.alert-warning {
  background-color: #fef7e0;
  border-color: #fde293;
  color: #8a6100;
}

.alert-danger {
  background-color: #fce8e6;
  border-color: #f5b7b1;
  color: #b3261e;
}

.site-index {
  min-height: calc(100vh - 150px);
  margin: 0 -15px;
  padding: 22px 18px 36px;
  background:
    radial-gradient(circle at 12% 18%, rgba(66, 133, 244, 0.18), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(251, 188, 5, 0.20), transparent 24%),
    radial-gradient(circle at 92% 88%, rgba(52, 168, 83, 0.16), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 46%, #f7fbf1 100%);
}

.nw-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 330px;
  padding: 42px 48px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.94), rgba(255,255,255,0.76)),
    linear-gradient(90deg, rgba(66,133,244,0.22), rgba(52,168,83,0.18), rgba(251,188,5,0.18));
  box-shadow: 0 18px 40px rgba(60, 64, 67, 0.14);
}

.nw-home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 7px solid #4285f4;
  box-shadow:
    inset 180px 0 0 rgba(66, 133, 244, 0.06),
    inset 360px 0 0 rgba(52, 168, 83, 0.05),
    inset 540px 0 0 rgba(251, 188, 5, 0.05);
  pointer-events: none;
}

.nw-home-copy,
.nw-home-visual {
  position: relative;
  z-index: 1;
}

.nw-home-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #e8f0fe;
  color: #174ea6;
  font-weight: bold;
}

.nw-home-copy h1 {
  margin: 0 0 12px;
  color: #174ea6;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
}

.nw-home-subtitle {
  max-width: 620px;
  margin-bottom: 24px;
  color: #3c4043;
  font-size: 17px;
  line-height: 1.55;
}

.nw-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nw-home-actions .btn {
  min-width: 145px;
  border-radius: 8px;
  font-weight: bold;
  white-space: normal;
}

.nw-home-actions .glyphicon {
  margin-right: 7px;
}

.nw-home-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 230px;
  flex: 0 0 230px;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  box-shadow: 0 14px 32px rgba(23, 78, 166, 0.18);
}

.nw-home-visual img {
  width: 148px;
  height: 148px;
  padding: 20px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
}

.nw-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.nw-home-card {
  display: block;
  min-height: 142px;
  padding: 22px;
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(60, 64, 67, 0.14);
  transition: transform .16s ease, box-shadow .16s ease;
}

.nw-home-card:hover,
.nw-home-card:focus {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(60, 64, 67, 0.18);
}

.nw-home-card .glyphicon {
  display: block;
  margin-bottom: 18px;
  font-size: 27px;
}

.nw-home-card strong {
  display: block;
  font-size: 18px;
}

.nw-home-card em {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.4;
}

.nw-card-blue { background: linear-gradient(135deg, #174ea6, #4285f4); }
.nw-card-green { background: linear-gradient(135deg, #188038, #34a853); }
.nw-card-yellow { background: linear-gradient(135deg, #f9ab00, #fbbc05); color: #202124; }
.nw-card-yellow:hover,
.nw-card-yellow:focus { color: #202124; }
.nw-card-yellow em { color: rgba(32, 33, 36, 0.78); }
.nw-card-red { background: linear-gradient(135deg, #c5221f, #ea4335); }

@media (max-width: 991px) {
  .nw-home-hero {
    padding: 34px 30px;
  }

  .nw-home-visual {
    width: 180px;
    height: 180px;
    flex-basis: 180px;
  }

  .nw-home-visual img {
    width: 118px;
    height: 118px;
  }

  .nw-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wrap > .container-fluid {
    padding-top: 56px;
    padding-left: 0;
    padding-right: 0;
  }

  .navbar-fixed-top .navbar-collapse {
    max-height: calc(100vh - 52px);
  }

  .navbar-inverse .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.55);
  }

  .navbar-inverse .navbar-toggle:hover,
  .navbar-inverse .navbar-toggle:focus {
    background-color: rgba(23, 78, 166, 0.28);
  }

  .site-index {
    margin: 0;
    padding: 10px 10px 22px;
    min-height: calc(100vh - 116px);
  }

  .nw-home-hero {
    display: block;
    min-height: 0;
    padding: 22px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(60, 64, 67, 0.12);
  }

  .nw-home-copy h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .nw-home-subtitle {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .nw-home-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    font-size: 15px;
    text-align: left;
  }

  .nw-home-visual {
    width: 116px;
    height: 116px;
    margin: 20px auto 0;
  }

  .nw-home-visual img {
    width: 78px;
    height: 78px;
    padding: 13px;
  }

  .nw-home-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .nw-home-card {
    min-height: 0;
    padding: 15px 16px;
    border-radius: 11px;
  }

  .nw-home-card .glyphicon {
    display: inline-block;
    width: 28px;
    margin: 0 9px 0 0;
    font-size: 20px;
    vertical-align: middle;
  }

  .nw-home-card strong {
    display: inline;
    font-size: 16px;
    vertical-align: middle;
  }

  .nw-home-card em {
    margin-top: 7px;
    padding-left: 39px;
    font-size: 13px;
  }

  .breadcrumb {
    margin: 0 10px 10px;
    padding: 8px 12px;
  }
}
