/* @import 'https://fonts.googleapis.com/css?family=Bungee+Inline|Francois+One'; */
/* @import 'https://fonts.googleapis.com/css?family=Permanent+Marker'; */
/* @import 'https://fonts.googleapis.com/css?family=Amatic+SC'; */
@import 'https://fonts.googleapis.com/css?family=Gloria+Hallelujah';
/*font-family: 'Francois One', sans-serif;
font-family: 'Fascinate Inline', cursive;
font-family: 'Bungee Inline', cursive;*/
html {
  font-size: 13px;
}

#genie{
    height:90px;
    float:right;
}

/* Replaces the old GitHub-hosted "Fork me on GitHub" ribbon image
   (https://s3.amazonaws.com/github/ribbons/...), which GitHub
   decommissioned years ago (403) - a plain CSS ribbon has no external
   asset to go missing. */
.github-fork-ribbon {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
    width: 150px;
    height: 150px;
    pointer-events: none;
}

.github-fork-ribbon a {
    position: absolute;
    top: 42px;
    right: -38px;
    width: 170px;
    padding: 5px 0;
    transform: rotate(45deg);
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.github-fork-ribbon a:hover {
    background-color: #1a252f;
    color: #fff;
}

div#page-wrapper {
    max-width: 1000px;
    margin-left:auto;
    margin-right:auto;
    margin-top: 0px;
    padding:0;
    font-size:15px;
}

span.form-control{
    font-size: 12px;
}
input.form-control{
    font-size: 12px;
}

#btn {
   font-size: 12px;
}


.home-jumbotron {
    
}

.container {
    width:100%;
}

.badge{
    font-size:12px;
}

.title-bg {
    #background-color: rgb(0, 0, 0);
    #background-color: rgba(0, 0, 0, 0.6);
    //padding: 0px;
}

.title-cap {
    /* font-family: 'Amatic SC', cursive; */
    font-family: 'Gloria Hallelujah', cursive;
    font-weight:bold;
    /* font-family: 'Permanent Marker', cursive; */
}

.title-page:before {
    font-family: 'Glyphicons Halflings';
    content: "\e080";
}

.title-page {
    display: block;
    margin:10px;
    font-size:25px;
}

nav.navbar-default {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
}

.nav .badge {
    display: inline;
}

.dropdown-menu {
    font-size:12px;
}

table.center {
    float: none;
    margin: 0 auto;
    text-align: center;
}

.nomargin {
    margin: 0 auto;
    width: inherit;
}

header.pagehead {
    background-image: url("/static/images/banner.png");
    background-color: #2c3e50;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    color: #fff;
    font-family: 'Hallo sans', sans-serif;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height:80px;
    text-align: center;
    position: relative;
}

header.pagehead h1 {
    font-size:30pt;
    line-height:80px;
    margin:0px;
    padding:0px;
}

/* Absolutely positioned (not part of the centered-title flow) so it
   sits at the left edge of the bar regardless of how wide the centered
   h1 ends up - white logo, matches the dark header background (the
   footer's own Institut Pasteur logo, logo_institut_pasteur.png, is the
   full-color version, meant for a light background). */
.pagehead-logo-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.pagehead-logo {
    height: 44px;
    width: auto;
    max-width: 160px;
    max-height: 44px;
    display: block;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.sidenav {
    background-color: #f6f6f6;
    margin-right: 15px;
}

.table tbody tr td {
    vertical-align: middle;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    min-width: 185px;
}

.workflow_li{
    cursor:pointer;
}
.miniworkflow .panel {
    top: 0;
    width: 120px;
}

.miniworkflow .glyphicon-arrow-right {
    font-size: 20px;
    color: #446cb3;
    padding: 2px;
}

a:active > .glyphicon-refresh {
    animation: spin 0.5s;
}

.glyphicon-refresh.spin {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

footer {
    margin-top: 10px;
    bottom: 0;
}

.logo_contrib {
    max-width: 100%;
    max-height: 30px;
    height: auto;
    width: auto;
    margin: 3.5%;
    float: left;
}

textarea {
    font-family: Courier New, Consolas, Monaco, Lucida Console, monospace;
}

[id*='error'] {
    color: red;
}

.btn.playbtn {
    color: #fff;
    background-color: #21bd8d;
    margin: 20px;
    border-radius: 99px;
    text-align: center;

}
/* Icon when the collapsible content is shown */
.btn-collapse:after {
    width: 100%;
    content: '\2796';
    float: right;
    font-size: 13px;
    color: #777;
    margin-top: -10px;
    margin-left: 15px;

}

#mini-wk .col-md-2:first-child {
    padding-top: 6%;
}

div[id*='wk-display'] {
    padding: 0;
}

div[id*='wk-display']:before {
    content: '\2192';
    float: left;
    font-size: 28px;
    color: #555;
    margin-top: 50%;
    margin-left: -15px;
}

table .panel-body {
    padding: 5px;
    text-align: center;
}

table .panel-heading {
    padding: 5px 15px;
    text-align: center;
}

.histories-nav li {
    padding: 0px 0px;
}

.histories-nav li a {
    padding: 15px 5px;
}

.histories-nav li a div {
    padding-left: 10px;
    padding-right: 10px;
}

@keyframes blink {
    50% {
        color: transparent
    }
}

.loader-dot {
    animation: 2.5s blink infinite;
}

.loader-dot:nth-child(2) {
    animation-delay: 250ms;
}

.loader-dot:nth-child(3) {
    animation-delay: 500ms;
}

a.btn.btn-toolbar {

    width: 100%;
    text-align: left;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #5cb85c;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.doc-center-block{
    margin-right: auto;
    margin-left: auto;
    width: 800px;
}

.workflow-step{
    font-size:13px;
    font-weight:bold;
}

.workflow-tool{
    font-size:12px;
    text-align:left;
}

.workflow-name{
    font-size:14px;
}

a.anchor-title{
    color: inherit;
    text-decoration: none;
    margin-left: -1em;
    padding-left: 15px;
    background-image: url("/static/images/link.png");
    background-size: 0px 0px;
    background-repeat: no-repeat;
    background-position: left center;
}

a.anchor-title:hover{
    text-decoration: none;
    color: inherit;
    background-size: 15px 15px;
}

div#toc {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f5f5f5;
    margin-top: 10px;
    padding-left: 10px;
}

