/*video {object-fit: cover;}*/

.video-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height:100%; width:100%;
}
.video-responsive { overflow:hidden; padding-bottom:56.25%; position:relative; height:0; width:100%;align-self: flex-end;}
.video-responsive iframe { left:0; top:0; height:100%; width:100%; position:absolute;}

#bulles, #social .container {text-align: center;}
#bulles .container {
    margin-top: -66px;
    display: inline-block;
    z-index: 4;
}
.bulle_bt {
    text-align: center;    
    font-family: nexa-regular, Arial, Helvetica, sans-serif;
    color: #04a599;
}
.bulle {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    display: block;
    margin-bottom: 12px;
    color: #FFF;
}
.bulle div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #04a599;
    border-radius: 10%;
    overflow: hidden;
    padding: 25% 10%;
    box-sizing: border-box;
    border:solid 4px #04a599;
    /*border-top: 1px;*/
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease
}
#offre_mobile .bulle div {
    border-radius: 50%;
}
.bulle:hover div {border-color: #FFF;}
.bulle h2, .bulle h3 {
    color: #FFF;
    font-family: nexa-regular, Arial, Helvetica, sans-serif;
    margin: 0;
    text-decoration: underline;
    line-height: 1
}
.bulle h2 span, .bulle h3 span, .bulle h2 p, .bulle h3 p {
    font-family: nexa-bold, Arial, Helvetica, sans-serif;
    margin-top: 18px;
    display: inline-block;
    font-weight: 400;
}
#offre_mobile {display: none;}
#offre {
    position: absolute;
    z-index: 6;
    margin: 0;
    width: 256px;
}
#offre .bulle {margin-bottom: 0;}
#offre .bulle div, #offre_mobile .bulle div {
    background-color: #ebff38;
    border:solid 4px #ebff38;
    color: #04a599;
    background-image: url(../img/picto-offre.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 14%;
}
#offre .bulle h2, #offre_mobile .bulle h2 {
    color: #04a599;
    text-decoration: none; 
}
#offre .bulle:hover div, #offre_mobile .bulle:hover div {border-color: #04a599;}
#offre .bulle p, #offre_mobile .bulle p {font-family: nexa-regular, Arial, Helvetica, sans-serif;line-height: 1.25;}
#offre .bulle p span, #offre_mobile .bulle p span {font-family: nexa-bold, Arial, Helvetica, sans-serif;}

#social {
    padding: 48px 0;
}
#social_visuel {
    float: left;
    width: 100%;
    background-image: url(../img/picto-appli.png);
    background-repeat: no-repeat;
    height: 100%;
    margin: 0;
}
#social_texte {float: left;}
#social_texte h3 {
    font-family: nexa-bold, Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #04a599;
    margin: 0 12px 48px 12px;
    line-height: 1.25;
}
#social_texte h3 a {
    color: #04a599;
    font-family: nexa-heavy, Arial, Helvetica, sans-serif;
    text-decoration: none;
}
#social_texte p {
    font-family: nexa-bold, Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #04a599;
    line-height: 1;
    margin: 0;
}
.bt_social {
    display: inline-block;
    margin: 12px;
    text-decoration: none;
    color: #04a599;
    font-size: 48px;

    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease
}
.bt_social:hover {color: #2bc6ba}

#pratics {
    padding: 48px 0;
    text-align: center;
    background-color: #e6f2f1;
}
#pratics_container {
    width: 96%;
    margin: auto;
}
#pratics section {
    display: none;
    padding: 24px;
    border: 2px solid #04a599;
    border-radius: 12px;
    overflow: hidden;
    background-color: #FFF
}
#pratics section div {
    display: block;
}
#pratics section img {
    float: left;
    width: 100%;
}
#pratics section ul {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700
}
#pratics section ul a {
    display: block;
    color: #04a599;
    text-decoration: none;
    line-height: 2.5;
}
#pratics section ul a:before {
    font-family: FontAwesome;
    content: '\f192';
    color: #ebff38;
    margin: 0 6px 0 0;
    -webkit-transition: all 0.25s 0s ease-in-out;
    -moz-transition: all 0.25s 0s ease-in-out;
    -o-transition: all 0.25s 0s ease-in-out;
    transition: all 0.25s 0s ease-in-out;
}
#pratics section ul a:hover:before {
    /*margin: 0 10px 0 0;*/
    color: #04a599;
}
#pratics input {
    display: none;
}
#pratics label {
    font-family: nexa-bold, Arial, Helvetica, sans-serif;
    display: inline-block;
    margin: 0 0 -2px 0;
    padding: 6px 12px;
    font-weight: 600;
    color: #e6f2f1;
    border: 2px solid transparent;
    background-color: #04a599;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 12px 12px 0 0;
}
#pratics label:hover {
    color: #FFF;
    cursor: pointer;
}
#pratics input:checked + label, #pratics input:checked + label + label {
    background-color: #FFF;
    color: #04a599;
    border: 2px solid #04a599;
    border-bottom: 2px solid #fff;
}
#pratics #tab-1:checked ~ #pratics_content-1,
#pratics #tab-2:checked ~ #pratics_content-2,
#pratics #tab-3:checked ~ #pratics_content-3 {
    display: block;
}
#pratics .tab_desktop {display: none;}
#pratics .tab_mobile {display: inline-block;}


