﻿/* ==========================================================================
   Font Includes from cdn
   ========================================================================== */

/* Roboto | latin | 400,400i,700,700i */

@font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;

    src: url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Regular.woff") format("woff"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Regular.ttf") format("truetype"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Regular.svg#Roboto-Regular") format("svg");
}
@font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: italic;

    src: url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Italic.woff") format("woff"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Italic.ttf") format("truetype"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Italic.svg#Roboto-Italic") format("svg");
}
@font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: normal;

    src: url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Bold.woff") format("woff"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Bold.ttf") format("truetype"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-Bold.svg#Roboto-Bold") format("svg");
}
@font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: italic;

    src: url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-BoldItalic.woff") format("woff"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-BoldItalic.ttf") format("truetype"),
         url("https://cdn.iredirect.net/webCDN/fonts/Roboto/latin/subset-Roboto-BoldItalic.svg#Roboto-BoldItalic") format("svg");
}

/* ==========================================================================
   Bootstrap Override
   ========================================================================== */

@media screen and (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: none;
    }
}

/* ==========================================================================
   Shared Styles
   ========================================================================== */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    font-family: "Roboto", sans-serif;
}

body {
    background-color: black;
}

@media screen and (max-width: 767.98px) {
    html, body {
        overflow-x: hidden;
    }
}

/* Headings
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    text-transform: uppercase;
}

/* Buttons
   ========================================================================== */

.btn {
    position: relative;

    display: block;

    margin: 0 auto;
    padding: 5px 60px;

    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1em;
    text-align: center;
    text-transform: uppercase;

    background: rgba(255, 145, 42, 1);

    border: 3px solid white;
    border-radius: 12px;
}

.btn:hover,
.btn:active {
    color: white;
}

.btn::before,
.btn::after {
    position: absolute;
    top: 50%;

    font-family: "FontAwesome";
    font-size: 24px;

    transform: translateY(-50%);
}

.btn::before {
    content: "\f061";

    left: 5%;
}

.btn::after {
    content: "\f060";

    right: 5%;
}

.btn--long::before {
    left: 12px;
}

.btn--long::after {
    right: 12px;
}

/* ==========================================================================
   Graphics
   ========================================================================== */

.graphics {
    position: relative;
}

.graphics::before,
.graphics::after {
    content: "";

    position: absolute;
}

/* ==========================================================================
   Main (Form) Section
   ========================================================================== */

.section-main {
    height: 638px;
    padding-top: 50px;

    background-color: black;
    background-image: url("//img.iredirect.net/webCDN/img/REA/CC/shared/CC3_main-section-background.jpg");
    background-repeat: no-repeat;
    background-position: center -50px;
    background-size: 1400px auto;
}

.casino-logo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 15px;
}

.casino-logo-background {
    content: "";
    z-index: -1;

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 105px;

    background: linear-gradient(to top, rgba(2, 59, 4, 1) 0, rgba(231, 247, 182, 1) 100%);

    border-radius: 10px 10px 0 0;
}

@media screen and (min-width: 768px) {
    /* Special rule due to form having checkbox(es) */
    body.reg-ca .section-main,
    body[data-gdpr="true"] .section-main {
        height: auto;
        background-size: cover;
        background-position: center top;
    }
}

@media screen and (max-width: 767.98px) {
    .section-main {
        height: auto;
        margin-bottom: 25px;
        padding-top: 0;

        background-size: 1200px auto;
    }

    .casino-logo {
        display: block;

        margin: 15px auto;
    }
}

/* Hero Image with Jackpot Ticker
   ========================================================================== */

.hero-image {
    position: relative;

    width: 100%;
    height: 600px;
    margin-bottom: -100px;
}

.hero-image::before {
    content: "";

    position: absolute;
    left: 0;
    top: -40px;

    width: 792px;
    height: 100%;

    background-image: url("//img.iredirect.net/webCDN/img/REA/CC/shared/CC3_hero-image-largescreen.fs8.png");
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (max-width: 1199.98px) {
    .hero-image::before {
        left: -90px;
    }
}

@media screen and (max-width: 991.98px) {
    .hero-image::before {
        left: -220px;
    }
}

@media screen and (max-width: 767.98px) {
    .hero-image {
        height: 316px;
        margin-bottom: -55px;
    }

    .hero-image::before {
        left: 50%;
        top: -25px;

        width: 500px;

        background-image: url("//img.iredirect.net/webCDN/img/REA/CC/shared/CC3_hero-image-smallscreen.fs8.png");
        background-position: -10px top;
        background-size: 500px auto;

        transform: translateX(-50%);
    }
}

@media screen and (min-resolution: 2dppx) and (max-width: 767.98px) {
    .hero-image::before {
        background-image: url("//img.iredirect.net/webCDN/img/REA/CC/shared/CC3_hero-image-smallscreen_2x.fs8.png");
    }
}

/* Mega Vault Pitch
   ========================================================================== */

.mvm-pitch {
    margin-top: -40px;

    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;

    text-shadow: 1px 1px 4px black;
}

.mvm-pitch p {
    margin-bottom: 0.5em;
}

.inline-logo {
    display: inline;

    max-height: 36px;

    vertical-align: middle;
}

.inline-logo--cr {
    padding-bottom: 6px;
}

@media screen and (max-width: 767.98px) {
    .mvm-pitch {
        margin-top: 0;
    }
}

/* ==========================================================================
    REA Form
   ========================================================================== */

#preform {
    z-index: 1;

    position: relative;

    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    padding: 10px;

    background-image: linear-gradient(to bottom, rgba(202, 198, 199, 1)   0,
                                                 rgba(226, 226, 226, 1)   9%,
                                                 white                   29%,
                                                 rgba(226, 226, 226, 1)  83%,
                                                 rgba(202, 198, 199, 1) 100%);

    border: 2px solid rgba(225, 196, 72, 1);
    border-radius: 12px;
}

