/*
Theme Name: Fengshui Academy
Theme URI: http://academia-fengshui.ru/
Description: The Academy of Fengshui WordPress theme based on the default theme
Version: 1.5
Author: Piotr Kalachyn
Author URI: http://yo-site.biz
Tags: blue, fixed width, two columns, widgets

  This theme is a work in progress....
  
*/

p { text-align: justify; }
body {
    background: #d4dee8;
    margin: 0;
    padding: 0;
    font: normal small 'Verdana', sans-serif;
}

h1, h2, h3 { font-family: Helvetica, Tahoma, 'Arial Narrow', sans-serif; }

/*ul {*/
/*    margin: 4px 0 4px 20px;*/
/*}*/
/**/
/*li {*/
/*    margin-left: 20px;*/
/*}*/
a:link, a:visited, a:hover, a:active { text-decoration: none;}

a:link {color: #039; }
a:visited {color: #039; }
a:link:hover, a:visited:hover, a:active, a:visited:active { color: #c00; }




a.e-mail {
    background: transparent url('images/e-mail-icon.png') no-repeat right;
    padding-right: 16px;
}


#header-back {
     background: #a2b6cb;
     padding: 32px 0 4px 0;
}

#logo-menu {
           margin: 0 auto;
           padding: 0;
           background-image: url('images/logo-menu-back.jpg');
           background-repeat:  no-repeat;
           background-position: top;
           height: 241px;

           width: 912px;
           font: normal 11px Arial, sans-serif;
           color:#333;
}

#logo-menu #addresses {
    display: block;
    float: left;
    width: 500px;
    margin: 18px 0px 0 10px;
    } 


#logo-menu address {
    display: block;
    float: left;
    margin: 0 3px 3px 0;
    text-decoration: none;
    font-style: normal;
    background: transparent url('images/romb.gif') no-repeat left;
    padding: 0 0 0 10px;
    width: 154px;
    }
    
#logo-menu address#addr-moscow {
    font-size: 150%;
    width: 140px;
    padding: 0;
    background: none;
    
}

#logo-menu #addresses a { color: #039; }
#logo-menu #addresses a:hover, #logo-menu #addresses a:visited:hover { color: #c00; }




#logo-menu a {
           display: block;
           float: left;
           padding: 0 10px 0 20px;
           color:#333;
}

#logo-menu #addresses a {padding:0}


#logo-menu a#home {
           /* background: transparent url('images/home-icon.png') no-repeat left; */
    float:left;
    width: 264px;
    height: 60px;
    color: transparent;
    margin: 5px 5px 5px 50px;
    padding:0;
    overflow: hidden;
    text-indent: 400px;
    }

#logo-menu a#e-mail {
           background: transparent url('images/e-mail-icon.png') no-repeat left;
           width:30px;
           white-space: nowrap;
           float:right;
           margin: 30px 10px 0 0;
}

#middle {
        background-image: url('images/middle-back.png');
        background-repeat: repeat-y;
        width: 893px;
        margin: 0 auto;
        display: block;
}

#content {
    display:block;
    float:right;
    width:646px;
    margin:10px 10px 0 0;
    border:1px solid white;
}

#left-column {
    display:block;
    float:left;
    width:213px;
    margin: 0 0 0 1px;
    padding:0;
    border:1px solid white;
}



#middle-bottom {
        background: url('images/middle-bottom.png');
        width: 893px;
        margin: 0 auto;
        height:22px;
        clear: both;
        
}

#footer {
    font: normal 11px Arial, sans-serif;       
    color:#333;
    text-align: center;
    padding:4px;
}

#footer a {
    display: inline-block;
    vertical-align: bottom;
    border-color: #333;
    border-width: 0px 0 0 1px;
    border-style:solid;
    color:#333;
    padding: 0 10px;
    height: 12px;;
}

#footer > a:first-child {border:none;}

#copyright {
    color: #807f7f;
    text-align: center;
    font: normal 11px Arial, sans-serif;       
}

#copyright a {
    color: #444;

}

