/*   
Theme Name: Tekstiilikoda
Theme URI: http://www.tekstiilikoda.ee
Description: A theme developed specially for Tiina Sutt from Tekstiilikoda
Author: Karl Sutt
Author URI: http://www.mosca.ee
Version: 1.0

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, ul, ol, 
dl, dt, dd, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ul, ol {
	list-style: none;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}








/** page-wrapi seadistamine **/
div#page-wrap {
	width: 960px;
	margin: 0 auto;
}







/** header **/
h1#logo {
	margin-top: 10px;
	margin-left: 65px;
	background: url(img/logo2.jpg) no-repeat;
	width: 520px;
	height: 201px;
}

h1#logo a {
	text-indent: -9999px;
	display: block;
	width: 520px;
	height: 201px;
}








/** menu **/

#nav {
	margin-top: 40px;
	border-bottom: 1px solid #c6c599;
	position: relative;
	padding-bottom: 10px;
	z-index: 5;
}

#nav .page_item {
	display: inline;
	font-size: 1.1em; 
	font-family: Garamond, "Palatino Linotype", serif;
	text-decoration: none;
	color: #c6c599;
	font-weight: bold;
	padding: 5px 10px 8px 10px;
	position: relative;
	margin-right: 5px;
}

#nav .page_item:hover {
	background: #fff;
	border: 1px solid #c5c599;
	border-bottom: none;
	padding: 5px 9px 9px 9px;
}

#nav .page_item:hover a {
	background: white;
}

#nav .page_item a {
	text-decoration: none;
	color: #c6c599;
}

#nav .page_item a:hover {
	color: #c02928;
}

#nav .current_page_item, #nav .current_page_parent {
	border: 1px solid #c6c599;
	border-bottom: none;
	background: white;
	padding: 5px 9px 9px 9px;
}

#nav .current_page_item a, #nav .current_page_parent a {
	color: #c02928;
}

#nav .current_page_item:hover, #nav .current_page_parent:hover {
	padding: 5px 9px 9px 9px !important;
	border-bottom: none !important;
}

#nav .page_item ul {
	display: none;
	position: absolute;
	top: 34px;
	left: -1px;
	margin: 0;
	padding: 0;
	width: 250px;
	background: #FFF;
	border: 1px solid #c6c599;
	z-index: -99999;
}

#nav .page_item:hover ul, 
#nav .current_page_item:hover ul, 
#nav .current_page_parent:hover ul {
	display: block;
}

#nav .page_item ul .page_item, 
#nav .page_item ul .page_item a
#nav .page_item ul .page_item:hover a, 
#nav .page_item ul .page_item a:hover,
#nav .page_item ul .page_item:hover {
	padding: 0;
	background: none !important;
	margin: 0 !important;
	border: none !important;
}

#nav .page_item ul .page_item {
	display: block;
	font-size: 0.9em; 
	font-family: Garamond, "Palatino Linotype", serif;
	text-decoration: none;
	color: #c6c599;
	padding: 10px;
}

#nav .page_item ul .page_item:hover {
	padding: 10px;
}

#nav .page_item ul .page_item a {
	color: #c6c599;
}

#nav .page_item ul .page_item a:hover,
#nav .page_item ul .current_page_item a {
	color: #c02928;
}

#nav .page_item ul .current_page_item:hover {
	color: #c02928;
	padding: 10px 10px 8px 10px !important;
}




/** menu elementide seadistus **/

#nav #search {
	position: absolute;
right: 0;
margin: 0;
padding: 0;

}

#nav #search:hover {
border: none;
}

#nav #search span {
	font: 1.1em Garamond, "Palatino Linotype", serif;
	text-decoration: none;
	color: #c6c599;
	font-weight: bold;
}

.page_item #search-form {
	display: inline;
}

input#s {
	border: 1px solid #c9d2ac;
	padding: 5px;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.7em;
	margin-left: 5px;
	width: 180px;
	color: #c9d2ac;
}










/** MAIN CONTENT **/

div#main-content{
	border: 1px solid #c9d2ac;
	border-top: 0;
	clear: both;
	overflow: hidden;
}

div#content {
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.78em;
	line-height: 1.8em;
	text-align: justify;
	width: 610px;
	padding: 20px 20px 20px 20px;
	float: left;
	color: #797e68;
}

#content a {
	color: #c02928;
	text-decoration: none;
}

#content a:hover {
	text-decoration: underline;
}

div#content p {
	margin-bottom: 1.4em;
	margin-top: 1.3em;
}

#content .meta {
	font-size: 0.9em;
	margin-left: 0.9em;
	display: block;
	line-height: 1.4em;
}

#content .post-item .meta {
	font-size: 0.76em;
	margin-left: 0.9em;
	display: block;
	line-height: 1.4em;
}

