.attach-prescription .tab-container .tabheading{
    display: inline-block;
    list-style: none;
    padding: 10px 0px;
    cursor: pointer;
    margin-right: 20px;
    font-weight: 700;
}
.attach-prescription .tab-container .tabheading.active{
  border-bottom: 5px solid #dddddd;
  font-weight: 700;
}
.heading-attachment{
  display: inline;
}
.prescription-upload{
  float: right;
}
.attach-prescription .tab-container{
  margin-left: 0px;
  padding: 24px 24px 0;
}
.attach-prescription {
  background-color: #f8f8f8;
  border-radius: 4px;
}
.upload-prescription .new-upload{
  position: relative;
  width: 120px;
  height: 120px;
  padding: 10px;
  text-align: center;
  border: 1px solid #dddddd;
  border-radius: 5px;
  display: inline-block;
  vertical-align: top;
  margin: 5px 8px;
}
.upload-prescription .new-upload i{
    color: #dddddd;
}
.input_file_style{
   font-weight: 600;
   line-height: normal;
}

.upload-prescription .new-upload #attach-prescription-input,.upload-prescription .new-upload #attach-prescription-input-later{
   position: absolute;
   -moz-opacity: 0;
   left: 0px;
   opacity: 0;
   height: 120px;
   cursor: pointer;
   box-sizing: border-box;
   z-index: 2;
   width: 120px;
   top: 0;
}
.upload-prescription,.uploaded-prescription{
  padding: 10px 24px;
}
.uploaded-prescription .new-upload,.uploaded_prescription .new-upload{
  position: relative;
  width: 115px;
  height: 120px;
  padding: 10px;
  text-align: center;
  border: 1px solid #dddddd;
  border-radius: 5px;
  display: inline-block;
  vertical-align: top;
  margin: 5px 8px;
  cursor: pointer;
}
.detail-content {
  background: #fff;
  height: 450px;
  padding: 15px;
  border-radius: 15px;
  overflow-y: auto;
}
.uploaded_prescription .new-upload{
  cursor: default;
}
.upload-prescription .new-upload button{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 8px;
  text-align: left;
  background-color: rgba(0,0,0,.7);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.upload-prescription .new-upload .remove-txt{
  width: calc(100% - 20px);
  line-height: 12px;
  display: inline-block;
  vertical-align: middle;
}
.upload-prescription .new-upload .cross-sign{
  color: #dddddd;
  background: #fff;
  border-radius: 2px;
  padding: 1px 4px;
  line-height: 14px;
  font-size: 16px;
}
.attach-prescription .tab-content .uploaded-prescription{
  /* display: none; */
  /*position: absolute;
  top: 10px;
  left: 24px;*/

}
.attach-prescription .tab-content{
  position: relative;
}
p.show-prescription-required {
    margin: 0;
    display: inline;
    border-radius: 10px;
    color: #EB812C;
    background: #ffdc92;
    padding: 3px;
}
.modal {
  display: none;
  left: 0;
  top: 0;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.25s;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;

  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: 25%;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

.myPrescritionclose {
  position: absolute;
  top: 93px;
  right: 330px;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
.upload-prescription .new-upload img, .uploaded_prescription.checkout .new-upload img{
  cursor: zoom-in;
}

.valid-prescription h3{
  cursor: pointer;
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 0px;
}

.valid-prescription{
  background-color: #f8f8f8;
  border-radius: 4px;
  padding: 10px 20px;
  margin-bottom: 10px;
}
#prescriptionDetailModal .modal-content{
   background-color: #fff;
   margin: auto;
   padding: 15px 30px;
   max-width: 500px;
   max-height: 500px;
   overflow: scroll;
}
#prescriptionDetailModal .modal-content::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}
#prescriptionDetailModal .close {
  color: #ccc;
  font-size: 60px;
  box-sizing: border-box;
  font-weight: bold;
  position: absolute;
  top: -50px;
  right: -25px;
}
#prescriptionDetailModal .close:hover,
#prescriptionDetailModal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.uploaded_prescription{
  background-color: #f8f8f8;
  border-radius: 4px;
}
.uploaded_prescription.checkout{
  padding: 10px 30px;
}

table td{
  vertical-align: unset !important;
}
.new-upload a {
  color: #43454b !important;
}
table.woocommerce-table.shop_table.gift_info td.approved {
  color: green;
}
table.woocommerce-table.shop_table.gift_info td.reject {
  color: red;
}
