/*

Таблица стилей для сайта студии «0T0» 

*/

body {
	margin: 0;
	padding: 0;
	font: normal 15px Arial;
	text-align: center;
	background-color: #eee
	
}

td, label {font: normal 15px Arial; color: #14145D}

a:link {
	color: #0808AF;
	text-decoration: underline;
}
a:visited {
	color: #7208AF;
	text-decoration: underline;
}

a:hover {
	color: white;
	text-decoration: none;
	background-color: #4D4D8C
}

a img {
	border: none;
	text-decoration: none !important;
}
a:hover img {
	background-color: transparent;
}

div#all {
	border: 1px solid #CCCCFF;
	width: 1004px;
	overflow: hidden;
	margin: auto;
	background-color: white;
	color: #14145D;
}

div#header {
	height: 50px;
	text-align: left;
	background-color: #9999CC;
	border-bottom: 2px solid #CCCCFF;
	margin-bottom: 12px
}

div#logo {
	width: 200px;
	height:50px;
	text-align: center
	
}
div#logo a {
	background-color: #9999CC !important
}

div#logo img  {
	position: relative;
	top: 14px
}

div#slogan {
	float: right;
	text-align: left;
	width: 340px;
	height: 50px;
	margin: 0 20px 0 0;
	font: italic bold 13px/19px Arial;
	color: white;
	padding-top: 7px;
}


ul#nav {
	list-style: none;
	float: right;
	height: 50px;
	line-height: 50px;
	margin: 0;
	padding: 0;
}

ul#nav li {
	float: left;
	display: block;
	line-height: 50px;
	border-left: 1px solid #CCCCFF
}

ul#nav li a:link, ul#nav li a:visited {
	color: white;
	text-decoration: underline;
	padding: 16px 20px;	
	font: normal 15px/50px Arial;
	background-color: #7575B2
	
}

ul#nav li a:hover, ul#nav li span.current, ul#nav li a.parent {
	background-color: #4D4D8C !important;
	padding: 16px 20px;
	color: white;
	font: normal 15px/50px Arial;
}


ul#subnav {
	list-style: none;
	margin: 10px 0 0 0;
	padding: 0;
}
div > ul#subnav {
	margin-left: -5px;
}



ul#subnav li {
	display: inline;
	padding: 0 8px 0 0;
	line-height: 20px;
	margin-right: 5px
}
ul#subnav > li {
	padding: 2px 5px;
}

ul#subnav li span.current {
	background: #9999CC url('img/subnav-right.jpg') right center no-repeat;
	color: white;
	font-weight: bold;
	padding-left: 0;
	padding-right: 10px;
	line-height: 20px;
}
ul#subnav li span.current span {
	line-height: 20px;
	padding: 2px 0 2px 10px;
	background: transparent url('img/subnav-left.jpg') left center no-repeat;
}
ul#subnav > li.current > nobr > span {
	padding-left: 8px
}
ul#subnav > li > nobr > span.current {
	padding-top: 2px;
	padding-bottom: 2px
}

#sidebar {
	float: left;
	overflow: hidden;
	width: 250px
}

#contacter {	
	background-color: #E8E8FD;
	padding: 10px;
	border: 1px solid #ddd;
	margin-top: 40px;
	border-left-width: 0
}
#tel {
	font-size: 17px
}
#contacter a, #contacter span.current {
	font-size: 11px
}
#contacter span.current {
	font-weight: bold
}


#graphic {
	margin-top: 20px;
	background-attachment: top left;
	background-repeat: no-repeat
}

#content {
	margin-left: 251px;
	margin-top: 2px;
	text-align: left;
	padding: 0 17px 20px 17px;
	line-height: 20px
	
}

#very-content {
	margin-top: 12px
}

h1, h2, h3, h4, h5 {
	margin-bottom: 1px;
	padding-bottom: 0
}

fieldset p {
	margin-top: 0;
	margin-bottom: 8px
}
p {
	margin: 10px 0 6px 0
}
h1 {
	font: bold 23px/23px Arial;
}
h1.child {
	border-top: 1px solid #eee;
	padding-top: 3px;
	margin-top: 7px
}
h1.down {
	padding-top: 17px;
	margin-bottom: -20px
}
div > h1.down {
	margin-bottom: 7px
}
	
h2 {
	font: bold 20px/20px Arial
}
h3 {
	font: bold 18px/18px Arial
}
h4 {
	font: bold 16px/16px Arial
}
h4.parent {
	line-height: 23px
}


