/*
Theme Name: Kinnisvarakool
Version: 1
Description: Kinnisvarakool.ee theme
Tags: Cool, Vinge, Lahe
*/

/* -standards- */

* {
	margin: 0 auto;
}
body {
	background: #ffffff;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

a {
	color: #3B5998;
	text-decoration: none;
}
cite {
	font-style: normal;
}
cite a {
	color: #3B5998;
	font-style: normal;
}
code {
	font-size: 1.1em;
	line-height: 1.3em;
}
h1 {
	font-size: 2em;
	font-weight: normal;
}
h2 {
	font-size: 1.5em;
	font-weight: normal;
}
p {
	line-height: 1.5em;
	text-align: justified;
	margin-bottom : 3px;
	margin-top : 15px;
}
pre {
	background: #252525;
	border: 1px solid #303030;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 1.2em auto;
	overflow: auto;
	padding: 10px;
	width: 488px;
}
input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}
	
/* -header- */

#header {
	background: #EBEBEB;
	border-bottom : 1px solid #3B5998;
}

#banner {
	padding: 20px 0 20px 0;
	height: 90px;
	text-align: center;
	width: 888px;
}
#banner img {
	max-width: 928px;
}
#topbar {
	background: #3B5998;
	color: #EBEBEB;
	padding: 10px;
	width: 908px;
}
#topbar a {
	color: #EBEBEB;
	font-size: 14px;
	font-weight : bold;
}

#topbar a:hover {
	color: #FFFFFF;
}

/* -content- */

#content {
	float: left;
	margin: 0 20px 0 20px;
	width: 528px;
}
#contentwrap {
	background: #ffffff;
	float : center;
	display: block;
	width: 928px;
	border-top: 20px solid #3B5998;
}

/* -post and entries- */

.post {
	text-align: justify;
	background: #ffffff;
	margin-bottom: 20px;
	padding: 10px;
	border-bottom: 5px dotted #3B5998;
}
.post a {
	color: #3B5998;
	text-decoration: underline;
}
.post a:hover {
	color: #000000;
	text-decoration: none;
}
.post blockquote {
	background: #ebebeb;
	border: 1px solid #000000;
	margin: 1.2em auto;
	padding: 0 1.2em 0 1.2em;
}
.post img, .post object {
	border: none;
}
.post embed, .post img, .post object {
	display: block;
	margin: 1.2em auto;
	max-width: 500px;
}
.post embed.alignleft, .post img.alignleft, .post object.alignleft {
	margin: 0 10px 10px 0;
}
.post embed.alignright, .post img.alignright, .post object.alignright{
	margin: 0 0 10px 10px;
}
.post h2, .post h2 a {
	color: #3B5998;
}
.post h2 a:hover {
	color: #ffffff;
}

.post table {
	background: #ffffff;
	border-collapse: collapse;
	width: 100%;
}

.post th, .post td {
	border: 1px solid #ebebeb;
	padding: 3px;
}

.post p {
margin-top : 10px;
margin-bottom : 5px;
}

.post ul, .post ol .post li {
padding-left : 15px;
margin : 0px;
}

.post ul {
margin-bottom : 15px;
}

.post .wp-smiley {
	border: none;
	display: inline;
	margin: 0;
}
.postmetadata-top {
	border-bottom: 1px dotted #3B5998;
	padding-bottom: 15px;
	text-transform: uppercase;
}
.postmetadata-bottom {
	text-transform: uppercase;
}
.backtotop {
	margin: 1.2em auto;
	text-align: center;
}

/* -sidebar- */

#sidebar1wrap,
#sidebar2wrap {
	background: #EBEBEB;
	float: left;
	margin-bottom: 20px;
	padding: 10px;
	width: 160px;
}
#sidebar1 a, #sidebar1 li.recentcomments, #sidebar1 .textwidget,
#sidebar2 a, #sidebar2 li.recentcomments, #sidebar2 .textwidget {
	color: #000000;
	border-bottom: 1px dotted #EBEBEB;
}

#sidebar1 a:hover,
#sidebar2 a:hover {
	background: #3B5998;
	color: #ffffff;
}
#sidebar1 h2 a,
#sidebar1 h2,
#sidebar2 h2 {
	color: #3B5998;
	font-weight : bold;
	margin-top : 20px;
}

