/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

@media (min-width: 0px) and (max-width: 349px) {
    .navbar-brand {
        font-size: 0.7em !important;
    }
}

/* Change when navbar collapses */
@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

/* Navigation links */
.nav-link{
    color: black;
    text-decoration: none !important;
}

/* Replication report styling */
.rep-h3{
    font-weight: bold;
    margin: 22px 0 6px 0;
}

.rep-h6{
    color: white;
    margin: 0;
}

.rep-ingress{
    font-style: italic;
    margin-top: 33px;
}

.rep-panel-body{
    background-color: #eee;
}

.rep-panel-heading{
    background-color: #999999 !important;
}

.rep-top{
    margin: 50px 0 22px 0;
}

.footnote{
    font-size: 12px;
}

/* Profile styling2 */
.profile{
    margin-bottom: 22px;
}

/* Instruction / details styling */
.text-block h5{
    margin-top: 16px;
    margin-bottom: 7px;
}


/* Infobox styling */
.infobox{
    margin-bottom: 11px;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 15px;
    background-color: #eee;
    border-color: #aaa;
    color: black;
}

.example{
    text-decoration: underline;
    font-style: italic;
}

.quote{
    padding: 0 22px 0 22px;
}

.ingress{
    font-size: 15px;
}

.infobox h6{
    margin-top: 7px;
    margin-bottom: 7px;
}

/* Replication report table styling */
.latextable{
    margin-top: 33px;
    margin-left: 5%;
    width: 90%;
    text-align: center;
}


.caption>tr:nth-child(1)>th{
    border: 0 !important;
    font-weight: normal;
    padding: 0 0 8px 0;
}
.caption>tr:nth-child(2)>th{
    border-top: 0 !important;
    border-bottom: 2px solid;
    text-align: center !important;
}

.latextable tbody tr td:first-child{
    text-align: left !important;
}

.latextable tbody tr:last-child{
    border-bottom: 2px solid;
    margin-bottom: 6px !important;
}

.latextable .separator td{
    border-top: 1px solid;
}

.latextable tfoot{
    text-align: left;
    font-size: 12px;

}

.latextable tfoot tr:first-child td{
    padding-top: 12px !important;
}

.latextable tfoot tr td{
    padding: 0px !important;
    border: 0 !important;
}

/* Survey styles */
.radio-table{
    text-align: center;
    font-size: 12px;
    width: 100%;
}

.radio-table td{
    padding: 3px;
}

/* Script well styles */
.script-container{
    height: 350px;
}

.script{
    font-family: monospace;
    background-color:white;
    height: 350px;
    font-size:12px;
    overflow: scroll;
    margin-bottom:19px;
}
.script.last{
    margin-bottom:0;
}

/* Replication reports */
.nav-link .fa{
    font-size: 85%;
    padding-bottom: 5px;
    display: inline-table;
    vertical-align: bottom;
}

.replication-buttons .btn{
    margin-bottom:6px;
}
}
