/* Настройка таблицы портала: */

/* Основные настройки: */
html, body,
body *{
margin: 0; padding: 0
}
body {
padding:0;
margin:0;
font-size:16px;
font-family:"Trebuchet MS",Arial,sans-serif;
color:#4C4C4B;
text-align:left;
background-attachment: fixed;
}
html,
#pun_wrap,
#pun,
#pun-pages{
background:#498a03 none!important;
}
a img {border:none;text-decoration:none;}
a:hover  img {border:none;}
a {color: #3b5f03;text-decoration: none;font-weight: normal;text-shadow: 1px 1px 1px #000000;}
a:hover {color:#ba3500;text-decoration:underline;}
p {line-height:24px;}
img{vertical-align:middle}
a:focus { outline: 0; }

h1 {font-size:22px;letter-spacing:-1px;color:#A2A2A2;}
h2 {font-size:28px;color:#000;}
h3 {font-size:24px;}

ul, li, p, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#pun-main > .section > h1,
#html-header,
#pun-navlinks,
#pun_announcement,
#pun-status,
#pun-break1,
#pun-crumbs1,
#pun-break2,
#pun-break3,
#pun-crumbs2,
#pun-break4,
#pun-about,
#html-footer{
display:none!important;
}

/* Ограничиваем размеры картинок в Новостях: */
.postimg {
max-width: 100px !important;
}

/* Настройка основного div: */
#tablica{
padding: 24px 0 24px 0;
width:100%;
margin:0 auto;
background:  url('http://s5.uploads.ru/fOKbX.png')!important; background-repeat: repeat !important;
}

/* Настройки шапки: */
#shapka {
width:92%;
margin:0 auto;
border:2px solid #72ac0d;
background:#F4F4F4;
-moz-border-radius-topleft: 9px;
border-top-left-radius: 9px;
-moz-border-radius-topright: 9px;
border-top-right-radius: 9px;
box-shadow: 0 0 10px #E6E6FA;
}

div#nav ul.main {
background: url('http://s4.uploads.ru/TIHiY.jpg') !important;
background-size: 100% 100% !important;
border-radius: 0 !important;
}

.logo {
white-space: nowrap;
position: relative;
}

.logo2 {
background: url('http://s5.uploads.ru/fhmLC.jpg');
background-size: 100% 100%;
}

.name_portal {
position: absolute;
width: 100%;
padding: 2%;
color: #F4F4F4;
font-size: 25px;
height: 190px;
}

#clock {
float: right;
position:relative;
margin-right:25px;
margin-bottom:10px;
text-shadow: #fafafa 1px 1px 0;
font-size:12px;
background: transparent;
color:#f0c19c;
font-weight:600;
font-family:Verdana;
}

/* Основные настройки блоков с контентом и новостей: */
#tab_content {
width:92%;
height:auto;
overflow:hidden;
margin:0 auto;
border:2px solid #2f6b05;
background: url('http://s4.uploads.ru/jrIFT.gif') repeat;
-moz-border-radius-bottomright: 9px;
border-bottom-right-radius: 9px;
-moz-border-radius-bottomleft: 9px;
border-bottom-left-radius: 9px;
box-shadow: 0 0 10px #E6E6FA;
}

.left_block {
width: 21%;
text-align: center;
vertical-align: top;
}
.center_block {
width: 58%;
text-align: center;
vertical-align: top;
}
.right_block {
width: 21%;
text-align: center;
vertical-align: top;
}

/* Настройка Новостей: */

.vse_news {
border:1px solid #9c3302;
background:#F4F4F4;
-moz-border-radius-topleft: 9px;
border-top-left-radius: 9px;
-moz-border-radius-topright: 9px;
border-top-right-radius: 9px;
-moz-border-radius-bottomright: 9px;
border-bottom-right-radius: 9px;
-moz-border-radius-bottomleft: 9px;
border-bottom-left-radius: 9px;
box-shadow: 0 0 10px #20B2AA;
margin-top: 15px;
}

.titles {
text-align: center;
color: #9c3302;
font-size: 20px;
font-weight: 600;
}

.authors {
float: right;
color: #000000;
font-size: 12px;
padding-right: 5px;
font-weight: 600;
}

.conts {
text-align: left;
padding-left: 5px;
}

.JLinks {
text-align: left;
padding-left: 5px;
}

.nov {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
color:#ffffff;
text-align: center;
vertical-align: middle;
font-weight: bold;
border:1px solid #a34202;
background:#538903;
-moz-border-radius-topleft: 9px;
border-top-left-radius: 9px;
-moz-border-radius-topright: 9px;
border-top-right-radius: 9px;
-moz-border-radius-bottomright: 9px;
border-bottom-right-radius: 9px;
-moz-border-radius-bottomleft: 9px;
border-bottom-left-radius: 9px;
box-shadow: 0 0 10px #4cb220;
width: 58%;
margin: 15px 0 15px 0;
}

#ob_nov, .post-content {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000000;
text-align: center;
vertical-align: middle;
font-weight: bold;
background:#f1e4cd;
-moz-border-radius-topleft: 9px;
border-top-left-radius: 9px;
-moz-border-radius-topright: 9px;
border-top-right-radius: 9px;
-moz-border-radius-bottomright: 9px;
border-bottom-right-radius: 9px;
-moz-border-radius-bottomleft: 9px;
border-bottom-left-radius: 9px;
box-shadow: 0 0 10px #ba3500;
}

/* Настройка блоков слева и справа: */

#content_left, #content_right {
margin: 15px 10px 0 10px;
}

.nazvfnie_content {
font-size: 14px;
font-weight: bold;
color: #397501;
text-align: center;
vertical-align: middle;
font-weight: bold;
padding-top: 8px;
}

.td_news {
margin: 0 auto;
width: auto;
height: auto;
background:#f1e4cd;
-moz-border-radius-topleft: 9px;
border-top-left-radius: 9px;
-moz-border-radius-topright: 9px;
border-top-right-radius: 9px;
-moz-border-radius-bottomright: 9px;
border-bottom-right-radius: 9px;
-moz-border-radius-bottomleft: 9px;
border-bottom-left-radius: 9px;
box-shadow: 0 0 10px #ba3500;
padding-left: 10px;
}
div.td_news img {
max-width: 100%;
}

.inf_content {
font-size: 14px;
font-weight: bold;
color: #000000;
text-align: left;
vertical-align: middle;
font-weight: bold;
}

.quote-box {text-align:left;}
.edit-container .post-content{border:0 none;box-shadow:none;border-radius:0}

