/*MAIN BLOCKS*/

* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "Arial", sans-serif;
    font-size: 17px;
    background-color: #ffffff;
}

h1 {
    margin: 10px 0px;
    font-size: 35px;
    line-height: 35px;
    font-weight: normal;
    color: #000;
}

h2 {
    text-align: center;
}

p {
    text-align: justify;
    margin: 0px 0px 7px;
    width: 100%;
    line-height: 20px;
}

.comments-item a{
    text-decoration: none !important;
}

img {
    max-width: 100%;
}

main {
    margin: 0 0 0 20px;
    width: 67%;
    float: left;
    padding: 10px 10px 0 10px;
}

.timer {
    font-size: 60px;
    font-weight: bold;
    color: #e03333;
    text-shadow: 2px 4px 9px #4c3232;
}

.time {
    color: #ff2828;
    text-shadow: 2px 4px 9px #4c3232;
}

a h1 {
    color: blue;
}

a:hover {
    text-decoration: none;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    background-color: #ffffff;
}

.comment-head .like {
    font-weight: bold;
    position: absolute;
    right: 30px;
    transition: 2s;
    color: #9e9e9e;
    cursor: pointer;
}

.comment-head .like:after {
    content: '';
    position: absolute;
    cursor: pointer;
    width: 16px;
    height: 16px;
    right: -20px;
    background-image: url(likes.png);
    background-repeat: no-repeat;
    background-position: -5px -5px;
    transition: 0.5s;
}

.comment-head .like {
    font-weight: bold;
    position: absolute;
    right: 30px;
    transition: 2s;
    color: #9e9e9e;
    cursor: pointer;
}

.comment-head .like:hover {
    color: #03658c;
}

.comment-head .like:after {
    content: '';
    position: absolute;
    cursor: pointer;
    width: 16px;
    height: 16px;
    right: -20px;
    background-image: url(likes.png);
    background-repeat: no-repeat;
    background-position: -5px -5px;
    transition: 0.5s;
}

.comment-head .like:hover:after {
    background-position: -5px -31px;
}

.sidebar {
    float: right;
    width: 28%;
    padding-top: 20px;
    padding-right: 7px;
    text-align: center;
}

.mainsidebar {
    box-shadow: 0 0 5px #333;
    overflow: hidden;
    line-height: 0;
}

.mainsidebar:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 1s ease-out;
    transition: 1s ease-out;
}

footer {
    background-color: #f3f4f5;
    position: relative;
    bottom: -1px;
    clear: both;
}

.copyright {
    text-align: center;
    color: #fff;
    padding: 20px;
}

footer center {
    color: #fff;
    padding: 10px 0;
}

.like-click {
    color: #03658c!important;
}

.link-red {
    color: red;
}


/*TABLE*/

