/*
Theme Name: SWEDLANG theme
Description: Layout for swedlang site.
Version: 1.1
Author: Nick Asmolovsky
Author URI: http://anick.ru/
*/

body, html {
	background-color: #F0EAD2;
	color: #333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100.01%;
	margin: 0;
	padding: 0;
}
a:link {
	color: #CC3300;
}
a:visited {
	color: #CC3300;
}
a:hover {
	color: #CC3300;
}
a:active {
	color: #CC3300;
}
h1{
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 1.7em;
	font-weight: normal;
	line-height: 135%;
	padding: 0;
	margin: 20px 0 5px 0;
}
h2{
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 1.5em;
	font-weight: normal;
	font-style: italic;
    line-height: 135%;   
	padding: 0;
	margin: 15px 0 5px 0;
}
h3{
    /*color: #8E7B31;*/
    font-size: 1.0em;
    font-family: Georgia;
    font-style: italic;
    font-weight: bold;
    line-height: 135%;   
    padding: 0;
    margin: 10px 0 5px 0;
}

dd{
    padding-bottom: 10px;
    line-height: 150%;
}


/* markers */
    .text ul,
	.text ol
    {
        padding: 0;
        margin: 0.2em 0;
    }
    .text li
    {
        margin: 0.5em 0 0.5em 1.3em;
    }
    .text ul
    {
        list-style-type: none;
        //list-style-image: url('i/li.gif');
    }
    .text ul li
    {
        padding: 0;
        behavior: expression(
            ( !this.before && parentNode && parentNode.tagName == 'UL' )
            ?
                ( this.before = true )
                & ( parentNode.style.listStyleImage = 'none' )
                & (
                    ( this.firstChild && this.firstChild.firstChild )
                    ?
                        ( this.firstChild.style.marginTop = '-1.2em' )
                        & ( this.firstChild.style.position = 'relative' )
                    : ''
                )
                & ( eNOBR = document.createElement( '<nobr style="position: relative; display: block; width: 1.25em; left: -1.25em; margin: 0 -1.25em -1.2em 0;" />' ) )
                & ( eNOBR.innerHTML = '&mdash;&nbsp;' )
                & ( this.insertBefore( eNOBR, this.firstChild ) )
            : ''
        );
    }
    .text ul>li:before
    {
        content: '\2014\a0';
        float: left;
        margin-left: -1.25em;
    }
    .text ul>li>*:first-child:-moz-first-node
    {
        margin-top: -1.2em;
    }
    .text ul>li>*
    {
        text-indent: 0;
    }
    .text .sup
    {
        position: relative;
        top: -0.5em;
        font-size: 0.75em; //font-size: 0.89em;
        line-height: 0;
        vertical-align: baseline;
    }
	.text img{
		border-color: #CC3300;
	}
    
.main {
	background: url(i/bg.gif) repeat-y;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 13px;
	position: relative;
	width: 755px;
}
.text {
	font-size: 80%;
	line-height: 135%;
	padding: 10px 10px 10px 180px;
}
.text {
  min-height: 300px;
  height: auto !important;
  height: 300px;
}
.text p {
	margin: 0 0 0.75em 0;
}

/* left menu
============== */
.cards {
	background: url(i/cards.gif) top left no-repeat;
	position: absolute;
	top: 220px;
	left: -95px;
	width: 300px;
	height: 240px;
	padding: 50px 0 0 0;
	z-index: 2;
}

.cards ul {
    margin-left: 67px;
    list-style: none;
}
.cards ul li{
    margin: 0;
    padding: 0;
}

.cards ul ul, .cards ul ul ul {
    margin-left: 5px;
    padding: 0;
}

.cards-menu ul {
	margin: 0 0 0 40px;
	padding: 10px 0 0;
	list-style: none;
	font-size: 95%;
}
.cards-menu ul li {
	margin: 0 0 0.5em 67px;
	padding: 0;
}

.cards-menu .special {
	font-weight: bold;
/*	font-style: italic;*/
}

.flags {
	position: absolute;
	top: 90px;
	right: -27px;
	width: 30px;
	height: 240px;
	z-index: 2;
}
.top-line {
	background-color: #F97700;
	font-size: 0.1%;
	height: 10px;
}


/* header block
===================== */
.header {
	background: url(i/headerbg.gif) repeat-x bottom;
	height: 140px;
	padding: 0;
	margin: 0 auto;
	width: 775px;
}
.header .logo {
	float: left;
	height: 140px;
	overflow: hidden;
	width: 150px;
}
.header .logo img {
	margin: 30px 0 0 20px;
}
.header .top-menu {
	float: right;
	width: 600px;
}
.top-menu ul, .top-menu ul li {
	padding: 0;
	margin: 0;
}
.top-menu ul {
	list-style: none;
	height: 140px;
	overflow: hidden;
}
.top-menu ul li {
	font-size: 12px;
	display: inline-block;
	float: left;
	padding: 110px 0 15px;
	margin: 0;
}
.top-menu ul li a {
	color: #000000;
	text-decoration: none;
	padding: 110px 20px 15px;
}
.top-menu li a:hover {
	background:url(i/menuact.gif) top repeat-x;
}

/* footer block
=================== */
.footer {
	background: #F97700 url(i/bottombg.jpg) bottom repeat-x;
	height: 150px;
}
.footer .info {
	background:url(i/gradient.jpg) top repeat-x;
	width: 775px;
	margin: 0 auto;
	height: 100px;
}
.info p{
	border-top: 1px  dashed #D1BF78;
	font-size: 75%;
	line-height: 135%;
	margin: 0 10px;	
	padding: 10px 0;
}
.clrflt {
	clear: both;
	float: none;
}

/* forms */
textarea {
    border: 1px solid #333;
    width: 500px;
}
input {
    border: 1px solid #333;
    font-family: Georgia, Times New Roman;
}

#submit{
    font-size: 1.5em;
}

#sidebar {
    padding-top: 10px;
}

img.thumb {
 	padding: 5px 10px 10px 0;
 	// padding: 17px 10px 10px 0;
 	float: left; 	
}
.hentry{
 	float: none;
 	clear: both;
 	padding-bottom: 5px;
}

div.with-pic {
 	width: 385px;
 	margin-left: 160px;
}

h1.main-news {
 	padding: 15px 0 0 0;
 	margin: 0;
 	font-style: italic;
}

div.main-news{
 	margin-top: -15px;
}

h3.news-link {
 	padding-top: 20px;
 	clear: both;
 	font-weight: normal;
}
a.rss{
 	background: url(/wp-content/themes/swedlang/i/rss.gif) no-repeat 0 -2px;
 	padding-left: 23px;
 	height: 20px; 
}
a.twitter{
 	background: url(/wp-content/themes/swedlang/i/twitter.gif) no-repeat 0 -1px;
 	padding-left: 15px;
}