/* ****************** */
/*        BODY        */
/* ****************** */
body {
    margin: 0;
}

body.responsive {
    max-width: 810px;
    margin-left: auto;
    margin-right: auto;
}

body.wysihtml5-editor {
    padding: 0;
}

body.no-margin {

}

body.no-margin .container {
    width: 100%;
}

body.fixed {
    width: 810px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.fixed .container {
    width: 810px;
}

body.mobile {
    width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.mobile .container {
    width: 480px;
}

body.freestyle {
    padding: 0;
}

/* ****************** */
/*       GENERAL      */
/* ****************** */
.center {
    text-align: center;
}

.right {
    float: right;
}

.full-width {
    width: 100%;
}

ul.horizontal li {
    display: inline-block;
}

.wysiwyg-text-align-left{
    text-align: left;
}

.wysiwyg-text-align-center {
    text-align: center;
}

.wysiwyg-text-align-right {
    text-align: right;
}

/* ****************** */
/*     PAGE HEADER    */
/* ****************** */
#page_header {
    position: relative;
    width: 100%;
    max-width: 810px;
    min-height: 40px;
    margin: 10px auto 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #EEE;
    vertical-align: middle;
    word-wrap: break-word;
}

#page_header .picture {
    position: absolute;
    left: 0;
    width: 30px;
}

#page_header .picture img {
    max-width: 30px;
    max-height: 30px;
}

#page_header .like {
    position: absolute;
    right: 0;
    top: 5px;
    width: 100px;
}

#page_header h1 {
    font-size: 20px;
    line-height: 25px;
    margin: 0 110px 0 40px;
}

/* ****************** */
/*      APP HEADER    */
/* ****************** */
#app_header {
    max-width: 810px;
    text-align: center;
    margin: 0 auto;
}

/* ****************** */
/*     APP WRAPPER    */
/* ****************** */
#app_wrapper {
    position: relative;
    padding-bottom: 20px;
    max-width: 810px;
}

#app_wrapper > .row-fluid {
    margin-top: 20px;
}

body.fixed #app_wrapper,
body.mobile #app_wrapper,
body.freestyle #app_wrapper {
    padding-bottom: 0;
}

body.fixed #app_wrapper > .row-fluid:first-child,
body.mobile #app_wrapper > .row-fluid:first-child,
body.freestyle #app_wrapper > .row-fluid:first-child {
    margin-top: 0;
}

#app_wrapper > .row-fluid.not-spaced {
    margin-top: 0 !important;
}

#app_wrapper > .row-fluid.spaced {
    margin-top: 20px !important;
}

/* ****************** */
/*      APP FOOTER    */
/* ****************** */
#app_footer {
    position: relative;
    border-top: 1px #FFFFFF solid;
    width: 100%;
    margin: 0 auto;
    max-width: 810px;
    font-style: italic;
    font-size: 75%;
    line-height: 13px;
    margin-top: 10px;

    /* Overrides custom themes */
    /*background-color: #FFFFFF !important;*/
    /*color: #404040 !important;*/
}

#app_footer .wrapper {
    border-top: 1px #BFBFBF solid;
    padding: 5px;
    /*margin-top: 10px;*/
}

#app_footer a {
/*    color: #0088cc !important;*/
}

#app_footer a:hover, #app_footer a:active {
    /*color: #005580 !important;*/
}

#app_footer .disclaimer {

}

#app_footer .logo {
    float: right;
    padding: 5px;
}

/* ****************** */
/*      AUTH FORM     */
/* ****************** */
#auth-form {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.controls .radio_list, .controls .checkbox_list {
    list-style: none;
}

.controls .radio_list input, .controls .checkbox_list input {
    margin-top: 0;
}

.controls .radio_list label, .controls .checkbox_list label {
    display: inline-block;
}

select.date {
    width: auto;
}

/* ******************* */
/* MERCIALYS AUTH FORM */
/* ******************* */
.mercialys-connect {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow-y: scroll;

    z-index: 9999;
}

.mercialys-connect.mercialys-connect--open {
    display: block;
}

.mercialys-connect__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-color: #2c2c2c;

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    /* IE 5-7 */
    filter: alpha(opacity=50);
    /* Netscape */
    -moz-opacity: 0.5;
    /* Safari 1.x */
    -khtml-opacity: 0.5;
    /* Good browsers */
    opacity: 0.5;
}

.mercialys-connect__popup {
    position: absolute;

    top: 70px;
    left: 10%;
    width: 80%;

    margin-bottom: 50px;
    padding: 24px 0;

    background-color: #ffffff;
    border: 1px solid #2c2c2c;
}

.mercialys-connect__signup, .mercialys-connect__signin {
    width: 40%;
    padding: 0 5%;
    display: inline-block;

    vertical-align: top;
}

.mercialys-connect__signin {
}

.mercialys-connect__signup {
}

