.modal.show .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}
.fade.show{opacity:1}
.collapse.show{display:block}
tr.collapse.show{display:table-row}
tbody.collapse.show{display:table-row-group}
.navbar-collapse.show{overflow-y:auto}
@media (min-width:768px){
  .navbar-collapse.show{overflow-y:visible}
}
.modal-backdrop.show{opacity:.5;filter:alpha(opacity=50)}
.tooltip.show{opacity:.9;filter:alpha(opacity=90)}

//.popover{ display:block; }
//.show{display:inherit;}
.btn-group.show{ display: inline-block !important; }
.navbar-inverse .navbar-nav>.show>a, .navbar-inverse .navbar-nav>.show>a:focus, .navbar-inverse .navbar-nav>.show>a:hover {
    background-color: #e6e6e6;
    color: #333;
}


.dropdown-menu[x-placement^=bottom], .dropdown-menu[x-placement^=left], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=top] {
    right: auto;
    bottom: auto;
}


/* popover and tooltip arrow fix */
//.bs-tooltip-left .tooltip-arrow { width: auto;top: 50%;left: -5px;margin-top: -5px;border-width: 5px 5px 5px 0;border-right-color: #000;}
.bs-tooltip-left .arrow { width: auto;top: 50%;left: -5px;margin-top: 1px;border-width: 5px 5px 5px 0;border-right-color: #000;height: 11px;}
.bs-tooltip-right .arrow{ width: auto;top: 50%;right: -5px;margin-top: 1px;border-width: 5px 0 5px 5px;border-left-color: #000;height: 11px;}
.bs-tooltip-top .arrow {  width: 11px;bottom: -10px;left: 50% !important;margin-left: -5px;border-width: 5px 5px 0;border-top-color: #000;height: 11px;}
.bs-tooltip-bottom .arrow {  width: 11px;top: -10px;left: 50% !important;margin-left: -5px;border-width: 0 5px 5px;border-bottom-color: #000;height: 11px;}


.bs-popover-left .arrow{  overflow: inherit; left: -21px; border-right-color: rgba(0,0,0,.25); }
.bs-popover-left .arrow:after{ left: -9px; top: -10px; border-right-color: #fff; }
.bs-popover-right .arrow{  overflow: inherit; right: -21px; border-left-color: rgba(0,0,0,.25); }
.bs-popover-right .arrow:after{ right: -9px; top: -10px; border-left-color: #fff; }

.bs-popover-bottom .arrow{  overflow: inherit; top: -21px; border-bottom-color: rgba(0,0,0,.25); }
.bs-popover-bottom .arrow:after{ left: -10px; top: -9px; border-bottom-color: #fff; }
.bs-popover-top .arrow{  overflow: inherit; bottom: -21px; border-top-color: rgba(0,0,0,.25); }
.bs-popover-top .arrow:after{ left: -10px; top: -11px; border-top-color: #fff; }


.bs-popover-auto[x-placement^=right] .arrow{overflow: inherit;width: .5rem;height: 1rem;margin: .3rem 0;
    left: calc((.5rem + 1px) * -1);
    left: -21px; border-right-color: rgba(0,0,0,.25);
}
.bs-popover-auto[x-placement^=right] .arrow:after{ left: -9px; top: -10px; border-right-color: #fff; }

.bs-popover-auto[x-placement^=left] .arrow { overflow: inherit;width: .5rem;height: 1rem;margin: .3rem 0;
    right: calc((.5rem + 1px) * -1);
    border-left-color: rgba(0,0,0,.25);right: -21px;
}
.bs-popover-auto[x-placement^=left] .arrow:after{ right: -9px; top: -10px; border-left-color: #fff; }



/* bootstrap 4 datepicker color patch*/
.ui-datepicker .ui-datepicker-header{     background-color: #f5f5f5; }
.ui-datepicker .ui-state-default, .ui-widget-content .ui-state-default{
	background: #fff;
}