/*!
Theme Name: jeuquestionnaire
Description: Description
Version: 1.0.0
Text Domain: jeuquestionnaire

*/

@import url('https://fonts.googleapis.com/css?family=Nunito:300,300i,700,700i,900,900i');

html,
body {
    padding:  0;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
}

html,
body.home{
    height: 100%;
}

*{
    transition: all 0.5s;
}

strong{
    font-weight: 700;
}

.home #logo-espion img{
    max-width: 150px;
    width: 50%;
    display: inline-block;
    margin: auto;
}
.home #logo-tresca img{
    width: 100%;
    display: inline-block;
    margin: auto;
}
.home #logo-espion,
.home #logo-tresca {
    text-align: center;
    padding-bottom: 50px;
}

.home #main-container,
.home #main-container-vertical{
    position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    filter: grayscale(1);
    transition: all 1s;
}
.home #main-container.couleur,
.home #main-container-vertical.couleur{
    filter: grayscale(0);
}
.home #main-container-vertical{
    display:none;
}

#logo{
    position: fixed;
    left: 0px;
    top: 15px;
    background: #fff;
    padding: 15px 15px 15px 10px;;
    width: 100px;
    z-index: 1049;
    box-shadow: 2px 7px 10px rgba(0, 0, 0, 0.35);
    border-radius:0 15px 15px 0;
}

#loading{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: auto;
    padding: 5px;
    background: rgb(255, 151, 15);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color:#fff;
    font-weight: bold;
}
#loading:after{
    top:35px;
    left: 0;
    content:"";
    position: fixed;
    width: 100%;
    height:100%;
    background-color: rgba(0,0,0,0.25);
    z-index: 1999;
}


.rounded-white{
    border-radius:15px;
    background-color: rgba(255,255,255,0.75);
    padding: 15px;
}
.rounded-black{
    border-radius:15px;
    background-color: rgba(0,0,0,0.75);
    padding: 15px;
}

.bg-gradient{
    background-color: #C0141E;
    background-image: linear-gradient(to right, #F15E27, #C0141E);
}

.rounded-white .top-banner{
    margin-top:-15px;
    margin-left:-15px;
    margin-right:-15px;
    margin-bottom: 25px;
    border-radius:15px;
    padding: 10px;
}

.dashed-white-border{
    border: 2px dashed rgba(255,255,255,0.5);
}

.card-header .svg-inline--fa {
    transition: .3s transform ease-in-out;
}
.card-header .collapsed .svg-inline--fa,
.card-header .collapsed .fa {
    transform: rotate(-90deg);
}

/*
Navigation TOP
*/
nav#top{
    position: fixed;
    bottom: top;
    left: 0;
    z-index: 1020;
    width: 100%;
    padding: 5px 10px;
    padding-left: 100px;
    background-image: linear-gradient(to right, #F15E27, #C0141E);
    text-align: right;
    font-size: 21px;
    line-height: 24px;
    color: #fff;
}
nav#top .fa-inverse{
    color: #C0141E;
}
nav#top a
{
    color: #fff;
    padding: 0px 10px;
}
nav#top i{
    font-size: 24px;
    line-height: 24px;
    padding: 0px 10px;
}
nav#top .pipe{
    border: 1px inset rgba(255,255,255,0.25);
    margin: 0px 10px;
}


/*
Navigation BOTTOM
*/
#kiwi{
    position: absolute;
    font-size: 8px;
    bottom: 200px;
    opacity: 0.15;
}
.home #kiwi,
.page-id-347 #kiwi{
    display: none;
}

nav#bottom{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1020;
    width: 100%;
}
nav#bottom a{
    display: inline-block;
    text-align: center;
    padding: 10px 1%;
    background-color: rgba(0,0,0,0.5);
    text-decoration: none;
    color: #fff;
    z-index: 200;
    position: relative;
    text-shadow: 0px 2px rgba(0, 0, 0, 0.15);
    box-sizing: content-box;
}
nav#bottom a.todo{
    background-color: rgba(253, 187, 47, 1);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}

nav#bottom a.done{
    background-color: rgba(255,125,0,1);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}
nav#bottom a:hover,
nav#bottom a.active{
    z-index: 500;
    box-shadow: 2px 7px 10px rgba(0, 0, 0, 0.65);
}
nav#bottom a.active{
    padding-top: 20px;
}
nav#bottom a.active .jour{
    font-size: 33px;
    margin-top: -5px;
}
nav#bottom a.active .mois{
    font-size: 16px;
}

nav#bottom a .jour,
nav#bottom a .mois {
    display: block;
}
nav#bottom a .jour {
    height: 35px;
    font-size: 32px;
    line-height: 35px;
}
nav#bottom a .mois {
    height: 15px;
    font-size: 15px;
    line-height: 15px;
    text-transform: uppercase;
    font-weight: 900;
    color: rgba(255,255,255,0.65);
}

.modal-content{
    border: none;
}
.modal-header.bg-gradient{
    text-shadow: 0px 2px rgba(0, 0, 0, 0.25);
}


