/* ****************** */
/*      BOOTSTRAP     */
/* ****************** */
@import url("/css/bootstrap.default.min.css");
@import url("/css/bootstrap-responsive.min.css");

/* Bootstrap-responsive Fix in Facebook Frame */
@media(width:810px){
    .container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:780px}
    .span12{width:780px}
}

/* ****************** */
/*        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.max-820 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.max-820 .container {
    max-width: 820px;
}

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;
}

/* ****************** */
/*        PAGER       */
/* ****************** */
.dataTables_wrapper .paginate_button,
.dataTables_wrapper .paginate_active,
.dataTables_wrapper .dataTables_info {
    float: left;
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    margin: 14px 10px;
    text-shadow: 0 1px 0 #FFFFFF;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    margin: 13px 10px 13px 0;
}

.dataTables_wrapper .paginate_button, .dataTables_wrapper .paginate_active {
    background-color: #FFFFFF;
    border: 1px solid rgba(119, 156, 162, 0.37);
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 3px 0 rgba(115, 163, 194, 0.11);
    cursor: pointer;
    display: block;
    font: 600 11px / 14px "Arial", "Helvetica Neue", Helvetica, sans-serif;
    height: 12px;
    margin: 0 0 0 8px;
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
}

.dataTables_wrapper .paginate_active,
.dataTables_wrapper .paginate_button:hover {
    color: rgba(38, 116, 205, 0.8);
    background-color: rgba(38, 116, 205, 0.2);
    border: 1px solid rgba(38, 116, 205, 0.6);
}

.dataTables_wrapper .paginate_button_disabled,
.dataTables_wrapper .paginate_button_disabled:hover {
    background-color: #FFF;
    text-shadow: 0 1px 0 #FFF;
    border: 1px solid rgba(119, 156, 162, 0.10);
    box-shadow: 0 1px 3px 0 rgba(115, 163, 194, 0);
    color: #DDD !important;
    cursor: pointer;
}

/* ****************** */
/*   LAYOUT SPECIFIC  */
/* ****************** */

/* ****************** */
/*        CUSTOM      */
/* ****************** */

    body {
        color: #404040;

            }

    
    .btn [class^="icon-"], [class*=" icon-"] {
        background-image: url("/img/glyphicons-halflings-white.png");
    }

    .btn {
        color: #FFFFFF;
        text-shadow: none;

        /* Background color reset */
        background-color: #4879ba;
        background-image: none;
        filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);

        border-color: #325582;
    }

    .btn.active, .btn:active {
        background-color: #7fa1cf;
        color: #FFFFFF;
    }

    .btn-group.open .btn.dropdown-toggle {
        background-color: #325582;
    }

    .btn:hover {
        color: #FFFFFF;
        background-color: #325582;

        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
    }


/* ****************** */
/*     APP SPECIFIC   */
/* ****************** */
        
            body.responsive {
    max-width: none;
    font-family: 'Noto Sans', sans-serif;
}

#app_wrapper {
    max-width: 100%;
    width: 100%;

    padding-bottom: 0;
    margin: 0 auto;

    color: #737373;
    font-size: 16px;
    line-height: 22px;

    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
}

.main-content-app {
    padding: 30px 0;
}

.alert {
    margin-bottom: 0px;
    margin-top: 20px;
}

li {
    line-height: inherit;
}

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

h1, .h1 {
    font-size: 48px;
    line-height: 48px;
    font-weight: normal;
}

h2, .h2 {
    font-size: 30px;
    line-height: 30px;
    font-weight: normal;
}

h3, .h3 {
    font-size: 24px;
    line-height: 28px;
    font-weight: normal;
}

h6, .h6 {
    font-size: 13px;
    line-height: 15px;
    font-weight: normal;
}

.no-wrap {
    white-space: nowrap;
}

.caps {
    text-transform: uppercase;
}

