.img-valign {
  vertical-align: middle;
  width: 120px;
  height: 120px;
  float: left;
  margin-left: 0;
  margin-right: 0;
}


#name {
  left: 100px;
  font-size: 30px;
  font-weight: bold;
  margin: 0;
}

#major {
  left: 100px;
  font-size: 20px;
  font-style: bold;
  margin: 0
}

#bio{
  width: 50%;
  margin: 0;
}

.container{
  width: 50%;
}

#content {
  background-color: rgba(255,255,255,.7);
  width: 70%;
  height: 80%;
  top: 15%;
  margin-left: 15%;
  padding: 40px;
  position: absolute;
}

#rating {
  /*width: 100px;
  height: 20px;
  position: relative;
  left: 0px;
  overflow: auto;
  top: -20px;*/
  float: left;
  top: 120px;
  position: relative;
  left: -105px;
}


#info{
  position: relative;
  padding: 0px;
  width: 83%;
  margin-left: 150px;
  overflow: none;
  height: 100%;
  top: -24px;
}

#top {
  position: relative;
  height: 50%;
  width: 100%;
  overflow: none;
}

#pic-wrapper {
float: left;

}


#balance {
  background-image: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.2));
  width: 120px;
  height: 40px;
  top: 200px;
  border-radius: 4px;
  position: absolute;
}

#balance p {
  position: relative;
  margin-left: 20px;
  margin-top: -4px;
  font-size: 30px;
  color: white;
  font-weight: bold;
  overflow: auto;
}

#coin {
  width: 30px;
  height: 30px;
  position: relative;
  float: right;
  margin-top:-52px;
  margin-right: 5px;
}

.checked {
  color: orange;
}

.unchecked {
  color: rgba(0,0,0,.4);
}

.top{
  width: 80%;
}


.contactPic{
  margin-right: 10px;
  float: left;
  margin-top: 5px;
  margin-left: 10px;
}

.checked {
  color: orange;
}

.unchecked {
  color: rgba(0,0,0,.4);
}

.name-label {
  margin: 0 auto;
  position: relative;
  float: left;
  margin-top: 5px;
}

.rating {
  height: 10px;
  margin: 0 auto;
  float: left;
  margin-top: 5px;
  margin-left: 10px;
}

.cost {
  margin-top: 5px;
  float: right;

}
#section1 {
  margin-left: 45%;
  width: 20%;
}

.coin {
  margin-top: 5px;
  margin-left: 20px;
  margin-right: 10px;
  float: right;
}

.tutor {
  background-color: #e8c7c0 !important;
}

.tutee {
  background-color: #cee5be !important;
}


#history {
/*  margin-top: 10%;*/
  margin-top: 30px;
  position: relative;
  overflow-y: scroll;
  height: 220px; 
}

.scrollbar-ripe-malinka::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-image: -webkit-linear-gradient(330deg, rgb(240,240,240) 0%, rgb(200,200,200) 100%);
  background-image: linear-gradient(120deg, rgb(240,240,240) 0%, rgb(200,200,200) 100%); 
}

.scrollbar-ripe-malinka::-webkit-scrollbar {
  width: 12px;
  background-color: #F5F5F5; 
}

.scrollbar-ripe-malinka::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #F5F5F5;
  border-radius: 10px; 
}