/*
    Document   : customerLogin
    Created on : 6 janv. 2012, 11:43:01
    Author     : Sebastien
    Description:
        Purpose of the stylesheet follows.
*/

/*
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root {
    display: block;
}
html {
    background: #1793E6;
}
body {
    background-color: #1793E6;
    font-family: 'Open sans',sans-serif;
}
/*-=-=-=-=-=-=-=-=-=-=- */
/* Flip Panel */
/*-=-=-=-=-=-=-=-=-=-=- */

.wrapper{ width: 980px; margin: 0 auto;  background-color: #bdd3de; hoverflow: hidden;}

.flipper {
    margin: 0 auto;
    height: 465px;
    position: relative;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
         perspective: 600px;
    background-color: transparent;
}



.flipper .front {
    height: inherit;
    position: absolute;
    top: 0;
    z-index: 900;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
       -moz-transform: rotateX(0deg) rotateY(0deg);
            transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
       -moz-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
       -moz-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-transition: all .4s ease-in-out;
       -moz-transition: all .4s ease-in-out;
        -ms-transition: all .4s ease-in-out;
         -o-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
}

.flipper .back {
    height: inherit;
    position: absolute;
    top: 0;
    -webkit-transform: rotateY(-180deg);
       -moz-transform: rotateY(-180deg);
            transform: rotateX(0deg) rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
       -moz-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
       -moz-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-transition: all .4s ease-in-out;
       -moz-transition: all .4s ease-in-out;
        -ms-transition: all .4s ease-in-out;
         -o-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
}
.flipper.flip .front {
    z-index: 900;
    -webkit-transform: rotateY(180deg);
       -moz-transform: rotateY(180deg);
            transform: rotateX(0deg) rotateY(180deg);
}
.flipper.flip .back {
    z-index: 1000;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
       -moz-transform: rotateX(0deg) rotateY(0deg);
            transform: rotateX(0deg) rotateY(0deg);
}

/*-=-=-=-=-=-=-=-=-=-=- */
/* Flip Panel */
/*-=-=-=-=-=-=-=-=-=-=- */
.header {
    background: transparent;
    margin: 0 auto;
    text-align: center;
    height: 70px;
    width:270px;
}
.lostPasswordContainer {
    margin-top: 7px;
    text-align: left;
}

.headerContent {
    width: 100%;
    margin: 0 auto;
    height: 70px;
}
.headerLeft {
    float: none;
    padding-top: 20px;
    padding-left: 0;
}
.mainContent {
    width: 270px;
    margin: 0 auto;
}
.connexionTop ,.lostPasswordTop{
    background-color: white;
    height: 100%;
}
.lostPasswordTop{
}
.connexionTopContent{
    background-color: #fff;
    margin-top: 20px;
    overflow: hidden;
}
.connexionText{
    height: 55px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0 0;
    color: #707070;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 21px;
}
.connexionFormContainer {

    padding-top: 45px;
    background: #ededed;
    margin: 0 20px 10px 20px;
    height: auto;
    border-top: 2px solid #d6d6d6;
    padding: 25px;
}
#passwordConfirmContainer{
    margin-top: 18px;
}
.loginContainer,.mailContainer{

    width: 100%;
    height: 31px;
    margin: auto;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.loginContainer .icon,.mailContainer .icon {
    background:   url('../images/sprite.png') no-repeat;
    width: 20px;
    height: 18px;
    display: inline-block;
    margin-left: 6px;
    margin-top: 6px;
    float: left;
    position: absolute;
    background-position: -420px -20px;
}
.passwordContainer .icon {
    background:  url('../images/sprite.png') no-repeat;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-left: 6px;
    margin-top: 6px;
    float: left;
    position: absolute;
    background-position: -420px -38px;
}
.passwordContainer .bkgIcon , .loginContainer .bkgIcon,.mailContainer .bkgIcon{
    width: 30px;
    background: #f7f7f7;
    height: 29px;
    position: absolute;
    border-right: 0;
    border-radius: 5px;
}
.headerLeft img {
max-height: 61px;
}
.passwordContainer{
    width: 100%;
    height: 31px;
    margin: auto;
    background: #fff;
    border: 1px solid #e6e6e6
}
input{
    width: 80%;
    font-size: 13px;
    font-weight: 600;
    padding: 5px;
    border:0;
    font-style: normal !important;
    margin-left: 30px;
    color: #adadad !important;
    background: transparent;
    line-height: 19px;
}
#loginError,#inputEmpty,#mailError, #mailSent {

    display: none;
    color: #fff;
    font-size: 16px;
    border-radius: 3px;
    margin-top: 18px;
    text-align: center;
    padding: 6px;
 }
 .lostPasswordHelp {
    padding: 7px 40px;
    font-size: 15px;
    text-align: center;
    font-weight: 300;
    margin-bottom: 10px;
    color: #E54E4E;
}
 #loginError p,#inputEmpty p,#mailError p, #mailSent p {

    margin:0;
 }
 #mailSent{
    background: rgb(17,187,142);
 }
 #loginError {
    background: #E54E4E;
 }
 #inputEmpty, #mailError  {
     background:#1793E6;
 }