.mercialys-connect__close {
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

@media(max-width: 600px) {

    .mercialys-connect__signup, .mercialys-connect__signin {
        width: 90%;
        padding: 0 5%;
        display: block;
    }

    .mercialys-connect__signup {
        margin-top: 40px;
        border-left: none;
    }

    .mercialys-connect__popup .full-width {
        width: 90% !important;
    }

}


/* ****************** */
/*      NO SCRIPT     */
/* ****************** */
#noscript-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.8;
    z-index: 9999;
}

#noscript-box {
    position: fixed;
    top: 30%;
    left: 50%;
    background-color: rgb(255, 191, 191);
    border: 1px solid rgb(210, 93, 88);
    width: 300px;
    margin-left: -150px;
    padding: 11px 15px;
    line-height: 1.3;
    color: #FF0000;
    text-shadow: 0 1px 0 rgb(255, 255, 255);
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    z-index: 9999;
}

/* ****************** */
/*       BUTTONS      */
/* ****************** */
.btn-fb {
    display: inline-block;
    padding-left: 40px;
    height: 42px;
    background: transparent url("/images/fb-btn-l.png") no-repeat;
    vertical-align: top;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
}

.btn-fb:hover {
    color: #fff;
}

.btn-fb > span:first-child {
    display: block;
    float: left;
    height: 18px;
    background: transparent url("/images/fb-btn-bg.png") repeat-x;
    padding: 12px 10px;
}

.btn-fb:hover > span:first-child {
    text-decoration: underline;
}

.btn-fb > span:last-child {
    display: block;
    float: left;
    height: 42px;
    width: 10px;
    background: transparent url("/images/fb-btn-r.png") no-repeat;
}

.fb-like {
    min-height: 20px;
}

/* ****************** */
/*       VIDEO        */
/* ****************** */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ****************** */
/*       PODIUM       */
/* ****************** */
.podium {
    margin-bottom: 20px;
}

.podium .table {
}

.podium .table .line {
    min-height: 50px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
}

.podium .table .line > div {
    height: 100%;
}

.podium .important {
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
}

.podium img {
    max-width: 50px;
    max-height: 50px;
}

/* ****************** */
/*     APP SPECIFIC   */
/* ****************** */
        
            #app_footer {
    display: none;
}

body.fixed{
    width: 100%;
}

#app_wrapper {
    min-width: 810px;
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin-left: 5px;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 810px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    font-family: 'Lato';
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.container-connect {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/connect_background.jpg');
    background-repeat: no-repeat;
    height: 785px;
}

.container-ambassador {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/ambassadeur_background.jpg');
    background-repeat: no-repeat;
    height: 785px;
}

.container-connect2 {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/connect_background.jpg');
    background-repeat: no-repeat;
    height: 785px;
}

.container-connect-t{
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/connect_background_t.jpg');
    background-repeat: no-repeat;
    height: 1024px;
    width: 100%!important;
    max-width: 100%!important;
    background-size: cover;
}

.container-game-t{
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/game_background_t.jpg');
    background-repeat: no-repeat;
    height: 1024px;
    width: 100%!important;
    max-width: 100%!important;
    background-size: cover;
}

.btn_jouer {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_jouer.png');
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    width: 255px;
    height: 43px;
    text-align: center;
    margin: auto;
}

.btn_jouer:hover {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_jouer_hover.png');
}

.container-connectForm {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/form_background.jpg');
    background-repeat: no-repeat;
    height: 785px;
}

.container-connectForm-t {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/form_background_t.jpg');
    background-repeat: no-repeat;
    height: 1024px;
    width: 100%!important;
    max-width: 100%!important;
    background-size: cover;

}

.container-prono {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/form_background.jpg');
    background-repeat: no-repeat;
    height: 785px;
}

.container-prono2 {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/form_background.jpg');
    background-repeat: no-repeat;
    height: 785px;
}

.control-label {
    position: relative;
    top: 10px;
    left: 0;
    -webkit-transition: top .2s ease-in-out, left .2s ease-in-out;
    -moz-transition: top .2s ease-in-out, left .2s ease-in-out;
    -ms-transition: top .2s ease-in-out, left .2s ease-in-out;
    -o-transition: top .2s ease-in-out, left .2s ease-in-out;
    transition: top .2s ease-in-out, left .2s ease-in-out;
    font-size: 9px;
    font-weight: 100;
    text-transform: uppercase;
    height: 10px;
    color: #666666;
}

.form-group {
    margin-bottom: 0px;
}

.control-label.empty {
    top: 40px;
    left: 0px;
    font-size: 21px;
    font-weight: normal;
}

.form-control {
    height: 47px;
}

.checkbox label, .radio label {
    font-size: 14px;
}

#auth-form {
    width: 100%;
    max-width: 100%;
}

.form-control {
    border: 0px;
    border-bottom: 2px solid #fff;
    background: transparent;
    box-shadow: none;
    font-size: 21px;
    padding: 0px;
    color: #000;
    font-weight: 100;
}

.form-control:focus {
    border: 0px;
    border-bottom: 2px solid #f00;
    box-shadow: none;
}

.label {
    font-size: 16px;
    color: #000;
}

