footer {
    background-color: #e7e7e7;
}

footer h3 {
    color: #3e3a3a; font-size: 18px;
    letter-spacing: 0.04em;
}

footer .socials {
    padding-top: 25px;
    background-color: #efefef;
}

.newsletter {
    padding: 0px;
}

.newsletter p {
    margin-top: 30px;
}

.email-input { 
    float: left;
    position:relative; 
    display: inline-block;
    width: 55%;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom:20px;
    text-align: inherit !important;
}

.email-input input {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 10px 10px 5px;
    display:block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #757575;
    background-color: transparent;
}
.email-input input:focus { outline:none; }

.email-input label {
    color:#4b4b4b; 
    font-size:12px;
    font-weight: 300;
    letter-spacing: 0.06em;
    position: absolute;
    pointer-events: none;
    top: 8px;
    transition: 0.2s ease all; 
}

/* active state */

.email-input input:focus ~ label, input:valid ~ label   {
    top:-12px;
    font-size:10px;
}

.button {
    float: right;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    border-radius: 30px;
    transition: 0.2s ease all; 
    cursor: pointer;
    border: 1px solid black;;
    margin-top: 25px;
    outline: 0;
}

.button span {  
    font-size: 14px;
    line-height: 32px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #282828;
    padding: 0px 20px;
}

.button:hover {
    background-color: black;
    opacity: 1;
}
.button:hover span {
    color: #cccccc;
}

.button:active {
    opacity: 0.5;
}

/* SOCIAL MEDIAS */

.social-links {
    padding: 0px;
}

.social-links ul {
    list-style: none;
    margin-top: 20px;
}
.social-links ul li {
    display: inline-block;
    margin-right: 15px;
}
.social-links ul li a img{
    width: 40px;
}
.social-links ul li a img:hover{
    opacity: 0.7;
}



/* PLAN DU SITE */

.plan h3 {
    padding: 20px 15px 15px 0px;
}

.plan-ul {
    font-size: 15px;
    list-style: none;
    font-weight: 300;
}

.plan-ul li{
    margin-bottom: 10px;
}

.plan-ul li a {
}

.plan-ul .mainlink{
    font-weight: 400;
}

.plan-multi a{
    margin-right: 12px;
}

.footer-buttons span{
    width: 140px;
}

.footer-account {
    margin-top: 8px;
    color: #eaeaea;
    background: #343434;
}

.footer-account:hover {
    color: white;
    background: #464646;
}

.footer-account:active, .footer-account:focus{
    background: black;
}

footer .appstore-button {
    display: inline-block;
    float: right;
    width: 138px;
}

footer .appstore-button img {
    width: 138px;
}

/* FINAL FOOT */

.legal {
    padding-top: 14px;
    padding-bottom: 16px;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #7c7c7c;
}

.legal a img {
    width: 185px;
    vertical-align: middle;
    opacity: 1;
    transition: 0.3s;
}

.legal a img:hover {
    opacity: 0.7;
}

.legal ul {
    margin-left: 50px;
    display: inline-block;
    padding-top: 5px;
    font-size: 15px;
    list-style: none;
    font-weight: 300;
    margin-bottom: inherit;
}
.legal ul li {
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}


@media screen and (max-width:990px) {
    footer .socials .social-links {
        margin-bottom: 40px;
    }
    .email-input { 
        width: 65%;
    }
}
@media screen and (max-width:768px) {
    footer h3 {
        text-align: center;
    }
    .newsletter {
        display: none;
    }
    footer .socials {
        padding-top: 10px;
    }
    footer .socials .social-links {
        text-align: center;
    }
    .plan {
        text-align: center;
        margin-bottom: 40px;
    }
    .plan h3 {
        padding: 20px 15px 15px 15px;
    }
    .legal {
        text-align: center;
    }
    footer .appstore-button {
        display: block;
        float: inherit; 
        text-align: center;
        width: 100%;
        margin-top: 25px;
    }
    footer .appstore-button img {
        width: 160px;
    }
}
@media screen and (max-width:620px) {
    footer ul {
        margin: inherit;
    }
    .plan {
        display: none;
    }
    .legal {
        margin-top: inherit;
    }
    .legal a img {
        padding-left: inherit;
    }
    .legal ul {
        margin-top: 10px;
    }
    .legal ul li {
        margin-right: 10px;
        font-size: 12px;
    }
    .legal ul li a {
        font-size: 12px;
    }
}
@media screen and (max-width:400px) {
    footer .socials .social-links ul li {
        margin-right: 8px;
    }
    footer .socials .social-links img {
        width: 36px;
    }
}