@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(../font/opensans_light.woff) format('woff');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(../font/opensans.woff) format('woff');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../font/opensans_bold.woff) format('woff');
}
@font-face {
    font-family: 'DejaVu Sans';
    font-style: normal;
    font-weight: 400;
    src: local('DejaVu Sans'), url(../font/DejaVuSans.ttf) format('ttf');
}

html, body
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
body
{
    background-color: #F0F0F0;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #505050;
}
body.noscroll
{
    overflow: hidden;
}
#page{
    padding-top: 6em;
}

#background
{
    position: fixed;
    z-index: -20;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}
#background:after
{
    position: fixed;
    z-index: -10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F0F0F0;
    opacity: 0.8;
    content: "";
}

#fade_in
{
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F0F0F0;
    animation: fade_in_anim 2s ease-in-out 0.5s forwards;
}
@keyframes fade_in_anim
{
    0%
    {
        opacity: 1;
    }
    50%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 0;
        width: 0;
        height: 0;
        overflow: hidden;
        visibility: hidden;
    }
}

.content
{
    margin: 0 2em;
}

.box.content
{
    background-color: white;
    width: 70%;
    margin: auto;
}

h1,h2,h3,h4,h5,h6
{
    font-weight: 300;
    color: #FF5100;
    margin-top: 0;
    margin-bottom: 0;
}
img
{
    vertical-align: middle;
}

hr
{
    margin-top: 1em;
    margin-bottom: 1em;
    height: 1px;
    border: 0;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0)); 
}

a, span.link
{
    color: #FF5100;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
a:hover, span.link:hover
{
    text-decoration: underline;
}
span.link.help
{
    font-weight: normal;
    cursor: help;
    border-bottom: 1px dashed;
}
span.link.help:hover
{
    text-decoration: none;
    border-bottom: 1px solid;
}
.button
{
    display: inline-block;
    margin-top: 0.25em;
    padding: 5px 10px;
    border-radius: 6px;
    color: #F0F0F0;
    text-decoration: none;
    font-weight: bold;
    background-color: black;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
}
.button:hover
{
    text-decoration: none;
}
.button.gray
{
    background-color: #D2D2D2;
    color: black;
}
.button.green
{
    background-color: #A3E862;
    color: black;
}
.button.red
{
    background-color: #EB3B3B;
}
.button.blue
{
    background-color: #3B3CCC;
}
.button.disabled
{
    cursor: default;
}
.checkbox
{
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    color: #F0F0F0;
    text-decoration: none;
    font-weight: bold;
    background-color: black;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
}
.checkbox:before
{
    content: "\00a0\00a0"
}
.checkbox.checked
{
    font-size: 1.3em;
}
.checkbox.checked:before
{
    content: "\2713";
}
.button .checkbox
{
    margin: -5px 0 -5px -10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.button .checkbox:not(.checked)
{
    display: none;
}
.checkbox:hover
{
    text-decoration: none;
}
.checkbox.gray
{
    background-color: #AEAEAE;
    color: white;
}
.checkbox.green
{
    background-color: #73B832;
    color: black;
}
.checkbox.red
{
    background-color: #C93B3B;
}
.checkbox.blue
{
    background-color: #3B3B98;
}
.checkbox.disabled
{
    cursor: default;
}

.box
{
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    padding: 1em;
}

form .field
{
    display: inline-block;
    margin: 0.25em;
    white-space: nowrap;
}

#partenaires { margin: 0 4em; }
#partenaires .partenaire:nth-child(even) { text-align: left; }
#partenaires .partenaire:nth-child(odd) { text-align: right; }
#partenaires .partenaire:nth-child(even) img
{
    float: left;
    margin-right: 2em;
}
#partenaires .partenaire:nth-child(odd) img
{
    float: right;
    margin-left: 2em;
}

#footer
{
    font-size: 0.8em;
}
.absolute_position {position: absolute}

#notification
{
    margin: 0 10%;
    padding: 0.5em 10%;
    border-radius: 6px;
    background: white;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
