/* RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {  
	margin:0; 
	padding:0; 
} 
table { 
	border-collapse:collapse; 
	border-spacing:0; 
} 
fieldset,img {  
	border:0; 
} 
address,caption,cite,code,dfn,em,strong,th,var { 
	font-style:normal; 
	font-weight:normal; 
} 
ol,ul { 
	list-style:none; 
} 
caption,th { 
	text-align:left; 
} 
h1,h2,h3,h4,h5,h6 { 
	font-size:100%; 
	font-weight:normal; 
} 
q:before,q:after { 
	content:''; 
} 
abbr,acronym {
	border:0; 
}
/*---------- END RESET ----------*/


/*-------------------------------------------+
|                                            |
|            MAIN STRUCTURE STYLES           |
|                                            |
+-------------------------------------------*/
html{
	font-size:100%;
	min-height:101%;
}
body{
	font-size:62.5%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; 
	color:#444;
	background:/*url(images/grid.gif) top center repeat-y*/ #fff; /* Uncomment to display the grid */
	/*border-top:0.5em solid #666;*/
	padding:0 1em;
}
#wrapper{
	width:94em;
	margin:0 auto;
}
#header{
	width:100%;
	margin-bottom:1em;
	background: #eee;
	padding: 1em 0 1.5em;
	text-align: center;
}
/*HEADER
-------------------------------------------------------- */
#header h1, #header h2 { margin:0 !important; }
#header h1{
	margin-top: .5em;
	font-size:3em;
	font-style:normal !important;
	font-family: Georgia, "Times New Roman", Times, serif !important;
    font-weight: normal;
    color: #222 !important;
}

#header h2{
	font-size:1em;
	margin-top: .5em !important;
	margin-bottom:1em !important;
	font-family: "Lucida Grande", Tahoma !important;
	font-weight: lighter;
	font-variant: normal !important;
	text-transform: uppercase;
	color: #666666 !important;
	letter-spacing: 0.3em;
	padding-bottom:1.5em;
	border-bottom: .5em solid #fff;
}

#nav{
	font-size:1.5em;
	font-variant:small-caps;
	color:#000;
	font-weight: lighter;
	font-family:Georgia,"Times New Roman",Times,serif !important;
}
#nav a{
	font-variant:small-caps;
	color:#000;
}
#nav a:hover{
	text-decoration:none;
	font-weight:lighter;
}
#nav span{
	float:right;
	margin-top:-1.2em;
}

#openid_logo {
	background:transparent url(/images/openid-logo.png) no-repeat scroll 0 0;
	display:block;
	height:120px;
	width:320px;
	float:right;
	margin-top:6em;
}
/*FOOTER NAVIGATION
-------------------------------------------------------- */
#footer{
	padding-top:1em;
	border-top:.5em solid #DDD;
	font-size:.85em;
}
#footer p>a, #footer p>a:hover {
	color:#444444;
}
#footer-nav{
	word-spacing:0.2em;
}
#footer-nav a{
	color:#000;
	font-variant:small-caps;
}

/*GRIDS
-------------------------------------------------------- */
/* Set styles common among all grids - all grid divs must be assigned this class */
.generic{
	/*border-top:0.5em solid #666;  The border at the top of each grid */
	float:left;
	padding-top:1em;
	margin-bottom:2em;
}
/* Sets styles for any 'start' grids - this class MUST be given to a grid that is the first in a horizontal series */
.clear{
	clear:both;
}
/* Sets styles for any 'end' grids - this class MUST be given to a grid that is the last in a horizontal series */
.end{
	margin-left:0 !important;
	margin-right:0 !important;
}
/* 220px */
.twotwenty{
	width:22em;
	margin-right:2em;
}
/* 280px */
.twoeighty{
	width:28em;
	margin-right:2em;
}

/* 300px */
.threehun{
	width:30em;
	margin-right:2em;
}

/* 340px */
.threeforty{
	width:34em;
	margin-right:2em;
}
/* 400px */
.fourhun{
	width:40em;
	margin-right:2em;
}
/* 460px */
.foursixty{
	width:46em;
	margin-right:2em;
}
/* 520px */
.fivetwenty{
	width:52em;
	margin-right:2em;
}
/* 580px */
.fiveeighty{
	width:58em;
	margin-right:2em;
}
/* 640px */
.sixforty{
	width:64em;
	margin-right:2em;
}
/* 700px */
.sevenhun{
	width:70em;
	margin-right:2em;
}
/* 760px */
.sevensixty{
	width:76em;
	margin-right:2em;
}
/* 820px */
.eighttwenty{
	width:82em;
	margin-right:2em;
}
/* 880px */
.eighteighty{
	width:88em;
	margin-right:2em;
}
/* 940px */
.nineforty{
	width:94em;
}
/*-------------------------------------------+
|                                            |
|                FONT STYLES                 |
|                                            |
+-------------------------------------------*/
/*PARAGRAPHS
-------------------------------------------------------- */
.generic p{
	font-size:1.3em;
	line-height:1.5em;
	margin-bottom:1em;
}

