/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */



 .sjb .rpp .modal-backdrop.in {
    opacity: 0!important;
}

.sjb .rpp .embtag {
    height: 100%!important;
}

.rpview {
   cursor: pointer;
}
.rpdisableicon{
  cursor: default;
  color: #ccc !important;
}
.sjb-resume .rpp-disabled{
    position: relative;
}
.sjb-resume .rpp-disabled:hover:before,
.sjb-resume .rpp-disabled:focus:before{
    content:"You can only preview .doc, .docs, .pdf, .rtf";
            position: absolute;
    color: #fff;
    padding: 1px 13px;
    background: #f19c42;
    top: 23px;
    width: 232px;
    right: 0;
    font-size: 11px;
    border-radius: 18px;

}


/* 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;
    align-items: center;
}

.rp-modal-content .rp-modal-header h1 {
    margin: 0 0 !important;
    padding: 0 0 !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: 3px 7px !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;
}

#rp-txt-file-content-wrapper * {
    color: black !important;
}