.rounded-bottom {
    background: transparent url('images/rounded-bottom.png') no-repeat bottom;
    width: 638px;
    display: block;
    clear:both;
    padding: 0 0 10px 0;
}

#new-groups .content .news-link{
    /*font-size: 120%;*/
    margin:0 10px;
}

.rounded-bottom .middle {
    margin:0 ;
    padding:0;
    display: block;
    border-style: solid;
    border-width: 1px;
    border-color:#ccc #ccc #FFF #ccc ;
}

.rounded-bottom .middle h1,
.rounded-bottom .middle h2,
.rounded-bottom .middle h3,
.post h1,
.post h2

 {
    background: #f2f2f1;
    border: 1px solid #ccc;
    padding: 4px;
    margin:0;
    color: #369;
    font-family : Arial, sans-serif;
}

.rounded-bottom .middle h1,
.rounded-bottom .middle h2,
.post h1,
.post h2 {
        font-size: 16px;
        color : #336;
        text-align: center;
}


.post h2 {
    text-transform: uppercase;
}




.rounded-bottom .middle p {
    margin: 6px 0 0 0;
}

.indent {
margin: 10px;
}

.indent-x {
    margin:0 10px;
}

.indent-y {
    margin:10px 0;
    display: block;
    border: 1px solid white;
}


#left-column ul {
    display: block;
    float:none;
    margin:0;
    padding:0;
    list-style: none;

}

#left-column h2 {
    font: bold 12px Verdana;
    color: #333;
    color: #369;

    margin: 10px;
    padding:0;
}

#left-column  a {
    font: bold 12px 'Verdana', sans-serif;
    color: #333;
    text-transform: uppercase;
}

#left-column  a.current {
    color: #70a1c7;
}


#left-column a:link, #left-column a:visited  { color: #333; }
#left-column a:hover, #left-column a:visited:hover, #left-column a:active  { color: #900; }

#left-column ul li {
    display: block;
    margin:5px 0 0 3px;
    padding:0;

}

#left-column ul * ul * ul li {
    margin-left:12px;
}

#pages-2 a { font-family: Verdana; font-size: 10px;}

#pages-2 ul li ul li a { font-weight: bold; font-size: 9px; color: #666;}
#pages-2 ul li ul li ul li a { font-weight: normal; font-size: 9px; color: #669;}

#pages-2 a:link, #pages-2 a:visited { }
#pages-2 a:hover, #pages-2 a:visited:hover, #pages-2 a:active {  

    }

#pages-2 ul li ul {margin-left: 15px;}
#pages-2 ul li ul,
#pages-2 ul li ul li ul,
#pages-2 ul li ul li ul li ul,
#pages-2 ul li ul li ul li ul li ul

 {display:none;} /* initially submenus are hidden */



#pages-2  li.current_page_parent ul
 { display: none; }

#pages-2  li.current_page_item ul li ul,
#pages-2  li.current_page_parent ul li ul
 { display: none; }    



#pages-2 ul li.current_page_ancestor ul,
#pages-2 ul li.current_page_parent ul,
#pages-2 ul li.current_page_item ul,
#pages-2 ul li ul li.current_page_item ul 
    {display:block;} 
    
    
