@charset "utf-8";
/* CSS Document */

/* 保证输入框被自动填写后背景和文字颜色不变 */
@-webkit-keyframes setbackgroundcolor {
    to {
        background: transparent;
        color: whitesmoke;
    }
}
input:-webkit-autofill {
    -webkit-animation-name: setbackgroundcolor;
    -webkit-animation-fill-mode: forwards;
}

/* 输入错误信息 */
.errorinfo {
    color: red;
    font-family: "Helvetica", serif;
    background: rgba(255, 0, 0, 0.2);
    font-size: .8em;
    padding: 10px;
    margin-bottom: 3px;
    border-radius: 5px;
}

#register {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: auto;
    padding-top: 75px;
    padding-bottom: 100px;
}

.retour {
    display: block;
    font-weight: bolder;
    text-align: right;
    transition: .2s;
}
.retour:hover {
    color: #525252;
    text-decoration: underline;
}

#registerbox {
    width: 400px;
    margin: auto;
    padding-top: 15px;
}
#registerbox h1, #registerbox h2 {
    color: black;
    font-size: 1.4em;
    padding: 20px;
    text-align: center;
}
#registerbox h2, #registerbox h3 {
    font-size: .8em;
    color: black;
    text-align: left;
}
#registerbox h2 {
    margin-bottom: .6em;
    padding: 10px;
    font-family: "Helvetica", serif;
    background: rgba(0, 0, 0, .1);
    border-radius: .2em;
}
#registerbox h3 {padding-bottom: 10px;}

.input-group {padding-bottom: 15px}
#sexbox {
    width: 400px;
    height: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.input-group-addon, .form-control {
    background: transparent;
    border-color: #4e4e4e;
    transition: .2s;
}
.glyphicon {
    color: #4e4e4e;
    transition: .3s;
}
.form-control {
    height: 56px;
    color: black;
    font-family: "Helvetica", serif;
    border-left: 1px dotted rgba(78, 78, 78, 0.5);
}
.form-control:focus {
    border-color: #878787;
    border-left: 1px dotted rgba(78, 78, 78, 0.5);
    box-shadow: .2em 0 .3em #878787;
}

.sex {
    color: #525252;
    font-weight: bolder;
    display: block;
    float: left;
    padding-right: 60px;
    font-size: .8em;
    cursor: pointer;
}

.sexicon {padding-right: 5px;}
.glyphicon-check, .glyphicon-unchecked {color: #1a1a1a;}

.inscrire {
    width: 400px;
    height: 56px;
    background-color: #1a1a1a;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 1.2em;
    font-weight: bolder;
    transition: .2s;
    cursor: pointer !important;
}
.inscrire:hover {
    color: white;
    background-color: #525252;
}

.accpub {font-size: .8em;}
#ifaccpub {cursor: pointer;}


@media (max-width: 1280px) {
    .errorinfo {
        padding: 7px;
        margin-bottom: 2px;
        border-radius: 3px;
    }
    #register {
        padding-top: 42px;
        padding-bottom: 70px;
    }
    #registerbox {
        width: 320px;
        padding-top: 10px;
    }
    h1, h2 {padding: 14px;}
    h3 {padding-bottom: 7px;}
    .input-group {padding-bottom: 10px}
    #sexbox {
        width: 320px;
        height: 25px;
        margin-top: 7px;
        margin-bottom: 7px;
    }
    .form-control {
        height: 40px;
        font-size: .8em;
    }
    .sex {padding-right: 42px;}
    .sexicon {padding-right: 3px;}
    .birthdaybox {
        width: 320px;
        height: 40px;
        margin-bottom: 10px;
    }
    .inscrire {
        width: 320px;
        height: 40px;
        border-radius: 2px;
    }
}

@media (max-width: 768px) {
    #register {padding-top: 60px;}
}