table {
    border-collapse: collapse;
    margin-bottom: 10px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
/*tr>td:nth-child(2) {
        text-align: center;
}*/

td,
th {
    padding: 10px 10px;
    padding-left: 15px;
    /*border: 1px solid black;*/
}
th img {
    max-width: 250px;
}
tr:nth-child(2n+1)>td {
    background-color: #e9e9e9;
}
tr>td:nth-child(2),
tr>th:nth-child(2) {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
th {
    background: #27ae60;

}


/*HEADER*/

.first_menu {
    background: #fff;
    padding-bottom: 35px;
    margin-bottom: 10px;
}

.first_menu ul {
    max-width: 1150px;
    padding-top: 15px;
    margin-left: 100px;
    float: left;
    padding-left: 10px;
}

.first_menu li {
    color: #9f9c9c;
    font-size: 18px;
    display: inline-block;
    padding-right: 20px;
    cursor: pointer;
}

.first_menu li:first-child {
    color: blue;
    padding-bottom: 17px;
    border-bottom: 3px red solid;
}

.icon_first {
    padding-right: 3px;
    width: 27px;
    height: 20px;
    float: left;
    background-image: url(../img/icons.png);
    background-position: -29px 0px;
    background-repeat: no-repeat;
    margin-top: -8px;
}

/*.first_menu li:hover {
        cursor: pointer;
        background-color: #3c3c3c
}
*/
.icon:hover {
    background: #0000ff;
}

.icon_second {
    padding-right: 3px;
    width: 30px;
    height: 20px;
    float: left;
    background-image: url(../img/icons.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    margin-top: -8px;
}

nav {
    color: #fff!important;
    padding-bottom: 65px;
    background: #0889eb!important;
}

nav ul {
    max-width: 1150px;
    padding-top: 20px;
    margin: 0 auto;
    float: left;
    padding-left: 10px;
}

nav ul li {
    text-transform: uppercase;
    ;
    color: #fff!important;
}

nav li {
    color: #6b0a23;
    font-size: 18px;
    display: inline-block;
    padding-right: 20px;
}

nav ul li:hover {
    cursor: pointer;
}

.navicon {
    margin-left: 100px;
    width: 28px;
}

.icon {
    padding-left: 24px;
    vertical-align: middle;
    width: 200px;
}

header {
    line-height: 0;
}

.favicons {
    display: inline-block;
    float: right;
    color: #3b5997;
    padding-top: 3px;
}

.favicons:hover {
    cursor: pointer;
}

.post_li {
    margin-left: 20px;
}

.line {
    border-top: 1px dotted #d576b8;
    border-bottom: 1px dotted #d576b8;
    padding: 10px 0 5px 0;
    margin: 10px 0 5px 0;
    text-align: center;
    font-style: italic;
    font-weight: bold;
}

.border_post {
    background-image: url(bg.png);
    background-repeat: repeat;
    padding: 15px;
    margin-bottom: 10px;
    font-style: italic;
    font-weight: bold;
}

.line_2 img {
    max-width: 50%;
}

.img_post {
    background-color: #ff0000;
    height: 55px;
}

.ic {
    float: left;
    width: 30px;
    padding: 15px;
}

.right {
    width: 50px;
}

.menu {
    float: right;
}

.icon_media {
    vertical-align: middle;
    width: 200px;
    padding-top: 15px;
}

.img_post img:hover {
    cursor: pointer;
}

.menu img {
    vertical-align: middle;
}

.menu ul {
    padding: 9px;
}

.menu li {
}


/*POST*/

.img_left {
    float: left;
    padding: 0px 15px 15px 0px;
    width: 60%;
    box-sizing: border-box;
}

.line p {
    text-align: center;
    font-weight: bold;
}

.post {
    float: left;
    padding: 8px;
}

hr {
    margin-bottom: 10px;
}

.comments-container .btn {
    color: #fff;
}

.sidebar_img {
    max-width: 70%;
    padding-bottom: 20px;
}

.int {
    text-align: right;
    font-weight: bold;
    font-style: italic;
    padding-bottom: 50px
}

.btn {
    display: block;
    text-align: center;
    padding: 14px 2px 14px 2px;
    box-shadow: rgb(46, 54, 85) 0px 0px 18px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none!important;
    font-weight: bold;
    font-size: 18px;
    background: #263fa7;
    border-radius: 15px;
}

.btn:hover {
    opacity: 0.8;
    box-shadow: none;
}

.btn:active {
    top: 1px;
}

.btn2 {
    display: inline-block;
    text-align: center;
    padding: 14px 20px 14px 20px;
    box-shadow: 0 4px 5px #ccc text-shadow: 2px 1px 1px #908c8c;
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: rgb(46, 54, 85) 0px 0px 18px;
    background: #263fa7;
    border-radius: 10px;
}

center p {
    text-align: center;
}

.btn2:hover {
    opacity: 0.8;
    box-shadow: none;
}

ol {
    margin-left: 20px;
    float: left;
}

ul {
    margin-left: 20px;
}

.btn2:active {
    top: 1px;
}

.header_menu {
    margin: 0 auto;
    padding: 1px;
}

.header_menu img {
    max-width: 100%;
    float: left;
    padding-left: 73px;
}

.header_menu img,
h1:hover {
    cursor: pointer;
}

.header_menu h1 {
    color: #fff;
    padding-left: 135px;
    padding-bottom: 20px;
    font-size: 30px;
}

.img_post1 {
    float: left;
    margin-right: 10px;
    max-width: 42%;
    box-sizing: border-box;
}

.totko {
    background-color: #fff;
    padding: 2px;
    margin: 0 0 7px 0;
    box-sizing: border-box;
}

a {
    text-decoration: underline;
    color: #0027ff;
}

.doc_img {
    float: left;
    max-width: 70%;
    padding: 0 50px 5px 0px;
}


/*COMMENTS*/

.comments-container {
    margin: 60px auto 15px;
    width: 100%;
}

.comments-container h1 {
    font-size: 36px;
    color: #283035;
    font-weight: 400;
}

.comments-container h1 a {
    font-size: 18px;
    font-weight: 700;
}

.comments-container a {
    color: #03658c;
}

.comments-list {
    margin-top: 30px;
    position: relative;
    margin-right: 15px;
}

.comments-list:before {
    content: '';
    width: 2px;
    height: 99%;
    background: #c7cacb;
    position: absolute;
    left: 45px;
    top: 16px;
}

.comments-list:after {
    content: '';
    position: absolute;
    background: #c7cacb;
    bottom: 0;
    left: 40px;
    width: 7px;
    height: 7px;
    border: 3px solid #dee1e3;
    border-radius: 50%;
}

.reply-list:before,
.reply-list:after {
    display: none;
}

.reply-list li:before {
    content: '';
    width: 60px;
    height: 2px;
    background: #c7cacb;
    position: absolute;
    top: 25px;
    left: -55px;
}

.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.comments-list li:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    width: 0;
}

.reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}

.comments-list .comment-avatar {
    width: 65px;
    height: 65px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    border-radius: 4px;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.59);
    overflow: hidden;
}