#pages-2 li.current_page_item a:link,
#pages-2 li.current_page_item a:visited
 { color: #c00; }

#pages-2 li.current_page_item a:hover,
#pages-2 li.current_page_item a:visited:hover,
#pages-2 li.current_page_item a:active
    { color: #900; }

#pages-2 li.current_page_item * a:link,
#pages-2 li.current_page_item * a:visited
 { color: #666; }

#pages-2 li.current_page_item * a:hover,
#pages-2 li.current_page_item * a:visited:hover,
#pages-2 li.current_page_item * a:active
 { color: #900; }



.grad-top {
    display: block;
    background-image: url('images/grad-dark-top.png');
    background-repeat: repeat-x;
    background-position: top;
    border:1px solid white;
}

.grad-bottom {
    background-image: url('images/bottom-back.png');
    background-repeat: repeat-x;
    background-position: bottom;
    border: 1px solid white;
    display: block;
}

.wedge {
    clear:both;
    display: block;
    height: 0px;
    overflow: hidden;
}

#searchform {margin: 10px 0;}
#searchform label {
    font: bold 120% "Verdana", sans-serif;
    color: #369;
}

#searchform input { /* style the button first */
    background: #eee url('images/search-button.png') no-repeat;
    width:28px;
    height:22px;
    text-indent:28px;
    overflow: hidden;
    
    border: none;
}

#searchform div input:first-child { /* style the text field */
    background: white;
    width:160px;
    border:1px solid #666;
    height:18px;
    text-indent:0;
}



div.navigation {
    width: 100%;
    margin: 10px 0;
    clear: both;
    font-size:85%;
}

.alignleft {
    float:left;
    display:block;
    width: 40%;
    /* border: 1px solid #369; */
}

.alignright {
    float:right;
    display:block;
    width: 40%;
    /* border: 1px solid #369; */
}

ul.sub-pages {
    margin:0;
    padding:0;
}

ul.sub-pages-18 {

    padding:  0 90px;
    background: url('images/specific/drzewko.png') no-repeat right top ;
    height: 170px;

}

ul.sub-pages li {
    display: block;
    float: left;
    height: auto; /*20px;*/
    width: 160px;
    padding: 6px 0 0 14px;
    margin: 3px 10px;
    /* background: white url(images/sub-page-back.png) no-repeat left center; */
    background: transparent url('images/romb.gif') no-repeat left;
    border:0px solid #999;
    
}

ul.sub-pages li a {
    font: bold 11px 'Arial', sans-serif;
    color: #333;
    text-transform: uppercase;
}

/*
  .widget_pages ul li ul li 
, .widget_pages ul li ul li * 
 {
    display:none; 
} 
*/

/*
br br .widget_pages ul li ul li.current_page_item,
br br .widget_pages ul li ul li.current_page_item * {
    display:block;
} 

*/
.post h3 {
    background: white url('images/h3-back.png') repeat-x top;
    padding: 6px 20px;
    color: #275d86;
    font: bold 12px 'Arial', sans-serif;
    text-transform: uppercase;
}


.textwidget{
    margin-left:10px;
}

.textwidget, .textwidget a, .textwidget a:visited {
    font: bold 10px 'Arial', sans-serif;
}


.textwidget h2, .textwidget h3, .textwidget h4 {
    color: #369;
}

.textwidget h4 {
    font-size:125%;
}

.textwidget * a.e-mail,
.textwidget * a.e-mail:link,
.textwidget * a.e-mail:visited
{
    text-decoration: underline;
    color: #369;    
}

.textwidget a.e-mail:hover,
.textwidget a.e-mail:active 
{
    color: #dd9c10;
}


.entry {
    margin-top: 6px;

}

.breadcrumbs {
    margin-bottom: 10px;
    font-size: 85%;
    font-weight: bold;
    }
    
.post-link {
    margin: 5px 0 0 0;
    }
    
.post-link a {
    display: block;
    width:100%;
    font-size: 120%;
    font-weight: bold;

    }
    
.post-link small {
    font-weight:bold;
    }
    
.post-link .excerpt {
    margin: 5px 0;
    display: block;
    }
    
    
#li-2-4, #li-2-4 *, #li-2-4 * * {
    width:420px;
    } 
    
 .cform-wrapper {display:none;}
 .cform-wrapper a.hider {
    display:block;
    text-align:right;
    padding-right:20px;
    }
    
.cform-wrapper .info  { 
 margin:10px 0; 
 text-align:center;
 color: green;
} 
cform-wrapper .success { 
 color:maroon; 
} 
cform-wrapper .failure { 
 color:red; 
} 
    
a.register {
    background: url('images/kedit.png') no-repeat left top;
    display: block;
    height: 48px;
    padding: 20px 10px 0 50px;
    color:#369;
    font-weight:bold;
    min-width:100px;
    margin:0 200px;
    }