@media only screen and (max-width:767px) {
    #tiles_mobile{display: block;}
    #tiles_desktop{display: none;}
    ul#cours, #offre {display: none}
    #offre_mobile {display: block;}
    #bulles .container {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .bulle_bt {
        width: 290px;
        margin: 0 auto 24px auto;
        font-size: 20px;
        float: none;
    }   
    #offre_mobile .bulle div {
        padding: 12% 5%;
        background-size: 15%;
    } 
    .bulle h2, .bulle h3 {
        font-size: 36px;
    }
    .bulle h2 span, .bulle h3 span, .bulle h2 p, .bulle h3 p {
        font-size: 24px;
        margin-top: 18px;
    }
    #offre .bulle p {
        margin: 12px 0 0 0;
        font-size: 20px;
    }
    #offre .bulle p span, #offre_mobile .bulle p span {
        font-size: 30px;
    }
    #social_visuel {
        background-position: center top;
        background-size: 25%;
    }
    #social_texte {
        margin: 50% 0 0 0;
        width: 100%;
    }
    #social_texte h3 {
        font-size: 30px;
    }
    #social_texte p {
        font-size: 24px;
    }
}

@media only screen and (min-width:768px) {
    #tiles_mobile{display: none;}
    #tiles_desktop{display: block;}
    #bulles .container {
        margin-top: -46px;
        margin-bottom: 24px;
    }
    .bulle div {
        border-radius: 50%;
    }
    .bulle_bt {
        width: 25%;
        margin: 0 12.5%;
        font-size: 18px;
        float: left;
    }
    /*#reservez {margin: 0 0 0 1%;}
    #news {margin: 0 1% 0 0;}*/
    .bulle h2, .bulle h3 {
        font-size: 24px;
    }
    .bulle h2 span, .bulle h3 span, .bulle h2 p, .bulle h3 p {
        font-size: 18px;
        margin-top: 12px;
    }
    #offre .bulle div {
        padding: 12% 5%;        
        background-size: 12%;
    }
    #offre .bulle p {
        margin: 6px 0 0 0;
        font-size: 14px;
    }
    #offre .bulle p span {
        font-size: 24px;
    }
    #social_visuel {
        background-position: 7% center;
        background-size: contain;
    }
    #social_texte {
        margin: 24px 0 24px 25%;
        width: 75%;
    }
    #social_texte h3 {
        font-size: 30px;
    }
    #social_texte p {
        font-size: 24px;
    }
    #pratics_container {
        width: 85%;
    }
    #pratics section div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: left;
        -ms-flex-pack: left;
        -webkit-justify-content: left;
        justify-content: left;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }  
    #pratics label {
        padding: 12px;
        margin: 0 6px -2px 0;
        font-size: 18px;
    }
    #pratics ul {
        font-size: 18px;
    }
    #pratics section img {
        width: 50%;
    }
    #pratics section ul {
        width: 50%;
    }    
    #pratics section ul a {
        line-height: 2;
    }
    #pratics .tab_desktop {display: inline-block;}
    #pratics .tab_mobile {display: none;}
}

@media only screen and (min-width:1024px) {
    #bulles .container {
        margin-top: -66px;
    } 
    .bulle_bt {
        font-size: 20px;
    }
    .bulle h2, .bulle h3 {
        font-size: 32px;
    }
    .bulle h2 span, .bulle h3 span, .bulle h2 p, .bulle h3 p {
        font-size: 24px;
        margin-top: 18px;
    }

    #offre .bulle div {  
        padding: 10% 5%;     
        background-size: 14%;
    }
    #offre .bulle p {
        margin: 12px 0 0 0;
        font-size: 20px;
    }
    #offre .bulle p span {
        font-size: 30px;
    }
    #social_visuel {
        background-position: 15% center;
    }
    #social_texte h3 {
        font-size: 36px;
    }
    #social_texte p {
        font-size: 30px;
    }
    #pratics_container {
        width: 75%;
    } 
    #pratics label {
        padding: 12px 24px;
    }
}