.navbar {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    background: #dfdfdf;
}

#teacher_header {
    padding-top: 5.5rem;
}

#goBack {
    font-size: 1rem;
    font-weight: 500;
    color: #e43e54;
}

#goBack:hover {
    color: #f7eded;
}

#teacher_form {
    padding: 2rem;
}

#beforeYouStart {
    margin-bottom: 1rem;
}

#preparation {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

p {
    font-size: 0.9rem;
}

.navbar-brand.mx-auto {
    width: 16rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgb(126, 122, 122);
    margin-bottom: 0;
}

.asterisk {
    color: red;
}

td > ul {
    font-size: 0.9rem;
}
th {
    font-size: 0.9rem;
}

li {
    font-size: 0.9rem;
}

.form-section {
    /* border: 0.1rem solid black; */
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    padding-bottom: 2rem;
    box-shadow: 0 0 7px 1px rgba(0, 0, 0, 0.4);
}

.min-certlevel1 {
    font-size: 0.9rem;
    /* line-height: 0.7rem; */
    padding-top: 0.5rem;
}

#min-certlevel2 {
    font-size: 0.9rem;
    /* line-height: 0rem; */
    padding-bottom: 0.8rem;
}

.next {
    float: right;
    color: white;
    margin-top: 1rem;
}

.previous {
    float: left;
    color: white;
    margin-top: 1rem;
}

.btn-primary {
    width: 10rem;
}

.section-heading {
    margin-bottom: 1.8rem;
    color: #e43e54;
    font-weight: 350;
}

#gender {
    height: 2.3rem;
    width: 6rem;
}

#birthdate {
    padding-right: 0.3rem;
    font-size: 0.9rem;
    color: rgb(177, 174, 174);
}

#race {
    height: 2.3rem;
    width: 9.5rem;
}

.previous-next {
    display: inline;
}

select {
    height: 2.3rem;
    width: 12rem;
}

input[type="radio"]:focus {
    border: 10rem black solid;
}

.subtitle {
    font-size: 0.9rem;
    /* line-height: 0.3rem; */
}

.withSubtitle label {
    margin-bottom: 0;
}

.scrollbox {
    border:1px solid rgb(177, 174, 174);
    width:auto;
    height:150px;
    overflow:scroll;
    margin: 0.75rem 0.3rem 0.75rem;
    padding: 0.7rem 0.7rem;
}

.scrollbox > h6 {
    font-weight: bold;
    margin: 0;
}

.tc-subheader {
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

#first-tc {
    margin-top: 0.4rem;
}

.scrollbox > p, .scrollbox > ol {
    font-size: 0.9rem;
    margin: 0.3rem 0rem;
    text-align: justify;
}

.form-check ~ .space {
    margin: 1.2rem 0;
}

.textarea ~ #teachingStyle {
    width: 300px; height: 110px;
}

#firstNextButton {
    margin-top: 0;
}

#characterLeft {
    float: right;
    font-size: 0.9rem;
}

.form-group textarea {
    min-height: 7rem;
}

.form-group .withSubtitle label {
    margin-bottom: 0;
}

.help-block {
    color: red;
    font-size: 0.9rem;
 }

 #submit-form {
     background-color: #e6a5a6;
     border: black solid 2px;
     color: black;
 }

 #submit-form:hover {
     background-color: #f7eded;
 }

 /*progressbar*/
#progressbar {
	/* margin-bottom: 30px; */
	overflow: hidden;
	/*CSS counters to number the steps*/
    counter-reset: step;
    margin-top: 5.4rem;
    margin-bottom: 0rem;
}
#progressbar li {
	list-style-type: none;
	color: rgb(126, 122, 122);
    /* text-transform: uppercase; */
    font-size: 0.9rem;
    text-align: center;
	width: 16.667%;
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 2rem;
	line-height: 2rem;
	display: block;
	font-size: 0.9rem;
	color: rgb(126, 122, 122);
	background: #dfdfdf;
	border-radius: 0.3rem;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 0.35rem;
	background: #dfdfdf;
	position: absolute;
	left: -50%;
	top: 0.75rem;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
	background: rgb(126, 122, 122);
	color: white;
}

ul#progressbar {
    padding-inline-start: 0;
}