a.register:hover {color:orange;}

a.close {
    background: url('images/stop.png') no-repeat right top;
    text-align:right;
    display: block;
    height: 22px;
    padding: 3px 25px;
    color:black;
    }
    
    
    
.related-posts {
    display: block;
    width: 38%;
    float: right;
    margin: 10px 0 10px 20px;
    padding: 5px;
    border: 1px solid #ccd;
    background-image: url('images/grad-dark-top.png');
    background-repeat: repeat-x;
    background-position: top;
    font-size: 80%;
}

.related-posts.related-banners { width: 200px; text-align: center;}
.related-posts.related-banners .sticky { float: none; width: 180px; margin: 10px auto 4px auto; }

.related-posts div.post-link {border-top: 1px dotted #666; margin: 10px 0 10px 0;}

.related-posts div.post-link.first {border-top: none; margin: 0 0 10px 0;}

#post-227 .related-posts
, #post-325 .related-posts /* publications */
, #post-430 .related-posts /* Q&A */
, #post-787 .related-posts /* prognozy */
, #post-33 .related-posts /* семинары */
 {
    display: block;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
    border: 0px solid #ccd;
    background: white;
}

#post-2178 .entry {
    background: url('images/banners/radio-archive.jpg') top left no-repeat;
    padding-top: 170px;
}
#post-2178 .related-posts { /* radio */
    width: 300px;
}

#post-2216 table {
    float: left;
    margin: 10px;
    border-style: solid;
    border-color: #369;
    border-width: 1px 1px 0 0;
    
}

#post-2216 table td,
#post-2216 table th
{
    padding: 3px 6px;
    text-align: center;
    border-style: solid;
    border-color: #369;
    border-width: 0 0 1px 1px;
    width: 70px;
}

#post-2216 table td.letter {
    background: #3cf;
    font-weight: bold;
}

#post-2216 table th {
    background: #3cf;
    font-size: 9px;
}



div.announcements { 
    clear:both;
    margin-top: 20px;
    }
/*div.announcement {*/
/*    display: inline-block;*/
/*    width:305px;*/
/*    background: url('images/announcement-back-bottom.gif') no-repeat bottom;*/
/*    padding: 0 0 12px 0;*/
/*    float:right;*/
/*    margin: 0 10px 10px 0;*/
/*    }*/
/*    */
/*div.announcement.odd {*/
/*    float: left;*/
/*    clear:both;*/
/*    }*/
/**/
/**/
/**/
/*div.announcement h3 {*/
/*    background: url('images/announcement-back-top.gif') no-repeat top;*/
/*    margin: 0;*/
/*    padding: 5px 10px;*/
/*    border-width: 0;*/
/*    min-height: 12px;*/
/*    text-align: center;*/
/*    display:block;*/
/*    }*/
/*    */
/*div.announcement .content .post-date { display:none; }*/
/**/
/*div.announcement .content {*/
/*    background: url('images/announcement-back.gif') repeat-y ;*/
/*    margin-top: 0;*/
/*    padding: 5px;*/
/*    border: 0px solid white;*/
/*    font-size: 80%;*/
/*    display:block;*/
/*    }*/
    
/* sclero posters    */
.sticky {
 /*background: url('images/sticky-top.jpg') top no-repeat;*/
 width: 297px;
 /*padding-top: 20px;*/
 display: block;
 float: right;
 margin: 0 0 10px 0;
}

.sticky .head {
    background: url('images/sticky-top.jpg') top no-repeat;
    width: 257px;
    min-height: 20px;
    padding: 10px 20px 0 20px;
    text-align: center;
    margin: 0;
}

.sticky.blue .head {
    background: url('images/sticky-blue.jpg') top no-repeat;
}

.sticky .head h3 {
    background: transparent;
    margin: 0;
}

.sticky .content {
  background: url('images/sticky-mid.jpg') repeat-y;
  padding: 0 20px;
  width: 257px;
  /*margin:20px 0 0 0;*/
  display: block;
}

