body {
  font-family: "Roboto", Arial, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.button {
  background: coral;
  padding: 1em 2em;
  color: #fff;
  border: 0;  
}

.button:hover {
  background: #398cc4;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999999;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);  
}

.modal-content {
  background-color: #f4f4f4;
  margin: 5% auto;
  width: 50%;
  box-shadow: 0 5px 8px 0px rgba(0, 0, 0, 0.2), 0 7px 20px 0px rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

.modal-header h2, .modal-footer h3 {
  margin: 0;
}

.modal-header {
  background: #006cb5;
  padding: 15px;
  color: #fff;
}

.modal-body {
  padding: 10px 20px;
}

.modal-footer {
  background: coral;
  padding: 10px;
  color: #fff;
  text-align: center;
}

.closeBtn {
  color: #fff;
  float: right;
  font-size: 30px;
  line-height: 20px;
}

.closeBtn:hover, .closeBtn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes modalopen {
  from {opacity: 0} 
  to {opacity: 1}
}

@media (max-width: 767px) {
  .modal-content {
  background-color: #f4f4f4;
  margin: 5% auto;
  width: 85%;
  box-shadow: 0 5px 8px 0px rgba(0, 0, 0, 0.2), 0 7px 20px 0px rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}
.profile-modal-dialog {
    width: 90%;
}
.profile-modal-body {
    padding: 10px 10px;
}
.profile-table table th {
    width: 98px;
}
.profile-table table td, .profile-table table th {
    font-size: 12px;
    vertical-align: middle!important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
  .modal-content {
  background-color: #f4f4f4;
  margin: 5% auto;
  width: 70%;
  box-shadow: 0 5px 8px 0px rgba(0, 0, 0, 0.2), 0 7px 20px 0px rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}
.profile-modal-dialog {
    width: 70%;
}
.profile-modal-body {
    padding: 10px 10px;
}
.profile-table table th {
    width: 140px;
}
.profile-table table td, .profile-table table th {
    font-size: 12px;
    vertical-align: middle!important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
  .modal-content {
  background-color: #f4f4f4;
  margin: 5% auto;
  width: 70%;
  box-shadow: 0 5px 8px 0px rgba(0, 0, 0, 0.2), 0 7px 20px 0px rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}
.profile .profile-img img, .profile-img img {
    width: 150px;
}
}