/* ==========================================================================
   01. FLEX
========================================================================== */
.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-column {
    flex-direction: column !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

/**********************************************************************/
/** GENERAL */
/**********************************************************************/
.border-blue {
    border: 2px solid #00427a;
}

.code-box {
    border: 2px solid #00427a;
    background-color: transparent;
    color: #00427a;
    width: fit-content;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 22px;
}

.vh-100 {
    height: 100vh !important;
}

p.text-muted {
    font-size: 14px;
}

.gap-3 {
    gap: 1rem;
}

#highscore-info{
    background-color: white !important;
    border-bottom: 4px solid #1c3768 !important;
}

.code-container {
    display: flex;
    flex-direction: row;
}

.code-box {
    border-radius: 3px;
}

.code-box + .btn-outline-primary {
    color: #00427a !important;
    border: 2px solid #00427a !important;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700 !important;
}

.code-box + .btn-outline-primary:hover {
    background-color: #00427a;
    color: white !important;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Provides cross-browser RGBa background */
    zoom: 1;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#80000000', endColorstr='#80000000');
    /* background: transparent;*/
    /* background: rgba(51, 51, 51, 0.5);*/
    background-image: linear-gradient(#ffffff 10%, transparent) !important;
}

/* BOOTSTRAP CLASSES NEED TO BE OVERRIDDEN */

.open{
    display: block;
}

.navbar-collapse.in {
    overflow-y: visible;
}

.d-inline {
    display: inline !important;
}

#jq-keyboard{
    display: block;
/*    position: relative !important;*/
    left: 10% !important;
    right: 10% !important;
    width: 80%;
    top: 1050px !important;
    bottom: auto !important;
}

#jq-keyboard button.jqk-btn{
    background-position: center !important;
    width: 6% !important;
}

#jq-keyboard button.jqk-btn.special{
    width: 9% !important;
}

#jq-keyboard button.jqk-btn.special.space{
    width: 40% !important;
}

.checkbox-span{
    margin-left: 30px !important;
    font-size: 2em !important;
    line-height: 1.5em !important;
}

.checkbox-a{
    font-size: 2rem !important;
}

.checkbox-input{
    width: 30px !important;
    height: 30px !important;
}

/*#customer-spin-the-wheel-game{
    min-height: calc(100vh - 290px);
}
*/

#customer-spin-the-wheel-game{
    display: flex !important;
    align-items: center !important;
}
/**********************************************************************/
/** TEXT, LINKS & BUTTONS */
/**********************************************************************/

body {
  color: black;

}

.line-through {
    text-decoration: line-through;
} 

.nav>li>a {
    color: white;
}    

.navbar-nav>li>a {
    color: black;
}

/*******************************/
/* GHOST */
/*******************************/

.bwx-btn-ghost-white {
    background-color: transparent;
    border: 3px solid #fff;
    color: white !important;
}

.bwx-btn-ghost-white:hover {
    background-color: #fff;
    color: black !important;
}

.bwx-btn-ghost-black {
    background-color: transparent;
    border: 3px solid #000;
    color: #000 !important;
}

.bwx-btn-ghost-black:hover {
    background-color: #000;
    color: white !important;
}

/*******************************/
/* LINK */
/*******************************/

.hero-icon-links .bwx-btn-link {
  color: #fff;
  font-size: 1.1em;
}

.bwx-btn-link {
  font-weight: 700 !important;
}

/*******************************/
/* FACEBOOK */
/*******************************/

.bwx-btn-facebook, a.inverse.bwx-btn-facebook, .inverse a.bwx-btn-facebook {
    background-color: #29487e;
    color: white !important;
}

.btn.bwx-btn-facebook {
    border: 3px solid #29487e;
}

.bwx-btn-facebook:hover, .btn-nav.bwx-btn-facebook:hover,  .bwx-btn-facebook:focus, .btn-nav.bwx-btn-facebook:focus {
    background-color: #365ea5;
}

.btn.bwx-btn-facebook:hover, .btn.bwx-btn-facebook:focus {
    border: 3px solid #365ea5;
}

.bwx-btn-facebook {
    -webkit-box-shadow: 0 4px 0 #4f7bc4;
    -moz-box-shadow: 0 4px 0 #4f7bc4;
    box-shadow: 0 4px 0 #4f7bc4;
}

.btn-border.bwx-btn-facebook, a.btn-border.bwx-btn-facebook  {
    color: #29487e;
}

/*******************************/
/* GOOGLE */
/*******************************/

.bwx-btn-google, a.inverse.bwx-btn-google, .inverse a.bwx-btn-google {
    background-color: #4385f5;
    color: white !important;
}

.btn.bwx-btn-google {
    border: 3px solid #4385f5;
}

.bwx-btn-google:hover, .btn-nav.bwx-btn-google:hover,  .bwx-btn-google:focus, .btn-nav.bwx-btn-google:focus {
    background-color: #5997ff;
}

.btn.bwx-btn-google:hover, .btn.bwx-btn-google:focus {
    border: 3px solid #5997ff;
}

.bwx-btn-google {
    -webkit-box-shadow: 0 4px 0 #96bdfe;
    -moz-box-shadow: 0 4px 0 #96bdfe;
    box-shadow: 0 4px 0 #96bdfe;
}