.float--left {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.weight--thiner {
    font-weight: 200;
}

.weight--thin {
    font-weight: 300;
}

b, strong, .weight--bold {
    font-weight: 700;
}

.weight--bolder {
    font-weight: 900;
}

.color--pink {
    color: #fee5ad;
}

.color--grey {
    color: #737373;
}

.color--darkgrey {
    color: #666666;
}

.color--white {
    color: #ffffff;
}

.color--black {
    color: #000000;
}

.color--red {
    color: #ff0000;
}

.align--justify {
    text-align: justify;
}

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

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

.background--white {
    background-color: #ffffff;
}

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

.background--darkgrey {
    background-color: #666666;
}

.background--red {
    background-color: #ff0000;
}

.background--violet {
    background-color: #5b608c;
}

.spaced {
    margin-top: 40px;
    margin-bottom: 40px;
}

.spaced--half {
    margin-top: 20px;
    margin-bottom: 20px;
}

.padded {
    padding-top: 40px;
    padding-bottom: 40px;
}

.padded--half {
    padding-top: 20px;
    padding-bottom: 20px;
}

.padded--max {
    padding-top: 100px;
}

.btn {
    border: none;
    padding: 13px 25px;
}

.btn--small {
    padding: 8px 25px;
}

.btn--big {
    padding: 20px 45px;

    font-size: 19px;
    line-height: 19px;
}

.btn--red,
.btn--red:active,
.btn--red:hover {
    color: #FFFFFF;
    background-color: #ff0000;
}

.btn--back,
.btn--back:hover,
.btn--back:active,
.btn--back:visited {
    color: #000000;
    text-decoration: none;
}

.btn--green,
.btn--green:active,
.btn--green:hover {
    color: #FFFFFF;
    background-color: #BEDDB1;
}

.btn--grey,
.btn--grey:active,
.btn--grey:hover {
    color: #737373;
    background-color: #e8e8e8;
}

.btn--violet,
.btn--violet:active,
.btn--violet:hover {
    color: #FFFFFF;
    background-color: #fee5ad;
}

.btn--pink,
.btn--pink:active,
.btn--pink:hover {
    color: #FFFFFF;
    background-color: #E5ABCF;
}

.btn--ignore {
    cursor: default;
}

.btn img {
    margin: -20px 0;
}

.block-content {
    position: relative;
    //max-width: 960px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;

    width: auto;
}

#header_logo {
    margin: 5px 0;
    line-height: 50px;
}

.facebook_homepage h1 {
    padding: 20px 0;
    font-size: 40px;
}

.facebook_homepage h2 {
    font-size: 25px;
}

.facebook_homepage p {
    font-size: 15px;
}

#slider_container {
    display: block;
    position: relative;

    //max-width: 960px;
    max-width: 1160px;
    margin: 0 auto;
}

#slider {
    position: relative;
    width: 100%;
    height: 404px;
    overflow: hidden;
}

.slider__points {
    display: none;
}

#slider .slide {
    display: block;

    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: transparent 750px center no-repeat;
    background-position: 90% 50%;
}

.slider__control {
    position: absolute;
    top: 132px;

    width: 24px;
    height: 60px;

    background-position: center center;
    background-repeat: no-repeat;

    text-wrap: none;
    text-indent: 999px;
    overflow: hidden;

    cursor: pointer;
}

.slider__control--prev {
    left: 5px;
    
    background-image: url("https://eed59fb834408cecb030-18c65e189cb8a24c33d101f16aeda2d2.ssl.cf3.rackcdn.com/white_arrow_left.png");
}

.slider__control--next {
    right: 5px;

    background-image: url("https://eed59fb834408cecb030-18c65e189cb8a24c33d101f16aeda2d2.ssl.cf3.rackcdn.com/white_arrow_right.png");
}

.slide__body {
    width: 55%;
    padding: 0 30px;
    margin-top: 70px;
    margin-left: 50px;
    color: white;
}

.slide__body ul.middle li {
    margin: 10px;
}

.slide__pic {
    display: none;
}

.slide__title {
    font-size: 33px;
    text-transform: uppercase;
    line-height: 35px;
    margin-bottom: 20px;
}

.slide__subtitle {
    font-size: 19px;
    font-weight: 600;
}