/* Styles an introductory paragraph, similar to newspapers. Assign this class to the first paragraph in an article */
p.intro:first-line{
	font-variant:small-caps;
}
/* Styles a drop cap on each paragraph with this class */
p.drop:first-letter{
	float:left;
	font-size:3em;
	margin-top:-0.05em;
	margin-right:0.1em;
	margin-bottom:-0.5em;
}
/*HEADINGS
-------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-weight:600;
	color: #444444 !important;
	font-variant:normal !important;
	margin-bottom:.5em !important;
	margin-top: 1.5em !important;
	font-family:Georgia,"Times New Roman",Times,serif !important;
}
h1{
	color:#000;
	font-size:3em;
	margin-bottom:0.6em;
	font-style:italic;
	line-height:1.2em;
}
h2{
	color:#000;
	font-size:2.5em;
	margin-bottom:0.9em;
	line-height:0.9em;
}
h3{
	color:#000;
	font-size:2em;
	margin-bottom:1.2em;
	line-height:1.2em;
	font-variant:small-caps;
}
h4{
	color:#000;
	font-size:1.5em;
	margin-bottom:1.5em;
	line-height:1.5em;
	font-variant:small-caps;
}
h5{
	color:#000;
	font-size:1em;
	margin-bottom:1.8em;
	line-height:1.8em;
	font-variant:small-caps;
}
h6{
	color:#000;
	font-size:1em;
	margin-bottom:1.8em;
	line-height:1.8em;
}
/*LINKS
-------------------------------------------------------- */
p a{
	color:#2361A1;
}
p a:hover{
	text-decoration:none;
}
h1 a{
	color:#2361A1;
}
h1 a:hover{
	text-decoration:none;
}
li a{
	color:#2361A1;
}
li a:hover{
	text-decoration:none;
}
/*ALL THE TRIMMINGS
-------------------------------------------------------- */
blockquote p{
	font-size:1.2em!important;
	line-height:1.5em!important;
	margin-bottom:1.5em!important;
	font-style:italic;
	font-weight:bold;
}
blockquote p cite{
	font-style:normal;
}
.blockquote{
	width:18.5em;
	font-family:  'Hoefler Text', Georgia, 'Times New Roman', serif;
	font-weight: normal;
	font-size: .9em;
	letter-spacing: 0em;
	line-height: .9em;
	margin:0px;
	text-transform: uppercase;
	overflow:hidden;
	margin-top:.5em;
}
.generic strong{
	font-variant:small-caps;
	font-weight:bold;
}
.generic em{
	font-style:italic;
	font-weight:inherit;
}

.generic small{
	font-size:.8em;
}

.amp{ /* Give those ampersands a right sexy look */
	font-family:Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif;
	font-style:italic;
	font-weight:normal;
	line-height:inherit;
}
abbr{
	border-bottom:1px dotted #666;
	border-color:inherit;
	cursor:help;
}
.clear{
	clear:both;
}
.right-float{ /* Float any item to the right */
	float:right;
	margin-left:2em;
	margin-right:0;
}
.left-float{ /* Float any item to the left */
	float:left;
	margin-right:2em;
	margin-left:0;
}
.code{ /* Styling for and code type items */
	font-family:Courier, "Courier New", monospace;
	background:#ddd;
	font-size:1em;
}
/*-------------------------------------------+
|                                            |
|               IMAGE STYLES                 |
|                                            |
+-------------------------------------------*/
img{
	font-size:1em;
}
img.left-img{ /* Float any image to the LEFT and give it some margin */
	font-size:1em;
	float:left;
	padding:4px;
	border:1px solid #ccc;
	margin-bottom:1.8em;
	margin-right:2em;
	margin-top:0.3em;
}
img.right-img{ /* Float any image to the RIGHT and give it some margin */
	font-size:1em;
	float:right;
	padding:4px;
	border:1px solid #ccc;
	margin-bottom:1.8em;
	margin-left:2em;
	margin-top:0.3em;
}
/*CONTACT FORM STYLES
-------------------------------------------------------- */
#contact-form{
}
#contact-form label{
	width:10em;
	float:left;
	margin-top:0.6em;
}
#name, #form-email, #url, #location{
	width:42.7em;
	height:20px;
	padding:3px;
	padding-top:5px;
	border:2px solid #666;
	margin-bottom:18px;
	background:#fff !important;
}
#comments{
	width:43.8em;
	height:10em;
	padding:3px;
	border:2px solid #666;
	margin-bottom:18px;
	overflow:auto;
	background:#fff !important;
}
#name:active, #form-email:active, #url:active, #location:active, #comments:active, #submit:active, #name:focus, #form-email:focus, #url:focus, #location:focus, #comments:focus, #submit:focus{
	border:2px solid #000;
}