p.toc-H2{
    
}

p.toc-H3{
    text-indent: 15px;
    font-size: 12px;
   
}

div.fastaobj{
    font-family: "monospace";
    margin-bottom: 10px;
    background-color:#f5f5f5;
    padding:5px;
    border:1px solid #cccccc;
    border-radius: 5px;
    font-size:12px;
}

textarea.fastaseq{
    height: 80px;
    width:100%;
    /*overflow-y: scroll;*/
}

/* Shared dataset/job table look - card container, color-coded status
   pills, line-art SVG icon buttons with a fixed set of action slots so
   the same action always lines up in the same column across rows.
   Originally built for the history detail page's dataset table
   (workspace/include/history_contents_refreshable.html, #myTable) and
   moved here, global, once workspace/running_jobs.html needed the exact
   same look for a second, unrelated table rather than duplicating it. */
@keyframes workflow-step-pulse {
    50% { opacity: 0.55; }
}
.history-table-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 12px rgba(0, 0, 0, .04);
    overflow: hidden;
    margin-bottom: 22px;
}
table.history-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13.5px;
    margin-bottom: 0;
}
.history-table thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a94a6;
    background: #fafbfc;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecf1;
    border-top: none;
}
.history-table tbody tr {
    border-bottom: 1px solid #e9ecf1;
}
.history-table tbody tr:last-child { border-bottom: none; }
.history-table tbody tr:hover td { background: #f8fafc; }
.history-table td {
    padding: 11px 16px;
    vertical-align: middle;
    border-top: none;
}
.col-tool {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.col-step {
    color: #8a94a6;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.col-filename {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.status-pill-ok { background: rgba(33, 189, 141, .12); color: #148a63; }
.status-pill-ok .dot { background: #21bd8d; }
.status-pill-running { background: rgba(68, 108, 179, .12); color: #33548c; }
.status-pill-running .dot { background: #446cb3; animation: workflow-step-pulse 1.4s infinite; }
.status-pill-pending { background: rgba(176, 182, 189, .18); color: #6b7280; }
.status-pill-pending .dot { background: #b0b6bd; }
.status-pill-error { background: rgba(217, 83, 79, .12); color: #b03530; }
.status-pill-error .dot { background: #d9534f; }

.history-table .actions { white-space: nowrap; text-align: right; }
.history-table .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #f1f3f6;
    color: #4b5563;
    text-decoration: none;
    transition: background-color .1s ease, color .1s ease;
}
.history-table .icon-btn:hover { background: #e4e9f0; color: #2c3e50; }
.history-table .icon-btn svg { display: block; }
.history-table .icon-btn.primary { color: #446cb3; background: rgba(68, 108, 179, .12); }
.history-table .icon-btn.primary:hover { background: rgba(68, 108, 179, .2); }
.history-table .icon-btn.viewer { color: #148a63; background: rgba(33, 189, 141, .12); }
.history-table .icon-btn.viewer:hover { background: rgba(33, 189, 141, .2); }
.history-table .icon-btn.warn { color: #a9660a; background: rgba(184, 134, 11, .14); }
.history-table .icon-btn.warn:hover { background: rgba(184, 134, 11, .22); }
.history-table .icon-btn.danger { color: #b03530; background: rgba(217, 83, 79, .12); }
.history-table .icon-btn.danger:hover { background: rgba(217, 83, 79, .2); }
.history-table .itol-badge { width: 36px; height: 36px; border-radius: 50%; }
/* Same-width empty spacer per slot, so a button that only applies to
   some rows (tree viewer/iTOL/MSAViewer) still lines up in the exact
   same column on every row. */
.history-table .action-slot { display: inline-block; width: 30px; }
.history-table .action-slot.wide { width: 36px; }

/* Moved here from home.css (global, loaded on every page via base.html)
   once a second page (documentation.html's Browser Extension section)
   needed the same "New" pill, rather than duplicating it or pulling in
   home.css's whole page-specific stylesheet just for this one class. */
.badge-new {
    background: #e8871e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 9px;
}

/* Honeypot field on public forms (utils/antispam.py) - off-screen rather
   than display:none, since some bots skip display:none inputs. */
.antispam-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Proof-of-work captcha status indicator (utils/powcaptcha.py). */
.pow-captcha-status {
    font-size: 0.9em;
    color: #777;
    margin: 4px 0 10px;
}
.pow-captcha-status-ok {
    color: #3c763d;
}
.pow-captcha-status-error {
    color: #a94442;
}
