/* Xojo.css

   Global CSS Framework customizations

   ©2023 Xojo Inc -- All Rights Reserved */
/* Contextual Menus */
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#343a40;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:active>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}
.dropdown-menu>li.disabled {
		opacity: 0.35;
}

.dropdown-item a {
	text-decoration: none;
}

.dropdown-item .disabled {
	opacity: 0.3;
}

.pill-group>.pill {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.pill-group .pillbox-add-item {
	height: 22px;
	font-size: 12px;
}

.XojoRadioGroup:focus {
	outline: none;
} 

.XojoVideoPlayer video {
	outline: none;
}

/* Move the caret off to the right */
.XojoPopupMenu .dropdown-toggle::after {
	margin-right: -100%;
}

table.dataTable {
    margin: 0 !important;
}

table.dataTable thead td {
	border-bottom: 1px solid #dddddd; 
}
    
table.dataTable tfoot td {
	border-top: 1px solid #dddddd; 
}
    
table.dataTable.no-footer {
	border-bottom: 1px solid #dddddd; 
}

table.dataTable td, table.dataTable th {
    box-sizing: border-box;
}

table.dataTable thead.table-dummy-head {
    position: absolute;
    top: -1000px;
    opacity: 0;
}

.dataTables_scroll .dataTables_scrollHeadInner {
    background-color: #fafafa;
    box-shadow: inset 1px 0 0 2px #dee2e6;
}

.dataTables_scroll .dataTables_scrollHeadInner th {
    background-color: white;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
	border-bottom: 1px solid #dddddd; 
}

.custom-control-inline:last-child {
	margin-right: 0px;
}

/* Hide the scrolling label */
.XojoListBox div.dts_label {
	display: none !important;
}

/* Listbox Sorting Highlights */
.XojoListBox .sorting_1 {
	background-color: rgba(0,0,0,0.05);
}

.XojoListBox .sorting_1 {
	background-color: rgba(0,0,0,0.033334);
}

.XojoListBox .sorting_3 {
	background-color: rgba(0,0,0,0.0166667);
}

.XojoListBox tbody td {
	-webkit-user-select:none; 
	-moz-user-select:none; 
	-ms-user-select:none;
	user-select: none;
}

.XojoListBox tbody tr.buffer td {
	padding: 0px;
}

/* Toolbar */
@media (min-width: 768px) {
    .nav-item.xojo-toolbar-flexible-space {
        margin-left: auto;
    }
}

.XojoToolbar nav.navbar {
    z-index: 1030;
}

/* TextArea */
.XojoTextArea {
    display: flex;
    flex-direction: column;
}

/* DatePicker */
.datepicker .datepicker-days .disabled.day {
    cursor: not-allowed;
}

.datepicker .datepicker-days .old.day,
.datepicker .datepicker-days .new.day {
    visibility: hidden;
}

