@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	color: #666666;
	text-rendering: optimizeLegibility;
	/*background: #f9f9f9;*/
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
}
.page-header {
	vertical-align: middle;
	margin: 15px 0;
	padding: 0;
	border-bottom: none;
}
.page-header h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 30px;
	color: #848484;
	display: inline-block;
	margin-bottom: 15px;
}
.breadcrumb {
	display: inline-block;
	background: none;
	margin: 0;
	padding: 0 10px;
}
.breadcrumb li a {
	color: #999999;
	font-size: 11px;
	padding: 0px;
	margin: 0px;
}
.breadcrumb li:last-child a {
	color: #1e91cf;
}
.breadcrumb li a:hover {
	text-decoration: none;
}
.breadcrumb li + li:before {
	content: "/";
	font-family: FontAwesome;
	color: #BBBBBB;
	padding: 0 5px;
}
a:hover, a:focus {
	text-decoration: none;
}
/* fix for bootstrap hidden and visible */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}
#container {
	min-height: 100%;
	width: 100%;
	position: relative;
}
.container-fluid {
	padding-left: 20px;
	padding-right: 20px;
}
/* Start: custom button replace css */
.iss-fo-10 { font-size: 10px; }
.iss-fo-12 { font-size: 12px; }
.iss-fo-14 { font-size: 14px; }
.iss-fo-16 { font-size: 16px; }
.iss-fo-18 { font-size: 18px; }
.iss-fo-20 { font-size: 20px; }
.iss-fo-22 { font-size: 22px; }
.iss-fo-24 { font-size: 24px; }
.iss-fo-26 { font-size: 26px; }
.iss-fo-28 { font-size: 28px; }
.iss-fo-30 { font-size: 30px; }

.iss:focus, .iss:active:focus, .iss.active:focus, .iss.focus, .iss:active.focus, .iss.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px; 
}

.iss:hover, .iss:focus, .iss.focus {
  color: #333;
  text-decoration: none; 
}

.iss:active, .iss.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.iss.disabled, .iss[disabled], fieldset[disabled] .iss {
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}

a.iss.disabled, fieldset[disabled] a.iss {
  pointer-events: none; 
}

.iss-default { 
  color: #333;
  background-color: transparent;
}

.iss-primary {
  color: #1e91cf;
  background-color: transparent;
}

.iss-success {
  color: #8fbb6c;
  background-color: transparent;
}

.iss-info {
  color: #5bc0de;
  background-color: transparent;
}

.iss-warning {
  color: #f38733;
  background-color: transparent;
}

.iss-danger {
  color: #f56b6b;
  background-color: transparent;
}

.iss-link {
  color: #1e91cf;
  font-weight: normal;
  border-radius: 0;
}
.iss-link, .iss-link:active, .iss-link.active, .iss-link[disabled], fieldset[disabled] .iss-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.iss-link, .iss-link:hover, .iss-link:focus, .iss-link:active {
  border-color: transparent;
}
.iss-link:hover, .iss-link:focus {
  color: #14628c;
  text-decoration: underline;
  background-color: transparent;
}
.iss-link[disabled]:hover, fieldset[disabled] .iss-link:hover, .iss-link[disabled]:focus, fieldset[disabled] .iss-link:focus {
  color: #777;
  text-decoration: none;
}
[onclick],
[upfield] {
  cursor: pointer;
}
.no_button {
  border: 0;
  background-color: transparent;
}
.font-weight-normal input, 
.font-weight-normal form, 
.font-weight-normal div, 
.font-weight-normal p, 
.font-weight-normal span, 
.font-weight-normal tr, 
.font-weight-normal td, 
.font-weight-normal a, 
.font-weight-normal button {
  font-weight: normal;
}
/* End: custom button replace css */
#header {
	min-height: 0px;
	background: #FFFFFF;
	border-bottom: 1px solid #E5E5E5;
	margin: 0;
	padding: 0;
}
#header .nav > li {
	float: left;
}
#header .nav > li li {
	min-width: 200px;
}
#header .navbar-header {
	min-height: 0px;
	padding: 0;
}
/* Mobile */
@media (max-width: 767px) {
  #header .navbar-header {
    margin-right: 0px;
    margin-left: 0px;
    float: left;
  }
}
#header #button-menu + .navbar-brand {
	padding: 10px 10px 10px 10px;
	margin-right: 10px;
	height: auto;
}
.navbar-brand > img {
  margin: -10px 0 0 -5px;
}
body[loggedin="1"] .navbar-brand > img {
  margin: -6px 0 -8px -4px;
}
#header .nav > li > a {
	padding: 3px 16px;
	line-height: 38px;
	cursor: pointer;
	color: #6D6D6D;
	border-left: 1px solid #E1E1E1;
}
#header .nav > li > a > .label {
	text-shadow: none;
	padding: 1px 4px;
	position: absolute;
	top: 8px;
	left: 6px;
}
#button-menu {
	padding: 10px 17px 9px 17px;
	line-height: 25px;
	float: left;
	display: none; /* inline-block; */
	cursor: pointer;
	color: #6D6D6D;
	border-right: 1px solid #E1E1E1;
}
.user-franchise {
  width: auto;
}
.user-franchise a b,
.user-profile a b {
  margin: -8px 0 8px 0;
  display: block;
}
.user-franchise a small,
.user-profile a small {
  position: absolute;
  padding: 0 16px;
  left: 0;
  bottom: -5px;
}
#profile {
	display: none;
  cursor: pointer;
}
#column-left.active #profile {
	display: block;
	padding: 10px 15px 10px 15px;
	overflow: auto;
	border-bottom: 1px solid #585858;
}
#column-top.active #profile {
	display: none;
	padding: 10px 15px 10px 15px;
	overflow: auto;
	border-bottom: 1px solid #585858;
}
#profile div {
	float: left;
	color: #C4C4C4;
}
#profile div i {
	font-size: 42px;
	color: #2ca5d3;
}
#profile div + div {
	margin-left: 15px;
}
#profile h4 {
	margin-top: 6px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #FFF;
	margin-bottom: 0;
}
#column-left {
	width: 50px;
	height: 100%;
	background-color: #515151;
	position: absolute;
	top: 0px;
	padding-top: 50px;
	z-index: 10;
	transition: all 0.3s;
}
#column-left.active {
	width: 235px;
	display: block;
}
#content {
	padding-bottom: 0;
	transition: all 0.3s;
}
#column-left + #content {
	margin-left: 50px;
}
#column-left + #content + #footer {
	margin-left: 50px;
}
/* Mobile */
@media (max-width: 767px) {
  #column-left {
    overflow: hidden;
    display: none;
  }
  #column-left + #content {
    margin-left: 0;
  }
  #column-left + #content + #footer {
    margin-left: 0;
  }
}
/* Menu */
#menu, #menu ul, #menu li {
	padding: 0;
	margin: 0;
	list-style: none;
}
#menu {
	margin-bottom: 25px;
}
#menu > li {
	position: relative;
}
#menu li a {
	text-decoration: none;
	display: block;
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #515151;
}
#menu li a i {
	font-size: 16px;
}
#menu > li > a {
	color: #C4C4C4;
	font-size: 14px;
	padding-left: 13px;
	border-bottom: 1px solid #585858;
}
#menu > li > a:hover {
	background-color: #444444;
}
#menu > li > a > span {
	display: none;
	margin-left: 8px;
}
#menu li li a {
	color: #9d9d9d;
}
#menu li li a:hover {
	color: #FFFFFF;
	background-color: #373737;
}
#menu li li a:before {
	content: "\f101";
	font-size: 14px;
	font-family: FontAwesome;
	margin-left: 10px;
	margin-right: 10px;
	transition: margin ease 0.5s;
}
#menu li li a:hover:before {
	margin-right: 20px;
}
#menu > li.active > a {
	color: #DDDDDD;
	background: #373737;
}
#menu li.active li a {
	color: #C4C4C4;
}
#menu li li.active > a:last-child {
	color: #FFFFFF;
}
#menu li li.active a:last-child:before {
	margin-left: 20px;
	margin-right: 10px;
}

