@charset "utf-8";
/* CSS Document */

/* 保证输入框被自动填写后背景和文字颜色不变 */
@-webkit-keyframes setbackgroundcolor {
    to {
        background: transparent;
        color: whitesmoke;
    }
}
input:-webkit-autofill {
    /*自动填入文本颜色*/
    -webkit-text-fill-color: whitesmoke !important;
    /*自动填入光标颜色*/
    caret-color: white;
    /*背景透明；原理：动画由透明变有背景色；参数：背景色属性、动画时间、动画速度曲线、延迟时间*/
    transition: background-color 0s linear 3600s;
}

/* 输入错误信息 */
.errorinfo {
    color: red;
    background: rgba(255, 0, 0, 0.2);
    font-size: .8em;
    padding: 10px;
    margin-bottom: 3px;
    border-radius: 5px;
}

#register {
    color: whitesmoke;
    width: 100%;
    height: 100%;
    position: fixed;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: auto;
    padding-top: 75px;
    padding-bottom: 100px;
}

.retour {
    display: block;
    text-align: right;
    color: #C4A886;
    transition: .2s;
}
.retour:hover {
    color: whitesmoke;
    text-decoration: underline;
}

#registerbox {
    width: 400px;
    margin: auto;
    padding-top: 15px;
}
h1, h2 {
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: 1.4em;
    font-weight: 400;
    color: #C4A886;
    padding: 20px;
    text-align: center;
}
h2, h3 {
    font-size: .8em;
    color: whitesmoke;
    text-align: left;
}
h2 {
    background: rgba(255, 255, 255, .1);
    border-radius: 5px;
    margin-bottom: .6em;
}
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: whitesmoke;
    border-left: 1px dotted rgba(78, 78, 78, 0.5);
}
.form-control:focus {
    border-color: #C4A886;
    border-left: 1px dotted rgba(78, 78, 78, 0.5);
    box-shadow: none;
}

.sex {
    display: block;
    float: left;
    padding-right: 60px;
    font-size: .8em;
    cursor: pointer;
}

.sexicon {padding-right: 5px;}
.glyphicon-check, .glyphicon-unchecked {color: #C4A886;}

.birthdaybox {
    width: 400px;
    height: 56px;
    margin-bottom: 15px;
}
.birthdaybox select option {
    background-color: #1a1a1a;
}
.date, .datesp {
    width: 32%;
    float: left;
    border-left: 1px solid #4e4e4e;
}
.date {margin-right: 2%;}
.date:focus, .datesp:focus {
    border-left: 1px solid #C4A886;
}

.inscrire {
    width: 400px;
    height: 56px;
    background-color: #C4A886;
    border: 0;
    border-radius: 3px;
    color: black;
    font-size: 1.2em;
    font-weight: 600;
    transition: .2s;
    cursor: pointer!important;
}
.inscrire:hover {
    color: whitesmoke;
    background-color: #87714f;
}

.accpub {font-size: .8em;}
#ifaccpub {cursor: pointer;}


@media (max-width: 1280px) {
    .errorinfo {
        padding: 7px;
        margin-bottom: 2px;
        border-radius: 3px;
    }
    #register {
        padding-top: 60px;
        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;
    }
}