#preform .btn {
    margin: 10px auto 5px;
}

.form-content {
    margin-top: 20px;

    font-size: 18px;
}

.form-content span {
    display: block;

    font-weight: 700;
    line-height: 1.15em;
}

.form-mvm-logo {
    margin: -15px auto;
}

@media screen and (max-width: 767.98px) {
    #preform {
        width: calc(100% + 30px);
        max-width: none;
        margin-right: -15px;
        margin-bottom: 0;
        margin-left: -15px;

        border: 2px solid white;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .form-content {
        margin-top: 0;
    }
}

/* Checkboxes for GDPR and CA reg
   ========================================================================== */

#preform .checks {
    margin: 10px auto 0;

    color: black;
    font-size: 13px;
}

#preform .checks:first-of-type {
    margin: 15px auto 0;
}

#preform .checks label {
    margin-bottom: 0;
}

#preform .modalLink {
    color: black;
    font-weight: 700;
    text-decoration: underline;
}

/* No thanks submit link/button
   ========================================================================== */

.nothanks-submit {
    display: block;

    margin: 0 auto;
    padding: 0;

    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;

    background: none;

    border: 0;
}

/* ==========================================================================
   Millionaires Section
   ========================================================================== */

.section-millionaires {
    padding: 15px 0;

    color: white;

    background: radial-gradient(ellipse farthest-side at center bottom,
                               rgba(89, 89, 89, 1)   0%,
                               black               100%);
}

.section-millionaires h2 {
    margin-bottom: 0;

    font-size: 28px;
    font-weight: 700;
}

.section-millionaires p {
    font-size: 18px;
}

.row--millionaires {
    padding: 15px 0;
}

.row--millionaires figcaption {
    background: black;
    font-weight: bold;
    padding: 7px 5px;
    text-align: center;
}

@media screen and (max-width: 767.98px) {
    .row--millionaires {
        height: 260px;
    }

    .row--millionaires div {
        position: absolute;
        display: block;

        animation: carousel 12s ease-in-out infinite;

        opacity: 0;
        padding: 0;

        left: calc((100vw - 320px) / 2);
    }

    .row--millionaires div:nth-of-type(2) {
        margin: 0 auto;
        animation-delay: 4s;
    }

    .row--millionaires div:nth-of-type(3) {
        animation-delay: 8s;
    }

    .row--millionaires img,
    .row--millionaires figcaption {
        width: 290px;
    }
}

@keyframes carousel {
    0%   { transform:translateX(  15px);  opacity:0; }
    3%   { transform:translateX(   0);    opacity:1; }
    33%  { transform:translateX(   0);    opacity:1; }
    36%  { transform:translateX( -15px);  opacity:0; }
    100% { transform:translateX(  15px);  opacity:0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 15px 0;

    color: white;

    background: radial-gradient(ellipse farthest-side at center bottom,
                               rgba(89, 89, 89, 1)   0%,
                               black               100%);

    border-top: 2px solid rgba(71, 115, 167, 1);
}

.footer-icons {
    background: none;
}

.copy p {
    margin-bottom: 0;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Font/Text Colours
   ========================================================================== */

.u__color--gold {
    color: rgba(199, 152, 42, 1);
}

.u__color--red {
    color: rgba(137, 0, 10, 1);
}

.u__color--yellow {
    color: rgba(239, 213, 0, 1);
}

/* Font/Text Transforms
   ========================================================================== */

.u__text--uppercase {
    text-transform: uppercase;
}

.u__text--small {
    font-size: 0.85em;
}

.u__text--large {
    font-size: 1.15em;
}

.u__text--xlarge {
    font-size: 1.5em;
}

/* ==========================================================================
   Lloyd Legacy Shared Fix
   ========================================================================== */

.pinkSlime {
    width: auto !important;

    color: rgba(153, 153, 153, 1);
    text-align: center !important;

    border: none !important;
}

.footerTracking {
    width: 85%;
    max-width: 480px;
    margin: 0 auto 4px;
    padding: 3px 4px;

    font-size: 11px;
    text-align: left;

    background: rgba(34, 34, 34, 1);

    border: 1px solid rgba(68, 68, 68, 1);
}

.affiliates {
    margin: 10px auto;

    text-decoration: underline;
}

.copy {
    margin: 5px auto 0;

    font-size: 12px;
    text-align: center;
}

/* ==========================================================================
   Modal Hax due to Bootstrap 4 styling
   ========================================================================== */

.modal.fade.in {
    opacity: 1;
}

.modal-body {
    font-size: 12px;
}