.prescription-no-scroll {
    overflow: hidden;
}

.woocommerce-additional-fields__field-wrapper {
    margin-bottom: 40px;
}

#prescription_checkout_field {
    background: #d4ffd4;
    padding: 15px 15px 20px;
    margin: 15px 0 0;
    font-size: 0.9em;
    height: 150px;
    overflow: hidden;
    position: relative;
}

#prescription_checkout_field:before {
    z-index: 1;
    display: block;
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

#prescription_checkout_field button {
    position: absolute!important;
    bottom:10px!important;
    right:10px!important;
    z-index:2;
}

#prescription_checkout_field h4 {
    font-family: monospace;
    font-size: 1.2em;
}

#prescription_checkout_field p {
    font-family: monospace;
}

.prescription-popup-outer {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: block;
    z-index: 2000;
}

.prescription-popup-outer:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: #000000;
    display: block;
    content: "";
    z-index: 0;
}

.prescription-popup-inner {
    position: absolute;
    width: 100%;
    max-width: 90%;
    padding: 42px 3vw 0;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    overflow: auto;
    border-radius: 10px;
    z-index: 1;
}

.prescription-popup-outer h5 {
    position: fixed;
    background: #2CCF29;
    color: #FFFFFF;
    top: 0;
    left: 0;
    padding: 15px 40px 15px 10px;
    width: 240px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}

.prescription-popup-outer h5 a {
    position: absolute;
    right: 10px;
    top: 7px;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    color: transparent;
    font-size: 1px;
}

.prescription-popup-outer h5 a:hover {
    opacity: 1;
}

.prescription-popup-outer h5 a:before,
.prescription-popup-outer h5 a:after {
    position: absolute;
    left: 20px;
    content: "";
    height: 40px;
    width: 6px;
    background-color: #FFFFFF;
}

.prescription-popup-outer h5 a:before {
    transform: rotate(45deg);
}

.prescription-popup-outer h5 a:after {
    transform: rotate(-45deg);
}

.prescription-popup-outer #prescription_checkout_field {
    height: auto;
    overflow: auto;
    box-shadow: 8px 8px 25px #000;
    border: 1px solid #EFFFEF;
    max-width: 530px;
    margin: auto;
}

.prescription-popup-outer #prescription_checkout_field:before, .prescription-popup-outer #prescription_checkout_field button, .prescription-popup-outer h3 {
    display:none!important;
}