#sidebar1 li
{
	margin-top: 3px;
	list-style : none;
}
#sidebar2 li {
	margin-top: 3px;
	list-style : none;
}
#sidebar1 li:hover small,
#sidebar2 li:hover small {
	color: #000000;
}
#sidebar1 li.recentcomments:hover,
#sidebar2 li.recentcomments:hover {
	background: #3B5998;
	color: #000000;
}
#sidebar1 li.recentcomments:hover a,
#sidebar2 li.recentcomments:hover a {
	color: #000000;
}
#sidebar1 li.recentcomments a,
#sidebar2 li.recentcomments a {
	border: none;
}
#sidebar1 li.widget_categories ul li,
#sidebar2 li.widget_categories ul li {
	border-bottom: 1px dotted #252525;
	display: block;
	padding: 3px 3px 3px 10px;
}
#sidebar1 li.widget_categories ul li a,
#sidebar2 li.widget_categories ul li a {
	border-bottom: none;
	display: inline;
	padding: 0;
}
#sidebar1 li.widget_categories ul li:hover, #sidebar1 li.widget_categories ul li:hover a,
#sidebar2 li.widget_categories ul li:hover, #sidebar2 li.widget_categories ul li:hover a {
	background: #3B5998;
	color: #000000;
}
#sidebar1 select,
#sidebar2 select {
	margin: 3px 0 3px 0;
	width: 100%;
}
#sidebar1 small,
#sidebar2 small {
	color: #3B5998;
	text-transform: uppercase;
}
#sidebar1 .textwidget,
#sidebar2 .textwidget {
	padding: 3px 0 3px 0;
}
#sidebar1 .textwidget img,
#sidebar1 .textwidget img {
	display: block;
}
#sidebar1 .textwidget a,
#sidebar2 .textwidget a {
	display: inline;
}
#sidebar1 ul
{
	padding: 0;
	font-size : 14px;
	font-weight : bold;
}

#sidebar2 ul {
	margin: 0;
	padding: 0;
}

#sidebar1 ul.children a, #sidebar1 li.page_item ul li.page_item a,
#sidebar2 ul.children a, #sidebar2 li.page_item ul li.page_item a {
	padding-left: 15px;
	font-weight : normal;
	font-size : 12px;
}


#sidebar1 ul.children a:hover, #sidebar1 li.page_item ul li.page_item a:hover,
#sidebar2 ul.children a:hover, #sidebar2 li.page_item ul li.page_item a:hover 
{
background : #3B5998;
color : #ffffff;
}

#sidebar1 ul.children a, #sidebar1 li.page_item ul li.page_item a
{
background: #ebebeb url('punn.gif') no-repeat;
}


#sidebar1 ul.children ul.children a, #sidebar1 li.page_item ul li.page_item ul li.page_item a,
#sidebar2 ul.children ul.children a, #sidebar2 li.page_item ul li.page_item ul li.page_item a {
	padding-left: 30px;
}
#sidebar1 ul.children ul.children ul.children a, #sidebar1 li.page_item ul li.page_item ul li.page_item ul li.page_item a,
#sidebar2 ul.children ul.children ul.children a, #sidebar2 li.page_item ul li.page_item ul li.page_item ul li.page_item a {
	padding-left: 40px;
}
#sidebar1 .widget_text a, #sidebar1 .widget_text a img,
#sidebar2 .widget_text a, #sidebar2 .widget_text a img {
	border: none;
	padding: 0;
}
#sidebar1 .widget_tag_cloud,
#sidebar2 .widget_tag_cloud {
	border-bottom: 1px dotted #252525;
	margin-bottom: 10px;
	padding-bottom: 3px;
}
#sidebar1 .widget_tag_cloud a,
#sidebar2 .widget_tag_cloud a {
	border: none;
	display: inline;
	padding: 0 3px 0 3px;
}
#sidebar1 .widget_tag_cloud h2,
#sidebar2 .widget_tag_cloud h2 {
	margin-bottom: 10px;
}
#sidebar1 .widget_rss h2.small a,
#sidebar2 .widget_rss h2.small a {
	border: none;
	display: inline;
	color: #ffffff;
	padding: 0 0 3px 0;
}
#sidebar1 .widget_rss h2.small a:hover,
#sidebar2 .widget_rss h2.small a:hover {
	background: none;
}
#sidebar1 .widget_rss h2.small a img,
#sidebar2 .widget_rss h2.small a img {
	display: none;
}
#sidebar1 .widget_rss ul li,
#sidebar2 .widget_rss ul li {
	border-bottom: 1px dotted #252525;
	display: block;
}
#sidebar1 .widget_rss ul li a.rsswidget,
#sidebar2 .widget_rss ul li a.rsswidget {
	border: none;
	display: block;
	padding: 3px 3px 3px 10px;
}
#sidebar1 .widget_rss ul li cite,
#sidebar2 .widget_rss ul li cite {
	color: #ff9000;
	font-size: .75em;
	text-transform: uppercase;
	padding-bottom: 3px;
}
#sidebar1 .widget_rss ul li .rss-date,
#sidebar2 .widget_rss ul li .rss-date {
	color: #ff9000;
	display: block;
	font-size: .75em;
	text-transform: uppercase;
}
#sidebar1 .widget_rss ul li .rssSummary,
#sidebar2 .widget_rss ul li .rssSummary {
	padding-bottom: 3px;
}

