.rc-alert.alert {
    /* overriding Bootstrap's bottom margin */
    margin-bottom: 0;
}

.level3 {
    font-size: 20px;
}

table.gwas-table > tbody > tr > td,
table.gwas-table > tbody > tr > th {
    vertical-align: middle;
}

table.gwas-table > tbody > tr.details-row > td {
    border-top: 0;
}

table.gwas-table > tbody > tr.odd-row {
    background-color: #f9f9f9;
}

.MathJax_SVG:focus, .MathJax_SVG *:focus {
    outline: none;
}

/* Should affect only vertical tabs */
ul.rc-tabs > li > a {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

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

table.gwas-details-table {
    width: 100%;
}

table.gwas-details-table > tbody > tr > th {
    white-space: nowrap;
    width: 1%;
    padding: 5px;
}

table.gwas-details-table > tbody > tr > td {
    white-space: nowrap;
    /*width: 30%;*/
    min-width: 100px;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px;
}

.ga-input-sm {
    padding: 2px 4px;
    height: 26px;
    border-radius: 3px;
}

.ga-input-sm.ga-input-sm-no-padding {
    padding: 0;
}

.ga-input-sm > .rc-popover-anchor-wrapper .dropdown-button {
    height: 26px;
    font-size: 14px;
    padding: 2px 6px;
}

.ga-input-sm > .rc-popover-anchor-wrapper .dropdown-button.activator {
    padding: 2px 0 0 0;
}

.ga-input-sm > .rc-popover-anchor-wrapper .dropdown-button.activator > i.zmdi {
    font-size: 22px;
}

.ga-input-sm > .form-control { /* for dropdown */
    border-radius: 3px;
}

.ga-input-sm.rc-dropdown {
    padding: 0;
}

.ga-input-sm.chosen-container-single .chosen-single {
    height: 26px;
    line-height: 26px;
}

.ga-input-sm.chosen-container-single .chosen-single span {
    margin-right: 18px;
}

.ga-input-sm.chosen-container.chosen-container-single div b {
    background-position-y: 4px;
}

.ga-input-sm.chosen-container-single .chosen-single div {
    width: 16px;
}

.ga-input-sm.chosen-container-single .chosen-search input[type="text"] {
    padding: 2px 6px;
    height: 26px;
    border-radius: 3px;
}

.chosen-container .chosen-results li.active-result {
    padding: 4px 5px;
}

.ga-icon-error {
    color: #a94442;
}

.rc-input-text .zmdi-alert-octagon, .has-error .zmdi-alert-octagon {
    color: #a94442;
}

.ga-warning-icon {
    color: #f0ad4e;
}

.flash-messages {
    position: fixed;
    top: 0;
    /*position: absolute;*/
    /*top: 50%;*/
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    /* Needs to be larger than z-index of re-com backdrop. */
    z-index: 1021;
}

.flash-messages > .alert {
    margin-bottom: -15px;
}

div.box-shadow {
    box-shadow: inset 0 0 5px #bbb;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mxc-nowrap {
    white-space: nowrap;
}

.sort-icon {
    color: #878787;
}

.hidden-icon {
    visibility: hidden;
}

th.sortable-header {
    white-space: nowrap;
    cursor: pointer;
}

.form-group-sm select.form-control {
    padding: 2px 3px;
}

.modal-header:before, .modal-header:after {
    display: none;
}

.off-canvas-panel {
    width: 400px;
    left: -400px;
    height: 100%;
    position: absolute;
    z-index: 1020;
    top: 0;
    background-color: #e7e7e7; /* same as navbar */
    overflow: visible;
}

.off-canvas-panel .off-canvas-wrapper {
    z-index: 1020;
    overflow: auto;
    width: 100%;
    height: 100%;
}

.off-canvas-panel.off-canvas-active {
    left: 31px;
}

.off-canvas-panel.off-canvas-pinned.off-canvas-active {
    left: 0;
    position: relative;
}

.off-canvas-panel .off-canvas-content {
    padding: 10px 20px 20px;
    position: relative;
}

.off-canvas-buttons {
    border-right: 1px solid #ccc;
    background-color: white;
}

.off-canvas-buttons-section > * .btn {
    border-radius: 0;
    border-right: 0;
}

.off-canvas-buttons-section > *:not(:last-child) .btn {
    border-bottom: 0;
}

.filter-section-label {
    margin-bottom: 0;
}