/*
1. Основное содержимое
2. Левая панель
3. Фон страницы
4. Шапка сайта
5. Подвал сайта
*/

/* 1. ОСНОВНОЕ СОДЕРЖИМОЕ */

#content {	
	padding: 0 40px 20px 20px;	
}

#content h1 {
	font-family: Times;
	font-size: 38px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	padding: 0 0 20px;
}
#content h2 {
	font-family: Times;
	font-size: 30px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	padding: 0 0 8px;
}
#content h2.partner {
	text-align: center;
	color: #fff;
	background-color: #9e919c;
	margin: 50px 0 30px 0;
	padding: 4px 0 3px 0;
}
#content h3 {
	font-family: Times;
	font-size: 26px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	padding: 0 0 8px;
}
#content p {
	font-family: Verdana;
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	line-height: 18px;
	padding: 0 0 8px;
}
#content em {
	font-family: Verdana;
	font-size: 12px;
	font-style: italic;
	color: #3a3a3a;
	line-height: 18px;
	padding: 0 0 8px;
}
#content strong {
	font-family: Verdana;
	font-size: 12px;
	font-weight: bold;
	color: #3a3a3a;
	line-height: 18px;
	padding: 0 0 8px;
}
#content a {
	font-family: Verdana;
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	color: #0973b0;
	line-height: 18px;
	padding: 0 0 8px;
}
#content a:hover {
	color: #820000;
}

#content ul, 
#content ol {
	font-family: Verdana;
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	line-height: 18px;
	
	padding: 8px 0;
}
#content ol {
	list-style-type: decimal;
}
#content ul {
	list-style-type: disc;
}
#content li {
	margin-left: 15px;
	padding: 2px 0 2px 6px;
}
/* Хлебные крошки */
#content div.BreadCrumb {
	padding: 10px 0 10px 0;
	font-family: Verdana;
	font-size: 11px;
}
#content div.BreadCrumb a {
	font-family: Verdana;
	font-size: 11px;
}
/* Таблицы */
#content table {
	width: 100%;
	margin: 10px 0;
}
#content table, 
#content tr, 
#content th, 
#content td {
	border: 1px solid #000;		
	font-family: Verdana;
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	line-height: 16px;
}
#content td,
#content th {
	padding: 3px;
}
/* Paginator */
#content .pager {
	overflow: hidden;
	zoom: 1;
}
#content .pager ul.yiiPager {
	font-family: Verdana;
	font-size: 14px;
}
#content .pager ul.yiiPager li {
	display: inline;
	float: left;
}
#content .pager ul.yiiPager a:link,
#content .pager ul.yiiPager a:visited  {	
	color: #0e509e;
	padding: 1px 2px;
	margin: 0;
}
#content .pager ul.yiiPager .page a {
	font-weight: normal;
}
#content .pager ul.yiiPager a:hover {	
}
#content .pager ul.yiiPager .selected a {	
	color: #3a3a3a;
	font-weight: bold;
	text-decoration: none;
}
#content .pager ul.yiiPager .hidden a {	
	color: #ccc;	
}
#content .pager ul.yiiPager .first,
#content .pager ul.yiiPager .last {
	display: none;
}

/* Сетка фотографий */
#content .fotogrid {
	position: relative;
	overflow: hidden;
	zoom: 1;
	padding: 0 0 15px 4px;
}
#content div.mini-foto {
	width: 140px;
	height: 140px;
	margin: 0 20px 20px 0;
	float: left;	
}
#content div.mini-foto table {
	width: 100%;
	height: 100%;
	background: #fff;	
}
#content div.mini-foto table.DELETE {
	background: red;
}
#content div.mini-foto table tr td {
	vertical-align: middle;
	text-align: center;
}
#content .fff {
	position: absolute;
	display: none;
	z-index: 100;
}
/* Показ фотографии */
#content .foto {
	margin: 0 0 15px 0;
}
#content .foto img {
	padding: 0;
	margin: 0;	
	display: inline;
	float: right;
}
#content .foto table,
#content .foto tr,
#content .foto td {	
	padding: 0;
	margin: 0;
	border: 0;	
	width: auto;
	height: auto;
}
#content .foto td.content {
	vertical-align: center;
	margin: 0;
	padding: 1px;
	background: #efe8da;
}
#content .foto td.horizontal {
	height: 9px;
	background: transparent url(i/foto-border-top.gif) repeat-x top center;
}
#content .foto td.vertical {
	width: 9px;
	background: transparent url(i/foto-border-left.gif) repeat-y top center;
}
#content .foto td.top-left {
	width: 9px;
	overflow: hidden;
	background: transparent url(i/foto-corners.gif) no-repeat;
	background-position: -9px -9px;
}
#content .foto td.top-right {
	width: 9px;
	overflow: hidden;
	background: transparent url(i/foto-corners.gif) no-repeat;
	background-position: 0 -9px;
}
#content .foto td.bottom-left {
	width: 9px;
	overflow: hidden;
	background: transparent url(i/foto-corners.gif) no-repeat;
	background-position: -9px 0;
}
#content .foto td.bottom-right {
	width: 9px;
	height: 9px;
	overflow: hidden;
	background: transparent url(i/foto-corners.gif) no-repeat;
	background-position: 0 0;
}
/* Таблица корзины */
#content a.cartButton {
	display: block;
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	color: #a64d49;
	padding: 10px 0 10px 50px;
	background: transparent url(i/cart.gif) no-repeat center left;
	width: 120px;
}
#content div.CartTable table,
#content div.CartTable tr,
#content div.CartTable th,
#content div.CartTable td {
	width: auto;
	border: 0;
}
#content div.CartTable td {	
	padding: 2px 2px 2px 50px;
}
#content div.CartTable table tr {
	border-bottom: 1px solid #919191;
	margin: 0 0 1px 0;
}
#content div.CartTable th {
	font-weight: bold;
}
#content div.CartTable th span {
	font-size: 10px;
}

