/*   
Theme Name: Elegance
Theme URI: http://www.bubi.si/
Description: Small, elegant theme for Wordpress 3.1
Author: Luka Oman
Author URI: http://luka.bubi.si/
Version: 1.4.2
.
Licence: GLP
.
ToDo:
	- izboljšanje kode
.
News:
	1.4.2:
		- optimizacija strani
		- optimizacija kode
	1.4.1:
		- popravek code in del oznak
	1.4:
		- popravek poravnave QR kode v povzetku na majhnih zaslonih
		- popravek poravnave besedila o avtorju na majhnih zaslonih
	1.3:
		- izpostavljen članek se spreminja glede na kategorijo, tag, ... v katerem se nahajamo
		- postavitev belega okvirja okoli uvodnih člankov
*/

/*********************************/
/* main html tags for the whole page */
/*********************************/
html {
	margin:0;
	padding:0;
	border:5px solid #fff;
	min-width:950px;
}
body {
	margin:0;
	padding:0;
	font-size:100%;
	text-align:center;
	background-color:#FFFFE6;
	border:5px solid #990000;
}
a {
	color:#D63600;
	text-decoration:underline;
	text-shadow:4px 4px 2px #C4C4C4;
	font-weight:bold;
}
a:hover {
	color:#990000;
	text-decoration:none;
}
h1, h2, h3, h4 {
	margin:0;
	padding:0;
	margin-top:15px;
	font-family:Promocyja;
	font-weight:normal;
	line-height:80%;
	text-shadow:5px 5px 2px #c4c4c4;
	clear:both;
}
h2, h3, h4 {
	padding-left:25px;
	text-align:left;
}
h1 {
	font-size:3.0em;
	text-align:center;
}
h2 {
	font-size:2.5em;
}
h3 {
	font-size:2.0em;
}
h4 {
	font-size:1.5em;
}
h1 a, h2 a, h3 a, h4 a {
	color:#000000;
	text-decoration:none;
	font-weight:normal;
}

p {
	line-height:200%;
	text-align:justify;
	font-size:0.9em;
	font-family:OldStandard;
}
p:first-letter {
	font-size:1.5em;
	padding-left:25px;
	font-family:OldStandard;
	font-weight:bold;
}
p:first-line {
	text-transform:uppercase;
}
ul, ol {
	line-height:200%;
	text-align:justify;
	font-size:0.9em;
	font-family:OldStandard;
}
hr {
	color:#990000;
	background-color:#990000;
}
pre, blockquote, table, code, cite {
	display:block;
	margin:5px;
	padding:0;
	padding-left:10px;
	padding-right:10px;
	margin-left:auto;
	margin-right:auto;
	background-color:#fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:1px solid #900;
	width:90%;
	white-space:normal;
	line-height:150%;
	text-align:justify;
	font-family:OdStandard;
	font-size:1.0em;
}
pre:hover, blockquote:hover, table:hover, code:hover, cite:hover {
	background-color:#ffffe6;
}
code {
	font-family:LiberationMono;
	line-height:150%;
	font-size:0.9em;
	font-weight:normal;
}
td {
	font-family:OldStandard;
	font-size:0.9em;
	line-height:100%;
}
pre p:first-line, blockquote p:first-line, cite:first-line {
	margin:0;
	padding:0;
	text-transform:none;
	line-height:150%;
}
pre p:first-letter, blockquote p:first-letter, cite:first-letter {
	margin:0;
	padding:0;
	font-family:OldStandars;
	line-height:150%;
	font-size:1.0em;
}
cite {
	text-align:center;
}
code:first-line {
	text-transform:none;
}
del code  {
	text-decoration: line-through;
}
/**************/
/* main classes */
/**************/
.clear-both {
	clear:both;
}

/**********/
/* wrapper */
/**********/
#wrapper {
	margin:0;
	padding:0;
	width:80%;
	margin-left:auto;
	margin-right:auto;
	text-align:justify;
}

