/* http://meyerweb.com/eric/tools/css/reset/
   v2.0b2 | 201101
   NOTE: THIS IS A BETA VERSION (see previous line)
   USE WITH CAUTION AND TEST WITH ABANDON */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* CSS RESET END ------------------------------------------------------------ */

/* MAIN SETUP START --------------------------------------------------------- */
html {font-size: 62.5%;}
body {
	background: #181713;
	text-align: left;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 120%;
    line-height: 150%;
    color:#1e1d17;
}

hr, .hr {
    display: block;
    clear: both;
    background: #ccc;
    color: #ccc;
    width: 100%;
    height: 1px;
    border: none;
}

strong { font-weight: bold;}

sup { vertical-align: baseline; position: relative; top: -0.4em;  font-size: 80%;}
sub { vertical-align: baseline; position: relative; bottom: -0.4em; }

table { margin: 10px 0;}
th { font-weight: bold;}
td, th { border: 1px solid #7a836d; padding: 3px;}

/* Default links */
a:link, a:visited { color: #29719f;text-decoration:underline;}
a:hover, a:active { text-decoration:none;}

/* Helpers */
.hidden { display: none; }
.clear { clear: both; font-size: 0; height:0; line-height: 0}
.float-right     { float: right; }
.float-left     { float: left; }

/* Froms */
label {
    display:block;
}
select, input[type=text] { margin-bottom: 7px;}
input.date {width: 70px;}
textarea {
    width: 100%;
    height: 100px;
}

/* Headers and p */
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
h1, h2, h3, h4, h5, h6 {
    padding: 0 0 1em;
    font-weight: normal;
    text-decoration: none;
}

h1 {
    font-size: 200%;
	color: #000;
}
h2 {
	font-size: 116.6%;
	color: #f05e5e;
    padding: 10px 0;
}
h3 {
	font-size: 14px;
	font-weight:bold;
	margin-top: 20px;
	color: #000;
}
h4 {
	font-weight: bold;
    color: #000;
}

p {
    margin-bottom: 10px;
}
img.right { float:right; margin: 0 0 15px 15px;}
img.left { float:left; margin: 0 15px 15px 0;}

#all {

}
#hd {
	height: 150px;
	background: url(../img/hd_bg.jpg) repeat-x center;
	border-bottom: 1px solid #183559;
	position: relative;
}
#logo {
	position: absolute;
	left: 50%;
	margin-left: -300px;
}
#mm {
	height: 45px;
	background: url(../img/mm_bg.gif) repeat-x center;
}
#mm ul {
	width: 960px;
	margin: 0 auto;
	}
#mm li { 
	float:left;
	width: 20%;
}
#mm a {
	border-bottom: 1px solid #fff;
	height: 40px;
	display:block;
	line-height: 40px;
	text-align: center;
	text-decoration:none;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 116.6%;
}
#mm li {
	border-bottom: 4px solid #d3d3d3;
}
#mm li:visited, #mm li:hover, #mm li.active {
	background: #000;
}
#mm li:visited, #mm li:hover, #mm li.active {
	border-bottom: 4px solid #4fdcff;	
}

#ct_wrap {
	background: #fff;
	padding-top: 50px;
}
#ct {
	width: 960px;
	margin: 0 auto;
}
#ct_l {float:left; width: 300px;}
#ct_r { float:right; width: 620px; font-size: 116.6%;}
#ct_r ul {
	list-style:katakana;
	padding: 10px 0;
	margin-left: 40px;
}
#ct_r li { padding: 5px 0 0 0;}

.subm li {
	font-size: 22px;
}
.subm ul ul {padding: 7px 0 25px 0;}
.subm li li {
	padding-left: 20px;
	background: url(../img/sm_nosel.gif) no-repeat 4px 6px;
	font-size: 14px;
	padding: 3px 0 0 20px;
}
.subm li li.active {
	text-decoration:none;
	color: #000;
	background: url(../img/sm_sel.gif) no-repeat 4px 6px;
}

#portfolio {
    font-family: Georgia;
    margin-left: -10px;
    width: 980px;
	padding-bottom: 50px;
}
#portfolio .block {
    float: left;
    width: 245px;
}
#portfolio .block .img {
    background: url("../img/port_ramka.png") no-repeat scroll 0 0 transparent;
    height: 100px;
    padding: 15px;
}
#portfolio .title, #portfolio .desc {
    padding: 0 15px 5px;
}
#portfolio a.name {
    color: black;
    font-size: 130%;
}
#portfolio .url a {
    font-size: 90%;
}
#portfolio .desc {
    font-size: 90%;
}
#portfolio .title span {
    background: none repeat scroll 0 0 #888888;
    color: #FFFFFF;
    display: block;
    float: right;
    padding: 0 3px;
}

#portfolio .filter {
	background: url(../img/filterbg.png) repeat-x;
	height: 40px;
	width: 920px;
	padding: 0 20px;
	margin: 10px auto;
}
#portfolio .filter li {
	float:left;
	line-height: 32px;
	margin: 4px 0;
	font-size: 133.3%;
	margin-right: 20px;
}
#portfolio .filter li a {
	text-decoration: none;
	border-bottom: 1px dashed #29719f;
}
#portfolio .filter li.active {
	background: url(../img/filtersel.png) no-repeat right;
	padding-right: 20px;
}
#portfolio .filter li.active span {
	display:block;
	height: 32px;
	width: 10px;
	background: url(../img/filtersel.png) no-repeat left;
	float:left;
}
#portfolio .filter li.active a { color: #fff; border: 0;}
#portfolio .filter li a:hover, #portfolio .filter li a:visited { border-bottom: 1px solid #29719f; }

#ft {
	height: 5px;
}