#menu > li > ul {
	position: absolute;
	left: 50px;
	top: 0px;
	width: 210px;
	background-color: #444444;
	visibility: hidden;
}
#menu li ul {
	overflow: hidden;
}
#menu > li:hover > ul {
	visibility: visible;
}
#menu li li a.parent:after, #column-left.active #menu > li a.parent:after {
	font-family: FontAwesome;
	content: "\f105";
	float: right;
	margin-right: 8px;
}
#menu li li.open > a.parent:after, #column-left.active #menu > li.open > a.parent:after, #column-left.active #menu > li li.open > a.parent:after {
	font-family: FontAwesome;
	content: "\f107";
	float: right;
	margin-right: 8px;
}


#menu li ul a {
	padding-left: 20px;
}
#menu li li ul a {
	padding-left: 40px;
}
#menu li li li ul a {
	padding-left: 60px;
}
#menu li li li li ul a {
	padding-left: 80px;
}

#column-top {
	width: 100%;
	height: auto;
	background-color: #515151;
	position: relative;
	/* top: 0px;
	padding-top: 50px; */
	z-index: 10;
	transition: all 0.3s;
  display: block;
}
#column-top.active {
	width: 100%;
	display: block;
}
#column-top #profile {
  display: none;
}
#column-top #menu {
	margin-bottom: 0;
}
#column-top #menu > li > a > span {
  display: inline-block;
}
#column-top #menu > li {
  display: inline-block;
}
#column-top #menu li {
  position: relative;
}
#column-top #menu li ul a {
	padding-left: 0;
}
#column-top #menu li li a:before {
  content: "";
}  
#column-top #menu li:hover {
  background-color: #444444;
}
#column-top #menu li.active.open > ul,
#column-top #menu li:hover > ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0px;
  margin: 0 0 0 0;
  overflow: visible;
  background-color: #444444;
}  
#column-top #menu > li li.active.open > ul,
#column-top #menu > li li:hover > ul {
  top: 0px;
  left: 100%;
  width: 100%;
  border-left: 1px solid #515151;
}

/* Menu Active */
/* Desktop */
@media (min-width: 768px) {
#column-left.active {
	overflow: auto;
}
#column-left.active + #content {
	margin-left: 235px;
}
#column-left.active + #content + #footer {
	margin-left: 235px;
}
}
/* Mobile */
@media (max-width: 767px) {
#column-left.active + #content {
	position: relative;
	left: 235px;
}
#column-left.active + #content + #footer {
	position: relative;
	left: 235px;
}
}
#column-left.active {
	width: 235px;
}
#column-left.active #menu li i {
	font-size: 14px;
}
#column-left.active #menu > li > a > span {
	display: inline;
}
#column-left.active #menu > li > ul {
	position: relative;
	left: auto;
	top: auto;
	width: auto;
	visibility: visible;
}
/* footer */
#footer {
	height: 30px;
	text-align: center;
}

