/* Melbourne Cup pop-up (shown by popup/melbourne-cup.js) */
.mc-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    box-sizing: border-box;
    padding: 16px;
    overflow-y: auto;
    font-size: 0; /* stops whitespace pushing the box onto a new line */
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
}
/* vertically centres the box */
.mc-popup-overlay:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.mc-popup {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: 520px;
    max-width: 100%;
    padding: 0 0 30px;
    font-size: 14px;
    background: #000;
    color: #e3cf4a;
    text-align: center;
    border: 1px solid rgba(227, 207, 74, 0.45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.mc-popup img {
    display: block;
    width: 100%;
    height: auto;
}
.mc-popup h3 {
    margin: 8px 0 18px;
    font-family: 'asimov', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    color: #e3cf4a;
}
.mc-popup .mc-actions a {
    display: block;
    box-sizing: border-box;
    width: 80%;
    margin: 0 auto 12px;
    padding: 12px 10px;
    font-family: 'asimov', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #e3cf4a;
    border: 1px solid #e3cf4a;
    outline: none;
    transition: background 0.2s, color 0.2s;
}
.mc-popup .mc-actions a:hover,
.mc-popup .mc-actions a:focus {
    background: #e3cf4a;
    color: #000;
}
.mc-popup .mc-close {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 1;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 40px;
    color: #e3cf4a;
    cursor: pointer;
    opacity: 0.8;
}
.mc-popup .mc-close:hover {
    color: #fff;
    opacity: 1;
}
@media (max-width: 480px) {
    .mc-popup h3 { font-size: 16px; letter-spacing: 2px; }
    .mc-popup .mc-actions a { width: 88%; font-size: 14px; letter-spacing: 1px; }
}
