/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

/* Resume preview modal styles */

/* The Modal (background) */
.rp-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*     overflow: auto; */
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.rp-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 60%;
  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;
  /* overflow-y: scroll; */
  height: calc(100% - 3.5rem);
  margin: 1.75rem auto;
}

@media (max-width: 767px) {
  .rp-modal-content {
    width: 90%;
  }
}

/* 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;
  }
}

.rp-modal-content .rp-modal-header {
  padding: 1.3rem 1rem;
  border-bottom: 1px solid #ccc;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.rp-modal-content .rp-modal-header h1 {
  margin: 0 0 !important;
  padding: 0 0 !important;
  font-weight: 600 !important;
  line-height: 30px !important;
}

.rp-modal-content .rp-modal-header p {
  margin: 0 50px 0 0 !important;
  color: red;
}

/* The Close Button */
.rp-modal-content .rp-modal-header .rp-close {
  color: #fff;
  position: absolute;
  right: 16px;
  font-size: 28px !important;
  font-weight: bold;
  background-color: #000;
  width: 30px;
  height: 30px;
  padding: 0px 5px !important;
  line-height: 25px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 30px;
  box-sizing: border-box;
}

.rp-modal-content .rp-modal-body {
  position: absolute;
  height: calc(100% - 70px);
  width: 100%;
}

.rp-modal-content .rp-modal-body iframe {
  height: 100%;
}

/**/
.rp-modal .rp-modal-content .rp-modal-body #rp-txt-file-content-wrapper {
  overflow: auto;
  height: 100%;
  padding: 0 3rem 0 1rem;
}

/* Applicant name, download and prview buttons responsiveness */
.margin-lft-15,
#rp-preview-btn {
  margin-left: 15px;
}

@media (max-width: 677px) {
  #rp-preview-btn,
  #rp-dwnld-btn {
    display: block;
    margin-left: 0;
    margin-top: 10px;
  }
}
tbody#the-list a.rpview.open-rp-modal.button {
  border: 0;
  padding: 0px;
  margin-top: -4px;
}
