/*
Theme Name: Packup
 */

* {
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 1;
}
body,
html {
    width: 100%;
    /*    height: 100%;*/
}
body {
    font-family: "museo-slab";
    font-weight: 500;
    font-size: 13px;
    background-image: url('img/bg.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom left;
}
/*----------------------- Preloader -----------------------*/
body.preloader-site {
    overflow: hidden;
}

.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
margin:-45px 0 0 -45px;
    width: 70px;
}
.preloader-wrapper .preloader img { width: 70px ;}

@media screen and (max-width: 768px) {
    body {
        background-size: 200%;
        background-repeat: no-repeat;
        background-position: bottom left;
    }
}
h1 span {
    font-weight: 300;
}
h2 {
    font-family: "museo-sans";
    font-weight: 300;
    font-size: 2em;
    margin-bottom: 20px;
}
h3 {
    font-family: "museo-slab";
    font-weight: 300;
    font-size: 2em;
    margin: auto;
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
    width: 90%;
    min-width: 250px;
    margin-bottom: 20px;
}
p {
    font-family: "museo-sans";
    font-weight: 300;
    font-size: 1.2em;
    margin-bottom: 20px;
}
a {
    text-decoration: underline;
    color: #fff;
}
a:hover {
    text-decoration: underline;
    color: RGB(0, 160, 217);
}
input {
    width: calc(50% - 36px);
    margin: 0 7px;
    padding: 10px;
    font-family: "museo-sans";
    font-size: 1.2em;
    font-weight: 300;
    display: inline-block;
}
label {
    font-size: 0.9em;
}
input[type="submit"] {
    cursor: pointer;
    border-radius: 10px;
    padding: 10px;
    width: auto;
    text-transform: uppercase;
    background: RGB(255, 180, 16);
    font-weight: 700;
    color: #fff;
    margin: 20px auto;
}
input[type="submit"]:hover {
    cursor: pointer;
    background: #fff;
    color: RGB(255, 180, 16);
}
input[type="email"] {
    width: calc(100% - 34px);
    margin: 18px 0;
}
input[type="checkbox"] {
    width: auto;
    margin-bottom: 5px;
}
form .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #e65757;
}
form .wpcf7-response-output {
    padding: 10px;
    color: RGB(255, 180, 16);
    border-radius: 15px;
    border-color: RGB(255, 180, 16);
}
form .wpcf7-mail-sent-ok {
    color: RGB(255, 255, 255);
    border-radius: 15px;
    border-color: RGB(255, 255, 255);
    font-family: "museo-sans";
    font-weight: 300;
    font-size: 2em;
    margin-bottom: 20px;
    border: 0;
}
.checks {
    text-align: left;
}
.wpcf7 form.sent p {
    display: none;
}
.wpcf7 form.sent h2 {
    display: none;
}
.current-lang {
    border-bottom: 2px solid RGB(0, 160, 217);
    padding-bottom: 5px;
}
.lang li:hover {
    cursor:pointer;
    border-bottom: 2px solid RGB(0, 160, 217);
    padding-bottom: 5px;
}
header a {
    text-decoration: none;
    color: #1f1f1f;
}
header a:hover {
    text-decoration: none;
    color: #1f1f1f;
}
header {
    width: 100%;
    position: relative;
/*    background: #fff;*/
    z-index: 99;
    top: 0;
    height: 170px;
    text-align: center;
}
header .logo {
    width: calc(25% - 3px);
    display: inline-block;
    text-align: center;
    vertical-align: top;
    position: fixed;
    left:0;
}
header .logo img {
    width: 100%;
    max-width: 180px;
    margin-top: 32px;
    margin-left: -40px;
}
header nav {
    width: calc(53% - 50px);
    display: inline-block;
    padding-top: 113px;
    text-align: center;
    font-size: 1.2em;
    margin:0 auto;
    position: relative;
}
header nav ul {
    list-style: none;

}
header nav ul li {
    display: inline-block;
    font-weight: 500;
}
header nav ul li.active a {
    padding-bottom: 10px;
    border-bottom: 2px solid RGB(0, 160, 217);

}
header nav ul li:hover a {
    padding-bottom: 10px;
    border-bottom: 2px solid RGB(0, 160, 217);
}
header nav ul li:after {
    content: "|";
    color: RGB(0, 160, 217);
    margin: 0 15px;
}
header nav ul li:last-child:after {
    content: "";
    margin: 0;
}
header .lang ul {
    list-style: none;
    position: fixed;
    top: 30px;
    right: 30px;
    text-transform: uppercase;
    text-align: center;
}
header .lang ul li {
    display: inline-block;
    margin: 0 0 0 10px;
}
.station,
.content,
.player {
    width: calc(25% - 3px);
    position: relative;
    display: inline-block;
    text-align: center;
}
section {
    width: 55%;
    margin: 0px auto 60px;
}
.content {
    width: calc(100% - 2px);
    background: #1f1f1f;
    top: 25px;
    border-radius: 20px;
    color: #fff;
}
.player {
    position: fixed;
    bottom: 0;
    right: 0;
    display: none;
    overflow: hidden;
}
.player img {
    margin-bottom: -10px;
}
.player.jeu-img {
    display: block;
}
.jeu {
    width: calc(100% - 40px);
    padding-bottom: calc(56.25% - 40px);
    height: 0;
    opacity: 1;
    border-radius: 20px;
    display: none;
    position: relative;
}
iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    border: 20px solid #1f1f1f;
    background: #1f1f1f;
}
.overlay-details iframe {
    width: 45vw;
    height:calc(45vw * 0.5625);
/*    max-height:50vh;*/
    position: relative;
    display: block;
    border-radius: 0;
    overflow: hidden;
    margin:0 auto;
    border: 0 solid transparent;
    background: transparent;
}
.slide {
    display: none;
}
.jeu {
    display: block;
}
.inscription,
.code,
.cadeaux,
.cadeaux {
    border-radius: 20px;
    border: 20px solid #1f1f1f;
}
.cadeaux .cadeau {
    background: #fff;
    width: calc(33.333% - 24px);
    margin: 6px;
    border: 4px solid RGB(0, 160, 217);
    display: inline-block;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    vertical-align: top;
}
.cadeaux .cadeau img {
    width: 100%;
    opacity: 1 !important;
}
.cadeaux .cadeau p {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    height: auto;
    left: 0;
    right: 0;
    display: block;
    color: #1f1f1f;
    padding: 10px;
    margin: 0;
    min-height: 75px;
}
.cadeaux .cadeau p img {
    max-width: 150px;
}
.cadeaux .cadeau p.current {
    position: relative;
    min-height: 0;
    background: RGB(255, 180, 16);
    height: 20px;
    left: 0;
    width: calc(100% - 20px);
    display: block;
    color: #fff;
    padding: 10px 10px 15px 10px;
    font-size: 1.5em;
    text-transform: uppercase;
}
.cadeaux .cadeau p.date {
    width: calc(100% - 18px) !important;
    height: auto;
    min-height: 0;
    position: relative;
    background: RGB(0, 160, 217);
    display: block;
    color: #fff;
    padding: 10px;
}
.cadeaux .cadeau.old p.date {
color:RGB(0, 160, 217);
    background: #fff;

}
.cadeaux .cadeau .play { position:absolute; width:60px !important; height:60px !important;  display: block; z-index: 99999; opacity:0.5 !important; display:none;}
.cadeaux .cadeau:hover .play {opacity:1 !important; }
.cadeaux .cadeau.active {
    width: calc(100% - 24px);
    margin: 6px;
    border: 4px solid transparent;
}
.cadeaux .cadeau:hover.old,
.cadeaux .cadeau.active,
.cadeaux .cadeau:hover {
    border: 4px solid RGB(255, 255, 255);
    opacity: 1;
    cursor: pointer;
}
.cadeaux .cadeau.old { border-color: #FFF;}
.cadeaux .cadeau:hover.old { border-color: RGB(255, 180, 16);}

.cadeaux .cadeau:hover img {
    cursor: pointer;
}
.cadeaux .cadeau.active {
    border-color: RGB(255, 180, 16);
}
.cadeaux .cadeau.old {
    border-color: #fff;
}
.cadeaux .cadeau.active:hover {
    border-color: #fff;
}
.station img,
.player img {
    width: 100%;
    padding-top: 80px;
}
div#inscription {
    display: inline-block;
    color: RGB(255, 255, 255);
    font-weight: 500;
}
div#inscription:hover {
    cursor: pointer;
    color: RGB(0, 160, 217);
}
.cadeaux img {
    position: relative;
    opacity: 0.7;
}
.cadeaux h4 {
    background: #ccc;
    opacity: 0.5;
    position: absolute;
    display: block;
}
@media screen and (max-width: 1280px) {
    /*    .cadeaux  .cadeau.active { width:calc(100% - 24px); padding-top:36%; }*/
}
@media screen and (max-width: 1024px) {
    /*    .cadeaux .cadeau { width:calc(50% - 24px); margin:6px; border:4px solid RGB(0, 160, 217); padding-top:calc(50% - 24px); display: inline-block; background-size:cover; background-position: center center; background-repeat: no-repeat; position:relative;}*/
    /*    .cadeaux  .cadeau.active { width:calc(100% - 24px); padding-top:calc(50% - 24px); }*/
}
@media screen and (max-width: 576px) {
    /*    .cadeaux .cadeau { width:calc(100% - 24px); margin:6px; border:4px solid RGB(0, 160, 217); padding-top:calc(100% - 24px); display: inline-block; background-size:cover; background-position: center center; background-repeat: no-repeat; position:relative;}*/
    /*    .cadeaux  .cadeau.active { width:calc(100% - 24px); padding-top:calc(50% - 24px); }*/
}
footer {
    width: 100%;
    height: 60px;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 30px;
}
footer h1 {
    font-size: 2.5em;
}
.overlay-details {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 31, 31, 0.9);
    text-align: center;
    z-index: 9090999;
    display: none;
}
.overlay-details img {
    max-height: 50vh;
    position: relative;
}
.overlay-details img.lg {
    max-width: 150px;
    position: relative;
    vertical-align: middle;
    
}
.overlay-details p {
    margin-top: 20px;
     max-width:85%; min-width:350px; margin:0px auto;
}
.overlay-details h1 {
    margin-bottom: 40px;
    color: RGB(0, 160, 217);
}
.overlay-details h1:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 65px;
    margin-left: -50px;
    width: 100px;
    height: 2px;
    background: RGB(0, 160, 217);
}
.overlay-details .inner {
    padding: 20px;
    width: auto;
    max-width:75vw;
    height: auto;
    background: #fff;
    position: relative;
    display: inline-block;
}

