/*  
Theme Name: Triangle
Version: 0.1
Author: David Sevcik
*/

/* COMMON ============================================ */
.h, hr {
	display: none;
}

.clear, .clear-with-content {
	clear: both;
}
div.clear {
	line-height: 1px;
	font-size: 1px;
	height: 1px;
}

a img {
	border: none;
}

#main img {
	border: 1px solid #DCE5E9;
	padding: 5px;
}
#lang-menu img {
	border: none;
	padding: 0;
}


/* TYPOGRAPHY ======================================== */
body {
	font-family: Verdana, "Geneva CE", lucida, sans-serif;
	font-size: 0.8em;
	line-height: 1.7em;
	color: #273e65;
}

h1, h2, h3, h4, #menu, #triagle-description {
	font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif;
	font-weight: normal;
}

a {
	color: #fa8613;
}
a:visited {
	color: #944f0b;	
}
#main a:hover {
	/*color: #B42E30;*/
	background-color: #FA8613;
	color: white;
	text-decoration: none;
}

#main a:hover img {
	background-color: #fa8613;
}

h2 {
	font-size: 1.9em;	
	line-height: 1.2em;
}
h3 {
	font-size: 1.5em;	
	line-height: 1.3em;
}
h4 {
	font-size: 1.3em;	
	line-height: 1.4em;
}
h5 {
	font-size: 1em;
	font-family: Verdana, "Geneva CE", lucida, sans-serif;
}

#top-content h2 span, #content h2 span {
	background-color: #B2BECE;
	padding: 0 4px;
	color: white;
}


#content h3, #top-content h3 {
	margin-bottom: 0.6em;	
}



/* STRUCTURE ========================================= */
body {
	background: #dce5e9 url("images/body_top.gif") repeat-x;
	margin: 0;
	padding: 0;
	text-align: center;
}

#page-cont {

	position: relative;
	padding: 0 5%;
}
#index-page #page-cont {
	background: url("images/dorje_chang.jpg") no-repeat center top;
}

#page {
	margin: 0 auto;
	max-width: 880px;
	_width: 880px;
	text-align: left;
	position: relative;
}

#header {
	position: relative;
	height: 140px;
}


h1 {
	margin: 0;
	position: absolute;
	background: url("images/triangle_logo.gif");
	top: 20px;
	left: 0;
	width: 220px;
	height: 129px;
}
h1 a {
	display: block;
	width: 100%;
	height: 100%;
}

#sidebar {
	position: absolute;
	top: 165px;
	*top: 150px;
	left: 0;
	width: 219px;
}

#menu {
	line-height: 1em;
	font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif;
	font-size: 1.2em;
	list-style: none;
	margin: 0;
	padding: 0;
}
#menu li {
	padding-bottom: 7px;	
}
#menu a, #menu .current  {
	text-decoration: none;
	display: block;
	padding: 8px 10px 8px 45px;
	background: #EAEFF2 url("images/menu_arrow.gif") no-repeat 16px 8px;
}
#menu a:hover, #menu .current {
	background: white url("images/menu_hover_arrow.gif") no-repeat 16px 8px;
}
#menu #rss-link {
	background: #EAEFF2 url("images/feed-icon.gif") no-repeat 16px 8px;
}
#menu #rss-link:hover {
	background-color: white;
}
#menu form {
	padding: 8px 10px;
	background: #EAEFF2;
	margin: 0;
}
#menu form input.text {
	width: 190px;
	margin-bottom: 4px;
}

#sidebar p {
	margin: 8px 0;
}

#main {
	margin-left: 239px;
	min-height: 510px;
	_height: 550px;
	position: relative;
}

#content, #top-content {
	background: white;
	padding: 0 20px 10px 20px;
	clear: both;
}
#top-content {
	margin-bottom: 18px;
}
#top-content .first, #content .first {
	margin-top: 0;
	border-top: none;
}
#content.after-top-content {
	background: #EAEFF2;
}

#triagle-description {
	margin: -3px 248px 20px 18px;
	font-size: 1.1em;	
	color: #506382;
}
#triagle-description .first-part {
	font-size: 1.2em;
	line-height: 1.4em;
}
#triagle-description p {
	color: #939eb2;
	margin: 4px 0 0 0;
}

#triagle-description img {
	border: 1px solid #939eb2;
	padding: 0;
	margin-left: 4px; 
	position: relative;
	top: 2px;
}

#triagle-description a:hover {
	background: none;
}
#triagle-description a:hover img {
	border-color: #fa8613;
}




#lang-menu {
	list-style: none;
	margin: 20px 0 0 0;
	padding: 0 0 2em 0;	
	display: block;
}
#lang-menu li {
	display: block;
	float: left;
	margin-right: 20px;
}
#lang-menu a, #lang-menu .current {
	display: block;
	padding: 0 4px;
	text-decoration: none;
	border-bottom: 3px #EAEFF2 solid;
}
#lang-menu a:hover, #lang-menu .current {
	border-color: #273e65;
	background: none !important;
	color: #273e65;
}

#breadcrumbs {
	color: #939eb2;
	margin-top: 1em !important;
}

#footer {
	margin-top: 20px;
	padding-bottom: 20px;
	color: #939eb2;
}
#footer a {
	color: #939eb2;
}
#copy {
	float: left;
	margin: 0;	
}
#precizne {
	float: right;
	margin: 0;	
}


/* POST ------------------------------------------------- */
.post {
	clear: both;
	border-top: #EAEFF2 1px solid;
	margin-top: 1.5em;
}
#content.after-top-content .post {
	border-color: white;
}

.single .post {
	border-top: none;
	border-bottom: #EAEFF2 1px solid;
}

	
#content.gallery h3 {
	margin-bottom: 0.5em;
	margin-top: 0;
}
#content.gallery p {
	margin-top: 0;
}
#content.gallery .post {
	padding-top: 1.5em;
	margin-top: 1.5em;
}

.time {
	margin: -0.8em 0 2.5em 0;
	font-size: 0.85em;
	color: #939eb2;
	line-height: 1em;
}

.postmetadata, .suppressed {
 	color: #939eb2;
 }
 