/*********/
/* header */
/*********/
#header {
	border-bottom:2px solid #990000;
	height:80px;
}
#header h1, #header h1 a {
	float:left;
	width:200px;
	text-align:center;
	margin:0;
	padding:0;
	line-height:100%;
	margin-top:5px;
	margin-bottom:-25px;
	font-family:Promocyja;
	font-weight:normal;
	color:#990000;
}
#header h1 {
	font-size:5.0em;
}
#header h1 a:hover {
	text-decoration:underline;
	color:#D63600;
}
#header #description {
	margin:0;
	padding:0;
	margin-top:20px;
	float:right;
	width:400px;
	text-align:center;
	font-family:Promocyja;
	font-size:1.8em;
	font-weight:normal;
	line-height:80%;
	text-shadow:5px 5px 2px #c4c4c4;
}
#header #description:first-letter {
	font-size:1.5em;
}

/************/
/* main menu */
/************/
#menu {
	padding:0;
	margin:0;
	font-family:OldStandard;
	font-size:1.0em;
	text-transform:uppercase;
	text-align:center;
	font-weight:bold;
	border-bottom:2px solid #990000;
}
#menu ul {
	padding:0;
	margin:0;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}
#menu li {
	padding:0;
	margin:0;
	margin-left:auto;
	margin-right:auto;
	padding-left:5px;
	padding-right:5px;
	bordex:1px solid #000;
	display:inline;
}
#menu li a {
	text-decoration:none;
}
#menu li a:hover, #menu li.current-menu-item a {
	border-bottom:6px solid #990000;
}

/*****************/
/* post navigation */
/*****************/
#content #post_navigation {
	padding-top:5px;
}
#content #post_prev {
	float:left;
	width:40%;
	margin-bottom:15px;
}
#content #post_next {
	float:right;
	width:40%;
	margin-bottom:15px;
}

/**********/
/* content */
/**********/
#content {
	text-align:center;
}
#content .date {
	font-family:Gentium;
	font-weight:bold;
}
#content div.first-post {
	margin:0;
	padding:0;
	margin-left:auto;
	margin-right:auto;
	padding-top:15px;
	width:60%;
	padding-left:20%;
	padding-right:20%;
	border-bottom:2px solid #990000;

}
#content div.first-post p, #content div.other-post p {
	margin-top:-5px;
	font-size:1.0em;
	text-align:center;
}
#content div.first-post p:first-letter, #content div.other-post p:first-letter {
	font-size:1.0em;
	padding-left:0;
	font-family:OldStandard;
	font-weight:normal;
}
#content div.first-post p:first-line, #content div.other-post p:first-line {
	text-transform:none;
}

#content div.other-post {
	margin-left:5%;
	margin-right:5%;
	margin-bottom:15px;
	float:left;
	width:39%;
	min-height:250px;
	border:2px solid #ffffff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#content div.other-post:hover {
	border:2px solid #990000;
}

#content .wp-caption {
	margin:5px;
	padding:5px;
	padding-bottom:0;
	margin-left:auto;
	margin-right:auto;
	border:1px solid #900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color:#fff;
	text-transform:none;
	line-height:100%;
}
#content .alignleft {
	margin-right:15px;
	float:left;
}
#content .alignright {
	margin-left:15px;
	float:right;
}
#content .gallery-caption {
	text-align:center;
	font-size:0.9em;
	font-family:OldStandard;
}
#content .wp-caption:hover {
	background-color:#ffffe6;
}
#content .wp-caption p {
	margin:0;
	padding:5px;
	text-align:center;
}
#content a img {
	border:0px solid #000;
}
#content .wp-caption p:first-line {
	text-transform:none;
	line-height:100%;
}
#content .wp-caption p:first-letter {
	font-size:1.0em;
	font-family:OldStandard;
	font-weight:normal;
	margin:0;
	padding:0;
}

