/* Basic design by Vasiliy Hizhnyak (free PSD)
Datalife Engine template by: redissx (ICQ: 275116000, E-mail: redissx@gmail.com, Website: webrambo.ru )  */

@import "reset.css" all;

.sidebox-t, .title {font-size:18px; font-weight:700; margin-bottom:20px;}
.sidebox-c li a, .more-link, .tags_more a {font-size:15px; line-height:18px; font-weight:500;}


#vk_comments,
#vk_comments iframe {
    width: 100% !important;
}

/* KARKAS
----------------------------------------------- */
.wrap {height:auto; width:100%; min-width:320px; position:relative; padding:55px 0;background: fixed #f8f8f8 url("../images/bg.png") no-repeat 50% 0;}
.center {width:100%; min-width:320px; max-width:1264px; margin:0 auto;} 
.main {background-color:#fff; box-shadow:0 20px 10px 0 rgba(0,0,0,0.1); border-radius:6px;}
.header {position:relative; padding-top:125px;}
.cols-r {padding:55px 370px 55px 55px;}
.cols-r .sidebar {float:right; width:370px; margin-right:-370px; padding-right:55px;}
.cols-r .content {float:left; width:100%; min-height:600px; padding-right:55px;}
.footer {border-top:1px solid #dddddd; padding:20px 55px;}


/* HEADER, MENU
----------------------------------------------- */
.logotype {display:block; width:460px; height:60px; position:absolute; top:32px; left:50%; margin-left:-180px; 
 font-size:24px; font-weight:700; text-align:center; line-height:30px;}
.logotype p {font:400 italic 24px Georgia, "Times New Roman", Times, serif;}
.social-btns {position:absolute; right:45px; top:55px;}
.social-btns li {display:inline-block;}
.social-btns a {display:block; padding:0 10px;}
.head-line {border-top:1px solid #dddddd; padding:10px 435px 0 55px; height:50px; position:relative;}

.menu-basic {text-align:center;}
.menu-basic > li {display:inline-block; position:relative; padding:0 15px;}
.menu-basic > li > a {display:block; line-height:40px; font-weight:700; 
text-transform:uppercase; border-bottom:1px solid rgba(0,0,0,0); color:#2a2a2a !important;}
.menu-basic > li:not(.submenu) > a:hover {border-bottom:1px solid rgba(0,0,0,0.2);}
.hidden-menu { background-color:#f6f6f6; width:260px; 
top:100%; left:0; position: absolute; z-index: 9999; display: none; text-align:left;}
.hidden-menu li a {display:block; padding:0 20px; line-height:50px; border-bottom:1px solid #e3e3e3; box-shadow:0 1px #fff;}
.hidden-menu li a:hover {background-color:#f0f0f0; color:#2a2a2a;}
li.menuactive {background-color:#f6f6f6;}

.action-btns {position:absolute; right:0; top:10px; width:435px;}
.action-btns li:first-child {border-right:1px solid #dddddd;}


/* SHORT STORY
----------------------------------------------- */
.short {border:1px solid #dddddd; margin-bottom:40px; position:relative;}
.short-img {height:150px; display:block;}
.short-img img {margin-top:-15%;}
.short-img:hover img {transform:scale(1.1,1.1);}
.short-cat {display:inline-block; padding:5px 10px; background-color:#FFF; text-transform:uppercase; font-weight:700;
position:absolute; left:20px; top:20px; max-width:380px;}
.short-text {padding:20px 30px;}
.short-text a {display:block;}
.short-desc {font:14px/21px Georgia, "Times New Roman", Times, serif;}
.short-meta {padding:0 30px 20px 30px;}
.short-meta span {display:inline-block; margin-right:30px; float:left; 
color:#696969; font:italic 14px Georgia, "Times New Roman", Times, serif;}
.short-meta a {color:#696969;}
.short-meta a:hover {color:#06c;}
.short-tools {float:right; margin-right:-10px;}
.short-tools span {margin:0;}

.short2 {padding-left:220px; height:200px;}
.short2 .short-img {width:220px; height:200px; float:left; margin-left:-220px;}
.short2 .short-img img {margin:0 0 0 -20%; width:150%; max-width:150%;}
.short2 .short-cat {max-width:180px;}
.short2 .short-text {width:100%; float:right;}
.short2 .short-meta {position:absolute; left:220px; right:0; bottom:0;}
.short2 .short-desc {height:85px; overflow:hidden;}

.short3 .short-cat {position:static; padding:0; margin-bottom:20px; max-width:none;}


/* SIDEBAR
----------------------------------------------- */
.sidebox {border:1px solid #dddddd; margin-bottom:40px; padding:20px 30px;border-radius: 15px;}
.sidebox-k {border:1px dashed #dddddd; margin-bottom:20px; padding:5px 5px;}
.sidebox-kk {border:1px dashed #dddddd; margin-bottom:20px; padding:5px 5px;}
.sidebox-t {margin-bottom:20px; text-align:center; }


.tabs-sel span {display:inline-block; cursor:pointer;}
.tabs-sel span:not(.current) {color:#dddddd;}
.js .tabs-b {display:none;}
.js .tabs-b.visible {display:block;}

.sidebox-c li {margin-bottom:20px;}
.sidebox-c li:last-child {margin-bottom:0;}
.sidebox-c li a, .more-link {display:block;}
.sidebox-c li a span, .more-link span, .tags_more a {border-bottom:1px solid rgba(0,0,0,0.2);}

.custom-foto {display:inline-block; width:65px; height:65px; margin-bottom:30px;}
.custom-foto:hover img {transform:scale(1.1,1.1);}
.more-link {margin-top:-10px;}

.lcomm {display:block; position:relative; margin-bottom:10px; min-height:40px; padding:0 0 0 50px;}
.lc-body {background-color:#f6f6f6; padding:10px; border:1px solid #f0f0f0;}
.lc-text {color:#888; margin-bottom:5px;}
.lc-author {font-weight:500;}
.lcomm img {display:block; width:40px; height:40px; border-radius:50%; position:absolute; left:0; top:0;}
.lcomm:nth-child(2n) {padding:0 50px 0 0;}
.lcomm:nth-child(2n) img {left:auto; right:0;}
.lcomm:hover img {transform:scale(0.8,0.8);}


/* FOOTER
----------------------------------------------- */
.menu-footer {text-align:right; width:40%; float:right;}
.copyr {width:60%; float:left; font-family:Georgia, "Times New Roman", Times, serif;position: relative;}


/* FULL STORY
----------------------------------------------- */
.full {position:relative;}
.full .short-cat {max-width:80%;}
.full .short-meta {padding:0; margin-bottom:20px;}


/* RATING V5
----------------------------------------------- */
.full-rating {display:inline-block; position:absolute; right:0; top:0;
font-size:18px; height:26px; line-height:26px;}
.full-rating2, .full-rating3 {background-color:#f5f5f5; background: linear-gradient(to bottom, #f9f9f9 0%,#f5f5f5 100%); 
border-radius:4px; overflow:hidden; box-shadow:0px 1px 3px rgba(0, 0, 0, 0.2);}
.full-rating2 i {color:#008ACE; margin-right:5px;}
.full-rating2 a {display:block; padding:0 10px; color:#444;}
.full-rating2 a:hover {background-color:#008ACE; color:#FFF;}
.full-rating2 a:hover i {color:#FFF;}
.full-rating3 {color:#444; padding:0 59px 0 7px;}
.full-rating3 a {display:block; color:#fff; background-color:#7dc561; width:26px; height:26px; text-align:center; 
position:absolute; top:0; right:26px;}
.full-rating3 a:nth-child(2) {background-color:#eb7f73; right:0;}
.full-rating3 a i {color:#fff;}
.full-rating3 a:nth-child(2) i {color:#fff;}
.full-rating3 a:hover {color:#FFF; background-color:#028c19;}
.full-rating3 a:nth-child(2):hover {background-color:#c1050a;}
.full-rating3 a:hover i {color:#FFF;}
.full-rating span.ratingzero {color: #ccc;}
.full-rating span.ratingtypeplus {color: #444;}
.full-rating2 a:hover span.ratingtypeplus {color:#FFF;}
.full-rating span.ratingplus {color:#95c613;}
.full-rating span.ratingminus {color:#ff0e0e;}
.frating-stars {position:relative; top:0px;}


/* FULL STORY STATIC
----------------------------------------------- */
.full-text embed, .full-text object, .full-text video, .full-text iframe, .full-text frame {max-width: 100% !important;}
.full-text {font:16px/24px Georgia, "Times New Roman", Times, serif; margin-bottom:20px;}
.full-text img:not(.emoji) {margin:0 10px 10px 0; max-width:100%; border:5px solid #f0f0f0;}
.full-text a {text-decoration:underline; color:#06c;}
.full-text a:hover {text-decoration:none;}
.full-text h2, .full-text h3, .full-text h4, .full-text h5 {margin:20px 0;}
.full-text h2 {font-size:22px;}
.full-text h3 {font-size:20px;}
.full-text h4 {font-size:18px;}
.full-text h5 {font-size:16px;}
.full-text p {margin-bottom:15px;}
.full-text ul, .full-text ol {margin:0;}
.full-text ul li {list-style:disc; margin-left:40px;}
.full-text ol li {list-style:decimal; margin-left:40px;}
.full-text table {width:100%; text-align:left;}
.full-text table tr td {padding:10px; border:1px solid #ccc; font-size:12px; }
.full-text table tr:nth-child(2n+1) {background-color:#f6f6f6;} 
.full-text table img {display:block; margin:0; border:0; max-width:350px}
.attach {line-height:40px; background-color:#f5f5f5; padding:0 15px 0 0; border-radius:4px; margin:10px 0; overflow:hidden;}
.attach .download-link {color:#FFF !important; text-decoration:none !important; margin-right:15px; float:left; 
display:inline-block; padding:0 15px; background:#0297dc;}
.attach-info {float:right;}
.attach i {margin-right:5px;}

.dcont {border:1px solid #e3e3e3; padding:0 15px 15px 15px; margin:20px 0; line-height:20px;}
.polltitle {display:block; padding:5px 15px; margin:0 -15px 15px -15px; font-size:18px; background-color:#f5f5f5; line-height:normal;}
.full-taglist {margin:10px 0 20px 0; font-size:12px;}
.full-taglist-t { margin-bottom:5px; font-weight:bold;}
.full-taglist a {text-decoration:underline; color:#06c;}
.full-taglist span {margin-right:5px;}
.full-nav {margin:20px 0 !important;}


/* COMMENTS
----------------------------------------------- */
.add-comm-form {margin-top:20px; border:1px solid #ddd; background-color:#f6f6f6; padding:20px 20px 10px 140px; position:relative;}
.add-comm-form:before {content:""; width:100px; height:100px; border-radius:50%; position:absolute; top:20px; left:20px; 
background:#CCC url(../images/comm.png) no-repeat;}
.ac-title {font-weight:700; margin-bottom:10px; font-size:16px;}
.ac-inputs input {width:49%; float:left;}
.ac-inputs input:last-child {float:right;}
.ac-inputs, .ac-textarea {margin-bottom:15px;}
.ac-textarea textarea {height:95px;}
.ac-submit {position:absolute; top:140px; left:0; width:140px; text-align:center;}
.sec-answer + .sec-label {margin-top:10px;}
.add-com-but + form #addcform {display:none; margin:20px 0;}
.ac-protect {margin-top:-10px;}
.ac-protect .label {font-size:12px;}
.ac-protect .sep-input {padding:10px 10px 10px 160px;}
.add-comm-form .login-social {position:absolute; right:17px; top:10px;}

.mass_comments_action {text-align: right; padding:5px 15px; background-color: #f6f6f6; margin:20px 0;}
.last-comm-link {font-size:16px; margin-bottom:10px;}
.last-comm-link a {text-decoration:underline; color:#06c;}

.comments-items {padding:20px 0 0 0; margin-top:50px; background-color:#FFF; border-radius:6px; box-shadow:0px 1px 2px rgba(0, 0, 0, 0.15);}

.comm-item {padding:0 20px 15px 80px; margin-bottom:15px;  font-size:14px; border-bottom:1px solid #e3e3e3;}
.comm-left {float:left; margin-left:-60px; width:60px; height:60px; overflow:hidden; position:relative;}
.comm-right {float:right; width:100%; padding-left:20px;}
.comm-left img {width:100%; min-height:100%;}
.comm-top-info {}
.comm-info-line {position:relative; padding-right:120px;}
.comm-author, .comm-date {float:left; color:#888; font-size:10px; display:inline-block;}
.comm-author {font-size:14px; font-weight:bold; margin:0 10px 0 0; color:#232323;}
.comm-author a {color:#232323;}
.comm-date {color:#aaaaaa; font-size:14px;}
.comm-text {margin:10px 0; min-height:20px; color:#626262;}
.comm-body {}
.signature {font:italic 11px Georgia, "Times New Roman", Times, serif; margin-top:10px; padding-top:10px; border-top:1px dashed #e3e3e3;}
.comm-bottom-info {}
.comm-bottom-info ul {text-align:right;}
.comm-bottom-info ul li {display:inline-block; margin-left:5px;}
.comm-bottom-info ul li:first-child, .comm-bottom-info ul li:nth-child(2) {float:left; margin-left:0; margin-right:10px;}
.comm-bottom-info ul li a {font-size:12px;}
.comm-bottom-info ul li i {margin-right:10px;}
.comments-tree-list .comments-tree-list {background-color:#f6f6f6; padding-top:15px; margin-top:-15px;}

.comm-rate {position:absolute; right:0; top:-8px; line-height:30px; border-radius:4px;}
.comm-rate span.ratingtypeplusminus {display:block; padding:0 30px;  color:#444; 
font-weight:700; font-size:16px;}
.comm-rate a {display:block; width:20px; height:30px; position:absolute; top:0; left:5px; 
text-align:center; line-height:30px; font-size:28px; font-weight:700; color:#61b804;}
.comm-rate a:last-child {left:auto; right:5px; line-height:30px; 
color:#ec000b; top:-1px;}
.comm-rate a:hover {opacity:0.7;}
.comm-rate > span > span.ratingzero {color: #444444;}
.comm-rate > span > span.ratingtypeplus {color: #06b601;}
.comm-rate > span > span.ratingplus {color: green;}
.comm-rate > span > span.ratingminus {color: red;}

.pos-comm {background-color:#e5f7e5;}
.neg-comm {background-color:#f7e5e6;}


/* LOGIN
----------------------------------------------- */
.login-box {padding:20px; background-color:#fff; display:none;}
.login-input {margin-bottom:20px;}
.login-button button {display:block; text-align:center; font-size:18px; 
width:100%; height:40px; line-height:40px;}
.login-button button:hover {}
.login-checkbox {font-size:12px; margin:10px 0; color:#888;}
.login-checkbox input {display:none;}
.login-checkbox input + label:before {width:10px; height:10px; margin-right:5px; cursor:pointer; position:relative; top:2px;
border-radius:3px; border:1px solid #ccc; content:""; background-color:#f6f6f6; display:inline-block;}
.login-checkbox input:checked + label:before { background-color:#c9282d;}
.login-links {text-align:center; line-height:30px;}
.login-links a {float:left; text-decoration:underline;}
.login-links a:last-child {float:right;}
.login-links a:hover {text-decoration:none;}
.login-social {text-align:center;}
.login-social:before {content:attr(data-label); display:inline-block; vertical-align:top; line-height:30px; margin-right:10px;}
.login-social a {display:inline-block; margin:0 3px 10px 3px;}
.login-social img {display:block; width:30px;}
.login-social a:hover img {transform:scale(1.1);}
.login-avatar {text-align:center;}
.avatar-box {display:inline-block; width:80px; height:80px; border-radius:0; overflow:hidden;}
.avatar-box img {width:100%; min-height:100%;}
.avatar-box + a {display:block; margin-top:5px; text-decoration:underline;}
.login-menu {margin-top:20px;}
.login-menu a {display:block; height:30px; padding:0 20px; line-height:30px; background-color:#f6f6f6; margin-bottom:5px; border-radius:3px;}
.login-menu a:hover {color:#000000; background-color:#ffd700;}




/* ADAPTIVE
----------------------------------------------- */
.show-menu {display:none;}
@media screen and (max-width: 1320px) {
.wrap {padding:0;}
.main {border-radius:0;}
}

@media screen and (max-width: 1220px) {
.center {max-width:1000px;}
.social-btns {right:10px;}
.cols-r {padding:55px 325px 55px 10px;}
.cols-r .sidebar {width:325px; margin-right:-325px; padding-right:10px;}
.cols-r .content {padding-right:10px;}
.head-line {padding:10px 335px 0 10px;}
.action-btns {width:335px;}
.footer {padding:20px 10px;}
}

@media screen and (max-width: 950px) {
.center {max-width:768px;}
.menu-mob, .cols-r .sidebar {display:none;}
.cols-r {padding:10px;}
.cols-r .content {padding-right:0; float:none;}
.cols-r .sidebar {float:none; width:100%; margin-right:0; padding-right:0;}
.logotype {top:10px;}
.social-btns {right:50%; top:90px; margin-right:-70px;}
.head-line {padding:10px;}
.action-btns {width:auto; text-align:left;}
.short {margin-bottom:10px;}
.menu-footer, .copyr {text-align:center; width:100%; float:none;}
.show-menu {display:inline-block; line-height:40px; font-size:24px;}
.menu-mob {text-align:left; position:absolute; left:0; top:100%; width:100%; z-index:888; 
background-color:#FFF; box-shadow:0 0 10px 0 rgba(0,0,0,0.2); padding:10px 0;}
.menu-mob > li {display:block; padding:0 10px;}
.menu-mob > li > a {line-height:30px;}
.hidden-menu {width:auto; display:block; position:static; margin:5px -10px;}
.hidden-menu li a {line-height:30px;}
.social-btns {display:none;}
.comm-item {padding:0 10px 15px 70px;}
.comm-right {padding-left:10px;}
.comm-author, .comm-date {font-size:12px;}

.form-wrap {margin:0 -10px;}
}

@media screen and (max-width: 760px) {
.short-img img {margin-top:-5%;}
.short2 .short-img img {margin:0 0 0 -20%;}
.short-text {padding:20px 10px;}
.short-meta {padding:0 10px 20px 10px;}
.short-meta span {margin-right:20px;}
.short-tools span {margin:0;}
.sidebo.social-btns {display:none;}x {margin-bottom:10px; padding:20px 10px;}
.social-btns {display:none;}
.pagi-nav {white-space:nowrap; overflow-y:hidden; overflow-x:auto;}

.full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size:18px; margin:10px 0;}
.add-comm-form {padding:20px 10px; overflow:hidden;}
.add-comm-form:before {display:none;}
.ac-submit {position:static; width:100%;}
.ac-submit button {width:100%;}
.comments-tree-list .comments-tree-list {padding-left:0 !important;}
.comm-bottom-info ul li, .mass_comments_action {display:none;}
.mob-vis {display:inline-block !important;}

.sub-title h1 {font-size:18px; line-height:24px;}
}

@media screen and (max-width: 590px) {
.short-img img {margin-top:0;}
.short2 {padding-left:0; height:auto;}
.short2 .short-img {width:100%; height:150px; float:none; margin-left:0;}
.short2 .short-img img {margin:0; width:100%; max-width:100%;}
.short2 .short-cat {max-width:280px;}
.short2 .short-text {float:none;}
.short2 .short-meta {position:static;}
.social-btns {display:none;}
.add-comm-form .login-social {position:static; text-align:left;}
.ac-inputs input {width:100%; float:none !important; margin-top:10px;}
.ac-protect {width:100%; float:none; margin:-10px 0 0 0;}
.ac-submit button {float:none; display:block; text-align:center; width:100%;}
    
.ui-dialog {width:100% !important;}
.upop-left, .upop-right {float:none !important; width:100% !important; margin:0; padding:0 20px;}
.upop-left {margin-bottom:10px; text-align:center;}
.ui-dialog-buttonset button {display:block; margin:0 0 5px 0; width:100%;}
#dofullsearch, #searchsuggestions span.seperator {display:none !important;}
.attach .download-link {margin:0 -15px 0 0; float:none; display:block; padding:0 10px;}
.attach-info {float:none;}
}

@media screen and (max-width: 470px) {
.logotype {width:400px; margin-left:-220px; background-image:none;}
.short .short-cat {max-width:260px;}
.sidebox-kk {display:none;}
.full .short-cat {max-width:65%;}
.gototop {opacity: 0}
.ac-protect {margin:-10px -10px 0 -10px;}
.comm-item {padding:0 10px 15px 50px;}
.comm-left {margin-left:-40px; width:40px; height:40px;}
.comm-author, .comm-date {margin:0; display:block; float:none;}
.comm-date {display:none;}
.login-social:before {display:block; line-height:30px; margin-right:0;}
}


/* safe fix dle player
----------------------------------------------- */
.mejs-container {max-width:100% !important;}

/*наверх*/
.gototop{
    display: none;
    cursor: pointer;
    position: fixed;
    left: 0;
    top: 0;
    width: 3%;
    max-width: 60px;
    min-width: 120px;
	
    height: 100%;
    background: url('../images/up1.png') no-repeat 50% 12px;
    transition: background-color .2s ease-in;
    z-index: 99;
}
.gototop:hover{
    background-color: #dadada!important
}


/*навигация*/
.navigation{border:none}
.navigation a:link,.navigation a:active,.navigation a:visited{
    background:white;
    border: 1px dashed #BCBCBC; 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: red;
    font-size: 12px;
    font-weight: normal;
    padding: 4px 7px;
    text-shadow: 0 1px 0 #FFFFFF;
    text-transform: lowercase;}
.navigation a:hover{  background-color: #EFEFEF; color: #747474;}
.navigation span{
    background:white;
	border: 1px dashed #BCBCBC;   
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) inset, 0 1px 0 #FFFFFF;
    color: #dadada;
    cursor: default;
    padding: 4px 7px;
}