.comments-list .comment-avatar img {
    width: 100%;
    height: 100%;
}

.reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 80%;
    float: right;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    ;
}

.comments-list .comment-box:before,
.comments-list .comment-box:after {
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    display: block;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent #f3f3f3;
    top: 8px;
    left: -11px;
}

.comments-list .comment-box:before {
    border-width: 11px 13px 11px 0;
    border-color: transparent rgba(0, 0, 0, 0.05);
    left: -12px;
}

.reply-list .comment-box {
    width: 80%;
}

.comment-box .comment-head {
    background: #f3f3f3;
    padding: 10px 12px;
    border-bottom: 1px solid #E5E5E5;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.comment-box .comment-head i {
    float: right;
    margin-left: 14px;
    position: relative;
    top: 2px;
    color: #A6A6A6;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.comment-box .comment-head i:hover {
    color: #03658c;
}

.comment-box .comment-head i:active {
    color: #03658c;
}

.comment-box .comment-head i:focus {
    color: #03658c;
}

.comment-box .comment-name {
    color: #03658c;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

.comment-box .comment-name a {
    color: #03658c;
    text-decoration: none;
}

.comment-box .comment-head span {
    float: left;
    color: #999;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.comment-box .comment-content {
    background: #FFF;
    padding: 12px;
    font-size: 15px;
    color: #595959;
    border-radius: 0 0 4px 4px;
}

.comment-box .comment-name.by-author,
.comment-box .comment-name.by-author a {
    color: #03658c;
}

.comment-box .comment-name.by-author:after {
    content: 'autorul';
    background: #03658c;
    color: #FFF;
    font-size: 12px;
    padding: 3px 5px;
    font-weight: 700;
    margin-left: 10px;
    border-radius: 3px;
}

.comment-add {
    margin: 30px 0;
}

.comment-add img {
    display: inline-block;
    vertical-align: top;
    float: left;
    margin-bottom: 10px;
    margin-right: 10px;
}

.comment-add input {
    float: left;
    margin: 10px 10px 5px 10px;
    outline: none;
    background: #efefef;
    border: 0;
    padding: 10px;
}

.comment-add textarea {
    float: left;
    font-family: Arial;
    width: 90%;
    margin: 5px 10px;
    outline: none;
    background: #efefef;
    border: 0;
    padding: 10px;
}

.comment-add a {
    background: 0 0!important;
    color: #7f929c!important;
    color: #000!important;
    font-weight: bold;
    margin: 0;
    display: inline-block;
    font-size: 16px;
}

.comment-add a span {
    margin-left: 10px!important;
}

.comment-add button {
    color: #fff!important;
    margin-left: 10px!important;
    background: #D3775D;
    border: 0;
    width: 100px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    padding: 8px 0;
    font-size: 18px;
}

.comment-add button:hover {
    background: #C15322;
}

.comment-add button a {
    font-weight: 100;
    display: inline-block;
    color: #fff!important;
    vertical-align: top;
    line-height: 8px;
}

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.comments-container center a {
    color: #fff;
}


/*SIDEBAR*/

.pop-up-layer {
    display: none;
    position: absolute !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 99 !important;
}

.pop-up-layer-show {
    display: block;
}

.pop-up-window {
    position: fixed;
    max-width: 400px;
    right: 0;
    left: 0;
    top: 40%;
    margin: 0 auto;
    background: rgb(210, 232, 255);
    text-align: center;
    padding-top: 70px;
    padding-bottom: 20px;
    border-radius: 10px;
    animation: pop-up-appear 0.7s;
}

.pop-up-window:before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    top: -55px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #71c341;
    border-radius: 50%;
    animation: pop-up-appear-before 0.5s 0.6s;
    animation-fill-mode: backwards;
}

