html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body > .container {
    padding: 60px 15px 0;
}

main{
    background: url("/img/bg.jpeg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    /*max-height: 1110px;*/
    min-height:1500px
}


body, .sticky-footer-wrapper {
    min-height:100vh;
}

.iframe
{
    position: relative;
}

.iframe iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-max {
    max-width: 100px;
    max-height: 80px;
    width:100%;
}
.bloc_concours_titre {
    background-color: #28a745;
    margin:-20px -20px 0 -20px;
    min-height:100px;
    padding:15px;
    text-align: center;
    border-radius: 0;
}

.bloc_concours_titre h2{
    font-size:1.1em;
    margin:0;
    color:#ffffff;
    font-weight: bolder;
    text-transform: uppercase;
}
.cursor{
    cursor: pointer;
}
.bloc_concours .card-text{
    min-height: 100px;
    margin-top:15px;
}

.container-fluid.bloc_texte_accueil{
    padding:0px;
    background-color: #FFF;
    border-top:5px solid #28A745;
    border-bottom:1px solid #28A745;
    font-size: 0.9em;
}

.container-fluid.bloc_texte_accueil .row{
   margin:0px;
}

.container-fluid.bloc_texte_accueil .texte{
    padding:35px;
    text-align: justify;


}
.grey{
    background-color: #F0EFF2;
}

.container-fluid.bloc_texte_accueil h1{
    color: #ffffff;
    direction: ltr;
    font-family: Cabin, Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 2.8em;
    font-weight: 900;
    letter-spacing: normal;
    line-height: 120%;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px black;
    margin-top:-10px;
    margin-bottom: 10px;

}

.container-fluid.bloc_texte_accueil h2{
    font-size: 1.5em;
    text-transform: uppercase;

}
.container-fluid.bloc_texte_accueil .accroche {
    font-size: 1.2em;

    font-weight: bolder;
}


.polaroid {
    background: #fff;
    padding: 1rem;
    box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.2);

}
.polaroid > img{
    max-width: 100%;
    height: auto;
}
.caption {
    font-size: 1.2rem;
    text-align: center;
    line-height: 2em;
    font-weight: bolder;
    font-style: italic;
    margin-top:5px;
}
.item {
    width: 100%;
    display: inline-block;
    margin-top: 0px;
    filter: grayscale(50%);
}
.item .polaroid:before {
    content: '';
    position: absolute;
    z-index: -1;
    transition: all 0.35s;
}
.item:nth-of-type(4n+1) {
    transform: scale(0.8, 0.8) rotate(5deg);
    transition: all 0.35s;
}
/*.item:nth-of-type(4n+1) .polaroid:before {
    transform: rotate(6deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    right: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}*/