#content div.CartTable th span a {
	font-size: 10px;
}

/* Корзина */
#content .CartItem {	
	padding: 3px;
	width: 100%;	
	overflow: hidden;
	zoom: 1;
}
#content .CartItem p {
	padding: 10px 0;
}
/* Таблица в корзине */

#content table.cart ,
#content table.cart tr,
#content table.cart tr td {
	width: 100%;
	border: none;
}
#content table.cart tr {
	border-bottom: 1px dashed #919191;
}
#content table.cart  tr td{	
	text-align: left;
	vertical-align: top;	
	padding: 0px 0 0 0;
}
#content table.cart tr td.first {	
	text-align: center;
	width: 200px;
	padding: 0 0 15px;
}
#content table.cart tr td.first p {
	text-align: center;
	padding: 3px 0;
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
}
#content table.cart tr td div.mini-foto {
	float: none;
	text-align: center;
}
#content table.cart tr td p.fotoSize {
	font-family: Times;
	font-size: 18px;
	font-style: italic;
	font-weight: bold;
}

/* Сылки на странице */
#content .links a {	
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	color: #0973b0;
	padding-right: 10px;
	padding-left: 20px;
}
#content .links a:hover {
	color: #820000;
}
/* Выбранная ссылка */
#content .links a.active {
	color: #3a3a3a;
	font-weight: bold;
	text-decoration: none;
}
/* Формы */
#content div.Form {
	margin: 0;
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
}
#content div.Form input,
#content div.Form textarea,
#content div.Form select
{
    margin: 0.2em 0 0.5em 0;
}
#content div.Form fieldset
{
    border: 1px solid #DDD;
    padding: 10px;
    margin: 0 0 10px 0;
    -moz-border-radius: 7px;
}

#content div.Form label
{
    font-weight: bold;
    font-size: 0.9em;
    display: block;
}
#content div.Form .row
{
    margin: 5px 0;
}
#content div.Form .hint
{
    display: inline;
    margin: 0;
    padding: 0;
    color: #999;    
}
#content div.Form .note
{
    font-style: italic;
}
#content div.Form span.required
{
    color: red;
}

#content div.Form label.error,
#content div.Form span.error
{
    color: #C00;
}

#content div.Form input.error,
#content div.Form textarea.error,
#content div.Form select.errro
{
    background: #FEE;
    border-color: #C00;
}
#content div.Form .errorSummary
{
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
}
#content div.Form .errorMessage
{
    color: red;
    font-size: 0.9em;
}
#content div.Form .errorSummary p
{
    margin: 0;
    padding: 5px;    
}
#content div.Form .errorSummary ul
{
    margin: 0;
    padding: 0 0 0 20px;
}
#content div.wide form label
{
    float: left;
    margin-right: 10px;
    position: relative;
    text-align: left;
    width: 100px;
}
#content div.wide form .row
{
    clear: left;
}
#content div.wide form .row.action {
    float: left;
    position: relative;
    text-align: left;
    width: 150px;
    clear: none;
}
#content div.wide form .row.action label.underline {
    border-bottom: 1px dashed #919191;
    padding: 0 0 3px 0;
    display: inline;
    width: 120px;
}
#content div.wide form .buttons
{
    clear: left;
    padding-left: 110px;
}
#content div.wide form .errorMessage
{
    margin: 0 0 0 110px;
}