/* Navs */
.nav > li.disabled > a {
	color: #999;
}
.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
	color: #999;
}
/* Tabs */
.nav-tabs > li > a {
	color: #666;
	border-radius: 2px 2px 0 0;
}
.nav-tabs > li > a:hover {
	border-color: #eee #eee #ddd;
}
.nav-tabs {
	margin-bottom: 25px;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	font-weight: bold;
	color: #333;
}
.form-control:hover {
	border: 1px solid #b9b9b9;
	border-top-color: #a0a0a0;
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
div.required .control-label:not(span):before, td.required:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}
.table thead td span[data-toggle="tooltip"]:after, label.control-label span:after {
	font-family: FontAwesome;
	color: #1E91CF;
	content: "\f059";
	margin-left: 4px;
}
fieldset legend {
	padding-bottom: 5px;
}

input[type="radio"], input[type="checkbox"] {
	margin: 2px 0 0;
}
.radio, .checkbox {
	min-height: 18px;
}
input[type="radio"], .radio input[type="radio"], .radio-inline input[type="radio"], input[type="checkbox"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
	position: relative;
	width: 13px;
	width: 16px \0;
	height: 13px;
	height: 16px \0;
	-webkit-appearance: none;
	background: white;
	border: 1px solid #dcdcdc;
	border: 1px solid transparent \0;
	border-radius: 1px;
}
input[type="radio"]:focus, .radio input[type="radio"]:focus, .radio-inline input[type="radio"]:focus, input[type="checkbox"]:focus, .checkbox input[type="checkbox"]:focus, .checkbox-inline input[type="checkbox"]:focus {
	border-color: #4d90fe;
	outline: 0;
}
input[type="radio"]:active, .radio input[type="radio"]:active, .radio-inline input[type="radio"]:active, input[type="checkbox"]:active, .checkbox input[type="checkbox"]:active, .checkbox-inline input[type="checkbox"]:active {
	background-color: #ebebeb;
	border-color: #c6c6c6;
}
input[type="radio"]:checked, .radio input[type="radio"]:checked, .radio-inline input[type="radio"]:checked, input[type="checkbox"]:checked, .checkbox input[type="checkbox"]:checked, .checkbox-inline input[type="checkbox"]:checked {
	background: #fff;
}
input[type="radio"], .radio input[type="radio"], .radio-inline input[type="radio"] {
	width: 15px;
	width: 18px \0;
	height: 15px;
	height: 18px \0;
	border-radius: 1em;
}
input[type="radio"]:checked::after, .radio input[type="radio"]:checked::after, .radio-inline input[type="radio"]:checked::after {
	position: relative;
	top: 3px;
	left: 3px;
	display: block;
	width: 7px;
	height: 7px;
	content: '';
	background: #666;
	border-radius: 1em;
}
input[type="checkbox"]:hover, .checkbox input[type="checkbox"]:hover, .checkbox-inline input[type="checkbox"]:hover {
	border-color: #c6c6c6;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	-webkit-box-shadow: none \9;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	box-shadow: none \9;
}
input[type="checkbox"]:checked::after, .checkbox input[type="checkbox"]:checked::after, .checkbox-inline input[type="checkbox"]:checked::after {
	position: absolute;
	top: -6px;
	left: -5px;
	display: block;
	content: url('../image/checkmark.png');
}

[autocomplete="off"].readonly-temp {
  background-color: #FFF;
}

.well {
  padding-top: 10px;
  padding-bottom: 10px;
}
.well-custom {
  margin-bottom: 0;
  padding-bottom: 0;
}
.well-custom .checkbox,
.well-custom .radio {
  padding-top: 0;
}
.well-custom .checkbox.readonly label,
.well-custom .radio.readonly label {
  color: rgba(0,0,0,0.2);
  cursor: not-allowed;
}
.well-custom .checkbox.readonly input[type="checkbox"],
.well-custom .radio.readonly input[type="radio"] {
  cursor: not-allowed;
}
.well-custom input[type="checkbox"],
.well-custom input[type="radio"] {
  margin-bottom: -2px;
  margin-right: 2px;
}
tr[data-editable="no"] input[type="text"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  readonly: true;
}
#form-user-group b.checkgroup > span {
  float:right;
  width: 40px;
}
#button-detault-attr-list {
  cursor: pointer;
}
#form-user-group .checkcss input[type="radio"],
#form-user-group .checkcss input[type="checkbox"] {
  margin-bottom: -2px;
}
#form-user-group .radiocss {
  float: right;
  width: 40px;
  padding-left: 0;
  text-align: center;
}
#form-user-group .radiocss input[type="radio"] {
  margin-top: 1px;
}
#form-user-group .well-custom {
  margin: 10px 0;
  padding: 0;
  background-color: rgba(0,0,0,0);
  height: 200px;
  overflow-y: scroll;
}
#form-user-group .well-custom + a {
  margin-left: 0;
}
#form-user-group .well .checkgroup {
  margin-top: 0;
  display: inline-block;
  width: 100%;
  background-color: #D8D8D8;
  padding: 1px 0 1px 6px;
  color: #4F4F4F;
}
#form-user-group .well-custom .checkbox {
  padding: 0 5px;
}
#form-user-group .well-custom .checkbox:hover {
  background-color: rgba(216, 216, 216,0.6);
}
#form-user-group .well .checkbox + .checkgroup {
  margin-top: 3px;
}
#form-user-group .well .checkbox {
  min-height: auto;
  padding-top: 2px;
  padding-bottom: 2px;
}
/* start checkcss */
/*
.checkcss {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkcss input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.checkcss:hover input ~ .checkmark {
  background-color: #ccc;
}
.checkcss input:checked ~ .checkmark {
  background-color: #2196F3;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkcss input:checked ~ .checkmark:after {
  display: block;
}
.checkcss .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
} */
/* end checkcss */
.table thead td {
	font-weight: bold;
}
.table thead > tr > td, .table tbody > tr > td {
	vertical-align: middle;
}
.table a.asc:after {
	content: " \f107";
	font-family: FontAwesome;
	font-size: 14px;
}
.table a.desc:after {
	content: " \f106";
	font-family: FontAwesome;
	font-size: 14px;
}

