#head_injury_field {
  width: 100%;
  height: 350px;
  border: 1px solid #000;
  background-image: url(../images/head.jpg);
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 20px auto 0 auto;
  position: relative;
  background-color: #fff;
}
#body_pain_field {
  width: 100%;
  height: 850px;
  border: 1px solid #000;
  background-image: url(../images/body.png);
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 20px auto 0 auto;
  position: relative;
  background-color: #fff;
}
#headache_field {
  width: 100%;
  height: 350px;
  border: 1px solid #000;
  background-image: url(../images/head.jpg);
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 20px auto 0 auto;
  position: relative;
  background-color: #fff;
}
.shap-item {
  display: grid;
  text-align: center;
  gap: 5px;
  border: 1px solid #000;
  padding: 5px;
  position: relative;
}

.shap-item .img-item {
  width: 65%;
  height: auto;
  margin: 0 auto;
}

.shap-item span {
  font-size: 14px;
  line-height: normal;
  font-weight: 600;
}

.row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 equal columns */
  gap: 8px;
}

@media (max-width: 1200px) {
  .row {
    grid-template-columns: repeat(4, 1fr);
  }
	#headache_field,
	#head_injury_field {
	  height:350px;
	}
	#body_pain_field {
		height: 850px;
	}
	
}

@media (max-width: 992px) {
  .row {
    grid-template-columns: repeat(3, 1fr);
  }
	#headache_field,
	#head_injury_field {
	  height:350px;
	}
	#body_pain_field {
		height: 850px;
	}
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
  }
	#headache_field,
	#head_injury_field {
	  height:220px;
	}
	#body_pain_field {
		height: 650px;
	}
	.dragbox {
	  height: 65px;
	  margin-top: -65px;
	}
}

@media (max-width: 576px) {
	.row {
		grid-template-columns: 1fr 1fr;
	}
	#headache_field,
	#head_injury_field {
	  height:120px;
	}
	#body_pain_field {
		height: 300px;
	}
}

.dragbox [id^="drag-"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

#body_pain_field [id^="drag-"] {
  opacity: 1;
}

.dragbox {
  width: 100%;
  height: 75px;
  position: relative;
  display: block;
  margin-top: -75px;
}

.clear-link {
  color: red;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 5px;
  display: none;
}
.diagram-title{
    font-size: 20px;
    line-height: 26px;
    text-align: center;
}
.note{
    font-size: 16px;
    text-align: left;
    font-weight: bold;
}
.diagram_button{
  padding: 5px 10px;
  background: black;
  color: #FFF !important;
  position: absolute;
  right: 0;
}