вопрос
вот первый скрин
если информация в блоке заполнена по ширине то правый блок не западает
проверял main.tpl менять на старый, дело не в нём.
дело в ксс.
вот измененный ксс после чего стал западать блок
вот старый в котором блок не западает
если информация в блоке заполнена по ширине то правый блок не западает
проверял main.tpl менять на старый, дело не в нём.
дело в ксс.
вот измененный ксс после чего стал западать блок
@import url(http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,cyrillic);
@import url(http://fonts.googleapis.com/css?family=Roboto:300&subset=latin,cyrillic);
html,body,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
margin: 0;
padding: 0;
}
body, html {
color:#000;
font-family: 'Roboto', sans-serif;
font-size: 17px;
}
/*общее*/
input, button, textarea {
font-family:'Roboto Condensed', sans-serif;
}
h2 {
font-weight:normal;
padding: 0px;
margin: 0px;
}
table {
border:0;
padding:0;
border-collapse:collapse;
border-spacing: 0px;
}
td {
vertical-align:top;
padding:0;
}
a {
color:#477cae;
text-decoration: none;
}
a:hover {
color: #294f74;
}
a img {
border: 0 none;
}
ul,li {
list-style: none;
padding: 0px;
margin: 0px;
}
.tableform {
width: 100%;
}
.tableform td {
padding: 5px 0px;
}
.label {
padding-bottom: 5px;
width: 25%;
}
li.lfield {
margin-bottom: 5px;
}
li.lfield input {
width: 95%;
}
li.login_av {
text-align:center;
}
li.loginbtn {
text-align:center;
}
li.lpasres {
text-align:right;
margin-bottom: 10px;
}
li.lbotooms {
text-align:right;
}
li.marginli {
margin: 10px 0px;
}
.clr {
clear:both;
display:block;
}
.spacer {
padding: 7px;
}
.f_input, .f_textarea, .s_input, .textin, .lp_input {
height: 25px;
border: 1px #e7e7e7 solid;
background-color: #fff;
padding: 0px 10px;
font-size:12px;
color:#8d8d8d;
width: 90%;
line-height: 25px;
}
.f_input:focus, .f_textarea:focus, .lp_input:focus {
color: #8d8d8d;
background-color: #f3f3f3;
}
.textin {
margin: 2px 2px;
}
.f_textarea {
height: auto;
padding: 0px;
}
.lp_input {
width: 250px;
}
.checkbox {
margin: 3px 0px;
}
.fieldsubmit {
margin-top: 10px;
text-align:right;
}
.vote {
margin-bottom: 5px;
}
h4.pull_title, h4.vote_title {
margin-bottom: 10px;
font-size: 13px;
display:block;
background:#f1f1f1;
color:#9f9f9f;
padding: 10px;
font-weight:normal;
}
.vote_all {
background:none;
border: 0px;
font-size: 12px;
color:#d3d3d3;
font-style:italic;
cursor:pointer;
}
.left {
float:left;
}
.right {
float:right;
}
.top_banner {
background: #fff;
padding: 10px 0px;
}
.top_banner_in {
min-width: 1010px;
max-width: 1280px;
margin: 0 auto;
}
#wrapper {
min-width: 1010px;
max-width: 1280px;
margin: 0 auto 30px auto;
}
.head {
position:relative;
height: 30px;
}
.logo {
font-size: 55px;
color:#fff;
position:absolute;
top: 20px;
left: 0px;
}
.logo span {
color:#38628c;
font-size: 30px;
}
.posts {
position:absolute;
left:-1950px;
}
.soc_links {
background:url(../images/soc_bg.png);
width: 285px;
height: 87px;
right: 0px;
top: 20px;
position: absolute;
}
.sc_menu_l {
background:url(../images/soc_li_bg.png) no-repeat 0% 0%;
height: 23px;
padding-left: 4px;
width: 170px;
position:absolute;
top: 32px;
left: 65px;
}
.sc_menu_r {
background:url(../images/soc_li_bg.png) no-repeat 100% 100%;
padding-right: 4px;
}
.sc_menu_r ul {
height: 23px;
font-family:"Arial", Gadget, sans-serif;
}
.sc_menu_r ul li {
display:inline;
float:left;
margin-right: 15px;
}
.sc_menu_r ul li.no_margin {
margin-right: 0px;
}
.sc_menu_r ul li a {
display:block;
height: 23px;
line-height: 23px;
float:left;
font-weight:bold;
font-size: 24px;
color:#5085a5;
}
.sc_menu_r ul li a:hover {
color:#38628c;
}
/*speedbar*/
.speedbar {
font-size: 12px;
position:absolute;
top: 80px;
color:#38628c;
}
.speedbar a {
color:#f6f6f6;
}
/*cont main*/
.content {
position:relative;
background: #fff;
border: 1px #599fb2 solid;
border-top: 4px #599fb2 solid;
-webkit-box-shadow: inset 0px 0px 8px 0px #b6b6b6;
-moz-box-shadow: inset 0px 0px 8px 0px #b6b6b6;
box-shadow: inset 0px 0px 8px 0px #b6b6b6;
padding: 10px;
}
}
/* main table */
.main_table {
width: 100%;
}
.colum_left {
width: 255px;
padding-right: 5px;
}
.colum_center {
padding: 0px 20px;
}
.colum_right {
padding: 10px 5px 5px 5px;
background:url(../images/bg_side.png);
border: 1px #e7e7e7 solid;
width: 217px;
}
/* searxh*/
.search_input {
width: 95%;
position:relative;
top: -30px;
height: 35px;
line-height: 35px;
padding-left: 35px;
font-size: 14px;
background:url(../images/search_icon.png) #fff no-repeat 10px 10px;
color:#c9c9c9;
border: 1px #d6d7d7 solid;
-webkit-box-shadow: 0px 0px 5px 0px #cccccc;
-moz-box-shadow: 0px 0px 5px 0px #cccccc;
box-shadow: 0px 0px 5px 0px #cccccc;
}
.search_input:focus {
color:#8f8f8f;
}
/*RightMenu*/
#slidemenu {
width: 255px;
margin-bottom:50px;
}
#slidemenu li {
margin-bottom: 10px;
}
#slidemenu li {
background: #fff;
display:block;
padding: 1px;
width: 254px;
height: 34px;
border: 1px #e4e4e4 solid;
-webkit-box-shadow: 0px 0px 5px 0px #d8d8d8;
-moz-box-shadow: 0px 0px 5px 0px #d8d8d8;
box-shadow: 0px 0px 5px 0px #d8d8d8;
}
#slidemenu li a span img, #slidemenu li.selected span.sublnk img, #slidemenu li span.sublnk img {
vertical-align:middle;
margin-right: 10px;
}
#slidemenu li a, #slidemenu li span.sub_block {
background:url(../images/menu_a.png) 100% 100%;
height: 34px;
width: 254px;
display: block;
cursor: pointer;
}
#slidemenu li:hover a, #slidemenu li:hover span.sub_block, #slidemenu li.selected span.sub_block {
background-position: 100% 0%;
}
#slidemenu li:hover, #slidemenu li.selected {
-webkit-box-shadow: 0px 0px 5px 0px #d0eefc;
-moz-box-shadow: 0px 0px 5px 0px #d0eefc;
box-shadow: 0px 0px 5px 0px #d0eefc;
border: 1px #d0eefc solid;
}
#slidemenu li a span, #slidemenu li span.sub_block span.sub_block_in, #slidemenu li span.sublnk {
color:#000;
width: 254px;
height: 34px;
font-weight:bold;
line-height: 34px;
text-shadow: 0px 1px 1px #ffffff;
display:block;
font-size: 16px;
font-family: 'Open+Sans', sans-serif;
background:url(../images/menu_glow.png);
}
#slidemenu li span.sublnk {
background: url(../images/menu_str.png) no-repeat 97% 0%;
display:block;
}
#slidemenu li.selected span.sublnk {
background-position: 97% 100%;
}
#slidemenu li.submenu {
overflow: hidden;
background: none;
width: 255px;
height: auto;
border: none;
-webkit-box-shadow: 0px 0px 0px 0px;
-moz-box-shadow: 0px 0px 0px 0px;
box-shadow: 0px 0px 0px 0px;
}
#slidemenu li.submenu ul {
overflow: hidden;
width: 255px;
background-color: #f0f0f0;
list-style: none;
}
#slidemenu li.submenu ul li {
background: none;
margin-bottom: 0px;
width: 255px;
height:auto;
border: none;
-webkit-box-shadow: 0px 0px 0px 0px;
-moz-box-shadow: 0px 0px 0px 0px;
box-shadow: 0px 0px 0px 0px;
}
#slidemenu li.submenu ul li a {
border: 0 none;
padding: 5px 7px;
font-size: 11px;
line-height: normal;
color:#8a8a8a;
background:none;
height:auto;
}
#slidemenu li.submenu ul li a:hover {
background: #e9e9e9;
color:#38628c;
}
#slidemenu li.menu_line {
background:url(../images/menu_line.png);
width: 253px;
height: 24px;
display:block;
-webkit-box-shadow: 0px 0px 0px 0px;
-moz-box-shadow: 0px 0px 0px 0px;
box-shadow: 0px 0px 0px 0px;
border: 0px;
margin-bottom: 0px;
}
/*news*/
.news, .navigation {
background: #fff;
padding: 10px;
border: 1px #ededed solid;
margin-bottom: 10px;
cursor: pointer;
}
.news:hover {
-webkit-box-shadow: 0px 0px 8px 0px #dddddd;
-moz-box-shadow: 0px 0px 8px 0px #dddddd;
box-shadow: 0px 0px 8px 0px #dddddd;
}
.n_text {
line-height: 41px;
margin-bottom: 15px;
}
.n_text img, .n_text a img {
margin: 20px 50px 30px 50px;
width: 250px;
z-index: 5;
}
}
.news h2 {
color: #4f769b;
}
.n_oth {
color:#b3b3b3;
font-size: 11px;
margin-bottom: 20px;
}
.n_oth span, .n_oth span a {
color:#68b3c8;
}
.n_oth span {
padding-right: 5px;
}
.n_more {
float:right;
text-align:right;
clear:both;
margin-bottom: 60px;
}
.n_more a, .n_more {
color:#bbbbbb;
font-size: 11px;
font-style:italic;
}
.block {
margin-bottom: 20px;
}
.block_title {
background: #fff;
-webkit-box-shadow: 0px 0px 5px 0px #d5d5d5;
-moz-box-shadow: 0px 0px 5px 0px #d5d5d5;
box-shadow: 0px 0px 5px 0px #d5d5d5;
padding: 5px;
position:relative;
font-size: 15px;
color:#000;
margin-bottom: 10px;
font-weight:bold;
}
.block_cont {
border: 1px #ededed solid;
padding: 5px;
background: #fff;
font-size: 12px;
}
.block_cont a {
color: #599fb2;
}
.block_cont a:hover {
color:#5584b2;
}
.block_left {
margin-bottom: 30px;
}
.bl_title {
font-size: 18px;
color:#4f769b;
margin-bottom: 15px;
}
.bl_title span {
color:#c3c3c3;
}
.bl_cont {
font-size: 11px;
}
/*стили главного контента*/
.cont_in {
margin-bottom: 20px;
}
.cont_title {
margin-bottom: 20px;
}
.cont_title h1, .cont_title h2, .cont_title {
font-size: 22px;
color:#4f769b;
font-weight:normal;
}
.ci_inblock {
padding: 10px 0px;
border-bottom: 1px #dfdfdf dashed;
border-top: 1px #dfdfdf dashed;
margin-bottom: 20px;
}
.ci_b_edit {
background: #ebffeb;
padding: 10px;
}
.ci_b_edit span {
color:#68b3c8;
}
/*comments*/
.masdg {
border: 1px #ededed solid;
padding: 10px 10px 50px 10px;
background: #f4f4f4;
position:relative;
margin-bottom: 20px;
}
.msg_av {
width: 60px;
font-size: 11px;
}
.msg_av img, .msg_av a img {
border: 5px #fff solid;
width: 60px;
}
.msg_text {
margin-left: 80px;
}
.msg_more {
margin-bottom: 10px;
color:#5aa0b3;
}
.msg_more span {
font-size: 11px;
color:#ababab;
}
.msg_date {
color:#ababab;
margin-top: 10px;
font-size: 11px;
}
ul.opt_links {
height: 20px;
position:absolute;
right: 10px;
bottom: 10px;
}
ul.opt_links li {
display: inline;
float:left;
margin-left: 5px;
}
ul.opt_links li a {
display:block;
float:left;
padding: 0px 10px;
height: 22px;
line-height: 22px;
color:#a0a0a0;
background: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
ul.opt_links li a:hover {
background: #efefef;
color:#8e8e8e;
}
ul.opt_links li.activ a {
color: #fff;
background: #68b3c8;
}
ul.opt_links li.activ a:hover {
background: #529bb0;
}
.mass_ac {
position:absolute;
top: 5px;
right: 5px;
}
/*login block*/
.lb_av {
position:absolute;
top: -5px;
left: 5px;
width: 40px;
-webkit-box-shadow: 0px 0px 5px 0px #d5d5d5;
-moz-box-shadow: 0px 0px 5px 0px #d5d5d5;
box-shadow: 0px 0px 5px 0px #d5d5d5;
height: 40px;
overflow:hidden;
}
.lb_av img, .lb_av a img {
width: 40px;
}
.lp_title {
padding-left: 55px;
}
/*forum_last*/
.forum_last {
width: 100%;
}
.forum_last tr td {
padding: 5px 0px;
border-bottom: 1px #c9c9c9 dashed;
}
.forum_last tr td.fl_avtor {
text-align:right;
}
.forum_last tr td.fl_avtor a {
color:#a4a4a4;
}
/*footer*/
.footer {
background:#2d2d2d;
padding: 10px;
position:relative;
text-align:center;
color:#fff;
font-size: 12px;
}
.footer a {
color:#fff;
}
.wrapper {
color: #fff;
font-size: 16px;
width: 940px;
margin: 0 auto;
position: relative;
} }
a.f_top_bt {
background: url(../images/bt_top.png) #478ea1 no-repeat 90px 5px;
padding: 6px 20px 6px 5px;
width: 90px;
position: absolute;
right: 10px;
top: 10px;
color:#1c4f5d;
font-size: 16px;
display: block;
}
a.f_top_bt:hover {
-webkit-box-shadow: 0px 0px 3px 0px #276474;
-moz-box-shadow: 0px 0px 3px 0px #276474;
box-shadow: 0px 0px 3px 0px #276474;
text-decoration:none;
}
.f_stats {
position: absolute;
left: 10px;
top: 10px;
}
/*info*/
.info_block {
background:url(../images/info_pict.png) no-repeat left;
padding-left: 40px;
}
/*переклдючатель старниц*/
.navigation {
cursor:auto;
font-size: 16px;
text-align:center;
padding: 5px 10px;
}
.navigation span {
color:#b4b4b4;
}
.navigation a {
color:#38628c;
}
/*популярные новости*/
ul.top_news li a {
display:block;
color: #599fb2;
padding: 5px 0px;
}
ul.top_news li a:hover {
color:#5584b2;
}
ul.stats_page {
margin-bottom: 15px;
}
ul.stats_page li {
margin-bottom: 10px;
}
.sp_title {
font-weight:bold;
font-size:12px;
color: #477caf;
margin-bottom: 15px;
border-bottom: 1px #dedede dashed;
padding-bottom: 5px;
}
.sp_numb {
color: #477caf;
}
/*профильм пользователя*/
.uinf_lcol {
float:left;
width: 123px;
text-align:center;
}
.uinf_lcol img, .uinf_lcol a img {
max-width: 123px;
margin-bottom: 5px;
}
.uinf_rcol {
margin-left: 140px;
}
ul.uinf_ussep {
margin-bottom: 5px;
}
ul.uinf_ussep li {
margin-bottom: 5px;
}
.ui_lcol {
float:left;
width: 120px;
}
.ui_avatar img, .ui_avatar a img {
width: 100px;
}
.lp_info {
margin-left: 75px;
}
.lp_info ul li {
margin-bottom: 5px;
}
.lp_info ul li a {
color:#575757;
}
.lp_info ul li a:hover {
color:#33618b;
}
.lp_av {
width: 60px;
height: 75px;
overflow:hidden;
}
.lp_av img, .lp_av a img {
min-width: 60px;
min-height: 75px;
}
ul.lp_menu {
margin-bottom: 20px;
}
ul.lp_menu li a {
color:#999999;
display:block;
padding: 5px;
}
ul.lp_menu li:hover a {
color:#6b6b6b;
}
ul.lp_login {
margin-bottom: 20px;
}
ul.lp_login li {
margin-bottom: 5px;
}
.lp_checkbox {
font-size: 11px;
color:#999;
margin-bottom: 10px;
text-align:right;
}
.login_bt {
background:url(../images/green_bg.png);
height: 34px;
line-height: 34px;
padding: 0px 10px;
color:#fff;
font-size: 20px;
border: 0px;
cursor: pointer;
}
.login_bt:hover {
background: #a1ca49;
}
.lp_checkbox {
padding-top: 10px;
}
.hidden {
display: none;
}
.user-actions {
margin: 10px 0 0 200px;
width: 400px;
}
.user-actions p {
border: 1px solid #999999;
padding: 10px;
}
.user-actions p.bug a {
color: red;
}
.user-actions p.reference a {
color: green;
}
.user-actions a {
text-decoration: none;
border-bottom: 1px dashed;
}
/* Главное меню */
#menu
{
width: 99%;
margin:0 auto;
padding: 10px 0 0 0;
list-style: none;
background: #fff;
border-radius: 0px;
border-style:solid;
border-color:#000;
}
#menu li
{
float: left;
padding: 0 0 10px 0;
position: relative;
}
#menu a
{
float: left;
height: 25px;
padding: 0 25px;
color: #000;
text-transform: uppercase;
font: bold 12px/25px Arial, Helvetica;
text-decoration: none;
text-shadow: 0 1px 0 #000;
}
#menu li:hover > a
{
color: #000;
}
*html #menu li a:hover /* IE6 */
{
color: #000;
}
#menu li:hover > ul
{
display: block;
}
/* Подменю */
#menu ul
{
list-style: none;
margin: 0;
padding: 0;
display: none;
position: absolute;
top: 35px;
left: 0;
z-index: 99999;
-moz-border-radius: 5px;
border-radius: 5px;
}
#menu ul li
{
float: none;
margin: 0;
padding: 0;
display: block;
-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
-webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}
#menu ul li:last-child
{
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
#menu ul a
{
padding: 10px;
height: auto;
line-height: 1;
display: block;
white-space: nowrap;
float: none;
text-transform: none;
}
*html #menu ul a /* IE6 */
{
height: 10px;
width: 150px;
}
*:first-child+html #menu ul a /* IE7 */
{
height: 10px;
width: 150px;
}
#menu ul a:hover
{
background: #000;
background: -moz-linear-gradient(#04acec, #0186ba);
background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
background: -webkit-linear-gradient(#04acec, #0186ba);
background: -o-linear-gradient(#04acec, #0186ba);
background: -ms-linear-gradient(#04acec, #0186ba);
background: linear-gradient(#04acec, #0186ba);
}
#menu ul li:first-child a
{
-moz-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
}
#menu ul li:first-child a:after
{
content: '';
position: absolute;
left: 30px;
top: -8px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 8px solid #444;
}
#menu ul li:first-child a:hover:after
{
border-bottom-color: #000;
}
#menu ul li:last-child a
{
-moz-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
}
#menu:after
{
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
* html #menu { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */
.short-news {
overflow: hidden;
border-bottom: 1px solid #e4e4e4;
margin-bottom: 15px;
padding-bottom: 15px;
}
.nshort img {
width: 300px;
border: 2px solid #ececec;
float: left;
margin: 0 5px 0 0;
width: expression(this.scrollWidth > 149 ? "150px" : "auto")
.shrift1 { !important;
font-family: 'Roboto Condensed', sans-serif;
font-size: 2.3em;
line-height: 1.1em;
}
вот старый в котором блок не западает
html,body,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
margin: 0;
padding: 0;
}
body, html {
background:url(../images/bg.png);
color:#6b6b6b;
font-size:13px;
font-family:"Century Gothic", verdana, sans-serif;
}
/*общее*/
input, button, textarea {
font-family:"Century Gothic", verdana, sans-serif;
}
h2 {
font-weight:normal;
padding: 0px;
margin: 0px;
}
table {
border:0;
padding:0;
border-collapse:collapse;
border-spacing: 0px;
}
td {
vertical-align:top;
padding:0;
}
a {
color:#477cae;
text-decoration: none;
}
a:hover {
color: #294f74;
}
a img {
border: 0 none;
}
ul,li {
list-style: none;
padding: 0px;
margin: 0px;
}
.tableform {
width: 100%;
}
.tableform td {
padding: 5px 0px;
}
.label {
padding-bottom: 5px;
width: 25%;
}
li.lfield {
margin-bottom: 5px;
}
li.lfield input {
width: 95%;
}
li.login_av {
text-align:center;
}
li.loginbtn {
text-align:center;
}
li.lpasres {
text-align:right;
margin-bottom: 10px;
}
li.lbotooms {
text-align:right;
}
li.marginli {
margin: 10px 0px;
}
.clr {
clear:both;
display:block;
}
.spacer {
padding: 7px;
}
.f_input, .f_textarea, .s_input, .textin, .lp_input {
height: 25px;
border: 1px #e7e7e7 solid;
background-color: #fff;
padding: 0px 10px;
font-size:12px;
color:#8d8d8d;
width: 90%;
line-height: 25px;
}
.f_input:focus, .f_textarea:focus, .lp_input:focus {
color: #8d8d8d;
background-color: #f3f3f3;
}
.textin {
margin: 2px 2px;
}
.f_textarea {
height: auto;
padding: 0px;
}
.lp_input {
width: 225px;
}
.checkbox {
margin: 3px 0px;
}
.fieldsubmit {
margin-top: 10px;
text-align:right;
}
.vote {
margin-bottom: 5px;
}
h4.pull_title, h4.vote_title {
margin-bottom: 10px;
font-size: 13px;
display:block;
background:#f1f1f1;
color:#9f9f9f;
padding: 10px;
font-weight:normal;
}
.vote_all {
background:none;
border: 0px;
font-size: 12px;
color:#d3d3d3;
font-style:italic;
cursor:pointer;
}
.left {
float:left;
}
.right {
float:right;
}
.top_banner {
background: #fff;
padding: 10px 0px;
}
.top_banner_in {
min-width: 1010px;
max-width: 1280px;
margin: 0 auto;
}
#wrapper {
min-width: 1010px;
max-width: 1280px;
margin: 0 auto 30px auto;
}
.head {
position:relative;
height: 135px;
}
.logo {
font-size: 55px;
color:#fff;
position:absolute;
top: 20px;
left: 0px;
}
.logo span {
color:#38628c;
font-size: 30px;
}
.posts {
position:absolute;
left:-1950px;
}
.soc_links {
background:url(../images/soc_bg.png);
width: 285px;
height: 87px;
right: 0px;
top: 20px;
position: absolute;
}
.sc_menu_l {
background:url(../images/soc_li_bg.png) no-repeat 0% 0%;
height: 23px;
padding-left: 4px;
width: 170px;
position:absolute;
top: 32px;
left: 65px;
}
.sc_menu_r {
background:url(../images/soc_li_bg.png) no-repeat 100% 100%;
padding-right: 4px;
}
.sc_menu_r ul {
height: 23px;
font-family:"Arial", Gadget, sans-serif;
}
.sc_menu_r ul li {
display:inline;
float:left;
margin-right: 15px;
}
.sc_menu_r ul li.no_margin {
margin-right: 0px;
}
.sc_menu_r ul li a {
display:block;
height: 23px;
line-height: 23px;
float:left;
font-weight:bold;
font-size: 24px;
color:#5085a5;
}
.sc_menu_r ul li a:hover {
color:#38628c;
}
/*speedbar*/
.speedbar {
font-size: 12px;
position:absolute;
top: 80px;
color:#38628c;
}
.speedbar a {
color:#f6f6f6;
}
/*cont main*/
.content {
position:relative;
background: #fff;
border: 1px #599fb2 solid;
border-top: 4px #599fb2 solid;
-webkit-box-shadow: inset 0px 0px 8px 0px #b6b6b6;
-moz-box-shadow: inset 0px 0px 8px 0px #b6b6b6;
box-shadow: inset 0px 0px 8px 0px #b6b6b6;
padding: 10px;
}
/* main table */
.main_table {
width: 100%;
}
.colum_left {
width: 255px;
padding-right: 5px;
}
.colum_center {
padding: 0px 20px;
}
.colum_right {
padding: 10px 5px 5px 5px;
background:url(../images/bg_side.png);
border: 1px #e7e7e7 solid;
width: 217px;
}
/* searxh*/
.search_input {
width: 95%;
position:relative;
top: -30px;
height: 35px;
line-height: 35px;
padding-left: 35px;
font-size: 14px;
background:url(../images/search_icon.png) #fff no-repeat 10px 10px;
color:#c9c9c9;
border: 1px #d6d7d7 solid;
-webkit-box-shadow: 0px 0px 5px 0px #cccccc;
-moz-box-shadow: 0px 0px 5px 0px #cccccc;
box-shadow: 0px 0px 5px 0px #cccccc;
}
.search_input:focus {
color:#8f8f8f;
}
/*RightMenu*/
#slidemenu {
width: 255px;
margin-bottom:50px;
}
#slidemenu li {
margin-bottom: 10px;
}
#slidemenu li {
background: #fff;
display:block;
padding: 1px;
width: 254px;
height: 34px;
border: 1px #e4e4e4 solid;
-webkit-box-shadow: 0px 0px 5px 0px #d8d8d8;
-moz-box-shadow: 0px 0px 5px 0px #d8d8d8;
box-shadow: 0px 0px 5px 0px #d8d8d8;
}
#slidemenu li a span img, #slidemenu li.selected span.sublnk img, #slidemenu li span.sublnk img {
vertical-align:middle;
margin-right: 10px;
}
#slidemenu li a, #slidemenu li span.sub_block {
background:url(../images/menu_a.png) 100% 100%;
height: 34px;
width: 254px;
display: block;
cursor: pointer;
}
#slidemenu li:hover a, #slidemenu li:hover span.sub_block, #slidemenu li.selected span.sub_block {
background-position: 100% 0%;
}
#slidemenu li:hover, #slidemenu li.selected {
-webkit-box-shadow: 0px 0px 5px 0px #d0eefc;
-moz-box-shadow: 0px 0px 5px 0px #d0eefc;
box-shadow: 0px 0px 5px 0px #d0eefc;
border: 1px #d0eefc solid;
}
#slidemenu li a span, #slidemenu li span.sub_block span.sub_block_in, #slidemenu li span.sublnk {
color:#38628c;
width: 254px;
height: 34px;
font-weight:bold;
line-height: 34px;
text-shadow: 0px 1px 1px #ffffff;
display:block;
font-size: 16px;
background:url(../images/menu_glow.png);
}
#slidemenu li span.sublnk {
background: url(../images/menu_str.png) no-repeat 97% 0%;
display:block;
}
#slidemenu li.selected span.sublnk {
background-position: 97% 100%;
}
#slidemenu li.submenu {
overflow: hidden;
background: none;
width: 255px;
height: auto;
border: none;
-webkit-box-shadow: 0px 0px 0px 0px;
-moz-box-shadow: 0px 0px 0px 0px;
box-shadow: 0px 0px 0px 0px;
}
#slidemenu li.submenu ul {
overflow: hidden;
width: 255px;
background-color: #f0f0f0;
list-style: none;
}
#slidemenu li.submenu ul li {
background: none;
margin-bottom: 0px;
width: 255px;
height:auto;
border: none;
-webkit-box-shadow: 0px 0px 0px 0px;
-moz-box-shadow: 0px 0px 0px 0px;
box-shadow: 0px 0px 0px 0px;
}
#slidemenu li.submenu ul li a {
border: 0 none;
padding: 5px 7px;
font-size: 11px;
line-height: normal;
color:#8a8a8a;
background:none;
height:auto;
}
#slidemenu li.submenu ul li a:hover {
background: #e9e9e9;
color:#38628c;
}
#slidemenu li.menu_line {
background:url(../images/menu_line.png);
width: 253px;
height: 24px;
display:block;
-webkit-box-shadow: 0px 0px 0px 0px;
-moz-box-shadow: 0px 0px 0px 0px;
box-shadow: 0px 0px 0px 0px;
border: 0px;
margin-bottom: 0px;
}
/*news*/
.news, .navigation {
background: #fff;
padding: 10px;
border: 1px #ededed solid;
margin-bottom: 10px;
cursor: pointer;
}
.news:hover {
-webkit-box-shadow: 0px 0px 8px 0px #dddddd;
-moz-box-shadow: 0px 0px 8px 0px #dddddd;
box-shadow: 0px 0px 8px 0px #dddddd;
}
.n_text {
line-height: 24px;
margin-bottom: 15px;
}
.n_text img, .n_text a img {
float:left;
width: 120px;
margin: 0px 10px 10px 0px;
}
.news h2 {
color: #4f769b;
}
.n_oth {
color:#b3b3b3;
font-size: 11px;
margin-bottom: 20px;
}
.n_oth span, .n_oth span a {
color:#68b3c8;
}
.n_oth span {
padding-right: 5px;
}
.n_more {
float:right;
text-align:right;
clear:both;
margin-bottom: 60px;
}
.n_more a, .n_more {
color:#bbbbbb;
font-size: 11px;
font-style:italic;
}
.block {
margin-bottom: 20px;
}
.block_title {
background: #fff;
-webkit-box-shadow: 0px 0px 5px 0px #d5d5d5;
-moz-box-shadow: 0px 0px 5px 0px #d5d5d5;
box-shadow: 0px 0px 5px 0px #d5d5d5;
padding: 5px;
position:relative;
font-size: 15px;
color:#599fb2;
margin-bottom: 10px;
font-weight:bold;
}
.block_cont {
border: 1px #ededed solid;
padding: 5px;
background: #fff;
font-size: 12px;
}
.block_cont a {
color: #599fb2;
}
.block_cont a:hover {
color:#5584b2;
}
.block_left {
margin-bottom: 30px;
}
.bl_title {
font-size: 18px;
color:#4f769b;
margin-bottom: 15px;
}
.bl_title span {
color:#c3c3c3;
}
.bl_cont {
font-size: 11px;
}
/*стили главного контента*/
.cont_in {
margin-bottom: 20px;
}
.cont_title {
margin-bottom: 20px;
}
.cont_title h1, .cont_title h2, .cont_title {
font-size: 22px;
color:#4f769b;
font-weight:normal;
}
.ci_inblock {
padding: 10px 0px;
border-bottom: 1px #dfdfdf dashed;
border-top: 1px #dfdfdf dashed;
margin-bottom: 20px;
}
.ci_b_edit {
background: #ebffeb;
padding: 10px;
}
.ci_b_edit span {
color:#68b3c8;
}
/*comments*/
.masdg {
border: 1px #ededed solid;
padding: 10px 10px 50px 10px;
background: #f4f4f4;
position:relative;
margin-bottom: 20px;
}
.msg_av {
width: 60px;
font-size: 11px;
}
.msg_av img, .msg_av a img {
border: 5px #fff solid;
width: 60px;
}
.msg_text {
margin-left: 80px;
}
.msg_more {
margin-bottom: 10px;
color:#5aa0b3;
}
.msg_more span {
font-size: 11px;
color:#ababab;
}
.msg_date {
color:#ababab;
margin-top: 10px;
font-size: 11px;
}
ul.opt_links {
height: 20px;
position:absolute;
right: 10px;
bottom: 10px;
}
ul.opt_links li {
display: inline;
float:left;
margin-left: 5px;
}
ul.opt_links li a {
display:block;
float:left;
padding: 0px 10px;
height: 22px;
line-height: 22px;
color:#a0a0a0;
background: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
ul.opt_links li a:hover {
background: #efefef;
color:#8e8e8e;
}
ul.opt_links li.activ a {
color: #fff;
background: #68b3c8;
}
ul.opt_links li.activ a:hover {
background: #529bb0;
}
.mass_ac {
position:absolute;
top: 5px;
right: 5px;
}
/*login block*/
.lb_av {
position:absolute;
top: -5px;
left: 5px;
width: 40px;
-webkit-box-shadow: 0px 0px 5px 0px #d5d5d5;
-moz-box-shadow: 0px 0px 5px 0px #d5d5d5;
box-shadow: 0px 0px 5px 0px #d5d5d5;
height: 40px;
overflow:hidden;
}
.lb_av img, .lb_av a img {
width: 40px;
}
.lp_title {
padding-left: 55px;
}
/*forum_last*/
.forum_last {
width: 100%;
}
.forum_last tr td {
padding: 5px 0px;
border-bottom: 1px #c9c9c9 dashed;
}
.forum_last tr td.fl_avtor {
text-align:right;
}
.forum_last tr td.fl_avtor a {
color:#a4a4a4;
}
/*footer*/
.footer {
background:url(../images/foot_bg.png);
padding: 10px;
position:relative;
text-align:center;
color:#1c4f5d;
font-size: 12px;
}
.footer a {
color:#2c6a7b;
}
.footer a:hover {
text-decoration:underline;
}
a.f_top_bt {
background: url(../images/bt_top.png) #478ea1 no-repeat 90px 5px;
padding: 6px 20px 6px 5px;
width: 90px;
position: absolute;
right: 10px;
top: 10px;
color:#1c4f5d;
font-size: 16px;
display: block;
}
a.f_top_bt:hover {
-webkit-box-shadow: 0px 0px 3px 0px #276474;
-moz-box-shadow: 0px 0px 3px 0px #276474;
box-shadow: 0px 0px 3px 0px #276474;
text-decoration:none;
}
.f_stats {
position: absolute;
left: 10px;
top: 10px;
}
/*info*/
.info_block {
background:url(../images/info_pict.png) no-repeat left;
padding-left: 40px;
}
/*переклдючатель старниц*/
.navigation {
cursor:auto;
font-size: 16px;
text-align:center;
padding: 5px 10px;
}
.navigation span {
color:#b4b4b4;
}
.navigation a {
color:#38628c;
}
/*популярные новости*/
ul.top_news li a {
display:block;
color: #599fb