/* START EXTERNAL STYLE TABLE */
.row {
  margin-left: -7px;
  margin-right: -7px;
}
.row [class^="col-"] {
  padding-left: 7px;
  padding-right: 7px;
}
.table-extcs {
  font-size: 12px;
  color: #333;
  margin-bottom: 0;
}
.table.table-extcs thead > tr > td,
.table.table-extcs tbody > tr > td,
.table.table-extcs tfoot > tr > td {
  padding: 5px 2px 5px 6px;
  white-space: nowrap;
}
.table.table-extcs thead > tr > td.tdlast,
.table.table-extcs tbody > tr > td.tdlast,
.table.table-extcs tfoot > tr > td.tdlast,
.table.table-extcs thead > tr > td:last-child,
.table.table-extcs tbody > tr > td:last-child,
.table.table-extcs tfoot > tr > td:last-child {
  padding-right: 6px;
}
.table.table-extcs thead > tr > td.wdwrap,
.table.table-extcs tbody > tr > td.wdwrap,
.table.table-extcs tfoot > tr > td.wdwrap {
  white-space: normal;
}
.table.table-nopad thead > tr > td,
.table.table-nopad tbody > tr > td,
.table.table-nopad tfoot > tr > td {
  padding: 5px 0;
}
.table.table-extcs thead tr.trbrdr.trbdleft > td:first-child,
.table.table-extcs tbody tr.trbrdr.trbdleft > td:first-child,
.table.table-extcs thead tr .brdr.bdleft,
.table.table-extcs tbody tr .brdr.bdleft {
  border-left: 1px solid #ddd;
}
.table.table-extcs thead tr.trbrdr.trbdright > td:last-child,
.table.table-extcs tbody tr.trbrdr.trbdright > td:last-child,
.table.table-extcs thead tr .brdr.bdright,
.table.table-extcs tbody tr .brdr.bdright {
  border-right: 1px solid #ddd;
}
.table.table-extcs thead tr.trbrdr.trbdtop:first-child > td,
.table.table-extcs tbody tr.trbrdr.trbdtop:first-child > td,
.table.table-extcs thead tr .brdr.bdtop,
.table.table-extcs tbody tr .brdr.bdtop {
  border-top: 1px solid #ddd;
}
.table.table-extcs thead tr.trbrdr.trbdbottom:last-child > td,
.table.table-extcs tbody tr.trbrdr.trbdbottom:last-child > td,
.table.table-extcs thead tr .brdr.bdbottom,
.table.table-extcs tbody tr .brdr.bdbottom {
  border-bottom: 1px solid #ddd;
}

.table.table-extcs thead tr .brdr.bdnleft,
.table.table-extcs tbody tr .brdr.bdnleft {
  border-left-width: 0px;
}
.table.table-extcs thead tr .brdr.bdnright,
.table.table-extcs tbody tr .brdr.bdnright {
  border-right-width: 0px;
}
.table.table-extcs thead tr .brdr.bdntop,
.table.table-extcs tbody tr .brdr.bdntop {
  border-top-width: 0px;
}
.table.table-extcs thead tr .brdr.bdnbottom,
.table.table-extcs tbody tr .brdr.bdnbottom {
  border-bottom-width: 0px;
}
.table.table-extcs > tbody > tr.trbrdr.nohover:hover {
  background-color: transparent;
  background-image: none;
}
.table.table-extcs > tbody > tr td.bg-yellow-select {
  background-color: yellow;
}

.table.no-style {
  margin: 0;
  padding: 0;
  width: auto;
}
.table.no-style > thead > tr > td,
.table.no-style > tbody > tr > td {
  border: none;
  padding: 0 8px;
}

.table.noborder > thead > tr > td,
.table.noborder > tbody > tr > td {
  border: none;
}

.table.table-extcs thead tr .text-satsun,
.table.table-extcs tbody tr .text-satsun {
  color: #888;
}

