@import url("https://use.typekit.net/gfx2myp.css");

body {
    font-family: trade-gothic-next, sans-serif;
}

a.uhover:hover {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#header a {
    text-decoration: none;
}

#logo{
    display: flex;
    align-items: center;
}

#upmenu {
    margin-top: 1rem;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

#upmenu a {
    padding: 0.5rem;
    font-size: 0.85rem;
    line-height: 2rem;
}

#upmenu a .icon {
    display: inline-block;
    margin-right: 0.3rem;
}

#menu a {
    padding: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 500;
}

#menu li {
    padding: 0.5rem 1.5rem;
}

#menu a:after {
    display: block;
    content: '';
    border-bottom: solid 2px #162B49;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

#menu a.active::after {
    transform: scaleX(1);
}

#menu a:after {
    transform-origin: 100% 50%;
}

#menu a:hover:after {
    transform: scaleX(1);
    transform-origin: 0% 50%;
}

/* Footer */

#footer {
    line-height: 2rem;
    padding: 1.5rem 0;
}

#footer a.uhover:hover {
    text-decoration: underline;
}

#footer a {
    color: #fff;
    text-decoration: none;
}

#footer .title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#footer .col1 .inner {
    margin-top: 1rem;
}

#footer .footerlogo {
    margin-bottom: 1.8rem;
}

#footer a.tel {
    background: url('../img/Picto_Telephone_BL.png') no-repeat left center;
    padding-left: 1.8rem;
}

#footer a.fb {
    background: url('../img/Picto_Facebook.png') no-repeat left center;
    padding-left: 1.8rem;
}

#footer .col1 .inner div {
    margin: 0 0.3rem;
    font-weight: 600;
}

#footer .col2 .inner {
    margin-top: 1rem;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    padding: 0.5rem 3rem;
}

#footer .col3 .inner {
    margin-left: 1rem;
}

#footer .l12 {
    padding-top: 10px;
}

#footer .l21 {
    padding-top: 10px;
    padding-left: 30px;
}

#footer .l23 {
    padding-top: 14px;
    padding-left: 20px;
}

#subfooter {
    padding: 1rem 0 2rem 0;
    font-size: 0.9rem;
}


/* HOME */

#home_login {
    background-image: url('../img/Image_page_publique_NL.jpg');
    background-position: center;
    background-size: cover;
    min-height: 45rem;
}
#home_login #password_help {
    height: 50px;
}
#home_login #password{
    padding-left: 55px;
    padding-right: 0;
}


.bloc_beneficiaire {
    min-height: 45rem;
    background-image: url('../img/bandeau_bleu.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.8;
    margin-right: 15%;
    color: #fff;
    font-size: 1.6rem;
    text-transform: uppercase;
    text-align: center;
}

.bloc_beneficiaire p {
    padding: 4rem 0 1rem 0;
}

#actus {
    padding: 50px 0;
}

#actus h1 {
    text-align: center;
    font-size: 1.8rem;
    padding: 1rem 0;
    margin: 1rem 0 2rem 0;
    border-bottom: 1px solid #ddd;
}

.actu {
    border: 1px solid #ddd;
    padding: 1.5rem 2rem;
}

.actu .aimg {
    padding-top: 200px;
    margin-bottom: 1rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.actu .adate {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    position: absolute;
    margin-top: -2.4rem;
    margin-left: 1.5rem;
}

.actu .atitle {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.login_zone {
    text-align: center;
    padding: 170px 60px 0 0;
}

#alert-flash-message div {
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 3px 20px;
}

.input_txt {
    width: 100%;
    outline: none;
    border: none;
    padding-left: 1vw;
    padding-top: 7px;
    padding-bottom: 7px;
    vertical-align: middle;
    color: #162b49;
    opacity: 0.7;
    height: 50px;
    overflow: visible;
    text-align: left;
    font-style: normal;
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 1);
    text-align: center;
}

.pozeo_color {
    color: #ffcc00;
}

.error_txtinfo2 {
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-sizing: border-box;
    color: rgb(255, 255, 255) !important;
    background: rgb(235, 33, 46);
    padding: 3px 20px;
}

@media screen and (max-width: 1201px) {
}

@media screen and (max-width: 769px) {
    #img_logo{
        width:200px;
    }

    #upmenu, .bloc_beneficiaire, #footer_other{
        display: none!important;
    }
    #menu li {
        padding: 0.3rem;
      }
      #menu a{
        font-size: 1rem;
      }
    #home_login {
        min-height: auto;
      }
    .login_zone {
        padding: 3rem;
      }
      #img_titre{
        width:75%;
      }
      #footer{
        text-align: center;
      }
}


@media screen and (max-width: 576px)  {


/*
    .bloc_beneficiaire {
        width: 100vw;
        height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        text-decoration: none;
        bottom: 0;
        background: #162b47;
        background-image: none;
        background-image: none;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        opacity: 1;
        margin-top: 0px;
        -webkit-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }*/
}