/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 30px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: fit-content;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 5px;
  max-width: 400px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: 10px;
  margin-right: 5px;
}

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

.modal-header {
  padding: 2px 16px;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  color: white;
}
.modal-body table,
.modal-body tr,
.modal-body th,
.modal-body td{
  border-collapse: collapse;
  border: 1px solid #ccc;
}
.modal-body input{
  padding: 10px;
  width: 100%;
}
.modal-body #confirm_installment{
  background-color: #3e64de;
  color: #FFF;
  padding: 10px;
  cursor: pointer;
}
#splitPaymentModal h2{
  margin-block-start: 0;
  margin-block-end: 0;
  color: #F00;
  font-size: 25px;
  text-align: center;
}

#splitPaymentModal table td,#splitPaymentModal table th {
    padding: 5px 4px;
}
#splitPaymentModal h4{
  line-height: 25px;
  font-size: 20px;
  color: #2c2cc7;
}
#splitPaymentModal .readonly{
  color: #877878;
  background-color: #f1f1f1;
}
#splitPaymentModal p{
  line-height: 17px;
  color: #F00;
  margin-top: 5px;
  font-size: 12px;
}
#splitPaymentModal input,
#splitPaymentModal input:focus{
  border: 2px solid #f1f1f1;
  outline: none;
  border-radius: 5px;
}
#splitPaymentModal table td{
  width: 50%;
}
#splitPaymentModal #confirm_installment{
  width: 100%;
  border-radius: 5px;
  border: none;
}
.installment-notice{
  color: red;
  font-size: 14px;
  line-height: 14px;
  padding: 5px;
}
.paid_amount{
  margin-left: 5px;
  width: fit-content;
  color: #096;
  font-size: 14px;
}
.post-type-archive-courses .tutor-card-footer {
  padding: 16px 20px 0px 20px;
}
.post-type-archive-courses .couse_price_details,
.single-courses .couse_price_details{
  display: flex;
  flex-flow: wrap;
  margin-bottom: 5px;
  border: 1px solid #395bca;
  padding: 5px;
  margin-top: 5px;
  margin-left: 5px;
  margin-right:5px;
}
.single-courses .couse_price_details{
  margin: 0;
  margin-top: 5px;
}