

html:lang(fr) *:lang(en){
    display: none;
}

html:lang(en) *:lang(fr){
    display: none;
}

body{
    margin: 0;
    padding: 0;
    font-family: ABeeZee, 'Trebuchet MS', Arial, sans-serif;
    background-image: url('../assets/img/gate_boosted.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: 0px -360px;
}

header{
    margin: 0;
    padding-left: 10%;
    padding-right: 10%;
    background-color: white;
    padding-top: 5px;
    height: 50px;
    position: fixed;
    width: 80%;
    top: 0;
    left: 0;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

header h2{
    margin-top: 7px;
    font-family: ABeeZee, 'Trebuchet MS', Arial, sans-serif;
}

#navLogo{
    float: left;
    background-color: white;
    margin-right: 10px;
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.3);
}

nav ul{
    float: right;
    padding: 0;
    margin-top: 12px;
}

nav li{
    margin: 0;
    display: inline-block;
    list-style-type: none;
    text-transform: uppercase;
    margin-left: 10px;
    margin-right: 10px;
}

a, a:visited{
    color: #00A3E0;
    text-decoration: none;
}

a:active{
    color: #00BAFF;
}

h2 a, h2 a:visited, h2 a:active, h2 a:hover{
    color: black;
}

nav a, nav a:active, nav a:visited{
    color: gray;
    transition: border-bottom 0.3s;
    border-bottom: 1px solid white;
}

nav a:hover{
    border-bottom: 1px solid gray;
}

nav a[href^="https"]:hover{
    border-bottom: 1px solid white;
}

main{
    width: 70%;
    margin: auto;
    margin-top: 300px;
    /* background-color: rgba(255,255,255,0.9); */
    background-color: white;
    padding: 30px;
    padding-top: 10px;
    padding-bottom: 50px;
    overflow: auto;
}

footer{
    font-family: Arial, sans-serif;
    font-size: 8pt;
    color: rgba(255,255,255,0.4);
    text-align: center;
    width: 30%;
    margin: auto;
    margin-bottom: 50px;
}

h1{
    text-align: center;
}

.signupform{
    max-width: 400px;
    margin: auto;
    margin-top: 30px;
}

.formblock{
    display: inline-block;
    width: 190px;
    margin-right: 7px;
}

input, select{
    width: 98%;
    height: 28px;
    border-radius: 2px;
    border: 1px solid #cccccc;
    padding-left: 5px;
    margin: auto;
    margin-bottom: 7px;
}

.signupform select{
    width: 100%;
}

input[type=radio], input[type=checkbox]{
    width: initial;
    height: initial;
    margin: 10px;
    margin-left: 20px;
}

input[type=submit], input[type=button], input[type="reset"]{
    text-transform: uppercase;
    background-color: #00A3E0;
    color: white;
    border: none;
    font-weight: bold;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    display: inline-block;
    width: auto;
    transition: background-color 0.15s;
}

input[type=submit], input[type="reset"]{
    height: 32px;
    width: 100px;
    margin: auto;
    margin-top: 20px;
    display: block;
}

input[type=submit]:hover, input[type=button]:hover, input[type="reset"]:hover{
    background-color: #00BAFF;
}

input[type=submit]:active, input[type=button]:active, input[type="reset"]:active{
    background-color: #0081B2;
}

input[type=submit]:disabled, input[type=button]:disabled, input[type="reset"]:disabled{
    background-color: #cccccc;
}

.agreementLabel{
    display: inline-block;
    width: 355px;
    float: right;
    margin-top: 0;
}

.eventBlock{
  padding-bottom: 25px;
  padding-top: 25px;
  border-bottom: 1px solid gray;
  width: 100%;
}

.eventDate{
    width: 180px;
    float: right;
    text-align: right;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-weight: bold;
    font-size: xx-large;
    margin-top: 16px;
}

.eventEnd{
    font-size: initial;
    color: #666666;
}

html:lang(fr) .eventEnd::before{
    content: 'Jusqu\'au : ';
}

html:lang(en) .eventEnd::before{
    content: 'To: ';
}

.finePrint{
    font-size: 9pt;
}

.warning{
    color: #EF3340;
}

.warning a{
    color: inherit;
    text-decoration: underline;
}

.motd{
    text-align: center;
    font-style: italic;
}

section .eventBlock:first-of-type{
    padding-top: 0;
}

.g-recaptcha{
    padding-left: 48px;
    margin-bottom: 50px;
}

fieldset{
    margin: 0;
    padding: 0;
    border: none;
}

#successModal {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#successModal div {
    background-color: white;
    width: 33%;
    height: 250px;
    margin: auto;
    padding: 10px;
    margin-top: 100px;
    text-align: center;
    padding-top: 50px;
}

#errorBox{
    background-color: #EF3340;
    border-radius: 3px;
    color: white;
    font-size: 10pt;
    padding: 4px;
    width: 400px;
    margin: auto;
}

#errorBox p{
    margin: 0;
}

#errorBox img{
    width: 100%;
    height: auto;
}

nav img{
    height: 17px;
    vertical-align: top;
    border-radius: 3px;
    box-shadow: -1px 2px 1px 1px rgba(0,0,0,0.3);
    transition: box-shadow 0.2s;
}

nav img:hover{
    box-shadow: -1px 2px 1px 1px rgba(0,0,0,0.5);
}

nav img:active{
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.3);
}

figure{
    width: auto;
    text-align: center;
    float: right;
}

figure p{
    font-size: 8pt;
    color: #666666;
}

figure img{
    max-width: 250px;
}

.profile{
    width: 200px;
    border-radius: 100px;
}

#interests_fr, #interests_en{
    overflow: hidden;
    transition: height 0.2s ease-out;
}

.bankingInfo{
    width: 400px;
    float: right;
    vertical-align: top;
    margin: 0;
    margin-left: 20px;
    margin-bottom: 20px;
    text-align: right;
    color: gray;
}

.bankingInfo strong{
    color: black;
}

@media only screen and (max-width: 1400px){
    header h2{
        display: none;
    }
}

@media only screen and (max-width: 1200px){
    main{
        width: auto;
        padding: calc(15% + 30px);
        padding-top: 10px;
        padding-bottom: 50px;
    }
    
    footer{
        background-image: url('../assets/img/gate_blurred.jpg');
        width: 100%;
        padding-bottom: 30px;
        padding-top: 10px;
        margin-bottom: 0;
        background-position: -350px -1000px;
    }
    
    footer p{
        margin-top: 0;
    }
}

@media only screen and (max-width: 900px){
    body{
        background-size: 900px;
    }
    
    .bankingInfo{
        float: none;
        width: auto;
    }
}

@media only screen and (max-width: 760px){
    header{
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    
    nav ul{
        margin-right: 20px;
        float: none;
    }
    
    nav li{
        margin-top: 5px;
    }
    
    main{
        padding: 30px;
        padding-top: 10px;
        padding-bottom: 50px;
    }
    
    header{
        height: 110px;
    }
    
    #navLogo{
        box-shadow: none;
        height: 100px;
        width: auto;
    }
    
    nav img{
        position: fixed;
        right: 15px;
        top: 22px;
    }
    
}

@media only screen and (max-width: 580px){
    nav li{
        display: block;
        margin-left: 0;
        margin-right: 0;
        margin-top: 2px;
    }
    
    figure{
        float: none;
    }
}