.pop-up-window:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 20px;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border: 4px solid #fff;
    border-right: none;
    border-top: none;
    transform: rotate(-45deg);
    transition: opacity 1s;
    animation: pop-up-appear-after 0.5s 0.6s;
    animation-fill-mode: backwards;
}

@keyframes pop-up-appear {
    0% {
        transform: translateY(-2000px);
    }
    30% {
        transform: translateY(100px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pop-up-appear-before {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pop-up-appear-after {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.pop-up-heading {
    font-size: 40px;
}

.pop-up-text {
    font-size: 24px;
    line-height: 30px;
}

.pop-up-button {
    text-transform: uppercase;
    padding: 10px 20%;
    font-size: 20px;
    border-radius: 5px;
    background-color: #71c341;
    color: #fff;
    border: none;
    cursor: pointer;
    outline: none;
}


/* FLOATING BLOCK */

#aside1 {
    height: 200px;
    padding: 6px;
    margin: 0 5px;
}


/*RESPONSIVE*/

@media all and (min-width: 723px) {
    .img_post {
        display: none;
        box-sizing: border-box;
    }
}

@media all and (max-width: 1020px) {
    .img_left img {
        padding: 20px 10px 20px 0px;
    }
    .img_left p {
        line-height: 22px;
        margin: 0px 0px 7px !important;
    }
}

@media all and (max-width: 950px) {
    .menu {
        display: none;
    }
    .img_left p {
        line-height: 20px;
        margin: 0px 0px 7px !important;
    }
    .favicons {
        padding-top: 4px;
    }
    main {
        margin-left: 0;
        width: 67%;
    }
}

.success {
    display: none;
    padding: 40px 10px;
    font-size: 22px;
    line-height: 27px;
    border: 2px solid grey;
    margin-bottom: 20px;
    background: #fff;
    text-align: center;
}

.success span {
    font-size: 25px;
    font-weight: bold;
    color: #ff5722;
}

.success a {
    text-decoration: underline;
    color: #0012ff;
}

.success a:hover {
    text-decoration: none;
}

.disappear {
    display: none;
}

.appear {
    display: block;
    -webkit-animation: appear 0.6s;
    animation: appear 0.6s;
}

@-webkit-keyframes appear {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
    }
    50% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
    }
    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

@keyframes appear {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
    }
    50% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
    }
    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

@media all and (max-width: 723px) {
    .favicons {
        float: left;
        padding-top: 3px;
    }
    header {
        display: none !important;
    }
    .header_img,
    .sidebar,
    nav {
        display: none;
    }
    main {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 5px 10px;
    }
    .header-mini {
        display: block;
    }
    table {
        font-size: 14px;
    }
}

@media all and (max-width: 460px) {
    .img_left img {
        float: none;
    }
    .doc_img {
        float: none;
    }
    .comments-list .comment-box {
        width: 70%;
    }
    .reply-list .comment-box {
        width: 70%;
    }
    .reply-list {
        padding-left: 40px;
    }
    .reply-list li:before {
        left: -8px;
    }
    table {
        font-size: 12px;
    }
}

@media all and (max-width: 750px) {
    .navicon {
        margin-left: 0px
    }
    .favicons {
        display: none !important;
    }
}

@media all and (max-width: 530px) {
    .img_post1 {
        max-width: 100%;
        float: none;
    }
    .post {
        float: none;
        max-width: 100%;
    }
}


/* ================ */


/* === COMMENTS === */


/* ================ */

.comments {
    padding-top: 10px;
}

.comments-item {
    max-width: 90%;
    box-sizing: border-box;
    margin: 0 auto;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e2e3;
}

.comment-avatar {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    border: 1px solid #ccc;
    font-size: 0;
}

.comment-text {
    display: inline-block;
    max-width: 70%;
    vertical-align: top;
    font-size: 16px;
}

.comment-username {
    color: #365899;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
}

.comment-username a{
    color: #365899;
}

.comment-username:hover {
    text-decoration: underline;
}

.comment-action {
    padding-left: 50px;
}

.like,
.reply,
.like-count {
    color: #365899;
    font-size: 13px;
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.like:hover,
.reply:hover {
    text-decoration: underline;
}

.like:after,
.reply:after {
    content: " · ";
    position: absolute;
    font-weight: bold;
    right: -10px;
    top: 0;
    color: #90949c;
}

.like-count {
    padding-left: 20px;
    position: relative;
}

.like-count:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 0;
    background-image: url("../img/like.png");
}

.like-count-liked {
    animation: 0.5s like-change;
}

.like-count-unliked {
    animation: 0.5s like-unchange;
}

@keyframes like-change {
    50% {
        top: -10px;
        opacity: 0;
    }
    51% {
        bottom: -10px;
    }
    100% {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes like-unchange {
    50% {
        bottom: -10px;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

.comment-date {
    font-size: 13px;
    color: #90949c;
    position: relative;
}

.comment-date:before {
    content: " · ";
    position: absolute;
    font-weight: bold;
    left: -10px;
    top: 0;
    color: #90949c;
}

.comment-input {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.comment-input-area {
    display: inline-block;
    vertical-align: top;
    width: 80%;
    font-size: 0;
    perspective: 800px;
}

.comment-input input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: 0.4s;
    word-wrap: wrap;
}

.textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 40px;
    font-family: "Arial", sans-serif;
    transition: 0.5s;
}

.textarea-focus {
    height: 80px;
}

.input-action {
    display: none;
    transition: 0.4s;
    background-color: #f6f7f9;
    border: 1px solid #ccc;
    border-top: none;
    padding: 10px 10px;
    transform-origin: top;
    padding: 10px 10px;
}

.input-action-focus {
    display: block;
    animation: 0.6s action-appear;
}

@keyframes action-appear {
    0% {
        opacity: 0;
        transform: rotateX(-90deg);
    }
    60% {
        transform: rotateX(30deg);
    }
    100% {
        opacity: 1;
        transform: rotateX(0);
    }
}

.send-btn {
    float: right;
    padding: 5px 10px;
    background-color: #4267b2;
    border: none;
    border-radius: 2px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.send-btn:hover {
    background-color: #365899;
}


/* ==================== */


/* === COMMENTS END === */

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.table-responsive {
    min-height: .01%;
    overflow-x: auto;
}

@media screen and (max-width: 767px){
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
}