.sticky.blue .content {
    background: url('images/sticky-blue-mid.jpg') repeat-y;
}

.sticky .content * {
    background: transparent;
}

.sticky .bottom {
 background: url('images/sticky-top.jpg') bottom no-repeat;
 width: 257px;
 height: 19px;
 clear: both;
  display: block;
  padding: 0 20px 10px 20px;
  text-align: right;
}

.sticky.blue .bottom {
    background: url('images/sticky-blue.jpg') bottom no-repeat;
}

.sticky * {margin:0;}

.sticky.odd {
    float: left;
    clear:both;
    }
.sticky.even {
    float: right;
}

#post-7 h2 {display:none;}
#post-7 div.front-news  h2 {display:block; margin-bottom:10px;}


div.front-news { 
    clear:both; 
    margin-top: 20px; 
    background: url('images/news-content.png') repeat-x left 32px;
    }

.news-link { margin-top: 5px; }
.news-link a,
.news-date { font-weight: bold; }

a.all-news {
    display: block;
    float:right;
    clear: both;
    margin: 10px 0 0 0;
    background: url('images/all-news.png') no-repeat;
    width: 120px;
    height: 24px;
    text-indent: 300px;
    white-space: nowrap;
    overflow: hidden;
   
    }

div.interest {
    background: url('images/news-content.png') repeat-x left top;
} 
h3.interest {
    background: transparent url('images/interesting.png') no-repeat left top;
    padding-left: 100px;
    display:block;
    margin: 0;
    height: 90px;
    color: #369;
    }

div.subscription {
    border: 1px solid #ccc;
    margin: 1px;
}    
form#subscription {
    height: 113px;
    border: 1px solid white;
    background: url('images/subscription.png') no-repeat right bottom;
    }
    
form#subscription h4 {
    margin: 10px 0 0 10px;
    padding:0;
    text-align: left;
    color: #666;
    }

form#subscription input.e-mail {
    margin: 7px 0 0 10px;
    width: 90%;
    border: 1px inset #ddd;
    height: 15px;
    }
    
form#subscription input.button {
    margin: 15px 0 0 10px;

    }

.button {
    border: 1px outset #ddd;
    background: url('images/button-back.png') repeat-x bottom;
    font: bold 10px Verdana;
    padding: 4px;   
    color: #666;
    }
    
/*><li id="linkcat-2" class="widget "><h2 class="">Ссылки</h2> */


.widget.widget_links h2.widgettitle {display:none;}

/* Text fromatting */
.center {text-align: center;  }
.right {text-align: right; }
.intextleft { /* image aligned to the left margin of the text stream */
	margin: 0px 7px 5px 0px;
	float:left;
        display: block;
}

.intextright { /* image aligned to the right margin of the text stream */
	margin: 0px 0px 5px 7px;
	float:right;
}

.shaded {
    border-right: 2px solid #99c;
    border-bottom: 2px solid #66a;
}