#content .gallery {
	width:100%;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:1px solid #900;
}
#content ul, #content ol {
	text-align:justify;
}
#content div.article-text {
	margin-left:auto;
	margin-right:auto;
	width:80%;
}
.article {
	margin:0;
	padding:0;
	padding-bottom:25px;
}
.povzetek {
	padding:10px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:15px;
	width:80%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border:2px solid #900;
	background-color:#ffffff;
	
}
.povzetek p {
	text-align:center;
}
.povzetek p:first-line {
	text-transform:none;
	line-height:100%;
}
.povzetek p:first-letter {
	font-size:1.0em;
	font-family:OldStandard;
	font-weight:normal;
	margin:0;
	padding:0;
}
.pov-besedilo {
	margin:0;
	padding:0;
	float:left;
	width:77%;
	min-width:300px;
}
.qr-slika {
	margin:0;
	padding:2px;
	float:right;
	width:10%;
	min-width:100px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:1px solid #900;
}
#content div.first-post p.bubble-more, #content div.other-post p.bubble-more {
	margin:0;
	padding:0;
	font-size:0.8em;
	font-style:italic;
	text-align:center;
}
#content p object {
	display:block;
	text-align:center;
	width:100%;
}
#content embed {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}

ol.footnotes {
	clear:both;
}
/***********/
/* comments */
/***********/
ol.commentlist {
	margin:0;
	padding:0;
	list-style:none;
}
li.comment {
	margin:5px;
	padding:10px;
	margin-left:auto;
	margin-right:auto;
	list-style:none;
	border:1px solid #900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	width:80%;
}
li.comment.even {
	background-color:#fff;
}
li.comment.odd {
	background-color:#ffffe6;
}
li.comment div.comment-author img {
	padding:5px;
	float:right;
	border:1px solid #900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
li.comment div.commentmetadata {
	font-size:1.0em;
	font-family:Gentium;
	font-weight:bold;
}
li.comment p:first-line {
	margin:0;
	padding:0;
	text-transform:none;
	line-height:150%;
}
li.comment p:first-letter {
	margin:0;
	padding:0;
	font-family:OldStandars;
	line-height:150%;
	font-size:1.0em;
	font-weight:normal;
}
.reply {
	font-size:1.1em;
}

/**********/
/* respond */
/**********/
#respond {
	margin:5px;
	padding:10px;
	width:100%;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	border:1px solid #900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#respond p {
	text-align:center;
}
#respond p:first-line {
	margin:0;
	padding:0;
	text-transform:none;
	line-height:150%;
}
#respond p:first-letter {
	margin:0;
	padding:0;
	font-family:OldStandars;
	line-height:150%;
	font-size:1.0em;
	font-weight:normal;
}
cite.fn, cite.fn:hover {
	margin:0;
	padding:0;
	text-align:left;
	border:0px solid #000;
	background-color:transparent;
}
#respond form {
	margin:0;
	padding:0;
	margin-left:auto;
	margin-right:auto;
	width:50%;
}
#respond input {
	width:100%;
}
#respond textarea {
	width:98%;
}

/***************/
/* about author */
/**************/
#avtor {
	margin:0;
	padding:0;
	padding:10px;
	min-height:150px;
	border-top:2px solid #990000;
	font-family:Gentium;
	font-size:0.9em;
	line-height:150%;
}
#author-image-left {
	float:left;
	margin-right:20px;
}
#author-image-right {
	float:right;
	margin-left:20px;
}
#avtor p {
	margin:0;
	padding:0;
	margin-left:240px;
	margin-right:240px;
}

/*********/
/* footer */
/*********/
#footer {
	margin:0;
	padding:0;
	border-top:2px solid #990000;
	min-height:250px;
	font-family:Gentium;
	color:#000000;
	text-shadow:none;
	line-height:100%;
	font-size:0.8em;
	font-weight:normal;
	text-align:left;
}
#footer .title {
	margin:0;
	padding:0;
	padding-top:10px;
	text-align:center;
	font-size:1.8em;
	font-weight:normal;
	line-height:80%;
	font-family:Promocyja;
	text-shadow:5px 5px 2px #c4c4c4;
}
#footer a {
	color:#900;
	text-decoration:none;
	font-weight:normal;
}
#footer a:hover {
	color:#D63600;
}
#footer ul {
	margin:10px;
	padding:0;
	list-style:none;
}
#footer li {
	margin:0;
	padding:0;
	padding-bottom:7px;
	line-height:100%;
}
#footer div.widget_recent_comments, #footer div.widget_links, #footer div.widget_recent_entries, #footer div.widget_search, #footer div.widget_meta {
	float:left;
	width:20%;
}

/*********/
/* Arhiv */
/*********/
#sya_container ul {
	list-style:none;
}