#reset{
	clear:both;
	padding:3px;
	border:none;
	background:#f00 !important;
	cursor:pointer;
	float:right;
	color:#fff;
	margin-top:-28px;
}

#orderform, #savesetting {
	
}
#orderform label, #savesetting label{
	font-family:"Lucida Grande",Tahoma !important;
	padding-left:.5em;
	font-size:.85em;
	font-weight:lighter;
	color: #666666 !important;
	text-transform:uppercase;
	letter-spacing:0.3em;
}

#orderform input[type="text"], #orderform textarea, #savesetting input[type="text"], #savesetting textarea{
	padding:.2em;
	border:1px solid #444;
	font-family:Georgia,"Times New Roman",Times,serif !important;
	font-size:1em !important;
	background:#eee;
}
#orderform input[type="text"], #savesetting input[type="text"]{
	width:15em;
}
#orderform textarea, #savesetting textarea {
	width:30em;
	margin-top:.2em !important;
}

#orderform input[type="submit"], #savesetting input[type="submit"]{
	clear:both;
	padding:.5em;
	border:2px solid #111;
	background:#E6E6E6 !important;
	cursor:pointer;
	margin-left:7.5em;
	font-family:Verdana,sans-serif;
	font-weight:bold;
	text-transform:uppercase;
}
#orderform input[type="submit"]:hover, #savesetting input[type="submit"]:hover{
	color:#2361A1;
	border:2px solid #2361A1;
}

#orderform input.req[type="text"], #savesetting input.req[type="text"]{
	border:1px solid #DA3838 !important;
}

#orderform p, #savesetting p{
	margin-bottom:1.5em !important;
}

#clientcode {
	width:30em;
	margin-top:.2em !important;
	padding:.2em;
	border:1px solid #444;
	font-family:Georgia,"Times New Roman",Times,serif !important;
	font-size:1em !important;
	background:#eee;
}
/*-------------------------------------------+
|                                            |
|                LIST STYLES                 |
|                                            |
+-------------------------------------------*/
ul{
	margin-bottom:1.8em;
	margin-left:2em;
	list-style:square inside;
}
ul li{
	font-size:1.2em;
	line-height:1.5em;
}
ul li.caption{ /* Apply this class to the first list item in a list to give it a caption */
	font-variant:small-caps;
	list-style:none;
	color:#000;
}
li > ul, li > ol{
	margin-bottom:0;
	margin-left:5em;
}
li > ul li, li > ol li{
	font-size:1em;
}
ol{
	margin-bottom:1.8em;
	margin-left:2em;
	list-style:decimal inside;
}
ol li{
	font-size:1.2em;
	line-height:1.5em;
}
/*-------------------------------------------+
|                                            |
|               MISC. STYLES                 |
|                                            |
+-------------------------------------------*/
.alert{
	margin-bottom:2em;
	padding:.5em 1.5em;
	border: 2px dashed #DA3838;
}

.alert p{
	margin-bottom:.5em !important;
}



/* ==================== dropdown options OpenID - styles for bg pics	==============================*/

option[value="%username%.blogspot.com"]   {
    background: url(../img/blogspot.jpg) no-repeat right;
}


option[value="www.flickr.com/photos/%username%"]   {
    background: url(../img/flikr.jpg) no-repeat right;
}

option[value="%username%.livejournal.com"]   {
    background: url(../img/techmorati.jpg) no-repeat right;
}

option[value="%username%.wordpress.com"]   {
    background: url(../img/wp.jpg) no-repeat right;
}

option[value="technorati.com/people/technorati/%username%"]   {
    background: url(../img/techmorati.jpg) no-repeat right;
}

option[value="http://openid.yandex.ru/%username%/"]   {
    background: url(../img/yandex.jpg) no-repeat right;
}