.red {color: red;}
.blue {color: #00d;}
.bold {font-weight: bold;}

.course-start {color: #900; font-weight: bold; }

dfn { font: normal; color: blue; text-decoration: none; font-style: normal; font-style: normal;}

small { font-size: 70%; }
#page small {font-weight: normal}

/*.rounded-bottom li.page-item-1332 {width: 400px;}*/

address.phone {
    margin: 0;
    padding: 0;
    height: auto;
    white-space: nowrap;
    font-style: normal;
    font-weight: bold;
    display: inline;
    line-height: normal;
}

div.front-page-half {
    display: block;
    width: 310px;
    float: left;
    background: white;
}


.new-group-banner {
    display: block;
    width: 312px;
    height: auto;
    margin: 0 0 10px 0;
    padding: 10px 0 93px 0;
    background: url('images/banners/postit.jpg') no-repeat bottom;
    /*padding: 60px 38px 92px 36px;*/
    font: normal 10px Helvetica, Verdana,sans-serif;
    
    
}

.new-group-banner h2 {
    /*display: block;*/
    /*width: 270px;*/
    /*min-height: 52px;*/
    margin: 0;
    padding: 16px 21px;
    /*background: url('images/banners/postit-header.jpg') no-repeat top; */
    font-size: 16px;
    border: none;
    }

.new-group-banner h3 {font: bold 14px Tahoma; margin: 5px 0 2px 0;}

.new-group-banner .edit {text-align: right;}

.town-event {
    display: inline-block;
    margin: 20px;
    text-align: center;
    /*height: 200px;*/
    vertical-align: top;
}

a.town {
    display: block;
    width: 133px;
    height: 60px;
    /*float: left;*/
    font-size: 16px;
    font-weight: bold;
    padding-top: 40px;
    text-align: center;
    overflow: hidden;
    border: 1px solid #663333;
    background-color: #ffcc99;
}

a.town.msk {
    background: url('images/towns/Moscow-133-x-100.jpg') no-repeat;
    text-indent: 150px;
    padding-top: 100px;
    height: 0px;
    }
a.town.spb {
    background: url('images/towns/Petersburg-133-x-100.jpg') no-repeat;
    padding-top: 100px;
    height:0px;
    }

a.town.ekb {
    background: url('images/towns/Ekaterinburg-133-x-100-1.jpg') no-repeat;
    padding-top: 100px;
    height:0px;
    }

a.town.cher {
    background: url('images/towns/Cherepovets-133-x-100.jpg') no-repeat;
    padding-top: 100px;
    height:0px;
    }

a.town.novosib {
    background: url('images/towns/novosibirsk-133x100.jpg') no-repeat;
    padding-top: 100px;
    height:0px;
    }

.group-date {font-weight : bold; }

.tv {
    width: 270px;
    height: 146px;
    display: block;
    padding: 20px 20px 70px 20px;
    background: #3366cc url('images/tv.jpg') top no-repeat;
    color: white;
    font: normal 12px Verdana, Helvetica, sans-serif;
    text-align: center;
}

.tv h2 {
    margin: 0 0 6px 0;
}

.tv a { color: yellow;}

table.thinborder {
    border-color: #333;
    border-width: 1px 1px 0 0;
    border-style: solid;
}

table.thinborder td, table.thinborder th {
    border-width: 0 0 1px 1px;
    border-style: solid;
    border-color: #333;
    margin: 0;
    
}

table.thinborder th {
    vertical-align: middle;
    text-align: center;
}

table.thinborder.progno {
    margin: 10px auto;
}

table.thinborder.progno th {
    font-weight: bold;
}

table.thinborder.progno th, table.thinborder.progno td {
    background-color: #ffffcb;
}

.card-table {
    background-color: #d4dee8;
    border-color: #333;
    border-width: 1px 1px 0 0;
    border-style: solid;
    color: black;
    padding:0;
    margin: 20px auto;
    }
    
.card-table td, .card-table th {
    border-width: 0 0 1px 1px;
    border-style: solid;
    border-color: #333;
    text-align: center;
    margin: 0;
    padding: 5px;
}

.highlight {
    background-color: #d4dee8;
    border: 1px solid #333;
    margin: 20px 40px;
    padding: 10px;
}

#front-end h1 {
    color: #369;
    font: bold 14px Tahoma, sans-serif;
}


#left-column * a#orthography {
    
    /*display: block;*/
    /*border: 1px solid #c63;*/
    font: bold 10px 'Arial', sans-serif;
    /*font-style: italic;*/
    text-transform: none;
    /*padding: 10px;*/
    /*text-align: center;*/
    
}

blockquote.readers-questions {
    color: #99a;
    font: normal 16px Times New Roman, Times, serif;
    font-style: italic;
    
}

blockquote.readers-questions h3 {
    background: none;
    font: bold italic 24px Times New Roman, Times, serif;
    color: #346;
}

blockquote.readers-questions p {
    border-top: 1px dashed #369;
    padding-top: 4px;
}