html, body 
{
	height: 100%;
}

body:not(.login) 
{
  /*min-height: 75rem;*/
  padding-top: 4.5rem;
}

body.login 
{
	display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

body.login footer 
{
  position: fixed;
  bottom: 0;
  font-size: 0.8rem;
}

.text-warning 
{
  color: #c107ff !important;
}

hr.d-md-none 
{
  border: none;
  margin: 0;
  margin-top: 0.5rem !important;
}

.navbar 
{
  z-index: 10 !important;
  background-color: #aac136 !important;
}

.navbar-nav .nav-item .nav-link 
{
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 7rem;
}

.navbar-brand 
{
    padding-left: 50px;
    background: url(../img/logo_w.png) no-repeat;
    background-size: contain;
}

nav .dropdown-menu .dropdown-item 
{
  padding: 0;
}

nav .dropdown-menu .dropdown-item > a 
{
  display: inline-block;
  padding: .25rem 1.5rem;
}

.dropdown-item.active a, 
.dropdown-item:active a 
{
  color: #fff;
}

.dropdown-menu-sm 
{
  min-width: 3rem;
}

.dropdown-menu-sm .dropdown-item 
{
  min-height: 1.5rem;
  line-height: 1.5rem;
  font-size: small;
  padding: 0 1rem;
}

.bootstrap-datetimepicker-widget table.table tr:first-child th 
{
	border-color: #fff;
}

.custom-control-label 
{
	padding-top: 3px;
}

.dropdown-item .custom-control-label 
{
	padding-top: 0;
}

input.form-control 
{
  min-width: 2.5rem !important;
}

textarea.form-control 
{
  min-width: 5rem !important;
  /*line-height: inherit;*/
}

.selectize-control .selectize-input.disabled 
{
  opacity: 1;
  border: none;
}

.selectize-control.single .selectize-input.disabled:after 
{
  display: none;
}

.selectize-input 
{
  height: 2.4rem;
  max-width: 100% !important;
}

.selectize-input>* 
{
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  min-width: 10rem;
  width: 100%;
  padding-right: 1.5rem;
}

.selectize-control.form-control 
{
  white-space: nowrap;
}

.text-omit 
{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

ul.nav-tabs li a.active 
{
  background-color: #dee2e6;
}

table.table.table-input input[type=text] 
{
  border: none;
  background: transparent;
}

table.table.table-bordered table, 
table.table.table-bordered table tr, 
table.table.table-bordered table th, 
table.table.table-bordered table td 
{
  background-color: transparent;
}

table.table-striped tbody tr:nth-of-type(odd) 
{
  background-color: rgba(0, 0, 0, .03);
}

table.table-v-striped tbody tr th:nth-of-type(odd), 
table.table-v-striped tbody tr td:nth-of-type(odd) 
{
  background-color: rgba(0, 0, 0, .03);
}

table.table.table-bordered table th, 
table.table.table-bordered table td 
{
  border-top: 0;
  border-left: 0;
}

table.table.table-bordered table thead tr 
{
  line-height: 1;
}

table.table.table-bordered table thead tr th 
{
  font-size: x-small;
  text-align: center;
}


table.table.table-bordered table tr:last-child th, 
table.table.table-bordered table tr:last-child td 
{
  border-bottom: 0;
}

table.table.table-bordered table tr th:last-child, 
table.table.table-bordered table tr td:last-child 
{
  border-right: 0;
}

table.table thead tr th 
{
  vertical-align: middle;
}

table.table thead tr.sizing th 
{
  padding: 0;
  margin: 0;
}

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

table.table tbody tr.day 
{
  background-color: #aac136;
}

table.table tbody tr.day th 
{
  text-align: center;
}

table.table tbody tr.am td, 
table.table tbody tr.pm td 
{
  min-width: 200px;
  padding-bottom: 40px;
  position: relative;
  font-size: 11px;
}

table.table.week, 
table.table.day,
table.table.month 
{
  table-layout: fixed;
}

table.table tbody tr.am th, 
table.table tbody tr.pm th 
{
  font-size: x-small;
  padding: 0;
}

table.table tbody tr.am td, 
table.table tbody tr.pm td 
{
  padding: 0;
}

table.table tbody tr.am td .custs, 
table.table tbody tr.pm td .custs 
{
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 2rem;
}

table.table tbody tr.am td .custs > .row, 
table.table tbody tr.pm td .custs > .row 
{
  padding: 3px;
  min-height: 2.4rem;
}

table.table tbody tr.am td .add, 
table.table tbody tr.pm td .add 
{
  position: absolute;
  bottom: 0;
  left: 0;
}

table.table tbody tr.am td .off, 
table.table tbody tr.pm td .off 
{
  background: #ddd;
  padding: 2px 3px;
  width: 100%;
  display: flex;
}

table.table tbody tr.am td .off > div, 
table.table tbody tr.pm td .off > div 
{
  margin-left: 4px;
  overflow: auto;
  /*white-space: nowrap;*/
  height: 2rem;
}

table.table tbody tr.am td .off .text-warning, 
table.table tbody tr.pm td .off .text-warning 
{
  color: #ff8707 !important;
}

table.table tbody tr td span.staff_names span:not(:last-child) 
{
  margin-right: 3px;
}

table.table tbody tr td span.staff_names .is_leader 
{
  background: #9cf;
}

table.table tbody tr td span.staff_names .is_employee, 
table.table tbody tr.am td .off .is_employee, 
table.table tbody tr.pm td .off .is_employee 
{
  background: #0c0;
}

table.table tbody tr.am td .row, 
table.table tbody tr.pm td .row 
{
  padding-top: 4px;
  padding-bottom: 4px;
}

table.table tbody tr.am td .row > div, 
table.table tbody tr.pm td .row > div 
{
  padding: 0;
  margin: 0;
}

table.table tbody tr.am td .row:not(:last-child), 
table.table tbody tr.pm td .row:not(:last-child) 
{
  border-bottom: 1px solid #ddd;
  /*margin-bottom: 5px;*/
}

table.table tbody tr.am td .row a i, 
table.table tbody tr.pm td .row a i 
{
  font-size: 0.85rem;
}

table.table:not(.staff) tbody tr.am td .row strong a, 
table.table:not(.staff) tbody tr.pm td .row strong a 
{
  color: #000;
}

table.table:not(.staff) tbody tr.am td .row strong.j, 
table.table:not(.staff) tbody tr.pm td .row strong.j 
{
  background: transparent;
}

table.table:not(.staff) tbody tr.am td .row strong.e, 
table.table:not(.staff) tbody tr.pm td .row strong.e 
{
  background: #6af;
}

table.table:not(.staff) tbody tr.am td .row strong.w, 
table.table:not(.staff) tbody tr.pm td .row strong.w 
{
  background: #fa0;
}

table.table:not(.staff) tbody tr.am td .row strong.o, 
table.table:not(.staff) tbody tr.pm td .row strong.o 
{
  background: #f6a;
}

table.table:not(.staff) tbody tr.am td .row strong.m, 
table.table:not(.staff) tbody tr.pm td .row strong.m 
{
  background: #0f6;
}

table.table tbody tr.am td .row span.img, 
table.table tbody tr.pm td .row span.img 
{
  position: absolute;
  bottom: 0;
  right: 0;
}

table.table.staff tbody tr.am td .row span.img i.fa-camera, 
table.table.staff tbody tr.pm td .row span.img i.fa-camera 
{
  display: none;
}

table.table tbody tr.am td .row span.grip, 
table.table tbody tr.pm td .row span.grip 
{
  display: none;
}

table.table tbody tr.am td .sortable .row:hover span.grip, 
table.table tbody tr.pm td .sortable .row:hover span.grip 
{
  display: inline-block;
  position: absolute;
  top: 0;
  right: 3px;
  cursor: pointer;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

table.table.table-sticky 
{
  display: block;
  overflow-y: scroll;
  height: calc(100vh/2);
  border-collapse: separate;
  border-spacing: 0;
}
table.table.table-sticky thead tr th 
{
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
table.table.table-sticky thead tr th.sticky:first-child 
{
  left: 0;
}
table.table.table-sticky tbody tr td.sticky 
{
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

table.table.table-sticky tbody tr.odd td.sticky 
{
  background: #f7f7f7;
}

table.table.table-sticky tbody tr.table-danger>th, 
table.table.table-sticky tbody tr.table-danger>td 
{
  background: #fbebec;
  border-color: #f2b5bb;
}

table.table.table-sticky tbody tr.table-danger td.sticky 
{
  background: #fbebec;
  border-color: #f2b5bb;
}

table.table.table-sticky thead tr th:not(.no-before):before, 
table.table.table-sticky tbody tr td:not(.no-before).sticky:before 
{
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
} 

table.table.table-sticky thead tr th.sticky 
{
  z-index: 2;
}

table.table.table-sticky thead tr:nth-child(2) th 
{
  top: 35px;
}

body.clock table.table.table-sticky, 
body.sale table.table.table-sticky 
{
  height: 75vh;
}

.table-dark td, .table-dark th, .table-dark thead th 
{
  border-color: inherit;
}

.modal .modal-title 
{
  white-space: nowrap;
  overflow-x: auto;
}
.modal .modal-dialog
{
    overflow-y: initial !important
}
.modal .modal-body
{
    max-height: calc(100vh - 240px);
    overflow-y: auto;
}

.modal .modal-body .d-flex > figure 
{
  position: relative;
  padding-top: 5px;
  text-align: center;
  overflow: auto;
  white-space: nowrap;
  width: calc(100%/3);
  margin: 0;
}

body.cust .modal .modal-body .d-flex > figure 
{
  width: calc(100%/4);
}

.modal .modal-body .d-flex > figure > figcaption 
{
  line-height: 2rem;
}

.modal .modal-body .d-flex > figure > figcaption em 
{
  opacity: 0.7;
  font-size: 0.8rem;
}

.modal .modal-body .d-flex > figure i 
{
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  display: none;
}

.modal .modal-body .d-flex > figure:hover > i 
{
  display: block;
}

.modal .modal-body .d-flex > figure.upf 
{
  align-items: center;
}

.modal .modal-body .d-flex > figure.upf .upf-btn 
{
  display: flex;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #aac136;
  color: #fff;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  width: 100%;
  height: calc(100% - 2rem);
  min-height: 7rem;
  max-width: 160px;
  margin: 0 auto 4px;
}

.modal .modal-body .d-flex > figure.upf .upf-btn:hover 
{
  opacity: .7;
}

.modal .modal-body .d-flex > figure.upf .upf-file 
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.modal .modal-body .d-flex > figure.upf .upf-text 
{
  display: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.modal .modal-body .nav.sticky-top 
{
  background: #fff;
}

body.clock .selectize-dropdown, 
body.clock .selectize-input 
{
  width: 180px;
}

body.clock .selectize-dropdown 
{
  z-index: 9999 !important;
}

body.clock main table.table[data-salary=comm] td:nth-child(1) 
{
  width: 10%;
}

body.clock main table.table[data-salary=comm] td:nth-child(2) 
{
  width: 15%;
}

body.clock main table.table[data-salary=comm] td:nth-child(3) 
{
  width: 15%;
}

body.clock main table.table[data-salary=comm] td:nth-child(4) 
{
  width: 50%;
}

body.clock main table.table[data-salary=comm] td:nth-child(4) table td:nth-child(1) 
{
  width: 50%;
}

body.clock main table.table[data-salary=comm] td:nth-child(4) table td:nth-child(2) 
{
  width: 15%;
}

body.clock main table.table[data-salary=comm] td:nth-child(4) table td:nth-child(3) 
{
  width: 35%;
}

body.clock main table.table[data-salary=hour] td:nth-child(1) 
{
  width: 33%;
}

body.clock main table.table[data-salary=hour] td:nth-child(2) 
{
  width: 33%;
}

body.clock main table.table[data-salary=hour] td:nth-child(3) 
{
  width: 34%;
}

.clock main table.table th.tg, 
.clock main table.table td.tg, 
.sale main table.table th.tg, 
.sale main table.table td.tg 
{
  display: none;
}

body.clock main table.table .sticky.c1 i 
{
  position: absolute;
  right: 1px;
  bottom: 1px;
  font-size: x-small;
}

body.clock main table.table .sticky.c1 
{
  min-width: 5rem;
}

body.clock main table.table .sticky.c2, 
body.clock main table.table .sticky.c2s 
{
  min-width: 4rem;
}

body.clock main table.table .sticky.c3, 
body.clock main table.table .sticky.c3s 
{
  min-width: 3rem;
}

body.clock main table.table .sticky.c4, 
body.clock main table.table .sticky.c4s 
{
  min-width: 3rem;
}


body.clock main table.table .sticky.c2, 
body.clock main table.table .sticky.c3s 
{
  left: 5.1rem;
}

body.clock main table.table .sticky.c3 
{
  left: 9rem;
}

body.clock main table.table .sticky.c4 
{
  left: 12rem;
}

body.clock main table.table .sticky.c4s 
{
  left: 8.1rem;
}

body.clock main table.table .sticky.c5 
{
  left: 15rem;
}

body.clock main table.table .sticky.c5s 
{
  left: 11rem;
}

body.clock main table.table .sticky.c6 
{
  left: 20rem;
}

body.clock main table.table .sticky.c6s 
{
  left: 15.7rem;
}

body.sale main table.table .sticky.c1 
{
  min-width: 1.5rem;
}

body.sale main table.table .sticky.c2, 
body.sale main table.table .sticky.c2s 
{
  min-width: 5rem;
}

body.sale main table.table .sticky.c3, 
body.sale main table.table .sticky.c3s 
{
  min-width: 5.6rem;
}

body.sale main table.table .sticky.c4, 
body.sale main table.table .sticky.c4s 
{
  min-width: 5rem;
}


body.sale main table.table .sticky.c2, 
body.sale main table.table .sticky.c3s 
{
  left: 1.7rem;
}

body.sale main table.table .sticky.c3 
{
  left: 6.8rem;
}

body.sale main table.table .sticky.c4 
{
  left: 12.4rem;
}

body.sale main table.table .sticky.c4s 
{
  left: 7.4rem;
}

body.clock main table.table td, 
body.sale main table.table td 
{
  vertical-align: middle;
}

body.clock main table.table td.people, 
body.clock main table.table td.cost, 
body.clock main table.table td.wage, 
body.clock main table.table td.pay_hour, 
body.sale main table.table td.people, 
body.sale main table.table td.price 
{
  padding: 0 1px;
  text-align: center;
  position: relative;
}

body.clock main table.table td.cost, 
body.clock main table.table td.wage, 
body.sale main table.table td.price 
{
  color: rgba(108,117,125,.6);
  font-size: 11px;
  text-align: right;
}

body.clock main table.table td.carfare input[type=number] 
{
  text-align: right;
  width: 4rem;
  background: transparent;
  display: inline;
}

body.clock main table.table td.people input[type=number], 
body.sale main table.table td.people input[type=number] 
{
  text-align: center;
  width: 3.5rem;
  border: 1px solid rgba(220, 53, 69, .3);
  background: transparent;
  display: inline;
}

body.clock main table.table td.cost input[type=number], 
body.sale main table.table td.price input[type=number] 
{
  text-align: right;
  width: 4rem;
  border: none;
  background: transparent;
  padding: 0;
}

body.clock main table.table td.people input[type=number]:hover, 
body.sale main table.table td.people input[type=number]:hover 
{
  background: rgba(220, 53, 69, .3);
  border: none;
}

body.clock main table.table td.people span.badge 
{
  position: absolute;
  top: 0;
  left: 0;
  opacity: .7;
  display: none;
}

body.clock .modal .tab-content td 
{
  position: relative;
}

body.sale main table.table-bordered table.table td:nth-child(1) 
{
  width: 20%;
}

body.sale main table.table-bordered table.table td:nth-child(2) 
{
  width: 80%;
}

body.sale main table.table-bordered table.table table.table td:nth-child(1) 
{
  width: 40%;
}

body.sale main table.table-bordered table.table table.table td:nth-child(2) 
{
  width: 10%;
}

body.sale main table.table-bordered table.table table.table td:nth-child(3) 
{
  width: 25%;
}

body.sale main table.table-bordered table.table table.table td:nth-child(4) 
{
  width: 25%;
}

body.cust table.table tbody tr td span.grip, 
body.staff table.table tbody tr td span.grip, 
body.menu table.table tbody tr td span.grip 
{
  display: table-cell;
  vertical-align: middle;
  color: #999;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

body.clock input.has_people, 
body.sale input.has_people 
{
  font-weight: bold;
  background-color: #bfdeff !important;
}

body.clock input.is_changed, 
body.staff_menu input.is_changed, 
body.sale input.is_changed 
{
  font-weight: normal;
  color: #f8f9fa !important;
  background-color: #dc3545 !important;
}

body.sale .total_menus:not(:first-child) 
{
  margin-left: 10px;
}

.input-group 
{
  align-self: flex-start;
}

select.form-control.disabled 
{
  pointer-events: none;
}

.input-group>.custom-file, 
.input-group>.custom-select, 
.input-group>.form-control, 
.input-group>.form-control-plaintext 
{
  padding-right: .2rem;
  padding-left: .2rem;
  height: auto;
}

.input-group.datepicker 
{
  max-width: 180px !important;
}

.form-control.datetimepicker-input:disabled, .form-control.datetimepicker-input[disabled] 
{
  color: rgba(0, 0, 0, .26);
}

.ympicker 
{
  max-width: 130px !important;
}

.datetimepicker-input 
{
  text-align: center;
}

.pagination 
{
  max-width: 100%;
  overflow: auto;
}

.pagination span.page-link 
{
  color: inherit;
}

.pagination span.page-link:hover 
{
  background-color: inherit;
  border-color: inherit;
}

.reversed { padding: 3rem 0 0 0; }
.reversed .control-label { margin: -4.5rem 0 0 0; float: left; }
input.is-valid ~ label { color: #33ff33; }
input.is-invalid ~ label { color: #ff3333; }
select.is-invalid ~ label { color: #ff3333; }

.form-control.is-valid, 
.was-validated .form-control:valid 
{
  background-image: none;
}

.custom-switch .custom-control-input:checked~.custom-control-label::after 
{
  background-color: rgba(255, 255, 255, 1);
}

.selectize-input input[type=select-one]::placeholder 
{
  color: #d0d0d0 !important;
}

body.shift main .table-bordered td, 
body.shift main .table-bordered th 
{
  border: 1px solid #212529;
}

body.shift main .table-bordered tr.sizing th 
{
  border: none;
}

body.shift main .table-bordered tr.am td:nth-child(even) 
{
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

body.shift main .table-bordered tr.am td:nth-child(odd) 
{
  border-left: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  background-color: rgba(0, 0, 0, .03);
}

body.shift main .table-bordered tr.pm td:nth-child(even) 
{
  border-right: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
}

body.shift main .table-bordered tr.pm td:nth-child(odd) 
{
  border-left: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
  background-color: rgba(0, 0, 0, .03);
}

body.shift main .table-bordered tr.am th 
{
  border-bottom: 1px solid #dee2e6;
}

body.shift main .table-bordered tr.pm th 
{
  border-top: 1px solid #dee2e6;
}

body.shift table.table:not(.staff) tbody tr.am td .row.cal_0, 
body.shift table.table:not(.staff) tbody tr.pm td .row.cal_0 
{
  background: rgba(0,160,64,0.2);
}

body.shift table.table:not(.staff) tbody tr.am td .row.cal_2, 
body.shift table.table:not(.staff) tbody tr.pm td .row.cal_2 
{
  background: rgba(100,0,160,0.1);
}

body.shift table.table.staff tbody tr.am td .row.staff_on, 
body.shift table.table.staff tbody tr.pm td .row.staff_on 
{
  background: rgba(255,0,0,0.2);
}

body.cal_corp .table-bordered:not(.table-sm) td, 
body.cal_corp .table-bordered:not(.table-sm) th 
{
  border: 1px solid #212529;
}

body.cal_corp .table-bordered:not(.table-sm) tr.sizing th 
{
  border: none;
}

body.cal_corp .table-bordered:not(.table-sm) tr.am th, 
body.cal_corp .table-bordered:not(.table-sm) tr.am td 
{
  border-bottom: 1px solid #dee2e6;
}

body.cal_corp .table-bordered:not(.table-sm) tr.pm th, 
body.cal_corp .table-bordered:not(.table-sm) tr.pm td 
{
  border-top: 1px solid #dee2e6;
}

body.cal_corp table.table tbody tr.am td .row.odd_even_1, 
body.cal_corp table.table tbody tr.pm td .row.odd_even_1 
{
  background: rgba(3,169,244,0.2);
}

body.cal_corp table.table tbody tr.am td .row.odd_even_2, 
body.cal_corp table.table tbody tr.pm td .row.odd_even_2 
{
  background: rgba(244,67,54,0.2);
}

body.cal_corp .table-bordered:not(.table-sm) tr:nth-child(n+4):nth-child(-n+5) 
{
  background-color: rgba(0, 0, 0, .03);
}

body.cal_corp .table-bordered:not(.table-sm) tr:nth-child(n+6):nth-child(-n+7) 
{
  background-color: rgba(0, 0, 0, .06);
}

body.cal_corp .table-bordered:not(.table-sm) tr:nth-child(n+8):nth-child(-n+9) 
{
  background-color: rgba(0, 0, 0, .09);
}

body.cal_corp .table-bordered:not(.table-sm) tr:nth-child(n+10):nth-child(-n+11) 
{
  background-color: rgba(0, 0, 0, .12);
}

body.cal_staff .table-bordered:not(.table-sm) td, 
body.cal_staff .table-bordered:not(.table-sm) th 
{
  border: 1px solid #212529;
}

body.cal_staff .table-bordered:not(.table-sm) tr.sizing th 
{
  border: none;
}

body.file span.grip 
{
  cursor: pointer;
  width: 2em;
  text-align: center;
  color: rgba(0,0,0,.125);
  background: rgba(0,0,0,.125);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.file .ui-widget.ui-widget-content 
{
  border-top: none;
  border-right: none;
  border-left: none;
}

body.corp_calendar table th, 
body.corp_calendar table td 
{
  width: 20%;
}

body.corp_calendar small 
{
  display: block;
  height: 1.4rem;
}

.form-control.mw8 
{
  min-width: 8rem !important;
}

.form-control.mw4 
{
  min-width: 4rem !important;
}

.form-control::placeholder 
{
  color: #d0d0d0 !important;
}

.table .form-check 
{
  margin: 0;
  padding: 0;
}

.table .form-check .form-check-input 
{
  position: relative;
  margin: 0;
  padding: 0;
}

.form-check.disabled, 
.form-check-input.disabled 
{
  pointer-events: none;
}

.form-control:disabled, .form-control[readonly] 
{
  background-color: inherit;
  opacity: inherit;
}

.form-control:disabled:not(.form-control-plaintext), .form-control[readonly]:not(.form-control-plaintext) 
{
  background-color: #e9ecef;
  opacity: 1;
}

table.corp_cards, 
table.priv_cards 
{
  margin-bottom: 0;
}

table.corp_voices tbody td, 
table.corp_cards tbody td, 
table.priv_cards tbody td 
{
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 2.4;
}

table.corp_voices tbody td .form-control, 
table.corp_cards tbody td .form-control, 
table.priv_cards tbody td .form-control 
{
  margin: 0;
  padding: 0 2px;
  border: none;
  background: transparent;
}

table.corp_cards tbody td input[name^=user_name].form-control, 
table.priv_cards tbody td input[name^=user_name].form-control 
{
  width: 8rem;
}

table.corp_cards tbody td select.form-control, 
table.priv_cards tbody td select.form-control 
{
  width: 4rem;
}

table.corp_cards tbody td select[name^=card_staff_id].form-control, 
table.priv_cards tbody td select[name^=card_staff_id].form-control 
{
  width: 5rem;
}

table.corp_cards tbody td textarea.form-control 
{
  width: 10rem;
  height: 5rem;
}

table.priv_cards tbody td textarea.form-control 
{
  width: 8rem;
  height: 5rem;
}

table.corp_cards tbody .table-warning td textarea[name^=card_memo].form-control, 
table.priv_cards tbody .table-warning td textarea[name^=card_memo].form-control 
{
  color: #dc3545;
}

table.corp_voices tbody td a.del-voice_date, 
table.corp_cards tbody td a.del-card_date, 
table.priv_cards tbody td a.del-card_date 
{
  position: absolute;
  bottom: 0;
  left: 3px;
  line-height: 0;
  color: rgba(220, 53, 69, 0.7) !important;
  font-size: small;
}

a[aria-expanded='true'] > .fa-caret-right 
{
  transform: rotate(90deg);
}

a[data-toggle='modal'].disabled 
{
  pointer-events: none;
}

.btn-outline-secondary:hover 
{
  color: initial;
  background-color: initial;
  border-color: initial;
}

.toast-memo 
{
  position: fixed;
  top: 60px;
  right: 5px;
  z-index: 9999;
}

ul.tagit 
{
  margin-bottom: 0;
}

.go2top 
{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: -50px;
  background: #aac136;
  opacity: 0.8;
}
.go2top a 
{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
.go2top a::before 
{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  line-height: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}