blockquote {
	background-color: #EEEEFF;
	margin: 5px -17px 5px 3px;
	padding: 8px 5px 8px 40px;
	font-style: oblique;
	color: black;
	font-size: 14px
}

ul {
	list-style: square outside;
	margin-top: 7px;
	font-size: 12px
}

ul.works {
	list-style: none;
	margin: 0;
	padding: 0
}
ul.works li {
	float: left;
	height: 150px;
	width: 220px;
	padding: 5px;
	margin: 3px;
	display: block
}


ul.works li a img {
	display: block;
	border: 1px solid #4D4D8C
}
ul.works li a span {
	height: 100px;
	width: 200px;
	background-position: top center;
	background-repeat: no-repeat;
	display: block;
	border: 1px solid #4D4D8C;
	text-decoration: none !important
}


img.works-screen {
	border: 1px solid #CCCCFF;
	/*border-bottom-color: #4D4D8C;
	border-right-color: #4D4D8C;*/
	margin: 0 15px 10px 0;
	display: block !important;
}

.wdet {
	font-size: 12px;
	margin: 0;
}
.wdet ul, .wdet ol {
	list-style-position: inside
}

.archive, .archive a {
	color: silver;
	font-size: 11px;
	background-color: inherit
}

#articles {
	list-style: none;
	margin: 10px 0;
	padding: 0
}
#articles li {
	text-align: left
}

#articles li a {
	font-size: 15px;
	font-weight: bold;
}
table.mm tr td #articles {
	margin: 5px 0 0 0
}
table.mm tr td #articles li, table.mm tr td #articles li a {
	font-size: 12px;
	margin-bottom: 10px;
	font-weight: normal
}
table.mm tr td #articles li span{
	display: inline;
	color: gray
}
#articles li span {
	display: block;
	margin-bottom: 13px
}


#prevnext {
	position: relative;
	top: -35px;
	text-align: right;
	font-size: 10px;
	height: 0px !important
}

div > #prevnext.art {
	top: -52px
 }
#prevnext a {
	margin: 0 3px
}

#footer {
	background-color: #CCCCFF;
	border-top: 1px solid #CCCCFF;
	font-size: 0.7em;
	padding: 2px 20px 4px 20px;
	color: gray;
	text-align: left !important;
	clear: both
}
div > #footer {
	padding-top: 5px
}

acronym, abbr {
	border-bottom: 1px dotted gray;
	cursor: help
}

.price {
	float: right; 
	width: 160px; 
	font: bold 21px Georgia; 
	margin: 5px 13px; 
	color: #13159F;
	border: 3px double #9596EF;
	padding: 7px 10px;
	text-align: center;
	background-color: #EFEFFF
}

table {
	border-left: 1px solid #4D4D8C;
	border-top: 1px solid #4D4D8C;
	border-spacing: 0
}

table.mm {
	border: none; 
	width: 719px
}
table.mm tr td {
	padding: 0
}
th, td {
	padding: 4px 6px
}
th {
	background-color: #eee
}

table#some tr td img{
	display: block 
}

acronym, abbr {
	cursor: help;
	border-bottom: 1px dashed silver
}

p.abstract {
	padding: 8px 20px;
	background-color: #EFEFFF;
	margin-top: 0;
	font: oblique 16px/23px Arial;
	margin-bottom: 10px;
	border: 1px outset #9FA0FF
}

#client-form table {
	border: none
}

label {
	position: relative;
	top: 5px
}

input.text, textarea, select {
	border: 1px solid gray;
	background-color: #eee;
	font: 22px/25px "Courier New";
	width: 70%
}
input.text, select {
	height: 25px
}
textarea {
	height: 130px
}
fieldset {
	margin: 3px 0 10px 0;
	padding: 0px 15px;
	border: 1px solid #eee;
}

fieldset table {
	width: 100%
}
button {
	border: 3px double #9FA0FF;
	background-color: #D0CFFF;
	font: normal 15px Arial
}

legend {
	font: normal italic 14px/20px Arial; 
	margin: 0 10px 0 5px;
	padding: 0 7px;
	color: black;
	background-color: #F6F6F6;
	border: 1px solid #eee

	
}
p.error {
	border: 1px solid blue;
	padding: 12px;
	background-color: #D0CFFF
}


table.fronter {
	border: none;
	margin-bottom: 15px
}
table.fronter p {
	padding: 0;
	margin: 0
}
td.front-label {
	width: 15%;
	font: italic 14px "Times New Roman"
}