body {
    margin: 0;
    padding-bottom: 30px;
    font-family: Arial,sans-serif;
}
.login-page {
    width: 330px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
.button-panel {
    margin: 0 auto 0 auto;
    width: max-content;
    padding-top: 30px;
}
.form {
    text-align: center;
    padding: 45px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
#captcha {
    width: 100%;
    margin: 0 0 15px;
    font-size: 0;
}
.form button {
    text-transform: uppercase;
    outline: 0;
    background: #d60;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
}
.form button:hover,.form button:active,.form button:focus {
    background: #848484;
}
.form input {
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 15px;
}
.form .message {
    margin: 15px 0 0;
    color: #333;
    font-size: 14px;
}
.form .message a {
    color: #d60;
    text-decoration: none;
}
.success {
    padding-bottom: 15px;
    font-size: 18px;
    color: #333;
}
.avatar-page {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 500px;
}
.users-avatar {
    border-radius: 100px;
    width: 50px;
    height: 50px;
    margin: 0;
}
.round-avatar {
    border-radius: 100px;
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}
#del-avatar {
    background: #fff;
    border: 0;
    padding-bottom: 10px;
}
p {
    text-align: center;
    margin: 0;
}
.token {
    display: inline-block;
    background-color: #fff;
    padding: 5px;
    border: solid 1px #ccc;
    margin-left: 10px;
} 
.pstrnav {
    text-align: center;
    padding: 60px 0 10px 0;
}
.pstrnav_activ {
    display: inline-block;
    background: #000;
    color: #fff !important;
    border: solid 1px #dcdcdc;
    border-radius: 3px;
    padding: 7px 10px 7px 10px;
    text-decoration: none;
}
.pstrnav a {
    background: #fff;
    border: solid 1px #DCDCDC;
    border-radius: 3px;
    color: #000 !important;
    padding: 7px 10px 7px 10px;
    text-decoration: none;
    margin: 2px 4px;
}
.pstrnav a:hover {
    background: #000;
    color: #fff !important;
}
.article-block, .comments-block {
    max-width: 1170px;
    margin: 0 auto;
}
.article-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f2f2f2;
    margin: 15px;
    border-radius: 10px;
    position: relative;
}
.article-time {
    position: absolute;
    padding: 10px;
    color: #fff;
    font-size: 14px; 
    background-color: #000000bd;
}
.article-img {
    height: 200px;
    overflow: hidden;
    width: 100%;
}
.article-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-content {
    flex: 1;
    max-height: 165px;
    min-height: 165px;
    font-size: 15px;
    color: #000;
    text-align: left;
    margin: 20px;
    overflow: hidden;
}
.article-bottom {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.button {
    float: left;
    margin: 0 5px;
}
.button input {
    display: inline-flex;
    background: #f2f2f2;
    border: solid 1px #000;
    border-radius: 3px;
    color: #000 !important;
    padding: 7px 10px 7px 10px;
    text-decoration: none;
    margin: 2px 4px;
    font-size: 15px;
    cursor: pointer;
}
.button input:hover {
    background: #000;
    color: #fff !important;
}
button {
    display: inline-flex;
    background: #f2f2f2;
    border: solid 1px #000;
    border-radius: 3px;
    color: #000 !important;
    padding: 7px 10px 7px 10px;
    text-decoration: none;
    margin: 2px 4px;
    cursor: pointer;
}
button:hover {
    background: #000;
    color: #fff !important;
}
.article-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px -30px;
}
.article-col {
    width: 33.33333333%;
    padding-bottom: 20px;
}
.footer {
    padding-top: 35px;  
    text-align: center;
    font-size: 12px;
}
.editarea {
    max-width:1170px;
    padding: 15px;
    margin: 0 auto 0 auto;
}
.input {
    width: 100%;
    height: 250px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    font-size: 16px;
    resize:none; 
}
.registration {
    margin: 40px 0 0;
    font-size: 16px;
}
.registration a {
    color: #333;
    text-decoration: none;
}
.topnav {
    background-color: #000;
    overflow: hidden;
}
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
}
.topnav a:hover {
    background-color: #848484;
    color: white;
}
.maintable {
    max-width: 1170px;
    width: 100%;
    margin: 15px auto 0 auto;
}
th, td:first-child {
    background: #ccc;
    color: white;
    padding: 10px;
}
th, td {
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: white;
    text-align: center;
}
td {
    background: #f2f2f2;
}
.datetime {
    text-align: center;
}
.mainimage {
    text-align: center;
}
.images {
    text-align: center;
}
.inputdesc {
    padding: 25px 0 5px 0;
    text-align: center;
    font-size: 12px;
    color: #a4a4a4;
}
.frame-left {
    display: inline-block;
    width: 49%;
    float: none;
}
.frame-right {
    display: inline-block;
    width: 49%; 
    float: right;
}
.topic {
    padding-top: 15px;
    text-align: center;
}
.comments-form {
    background: #f2f2f2;
    padding: 20px;
    margin-top: 20px;
}
.comments-buttons {
    text-align: center;
    padding-top: 20px;
    clear: both;
}
.comments-message {
    float: right;
    width: 78%;
}
.comments-header {
    float: left;
    width: 20%;
    font-size: 14px; 
}
.comments-name {
    padding: 10px;
    margin: 0px 0px 10px 0px;
    text-align: center;
    background: #333;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}
.comments-theme {
    margin-bottom: 10px;
}
.comments-theme a {
    color: #000;
    font-weight: bold;
}
.comments-date {
    margin-bottom: 10px;
}
.comments-ip {
    margin-bottom: 10px;
}

/*------responive-design--------*/

@media (max-width: 1250px) {
    .article-block, .comments-block {
        margin: 0 15px 0 15px;
    }
}
@media (max-width: 900px) {
    .article-col {
        width: 100%;
    }
}
@media (max-width: 690px) {
    .pstrnav {
        width: 100%;
        padding: 60px 0 15px 0;  
    }
    .comments-header {
        float: none;
        width: 100%;
    }
    .comments-message {
        float: none;
        width: 100%;
    }
}
@media (max-width: 520px) {
    .avatar-page {
        width: 95%;
    }
}

