﻿.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0,0,0,0.75);
    display: none;
}

.popup-container {
    position: fixed;
    left: 10%;
    right: 10%;
    z-index: 1001;
    background-color: #fafafa;
    padding: 10px 0 0;
    border: 1px solid #222222;
    border: 1px solid rgba(34, 34, 34,0.75);
    display: none;
}

    .popup-container.xsmall {
        left: 40%;
        right: 40%;
    }

    .popup-container.small {
        left: 30%;
        right: 30%;
    }

    .popup-container.medium {
        left: 20%;
        right: 20%;
    }



.popup-wrapper {
    width: 100%;
    height: auto !important;
}

.popup-content {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    border: 0;
}

    .popup-content .panel {
        border: 0 !important;
    }


    @media only screen and (max-width:480px){
    .popup-container {
        top: 30px;
        left: 5px;
        right: 5px;
    }

        .popup-container.xsmall {
            left: 40px;
            right: 40px;
        }

        .popup-container.small {
            left: 30px;
            right: 30px;
        }

        .popup-container.medium {
            left: 20px;
            right: 20px;
        }
}

@media only screen and (min-width:480px) and (max-width: 767px) {
    .popup-container {
        top: 30px;
        left: 30px;
        right: 30px;
    }

        .popup-container.xsmall {
            left: 30%;
            right: 30%;
        }

        .popup-container.small {
            left: 20%;
            right: 20%;
        }

        .popup-container.medium {
            left: 10%;
            right: 10%;
        }
}

@media only screen and (min-width:768px) and (max-width: 1024px) {
    .popup-container {
        top: 5%;
        left: 5%;
        right: 5%;
    }

        .popup-container.xsmall {
            left: 30%;
            right: 30%;
        }

        .popup-container.small {
            left: 20%;
            right: 20%;
        }

        .popup-container.medium {
            left: 10%;
            right: 10%;
        }
}

@media only screen and (min-width:1025px) and (max-width: 1290px) {
    .popup-container {
        top: 10%;
        left: 10%;
        right: 10%;
    }

        .popup-container.xsmall {
            left: 40%;
            right: 40%;
        }

        .popup-container.small {
            left: 30%;
            right: 30%;
        }

        .popup-container.medium {
            left: 20%;
            right: 20%;
        }
}
