* {
    box-sizing: border-box;
}
body {
    overflow: hidden;
}
body, li {
    font-size: 90%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Francois One', Helvetica, Arial, Lucida, sans-serif;;
}
a, a:link, a:visited {
    text-decoration: none;
    color: #4E9B5F;
}
a:hover {
    text-decoration: underline;
    color: #4E9B5F;
}
a.btn, a.btn:link, a.btn:hover, a.btn:visited {
    text-decoration: none;
    color: white;
}
.green {
    color: #4E9B5F;
}
.red {
    color: red;
}
/* ------------------------------------------- */
/*          # H E A D E R                         */
/* ------------------------------------------- */

#header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 70px;
}

/* ------------------------------------------- */
/*          # C O N T E N T                         */
/* ------------------------------------------- */

#content {
    position: absolute;
    top: 70px;
    bottom: 70px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 50px 0 80px 0;
}


/* ------------------------------------------- */
/*         # F O O T E R                       */
/* ------------------------------------------- */

#footer {
    position: fixed;
    color: #4E9B5F;
    font-size: smaller;
    bottom: 0;
    height: 70px;
    width: 100%;
    background-color: #2d2d2d;
    padding : 16px 30px;
}

/* ------------------------------------------- */
/*         N A V B A R                         */
/* ------------------------------------------- */

.navContainer {
    position: relative;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 70px;
    z-index: 3;
}
.topnav {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-width : 780px;
    max-width: 1100px;
    margin: 0 auto;
}
.topnav-content {
    width: 60%;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.topnav a.logo {
    width: 200px;
    padding: 5px 30px;
}
.topnav a {
    position: relative;
    color: #04AA6D;
    padding: 30px 15px 18px;
    text-decoration: none;
}
span.myIcon img {
    width: 6px;
}
.topnav .icon {
    display: none;
    padding: 18px 40px 0;
}
.dropdown {
    background-color: inherit;
    display: inline-block;
    margin: 0 60px 0 0;
}
.dropdown .dropbtn {
    border: none;
    outline: none;
    color: #4E9B5F;
    padding: 30px 15px 18px;
    background-color: inherit;
    font-family: inherit;
}
.dropdown-content {
    list-style: none;
    background-color: white;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 71px;
    min-width: 160px;
    border-top: 4px solid #4E9B5F;
    padding: 20px;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
    z-index: 2;
    transition-duration: .2s;
}
.dropdown-content li {
    display: block;
    font-size: 100%;
}
.dropdown-content li a {
    display: block;
    color: #4E9B5F;
    text-decoration: none;
    text-align: left;
    padding: 12px 16px;
    width: 100%;
}
.topnav a:hover, .dropdown:hover .dropbtn {
    color: #4E9B5F;
}
.dropdown-content li a:hover {
    background-color: #f6f6f6;
    transition-duration: .2s;
}
.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 780px) {
    .topnav {
        min-width: unset;
        z-index: 2;
    }
    .topnav .topnav-content {
        display: block;
        position: absolute;
        overflow: hidden;
        background-color: white;
        border-top: 0 solid #4E9B5F;
        box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
        top: 70px;
        left: 10%;
        width: 80%;
        margin: 0;
        padding: 0 15px;
        z-index: 0;
        max-height: 0;
        animation-duration: .5s;
        animation-timing-function: linear;
        animation-fill-mode: forwards;
        animation-direction: normal;
    }
    .topnav a.icon {
        display: block;
    }
    .topnav .myIcon {
        display: none;
    }
    .topnav .logoutIcon {
        display: none;
    }
    .topnav.open .topnav-content {
        animation-name: open;
    }
    .topnav.close .topnav-content {
        animation-name: close;
    }
    .topnav .topnav-content a {
        display: block;
        position: relative;
        text-align: left;
        padding: 15px 20px;
    }
    .topnav .topnav-content a:hover {
        background-color: #f6f6f6;
    }
    .topnav .topnav-content .dropdown {
        display: block;
        position: relative;
        margin: 0;
    }
    .topnav .topnav-content .dropdown .dropdown-content {
        position: relative;
        top: 0;
        visibility: visible;
        opacity: 1;
        border: unset;
        box-shadow: unset;
        padding: 0 0 0 30px;
        margin: 0;
    }
    .topnav .topnav-content .dropdown .dropdown-content li {
        border-bottom: 1px solid #f6f6f6;
    }
    .topnav .topnav-content .dropdown .dropbtn {
        display: block;
        background-color: #f6f6f6;
        width: 100%;
        cursor: unset;
        text-align: left;
        font-weight: 700;
        padding: 15px 20px
    }
}
@keyframes open {
    0%      { padding: 0 15px; max-height: 0 }
    1%      { border-top: 4px solid #4E9B5F; padding: 0 15px; max-height: 0 }
    50%     { border-top: 4px solid #4E9B5F; padding: 15px; max-height: 250px }
    100%    { border-top: 4px solid #4E9B5F; padding: 15px; max-height: 500px }
}
@keyframes close {
    0%      { border-top: 4px solid #4E9B5F; padding: 15px; max-height: 500px }
    50%     { border-top: 4px solid #4E9B5F; padding: 15px; max-height: 250px }
    99%     { border-top: 4px solid #4E9B5F; padding: 0 15px; max-height: 0 }
    100%    { padding: 0 15px; max-height: 0 }
}

/* ------------------------------------------- */
/*         U S E R   F R O N T                         */
/* ------------------------------------------- */

.login-form {
    width: 340px;
    margin: 50px auto;
}
.login-form input {
    border-radius: 0;
    border: 0;
}
.login-form form {
    margin-bottom: 15px;
    background-color: #f0f0f0;
    padding: 30px;
}
.activIcon {
    cursor: pointer;
}
#loader {
    display: none;
    width: 100%;
    text-align: center;
}
div.hidden {
    visibility: hidden;
}

/* ------------------------------------------- */
/*         M E S S A G E                         */
/* ------------------------------------------- */

#message {
    position: relative;
    z-index: 1;
    transition-duration: 500ms;
    transition-timing-function: ease-out;
    width: 100%;
    height: 68px;
    text-align: center;
    padding: 20px 0;
    color: white;
}
#message.hide {
    transform: translateY(-110%);
}
#message.danger {
    background-color: rgb(197, 21, 21);
}
#message.warning {
    background-color: rgb(214, 137, 20);
}
#message.success {
    background-color: #4E9B5F;
}

/* ------------------------------------------- */
/*         P R O F I L                         */
/* ------------------------------------------- */

.timerDiv {
    position: relative;
    transition-property: opacity;
    transition-duration: .2s;
}
.timerDiv .slogan {
    transition-property: opacity;
    transition-duration: .2s;
    opacity: 0;

}
#resultatsDiv {
    position: relative;
    transform: translateY(-150%);
    visibility: hidden;
    transition-property: transform;
    transition-duration: 1s;
}

