body {
    padding: 0;
    margin: 0;
    min-width: 500px;
    position: relative;
}
.container {
    box-sizing: border-box;
    width: 500px;
    padding: 40px 15px 0;
}
form {
    outline: 0;
    width: 100%;
    padding-top: 20px;
}
input {
    outline: 0;
    box-sizing: border-box;
    width: 100%;
    background: none;
    border: 0;
    border-bottom: 1px solid #000;
    padding: 0;
    margin: 0;
    transition: border-color .3s;
}
input:hover, input:focus {border-color: #00f;}
label {
    display: block;
    outline: 0;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}
label input {position: relative;}
label span {
    position: absolute;
    top: 0;
    left: 0;
    color: #000;
    transition: top .3s, font-size .3s, color .3s;
}
label.on span {
    top: -10px;
    font-size: 10px;
}
label.error span {color: #f00;}
label.error input {border-color: #f00;}
.btn {
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    outline: 0;
    padding: 5px 10px 6px;
    margin: 0 0 10px;
    display: inline-block;
    background: none;
    border-radius: 4px;
    border: 1px solid #00f;
    color: #00f;
    transition: background .3s, color .3s;
}
.captcha {display: none;}
.btn:hover {
    color: #fff;
    background: #00f;
}
#notificationbtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #dde;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #00f;
    border: 1px solid #00f;
    opacity: 1;
    visibility: visible;
    transition: background .3s, color .3s, opacity .3s, visibility .3s;
}
#notificationbtn:hover {
    color: #dde;
    background: #00f;
}
#newnotif {
    position: fixed;
    bottom: 20px;
    right: 65px;
    max-width: 250px;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    padding: 0 15px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    background: #dde;
    color: #00f;
    bordeR: 1px solid #00f;
    border-radius: 4px;
    transition: opacity .3s, visibility .3s;
}
#newnotif.on {
    opacity: 1;
    visibility: visible;
}
.notifon #newnotif.on, .notifon #notificationbtn {
    opacity: 0;
    visibility: hidden;
}
.notifications {
    position: fixed;
    height: 100%;
    width: 500px;
    top: 0;
    right: -500px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    transition: right .6s, opacity .6s, visibility .6s;
}
.notifon .notifications {
    opacity: 1;
    visibility: visible;
    right: 0;
}
.notifheaer {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px 15px 0;
    margin: 0;
    box-sizing: border-box;
    height: 40px;
    background: linear-gradient(180deg, #ffffff 50%, transparent 100%);
    width: 100%;
}
.notificationsclosebtn {
    position: absolute;
    top: 15px;
    right: 15px;
}
#notificationsbody {
    max-height: 100%;
    width: 100%;
    overflow: auto;
    padding: 40px 15px;
    box-sizing: border-box;
}
.errorsmsg,.successesmsg {
    border-radius: 4px;
    padding: 10px 15px;
    margin-top: 10px;
    background: #fff;
    margin: 0 0 10px;
}
.errorsmsg {
    border: 1px solid #f00;
    color: #f00;
}
.successesmsg {
    border: 1px solid #0f0;
    color: #0f0;
}
.notifshadow, #shadow {
    position: fixed;
    outline: none;
    top: 0;
    left: 0;
    display: inline-block;
    background: #000;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    transition: opacity .6s, visibility .6s;
}
.notifon .notifshadow,.navon #shadow {
    opacity: .9;
    visibility: visible;
}
#header {
    position: fixed;
    width: 500px;
    top: 0;
    left: 0;
    max-height: 40px;
    height: 100%;
    transition: max-height .6s, background .6s, border-bottom .6s;
    overflow: hidden;
}
#header, .fb.navon #header {
    background: #fff;
    border-bottom: 1px solid #000;
}
.fb #header {
    background: none;
    border-bottom: 1px solid transparent;
}
.fb #header ul a {color: #fff;}
.fb.navon #header ul a {color: #000;}
.navon #header {max-height: 100%;}
#header td {display: block;}
#header ul {
    padding: 0;
    list-style: none;
    margin: 0;
}
#header ul a {
    outline: none;
    text-decoration: none;
    color: #000;
    transition: color .3s;
    display: inline-block;
    width: 100%;
    padding: 5px 0 6px;
}
#header ul a:hover {color: #00f;}
#burger {
    position: absolute;
    text-decoration: none;
    color: #000;
    top: 0;
    right: 0;
    width: 40px;
    line-height: 13px;
    display: inline-block;
}
.paginator span,.paginator a {
    display: inline-block;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    margin-left: 3px;
}
.paginator a {
    border: 1px solid #000;
    border-radius: 13px;
    transition: background .3s, color .3s;
    color: #00f;
    background: #fff;
}
.paginator a:hover {
    background: #000;
    color: #fff;
}
.progress {
    position: relative;
    height: 6px;
    width: 200px;
    display: inline-block;
    background: #eed;
    border-radius: 3px;
    margin-top: 14px;
}
.progress div {
    height: 6px;
    background: #00f;
    border-radius: 3px;
}
.progress span {
    top: -20px;
    position: absolute;
}
.progress > span {
    right: 0;
}
@media (min-width: 501px) {
    body {min-width: 1000px;}
    .container {
        width: 970px;
        margin: 0 auto;
    }
    form {
        width: 500px;
        margin: 0 auto;
    }
    .infomsgs {width: 970px;}
    #header {width: 100%;}
    #header table.container {padding-top: 0;}
    #header ul a {padding-right: 10px;}
    #header ul li:last-child a {padding-right: 0;}
    #header li {
        display: inline-block;
        float: left;
    }
    #header td {display: table-cell;}
    #header td:last-child ul {float: right;}
    #burger {display: none;}
}