вопрос
Здравствуйте. Такая вот проблема, убрал правый блок с категориями, а вместо него осталась пустота. Хочу сместить новости немного правее (или выставить по центру) но не знаю где... Ищу уже 1.5 часа но ничего не могу найти. Подскажите пожалуйста.
Код краткой новости:
CSS код:
За ранее большое спасибо.
Код краткой новости:
<div class="post-wrap">
<div class="post">
<img src="{image-1}" alt="{title}">
<div class="post-cnt">
<h3 class="post-title"><a href="{full-link}">{title}</a></h3>
<p>{short-story limit="150"}</p>
<a class="post-more" href="{full-link}">Подробнее</a>
<div class="post-details oh">
<span class="post-date-time"><i class="fa fa-clock-o"></i> {date}</span>
<span class="post-date-time" title="Количество комментариев"><i class="fa fa-comments-o"></i> {comments-num}</span>
<span class="post-date-time" title="Просмотров"><i class="fa fa-eye"></i> {views}</span>
<div style="float:right">
[rating-type-1]{rating}[/rating-type-1]
[rating-type-2]
[rating-plus]<i class="fa fa-thumbs-o-up" title="Нравится"></i>[/rating-plus]
{rating}
[/rating-type-2]
[rating-type-3]
[rating-plus]<i class="fa fa-thumbs-o-up" title="Нравится"></i>[/rating-plus]
{rating}
[rating-minus]<i class="fa fa-thumbs-o-down" title="Не нравится"></i>[/rating-minus]
[/rating-type-3]
</div>
</div>
</div>
</div>
</div>
CSS код:
@import "color.css" all;
html, body {
margin: 0;
padding: 0;
min-height: 100%;
}
textarea, input {
outline: none;
resize: none;
box-sizing: border-box;
}
img, a img {
border: none;
outline: none;
}
a {
text-decoration: none;
color: #a7a7a7;
}
body {
font-size: 14px;
line-height: 22px;
color: #a7a7a7;
background: #fff;
font-weight: 400;
font-family: 'Roboto';
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 22px;
padding: 0;
font-weight: 400;
line-height: 22px;
color: #121212;
}
h7 {
margin: 0 0 22px;
padding: 0;
font-weight: 400;
line-height: 40px;
color: #121212;
font-size: 28px;
}
h1 {font-size: 24px;}
h2 {font-size: 20px;}
h3 {font-size: 18px;}
h4 {font-size: 16px;}
h5 {font-size: 15px;}
h6 {font-size: 14px;}
hr {
height: 1px;
border: none;
background: #dcdcdc;
}
aside ul, aside ol, aside li {
margin: 0;
padding: 0;
list-style: none;
list-style-type: none;
}
textarea {
overflow: auto;
border: 1px solid #dcdcdc;
border-radius: 3px;
background: #fafafa;
color: #121212;
line-height: 22px;
min-height: 40px;
padding: 7px 20px;
font-size: 14px;
font-family: 'Roboto';
box-sizing: border-box;
transition: all .3s ease;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"] {
border: 1px solid #dcdcdc;
border-radius: 3px;
background: #fafafa;
color: #121212;
line-height: 22px;
height: 40px;
padding: 7px 20px;
font-size: 14px;
font-family: 'Roboto';
box-sizing: border-box;
transition: all .3s ease;
}
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
select {
border: none;
border-radius: 3px;
color: #fff;
line-height: 22px;
height: 40px;
padding: 7px 20px;
font-size: 14px;
font-family: 'Roboto';
cursor: pointer;
transition: all .3s ease;
box-sizing: border-box;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
background: #121212;
}
p {
margin: 0;
padding: 0;
}
.oh {
overflow: hidden;
}
.cnt {
width: 1170px;
margin: 0 auto;
}
.clr:after {
content: '';
display: block;
clear: both;
}
.col2 {width: 48.717948716%;}
.col3 {width: 31.623931622%;}
.col4 {width: 23.076923075%;}
.col2, .col3, .col4 {
margin-bottom: 30px;
margin-right: 2.564102563%;
float: left;
}
.col2:nth-child(2n), .col3:nth-child(3n), .col4:nth-child(4n) {
margin-right: 0 !important;
}
.col2:nth-child(2n+1), .col3:nth-child(3n+1), .col4:nth-child(4n+1) {
clear: left;
}
.col2 *, .col3 *, .col4 * {
max-width: 100%;
}
#wrapper {
min-height: 100%;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
margin: 0 auto;
overflow: hidden;
}
#loader {
position: fixed;
width: 100%;
height: 100%;
z-index: 9991;
}
#top-line {
height: 4px;
}
#top {
color: rgba(255, 255, 255, 0.6);
overflow: hidden;
transition: all 0.5s ease;
}
.top-opened {
padding-top: 50px !important;
padding-bottom: 20px !important;
}
.top-col > h4 {
color: #fff;
text-transform: uppercase;
}
.top-photo {
display: block;
float: left;
width: 80px;
height: 80px;
margin-right: 10px;
margin-bottom: 10px;
background-position: center;
background-size: cover;
transition: all .3s ease;
}
.top-photo:hover {
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}
.top-col ul, .top-col li {
padding: 0;
margin: 0;
}
.top-col li {
list-style-type: none;
margin-bottom: 10px;
}
#header {
position: relative;
height: 96px;
z-index: 90;
}
#logo {
display: block;
height: 96px;
line-height: 96px;
float: left;
}
.top-open {
position: absolute;
top: 0;
right: 0;
border-left: 40px solid transparent;
width: 0;
height: 0;
}
.top-open .fa {
display: block;
width: 15px;
height: 15px;
color: #000;
margin-left: -17px;
margin-top: -34px;
cursor: pointer;
color: #fff;
}
.nav-icon {
float: right;
color: #121212;
padding-top: 37px;
padding-bottom: 37px;
}
.nav-icon .fa {
cursor: pointer;
width: 14px;
transition: color .3s ease;
}
.menu-icon {
margin-right: 15px;
}
#search-form {
height: 50px;
background: #f2f2f2;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
width: 100%;
height: 0;
overflow: hidden;
transition: height .3s ease
}
#search-form.search-form-show {
height: 50px;
}
input.search_keyword {
width: 100%;
margin: 0;
padding: 0;
height: 50px;
border-radius: 0;
text-align: center;
font-size: 18px;
color: #121212 !important;
font-weight: 300;
border: none !important;
background: none;
}
input.search_keyword::-webkit-input-placeholder {color: #121212;}
input.search_keyword::-moz-placeholder {color: #121212;}
input.search_keyword:-ms-input-placeholder {color: #121212;}
#slider-wrapper, .slider, .slide {
width: 100%;
height: 500px;
overflow: hidden;
position: relative;
}
.slide {
background-size: cover;
}
.slider-button {
position: absolute;
width: 60px;
height: 60px;
line-height: 60px;
font-size: 30px;
color: #fff;
box-shadow: inset 0 0 0 2px #fff;
text-align: center;
cursor: pointer;
top: 50%;
margin-top: -30px;
z-index: 10;
opacity: 0;
transition: all .3s ease;
}
.slider-button-prev {
left: -60px;
}
.slider-button-next {
right: -60px;
}
#slider-wrapper:hover .slider-button-prev {
left: 50px;
opacity: 1;
}
#slider-wrapper:hover .slider-button-next {
right: 50px;
opacity: 1;
}
.slide-text {
margin-left: 500px;
margin-top: 100px;
color: #fff;
padding: 10px;
background: rgba(29, 29, 29, 0.5);
}
.slide-text > h2 {
font-size: 35px;
line-height: 35px;
font-weight: 300;
color: #fff;
}
.slide-text > p {
line-height: 30px;
font-size: 14pt;
font-weight: 300;
}
.section {
padding-top: 80px;
padding-bottom: 80px;
}
.title {
margin-bottom: 50px;
}
.title h2 {
font-weight: 300;
font-size: 30px;
margin-bottom: 20px;
}
.title h2:after {
content: '';
display: block;
width: 100px;
height: 1px;
background: #dcdcdc;
margin-top: 30px;
}
.title p {
font-size: 15px;
font-weight: 300;
}
.title.center {
text-align: center;
}
.title.center h2:after {
margin-left: auto;
margin-right: auto;
}
.title.center p {
margin-left: auto;
margin-right: auto;
max-width: 770px;
}
.icon-block1 {
text-align: center;
}
.icon-block1 .icon {
font-size: 48px;
width: 100px;
height: 100px;
line-height: 100px;
text-align: center;
position: relative;
z-index: 2;
background: #fff;
border: 1px solid #dcdcdc;
border-radius: 100px;
transition: all .3s ease;
}
.icon-block1-cnt {
margin-top: -51px;
border: 1px solid #dcdcdc;
padding: 70px 30px 30px;
transition: all .3s ease;
}
.icon-block1 h3 {
font-size: 24px;
font-weight: 300;
transition: all .3s ease;
}
.icon-block1 p {
font-size: 13px;
margin-bottom: 22px;
transition: all .3s ease;
}
.button1 {
display: inline-block;
border: 1px solid #dcdcdc;
line-height: 36px;
padding-left: 20px;
padding-right: 20px;
color: #121212;
transition: all .3s ease;
}
.icon-block1:hover .icon {
color: #fff;
border-color: #fff;
box-shadow: 0 0 0 4px #fff;
}
.icon-block1:hover .icon-block1-cnt * {
color: #fff;
}
#why {
padding-bottom: 50px;
}
.login {background: rgba(12, 12, 12, 0.09) !important;}
.login:hover {background: #121212 !important;}
.logged {width:100%;margin-bottom:5px;float:right}
a.login {border: none;
border-radius: 3px;
color: #fff;
line-height: 22px;
height: 40px;
padding: 7px 20px;
font-size: 14px;
font-family: 'Roboto';
cursor: pointer;
transition: all .3s ease;
box-sizing: border-box;}
.section.gray {
background: #fafafa;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
#team {
padding-bottom: 50px;
}
#team .col2 .title {
margin-bottom: 22px;
}
.list-big, .list-big li {
margin: 0;
padding: 0;
overflow: hidden;
list-style: none;
}
.list-big li {
list-style-type: none;
margin-top: 12px;
color: #121212;
font-size: 15px;
transition: color .3s ease;
}
.list-big li a {
color: #121212;
transition: color .3s ease;
}
.list-big li:before {
content: "\f0a9";
display: inline-block;
font-family: FontAwesome;
margin-right: 15px;
}
.skills, .skills li {
margin: 0;
padding: 0;
list-style: none;
}
.skills li {
height: 40px;
line-height: 40px;
color: #fff;
margin-top: 20px;
position: relative;
padding-left: 20px;
}
.skills li:first-child {
margin-top: 0;
}
.skill-line-wrap {
position: absolute;
height: 40px;
width: 100%;
background: #eee;
display: block;
top: 0;
left: 0;
}
.skill-line-wrap > span {
display: block;
height: 40px;
width: 0;
transition: all 1s ease;
}
.skill-line-wrap > span b {
display: block;
float: right;
margin-right: 20px;
font-weight: 400;
font-size: 17px;
}
.skills li h5 {
color: #fff;
font-size: 17px;
position: relative;
z-index: 2;
line-height: 40px;
margin-bottom: 0;
}
.pinf {
position: relative;
width: 25%;
float: left;
background-position: center;
background-size: cover;
overflow: hidden;
}
.pinf:after {
content: '';
display: block;
padding-top: 65%;
}
.pinf > a {
display: block;
position: absolute;
left: 0;
bottom: -62px;
width: 100%;
padding: 20px;
color: #fff;
font-size: 15px;
transition: all .3s ease;
}
.pinf > a .fa {
margin-right: 10px;
}
.pinf:hover > a {
bottom: 0;
}
.partner {text-align: center;}
#blog {
padding-bottom: 50px;
}
.post {
border: 1px solid #dcdcdc;
background: #fafafa;
}
.post a {
transition: all .3s ease;
}
.post-cnt {
padding: 20px;
font-size: 13px;
}
.post-cnt .post-title {
font-size: 16px;
color: #121212;
}
.post-cnt .post-title a {
color: #121212;
}
.post-more {
display: inline-block;
margin-top: 22px;
margin-bottom: 22px;
font-size: 14px;
color: #121212;
}
.post-date-time {
float: left;
margin-right: 10px;
}
.buy-now {
background: #f6f6f6;
padding-top: 50px;
padding-bottom: 50px;
margin-bottom: 80px;
}
.button2 {
display: inline-block;
color: #fff;
line-height: 50px;
padding-left: 30px;
padding-right: 30px;
border-radius: 3px;
}
.buy-now .button2 {
float: right;
transition: all .3s ease;
}
.buy-now .button2:hover {
background: #121212;
}
.buy-now p {
margin-right: 270px;
}
.buy-now p > span {
font-weight: 300;
font-size: 24px;
color: #121212;
display: inline-block;
line-height: 24px;
}
.buy-now p > span > b {
font-weight: 400;
}
.bottom {
font-size: 13px;
}
.bottom a {
text-decoration: underline;
transition: color .3s ease;
}
.bottom a:hover {
color: #121212;
}
.copy {
margin: 22px 0;
}
.soc {
color: #121212 !important;
display: inline-block;
text-align: center;
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 40px;
background: #eee;
font-size: 16px;
margin-right: 2px;
transition: all .3s ease !important;
}
.bottom .col4 > h5 {
margin-top: 17px;
font-size: 18px;
}
.bottom .eTag {
font-size: 13px !important;
display: inline-block;
padding: 0 15px;
line-height: 34px;
text-transform: lowercase;
margin-right: 2px;
margin-bottom: 5px;
text-decoration: none;
color: #a7a7a7;
border-radius: 3px;
transition: all .3s ease;
}
.bottom .eTag:hover {
color: #fff;
}
.bottom-contacts {
line-height: 30px;
}
.list-small, .list-small li {
margin: 0;
padding: 0;
overflow: hidden;
list-style: none;
transition: all .3s ease;
}
.list-small li:before {
content: "\f0a9";
display: inline-block;
font-family: FontAwesome;
margin-right: 10px;
}
.list-small li {
margin: 4px 0;
}
.list-small li:hover {
color: #121212;
}
#go-top {
display: block;
position: fixed;
z-index: 999;
bottom: 80px;
right: 20px;
width: 40px;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #fff;
text-align: center;
border-radius: 3px;
cursor: pointer;
transition: all .3s ease;
}
#go-top:hover {
background: #121212;
}
#gray-line {
height: 3px;
background: #eee;
}
#middle {
padding-top: 80px;
padding-bottom: 80px;
}
#content {
width: 74.358974657%;
}
.photo-list {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
position: relative;
}
.photo-wrap {
padding: 0;
position: relative;
overflow: hidden;
}
.photo-wrap:after {
content: '';
display: block;
padding-top: 65%;
}
.photo-wrap > div {
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
}
.photo-wrap {
margin-bottom: 30px;
margin-right: 2.564102563%;
float: left;
width: 48.717948716%;
}
.photo-wrap:nth-child(2n) {
margin-right: 0 !important;
}
.photo-wrap:nth-child(2n+1) {
clear: left;
}
.cophoto-wrapl2 * {
max-width: 100%;
}
.photo {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
}
.photo > a {
position: absolute;
display: block;
width: 100%;
bottom: -62px;
left: 0;
padding: 20px;
line-height: 22px;
color: #fff;
transition: all .3s ease;
}
.photo > a .fa {
margin-right: 10px;
}
.photo:hover > a {
bottom: 0;
}
.pagesBlockuz1 {
text-align: center;
display: block;
font-family: 'arial' !important;
}
.navigation-holder{
text-align: center;
clear: both;
height: 50px;
margin: 40px 0 40px 0;
}
.navigation{
color:#000;
font-size:16px;
clear:both;
display: inline-block;
text-align: center;
font-family: "PT Sans Bold";
}
.navigation b{
padding-top: 0 !important;
}
.navigation span, .navigation a, .navigation b{
height: 40px;
line-height: 40px;
padding-top: 2px;
vertical-align: middle;
min-width:40px;
font-size:14px;
float:left;
}
.navigation a{
line-height:40px;
color: #121212;
margin-right: 5px;
text-decoration: none;
-webkit-transition:all 0.1s ease;
-moz-transition:all 0.1s ease;
transition: ease 0.1s all;
border: 1px solid #dcdcdc;
border-radius: 3px;
margin-left: 1px;
background: #f6f6f6;
}
.navigation a:hover{
text-decoration:none;
color:#fff;
}
.navigation span {
text-decoration:none;
color:#4563ad;
border:1px solid #4563ad;
}
.nav_ext{
background-color: transparent !important;
color: #202020 !important;
border-color:transparent !important;
}
.next,.prev{
line-height: 40px !important;
}
.next span,.prev span, .navigation span{
margin-right: 5px;
color:#909090;
line-height: 40px !important;
border-radius: 3px;
color:#fff;
}
.next a, .prev a{
text-decoration:none !important;
font-weight: normal;
color: #121212;
}
.next a:hover, .prev a:hover{
}
.e-info .ed-value {margin-right:10px;padding-bottom:20px;}
.e-info {margin-bottom:10px; display:block; }
.e-info .ed-title, .e-info .ed-value {font-size:12px;}
#content .post-wrap {
float: left;
width: 48.717948716%;
margin-bottom: 30px;
margin-right: 2.564102563%;
}
#content .post-wrap:nth-child(2n) {
margin-right: 0 !important;
}
#content .post-wrap:nth-child(2n+1) {
clear: left;
}
.post-wrap * {
max-width: 100%;
}
#sidebar {
width: 21.367521366%;
}
.block {
margin-bottom: 50px;
}
.block > h4, .pheading > h2 {
font-size: 20px;
font-weight: 300;
}
.block > h4:after, .pheading > h2:after {
content: '';
display: block;
width: 200px;
height: 1px;
background: #dcdcdc;
margin-top: 10px;
}
.block ul, .block li, .block .catsTd {
margin: 0;
padding: 0;
overflow: hidden;
}
.block li, .block .catsTd {
list-style: none;
display:block;
padding: 8px 0;
transition: all .3s ease;
}
.block li:before, .block .catsTd:before {
content: "\f0a9";
display: inline-block;
font-family: FontAwesome;
margin-right: 8px;
}
.block li:hover, .block li:hover a, .block .catsTd:hover, .block .catsTd:hover a {
color: #121212;
}
.block li a, .block .catsTd a {
transition: all .3s ease;
}
.block .catNumData {display: none;}
.pollQue, .pollQue b {
font-weight: normal;
font-size: 14px;
color: #121212;
font-family: 'Roboto' !important;
padding-top: 0 !important;
}
.pollAns {
padding-top: 10px;
font-size: 13px !important;
font-family: 'Roboto' !important;
line-height: 34px !important;
}
.pollButton {
margin-top: 15px;
text-align: left;
}
.pollBut {
text-transform: uppercase;
font-size: 13px !important;
}
.pollLnk, .pollTot {display: none;}
.answer input {margin-left: 0;}
.gTable {
background: none;
border-spacing: 0;
}
.gTable td {
padding: 10px 20px;
}
.gTableTop {
line-height: 40px;
padding: 10px 20px !important;
color: #fff;
text-decoration: none;
font-size: 16px !important;
text-transform: uppercase;
font-weight: 400;
letter-spacing: 1px;
}
.gTableTop a {
color: #fff;
text-decoration: none;
font-size: 14px;
}
.gTableSubTop {
padding: 5px 10px;
font-weight: 400;
font-size: 13px;
}
.catLink {
color: #fff !important;
font-size: 15px !important;
text-transform: uppercase;
font-weight: 400;
letter-spacing: 1px;
}
.funcBlock {
padding-right: 10px;
}
.forumIcoTd {
text-align: center;
}
.forumIcoTd,
.forumNameTd,
.forumThreadTd,
.forumPostTd,
.forumLastPostTd {
padding: 5px 10px;
}
.forumThreadTd,
.forumPostTd,
.threadPostTd,
.threadViewTd,
.threadAuthTd,
.threadIcoTd,
.threadNametd,
.threadAuthTd,
.threadLastPostTd
{
vertical-align: middle;
padding-left: 20px;
}
.forumNameTd {
line-height: 24px;
}
.forumNameTd a {
font-size: 16px;
}
.forumNamesBar {
padding-left: 10px !important;
}
.frmBtns {
text-align: right;
padding-right: 10px;
}
.legendTd {
padding: 0 10px;
}
.threadIcoTd,
.threadIcoTd {
text-align: center;
vertical-align: middle;
}
.threadsDetails {
padding: 5px;
}
.postTdTop {
text-align: center;
padding: 5px;
}
.postTdInfo {
text-align: center;
}
.posttdMessage {
vertical-align: top;
padding: 5px;
}
.threadsDetails,
.postTdTop {
background: none;
}
.gTable tr {
background: none;
}
.gDivBottomRight {
height: 50px;
}
.pagesInfo {
padding: 5px 10px;
}
.switchActive {
padding: 5px 10px;
border-radius: 0 2px 2px 0;
color: #fff;
}
.postBottom {
padding: 0 20px !important;
}
#thread_search_form {
position: relative;
padding-bottom: 10px;
overflow: hidden;
}
#thread_search_button {
position: absolute;
top: -1px;
right: 0;
}
.fNavLink {
display: inline-block;
margin-bottom: 30px;
}
#forum_filter {
text-align: right;
padding-bottom: 10px;
}
#forum_filter form {
display: inline-block;
}
#filter_by {
display: inline-block;
line-height: 40px;
}
.forumIcoTd,
.forumNameTd,
.forumThreadTd,
.forumPostTd,
.forumLastPostTd,
.forumThreadTd,
.forumPostTd,
.threadPostTd,
.threadViewTd,
.threadAuthTd,
.threadIcoTd,
.threadNametd,
.threadAuthTd,
.threadLastPostTd,
.postTdTop,
.postBottom
{
border-bottom: 1px solid #dcdcdc;
}
.postTdTop,
.postBottom
{
border-top: 1px solid #dcdcdc;
}
.gTableSubTop,
.pagesInfo
{
background: #f6f6f6;
}
.forumContent a:hover,
.gTableSubTop,
.gTableSubTop a
{
color: #1a1a1a !important;
}
.postTdInfo {border-right: 1px solid #dcdcdc;}
.forumNameTd {color: #a7a7a7;}
.swchItem,
.pgSwch,
#allEntries > div[id^='comEnt']
{
background: #f6f6f6;
}
.calWdaySu,
.calWdaySe
{
background: #7a7a7a !important;
}
.swchItem,
.pgSwch,
.eTitle
{
color: #121212;
}
.calTable td.calMday,
.calMdayA
{
border: 1px solid #dcdcdc;
}
#allEntries > div[id^='comEnt'] {
margin-top: 20px;
margin-bottom: -5px;
padding: 10px;
}
.commTable {
padding-top: 50px;
}
.commTable .commFl,
.commTable .securityCode {
width: 100%;
}
.commTable .securityCode {
width: auto;
}
.calTable {
width: 100%;
line-height: 26px;
border-spacing: 3px;
}
.calTable td {border-radius: 3px;}
.calWday,
.calWdaySu,
.calWdaySe {
color: #fff;
}
.calMdayLink, .calMdayLink a {color: #121212; font-weight: 500;}
.calMdayA {
font-weight: 400;
}
.eTitle {
font-size: 18px;
margin-bottom:10px;
}
.eDetails {
padding: 20px 0;
font-size: 13px;
}
.eBlock {
margin-bottom: 30px;
}
#content img {
max-width: 100%;
}
#selectPhotosBtn {
width: auto !important;
height: auto !important;
cursor: pointer;
}
.pLeft {
float: center;
width: 54.022988504%;
}
.pLeft * {
max-width: 100%;
}
.pLeft > img.pUrl {
margin-bottom: 10px !important;
}
a.pZoom {
text-transform: uppercase;
color: #121212;
}
a.pZoom .fa {
margin-right: 5px;
}
.pRight {
margin-left: 57.471264366%;
}
.pTitle {
font-weight: 300;
font-size: 24px;
color: #121212;
margin-bottom: 22px;
}
.pDescr {
margin-bottom: 30px;
}
.pInfo, .pInfo li {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
}
.pInfo li {
padding-top: 7px;
padding-bottom: 7px;
border-bottom: 1px dotted #dcdcdc;
}
.pInfo li b {
font-weight: 400;
color: #121212;
display: inline-block;
width: 110px;
}
.pInfo li b:after {
content: ':';
}
.otherPhotos {
margin-top: 50px;
position: relative;
}
.photo-slider table {
width: 100%;
}
.ph-tc {
width: 100% !important;
display: block !important;
}
#oldPhotos {
margin-left: -14px !important;
margin-right: -14px !important;
}
.animate-wrap a {
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
}
#phtOtherThumbs {
position: relative;
}
.leftSwitcher {
position: absolute;
top: -54px;
right: 24px;
}
.rightSwitcher {
position: absolute;
top: -54px;
right: -4px;
}
.f_input, .f_textarea {width:100%;}
.tableform, .tableform select {width:100%;}
.reset, .reset li {
list-style: none;
padding: 0;
margin: 0;
}
.lcol {
float: left;
}
.rcol {
float: right;
}
.pm select {
width: 190px;
}
/*---Userinfo---*/
.userinfo {
padding-left: 125px;
}
.ui-dialog-content .userinfo {
padding: 10px 0 10px 125px;
}
.userinfo .lcol {
margin-left: -125px;
width: 110px;
padding-right: 15px;
}
.userinfo .lcol .avatar {
margin-bottom: 10px;
padding: 4px;
background-color: #fff;
border: 1px solid #c0d4de;
}
.userinfo .lcol .avatar img {
width: 100px;
}
.userinfo .lcol ul {
font-size: 0.9em;
}
.userinfo .rcol {
width: 100%;
}
.userinfo .rcol ul {
list-style: none;
margin-left: 0;
}
.userinfo .rcol ul li {
margin-bottom: 0.2em;
}
.ussep {
padding-top: 12px;
background: url("../images/ussep.png") no-repeat;
}
.grey {
color: #6c838e;
}
.blue {
color: #388bd4;
}
/*-COMMENTS_VIEW
--------------------------------------*/
.uComment {margin: 10px 0;}
.uComment.cBlock1, .uComment.cBlock2 {border: 0; background: none;}
.uc-avatar {float: left;width: 50px;}
.uc-avatar img {
vertical-align: middle;
width: 50px;
border-radius: 4px;
}
.uc-content {
margin: 0 0 0 65px;
}
.uc-top {}
.uc-top img {vertical-align: middle;}
.uc-top-right {
float: right;
white-space: nowrap;
}
.uc-top-left img, .uc-top-left a, .uc-top-left span {vertical-align: middle;}
a.uc-profile-link {}
.uc-message {margin: 8px 0; padding: 0;}
.uc-answer {}
.uc-answer-link {margin: 5px 0 0;text-align: right;font-size: 8pt;}
.uc-opacity {opacity: .6;filter: alpha(opacity = 60);}
/* MEDIA QUERIES ------------------------- */
/* width > 1200px ------------------------ */
@media (min-width: 1200px) {
#nav {
float: right;
display: block;
}
#nav .uMenuRoot, #nav .uMenuRoot > li {
margin: 0;
padding: 0;
position: relative;
}
#nav .uMenuRoot > li {
float: left;
list-style: none;
font-size: 13px;
line-height: 13px;
text-transform: uppercase;
margin-right: 48px;
}
#nav .uMenuRoot > li > a {
display: block;
padding-top: 41px;
padding-bottom: 41px;
transition: color .3s ease;
}
#nav .uMenuRoot > li a:hover, #nav .uMenuRoot > li a.uMenuItemA {
color: #121212;
}
#nav .uMenuRoot > li.uWithSubmenu > a > span .fa {
margin-left: 7px;
}
#nav .uMenuRoot > li ul, #nav .uMenuRoot > li ul li {
position: relative;
margin: 0;
padding: 0;
list-style: none;
text-transform: none;
}
#nav .uMenuRoot > li ul {
display: block;
position: absolute;
top: 150px;
left: -99999px;
opacity: 0;
width: 230px;
background: #fafafa;
transition: top .3s ease, opacity .5s ease;
}
#nav .uMenuRoot > li > ul li ul {
top: 50px !important;
}
#nav .uMenuRoot > li:hover > ul {
left: -24px;
top: 96px;
opacity: 1;
}
#nav .uMenuRoot > li > ul li:hover > ul {
left: 230px;
top: -1px !important;
opacity: 1;
}
#nav .uMenuRoot > li:hover a {
color: #121212;
}
#nav .uMenuRoot > li ul li {
border-bottom: 1px solid #e0e0e0;
}
#nav .uMenuRoot > li ul li > a {
display: block;
padding: 14px 24px;
color: #121212;
transition: all .3s ease;
}
#nav .uMenuRoot > li ul li > a:hover, #nav .uMenuRoot > li ul li:hover > a {
background: #f6f6f6;
padding-left: 30px;
}
#nav .uMenuRoot > li ul li > a .fa {
float: right;
}
#nav .uWithSubmenu > li ul li ul {
top: -1px;
left: 230px;
border-top: 1px solid #e0e0e0;
border-left: 1px solid #e0e0e0;
}
.menu-icon {
display: none;
}
}
/* width < 1200px ------------------------ */
@media (max-width: 750px) {
.slide-text {margin-top:30px;}
}
@media (max-width: 1199px) {
.cnt {
width: 100%;
padding-left: 70px;
padding-right: 70px;
box-sizing: border-box;
}
#nav {
float: none;
position: absolute;
top: 96px;
left: 0;
width: 100%;
box-sizing: border-box;
padding-left: 70px;
padding-right: 70px;
display: none;
}
#nav .uMenuRoot {
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
background: #f2f2f2;
}
#nav ul, #nav li {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
}
#nav a {
display: block;
padding-top: 10px;
padding-bottom: 10px;
color: #121212;
border-bottom: 1px solid #dcdcdc;
padding-left: 20px;
padding-right: 20px;
transition: all .3s ease;
}
#nav .uMenuRoot > li > a {
text-transform: uppercase;
}
#nav ul ul a {padding-left: 40px;}
#nav ul ul ul a {padding-left: 60px;}
#nav ul ul ul ul a {padding-left: 80px;}
#nav .fa {
display: none;
}
#nav a:hover {
background: #fafafa;
}
.top-photo {
width: 60px;
height: 60px;
}
.slide-text > p {
line-height: 24px;
}
.pinf {
width: 50%;
}
#slider-wrapper .slider-button-prev,
#slider-wrapper .slider-button-next,
#slider-wrapper:hover .slider-button-prev,
#slider-wrapper:hover .slider-button-next {
left: auto;
top: auto;
right: 10px;
bottom: 10px;
margin-top: 0;
opacity: 1;
width: 40px;
height: 40px;
line-height: 40px;
}
#slider-wrapper .slider-button-prev,
#slider-wrapper:hover .slider-button-prev {
right: 60px;
}
}
/* width < 1024px ------------------------ */
@media (max-width: 1024px) {
#slider-wrapper, .slider, .slide {
height: 350px;
}
.slide-text {
margin-left: 0;
}
.slide-image {
display: none;
}
.col2 {
width: 100%;
margin-right: 0;
margin-bottom: 50px;
}
.title p {
width: auto;
max-width: 100%;
}
.col4 {
width: 48.717948716%;
}
.col4:nth-child(2n) {
margin-right: 0;
}
.col4:nth-child(2n+1) {
clear: left;
}
#content, #sidebar {
float: none !important;
width: 100%;
}
#content {
margin-bottom: 80px;
}
.block {
float: left;
width: 48.717948716%;
margin-right: 2.564102563%;
}
.block:nth-child(2n) {
margin-right: 0;
}
.block:nth-child(2n+1) {
clear: left;
}
}
/* width < 790px ------------------------ */
@media (max-width: 790px) {
.col3 {
margin-right: 0;
width: 100%;
}
.buy-now {
text-align: center;
}
.buy-now .button2 {
float: none;
margin-bottom: 30px;
}
.buy-now p {
margin-right: 0;
}
.photo-wrap {
float: none;
margin-right: 0;
width: 100%;
}
.gTableSubTop,
.forumIcoTd,
.forumThreadTd,
.forumPostTd,
.forumLastPostTd,
.threadIcoTd,
.threadAuthTd,
.threadLastPostTd,
.threadPostTd,
.threadViewTd,
.threadsDetails,
.forumOnlineBar,
.legendBlock,
.userRights,
.fFastNavTd,
.fFastSearchTd,
.forumNamesBar,
#forum_filter,
.postTdInfo,
.postBottom,
#thread_search_form
{
display: none;
}
.gDivLeft {
padding-top: 10px;
}
.postTdTop, .postTable, .posttdMessage {
display: block !important;
text-align: left;
width: auto !important;
}
.postUser {
font-size: 16px;
font-weight: 600;
}
.pLeft {
float: none;
margin-bottom: 30px;
width: 100%;
}
.pRight {
margin-left: 0;
}
}
/* width < 500px ------------------------ */
@media (max-width: 500px) {
.cnt, #nav {
padding-left: 20px;
padding-right: 20px;
}
.col2, .col3, .col4, .block, #content .post-wrap {
float: none;
}
.col4, .block, #content .post-wrap {
margin-right: 0;
width: 100%;
}
#slider-wrapper, .slider, .slide {
height: 400px;
}
.pinf {
width: 100%;
}
}
@media (max-width: 360px) {
#logo {width:220px;}
}
За ранее большое спасибо.