/*
Theme Name: Vaclav Smil
Theme URI: http://vaclavsmil.com
Description: Theme for Vaclav Smil's personal website
Author: Slobodan Manic
Author URI: http://slobodanmanic.com
Tags: YUI, CMS, Amazon
*/


@import "css/reset-min.css";
@import "css/fonts-min.css";
@import "css/grids-min.css";


/* GENERAL STYLES */
html						{ background:url(images/pattern_smil.png); }
body						{ line-height:1.35; font-family:Verdana, Geneva, sans-serif; }
#wrapper					{ background:#fff url(images/bg_wrapper.png) top repeat-x; padding-top:2em; margin-bottom:2em; -moz-box-shadow:0 0 20px #999; -webkit-box-shadow:0 0 20px #999; box-shadow:0 0 20px #999; }
#hd, #hd a, #ft, #ft a		{ color:#fcffdb; }
.alignleft					{ text-align:left; }
.aligncenter				{ text-align:center; }
.alignright					{ text-align:right; }
:focus						{ outline:none; }
.small						{ font-size:85%; }
strong						{ font-weight:bold; }
em							{ font-style:italic; }


/* HEADER STYLES */
#hd							{ font-family:Georgia, "Times New Roman", Times, serif; margin-bottom:1em; }
#hd-top						{ position:relative; height:86px; background:url(images/bg_header.png); }
#hd-top h1					{ font-size:34px; line-height:1; padding:14px 15px 5px; }
#hd-top h2					{ font-size:16px; line-height:1; margin-left:15px; }
#hd-search					{ position:absolute; bottom:15px; right:10px; width:246px; height:22px; background:url(images/bg_search.png); }
#searchform					{ position:relative; }
.screen-reader-text			{ display:none; }
#searchform #s				{ position:absolute; left:0; top:0; padding:3px; font-family:Georgia, "Times New Roman", Times, serif; line-height:1; font-size:13px; color:#4a4043; width:202px; background:none; border:none; } 
#searchform #searchsubmit	{ position:absolute; top:0; right:0; font-family:Georgia, "Times New Roman", Times, serif; border:none; padding:0; background:none; color:#fff; line-height:22px; width:28px; height:22px; text-align:center; }
/* main navigation */
#main-nav					{ overflow:auto; margin-left:1em; }
#main-nav li				{ float:left; display:block; }
#main-nav li a				{ display:block; background:url(images/bg_tabs.png) bottom center; margin-right:3px; color:#fff; padding:0 1em; font-size:14px; line-height:30px; text-decoration:none; }
#main-nav li a:hover, .category-books .main-books a, .category-articles .main-articles a, .category-publications .main-publications a, .category-about .main-about a, .category-news .main-news a, .home .main-home a { background:url(images/bg_tabs.png) top center !important; color:#fcffdb !important; }
#main-nav li.first a:hover, .home .main-home a { background:url(images/bg_tabs.png) top left !important; color:#fcffdb !important; }
#main-nav li.last a:hover, .category-contact .main-contact a { background:url(images/bg_tabs.png) top right !important; color:#fcffdb !important; }

#main-nav li.first a		{ background-position:bottom left; }
#main-nav li.first a:hover	{ background-position:top left; }
#main-nav li.last a			{ background-position:bottom right; }
#main-nav li.last a:hover	{ background-position:top right; }