.btn-border.bwx-btn-google, a.btn-border.bwx-btn-google  {
    color: #4385f5;
}

/*******************************/
/* TWITTER */
/*******************************/

.bwx-btn-twitter, a.inverse.bwx-btn-twitter, .inverse a.bwx-btn-twitter {
    background-color: #38A1F3;
    color: white !important;
}

.btn.bwx-btn-twitter {
    border: 3px solid #38A1F3;
}

.bwx-btn-twitter:hover, .btn-nav.bwx-btn-twitter:hover,  .bwx-btn-twitter:focus, .btn-nav.bwx-btn-twitter:focus {
    background-color: #57b5ff;
}

.btn.bwx-btn-twitter:hover, .btn.bwx-btn-twitter:focus {
    border: 3px solid #57b5ff;
}

.bwx-btn-twitter {
    -webkit-box-shadow: 0 4px 0 #2a6da2;
    -moz-box-shadow: 0 4px 0 #2a6da2;
    box-shadow: 0 4px 0 #2a6da2;
}

.btn-border.bwx-btn-twitter, a.btn-border.bwx-btn-twitter  {
    color: #38A1F3;
}

/*******************************/
/* GAMES */
/*******************************/

/* GAME - start :: Soccer game */

#gameContainer {
    position: relative;
}

#gameContainer #scoreContainer, 
#gameContainer #timer {
    position: absolute;
    top: 10%;
}

#gameContainer #countDown {
    left: 50%;
    transform: translate(-50%, -35%);
    width: auto;
    display: block;
    text-align: center;
    font-size: 8em;
    top: 35%;
    position: absolute;
}

#gameContainer .goalState {
    position: absolute;
    top: 33%;
    left: 0;
    font-size: 2em;
    text-align: center;
    width: 100%;
}

#gameContainer #scoreContainer {
    left: 60px;
}

#gameContainer #timer {
    right: 60px;
}

/* GAME - end :: Soccer game */


/* GAME - start :: Spin the wheel */

#spinBtn {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.pointer {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 60px;
    display: block;
    z-index: 999;
    top: -10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.wheel-center {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-height: 250px;
    max-width: 250px;
    height: 100%;
    width: 100%;
    display: block;
    z-index: 999;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#spinner {
    position: relative;
}

#spinner #won {
    display: block;
    position: absolute;
    top: calc(50% + 50px);
    left: 50%;
    width: calc(100% - 60px);
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 999999;
}

#spinner #won:not([style*="display: none"]) + .game-container {
    opacity: 0.33;
}

#spinner .game-container {
    padding-top: 20px;
}

#spinner .game-container #canvasContainer {
    align-items: center;
    justify-content: center;
    display: flex;
}

#spinner .game-container canvas {
    /*width: 100%;*/
    position: relative;
    z-index: 1;
}

#spinner #canvasContainer {
    position: relative;
}

#spinner #canvasContainer .bg {
    background-image: url(/brandworks/images/wheel-bg.jpg);
    background-repeat: no-repeat;   /* Ensure that background does not repeat */
    background-position: center;
    background-size: contain;
    border-radius: 50%;
    /*overflow: hidden;*/
    z-index: 0;
    opacity: 0.33;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.wheelborder {
    width: 700px;
    height: 700px;
    border-radius: 50% !important;
    display: block;
    border: 120px solid black;
    z-index: -1;
    position: absolute;
}


/* GAME - end :: Spin the wheel */

/*******************************/
/* FOOTER */
/*******************************/

@media (max-width: 768px) {
    #footer1 .container .row .col-sm-7{
        margin-bottom: 25px !important;
    }

    #footer1 .container .row .col-sm-5{
        margin-bottom: 25px !important;
    }

    #footer1 .container .row .col-sm-5:last-of-type{
        margin-bottom: 0px !important;
    }

    #footer1 .y-middle{
        display: block !important;
    }
}

/*******************************/
/* COOKIE */
/*******************************/

.big-cookie {
    position: fixed !important;
    top: 50%;
    left: 50%;
    bottom: 50% !important;
    max-width: 700px !important;
    height: 200px;
    margin-left: -350px !important;
    margin-top: -100px !important;
}

.cookie-modal-backdrop {
    z-index: 9;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    content: "";
    opacity: .5 !important;
}

.big-cookie-expand {
    height: 300px !important;
    margin-top: -150px !important;
}

@media only screen and (max-width: 1199px) {
    .wheelborder {
        width: 560px;
        height: 560px;
    }
}

@media only screen and (max-width: 767px) {
    .code-container {
        flex-direction: column;
        justify-content: center;
    }

    .code-box {
        width: 100%;
        text-align: center;
    }
    #step3SpinthewheelGame .container {
        width: auto !important;
    }

    .big-cookie {
        width: 300px;
        left: 400px;
        height: 400px !important;
    }
    .wheel-center {
        max-height: 200px;
        max-width: 200px;
    }
}

@media only screen and (max-width: 480px) {
    .wheel-center {
        max-height: 150px;
        max-width: 150px;
    }
}

@media only screen and (max-width: 374px) {
    
    .big-cookie {
        width: 200px;
        left: 400px;
        height: 500px !important;
        top: 250px;
    }

    .wheel-center {
        max-height: 120px;
        max-width: 120px;
    }
}