.post-item{
	margin-bottom: 1.4em;
	display:block;
	position: relative;
	clear:both;
	overflow: hidden;
}

div#content h1, div#content h2, div#content h3, div#content h4, div#content h5 {
	color: #727b54;
	font-family: Garamond, "Palatino Linotype", Georgia, serif;
	font-weight: bold; 
	
}

#content h2, #content h1 {
	font-size: 2.3em;
	line-height: 1.1em;
	margin-top: 1.2em;
}

#content .post-item h2 {
	line-height: 1.1em;
	margin-top: 1.2em;
	margin-bottom: 0.4em;
}

#content h3 {
	font-size: 1.9em;
	line-height: 2.0em;
}

#content h4 {
	font-size: 1.4em;
	line-height: 1.7em;
}

#content ul, #content ol {
	margin: 1em 0 1em 3em;
}

#content ul {
	list-style: disc;
}

#content ol {
	list-style: decimal;
}

div.wp-caption {
	background: #EEEEEE;
	border: 1px solid #D7D7D7;
	padding: 5px;
	padding-top: 10px;
	padding-bottom: 0;
	text-align: center;
	margin: 20px;
}
p.wp-caption-text {
	padding: 0;
}

div.alignleft {
	float: left;
	margin-left: 0;
}

#content a.more-link {
	padding: 4px 5px 4px 5px;
	background: #c02928;
	color: #FFF;
	float: right;
	margin-top: 14px;
	font-family: "Palatino Linotype", Garamond, Georgia, serif;
	font-size: 1.0em;
	text-decoration: none;
}








/** SIDEBAR **/

div#sidebar {
	width: 290px;
	padding-top: 50px;
	float: right;
}

#sidebar #sidebar-ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidebar img#tiinapilt {
	margin: 15px;
	margin-left: 0;
	margin-top: 0;
	float: left;
	padding: 3px;
	border: 1px solid #c6c599;
}

#sidebar-minust {
	margin-top: 20px;
	margin-bottom: 30px;
	color: #797e68;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.75em;
	line-height: 1.4em;
	text-align: justify;
	padding-right: 20px;
}

li.widget {
	margin-top: 40px;
}

li.flickrpress {
	margin-top: 60px;
}

#sidebar #sidebar-ul li.widget ul {
	list-style: none;
	margin-top: 15px;
	padding: 0;
	margin-left: 0;
}

li.widget ul li {
color: black;
border-bottom: 1px solid #e0e0e0;
border-top: 1px solid #f0f0f0;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 20px;
margin-right: 20px;
}



li.widget ul li a {
font-family: "Palatino Linotype", Garamond, Georgia, serif;
font-size: 0.85em;
color: #797e68;
text-decoration: none;
}

li.widget ul li a:hover {
	color: #c02928;
}

#sidebar h2.widgettitle, #sidebar h2.widgettitle a {
	display: inline;
	margin: 0;
	padding: 5px;
	background: #c9d2ac;
	color: #FFF;
	font-family: "Palatino Linotype", Garamond, Gerogia, serif;
	font-size: 0.9em;
}

#sidebar .flickr_item {
	margin-right: 5px;
}

#sidebar .flickrpress-container {
	margin-top: 25px;
}







/** KOMMENTAARID **/


#content div#comments-div {
	margin-top: 5.9em;

}

div#comments-div h3 {
	font-size: 1.5em;
	margin-bottom: 1.3em;

}

#content ul.comments-ul {
	list-style: none;
	margin: 0;
}


div.main_comment {
	background: #F3F3F3;
	clear: left;
	overflow: hidden;
	margin-right: 40px;
	margin-bottom: 40px;
	padding: 10px;
	line-height: 1.6em;
}

div.main_comment img {
	float: left;
	margin: 5px 20px 20px 5px;
}

div.main_comment img.wp-smiley {
	float: none;
	margin: 0;
}

div#respond input, div#respond textarea {
	border: 1px solid #c9d2ac;
	padding: 5px;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.9em;
	color: #c9d2ac;
	background: #FFF;
}



div#respond input#submit {
	color: #c02928;
}

div#respond small {
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.8em;
}






/** FOOTER **/

div#footer .textwidget {
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.76em;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #a6a56d;
}





/* 

IMAGES CONTROL 
____________________________*/


.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it*/ 
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/*

NOTICES
______________________________________
*/

#content .info, #content .success, #content .warning, #content .error, #content .validation {
	border: 1px solid;
	margin: 5px 0;
	padding:15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	position: absolute;
	width: 980px;
}

#content .success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image:url('img/success.png');
	display: none;
}
#content .error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('img/error.png');
	display: none;
}



/** HACKS 'n' MODS **/
div#clearfix {
	height: 0px;
	clear: both;
}