/* CONTENT AREA STYLES */
#bd							{ background:url(images/page_flip.png) bottom right no-repeat; padding:0 1em 75px; }
.content-module				{ position:relative; border:3px solid #eef1cf; padding:1em; -moz-box-shadow:3px 3px 3px #ddd; -webkit-box-shadow:3px 3px 3px #ddd; box-shadow:3px 3px 3px #ddd; margin-bottom:3em; background:#fff url(images/bg_module.png) repeat-x top; }
.content-module:after		{ clear:both; content:' '; display:block; font-size:0; line-height:0; visibility:hidden; width:0; height:0; }
.post-wrapper				{ overflow:hidden; }
.absolute-heading a			{ position:absolute; top:-24px; left:-3px; height:21px; line-height:21px !important; text-align:center; font-size:12px !important; color:#fff !important; font-weight:normal !important; font-family:Georgia, "Times New Roman", Times, serif; margin:0; padding:0; text-decoration:none; display:block; }
	.ah-books a				{ width:135px; background:url(images/bg_heading_books.png); }
	.ah-news a				{ background:url(images/bg_heading_news.png); width:62px; text-align:left !important; text-indent:5px; top:-21px !important; left:0 !important; }
	.ah-news-archive a		{ width:135px; background:url(images/bg_heading_books.png); margin:0 auto; text-align:center; color:#fff; font-family:Georgia, "Times New Roman", Times, serif; line-height:21px; height:21px; font-size:12px; text-decoration:none; display:block; }
.page-title					{ font-size:182% !important; font-family:Georgia, "Times New Roman", Times, serif; color:#7f0720; font-weight:bold; margin-bottom:1.5em !important; }
.title-with-date			{ margin-bottom:0.2em !important; }
.post-date					{ margin-bottom:26px !important; }
.post-meta					{ margin-bottom:2em; border-bottom:1px dotted #ddd; border-top:1px dotted #ddd; padding:1em 0.5em 0; background:#fffbef; color:#3f3b2f; }
.content-module p, .content-module ul, .content-module ol, .content-module h2, .content-module h3, .content-module h4, .content-module h5, .content-module h6 { margin-bottom:1em; }
.content-module h2, .content-module h3, .content-module h4, .content-module h5, .content-module h6 { font-family:Georgia, "Times New Roman", Times, serif; color:#b9213f; font-weight:bold; }
	.title a				{ color:#cf3353; }
	.title a:visited		{ color:#df5370; }
	.title a:hover			{ color:#000; }
	.title a:active			{ position:relative; top:1px; }
.content-module h2			{ font-size:161.6%; }
.content-module h3			{ font-size:138.5%; }
.content-module h4			{ font-size:116% }
.content-module h6			{ font-size:85%; }
.content-module ul li		{ list-style:disc outside; margin-left:2em; margin-bottom:0.3em; }
.content-module ol li		{ list-style:decimal outside; margin-left:2.5em; margin-bottom:0.3em; }
.content-module blockquote	{ margin:1.5em; padding-left:0.5em; border-left:3px #ccc solid; color:#666; font-style:italic; }
.search-post				{ padding-bottom:1em; border-bottom:1px dotted #ccc; margin-bottom:2em; }
.read-more-link				{ display:block; margin:0 0 0 auto; width:102px; height:34px; line-height:26px; font-size:12px; font-family:Georgia, "Times New Roman", Times, serif; color:#fff; background:url(images/bg_read_more.png); text-indent:28px; text-decoration:none; }
.read-more-link:hover		{ background-position:0 -34px; }
.page-navigation			{ overflow:hidden; }
.page-navigation .next		{ width:49%; float:right; }
.page-navigation .previous	{ width:49%; float:left; }
.page-navigation a			{ display:block; color:#fff; font-size:12px; line-height:21px; font-family:Georgia, "Times New Roman", Times, serif; text-decoration:none; }
.page-navigation .next a { background:url(images/bg_next_page.png); width:98px; height:21px; margin:0 0 0 auto; text-indent:6px; }
.page-navigation .previous a { background:url(images/bg_previous_page.png); width:121px; height:21px; text-indent:26px; }

/* tabs */
#tabs-list						{ margin-bottom:0 !important; overflow:hidden; }
#tabs-list li					{ display:block; float:left; margin-right:0.5em; margin-left:0; margin-bottom:0; }
#tabs-list li a					{ display:block; background:url(images/bg_book_tabs.png) repeat-x 0 -31px; text-decoration:none; font-size:93%; font-weight:bold; line-height:31px; padding:0 0.75em; color:#666; }
#tabs-list li a:hover			{ color:#121212; }
#tabs-list li.active a			{ background:url(images/bg_book_tabs.png) repeat-x 0 0; color:#fff; }
#tabs-content					{ background:#fcfaef; border:1px solid #ccc; color:#333; padding:1em; }
.tab-cont						{ font-size:93%; line-height:1.4; }
#tabs-content ul, #tabs-content ol { margin-left:2.5em; margin-right:1.5em; }
#tabs-content ul li				{ list-style:disc outside; margin-bottom:0.3em; }
#tabs-content ol li				{ list-style:decimal outside; margin-bottom:0.3em; }
#tabs-content blockquote		{ margin:2em 2em 2em 1em; padding-left:1em; border-left:3px solid #999; color:#666; font-style:italic; font-size:116.7%; }

/* SIDEBAR AREA STYLES */
.sidebar-module				{ border:3px solid #eef1cf; padding:0.5em 0.5em 0; margin-bottom:2em; -moz-box-shadow:3px 3px 3px #ddd; -webkit-box-shadow:3px 3px 3px #ddd; box-shadow:3px 3px 3px #ddd; background:#fff url(images/bg_module.png) repeat-x top; }
.sidebar-module h3			{ font-size:108%; font-weight:bold; margin-bottom:1em; }
.sidebar-module p, .sidebar-module ul, .sidebar-module ol { margin-bottom:1em; }
.sidebar-module li			{ margin-bottom:0.5em; }
.sidebar-module .list-with-dates li	{ overflow:hidden; display:block; padding-bottom:13px; margin-bottom:13px; border-bottom:1px solid #eee; }
.sidebar-module .list-with-dates li:hover { border-bottom:3px solid #bbb; padding-bottom:11px; }
.sidebar-module .list-with-dates li .date { float:left; width:30px; background:url(images/bg_sidebar_date.png); font-size:10px; text-transform:uppercase; text-align:center; padding:0.5em 0; }
.sidebar-module .list-with-dates li a { margin-left:40px; display:block; color:#000; text-decoration:none; }
.sidebar-module .list-with-dates li .title { font-size:108%; font-family:Verdana, Geneva, sans-serif; display:block; margin-bottom:0.5em; }
.sidebar-module .list-with-dates li .excerpt { font-size:85%; font-family:Verdana, Geneva, sans-serif; display:block; }
.sidebar-book-module		{ margin-right:28px; }
.sidebar-book-cover			{ margin-bottom:1em; }
.sidebar-title				{ color:#b9213f; font-family:Georgia, "Times New Roman", Times, serif; font-size:123.1%; font-weight:bold; margin-bottom:0.5em; }
.sidebar-list, .blogroll	{ margin-bottom:0.3em; }
.sidebar-list li, .blogroll li { margin-bottom:0; }
.sidebar-list a, .blogroll a { display:block; padding:10px 2px; color:#222; text-decoration:none; border-bottom:1px solid #eee; }
.sidebar-list a:hover, .blogroll a:hover { padding-bottom:8px; border-bottom:3px solid #bbb; }

/* FOOTER STYLES */
#ft							{ background:url(images/bg_footer.png) center; height:47px; color:#fcffdb; padding:0 20px; font-family:"Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", sans-serif; line-height:1; }
#ft a						{ text-decoration:none; }
#ft a:hover					{ border-bottom:1px dotted #161616; }
#ft a:active				{ position:relative; top:1px; }
#copyright					{ font-size:85%; }
#ft-nav						{ text-align:right; margin-top:16px; }
#ft-nav li					{ display:inline; font-size:85%; margin-left:10px; }
#ft-olibro					{ margin:5px 0 0 15px; }
#ft-olibro a				{ display:block; width:184px; height:36px; background:url(images/ft_olibro.png); text-indent:-9999em; }
#ft-olibro a:hover			{ background-position:0 -36px; border-bottom:none !important; }

/* IMAGES */
.alignright			{ float:right; margin:0 0 0.5em 1em; }
.alignleft			{ float:left; margin:0 1em 0.5em 0; }
.aligncenter		{ display:block; margin-left:auto; margin-right:auto; margin-bottom:1em; }
.wp-caption			{ border:1px solid #bbbf8f; text-align:center; background:#fffbef; padding:4px 0; }
.wp-caption img		{ border:1px solid #bbbf8f; }
p.wp-caption-text { margin-bottom:0 !important; font-size:85%; line-height:2; text-align:center !important; }

/* CFORMS OVERRIDE */
.linklove					{ display:none; }
#cformsform	 *				{ font-family:Verdana, Geneva, sans-serif !important; }

/* CAROUSEL STYLES */
.infiniteCarousel { width: 637px; height:260px; margin-bottom:16.3px; position: relative; }
.infiniteCarousel .carouselWrapper { width: 540px; overflow: hidden; height: 269px; margin: 0 45px; position: absolute; top: 10px; }
.infiniteCarousel ul a img { border: 2px solid #e5e5e5; padding: 3px; }
.infiniteCarousel .carouselWrapper ul { width: 9999px; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0; padding:0; position: absolute; top: 0; }
.infiniteCarousel ul li { display:block; float:left; height: 215px; width: 180px; text-align:center; margin-left:0 !important; }
.infiniteCarousel ul li span { margin:0 auto; width:150px; display:block; }
.infiniteCarousel a { text-decoration:none !important; color:#121212; font-size:11px; }
.infiniteCarousel ul li a img { display:block; margin:0 auto 5px; }
.infiniteCarousel .arrow { display: block; height: 38px; width: 17px; background-repeat:no-repeat; background-position:0 0; text-indent: -9999px; position: absolute; top: 130px; cursor: pointer; border-bottom:none; }
.infiniteCarousel .forward { background-position: -17px -38px; right: 15px; }
.infiniteCarousel .back { background-position: 0 -38px; left: 15px; }
.infiniteCarousel .forward:hover { background-position: -17px 0; }
.infiniteCarousel .back:hover { background-position: 0 0; }
.infiniteCarousel ul a:hover img, .infiniteCarousel ul li a.active img { border:2px solid #6f654c; }
.infiniteCarousel .arrow { background-image:url(images/btn_carousel.png); }

.pdf-link					{ padding-left:22px; background:url(images/pdf-16x16.gif) left center no-repeat; display:inline-block; margin-left:5px; font-weight:bold; }
