/********************************* FOR DATATABLES *********************************/
table.dataTable tbody th.pt-body-left,
table.dataTable tbody td.pt-body-left {
  text-align: left;
}
table.dataTable tbody th.pt-body-center,
table.dataTable tbody td.pt-body-center {
  text-align: center;
}
table.dataTable tbody th.pt-body-right,
table.dataTable tbody td.pt-body-right {
  text-align: right;
}
table.dataTable tbody, table.dataTable thead, table.dataTable tfoot {
	font-size: 0.9em;
}
table.dataTable tbody td {
	vertical-align: middle;
}

/********************************** body {font-size: 0.85em;} **********************************/
.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
	border: 0px;
}

/********************************* SWITCH *********************************/
.switch {
  font-size: 1rem;
  position: relative;
}
.switch input {
  position: absolute;
  height: 1px;
  width: 1px;
  background: none;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
}
.switch input + label {
  position: relative;
  min-width: calc(calc(2.375rem * .8) * 2);
  border-radius: calc(2.375rem * .8);
  height: calc(2.375rem * .8);
  line-height: calc(2.375rem * .8);
  display: inline-block;
  cursor: pointer;
  outline: none;
  user-select: none;
  vertical-align: middle;
  text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}
.switch input + label::before,
.switch input + label::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(calc(2.375rem * .8) * 2);
  bottom: 0;
  display: block;
}
.switch input + label::before {
  right: 0;
  background-color: #dee2e6;
  border-radius: calc(2.375rem * .8);
  transition: 0.2s all;
}
.switch input + label::after {
  top: 2px;
  left: 2px;
  width: calc(calc(2.375rem * .8) - calc(2px * 2));
  height: calc(calc(2.375rem * .8) - calc(2px * 2));
  border-radius: 50%;
  background-color: white;
  transition: 0.2s all;
}
.switch input:checked + label::before {
  background-color: #08d;
}
.switch input:checked + label::after {
  margin-left: calc(2.375rem * .8);
}
.switch input:focus + label::before {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}
.switch input:disabled + label {
  color: #868e96;
  cursor: not-allowed;
}
.switch input:disabled + label::before {
  background-color: #e9ecef;
}
.switch.switch-sm {
  font-size: 0.875rem;
}
.switch.switch-sm input + label {
  min-width: calc(calc(1.9375rem * .8) * 2);
  height: calc(1.9375rem * .8);
  line-height: calc(1.9375rem * .8);
  text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
}
.switch.switch-sm input + label::before {
  width: calc(calc(1.9375rem * .8) * 2);
}
.switch.switch-sm input + label::after {
  width: calc(calc(1.9375rem * .8) - calc(2px * 2));
  height: calc(calc(1.9375rem * .8) - calc(2px * 2));
}
.switch.switch-sm input:checked + label::after {
  margin-left: calc(1.9375rem * .8);
}
.switch.switch-lg {
  font-size: 1.25rem;
}
.switch.switch-lg input + label {
  min-width: calc(calc(3rem * .8) * 2);
  height: calc(3rem * .8);
  line-height: calc(3rem * .8);
  text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
}
.switch.switch-lg input + label::before {
  width: calc(calc(3rem * .8) * 2);
}
.switch.switch-lg input + label::after {
  width: calc(calc(3rem * .8) - calc(2px * 2));
  height: calc(calc(3rem * .8) - calc(2px * 2));
}
.switch.switch-lg input:checked + label::after {
  margin-left: calc(3rem * .8);
}
.switch + .switch {
  margin-left: 1rem;
}
/*
body {
  padding: 1rem;
} */

/********************************* DROPDOWN MENU *********************************/
.dropdown-menu {
  margin-top: .75rem;
}

/********************************* ORGCHART *********************************/
#chart-container {
  position: relative;
  display: inline-block;
  top: 10px;
  left: 10px;
  height: 550px;
  width: calc(100% - 24px);
  border: 1px dashed #aaa;
  border-radius: 5px;
  overflow: auto;
  text-align: center;
}
.orgchart { background: white; }
.orgchart .node { width: auto;}
.orgchart .node .title { padding: 0 10px 0 10px; }
.orgchart .node .content { padding: 0 10px 0 10px; }
.orgchart .node .title .symbol { padding-right: 5px; }
/*.orgchart .node .title { height: 20px; position: relative; width: 200px; }
.orgchart .node .content { height: 40px; line-height: 3; } */

/********************************* PADDING FOR PERMISSION *********************************/
.pdl-1 { padding-left:50px; }
.pdl-2 { padding-left:100px; }

.cal_day { 
	text-align:right;
	font-size:1.2em;
}
.cal_activity { 
	font-weight:200;
	font-size:0.7em;
	margin-top:5px;
}
.txt_description {
	font-weight:200;
	font-size:0.75em;
}
.txt_err {
	font-size:0.75em;
}

.eta_grpview {
	font-size:0.75em;
	height: 88%; 
	overflow: auto;
}
.eta_grpview a {cursor:pointer; }
.eta_usrview {
	font-size:0.75em;
	height: 88%; 
	overflow: auto;
}
.eta_usrview a {cursor:pointer; }
.eta_usrselectview {
	font-size:0.75em;
	height: 100%; 
	overflow: auto;
}
.eta_usr_nallow { cursor:not-allowed; }
.eta_usr_hand { cursor:pointer; }

.thin-fnt {font-weight:200;}

.quest-id-result {
	height: 260px;
	overflow: auto;
}