#main { 
    display: flex;
    justify-content: space-between;
}
#right {
    display: flex;
    flex-direction: column;
    position: relative;
    right: -11px;
    padding-top: 30px;
}
input#searchbar {
    height: 29px;
    width: 330px;
    border: 1px solid #BEBEBE;
    box-shadow: inset 0px 1px 2.3px #0000003b;
    padding-left: 7px;
    color: #434343;
    background-color: white;
    background-image: url('/images/ui/search-icon.png');
    background-position-x: right;
    background-position-y: center;
    background-repeat: no-repeat;
}
.w-container { width: 390px;background: #CCC;border-bottom: 1px solid #CCC;margin: 6px 0px; }
.w-header { background: #AEB0CB;border: 1px solid white;margin: 1px;color: white;padding-left: 2px;padding-bottom: 2px;font-size: 13px; }
.w-content { border: 1px solid white;height: 175px;margin: 1px;background: #F1F1F7; }

#newest-users .w-header { background: #5D95C9; }
#newest-users .w-content { background: #F3F8FA; height: 73px; }
#categories .w-content {
    height: 378px;
}
#categories ul {
    margin: 0;
    padding: 2px 0px;
}
#categories li {
    color: #A1A1A1;
    list-style: none;
    font-size: 9px;
    background: url('/images/ui/arrow.png');
    background-repeat: no-repeat;
    background-position: center left;
    background-position-x: 7px;
    padding-left: 22px;
    padding-top: 4px;
}

#login {
    background: #F6EDED;
    height: 128px;
    width: 100%;
    position: relative;
}
#login #bg_login {
    position: absolute;
    bottom: 0;
    right: 21;
}
table#login-form {
    line-height: 2;
    font-size: 12px;
    color: #CE5151;
    color: var(--main-color);
    padding: 30px;
}
#login input[type='text'], #login input[type='password'] {
    display: block;
    box-shadow:
        0 1px #FAF6F6,
        inset 0 1px 2px rgba(0, 0, 0, 25%);
    border: 1px solid #E8C7C7
}
#login input[type='text']:hover, #login input[type='password']:hover, 
#login input[type='text']:focus, #login input[type='password']:focus {
    border: 1px solid #ffc40c
}
table#login-form input[type='submit'] {
    background-color: #CE5151;
    background: var(--main-color);
    color: white;
    border: 1px solid #8E434C;
}
table#login-form input[type="submit"]:hover {
    background-color: white;
    color: ffc40c;
    border: 1px solid #ffc40c;
}
.article-preview {
    margin-bottom: 22px;
    position: relative;
    left: -10px;
}
.article-preview .title {
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 5px;
    padding-left: 10px;
}
#blogs .title {
    position: relative;
    right: 6px;
    color: #686868;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 3px;
}
.blog-title {
    color: #3399CC;
}
.blog-content {
    padding-left: 4px;
}
.blog-content p {
    height: 24px;
    overflow: hidden;
    overflow: -moz-hidden-unscrollable;
    overflow: clip;
}
.blog {
    padding: 4px 0;
    display: flex;
}
#avatar {
    display: inline-block;
}
#avatar img {
    width: 47px;
    height: 63px;
    object-fit: cover;
    border: 1px solid #D9D9D9;
    outline: 2px solid white;
    object-position: left;
    margin: 3px;
    margin-left: 6px;
}
.article {
    padding: 5px 9px;
}
.nav {
    margin-top: 7px;
    color: #39C;
}
.article p {
    max-height: 200px;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
    overflow: clip;
}
.article-title {
    border: none;
    color: #262626;
}