.table.table-extcs thead tr .bglight,
.table.table-extcs tbody tr .bglight {
  background-color: #F8F8F8; /* #EBEBEB; */
  /* background-image: linear-gradient(to left, #EBEBEB, #F8F8F8, #FBFBFB); */
}
.table.table-extcs tbody > tr > td[data-modify] {
  position: relative;
}
.table.table-extcs tbody > tr > td[data-modify] i[data-checkbox] {
  position: absolute;
  left: -1px;
  top: -2px;
  cursor: pointer;
  color: rgba(0,0,0,0.1);
  font-size: 12px;
}
.table.table-extcs tbody > tr > td[data-modify]:hover i[data-checkbox],
.table.table-extcs tbody > tr > td[data-modify] i[data-checkbox="1"] {
  color: rgba(0,0,0,0.8);
}
.table.table-extcs thead > tr > td input[type="text"],
.table.table-extcs tbody > tr > td input[type="text"],
.table.table-extcs tfoot > tr > td input[type="text"] {
  border: none;
  background-color: transparent;
  box-shadow: none;
  max-width: 100px;
}
.table-hover > tbody > tr:hover td {
  background-color: #EBEBEB;
  background-image: linear-gradient(#EBEBEB, #F8F8F8, #FBFBFB);
}
.table.table-extcs tbody tr[data-hastimesheet="1"] > td:first-child {
  border-left-color: red !important;
  border-left-width: 2px !important;
  padding-left: 7px;
}
.table.table-extcs tbody tr[data-hastimesheet="1"] > td:last-child {
  border-right-color: red !important;
  border-right-width: 2px !important;
}
.row.table-extcs-pging {
  margin: 0;
  padding: 4px 0 0;
  border-top: 1px solid #ddd;
}
.row.table-extcs-pging [class^="col-"] {
}
.table-extcs-pging .pagination > li > a, 
.table-extcs-pging .pagination > li > span {
  padding: 2px 8px;
}
.table-extcs-pging .text-right {
  padding-top: 3px;
  margin-bottom: 7px;
}

.color-blue { color: blue; }
.color-red { color: red; }
.display-inline-block { display: inline-block; }
.text-reset { cursor: pointer; }
.text-reset .fa-times-rectangle:before,
.text-reset .fa-window-close:before { content: "\f2d3"; }
.hover-show-reset .text-reset { display: none; position: relative; }
.hover-show-reset:hover .text-reset { display: inline-block; position: absolute; margin-left: -10px; }

.not-finalised-row {
  padding: 0 0 0 40px !important;
  letter-spacing: 10px;
  color: rgba(255,0,0,0.5);
  font-weight: bold;
}
/*   END EXTERNAL STYLE TABLE */

.pagination {
	margin: 0;
}
.form-group {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.form-group + .form-group {
    border-top: 1px solid #ededed;
}
/* Panels */
.panel {
	border-radius: 0px;
}
.hr-separator {
  border-top: 1px solid #e8e8e8;
  margin-left: -16px;
  margin-right: -16px;
}
.panel .panel-heading {
	position: relative;
}
.panel-heading h3 i {
	margin-right: 8px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.panel-heading i {
	font-size: 16px;
	font-weight: 500;
}
.panel-heading h3 {
	font-size: 16px;
	font-weight: 500;
	display: inline-block;
}
.panel .panel-title.hr {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 10px;
  margin-bottom: 5px;
  font-weight: bold;
}  
.panel-heading .buttons {
  margin: -3px -8px 0 0;
}
.tbuttons .btn,
.panel-heading .btn {
  padding: 5px 8px;
  font-size: 10px;
}
.tbuttons .btn i,
.panel-heading .btn i {
  font-size: 12px;
}
/* Primary Panel */
.panel-primary {
	border: 1px solid #c3e4f6;
	border-top: 2px solid #5cb7e7;
}

.panel-primary .panel-heading {
	color: #1e91cf;
	border-color: #96d0f0;
	background: white;
}


/* Default Panel */
.panel-default {
	border: 1px solid #e8e8e8;
	border-top: 2px solid #bfbfbf;
}

.panel-default .panel-heading {
	color: #595959;
	border-color: #e8e8e8;
	background: #fcfcfc;
}
.panel-list {
  padding: 0;
}
.panel-detault-attr-list {
  float: right;
  width: 69%;
  margin-left: 1%;
  display: none;
}
.panel-detault-user-list {
  float: left;
  width: 100%;
}
.panel-detault-attr-list.panel-right-show {
  display: block;
}
.panel-detault-attr-list.panel-right-show + .panel-detault-user-list {
  width: 30%;
}
.panel-detault-attr-list.panel-right-show + .panel-detault-user-list .panel-left-toggle,
.panel-detault-attr-list.panel-right-show + .panel-detault-user-list .panel-left-toggle-td {
  display: none;
}
table > tbody > tr.field-editing > td {
  background-color: rgba(255,255,0,0.4) !important;
  background-image: linear-gradient(rgba(255,255,50,0.6), rgba(255,255,100,0.4), rgba(255,255,150,0.2)) !important;
}
[data-editable] input {
  height: 16px;
  width: 100%;
  max-width: 100% !important;
}
.dropdown_delete {
  position: absolute;
  margin-left: 23px;
  margin-top: -10px;
  height: 25px;
  width: 25px;  
  display: none;
}
a + .dropdown_delete {
  margin-top: -18px;
}  
table tr[data-editable="no"]:hover td .dropdown_delete {
  display: block;
}
@media (max-width: 960px) {
  .panel-detault-attr-list {
    width: 100%;
    margin-left: 0;
    display: block;
  }
  .panel-detault-attr-list.panel-right-show + .panel-detault-user-list {
    width: 100%;
  }
  .panel-detault-attr-list.panel-right-show + .panel-detault-user-list .panel-left-toggle {
    display: block;
  }  
  .panel-detault-attr-list.panel-right-show + .panel-detault-user-list .panel-left-toggle-td {
    display: table-cell;
  }  
}
.img-thumbnail i {
	color: #FFFFFF;
	background-color: #EEEEEE;
	text-align: center;
	vertical-align: middle;
	width: 100px;
	height: 100px;
	padding-top: 20px;
	vertical-align: middle;
	display: inline-block;
}
.img-thumbnail.list i {
	width: 40px;
	height: 40px;
	padding-top: 10px;
}
/* Tiles */
.tile {
	margin-bottom: 15px;
	border-radius: 3px;
	background-color: #279FE0;
	color: #FFFFFF;
	transition: all 1s;
}
.tile:hover {
	opacity: 0.95;
}

.tile a {
	color: #FFFFFF;
}
.tile-heading {
	padding: 5px 8px;
	text-transform: uppercase;
	background-color: #1E91CF;
	color: #FFF;
}
.tile .tile-heading .pull-right {
	transition: all 1s;
	opacity: 0.7;
}
.tile:hover .tile-heading .pull-right {
	opacity: 1;
}
.tile-body {
	padding: 15px;
	color: #FFFFFF;
	line-height: 48px;
}
.tile .tile-body i {
	font-size: 50px;
	opacity: 0.3;
	transition: all 1s;
}
.tile:hover .tile-body i {
	color: #FFFFFF;
	opacity: 1;
}
.tile .tile-body h2 {
	font-size: 42px;
}
.tile-footer {
	padding: 5px 8px;
	background-color: #3DA9E3;
}
#column-left.active #stats {
	display: block;
}
#stats {
	display: none;
	border-radius: 2px;
	color: #666666;
	background: #2b2b2b;
	margin: 15px 20px;
	padding: 5px 0;
}
#stats ul, #stats li {
	padding: 0;
	margin: 0;
	list-style: none;
}
#stats li {
	font-size: 11px;
	color: #9d9d9d;
	padding: 5px 10px;
	border-bottom: 1px dotted #373737;
}
#stats div:first-child {
	margin-bottom: 4px;
}
#stats .progress {
	height: 3px;
	margin-bottom: 0;
}
.jqvmap-label {
	z-index: 999;
}
.alert {
	overflow: auto;
}
.alert-center {
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 9999;
  height: 0;
  overflow: visible;
}
.alert-center .alert {
  display: inline-block;
  margin-top: -20px;
}