/* -sidebar calendar- */

#sidebar1 .widget_calendar h2,
#sidebar2 .widget_calendar h2 {
	display: none;
}
#sidebar1 .widget_calendar caption,
#sidebar2 .widget_calendar caption {
	border-bottom: 1px dotted #404040;
	color: #3B5998;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	text-align: left;
	text-transform: none;
}
#sidebar1 .widget_calendar table,
#sidebar2 .widget_calendar table {
	border-bottom: 1px dotted #252525;
	width: 100%;
}
#sidebar1 .widget_calendar table a,
#sidebar2 .widget_calendar table a {
	background: #252525;
	border: none;
	color: #ffffff;
	display: block;
	padding: 3px;
}
#sidebar1 .widget_calendar table a:hover,
#sidebar2 .widget_calendar table a:hover {
	background: #3B5998;
	color: #000000;
}
#sidebar1 .widget_calendar table td,
#sidebar2 .widget_calendar table td {
	color: #252525;
	text-align: center;
}
#sidebar1 .widget_calendar table th,
#sidebar2 .widget_calendar table th {
	color: #ffffff;
	text-align: center;
}

/* -comments- */

#comments, #respond {
	background: #ffffff;
	margin-bottom: 20px;
	padding: 10px;
	width: 508px;
}
#commentpages {
	margin-bottom: 20px;
}
ul#commentlist {
	list-style: none;
	padding: 0;
}
ul#commentlist li.comment {
	border-top: 1px dotted #404040;
	padding: 20px 0 20px 0;
}
ul#commentlist ul.children {
	list-style: none;
	padding: 0 0 0 20px;
}
ul#commentlist ul.children li {
	border-top: 1px dotted #404040;
	margin: 10px 0 0 0;
	padding: 10px 0 0 0;
}
ul#commentlist li blockquote {
	background: #252525;
	border: 1px solid #303030;
	margin: 1.2em auto;
	padding: 0 1.2em 0 1.2em;
}
ul#commentlist a {
	color: #3B5998;
}
h2.comments {
	background: #ffffff;
	color: #3B5998;
	display: block;
	margin-bottom: 20px;
}
h2.respond {
	background: #ffffff;
	color: #3B5998;
	display: block;
	margin-bottom: 20px;
}
h2.commentpages {
	background: #ffffff;
	color: #3B5998;
	display: block;
	margin-bottom: 20px;
	padding: 10px;
}
small a.comment-edit-link {
	color: #3B5998;
	text-transform: uppercase;
}
#commentlist div .avatar {
	border: none;
	float: left;
	margin: 0 10px 10px 0;
}
.vcard .fn, .vcard .says {
	font-weight: bold;
}
.comment-meta {
	font-size: .8em;
	margin-bottom: 40px;
	text-transform: uppercase;
}
.comment-meta a {
	color: #ffffff;
}
.comment-meta a.comment-edit-link {
	color: #3B5998;
}
.reply {
	margin-top: 20px;
	text-align: left;
}
li.depth-1 #respond {
	margin: 0 0 -20px -10px;
}
li.depth-2 #respond {
	margin: 0 0 -20px -30px;
}
li.depth-3 #respond {
	margin: 0 0 -20px -50px;
}
li.depth-4 #respond {
	margin: 0 0 -20px -70px;
}
li.depth-5 #respond {
	margin: 0 0 -20px -90px;
}
#commentform {
	width: 508px;
}
#commentform a {
	color: #3B5998;
}
#commentform input, #commentform textarea {
background: #EBEBEB;
border: 1px solid #3B5998;
color: #3B5998;
padding: 3px;
margin : 0px 0px 10px;
width: 500px;
}

#commentform #commentbox {
	height: 100px;
	width: 500px;
}
#commentform #submit {
	background: #3B5998;
	width : 200px;
	color: #ffffff;
	margin-top: 20px;
}
#commentform small {
	text-transform: normal;
}
.commentlinks a {
	color: #ffffff;
	padding: 5px 10px 5px 10px;
}
.commentlinks a:hover {
	background: #3B5998;
	color: #000000;
}
.commentlinks .current {
	background: #3B5998;
	color: #000000;
	padding: 5px 10px 5px 10px;
}
.nocomments {
	background: #ffffff;
	margin-bottom: 20px;
	padding: 10px;
}

/* -search form- */

#s {
	background: #ffffff;
	border: 1px solid #3B5998;
	color: #3B5998;
	padding: 3px;
	width: 152px;
}
#searchsubmit {
	display: none;
}

/* -footer- */