.slide__text {
    text-align: justify;
}

.slide__cta {
    margin-top: 25px;
    text-align: center;
}

.slide__cta .btn {
    border: 1px solid white;
    border-radius: 20px;
    padding: 10px 50px;
    text-transform: uppercase;
}

.slide__signature {
    position: absolute;
    left: 300px;
    bottom: 20px;
    width: 200px;
    text-align: right;
}

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

#auth-form .radio_list {
    margin-bottom: -17px;
}

#auth-form .radio_list li {
    margin-right: 20px;
}

.form-horizontal .control-label {
    line-height: 30px;
}

#auth-form input[type=text],
#auth-form input[type=email] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    width: 100%;
    height: 36px;
    padding-top: 3px;

    border: none;
}

#auth-form input[type=text]:focus,
#auth-form input[type=email]:focus,
#auth-form textarea:focus {
    border-color: #fee5ad;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#auth-form textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    width: 100%;
    border: none;
    resize: none;
}

#contact_address {
    height: 36px;
}

#auth-form .help-block--helper {
    margin-top: 0;
    color: #737373;
    font-size: 12px;
}

#auth-form .label--small label {
    width: 50px;
}

#auth-form .label--small .controls {
    margin-left: 70px;
}

#auth-form .controls--file {
    display: table;
    width: 100%;
    vertical-align: top;
}

#auth-form .controls--file .controls--file__input,
#auth-form .controls--file .controls--file__label {
    display: table-cell;
    vertical-align: top;
}

#auth-form .controls--file .controls--file__label {
    padding-left: 10px;
    width: 122px;
}

#auth-form .file-btn {
    display: inline-block;
    position: relative;
    cursor: pointer !important;
}

#auth-form .file-btn label {
    cursor: pointer !important;
}

#auth-form .file-btn input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    cursor: pointer !important;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
}

.legal_optin {
    margin-top: 30px;
    font-size: 10px;
    line-height: 12px;
    text-align: justify;
}

#app_footer {
    display: none;
}

#footer_content {
    padding: 5px 0;
    line-height: 50px;
}

ul {
    list-style: none;
    margin: 0;
}

ul li {
    display: inline-block;
    vertical-align: top;
}

ul.with-list-style {
    list-style: initial;
    list-style-type: square;
    margin-left: 20px;
}

ul.with-list-style li {
    display: block;
    margin: 3px !important;
}

ul.middle li {
    vertical-align: middle;
}

.justify {
    text-align: justify;
}

.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 100%;
}

#header_menu {
    white-space: nowrap;
}

#header_menu li {
    width: 20%;
    display: inline-block;
    vertical-align: middle;

    border-bottom: 4px solid transparent;
}

#header_menu li:hover a,
#header_menu li.active a,
#side_menu li:hover a,
#side_menu li.active a {
    color: white;
}

#header_menu .red_btn,
#side_menu .red_btn {
    border-color: #f45d4c;
}

#header_menu .red_btn:hover,
#header_menu .red_btn.active,
#side_menu .red_btn:hover,
#side_menu .red_btn.active {
    background-color: #f45d4c;
}

#header_menu .orange_btn,
#side_menu .orange_btn {
    border-color: #f7a541;
}

#header_menu .orange_btn:hover,
#header_menu .orange_btn.active,
#side_menu .orange_btn:hover,
#side_menu .orange_btn.active {
    background-color: #f7a541;
}

#header_menu .yellow_btn,
#side_menu .yellow_btn {
    border-color: #faca66;
}

#header_menu .yellow_btn:hover,
#header_menu .yellow_btn.active,
#side_menu .yellow_btn:hover,
#side_menu .yellow_btn.active {
    background-color: #faca66;
}

#header_menu .lightyellow_btn,
#side_menu .lightyellow_btn {
    border-color: #fee5ad;
}

#header_menu .lightyellow_btn:hover,
#header_menu .lightyellow_btn.active,
#side_menu .lightyellow_btn:hover,
#side_menu .lightyellow_btn.active {
    background-color: #fee5ad;
}

