*{
margin:0;
padding:0;
border:0;
}

body{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
color:#000; margin-top:10px;
background:url(../media/images/fon.jpg) repeat;

min-width:1000px;
max-width:1920px;
width:expression((document.documentElement.clientWidth||document.body.clientWidth)<1000?'1000px':(document.body.clientWidth > 1920? "1920px": "auto"));
}

a{text-decoration:none;}



#container{width:900px; margin:0 auto; background:#FFF; overflow:hidden; border-left:3px solid #000;}
#header{width:861px; height:440px; background:url(../media/images/foto.jpg) center bottom no-repeat; margin:0 auto;}
#header h1{font-size:20px; color:#000; height:57px; background:url(../media/images/menu.png) bottom repeat-x; text-align:center; padding:0 5px 0 5px; display:inline-block; width:850px; border-bottom:solid 2px #777;}
#header h1 span{margin-top:15px; display:block;}
#header ul{list-style:none; display:inline-block; padding:4px; background:#000; font-size:12px; font-weight:bold; width:150px; text-align:center;}
#header ul li a{color:#FFF;}

.box{width:100%;}
#work{width:70%; float:left; display:inline; margin-left:5px;}
#categoryID{width:250px; float:right; background:#f5f5f5; padding-left:10px;}
#categoryID img{margin-bottom:10px;}

#footer{width:100%; height:80px; border-top:3px solid #000; text-align:center; line-height:80px; font-size:18px; font-family:"Times New Roman", Times, serif; clear:both; display:inline-block; margin-top:10px; color:#0066CC; text-decoration:underline;}

/* Главная страница - работы */
.link{margin-top:15px;}
.link h2{margin:4px 0 20px 10px; font-size:18px; display:inline-block; color:#FFF; line-height:24px;}
.link a{line-height:25px; color:#777; margin-left:10px;}
.link b{margin-left:5px; color:#00CCCC;}
.link b span{color:#000;}
.download{
display:block;
float:left;
width:16px; height:16px;
background:url(../media/images/download.png) center no-repeat;
}

/* Главная страница - категории */
.category{margin:20px 0 0 0; display:inline-block; padding:10px 0;}
.category h3{font-size:12px; margin-bottom:5px; line-height:14px; width:250px; overflow:hidden;}
.category h3 a{color:#000; font-style:italic;}

/* Страница работ - вывод работы */
.text{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
margin:10px 0 0 0;
width:95%;}
.text li{list-style-type:none; line-height:25px; font-style:italic;}
.text p{text-indent:10px;}
.text table td{border:solid #999 1px; padding:2px; text-align:left;}
.text img{margin:3px;}
.text table td li{list-style-type:none;}

/* Страница работ - подобные работы*/
.allLink{width:95%; font-size:10px; margin:70px 0 0 0; width:95%; padding:10px 0;}
.allLink a{color:#006699; margin-bottom:10px; display:block;}
.allLink h2{font-size:16px; margin-bottom:5px; color:#999; font-style:italic;}

/* Категории */
.categoryWork{font-size:12px; color:#000;}
.categoryIcon{
display:block; float:left;
height:16px; width:16px; margin-right:4px;
background:url(../media/images/download.png) no-repeat;
}
.categoryWork p{margin:10px 0 0 10px;}
.categoryWork p a{color:#000066;}