#content table.esearch-form,
#content table.esearch-form tr,
#content table.esearch-form tr td {
	border: 0;
	line-height: 22px;
}
#content table.esearch-form {
	margin: 20px 0 30px;
}
#content table.esearch-form tr td label.underline {
	border-bottom: 1px dashed #919191;
    padding: 0 0 3px 0;
    display: inline;
    width: 120px;
	font-weight: bold;
}



/* PANEL */
#panel  {
	position: fixed;
	top: 0; left: 0;
	height: 80px; width: 150px;
	background: white;
}

/* Popup */
.popup {
	display: none;
	position: absolute;
	background: white;
	border: 1px solid black;
	padding: 5px 5px 10px 5px;
	text-align: center;
	overflow: hidden;
}
.popup img {
        display: none;
	margin: 0 auto;
	float: right;
}
.popup div.loading {
        background: transparent url(/images/loading.gif) no-repeat top left;
        width: 32px; height: 32px;
}
.popup p {
	display: none;
	width: 300px;        
	margin: 5px auto 5px;
	font-family: Verdana;
	font-size: 10px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;	
}
/***/
#debug  {
	position: fixed;
	top: 0; left: 0;
	width: 200px; height: 150px;
	background: #fff;
}

/*************************************/
/* Новости */
#content .News {
	padding: 0 0 15px 0;
	margin-bottom: 15px;
	border-bottom: 1px dashed #919191;	
}
/* 2. ЛЕВАЯ ПАНЕЛЬ */
#sidebar-left .box {		
	padding: 0 0px 15px 0;
	margin: 5px 20px 15px 20px;
	border-bottom: 1px dashed #919191;	
}
#sidebar-left .box .in {
	width: 100%;
}
#sidebar-left .box h2 {
	font-family: Times;
	font-size: 21px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;	
	padding: 0 0 10px;
}
#sidebar-left .box h3 {
	font-family: Times;
	font-size: 18px;
	font-weight: normal;
	font-style: normal;
	color: #3a3a3a;
	padding: 4px 0 4px 10px;
}

/* Форма входа */
#sidebar-left .box div.login {
	position: relative;
	height: 120px;
}
#sidebar-left .box .login h2.login {
	font-size: 20px;
	text-align: center;
}
#sidebar-left .box .login .field {
	width: 90px;
	float: left;
	padding-right: 5px;
	zoom: 1;
}
#sidebar-left .box .login .field input {
	border: 1px solid #ccc;
	width: 100%;
}
#sidebar-left .box .login input.enter {
	position: absolute;
        display: block;
	top: 75px;
	left: 126px;
        width: 63px; height: 24px;
        padding: 3px 0 7px;
        border: none;
        background: transparent url(i/red-button.jpg) no-repeat top left;
        font-size: 13px;
        color: #fff;
	cursor: pointer;
}
#sidebar-left .box .login .links {	
	display: block;
	padding-left: 14px;
	padding-top: 30px;
}
#sidebar-left .box .login .links ul {
	display: inline;
	list-style-type: disc;
	font-family: Verdana;
	font-size: 11px;
	color: #0973b0;
	line-height: 16px;
}
#sidebar-left .box .login .links ul a {
	color: #0973b0;
}
#sidebar-left .box .login .links ul a:hover {
	color: #820000;
}

/* Меню пользователя, администратора, каталог */
#sidebar-left .box .in .menu a {
	font-family: Verdana;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	color: #0973b0;
	line-height: 18px;
}
#sidebar-left .box .in .menu strong a {
	font-weight: bold;
}
#sidebar-left .box .in .menu a:hover {
	color: #820000;
}
#sidebar-left .box  .in .menu li.active a {	
	color: #3a3a3a;
}

/* 3. ФОН СТРАНИЦЫ */
#body {
	background: #484848;
}
#doc {
	background: #484848 url(i/bg.jpg) repeat top right;
}
#wrapper {
	background: #efe8da;
}
#footer {
	background: black;
}
/* 4. ШАПКА САЙТА */
#header .doc-left {
	position: absolute;
	top: 0;
	left: 30px;
	width: 21px;
	height: 18px;
	background: transparent url(i/doc-corners.gif) no-repeat;
	background-position: 0 0;
}
#header .doc-right {
	position: absolute;
	top: 0;
	right: 30px;
	width: 21px;
	height: 18px;
	background: transparent url(i/doc-corners.gif) no-repeat;
	background-position: -21px 0;
}
/* Логотип */
#header .in a.logo {
	position: absolute;
	display: block;
	top: 58px;
	left: 40px;	
	width: 238px;
	height: 130px;
	background: transparent url(i/logo.jpg) no-repeat center center;
	z-index: 900;
}
#header .in a.logo span {
	display: none;
}

