<?php 
 header('content-type: text/css');
 $base_url = (strpos($_SERVER['SERVER_NAME'], 'localhost') === 0)?'/other/ku-pol.ru/':'/'; 
?>
html, body {height: 100%; margin: 0; padding: 0;}
body{
  margin:0; padding:0;
  font-family: Arial, Verdana, Tahoma, Arial, sans-serif; 
  font-size: 62.5%;
  line-height: 1.4em;
  background: #fff url(<?=$base_url?>images/body-bg.png) center 0 no-repeat;
}

.clear {clear: both; height: 1px; overflow: hidden}
a img {border: none}
p {margin: 0}

#maincontainer{
position: relative;
  width: 980px; min-height: 812px;
  margin: 0 auto; /*Center container on page*/
  padding: 0; font-size: 1.2em;
}

a#menu-kk {display: block; position: absolute; left: 0; top: 330px; width: 300px; height: 70px;}
a#menu-uc {display: block; position: absolute; right: 0; top: 330px; width: 300px; height: 70px;}

#news {margin-top: 620px; float: left; width: 228px; padding: 0 0 0 72px;}
#news h1 {padding: 0 0 5px 0; margin: 0 0 0.8em 0; font-size: 1.1em; font-weight: bold; text-transform: uppercase; color: #000; border-bottom: 1px solid #4f5257}
#news .item {padding: 0; margin: 0 0 10px 0; }
#news .item h3 {padding: 0; margin: 0 0 0px 0; font-size: 1em; font-weight: normal; color: #e71f23; }
#news .item p {padding: 0; margin: 0 0 0px 0; font-size: 1em; font-weight: normal; color: #1b1c20; }
#news .item a.more {margin: 0 0 0px 0; font-size: 1em; font-weight: bold; color: #1b1c20; text-decoration: none}
#news .item a.more:hover {text-decoration: underline; color: #666}

#tags {margin-top: 620px; float: left; width: 280px; padding: 0 50px; text-align: center}
#tags a {color: #5c5b60}

#contacts {margin-top: 620px; float: right; width: 276px; padding: 0 0 0 0px;}
#contacts h1 {width: 117px; padding: 0 0 5px 0; margin: 0 0 0.8em 0; font-size: 1.1em; font-weight: bold; text-transform: uppercase; color: #000; border-bottom: 1px solid #4f5257}

address.phone {background: url(<?=$base_url?>images/phone.gif) no-repeat; padding: 0 0 0px 21px; margin: 7px 0; font-style: normal}
address.email {background: url(<?=$base_url?>images/email.gif) no-repeat; padding: 0 0 5px 21px; margin: 5px 0; font-style: normal}

.size-xsmall {font-size: 0.7em}
.size-small  {font-size: 0.8em}
.size-normal {font-size: 1em}
.size-large  {font-size: 1.2em}
.size-xlarge {font-size: 1.4em}

ul.mainmenu {list-style: none; margin: 0; padding: 0}
ul.mainmenu li {float: left;}
ul.mainmenu li a {display: block; padding: 0 60px 0 0}

#events {padding: 1em; background: url(/images/111.jpg) 0 0 no-repeat;}