/* Menu Fix For System -> Layout -> Banner */
.collapse.in {
  display: block;
  visibility: unset;
}
.collapse {
  display: none;
  visibility: unset;
}
/* Menu Fix For System -> Layout -> Banner */

/* Fix form-group margin inside the modal */
.modal-body .form-group {
  margin: 0;
}
/* Fixed Sumernote Button Height */
.note-toolbar.panel-heading i {
	font-size: 14px;
}
/* Filemanager Folder Size */
#filemanager .fa-folder.fa-5x {
	font-size: 10.5em;
}
.view-tabletd span {
  cursor: pointer;
  width: 100%;
  display: inline-block;
}
.list-tabletd {
  display: none;
  margin:0;
}
td.list-tabletd {
  margin: -1px 0 0 6px;
}
body > .list-tabletd {
  display: block;
  z-index: 10;
  background-color: #FFF;
}
.list-tabletd ul {
  height: auto;
  min-width: 100px;
  border-top: 1px solid rgba(0,0,0,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.7);
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-tabletd ul li {
  padding: 2px 6px; 
  z-index: 2; 
  list-style: none; 
  cursor: pointer;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
}
.list-tabletd ul li + li {
  border-top: 1px solid rgba(0,0,0,0.3);
}
.list-tabletd ul li:not(.init) { background-color: #FFF; }
.list-tabletd ul li:not(.init):hover, 
.list-tabletd ul li.selected:not(.init) { background-color: rgba(0,0,0,0.7); color: #FFF; }
 
[rel-actiontodo="done"] td { background-color: #F0F0F0; }

.simple-body .control-label {
  text-align: left;
}
.simple-body select.form-control,
.simple-body input[type="text"].form-control {
  border-width: 0px;
  box-shadow: none;
  border-bottom-width: 1px;
  padding: 5px 0 0;
  height: 25px;
}
.simple-body select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
}

/* For IE10 */
.simple-body select.form-control::-ms-expand {
  display: none;
}

.simple-body .radio input[type="radio"] {
  position: static;
  margin: 0 5px -3px 0;
  display: inline-block;
}
.simple-body .radio label {
  padding: 0;
}

#confirmModal .modal-dialog {
  width: 300px;
  max-width: 600px;
  text-align: center;
  top: 50%;
  margin-top: -70px;
}

#confirmModal .modal-body {
  margin: 15px 0 10px;
}

#confirmModal .modal-footer {
  padding: 10px 20px;
}

#formModal .modal-header {
  margin: 0;
  padding: 5px 10px;
}

