/* Analyze Page
 * ------------------------------------------------------------------------- */

#index_t h2 {
    font-size: 30px;
    font-weight: normal;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

/* What's New Page
 * ------------------------------------------------------------------------- */
div.feature-title {
    font-weight: bold;
}

div.feature-desc {
    margin: 0.5em 0em 1.5em 1.5em;
}

div.feature-desc img {
    vertical-align: bottom;
}

div.feature-desc p {
    margin-bottom: 0.5em;
}

/* Analyze Page */
table#data-input {
    width: 100%;
}

#file-input-td {
    padding-right: 8px;
}

#textbox {
    padding-left: 8px;
}

#textbox ol {
    list-style-type: decimal;
    padding: 10px 0 10px 15px;
}

#textbox ol li {
    list-style: inherit;
}

table#data-input td {
    /* padding-right: 0.5em; */
    vertical-align: top;
    width: 50%;
}

table#data-input tr#genes div#instructions p {
    margin-bottom: 13px;
}

div #bed-parameters {
    margin-top: 0.5em;
}

table #bed-parameters-table td {
    padding: 0.25em;
    vertical-align: top;
    width: 100%;
}

textarea {
    margin-top: 20px;
    width: 100%;
}

textarea.background {
    margin-top: 20px;
    width: 50%;
}

.flex-container {
    display: flex;
}

.flex-child {
    flex: 1;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

#child-background {
    margin-left: 10px;
}

div#gene-count {
    font-size: 14px;
    text-align: right;
}

tr#description td {
    padding-top: 1em;
}

tr#description input {
    width: 100%;
}

tr#description #proceed-button {
    margin-top: 10px;
}

.fa-file-download, .fa-link {
    cursor: pointer;
    margin-right: 0.2rem;
    color: #D90000
}

.term-check-box > input[type="checkbox"] {
    display: none;
    margin-right: 0.2rem;
}

.term-check-box > input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.2rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 10%;
    border-style: solid;
    border-width: 0.1rem;
    border-color: #D90000;
}

.term-check-box > input[type="checkbox"]:checked + * {
    color: #D90000;
}

.term-check-box > input[type="checkbox"]:checked + *::before {
    text-align: center;
    background: #D90000;
    border-color: #D90000;
}


.term-check-box > input[type="checkbox"] + * {
    cursor: pointer;
}

#export_button {
    background-color: #c90000;
    border-color: #d90000;
    color: #fff;
    padding: 2px 12px;
    width: 150px;
    height: 40px;
    border-radius: 5px;
    margin-top: 10px;
}

#export_button:disabled {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
    padding: 2px 12px;
    width: 150px;
    height: 40px;
    border-radius: 5px;
    margin-top: 10px;
}

#selected_gs_count {
    margin-left: 15px;
}

#term-link {
    width: 600px !important;
    left: 50% !important;
    top: 15% !important;
}

.term-send {
    border: none;
    background: none;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 160px;
    bottom: 100%;
    left: 50%;
    margin-left: -80px;
    background-color: white;
    opacity: 80%;
    color: black;
    border-radius: 3px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;

}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.mod_logo {
    width: 25px;
    margin-bottom: -2px;
    margin-right: -2px;
}

.mod_link {
    opacity: 0.65;
    color: black;
}

.mod_link:hover {
    opacity: 1;
    color: black;
}

.mod_desc {
    font-size: 0.7rem;
    color: black;
    opacity: 0.65;
    padding-top: 3px;
}

#modEnrichr-backref {
    padding-left: 1rem;
    margin-top: -0.5rem;
}

/* Find A Gene Page
 * ------------------------------------------------------------------------- */
label[for="query-gene"] {
    font-weight: bold;
}

#submit-gene {
    margin-left: 0.2em;
    border: 1px solid #000;
    background-color: #fff;
    font-weight: bold;
    padding: 0em 0.3em;
}

#submit-gene:hover {
    border: 1px solid #D90000;
    background-color: #D90000;
    color: #fff;
}

.info {
    margin-top: 1em;
}

.info div.toggleIcon {
    background: url('/Enrichr/images/expandcontract.png') no-repeat left top;
    display: inline-block;
    vertical-align: text-top;
    margin-top: 1px;
    margin-right: 0.1em;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.info div.open {
    background-position: right top;
}

.info div.category {
    font-weight: bold;
}

.info div.background-types {
    margin-left: 1em;
}

.info div.results {
    margin-left: 2em;
    font-weight: normal;
}

.info div.results span {
    font-weight: bold;
}

.info div.results span.term {
    color: #D90000;
}

.info span.failed {
    color: #D90000;
    font-weight: bold;
}

/* About Page */
#about_page {
    position: relative;
    background: url('/Enrichr/images/enrichr.png') no-repeat;
    background-size: auto 400px ;
    height: 566px;
    background-position-x: 60%;
}

#about_page td {
    font-size: 1.0em;
    padding-right: 0.3em;
}

#affiliations {
    position: absolute;
    bottom: 0;
    right: 0;
}

div#terms {
    margin-top: 2em;
}

a#termsExpander {
    font-size: 1.5em;
}

div#termsContent p, strong {
    margin-top: 1em;
    margin-bottom: 1em;
}

div#termsContent {
    display: none;
    font-size: 1em;
    margin-top: 1em;
}

@media print {
    body {
        width: 100%;
    }

    div#header, div#navbar, div#toc {
        display: none;
    }

    div#content {
        margin: 0px;
        border: 0px;
        padding: 5px 10px;
    }

    div.answer img {
        float: none;
        width: 708px;
        height: 597px;
    }
}