.item:nth-of-type(4n+2) {
    transform: scale(0.8, 0.8) rotate(-5deg);
    transition: all 0.35s;
}
.item:nth-of-type(4n+2) .polaroid:before {
    transform: rotate(-6deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    left: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item:nth-of-type(4n+4) {
    transform: scale(0.8, 0.8) rotate(3deg);
    transition: all 0.35s;
}
.item:nth-of-type(4n+4) .polaroid:before {
    transform: rotate(4deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    right: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item:nth-of-type(4n+3) {
    transform: scale(0.8, 0.8) rotate(-3deg);
    transition: all 0.35s;
}
.item:nth-of-type(4n+3) .polaroid:before {
    transform: rotate(-4deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    left: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item:hover {
    filter: none;
    transform: scale(1, 1) rotate(0deg) !important;
    transition: all 0.35s;
}
/*.item:hover .polaroid:before {
    content: '';
    position: absolute;
    z-index: -1;
    transform: rotate(0deg);
    height: 90%;
    width: 90%;
    bottom: 0%;
    right: 5%;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
    transition: all 0.35s;
}*/


.img_concours{
    max-height: 200px;
    display: block;
}
.img_concours img{
  max-height: 200px;
    /*
    .img_concours img{
    display: block;
    max-height: 200px;
    max-width: 350px;
    width: auto;
    height: auto;
    margin:auto;
}
     */
}

.jumbotron {
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin-bottom: 0;
   /* background-color: rgba(255, 255, 255,0.5);*/
    background: transparent;
    min-height: 100px;
    padding:0px;
}
.jumbotron-heading{
    background-color:#007BFF;
    padding:15px;
    color:#FFFFFF;
    text-transform: uppercase;
    font-weight: bold;

}
.jumbotron p{
    color:#28a745;

    font-weight: bold;
}
@media (min-width: 768px) {
    .jumbotron {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.jumbotron p:last-child {
    margin-bottom: 0;
}



.jumbotron .container {
    max-width: 40rem;
}

.navbar .logo{
    font-size:1.2rem;
    font-weight:bold;
    margin:0px;
}

.label{
    font-size:0.9rem
}
.rules{
    font-size:0.9rem;
    color:#5a6268;
    text-align: left;
    line-height: 95%;
}
.rules.home{
    padding-top:5px;
}
.plus_infos{
    font-size:0.7rem;
    color:#5a6268;
    text-align: justify;
}
.plus_infos_text{
    font-size:0.7rem;
    color:#000;
    text-align: justify;
    padding:5px;
    background-color:#F0F0F0;
}
.rules a,.cgv_concours a{
    color:#5a6268;
}
.card-group.sponsors{
    margin-bottom:15px;
}
.card-group.sponsors .overflow-auto{
    max-height: 100px;
    font-size:0.8rem;

}

.card-group.sponsors .card-header{
    height : 110px;
    text-align: center;
    background-color: transparent;
    padding-left:0;
    padding-right:0;
}
.card-group.sponsors .card-header .custom-checkbox{
    float:left;
    margin-left:-15px;
    margin-top:-15px
}


#exampleModalLong .overflow-auto{
    max-height:350px;
}

.infos.overflow-auto{
    height: 90px;
    font-size:0.7rem;
}

main > .container {
    padding: 60px 15px 0;
    background-color: #FFFFFF;
}

.footer {

    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}


.list-inline {
    display: flex;
}

.list-inline li {
    flex: 1;

    text-align: center;
}

/* TEMPLATE CONCOURS */
body.concours main{
    background-image: url("/img/concours/common/background-form.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
    min-height: 725px;
    overflow: hidden;
}

body.concours main .bloc_form{
    background-color:#FFF;
    padding: 15px;
}

body.concours main .featurette .bloc_form h2.featurette-heading{
    font-size: 1.8rem;
}
body.concours main .featurette .bloc_form {
   text-align: center;
}

.etape4 .btn_yes{
    height:100px;
    width:100px;
    cursor:pointer;
    margin-right:50px
}

.etape4 .btn_no{
    height:100px;
    width:100px;
    cursor:pointer;
}

/*[404 error page]
--------------------------*/
.error-content {
    padding: 0 0 70px;
    background-color: #FFF;
}
.error-text{
    text-align: center;
}
.error {
    font-size: 180px;
    font-weight: 100;
}
@keyframes bob {
    0% {
        top: 0;
    }
    50% {
        top: 0.2em;
    }
}
.im-sheep {
    display: inline-block;
    position: relative;
    font-size: 1em;
    margin-bottom: 70px;
}
.im-sheep * {
    transition: transform 0.3s;
}
.im-sheep .top {
    position: relative;
    top: 0;
    animation: bob 1s infinite;
}
.im-sheep:hover .head {
    transform: rotate(0deg);
}
.im-sheep:hover .head .im-eye {
    width: 1.25em;
    height: 1.25em;
}
.im-sheep:hover .head .im-eye:before {
    right: 30%;
}
.im-sheep:hover .top {
    animation-play-state: paused;
}
.im-sheep .head {
    display: inline-block;
    width: 5em;
    height: 5em;
    border-radius: 100%;
    background: #253858;
    vertical-align: middle;
    position: relative;
    top: 1em;
    transform: rotate(30deg);
}
.im-sheep .head:before {
    content: '';
    display: inline-block;
    width: 80%;
    height: 50%;
    background: #253858;
    position: absolute;
    bottom: 0;
    right: -10%;
    border-radius: 50% 40%;
}
.im-sheep .head:hover .im-ear.one, .im-sheep .head:hover .im-ear.two {
    transform: rotate(0deg);
}
.im-sheep .head .im-eye {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 100%;
    background: white;
    position: absolute;
    overflow: hidden;
}
.im-sheep .head .im-eye:before {
    content: '';
    display: inline-block;
    background: black;
    width: 50%;
    height: 50%;
    border-radius: 100%;
    position: absolute;
    right: 10%;
    bottom: 10%;
    transition: all 0.3s;
}
.im-sheep .head .im-eye.one {
    right: -2%;
    top: 1.7em;
}
.im-sheep .head .im-eye.two {
    right: 2.5em;
    top: 1.7em;
}
.im-sheep .head .im-ear {
    background: #253858;
    width: 50%;
    height: 30%;
    border-radius: 100%;
    position: absolute;
}
.im-sheep .head .im-ear.one {
    left: -10%;
    top: 5%;
    transform: rotate(-30deg);
}
.im-sheep .head .im-ear.two {
    top: 2%;
    right: -5%;
    transform: rotate(20deg);
}
.im-sheep .body {
    display: inline-block;
    width: 7em;
    height: 7em;
    border-radius: 100%;
    background: #0054D1;
    position: relative;
    vertical-align: middle;
    margin-right: -3em;
}
.im-sheep .im-legs {
    display: inline-block;
    position: absolute;
    top: 80%;
    left: 10%;
    z-index: -1;
}
.im-sheep .im-legs .im-leg {
    display: inline-block;
    background: #141214;
    width: 0.5em;
    height: 2.5em;
    margin: 0.2em;
}
.im-sheep::before {
    left: 0;
    content: '';
    display: inline-block;
    position: absolute;
    top: 112%;
    width: 100%;
    height: 18%;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.2);
}

/* **** /
MARQUEE
 */
#marquee{
    background:hsla(210,100%,50%,1);
    height:100px;
    width:100%;
    overflow:hidden;
    position:relative;

}
.mtext{
    /*background:hsla(90,100%,50%,.5);*/
    cursor:pointer;
    overflow:hidden;
    position:absolute;
    left:10px;
    margin-right:10px;
    width:100%;
    height:100px;
}

.profile-img img{
    border-radius: 50%;
  }

.profile-img legend{
    font-size:11px;
    z-index:100;
    /*background-color: rgba(192, 192, 192, 0.35);*/
    text-align: center;
    color:#ffffff;
}
#gagnants h3{
    font-size:15px;
    margin: 0px;
    background:hsla(210,100%,50%,1);
    color:white;
    /*border-bottom: 1px solid #FFFFFF;*/
    width:140px
}
/*
#adresse-detail .form-group{
    text-align: left;
}
#adresse-detail .form-group label{
display: inline;
padding: .2em .6em .3em;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
background-color: #d2d6de;
color:#444;
font-size: 70%;
    font-variant: all-small-caps;
}
*/

.container.bloc_infos{
    text-align: justify;
    font-size:0.9em;

}

.container.bloc_infos h1 {
    font-size:1.8em;
    margin: 0px 0 55px 0;
    font-weight: bolder;
    text-align: center;
}
.container.bloc_infos h2{

    font-size:1.5em;
    font-weight: bolder;
    margin: 35px 0 35px 0;
    text-decoration: underline;
}

.container.bloc_infos h3{

    font-size:1.2em;
    font-weight: bolder;
    margin: 35px 0 35px 0;
    padding:5px;
}

.container.bloc_infos h4{

    font-size:1.2em;
    font-weight: bolder;
    margin: 35px 0 35px 0;
    padding:10px;
}