/* hide horizontal scrollbars, since we use the vertical ones to scroll to the right */
body {
    background: url('./images/bg2.svg?v=1') repeat bottom left;
    background-attachment: fixed;
    background-size: cover;
}

/**
  * important: keep position fixed, you can however use top:0 instead of bottom:0
  * if you want to make it stick to the top of the browser
  */
.scroll {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    margin-bottom: 70px;
}

.scroll .panneau {
    position: absolute;
    height: 100%;
}

.scroll .panneau img,
.scroll .panneau svg:not(.svg-inline--fa){
    position: absolute;
    bottom: 0;
    left: 0;
    filter: grayscale(1);
}
.scroll .panneau.couleur img,
.scroll .panneau.couleur svg:not(.svg-inline--fa),
.scroll.front-logos .panneau svg:not(.svg-inline--fa){
    filter: none;
}

.horizon.scroll .panneau img,
.horizon.scroll .panneau svg:not(.svg-inline--fa){
    top: 0;
}
.middle.scroll .panneau img,
.middle.scroll .panneau svg:not(.svg-inline--fa){
    bottom: 5%;
}

.front.front-logos svg rect:hover{
    cursor: pointer;
}

.scroll.blur{
    filter: blur(30px) !important;
    transition: all 0.25s;
}


/**
  * z-index ordering of the different layers, do this for your layers,
  * also assign absolute width (to prevent issues if the script gets executed before the images get loaded)
  */
.horizon {
    z-index: 1;
    height: 80%;
    top: 0;
    filter: blur(6px);
}
.horizon.nuages {
    z-index: 800;
    opacity: 0.75;
}
.front.front-content .panneau.couleur:before{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(4, 169, 242, 0.30) 0%,rgba(0,183,234,0) 80%);
}

.middle {
    z-index: 500;
}

.middle.second-layer{
    filter: blur(5px);
}
.middle.first-layer{
    filter: blur(3px);
}

.front {
    z-index: 1000;
}
.front.front-logos {
    z-index: 1005;
}


.front .btnContainer{
    min-width: 100%;
    position: absolute;
    bottom: 0;
    height: 60px;
    text-align: center;
    z-index: 1010;
}

.front .btnContainer .btn.focus{
    font-size: 18px;
    box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
    font-weight: 600;
}

#mobile-bottom{
    display: none;
}

@media (max-width: 575px) {
    .home #main-container{
        display: none;
    }
    .home #main-container-vertical{
        display: block;
    }
    nav#top{
        padding-left: 65px;
    }
    #logo{
        width: 65px;
        padding:10px 10px 10px 5px
    }
    .scroll{
        margin-bottom: 40px;
    }
    #mobile-bottom{
        display: block;
        width: 100%;
        background-color: rgba(255,125,0,1);
        position: fixed;
        bottom: 0;
        text-align: center;
        z-index: 1040;
    }

    #mobile-bottom a{
        display: block;
        width: 100%;
        height: 40px;
        text-align: center;
        background-color: rgba(255,125,0,1);
        line-height: 40px;
        font-size: 20px;
        color: #fff;
        text-shadow: 0px 2px rgba(0, 0, 0, 0.15);
        font-weight: bold;
    }
    #mobile-bottom a:hover{
        text-decoration: none;
        background-color: rgba(253, 187, 47, 1);
    }
    nav#bottom{
        position: fixed;
        top:-100%;
        visibility: hidden;
    }
    nav#bottom a{
        opacity:0;
        display: none;
    }

    nav#bottom.afficher{
        position: fixed;
        visibility: visible;
        top: 0;
        z-index: 1500;
        height:100%;
        background-color: rgba(0,0,0,0.5);
    }
    
    nav#bottom.afficher a{
        opacity: 1;
        display: block;
        width: 100% !important;
        height: auto;
    }
    
    nav#bottom.afficher a.active{
        padding: 10px 0;
        box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5);
    }
    
    nav#bottom.afficher a .jour,
    nav#bottom.afficher a .mois{
        display: inline-block;
        margin: 0 2px;
    }
    
    nav#bottom.afficher a .jour{
        font-size: 20px;
        line-height: 20px;
        height: 20px;
    }
    
    nav#bottom.afficher a .mois{
        font-size: 12px;
        line-height: 20px;
        height: 20px;
    }
}


/*
COMPILATION
*/
#compilation .data{
    background: rgba(255,255,255,0.5);
    border-radius: 25px;
    font-size: 30px;
    line-height: 30px;
    color: #F15E27;
    padding: 20px;
}
#compilation .data .icone{
    font-size: 60px;
    line-height: 60px;
    padding-bottom: 20px;
    color: rgba(253, 187, 47, 1);
}
#compilation .data>strong{
    font-size: 75px;
    line-height: 60px;
    color: #C0141E;
    font-weight: 900;
    display: block;
}

#compilation .data table tr th,
#compilation .data table tr td{
    padding: 5px 10px;
    text-align:center;
}
#compilation .data table{
    margin: auto;
}
#compilation .data p{
    font-size: 21px;
    line-height: 24px;
    color: #333;
}

#compilation .data p strong{
    font-size: 24px;
    line-height: 30px;
    color: #F15E27;
    font-weight: 700;
}