#header_menu .green_btn,
#side_menu .green_btn {
    border-color: #a1dbb2;
}

#header_menu .green_btn:hover,
#header_menu .green_btn.active,
#side_menu .green_btn:hover,
#side_menu .green_btn.active {
    background-color: #a1dbb2;
}

#header_menu li a,
#side_menu li a {
    display: block;
    color: #737373;
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
    padding: 10px 0 10px 15px;
}

#header_menu li a:hover,
#side_menu li a:hover {
    text-decoration: none;
}

#side_menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    overflow: auto;
    overflow-y: scroll;

    background-color: rgba(115, 115, 115, 0);

    -webkit-transition: all ease 500ms;
    -moz-transition: all ease 500ms;
    -ms-transition: all ease 500ms;
    -o-transition: all ease 500ms;
    transition: all ease 500ms;
}

#side_menu.show {
    display: block;
}

#side_menu.open {
    background-color: rgba(115, 115, 115, 0.7);
}

#side_menu nav {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;

    width: 80%;
    padding-bottom: 20px;

    overflow-y: scroll;

    background: #ffffff;

    -webkit-transition: all ease 500ms;
    -moz-transition: all ease 500ms;
    -ms-transition: all ease 500ms;
    -o-transition: all ease 500ms;
    transition: all ease 500ms;
}

#side_menu.open nav {
    left: 20%;
}

#side_menu li {
    display: block;
    border-left: 8px solid transparent;
    margin-bottom: 20px;
}

.menu-toggle {
    width: 50px;
    height: 50px;
}

.menu-open {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
}

.nav-toggle {
    width: 100%;
    background: transparent url("https://2df8908546472f50f2f1-9a9b35f7cd19fc837a69222ef2bcc6bd.ssl.cf3.rackcdn.com/hamburger2.gif") no-repeat center right;
    background-position-x: 98%;
}

ul.dropdown-filter {
    display: inline-block;
    margin: 10px 0;
}

#search_form {
    position: relative;
    margin: 10px 0;
}

#search_form input[type=text] {
    width: 100%;
    height: 32px;
    margin: 0;
    background-color: #454545;
    border: 0;
    color: rgb(240,240,240);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

#search_form input[type=submit] {
    width: 21px;
    height: 21px;
    background: #454545 url('https://01bb905a9187e0efde65-256aeb8d6e1c6a33f64bc0b2426862e3.ssl.cf3.rackcdn.com/picto_search.png') center center no-repeat;
    border: 0;
    position: absolute;
    top: 9px;
    right: 10px;
}

#header_gallery {
    padding-top: 40px;
}

.btn.dropdown-toggle {
    background-color: white;
    color: #737373;
    border-color: #737373;
    padding: 10px 15px;
}

.btn.dropdown-toggle .caret {
    border-top: 4px solid rgba(0, 0, 0, 0.5);
    margin-left: 20px;
}

.btn-group.open .btn.dropdown-toggle {
    background-color: inherit;
}

.btn-group .dropdown-menu li {
    display: block;
}

