/*
Theme Name: Thinking 4
Theme URI: http://thinking.ru/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: Alexander Zubkov
Version: 1.0
*/

/* =Reset 
-------------------------------------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline; }
article, aside, dialog, figure, footer, header, hgroup, nav, section {display:block;}
body { line-height:1; }
table { border-collapse:separate; border-spacing:0; }
caption, th, td { text-align:left; font-weight:normal; float:none !important; }
table, th, td { vertical-align:middle; }
blockquote:before, blockquote:after, q:before, q:after { content:""; }
blockquote, q { quotes:"" ""; }
a img { border:none; }
li { list-style:none; }

/* =Global Elements
-------------------------------------------------------------- */
body { background: #00afef; color: #666; }
html {overflow-y: scroll;} 

hr { background-color: #e7e7e7; border: 0; clear: both; height: 1px; margin-bottom: 18px; }

a { text-decoration:none; }
a:link, a:visited { color:#009fdf; }
a:hover, a:active { color:#ea8314; }

.screen-reader-text { position: absolute; left: -9000px; }

.clear { clear:both; }
.l { float:left; }
.r { float:right; }

/* =Text 
-------------------------------------------------------------- */
html { font-size:100.01%; }
body { font-size:75%; font-family:"Helvetica Neue", Arial, Helvetica, sans-serif; }

.text { line-height:1.3; }
.text h1, .text h2, .text h3, .text h4, .text h5, .text h6 { clear:both; color:#000; font-weight:normal; margin-bottom:1.0em; line-height:normal; }
.text h1 { font-size:1.4em; margin-bottom:0.5em; }
.text h2 { font-size:1.3em; margin-bottom:0.5em; }
.text h3 { font-size:1.2em; }
.text h4 { font-size:1.1em; }
.text h5 { font-size:1em; font-weight:bold; }
.text h6 { font-size:1em; font-weight:bold; }
.text h1 img, .text h2 img, .text h3 img, .text h4 img, .text h5 img, .text h6 img { margin:0; }
.text p { margin:0 0 1.0em 0; }
.text p img.left { float:left; margin:1.5em 1.5em 1.5em 0; padding:0; }
.text p img.right { float:right; margin:1.5em 0 1.5em 1.5em; }
.text blockquote { margin:1.5em; font-style:italic; }
.text strong { font-weight:bold; }
.text em, .text dfn { font-style:italic; }
.text dfn { font-weight:bold; }
.text sup, .text sub { line-height:0; }
.text abbr, .text acronym { border-bottom:1px dotted #666; }
.text address { margin:0 0 1.5em; font-style:italic; }
.text del { color:#666; }
.text pre { margin:1.5em 0; white-space:pre; }
.text pre, .text code, .text tt { font:1em 'andale mono', 'lucida console', monospace; line-height:1.5; }
.text li { margin-bottom:0.4em; }
.text li ul, .text li ol { margin:0; }
.text ul, .text ol { margin:0 1.5em 1.5em 0; padding-left:2.0em; }
.text ul li { list-style-type:disc; }
.text ol li { list-style-type:decimal; }
.text dl { margin:0 0 1.5em 0; }
.text dl dt { font-weight:bold; }
.text dd { margin-left:1.5em; }
.text table { border-collapse:collapse; margin-bottom:1.4em; width:100%; }
.text th {  }
.text thead th { background:#eee; text-align:center; }
.text th, .text td, .text caption { padding:0.5em; }
.text tfoot { font-style:italic; }
.text table td { border-top:solid 1px #999; border-bottom:solid 1px #999; vertical-align:top; }
.text table.grid td { border:solid 1px #999; }
.text caption { background:#eee; }
.text .small { font-size:.8em; margin-bottom:1.875em; line-height:1.875em; }
.text .large { font-size:1.2em; line-height:2.5em; margin-bottom:1.25em; }

/* =Layout
-------------------------------------------------------------- */
#container { float: left; width:708px; }
#primary, #secondary { float: left; margin-left:20px; width: 236px; }
#primary .widget-container, #secondary .widget-container { margin: 0 0 20px 0; }

#secondary { clear: left; }
#footer { clear: both; width: 100%; }
#container #content { background:#fff; min-height:590px; }

#container.one-column { width: 100%; }
.single-attachment #content { margin: 0 auto; width: 900px; }

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#access .menu-header,
div.menu,
#branding,
#main,
#wrapper { margin: 0 auto; width: 964px; }
#wrapper { margin-top: 20px; }

/* Structure the footer area */
#footer-widget-area { background:#59cbf5; overflow: hidden; padding:10px; }
#footer-widget-area .widget-area { float:left; }
#footer-widget-area #first { width:458px; }
	#footer-widget-area #first .widget-container { float:left; }
	#footer-widget-area #first .widget_nav_menu { width:100px; }	
	#footer-widget-area #first .widget_recent_entries { width:350px; }	
	#footer-widget-area #first .widget_text { width:438px; }	
		#footer-widget-area #first .widget_text a { margin-right:4px; }
#footer-widget-area #second { width:486px; }
#footer-widget-area h3 { display:none; }

/* =Header
-------------------------------------------------------------- */
#header {  }
#site-title { font-size:2.6em; float:left; margin-bottom:20px; }
#site-title a { color: #fff; text-decoration: none; }
#site-description { color:#91defa; float:right; font-size:1.4em; text-align:right; width:620px; }

/* =Menu
-------------------------------------------------------------- */
#access { clear:both; width:100%; }
#access ul { font-size: 1.4em; }
#access li { float: left; margin-right:10px; }
#access li a { background:#59cbf5; color: #fff; display: block; line-height: 2.0em; padding: 0 10px; text-decoration: none; }
#access li:hover a { background: #fff; color: #00afef; }
#access ul li a:hover { background: #f89927; color: #fff; }
#access ul li.current_page_item a, #access ul li.current-menu-ancestor a, #access ul li.current-menu-item a,
#access ul li.current-menu-parent a { background: #fff; color: #00afef; }

.social { background:#59cbf5; float:right; padding: 3px 6px; }
	.social a { margin:0 2px; }
	.social img { vertical-align:middle; }

/* =Content
-------------------------------------------------------------- */

#main { clear:both; padding-top:30px; }
#content { padding:10px 20px; color:#333; font-size:1.4em; }

.home .sticky { background: #f2f7fc; border-top: 4px solid #000; margin-left: -20px; margin-right: -20px; padding: 18px 20px; }

.post { margin-bottom:20px; }
	.single .post { margin-bottom:20px; }

.page-title { color:#000; font-size:1.2em; font-weight:normal; margin:6px 0 1.2em 0; }

#content h1 { color: #000; font-size:1.6em; font-weight: bold; line-height:normal; margin:0; padding-bottom:8px; }
h1.entry-title { margin:0 !important; }
	h2.entry-title { color: #000; font-size:1.4em; font-weight: bold; line-height:normal; padding-bottom:8px; }
	.entry-title a:link, .entry-title a:visited { color: #000; text-decoration: none; }
	.entry-title a:hover, .entry-title a:active { color:#ea8314; }

.entry-meta { color: #888; font-size: 0.8em; }
	.entry-meta abbr, .entry-utility abbr { border: none; }
	.entry-meta abbr:hover, .entry-utility abbr:hover { border-bottom: 1px dotted #666; }
	.entry-meta a .entry-date, .entry-utility a .entry-date { color:#888; white-space:nowrap; }

.entry-content, .entry-summary { clear: both; padding:20px 0 0 0; }

.page-link { color: #000; font-weight: bold; margin: 0 0 22px 0; word-spacing: 0.5em; }
	.page-link a:link, .page-link a:visited { background: #f1f1f1; color: #333; font-weight: normal; padding: 0.5em 0.75em; text-decoration: none; }
	.home .sticky .page-link a { background: #d9e8f7; }

.edit-link { display:block; float:right; }
body.page .edit-link { clear: both;	display: block; }
.edit-link a { background:#598527; border:solid 2px #598527; color:#fff; padding:0 6px; }
	.edit-link a:hover { background:#00afef; border-color:#00afef; }

.entry-utility { border-bottom:dotted 2px #ccc; clear:both; color:#888; font-size: 0.9em; padding-bottom:20px; }
#content .video-player { padding: 0; }

.cat-links a { background:#f89927; border:solid 2px #f89927; color:#fff; padding:0 6px; }
	.cat-links a:hover { background:#00afef; border-color:#00afef; }

.text .more-link { background:#00afef; border:solid 2px #00afef; color:#fff; padding:0 6px; text-decoration:none; white-space:nowrap; }
	.text .more:more-link { background:#f89927; border-color:#f89927; color:#fff; }

.archives h2 { font-weight:bold; font-size:1.2em; margin-bottom:0.6em; }
.archives ul { margin-bottom:1em; }
.archives li { color:#999; list-style-type:disc; margin:0 0 0.4em 2em; }

.falbum-post-box { margin:0 0 1em 0; padding:0; }
	.falbum-post-box a { }
	.falbum-post-box img { border:solid 10px #eee; }

.share { height:50px; padding-top:20px; }
	.share div.si-twitter { float:left; width:130px; }
	.share div.si-fb { float:left; width:130px; }
	.share div.si-vk { float:left; width:130px; }

/* =Asides
-------------------------------------------------------------- */

.home #content .category-asides p { font-size: 14px; line-height: 20px; margin-bottom: 10px; margin-top: 0; }
.home .hentry.category-asides { padding: 0; }
.home #content .category-asides .entry-content { padding-top: 0; }

/* =Gallery listing
-------------------------------------------------------------- */

.category-gallery .size-thumbnail img { border: 10px solid #f1f1f1; margin-bottom: 0; }
.category-gallery .gallery-thumb { float: left; margin-right: 20px; margin-top: -4px; }
.home #content .category-gallery .entry-utility { padding-top: 4px; }

/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption { font-size: 140%; margin-top: 24px; }
.attachment .entry-content .nav-previous a:before { content: '\2190\00a0'; }
.attachment .entry-content .nav-next a:after { content: '\00a0\2192'; }

/* =Images
-------------------------------------------------------------- */

.text img { border:solid 10px #eee; margin: 0; height: auto; max-width: 698px; width: auto; vertical-align:middle; }
	.text img.icon { padding-right:4px; border:none; }
#content .attachment img { max-width: 900px; }
#content .alignleft, #content img.alignleft { display: inline; float: left; margin-right: 24px; margin-top: 4px; }
#content .alignright, #content img.alignright { display: inline; float: right; margin-left: 24px; margin-top: 4px; }
#content .aligncenter, #content img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
#content img.alignleft, #content img.alignright, #content img.aligncenter { margin-bottom: 12px; }
#content .wp-caption { background: #f1f1f1; line-height: 18px; margin-bottom: 20px; padding: 4px; text-align: center; }
#content .wp-caption img { margin: 5px 5px 0; }
#content .wp-caption p.wp-caption-text { color: #888; font-size: 12px; margin: 5px; }
#content .wp-smiley { margin: 0; }
#content .gallery { margin: 0 auto 18px; }
#content .gallery .gallery-item { float: left; margin-top: 0; text-align: center; width: 33%; }
#content .gallery img { border: 2px solid #cfcfcf; }
#content .gallery .gallery-caption { color: #888; font-size: 12px; margin: 0 0 12px; }
#content .gallery dl { margin: 0; }
#content .gallery img { border: 10px solid #f1f1f1; }
#content .gallery br+br { display: none; }
#content .attachment img { display: block; margin: 0 auto; }

/* =Navigation
-------------------------------------------------------------- */

.navigation { color:#888; font-size:0.9em; overflow:hidden; }
	.navigation a:link, .navigation a:visited { color:#00afef; text-decoration: none; }
	.navigation a:active, .navigation a:hover { color:#ff4b33; }
	.navigation a span { color:#888; }
	.nav-previous { float: left; width: 50%; }
	.nav-next { float: right; text-align: right; width: 50%; }
	#nav-above { display: none; margin: 0 0 18px 0; }
	.paged #nav-above, .single #nav-above { display: block; }
	#nav-below { margin:20px 0 0 0; }

/* =Comments
-------------------------------------------------------------- */
#comments { clear: both; margin-top:10px; }
h3#comments-title, h3#reply-title { border-top:1px solid #ddd; color:#000; font-size:1.2em; font-weight:bold; margin:0; padding: 10px 0 20px 0; }
h3#comments-title { }
.commentlist { list-style: none; margin: 0; }
.commentlist li { margin-bottom:20px; }
.commentlist li.comment { padding:0 0 0 46px; position:relative; }
.commentlist .avatar { position: absolute; top:0; left:0; }
.comment-author {}
.comment-author cite { color: #000; font-style: normal; font-weight: bold; }
.comment-author .says { font-style: italic; }
.comment-meta {	font-size: 12px; margin: 0 0 6px 0; }
.comment-meta a:link, .comment-meta a:visited { color: #888; text-decoration: none; }
.comment-meta a:active, .comment-meta a:hover { color: #ff4b33; }
.commentlist .even {}
.commentlist .comment-body { background:#f0f0f0; padding:10px; }
	.commentlist .comment-body p:last-child { margin:0; }
.commentlist .bypostauthor .comment-body, .comment-author-admin .comment-body  {  }
.reply { background:#f0f0f0; padding:0 10px 6px 0; font-size:0.8em; text-align:right; }
.commentlist .children { margin-top:20px; }
.nopassword, .nocomments { display: none; }
#comments .pingback { border-bottom: 1px solid #e7e7e7; margin-bottom: 18px; padding-bottom: 18px; }
#comments .pingback p { color: #888; display: block; font-size: 12px; line-height: 18px; margin: 0; }
#comments .pingback .url { font-size: 13px; font-style: italic; }

/* =Form */
input, textarea { font-family:"Helvetica Neue", Arial, Helvetica, sans-serif; line-height:normal; }
input[type=submit] { color: #333; font-size:1.2.em; padding:2px 6px; width: auto; vertical-align:middle; }
input[type="text"], textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	font-size:1.2em;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding:6px; vertical-align:middle;
}
#content input, #content textarea { color: #333; font-size: 16px; line-height: 24px; }
#respond { margin: 0 0 1em 0; overflow: hidden; position: relative; }
form p { margin-bottom: 1em; }
	form p.comment-form-comment { margin:.2em; }
.form-allowed-tags { line-height: 1em; }
.children #respond { margin: 0 48px 0 0; }
#comments-list #respond { margin: 0 0 18px 0; }
#comments-list ul #respond { margin: 0; }
#cancel-comment-reply-link { font-size: 12px; font-weight: normal; line-height: 18px; }
#respond .required { color:#ff4b33; font-weight:bold; }
label { color:#888; font-size:1em; }
input[type=text] { display:block; width: 60%; }
textarea { width:98%; }
#respond .form-allowed-tags { color:#888; font-size:0.8em; line-height:1.2em; }
#respond .form-submit { margin:0; }
.error { border:solid 4px #f00; color:#f00; padding:10px; }
#searchform div { margin-bottom:1em; }
	#searchform input { display:inline;  }
	#searchform input[type="text"] { width:200px; }

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {}
.widget-area ul ul { color:#00afef; margin:0; }
.widget-area ul ul ul { margin-left:1.3em; }
.widget_search #s { width: 60%; }
.widget_search label { display: none; }
.widget-title { color: #91defa; font-weight: bold; font-size:1.4em; padding:0 0 4px 6px; }
#primary .widget-content { background:#59cbf5; padding:10px; font-size:1.4em; }
	#primary .widget-content li { margin:4px 0; }
.widget-area a:link, .widget-area a:visited { color:#fff; }
.widget-area a:active, .widget-area a:hover {  }
.widget-area .entry-meta { font-size: 11px; }

.widget_categories .widget-title { display:none; }
.widget_categories li { line-height:1.2em; }
	#primary .widget_categories li li { font-size:0.9em; margin:2px 0; }
.widget_categories a { background:#59cbf5; border:solid 2px #59cbf5; padding:0 6px; }
	.widget_categories a:hover { background:#f89927; border-color:#f89927; color:#fff; }
.widget_categories .current-cat > a { background:#fff; border-color:#fff; color:#59cbf5; padding:0 6px; }

.widget_rss a.rsswidget { color: #000; }
.widget_rss a.rsswidget:hover { color: #ff4b33; }
.widget_rss .widget-title img { width: 11px; height: 11px; }

.falbum-widget ul { height:162px; }
	.falbum-widget ul li { float:left; width:75px; height:75px; margin:3px; }
		.falbum-widget li a { display:block; }

.widget_nav_menu { min-height:126px; }
.widget_recent_entries li, .widget_nav_menu li  { margin:0 0 4px 0; }

#main .widget-area ul {}
	#main .widget-area ul ul ul { border: none; padding: 0; }

#footer .widget-area a:hover { text-decoration:underline; }

/* =Footer
-------------------------------------------------------------- */
#footer { font-size:1.2em; padding-top:30px; margin-bottom:10px; }
#site-generator { color:#91defa; height:30px; margin:6px 6px 0 0; text-align:right; }
	#site-generator a { color:#91defa; }
		#site-generator a:hover { color:#fff; }
img#wpstats { display: block; margin: 0 auto 10px; }

#access a, #container #content, #primary .widget-content, #footer-widget-area, .error, .social { -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; behavior: url(/wp-content/themes/thinking4/PIE.php); }
.cat-links a, .edit-link a, .widget_categories a, .more-link { -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; behavior: url(/wp-content/themes/thinking4/PIE.php); }

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre { -webkit-text-size-adjust: 140%; }
code { -webkit-text-size-adjust: 160%; }
#access, .entry-meta, .entry-utility, .navigation, .widget-area { -webkit-text-size-adjust: 120%; }
#site-description { -webkit-text-size-adjust: none; }

/* =Print Style
-------------------------------------------------------------- */

@media print 
{
	body { background: none !important; }
	#wrapper { clear: both !important; display: block !important; float: none !important; position: relative !important; }
	#header { border-bottom: 2pt solid #000; padding-bottom: 18pt; }
	#footer { border-top: 2pt solid #000; }
	#site-title, #site-description { float: none; line-height: 1.4em; margin: 0; padding: 0; }
	#site-title { font-size: 13pt; }
	.entry-content { font-size: 14pt; line-height: 1.6em; }
	.entry-title { font-size: 21pt; }
	#access, #branding img, #respond, .comment-edit-link, .edit-link, .navigation, .page-link, .widget-area { display: none !important; }
	#container, #header, #footer { margin: 0; width: 100%; }
	#content, .one-column #content { margin: 24pt 0 0; width: 100%; }
	.wp-caption p { font-size: 11pt; }
	#site-info, #site-generator { float: none; width: auto; }
	img#wpstats { display: none; }
	#site-generator a { margin: 0; padding: 0; }
	#entry-author-info { border: 1px solid #e7e7e7; }
	#main { display: inline; }
	.home .sticky { border: none; }
}