﻿.modalPm {    
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    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 */
    transition: opacity 0.4s, top 0.4s;
    opacity:1;
}

.modalPm.closed {
    opacity: 0; /* close state is hidden and off screen */
    top: -2000px;
}

.modalPmClose {
    position: relative;
    text-align: center;
    top: 43px;
    left: 420px;
    cursor: pointer;
}

.modalContentPm {
    margin: 20px auto;    
    position: relative;
    background-image: url(/assets/modalPm/email-signup-september-2022.png);
    width: 600px;
    height: 548px;    
}

.mb-2 {
    margin-bottom:10px;
}

.modalPmForm {
    position: absolute;
    bottom: 35px;
    width: 400px !important;
    left:100px;
    text-align:center;
}

    .modalPmForm input, .modalPmForm .btn {
        width: 100% !important;
        margin-top: 10px;
    }    

    .modalText {
        color:white;
        width:520px;
        position:absolute;
        text-align:center;
        left:40px;
        bottom:105px;
        font-size:.9em;
    }

@-webkit-keyframes slideIn {
    from {
        top: -2000px;        
        opacity: 0
    }

    to {
        top: 0px;        
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        top: -2000px;
        opacity: 0
    }

    to {
        top: 0px;
        opacity: 1
    }
}

@media only screen and (max-width: 820px) {

    .modalPmClose {    
        top: 35px;
        left: 135px;        
    }

    .modalContentPm {
        margin: 40px auto;
        background-image: url(/assets/modalPm/email-signup-september-2022-mobile.jpg);
        width: 300px;
        height: 463px;
    }

    .modalText {     
        width: 275px;
        position: absolute;
        text-align: center;
        left: 13px;
        bottom: 88px;
        font-size: .8em;
        line-height:13px;
    }

    .modalPmForm {
        position: absolute;
        bottom: 15px;
        left:12px;
        width: 265px !important;
    }

        .modalPmForm input {
            margin-top: 0px;
        }

        .modalPmForm .btn {
            margin-top: 10px;
        }
}
