/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

a {
    color: #999999;
    text-decoration: none;
}

a:hover, a:focus {
    color: rgb(55,185,235);
    text-decoration: none;
}

.osf-link {
	text-align: center;
	width: 240px;
	margin: auto;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 10px;
}

.osf {
	height: 200px;
	width: 200px;
	padding: 10px;
}

@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 styling */
.profile{
  margin-bottom: 24px;
}

.media {
	min-height: 154
		px;
	padding: 7px;
	border: 1px solid lightgray;
	border-radius: 8px;
}

.media-left {
	padding: 2px;
	padding-right: 12px;
}

img {
    width:120px;
    height:140px;
    border-radius:8px;
    overflow:hidden;
}


.job {
	min-height: 30px;
	max-height: 30px;
}
.inst {
	min-height: 60px;
	max-height: 60px;
}



/* 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;
}

.ref {
	min-height: 80px;
}



/* Studies */
.well-info {
	border-color: #bce8f1;
	background-color: rgba(217,237,247,0.25);
}

.refhyp {
	min-height: 275px;
}

.note {
	margin-top: 20px;
	margin-bottom: -10px;
}

.panel>.table>tbody:first-child>tr:first-child th {
  border-top: 1px solid #dddddd;
	border-left: 1px solid #dddddd;
	background-color: #fafafa;
}

.table>tbody>tr>td, .table>tbody>tr>th {
  padding: 4px;
  vertical-align: middle;
  border-top: 1px solid #dddddd;
	text-align: center;
	width: 20%;
}

/* Timer */
#clockdiv > div{
	min-width: 60px;
  padding: 10px;
  border-radius: 5px;
  background: #eee;
  display: inline-block;
}

#clockdiv div > span{
	min-width: 40px;
  padding: 5px;
  border-radius: 3px;
  background: #aaa;
  display: inline-block;
	text-align: center;
	font-size: 20px;
	font-weight: 800;
	color: white;
}

.smalltext{
  padding-top: 10px;
  font-size: 12px;
	text-align: center;
}