﻿.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;
    }

.modalText {
    color: #ccc;
    font-size: 8pt;
    line-height: 10pt;
    position: relative;
    top: 10px;
    left: 5px;
}

    .modalText strong {
        color: red;
    }

.modalPmClose {
    position: relative;
    text-align: center;
    top: 270px;
    left: 310px;
    cursor: pointer;
}

.modalContentPm {
    margin: 210px auto;
    padding: 20px;
    position: relative;
    background-image: url(/assets/modalPm/email-signup-feb-2023.png);
    width: 600px;
    height: 310px;
}

.modalPmForm {
    position: absolute;
    bottom: 34px;
    width: 250px !important;
    right: 35px;
}

    .modalPmForm input, .modalPmForm .btn {
        width: 100% !important;        
        height: 28px !important;
    }

    .modalPmForm .btn {
        padding: 1px !important;
    }

    .modalPmForm .alert {
        margin-bottom: 0px;
    }

@-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) {

    .modalText {
        display: none;
    }

    .modalPmClose {
        top: 35px;
        left: 135px;
    }

    .modalContentPm {
        margin: 40px auto;
        background-image: url(/assets/modalPm/email-signup-feb-2023-mobile.jpg);
        width: 300px;
        height: 463px;
    }

    .modalPmForm {
        position: absolute;
        bottom: 10px;
        left: 20px;
        width: 265px !important;
    }

        .modalPmForm input {
            margin-top: 0px;
        }

        .modalPmForm .btn {
            margin-top: 10px;
        }
}
