﻿#world-privilege-plus-overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2;
    cursor: pointer;
}

#world-privilege-plus-overlay #world-privilege-plus-container {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    background-color: inherit;
    padding: 3em;
    max-width: 40%;
    overflow: auto;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

#world-privilege-plus-overlay.visible {
    background-color: rgba(0, 0, 0, 0.75);
}

#world-privilege-plus-overlay.visible #world-privilege-plus-container {
    display: block;
}

/* Make the overlay responsive */

@media only screen and (max-width: 1650px) {
    #world-privilege-plus-overlay #world-privilege-plus-container {
        width: 60%;
        max-width: 60%;
    }
}

@media only screen and (max-width: 1100px) {
    #world-privilege-plus-overlay #world-privilege-plus-container {
        width: 80%;
        max-width: 80%;
    }
}

@media only screen and (max-width: 920px) {
    #world-privilege-plus-overlay #world-privilege-plus-container {
        max-height: 90%;
    }
}