.overlay-details .inner.final{
    padding: 20px;
    width:75vw;
    height: 75vh;
    background: #fff;
    position: relative;
    display: inline-block;
}
@media screen and (max-width: 1280px) {
    section {
        width: calc(60% - 0px);
    }
}
@media screen and (max-width: 1024px) {
    header { height:150px;}
    header nav {
        width: calc(80% - 33px);
        padding-top: 69px;
    }
    header .logo {
        width: 120px;
        margin-left: 20px;
    }
    header .logo img {
        width: 120px;
        max-width: 120px;
        margin-top: 20px;
    }
    body,
    html {
        height: auto;
    }
    section {
        width: calc(75% - 0px);
        margin-bottom: 30px;
    }
    .player {
        display: none !important;
    }
    /*    footer h1 { display:none; }*/
}
@media screen and (max-width: 768px) {
    body { font-size:11px;}
    header .lang ul {
position: absolute;
    }
    header nav {
        width: 100%;
        font-size: 1em;
        margin:80px auto 0;
        text-align: center;
        
    }
    header nav ul li:after {
    content: "|";
    color: RGB(0, 160, 217);
    margin: 0 2px 0 3px;
}
        header .lang {
        font-size: 1em;    
    }
    header .logo {
        width: 180px;
        margin-left: 0px;
        position: absolute;
        left:50%;
        margin-left:-70px;
        text-align: center;
    }
    header .logo img {
        width: 100%;
        max-width: 120px;
        margin-top: 20px;
    }
    section {
    width: 90%;
    margin: 30px auto 60px;
}
    .inscription,
    .code,
    .cadeaux,
    iframe,
    .jeu,
    /*.cadeaux { border-radius: 0px; border:0px solid #1f1f1f;}*/
    .content {
        width: calc(100% - 20px);
/*        border-radius: 0;*/
    }
    .player {
        right: 0;
    }
    .station {
        left: 0;
    }
    .player,
    .station {
        position: absolute;
        bottom: 0;
        height: 250px;
    }
    /*footer { width:100%; height:90px; text-align: center; color:#fff; position: absolute; bottom:0; display: block;}*/
    input[type="email"],
    input[type="text"] { width:calc(100% - 40px); margin-bottom:10px; margin-top:20px}
    label {margin-bottom:10px}
    .cadeaux .cadeau {
    width: calc(100% - 24px);
    margin: 6px;

}
    .overlay-details img { width:100%;}
    .overlay-details img.lg {
max-width: 100px; margin-right:10px; margin-left:10px;
position: relative;
        vertical-align: middle;
    }
    .overlay-details p {
    margin-top: 20px;
     max-width:none; min-width:0; margin:20px auto; width:auto;
}
    .content {
    width: calc(100% -20px) !important;
    background: #1f1f1f;
    top: 25px;
    border-radius: 10px !important;
        border-width: 10px !important;
    color: #fff;
}
}
.mm { position:fixed; width:120px; height:90px; left:6%; bottom:30px;}
.mm img { width:100%;}
@media screen and (max-width:1024px) {
    .mm { position:fixed; width:150px; height:111px; left:30px; bottom:30px; display:none;}

}
hr { width:100%; display:block; background: #ccc; color:#ccc; margin:30px auto; height:1px;}