/*
 * Content Protection CSS (standalone)
 * Disables text selection, print, and shows protection messages
 */

/* Disable selection on all elements */
.unselectable {
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

html {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Block printing */
@media print {
    body * { display: none !important; }
    body:after {
        content: "You are not allowed to print preview this page, Thank you";
    }
}

/* Protection error message popup */
#wpcp-error-message {
    direction: ltr;
    text-align: center;
    transition: opacity 900ms ease 0s;
    z-index: 99999999;
}

.hideme {
    opacity: 0;
    visibility: hidden;
}

.showme {
    opacity: 1;
    visibility: visible;
}

.msgmsg-box-wpcp {
    border: 1px solid #f5aca6;
    border-radius: 10px;
    color: #555;
    font-family: Tahoma;
    font-size: 11px;
    margin: 10px;
    padding: 10px 36px;
    position: fixed;
    width: 255px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -130px;
    -webkit-box-shadow: 0px 0px 34px 2px rgba(242, 191, 191, 1);
    -moz-box-shadow: 0px 0px 34px 2px rgba(242, 191, 191, 1);
    box-shadow: 0px 0px 34px 2px rgba(242, 191, 191, 1);
}

.msgmsg-box-wpcp span {
    font-weight: bold;
    text-transform: uppercase;
}

.warning-wpcp {
    background: #ffecec;
}
