.modal-tb {
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 25px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
}

.modal-content-tb {
  width: 90%;
  padding: 20px;
  background: #FFF;
  max-width: 600px;
  margin: auto;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);

  -webkit-animation: modal-content-tb 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: modal-content-tb 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.modal-head-tb {
    border-bottom: 1px solid #e5e5e5;
}
.head-title-tb{
  font-size: 2em;
  font-weight: 400;
  line-height: 30px;
}

.modal-main-tb {padding: 5px 16px;}

.modal-foot-tb {
  padding: 15px 15px 5px 0;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

@-webkit-keyframes modal-content-tb {
  0% {
    -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
            transform: translateY(-600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
            transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
            transform-origin: 50% 1400px;
    opacity: 1;
  }
}
@keyframes modal-content-tb {
  0% {
    -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
            transform: translateY(-600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
            transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
            transform-origin: 50% 1400px;
    opacity: 1;
  }
}

.close-tb {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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