#footer {
	border-top: 1px solid #3B5998;
	background: #ebebeb;
	clear: both;
	color: #000000;
	text-align: center;
	padding-top : 20px;
	padding-bottom : 20px;
	width : 100%;
/*	width: 908px; */
}
#footer small {
	text-transform: uppercase;
}

/* -misc and universal- */

#navlink, #postlink {
	border-top : 1px solid #3B5998;
	color: #000000;
	margin-bottom: 20px;
	padding: 10px;
	text-align: center;
}
#navlink a, #postlink a {
	color: #3B5998;
}
#navlink a:hover, #postlink a:hover {
	color: #000000;
}
.uppercase {
	text-transform: uppercase;
}
.wp-smiley {
	border: none;
	display: inline;
	margin: 0;
}

/* -floats - */

.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}



#header h1, #header h1 a, #header h2, #header h2 a
 {
text-shadow: #3B5998; 3px 3px 1px;
font-size: 56px;
font-weight: bold;
color : #ffffff;
text-decoration: none;
}

#header h2 a:hover, #header h1 a:hover {
        color : #ebebeb;
	text-shadow: #3B5998; 3px 3px 1px;
	text-decoration: none;
}



.arhiiv {
	background: #ffffff;
	border: 1px solid #3B5998;
	color: #3B5998;
	padding: 3px;
	width: 152px;
}

.ikoon, .ikoon a
{
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
	border : none;
	text-decoration: none;
}


#content h2, #content h1, #content h2 a, #content h1 a {
	margin-top : 15px;
	margin-bottom : 5px;
	font-size: 28px;
	font-weight: bold;
	text-decoration: none;
	color : #3B5998;
	text-align: left;
}

#content h2 a:hover, #content h1 a:hover {
	text-decoration: none;
	color: #000000;
}

#content h3, #content h3 a, #content h3 a {
	margin-top : 40px;
	margin-bottom : 5px;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	color : #3B5998;
}

#content h3 a:hover {
	text-decoration: none;
	color: #000000;
}

#content h4, #content h4 a, #content h4 a {
	margin-top : 30px;
	margin-bottom : 5px;
	font-size: 16px;
	border : none;
	font-weight: bold;
	text-decoration : none;
	color : #3B5998;
}

#content h4 a:hover {
	text-decoration: none;
	color: #000000;
}

#content h5, #content h5 a, #content h5 a {
	margin-top : 20px;
	margin-bottom : 5px;
	font-size: 14px;
	border : none;
	font-weight: bold;
	text-decoration : none;
	color : #3B5998;
}

#content h5 a:hover {
	text-decoration: none;
	color: #000000;
}


img { border:none;}

#paisepilt
{
height : 90px;
width : 928px;
background: #ebebeb url('logo.jpg') no-repeat;
}

#sisu
{
	margin: 0 auto;
	float : center;
}

.tellimustextfield, .tellimusdrop, .tellimustextarea
{
background: #EBEBEB;
border: 1px solid #3B5998;
color: #3B5998;
padding: 3px;
margin : 0px 0px 10px;
width: 500px;
}

.tellimusdrop
{
width : 510px;
}

.tellimussaada
{
background: #3B5998;
border: 1px solid #3B5998;
color: #ffffff;
width: 200px;
padding: 3px;
margin : 0px;
text-align : center;
}

li.joonega a
{
	color: #3B5998;
	text-decoration: underline;
	font-weight: normal;
}

.tulemas
{
background: #ebebeb url('punn.gif') no-repeat;
padding-left : 10px;
}

.menu-item, menu-item-type-post_type
{
background: #ebebeb url('punn.gif') no-repeat;
padding-left : 10px;
}

.ajakiri input[type="submit"] 
{
background: #3B5998;
border: 1px solid #3B5998;
color: #ffffff;
width: 200px;
padding: 3px;
margin : 0px;
text-align : center;
} 
.ajakiri input[type="text"] 
{
background: #EBEBEB;
border: 1px solid #3B5998;
color: #3B5998;
padding: 3px;
margin : 0px 0px 10px;
width: 400px;
}

.lehealgus
{
width : 100%;
text-align: center;
vertical-align: middle;
margin-top : 10px;
}

.sidebarbanner
{
width : 155px;
text-align: center;
text-decoration : none;
border : none;
margin-top : 10px;
}

.sidebarbanner a, .sidebarbanner a:hover
{
border : none;
}


#sidebar2 h2 a
{
	color: #3B5998;
	margin-top : 20px;
}

.paiseotsing
{
float : right;
clear : left;
margin-top : -20px;
}


.wp-caption {
	padding: 5px;
	border : 1px dotted #95cbe9;
	background-color:#f5f5f5;
	margin: 5px;
}
p.wp-caption-text {font-size:11px;}