.btn_valider {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_valider.png');
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    width: 254px;
    height: 43px;
    border: 0;
    padding: 0;
}

.btn_valider:hover {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_valider_hover.png');
}


.btn_ok {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_ok.png');
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    width: 148px;
    height: 43px;
    border: 0;
    padding: 0;
    margin: auto;
    border-radius: 0;
}

.btn_ok:hover {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_ok_hover.png');
}

.selectize-input {
    border: 2px solid transparent;
    border-radius: 0px;
    padding: 0;
    background-color: transparent;
}

.selectize-input.full {
    background-color: transparent;

    /*    background-color: rgba(255, 255, 255, 0.4);*/
}

.selectize-control.single .selectize-input.dropdown-active:after {
    margin-top: -4px;
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #f00 transparent;
}

.selectize-control.single .selectize-input:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 9px;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/picto_dropdown.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(255,255,255,0.4);
    width:55px;
    height: 57px;
    border: none;
/*    border-color: #f00 transparent transparent transparent;*/
}

.selectize-dropdown,
.selectize-dropdown.form-control {
    height: auto;
    padding: 0;
    margin: 0px 0 0 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    border: 2px solid #000;
    border-radius: 0px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.selectize-input.dropdown-active {
    border-radius: 0px;
}

.option {
    width: 572px;
    margin-right: 65px;
    text-align: right;
    color: #000;
    padding: 17px 10px;
    background-color: rgba(255, 255, 255, 0.4);
}

.selectize-dropdown [data-selectable],
.selectize-dropdown .optgroup-header {
    padding: 4px 12px;
}

.choice {
    width: 100%;
}

.team {
    font-weight: 400;
    text-transform: uppercase;
}

.vs {
    font-weight: 300;
    text-transform: uppercase;
}

.late, .break {
    opacity: 0.3;
}

.container-merci {
     position: relative;
     background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/final_background.jpg');
     background-repeat: no-repeat;
     height: 785px;
 }


.container-merci-t {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/final_background_t.jpg');
    background-repeat: no-repeat;
    height: 1024px;
    width: 100%!important;
    background-size: cover;
}


.container-ranking {
    position: relative;
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/classement_background.jpg');
    background-repeat: no-repeat;
    height: 765px;
}

.btn_partager {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_partager.png');
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    width: 227px;
    height: 43px;
    border: 0;
    padding: 0;
    margin: auto;
    margin-right: 0;
}

.btn_partager:hover {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_partager_hover.png');
}


.btn_rejouer {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_rejouer.png');
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    width: 450px;
    height: 43px;
    border: 0;
    padding: 0;
    margin: auto;
    margin-right: 0;
}

.btn_rejouer:hover {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_sportlab_tissot_minute_2017-2018/btn_rejouer_hover.png');
}

.choice_team {
    position: relative;
}

.choice_team input {
    position: absolute;
    left: 50%;
    opacity: 0;
}

.square {
    height: 60px;
    width: 60px;
    position: relative;
    margin-bottom: 5px;
    display: inline-block;
}

.square img {
    max-height: 55px;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.choice_team span {
    font-size: 21px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    font-family: Lato;
}

.p-a-0 {
    padding: 0px;
}

.p-r-30 {
    padding-right: 10px;
}

.unselected, .unselected-ambassador {
    opacity: 0.5;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
}

.unselected-all {
    opacity: 0.5;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
}

.selected, .unselected:hover {
    filter: none;
    -webkit-filter: none;
    opacity: 1;
}

.prono-half{
    width: 49%;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.bh-row-form-prono label{
    margin-bottom: 0;
}

.prono {
    font-weight: 600;
    margin: 0;
    border: 0;
    vertical-align: middle;
    font-size: 96px;
    width: 111px;
    margin-top: -12px;
    text-align: right;
    background: transparent;
    color: #000;
    margin-bottom: -19px;
    padding: 0;
}

.prono:focus {
    outline: none;
}

.minute {
    position: relative;
    right: 0px;
    display: inline-block;
    border-top: 2px solid #666;
    font-size: 21px;
    color: #000;
    width: 130px;
    font-weight: 100;
    text-align: right;
}

.deja {
    font-size: 14px;
}

.choice, .option {
    font-size: 26px;
}

.ambassador-logo{
    max-height: 43px;
}

.ambassador-prono-wrapper{
    max-width: 289px;
    text-align: center;
    margin: auto;
    margin-top: 160px;

}

.bh-row-form-prono{
    position: relative;
    padding-bottom: 15px;
}

.team-name{
    text-transform: uppercase;
    font-weight: 900;
    font-size: 9px;
    white-space: nowrap;
    text-align: center;
    margin-top: 1px;
}

.team1{
    text-align: right;
}
.team2{
    text-align: left;
}

.prono-half .square{
    height: 45px;
    width: 45px;
}

.min-prono{
    font-weight: 800;
    font-size: 30px;
    width: 80px;
    display: inline-block;
}

.grey-btn{
    display: inline-block;
    margin-top: 9px;
    margin-right: 5px;
}
    
        