.gallery-element {
    background-color: white;
    margin-bottom: 20px;

    height: 265px;

    color: white;
    font-size: 14px;

    overflow: hidden;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.gallery-element--submit {
    background-color: #ff0000;
    height: 265px;
}

.gallery-element--submit a {
    display: block;
    padding-top: 50px;
    font-size: 24px;
    font-weight: 100;
    line-height: 27px;
    margin: auto;
    //width: 120px;

    color: #ffffff;
}

.gallery-element--submit a:hover {
    text-decoration: none;
    color: #ffffff;
}

.gallery-element--submit a span {
    display: block;
}

.gallery-element__picture {
    display: block;
    position: relative;
    max-height: 210px;
    overflow: hidden;
}

.gallery-element__picture img {
    width: 100%;
    height: auto;
    max-width: 710px;
}

.gallery-element__overlay {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: transparent url("https://eed59fb834408cecb030-18c65e189cb8a24c33d101f16aeda2d2.ssl.cf3.rackcdn.com/black_gradient.png") left top repeat-x;

    -webkit-transition: background-color ease 200ms;
    -moz-transition: background-color ease 200ms;
    -ms-transition: background-color ease 200ms;
    -o-transition: background-color ease 200ms;
    transition: background-color ease 200ms;
}

.gallery-element__overlay:hover {
    background-color: rgba(115, 115, 115, .5);
}

.gallery-element__username {
    display: block;
    position: absolute;

    width: 170px;

    top: 13px;
    left: 5px;

    color: #ffffff;
    font-size: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-element__name {
    display: block;
    position: absolute;

    width: 80%;

    top: 100px;
    left: 10%;

    text-align: center;
    color: #ffffff;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;

    opacity: 0;

    -webkit-transition: opacity ease 200ms;
    -moz-transition: opacity ease 200ms;
    -ms-transition: opacity ease 200ms;
    -o-transition: opacity ease 200ms;
    transition: opacity ease 200ms;
}

.gallery-element__overlay:hover .gallery-element__name {
    opacity: 1;
}

.gallery-element__votes {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;

    width: 36px;
    height: 36px;
    line-height: 36px;

    background: url('https://01bb905a9187e0efde65-256aeb8d6e1c6a33f64bc0b2426862e3.ssl.cf3.rackcdn.com/vote_bg.png') no-repeat;

    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

.gallery-element__infos {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: url('https://01bb905a9187e0efde65-256aeb8d6e1c6a33f64bc0b2426862e3.ssl.cf3.rackcdn.com/bottom_overlay.png');
    color: white;
}

.votes_count {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin: 0 5px 0 10px;
    background: url('https://01bb905a9187e0efde65-256aeb8d6e1c6a33f64bc0b2426862e3.ssl.cf3.rackcdn.com/vote_bg.png') no-repeat;
}

.gallery-element__infos p {
    font-weight: bold;
    margin: 0;
}

span.location {
    background: url('https://01bb905a9187e0efde65-256aeb8d6e1c6a33f64bc0b2426862e3.ssl.cf3.rackcdn.com/picto_location.png') left no-repeat;
    width: 100%;
    height: 18px;
    display: inline-block;
    padding-left: 12px;
    font-size: 13px;
    font-style: italic;
    overflow: hidden;
}

.gallery-element__actions {
    padding: 10px 12px;
}

.gallery-element__actions a:hover {
    text-decoration: none;
}

.gallery-element__btn-vote {
    float: right;
    text-transform: uppercase;
    font-weight: 500;
}

.no-mg-left {
    margin-left: 0 !important;
}

.gallery_pagination a {
    display: inline-block;

    width: 27px;
    height: 13px;

    padding: 7px 0;
    margin: 0 2px;

    font-size: 14px;
    line-height: 14px;
    text-align: center;

    color: white;
    background-color: #666666;

    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.gallery_pagination a.paginate_active, .gallery_pagination a:hover {
    color: #ffffff;
    background-color: #ff0000;
    text-decoration: none;
}

ul#social_buttons li {
    margin: 20px 0;
}

#footer_logo {
    background-color: #fee5ad;
    padding: 30px 0;
    line-height: 50px;
}

#footer_logo a {
    color: white;
}

.flag {
    position: relative;
    display: table;
    width: 100%;
}

.flag__img,
.flag__body {
    display: table-cell;
    vertical-align: top;
}

.flag--middle .flag__img,
.flag--middle .flag__body {
    vertical-align: middle;
}

.flag--bottom .flag__img,
.flag--bottom .flag__body {
    vertical-align: bottom;
}

.flag__img {
    position: relative;
}

.flag__img--spaced img {
    margin-right: 20px;
}

.flag__img img {
    display: block;
    max-width: none;
}

.flag__body {
    position: relative;
    padding-left: 40px;
    width: 100%;
}

.flag--rev .flag__body {
    padding-left: 0;
    padding-right: 40px;
}

.region h1 {
    color: #ff0000;
    font-size: 35px;
}

.region h2 {
    font-size: 20px;
}

.region ul li {
    margin: 10px;
}

.region ul li img {
    max-width: 70px;
    max-height: 70px;
}

.show-element {
    position: relative;
}

.show-element .flag__img img {
    width: 268px;
}

.show-element__score {
    position: absolute;
    top: 0;
    right: 0;

    width: 64px;
    height: 44px;

    padding: 10px 0;

    text-align: center;

    background-color: #fee5ad;

    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .slide__body {
        width: 50%;
        padding: 0 20px;
        margin-top: 30px;
        margin-left: 30px;
    }
}

@media (min-width: 810px) and (max-width: 979px) {
    #slider {
        height: 365px;
    }

    .slide__body {
        margin-top: 25px;
    }

    .slide__title {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 15px;
    }

    .slide__subtitle {
        font-size: 17px;
    }

    .slide__text {
        text-align: justify;
    }
}

