/* Sizing */
#wrapper {
    height: 100vh;
}

/* Used for turning divs into square */
.square-20 {
    height: 20px;
    width: 20px;
}

/* Make links stay the same color with no underline */
.discrete-a {
    text-decoration: none;
    color: inherit;
}

.discrete-a:hover {
    text-decoration: none;
    color: inherit;
}

/* Make sure pre elements wrap to not break box sizing */
/* Note: the pre element or parent may need to use the text-break class as well */
.pre-wrap {
    white-space: pre-wrap;
}

/* Allow for sidebar to be small, but also resize on small screens */
.sidebar {
    min-width: 200px;
}

/* Rotating arrows when dropdown happens */
i.fas.rotate {
    transition: transform 0.3s ease-in-out;
}

a[aria-expanded="true"] > i.rotate {
    transform: rotate(180deg);
}
/* End rotating arrows */

/* Start breadcrumbs for workflow */
#topPagination .topcrumb {
    flex: 1 1 0;
    display: flex;
    align-content: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-left: none;
}

.topcrumb > span {
    color: #343a40;
    cursor: default;
}

.topcrumb.active > span {
    background: #007bff;
    color: white;
}

.topcrumb.disabled > span {
    color: #6c757d;
    background: #f8f9fa;
}

/* Booking Node Styles */
.selected_node {
    border-color: #40c640;
    box-shadow: 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(109, 243, 76, 0.6);
    transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s;
}

/* Cursor effects */
.not-allowed {
    cursor: not-allowed;
}

.z-2 {
    z-index: 2;
}

.mh-30vh {
    max-height: 30vh;
}

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

/* Graphing for networks */
div.mxRubberband {
    position: absolute;
    overflow: hidden;
    border-style: solid;
    border-width: 1px;
    border-color: #0000FF;
    background: #0077FF;
}
.mxCellEditor {
    background: url(data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7);
    _background: url('/static/img/mxgraph/transparent.gif');
    border-color: transparent;
    border-style: solid;
    display: inline-block;
    position: absolute;
    overflow: visible;
    word-wrap: normal;
    border-width: 0;
    min-width: 1px;
    resize: none;
    padding: 0px;
    margin: 0px;
}
.mxPlainTextEditor * {
    padding: 0px;
    margin: 0px;
}
div.mxWindow {
    background: url('../img/mxgraph/window.gif');
    border:1px solid #c3c3c3;
    position: absolute;
    overflow: hidden;
    z-index: 3;
}
table.mxWindow {
    border-collapse: collapse;
    table-layout: fixed;
      font-family: Arial;
    font-size: 8pt;
}
td.mxWindowTitle {
    background: url('/static/img/mxgraph/window-title.gif') repeat-x;
    text-overflow: ellipsis;
    white-space: nowrap;
     text-align: center;
     font-weight: bold;
     overflow: hidden;
    height: 13px;
    padding: 2px;
     padding-top: 4px;
     padding-bottom: 6px;
     color: black;
}
td.mxWindowPane {
    vertical-align: top;
    padding: 0px;
}
div.mxWindowPane {
    overflow: hidden;
    position: relative;
}
td.mxWindowPane td {
      font-family: Arial;
    font-size: 8pt;
}
td.mxWindowPane input, td.mxWindowPane select, td.mxWindowPane textarea, td.mxWindowPane radio {
      font-family: Arial;
    font-size: 8pt;
     padding: 1px;
}
td.mxWindowPane button {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    display: inline-block;
    margin: 2%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
img.mxToolbarItem {
    margin-right: 6px;
    margin-bottom: 6px;
    border-width: 1px;
}
select.mxToolbarCombo {
    vertical-align: top;
    border-style: inset;
    border-width: 2px;
}
div.mxToolbarComboContainer {
    padding: 2px;
}
img.mxToolbarMode {
    margin: 2px;
    margin-right: 4px;
    margin-bottom: 4px;
    border-width: 0px;
}
img.mxToolbarModeSelected {
    margin: 0px;
    margin-right: 2px;
    margin-bottom: 2px;
    border-width: 2px;
    border-style: inset;
}
div.mxTooltip {
    -webkit-box-shadow: 3px 3px 12px #C0C0C0;
    -moz-box-shadow: 3px 3px 12px #C0C0C0;
    box-shadow: 3px 3px 12px #C0C0C0;
    background: #FFFFCC;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    font-family: Arial;
    font-size: 8pt;
    position: absolute;
    cursor: default;
    padding: 4px;
    color: black;
}
div.mxPopupMenu {
    -webkit-box-shadow: 3px 3px 12px #C0C0C0;
    -moz-box-shadow: 3px 3px 12px #C0C0C0;
    box-shadow: 3px 3px 12px #C0C0C0;
    background: url('/static/img/mxgraph/window.gif');
    position: absolute;
    border-style: solid;
    border-width: 1px;
    border-color: black;
}
table.mxPopupMenu {
    border-collapse: collapse;
    margin-top: 1px;
    margin-bottom: 1px;
}
tr.mxPopupMenuItem {
    color: black;
    cursor: pointer;
}
tr.mxPopupMenuItemHover {
    background-color: #000066;
    color: #FFFFFF;
    cursor: pointer;
}
td.mxPopupMenuItem {
    padding: 2px 30px 2px 10px;
    white-space: nowrap;
    font-family: Arial;
    font-size: 8pt;
}
td.mxPopupMenuIcon {
    background-color: #D0D0D0;
    padding: 2px 4px 2px 4px;
}
.mxDisabled {
    opacity: 0.2 !important;
    cursor:default !important;
}