.errorContainer {
   /* float: left;
    margin-left: 7px;
    width: 200px;*/
}
.rememberMeContainer {
    padding:0 20px;
}
.rememberMeText {

    color: #adadad;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 300;
    float: left;

}
.loginSubmitContainer{

    width: 190px;
    margin: auto;
    position: relative;
    margin-top: 15px;
    cursor: pointer;
    background: #1793E6;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}
.loginSubmitLock{

}
.loginSubmitText{

    font-size: 14px;
    text-align: center;
    padding: 7px 10px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 1px;
    border-bottom: 2px solid #1481CA
}

.footer {
    width:270px;
    height: auto;
    line-height: 17px;
    text-align: center;
    color:#A1D6FC;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 20px 0;
}

.switchYesNo.switchNo a {
    background-position: -357px -31px !important;
}
.switchYesNo.switchYes a {
    background-position: -357px -5px !important;
}
.switchYesNo a {
    background: url("/images/sprite.png") no-repeat !important;
    display: inline-block !important;
    background-position: -357px -31px !important;
    height: 20px !important;
    width: 62px !important;
    float: right;
}

.footer a {
    color:#fff !important;
}
@media (max-width:767px) {
    .lostPasswordHelp{
        font-size: 11px;
    }
    .connexionTopContent{
        margin-top: 0px;
    }
    .loginContainer,.mailContainer{
        margin-bottom: 6px;
    }
    .flipper{
        height: 279px; 
    }
    .lostPasswordTop .loginSubmitContainer{
        margin-top: 16px;
    }
    .connexionText{
        font-size: 10px;
        height: 39px;
    }
}
@media (min-width:768px) {

    html {
       background: #1793e6;
    }
    body {
        background: url('../images/background-interface-connexion2.jpg') no-repeat;
        background-position: top;
    }

    .header {
        height: 120px;
    }
    .mainContent {
        margin: 0 auto;
        width: 466px;
    }
    .connexionTopContent {
         width: 100%;
         background: transparent;
         margin: 0;
    }
    .connexionText {
        height: auto;
        padding: 15px 0 15px;
        font-size: 19px;
        letter-spacing: 1px;
        font-weight: 600;
        line-height: 30px;
    }
    .connexionFormContainer {
        margin: 0 41px 10px 41px;
        padding: 42px 42px 33px 42px;
    }
    .loginContainer, .passwordContainer,.mailContainer {
        height: 51px;
        border-radius: 5px;
    }
    #loginError p, #inputEmpty p , #mailError p , #mailSent p {
        font-size: 14px;
    }
    .rememberMeContainer {
        padding: 0 41px;
    }
    .rememberMeText {
        font-size: 23px;
        font-weight: 300;
        letter-spacing: 1px;
        line-height: 38px;
    }
    input {
        line-height: 39px;
        font-size: 20px;
        font-weight: 300;
        margin-left: 50px;
        color: #adadad !important;
    }
    .loginSubmitContainer {
        width: 308px;
        height: 73px;
        margin-top: 25px;
        margin-bottom: 35px;
    }
    .loginSubmitText {
        font-size: 24px;
        padding: 24px 10px;
        font-weight: 600;
        line-height: 24px;
        border-bottom: 2px solid #1481CA;
    }
    .loginContainer .icon,.mailContainer .icon {
        width: 25px;
        height: 25px;
        margin-left: 13px;
        margin-top: 13px;
        margin-right: 13px;
        margin-bottom: 13px;
        background-position: -440px -3px;
    }
    .passwordContainer .icon {
        width: 25px;
        height: 25px;
        margin-left: 13px;
        margin-top: 13px;
        margin-right: 13px;
        background-position: -437px -28px;
    }
    .passwordContainer .bkgIcon, .loginContainer .bkgIcon,.mailContainer .bkgIcon {
        width: 50px;
        height: 49px;
    }
    .switchYesNo a {
        background-position: -467px -38px !important;
        height: 35px !important;
        width: 85px !important;
    }
    .switchYesNo.switchNo a {
        background-position: -467px -38px !important;
    }
    .switchYesNo.switchYes a {
         background-position: -467px -2px !important;
    }
    .footer {
        width: 466px;
        line-height: 30px;
        font-size: 18px;
        padding: 37px 0;
    }
}