/* Меню и форма поиска */
#header .menu-search {
	position: relative !important;	
	position: absolute;
	padding: 20px 30px 0 260px;	
}
/* Меню */
#header .menu-search .menu {
	display: block;
	overflow: hidden;
	zoom: 1;
	padding-left: 10px;	
}
#header .menu-search .menu ul li {	
	display: block;
	float: left;
	padding: 0 0 0 10px;
	margin: 0 10px 0 0;	
}
#header .menu-search .menu ul li a{
	display: inline-block;
	font-family: Verdana;
	font-size: 14px;
	font-weight: normal;
	font-style: normal;
	color: #0973b0;	
	height: 30px;
	padding-top: 12px;
	padding-right: 10px;
}

#header .menu-search .menu ul li a:hover {
	color: #fff;
	text-decoration: none;
	background: #820000 url(i/menu-right.gif) no-repeat top right;
}
#header .menu-search .menu ul li:hover {
	background: #820000 url(i/menu-left.gif) no-repeat top left;
}
#header .menu-search .menu ul li.active {
	background: #820000 url(i/menu-left.gif) no-repeat top left;
}
#header .menu-search .menu ul li.active a {
	color: #fff;
	text-decoration: none;
	background: #820000 url(i/menu-right.gif) no-repeat top right;
}
/* Форма поиска */
#header .menu-search .search {
	position: relative;
	display: block;	
	float: block;
	overflow: hidden;
	zoom: 1;
	background: #988686 url(i/search.gif) repeat-x top left;
	margin: 0;
	padding: 50px 20px 20px 20px;
	height: 49px;
}
#header .menu-search .search .left {
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 119px;
	background: transparent url(i/search-left.gif) no-repeat top left;
}
#header .menu-search .search .right {
	position: absolute;
	top: 0;
	right: 0;
	width: 6px;
	height: 119px;
	background: transparent url(i/search-right.gif) no-repeat top right;
}
#header .menu-search .search h2 {
	position: absolute;
	top: 10px;
	left: 20px;	
	font-family: Times;
	font-size: 30px;
	font-weight: normal;
	font-style: italic;
	color: #fff;
}
#header .menu-search .search .field {	
	margin-right: 100px;	
}
#header .menu-search .search .field input {
	width: 100%;
	border: 1px solid #ccc;
}
#header .menu-search .search .action {
	position: absolute;
	top: 50px;
	right: 20px;
}
#header .menu-search .search .action input {	
	width: 90px;
	border: 1px solid #ccc;
	cursor: pointer;
}
#header .menu-search .search .help {
	position: absolute;
	top: 85px;
	left: 200px;
}
#header .menu-search .search .help a {
	font-family: Verdana;
	font-size: 11px;
	color: #fff;
}
#header .menu-search .search .help a:hover {
	text-decoration: none;
}
#header .menu-search .search .exsearch {
	position: absolute;
	top: 85px;
	left: 20px;
}
#header .menu-search .search .exsearch a {
	font-family: Verdana;
	font-size: 11px;
	color: #fff;
}
#header .menu-search .search .exsearch a:hover {
	text-decoration: none;
}


/* Корзина */
#header .cart-link {
	position: absolute;
	top: 0;
	left: 120px;
	width: 85px;
	height: 25px;
	background: transparent url(i/cart-link.gif) no-repeat center center;
}
#header .cart-link a {
	display: block;
	margin: 5px 14px 0 14px;
	padding: 0 0 2px 0;
	font-family: Verdana;
	font-size: 12px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-bottom: 1px dashed #fff;
}
/* 5. ПОДВАЛ САЙТА */
#footer .copyright {
	position: absolute;
	top: 40px;
	left: 340px;
}
#footer .copyright p {
	font-family: Verdana;
	font-size: 12px;
	color: #fff;
}
#footer .copyright p a {
	font-family: Verdana;
	font-size: 12px;
	color: #fff;
	line-height: 26px;
}
#footer .copyright p a:hover {
	text-decoration: none;
}
#footer .copyright p.attention {
	color: #ff1d1d;
}
#footer .copyright p.attention a:hover {
	text-decoration: none;
}
#footer .meter {
	position: absolute;
	top: 40px;
	left: 240px;
}
#footer .studio {
	position: absolute;
	top: 50px;
	left: 30px;
}
#footer .studio p {
	font-family: Verdana;
	font-size: 11px;
	color: #fff;
	line-height: 18px;
}
#footer .studio p a {
	font-family: Verdana;
	font-size: 11px;
	color: #fff;
}
#footer .studio p a:hover {
	text-decoration: none;
}