/* CASENOTE */
.pgs-section {
  width: 100%;
  margin: 40px auto;
  padding-left: 20px;
}
.pgs-scbudget,
.pgs-plancompleted {
  position: relative;
  padding-bottom: 30px;
}
.pgs-scbudget .progress,
.pgs-plancompleted .progress {
  height: 22px;
  width: 90%;
  margin-bottom: 0;
  border-radius: 0;
  overflow: visible;
}
.pgs-scbudget .progress {
  border-top-left-radius: 3px;
  background-color: #ffe0b2;
}
.pgs-plancompleted .progress {
  border-bottom-left-radius: 3px;
  background-color: #ce93d8;
}
.pgs-section .progress .progress-bar {
  z-index: 1;
  position: relative;
}
.pgs-scbudget .progress .progress-bar {
  background-color: #ff9800;
  border-left: 3px solid #ff9800;
  border-top-left-radius: 3px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);  
}
.pgs-plancompleted .progress .progress-bar {
  background-color: #9c27b0;
  border-left: 3px solid #9c27b0;
  border-bottom-left-radius: 3px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);  
}
.pgs-scbudget .pgs-end,
.pgs-plancompleted .pgs-end {
  position: absolute;
  right: 0;
  width: 10%;
  padding-left: 5px;
}
.pgs-scbudget .pgs-end {
  bottom: 0;
  padding-bottom: 8px;
}
.pgs-scbudget .pgs-end span {
  position: absolute;
  bottom: 0;
  left: -3px;
  height: 40px;
  border-left: 3px solid #ffe0b2;
}
.pgs-plancompleted .pgs-end {
  top: 0;
  padding-top: 8px;
}
.pgs-plancompleted .pgs-end span {
  position: absolute;
  top: 0;
  left: -3px;
  height: 40px;
  border-left: 3px solid #ce93d8;
}
.pgs-section .progress .pgs-bar {
  float: right;
  position: relative;
  color: #000;
  width: 0;
  z-index: 1;
}
.pgs-section .progress .pgs-bar span {
  height: 40px;
}  
.pgs-scbudget .progress .pgs-bar {
  left: -10px;
  top: -33px;
}
.pgs-scbudget .progress .pgs-bar span {
  position: absolute;
  bottom: -55px; /*-38px;*/
  left: 7px;
  border-left: 3px solid #ff9800;
}
.pgs-scbudget .progress [aria-valuenow="0"] .pgs-bar span {
  border-left: 3px solid #ffe0b2;
}
.pgs-plancompleted .progress .pgs-bar {
  left: -10px;
  bottom: -38px;
}
.pgs-plancompleted .progress .pgs-bar span {
  position: absolute;
  top: -38px;
  left: 7px;
  border-left: 3px solid #9c27b0;
}
.pgs-plancompleted .progress [aria-valuenow="0"] .pgs-bar span {
  border-left: 3px solid #ce93d8;
}

@media (max-width: 1400px) {
  .pgs-scbudget .progress,
  .pgs-plancompleted .progress {
    width: 85%;
  }
  .pgs-scbudget .pgs-end,
  .pgs-plancompleted .pgs-end {
    width: 15%;
  }
}
@media (max-width: 960px) {
  .pgs-scbudget .progress,
  .pgs-plancompleted .progress {
    width: 80%;
  }
  .pgs-scbudget .pgs-end,
  .pgs-plancompleted .pgs-end {
    width: 20%;
  }
}
@media (max-width: 640px) {
  .pgs-scbudget .progress,
  .pgs-plancompleted .progress {
    width: 70%;
  }
  .pgs-scbudget .pgs-end,
  .pgs-plancompleted .pgs-end {
    width: 30%;
  }
}
@media (max-width: 420px) {
  .pgs-scbudget .progress,
  .pgs-plancompleted .progress {
    width: 60%;
  }
  .pgs-scbudget .pgs-end,
  .pgs-plancompleted .pgs-end {
    width: 40%;
  }
}

/* CASENOTE */

.popfly {
  position: absolute;
  z-index: 99;
}
.popfly .inner-popfly {
  position: relative;
  background-color: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
}

.popfly .inner-popfly:after, .popfly .inner-popfly:before {
	bottom: 100%;
	left: 50px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.popfly .inner-popfly:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: rgba(255,255,255,0.9);
	border-width: 10px;
	margin-left: -10px;
}
.popfly .inner-popfly:before {
	border-color: rgba(204, 204, 204, 0);
	border-bottom-color: rgba(0,0,0,0.3);
	border-width: 11px;
	margin-left: -11px;
}

.popfly .buttons {
  clear: both;
  display: inline-block;
  width: 100%;
  margin: 10px 0 -5px 0;
}

/* Dragdrop css start */
.case_note_inner {
  position: relative;
}
#input-case-note {
  height: 300px;
}

.upload-area{
  border: 3px dashed lightgray;
  float: left;
  position: absolute;
  top:5px;
  left:5px;
  bottom:5px;
  right:5px;
  display: none;
}

.upload-area:hover{
    cursor: pointer;
}

.upload-area h1{
  text-align: center;
  font-weight: normal;
  font-family: sans-serif;
  line-height: 50px;
  color: lightgray;
  margin-top:40px;
}

.upload-file {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 2px 8px;
}

#file{
    display: none;
}

.thumbnail{
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;    
    margin: 5px;
    float: left;
}

.size{
    font-size:12px;
    word-break: break-all;
}
.file-upload-list{
	float: left;
	width: 100%;
}
.file-upload-list ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.file-upload-list ul li:first-child{
	padding-top: 5px;
	padding-bottom: 5px;
}
.file-upload-list ul li:last-child{	
	padding-bottom: 0px;
}
.file-upload-list ul li{
	padding-bottom: 5px;
}
.file-upload-list ul li a{
	padding: 0 4px;
    margin-right: 5px;
    border-radius: 100%;
    border: 0;
}
/* Dragdrop css end */

@media (max-width: 420px) {
  #header #button-menu + .navbar-brand {
    margin-right: 0;
  }
  #header .nav > li > a {
    padding: 3px 12px;
  }
}