@media (min-width: 768px) {
    .hide--desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .gallery-element__btn-vote {
        padding: 8px 10px;
    }

    .gallery-element__actions {
        padding-top: 20px;
    }
}

@media (max-width: 767px) {
    #app_wrapper {
        font-size: 22px;
        line-height: 26px;
    }

    .h1--mobile {
        font-size: 48px;
        line-height: 48px;
    }

    .h2--mobile {
        font-size: 30px;
        line-height: 30px;
    }

    .h3--mobile {
        font-size: 24px;
        line-height: 28px;
    }

    .span6--mobile {
        float: left!important;
        width: 50%!important;
    }

    .hide--mobile {
        display: none !important;
    }

    body.responsive {
        padding-left: 0;
        padding-right: 0;
    }

    #footer_logo {
        text-align: center;
    }

    #slider {
        height: auto;
    }

    #slider .slide {
        position: relative;
        background-position: center right;
    }

    .slide__title {
        font-size: 30px;
    }

    .slide__subtitle {
        font-size: 18px;
    }

    .slide__text {
        font-size: 15px;
        line-height: 20px;
    }

    .slider__control {
        display: none;
    }

    .slider__points {
        display: block;
        position: absolute;
        bottom: 10px;
        left: 50%;

        width: 200px;

        margin: 0;
        margin-left: -100px;
        padding: 0;

        list-style: none;
        text-align: center;
    }

    .slider__points li {
        display: inline-block;

        width: 20px;
        height: 20px;

        margin: 0 5px;

        background-color: #f4f4f4;

        cursor: pointer;

        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;

        list-style: none;
        white-space: nowrap;
        text-indent: 999px;
        overflow: hidden;
    }

    .slider__points li.current {
        background-color: #666666;
    }

    .slide__signature {
        position: absolute;
        right: auto;
        bottom: auto;
        top: 10px;
        left: 55px;
    }

    .btn {
        font-size: 28px;
        line-height: 30px;

        padding: 12px 25px;
        margin-bottom: 20px;

        width: 100%;

        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    img.btn__icon {
        margin-right: 10px;
    }

    .btn--big {
        padding: 35px 45px;
    }

    .btn--small {
        padding: 5px 25px;
    }
    
    .btn--not-full {
        margin-bottom: 0;

        width: auto;

        -webkit-box-sizing: inherit;
        -moz-box-sizing: inherit;
        box-sizing: inherit;
    }

    .btn--big--mobile {
        padding: 35px 45px;
    }

    #header_gallery {
        border-bottom: none;
        margin-bottom: 40px;
    }

    .gallery-element {
        height: auto;

        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        border-radius: 7px;
    }

    .gallery-element__picture {
        max-height: 350px;
    }

    .gallery-element__overlay:hover {
        background-color: transparent;
    }

    .gallery-element__username {
        top: 27px;
        left: 33px;

        width: 70%;

        font-size: 28px;
        line-height: 30px;
    }

    .gallery-element__name {
        opacity: 1;

        top: 60px;
        left: 10px;

        width: 90%;
        //text-align: left;
        font-size: 35px;
        line-height: 37px;
    }

    .gallery-element__votes {
        top: 15px;
        right: 15px;

        width: 78px;
        height: 30px;

        padding: 24px 0;

        font-size: 27px;
        line-height: 30px;
    }

    .gallery-element__actions {
        padding: 20px;
    }

    .gallery-element__actions a {
        display: inline-block;
        margin-left: 20px;
    }

    .gallery-element__actions a.btn--big {
        padding: 22px 45px;
    }

    .flag {
        display: block;
        width: 100%;
    }

    .flag__img,
    .flag__body {
        display: block;
        vertical-align: top;
    }

    .flag__img {
        position: relative;
        text-align: center;
    }

    .flag__img img {
        display: inline-block;
        max-width: none;
    }

    .flag__body {
        position: relative;
        padding-left: 0;
        width: 100%;
    }

    .flag--rev .flag__body {
        padding-left: 0;
        padding-right: 0;
    }

    #auth-form .control-group {
        position: relative;
    }

    #auth-form .control-label {
        float: none;
        width: auto;
        padding-top: 0;
        text-align: left;

        width: 70%;

        margin-bottom: 20px;
    }

    #auth-form label {
        font-size: 22px;
        line-height: 24px;

        color: #000000;
        font-weight: 300;
    }

    #auth-form .controls {
        margin-left: 0;
    }

    .label--small {
        margin-bottom: 20px;
    }

    #auth-form .label--small .controls {
        margin-left: 0;
    }

    #auth-form .help-block--helper {
        position: absolute;
        top: 5px;
        right: 0;
        text-align: right;

        font-size: 14px;
        line-height: 14px;
    }

    #auth-form .file-btn .btn {
        margin-bottom: 0;
        padding: 25px;
    }

    #auth-form input[type=text],
    #auth-form input[type=email] {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;

        font-size: 22px;
        line-height: 24px;

        height: 80px;
    }

    #auth-form textarea {
        font-size: 22px;
        line-height: 24px;
    }

    .float--left {
        float: none;
        margin-right: 0;
        text-align: center;
    }

    .padded--max {
        padding-top: 20px;
    }

    .show-element .flag__img {
        max-height: 340px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .show-element .flag__img img {
        width: auto;
        max-width: 100%;
    }

    .show-element .btn {
        padding: 22px 45px;
    }

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

@media (max-width: 480px) {

    .btn {
        text-align: center;
    }

    img.btn__icon {
        margin-right: 0;
        margin-bottom: 5px;
    }

    #slider .slide {
        position: relative;
        background-image: none !important;
    }

    .slide__body {
        height: 460px;
        width: 90%;
        padding: 0;
        margin-top: 20px;
        margin-left: 20px;
    }

    .slide__title {
        line-height: 32px;
    }

    .slide__pic {
        display: inline-block;
        max-width: 130px;
        max-height: 130px;
        float: left;
        margin-right: 10px;
    }

    .alone_pic {
        display: block;
        float: none;
        margin: 20px auto;
    }

    .slide__signature {
        top: 10px;
        left: 10px;
        width: 170px;

        font-size: 16px;
        line-height: 18px;
    }

    .span6--mobile {
        float: none!important;
        width: 100%!important;
        margin-bottom: 10px;
    }

    .picto--mobile {
        width: 50px;
    }

    .gallery-element__actions {
        text-align: center;
    }

    .gallery-element__btn-vote {
        float: none;
        margin-top: 10px;
    }

    #auth-form .help-block--helper {
        position: relative;
        top: 0;
        right: 0;
        text-align: left;

        font-size: 14px;
        line-height: 14px;
    }

    #auth-form .controls--file {
        display: block;
    }

    #auth-form .controls--file .controls--file__input,
    #auth-form .controls--file .controls--file__label {
        display: block;
    }

    #auth-form .controls--file .controls--file__input {
        margin-bottom: 5px;
    }

    #auth-form .controls--file .controls--file__label {
         padding-left: 0;
         width: 100%;
    }

    #auth-form .file-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    #header_logo .block-content {
        width: 100%;
        padding: 0 5px;
    }

    #header_logo .block-content img {
        max-width: 225px;
    }

    .slide__body {
        height: 550px;
    }
}    
        