@media (max-width: 380px) {
  #header #button-menu + .navbar-brand {
    margin-right: 0;
    padding-right: 0;
  }
  #header .nav > li:first-child > a {
    border-left-width: 0;
  }  
  #header .nav > li > a {
    padding: 3px 10px;
  }
}

/* hide left icon */
h3.panel-title .fa {
    display: none;
}
/* hide left icon */

/* Text wrap Contact Page*/
.text-wrap-cus .table.table-extcs tbody > tr > td{
	white-space: inherit;
}
/* Text wrap Contact Page*/
/* Casenote Text Width */
.casenote_billing .table.table-extcs tbody > tr > td{
  white-space: inherit;
}
.cus-case-text{
  max-height: 200px;
  overflow-y: auto;
  white-space: normal;
  display: block;
  width: auto;
}
/* Casenote Text Width */

/**/
.cus-participant-detail .panel-heading h3.panel-title{
  width: 68%;
}
.cus-participant-detail .panel-body{
  overflow-x: scroll;
  width: 100%;
}
.cus-participant-detail .panel-body .col-sm-12{
  white-space: nowrap;
}
@media all and (min-width:991px) and (max-width:1335px) {
  .cus-participant-detail .panel-heading h3.panel-title {
    width: 52%;
    font-size: 14px;
  }
}

.pgs-sscbudget .progress {
  border-top-left-radius: 3px;
  background-color: #96a8b7;
}
.pgs-sscbudget .progress .progress-bar {
  background-color: #337ab7;
  border-left: 3px solid #337ab7;
}
.pgs-sscbudget .progress .pgs-bar span {
  border-left: 3px solid #337ab7;
}
.pgs-sscbudget .pgs-end span{
  border-left: 3px solid #96a8b7;
}
.pgs-scbudget .progress .pgs-bar .pgs-pct {
  position: absolute;
  left: -9px;
  top: 3px;
}
.pgs-scbudget .progress .pgs-bar .pgs-pct100{  
  left: -22px;  
}
.pgs-sscbudget .progress [aria-valuenow="0"] .pgs-bar span {
  border-left: 3px solid #96a8b7;
}
.progress .progress-bar.progress-bar-danger {
  background-color: #000b6b;
  border-left: none;
  border-radius: 0;
}
/* .progress .progress-bar.progress-bar-danger .pgs-bar span{
  border-left: 3px solid #000b6b;
} */
.progress .progress-bar.progress-bar-danger2 {
  background-color: #ff0000;
  border-left: 3px solid #ff0000;
  border-radius: 0;
}
.progress .progress-bar.progress-bar-danger2 .pgs-bar span{
  border-left: 3px solid #ff0000;
}
.progress .progress-bar.progress-bar-incomplete {
  background-color: #ce93d8;
  border-left: 3px solid #ce93d8;
  border-radius: 0;
}
#payment .payment-checkbox-cus{
  width: 13px;
  height: 13px;
  margin: 2px 0 -2px -3px;
}
.fa.fa-envelope-o::after {
  content: "";
  background:
  red;
  width: 2px;
  height: 14px;
  display: inline-block;
  transform: skew(45Deg);
  position: relative;
  left: -6px;
  top: 3px;
}
.red-flag{
  color:red;
}
.color-light-blue{
	background: #add8e6;
}
.browse-all-container.file-upload-list{
  max-height: 200px;
  overflow: auto;
  margin-top: 10px;
}
.attachments .browse-all-container.file-upload-list{
  margin-top: 0;
  float: none;
  padding-left: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: 200px;
}
.attachments .file-upload-list ul li a{
  padding: 0;
}
.attachments .no-file-list{
  text-align: center;
  float: left;
  width: 100%;
  padding-top: 80px;
}

.report-dates {
  max-height: 200px;
  overflow: auto;
}
.report-dates span.col-xs-11.control-label{
  padding-left: 0;
}
.cus-emailed{
  width: 100%;
  float: left;
}

.btn-add-casenote{
  background-color: #800080;
  border-color: #800080;
}
.btn-add-casenote:hover {  
  background-color: #800080;
  border-color: #800080;
}
.btn-casenote-email{
  background-color: #ffa500;
  border-color: #ffa500;
  color: #000;
}
.btn-casenote-email:hover {
  background-color: #ffa500;
  border-color: #ffa500;
  color: #000;
}


.table > tbody > tr > td.pview-del{ padding-right:25px !important; position:relative;}
.table > tbody > tr > td.pview-del .dropdown_delete{ margin: 0; right: 0; top: 5px; height: 20px;}

.tooltip-inner{word-wrap: break-word;}
.no-score{margin-left: 6px;width: 20px;}
.score-red{color: #ff0000;font-size: 15px;}
.score-green{color:#008000;font-size: 15px;}

.casenote-attachment{transform: rotate(220deg);}
.cus-dropdown-div{display: flex;overflow-x: auto;}
.cus-dropdown-data{width: 400px;padding: 10px;flex-shrink: 0;}

.table-hover > tbody > tr.highlight-engagement{
  background: pink;
}
.table-hover > tbody > tr.highlight-engagement:hover{
  background: pink !important;
}
.table-hover > tbody > tr.highlight-engagement:hover td{
  background: pink !important;
}

.time-dropdown{ width: 100px; display: inline;}
#remain-budget-msg {
	border-top: 0px;
	margin-top: 0;
	padding-top: 0;
}

/* Styles for disabled options */
option:disabled {
  color:#80808063; /* Makes the text grey */
}
