/*
Theme Name: Академия фэншуй
Theme URI: https://academia-fengshui.ru/
Description: The Academy of Fengshui WordPress theme based on the default theme
Version: 2.0
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 {
	color: #333;
	background:  url(/images/2015/back-scratched.jpg);
	position: absolute;
	top: 0;
	left:0;
	width: 100%;
    margin: 0;
    padding: 0;
	border: none;
    font: normal small 'Calibri, Verdana', sans-serif;
	line-height: 150%;
}
body.customize-support { top: 32px; }

body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 412px;
	padding: 0;
	margin: 0;
	background:  url(/images/2015/clouds.png) center top no-repeat;
	z-index: -1;
}


b, strong { color: #555; }
/*h1, h2, h3 { font-family: Calibri, Helvetica, Tahoma, 'Arial Narrow', sans-serif; }*/

h4 {
	font-family: Times, serif;
	font-style: italic;
	font-size: 16px;
	color: #369;
}

/*ul {*/
/*    margin: 4px 0 4px 20px;*/
/*}*/
/**/
/*li {*/
/*    margin-left: 20px;*/
/*}*/
a:link, a:visited, a:hover, a:active { text-decoration: none;}

a:link, a:visited  {color: #33f; }
a:link:hover, a:visited:hover, a:active, a:visited:active { color: #c00; }

a svg { fill: #33f; }
a:hover svg { fill: #c00; }




a.e-mail {
    background: transparent url('images/e-mail-icon.png') no-repeat right;
    padding-right: 16px;
}


#header {
	position: absolute;
	float: left;
	top: 24px;
	border-radius: 1em;
	left: 50%;
	width: 892px;
	height: auto;
	margin: 0px 0 0 -446px;
	background: transparent url(/images/2015/head-photos.jpg) center bottom no-repeat;
	color: #2B5EC4;
	padding: 10px 0 150px;
}

#header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200px;
	opacity: .7;
	background: white;
	border-radius: 1em;
	z-index: -1;
}


a#home {
	position: relative;
	display: block;
	float: left;
	width: auto;
	height: 80px;
	background: url(/images/2015/logo-62.png) 74px top no-repeat;
	padding: 8px 0 0 214px;
	margin: 0;
	font-weight: bold;
	font-face: Helvetica, Tahoma, sans-serif;
	color: #2B5EC4;
}

a#home div { font-size: 15px; white-space: nowrap; float: left; }
a#home .home-title { font-size: 26px; padding-bottom: .3em; color:  }
a#home .home-address { clear: left; }
a#home .home-phone { float: right; }

#header table { position: absolute; margin: 0; line-height: 100%; top: 15px; left: 650px; width: 230px; }
#header table th { text-align: left; }
#header table td { text-align: right; }

#header table th,
#header table td { padding: 0 12px 2px 0;  }

#middle {
        background: url('/images/2015/back-left.png') left center repeat-y;
		position: relative;
        width: 892px;
        margin: 350px auto 0; 
        display: block;
		clear: both;
		/*border-radius: 8px;*/
}

#content {
    display: block;
    float:right;
    margin:-10px 10px 0 0;
	border: none;
    width:648px;	
}

#left-column {
	position: relative;
    display:block;
    float:left;
    margin: 0 0 0px 1px;
	border: none;
	padding: 0 8px 60px;
	width: 193px;
}

#left-column::before {
	content: '';
	position: absolute;
	top: -20px;
	left: 0;
	background: url('/images/2015/back-left-top.png') center center no-repeat;
	height: 20px;
	width: 100%;
	padding: 0;
}

#middle::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: 0;
	background: url('/images/2015/back-left-bottom.png') center center no-repeat;
	height: 20px;
	width: 209px;
	padding: 0;
}

.up-wrapper {
	position: absolute;
	left: 0;
	bottom: 0;
	text-align: center;
	/*z-index: 1;*/
	width: 209px;
}

.up-wrapper a {
	display: inline-block;
	padding: .7em 1.4em;
	border: 2px solid white;
	border-radius: 12px;
	background: #eee url(/images/2015/up-arrow.png) center center no-repeat;
}

#middle-bottom {
        background: url('images/middle-bottom.png');
        width: 892px;
        margin: 0 auto;
        height:22px;
        clear: both;
		border-radius: 0 0 6px 0;
        
}

#footer {
	clear: both;
    font-size: 11px;       
    color:#333;
    text-align: center;
    padding:4px;
	margin-top: 40px;
}

#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-size: 11px;
    /*font: normal 11px Arial, sans-serif;*/
	padding: 2em;
}

#copyright a {
    color: #444;

}

.rounded-bottom {
    /*background: transparent url('images/rounded-bottom.png') no-repeat bottom;*/
    width: 100%;
    display: block;
    clear:both;
    padding: 0 0 10px 0;
	border: 1px solid #ccc;
	border-radius: 0 0 6px 6px;
}



#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-color: #ccc;*/
/*	border-style: solid;*/
/*	border-width: 0 0 1px 0;*/
    padding: 4px 0;
    margin:0;
    color: #369;
    /*font-family : Arial, sans-serif;*/
	/*text-align: center;*/
}

.rounded-bottom .middle h1,
.rounded-bottom .middle h2,
.post h1,
.post h2 {
        font-size: 16px;
        color : #339;
        text-align: center;
}


.post H1, 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: 40px 0 10px 0px;
    padding:0;
}

.widget_pages h2 {display: none;}

.widget_pages a, .widget_links a {
    /*font: bold 12px 'Verdana', sans-serif;*/
	font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.widget_pages a.current {
    color: #70a1c7;
}


.widget_pages a:link, .widget_pages a:visited,
.widget_links a:link, .widget_links a:visited 
{ color: #333; }

.widget_pages a:hover, .widget_pages a:visited:hover, .widget_pages a:active,
.widget_links a:hover, .widget_links a:visited:hover, .widget_links a:active
{ color: #900; }

.widget_pages ul li {
    display: block;
    margin:5px 0 0 3px;
    padding:0;

}

.widget_pages 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_item ul {display:block;}
#pages-2 li.current_page_item ul li ul { display: none; }    

/*
#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;
}

#left-column .widget_search h2 { margin: 0;}

/*#searchform {margin: 10px 0;}*/
#searchform label {
    /*font: bold 120% "Verdana", sans-serif;*/
	font-weight: bold;
	font-size: 120%;
    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;
	display: block;
	float: left;	
}



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;
	margin: 0 0 10px 10px;
    /*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;*/
	font-weight: bold;
    color: #333;
    text-transform: uppercase;
}


ul.sub-pages.sub-pages-2678 li { width: 90%; }
/*
  .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:  url('images/h3-back.png') repeat-x top;*/
   padding: 6px 10px;
   color: #275d86;
   font-weight: normal;
}


.textwidget{
    margin-left:10px; text-align: center;
}

.textwidget, .textwidget a, .textwidget a:visited {
    /*font: bold 10px 'Arial', sans-serif;*/
	font-weight: bold;
	font-size: 10px;
}


.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 {
	position: relative;
    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;

    }

.front-page-half  .post-link a { font-size: 100%; color: crimson; }
.front-page-half  .post-link .excerpt a {
	font-size: 80%;
	color: #080;
	white-space: nowrap;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 80%;
	white-space: nowrap;
	padding: .2em .4em;
	width: auto;
	float: right;
	margin: 0 0 2em 100%;
}

.front-page-half  .post-link .excerpt a:link, .front-page-half  .post-link .excerpt a:visited {	color: #080; }
.front-page-half  .post-link .excerpt a:hover, .front-page-half  .post-link .excerpt a:visited:hover {	color: crimson; }

.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; 
}


.cform label {
color: #333;
}
    
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;
    }
	
.cform-wrapper .close { float:right; margin-right:20px; }
    
.form-wrapper { width: 62%; margin: 1em auto; }
.form-wrapper input,
.form-wrapper textarea {
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 98%;
	padding: .5em;
	font-size: 120%;
	color: slategray;
	background: white url('images/button-back.png') bottom repeat-x;
}

.form-wrapper input[type=submit] {
	color: white;
	background: #36c;
	width: auto;
	display: block;
	padding: 0.5em 2em;
	margin: 0 auto;
}
    
.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 /* семинары */
, #post-2911 .related-posts /* СЛУЧАЙ ИЗ ПРАКТИКИ */
, #post-3135 .related-posts /* Наши поездки */
, #post-4028  .related-posts /* Ответы на впоросы */
, #post-4031  .related-posts /* Основы фэншуй */
, #post-4034  .related-posts /* Планировка дома и мебели */
, #post-4040  .related-posts /* Работа и фэншуй */
, #post-4042  .related-posts /* Расчёты в фэншуй */
, #post-4044  .related-posts /* Символы и талисманы */
, #post-4047  .related-posts /* Прочие вопросы */
 {
    display: block;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
    border: 0px solid #ccd;
    background: white;
	font-size: 100%;
}

#post-1987 .related-posts /* Video */
{
    display: block;
    width: 100%;
    float: none;
	margin:0;
	background: white;
	border: none;
	padding: 0;
	text-align: center;
	
}

#post-1987 .related-posts .sticky {
	width: 300px;
}

#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: #ffc;
 width: 290px;
 padding: 1em;
 display: block;
 float: right;
 margin: 0 0 1em 0;
 border: 1px solid #999;
 border-radius: 6px;
 box-shadow: 2px 2px 4px 4px #ccc;
}

.sticky .head {

    /*width: 257px;*/
    /*min-height: 20px;*/
    /*padding: 0 20px 0 20px;*/
    text-align: center;
    margin: 0;
}

.sticky.blue { background: aliceblue; }

.sticky * {margin:0;}

.sticky.odd {
    float: left;
    clear:both;
    }
.sticky.even {
    float: right;
}

#post-7 h1 { text-align: left; font-weight: normal; padding: 0;}
#post-7 div.front-news  h2 {display:block; margin-bottom:10px;}
/*#post-7 {
	background: url(/images/banners/new-year-2015.jpg) center top no-repeat;
	padding-top: 340px;
}
*/
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.front-videos { 
    clear:both; 
    margin-top: 20px;
    }

div.front-videos iframe {height: 200px;}

a.all-videos {
    display: block;
    float:right;
    clear: both;
    margin: 10px 0 0 0;
    background: url('images/all-videos.png') no-repeat;
    width: 120px;
    height: 24px;
    /*text-indent: 300px;*/
    white-space: nowrap;
    overflow: hidden;
   
    }

a.all {
    display: block;
    float:right;
    clear: both;
    margin: 10px 0 0 0;
	background: url('images/format_indent_more.png') right center no-repeat;
	padding: .7em 3em;
	color: #dd9c10;
	border: 1px outset #ccc;
	font: bold 120%  'Tahoma', 'sans-serif';
	text-transform: uppercase;
}

a.all:hover, a.all:visited:hover, a.all:active, a.all:visited:active {
	border-color: #c00;
}

a.all:active, a.all:visited:active { border-style: inset; }

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-weight: 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;}*/

.rounded-bottom li.page-item-3240 {clear: left}

address.phone {
    margin: 0;
    padding: 0;
    height: auto;
    white-space: nowrap;
    font-style: normal;
    font-weight: bold;
    display: inline;
    line-height: normal;
}

a.phone, a[href^="tel:"] {white-space: nowrap; font-weight: bold; }

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 12px 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;
	margin: auto;
}

.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 ;
    /*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;
}


table.group-info { background: #eee;}
.group-info th, .group-info td {
	vertical-align: top;
	padding: 4px 4px 20px 4px;
		background: /*#F6F6FF*/  white url('images/button-back.png') bottom repeat-x;
}

.group-info th {
	text-align: right;
	/*width: 240px;*/
	background: /*#F6F6FF*/  white url('images/button-back.png') bottom repeat-x;
}

.group-info tdd {
	background: #FcFcFf;
}

#filials p {
	text-align: center;
}

#filials img {
	border: 1px solid #ccc;
	border-radius: 6px;
}


#calc-wrapper {
	position: relative;
	display: block;
	width: 250px;
	height: 390px;
	/*background: url(/images/loading51.gif) center top no-repeat;*/
	overflow: hidden;
	float: right;
	/* border: 1px solid #eee; */
	margin-right: 12px;
}

#calc { /* iframe within calc-wrapper */
	position: relative;
	left: -20px; /*-600px;*/
	/*top: -194px;*/
}

#fb-wrapper {display: block; width:294px; float: right; clear: right;}


a.bazi {
	clear: both;
	float: right;
	display: block;
	width: 188px;
	margin: 2px 52px 2em 0;
	border: 1px solid #999;
	border-radius: 4px;
	color: #666;
	padding: 4px 10px;
	text-align: center;
}

a.bazi:hover { border-color: #c00;}


table.recalc {width: 100%; margin: 10px 0; clear: both;}

table.recalc td,
table.recalc th,
table.recalc th p,
table.recalc td p
{ text-align: center; }

table.recalc td { white-space: nowrap;}

table.recalc th { color: #369; font-weight: bold; }
table.recalc thead th { font-size: 160%; padding: 10px; border-bottom: double black 3px; }
table.recalc th.even { color: #900; }
table.recalc .even { border-right: double black 3px; background: #f0f0ff;}

#pages-2 .page-item-1688 {display: none; }

/* FaceBook */

.fb-like-box {margin: 10px 0 10px 5px;}

/* Flickr */

.thumb {float: left; clear: none; display: block; margin: 1px; border: 1px solid #369;}



.sub_page_quote {
	display: block;
	float: left;
	clear: both;
	margin: 10px 0;
	width: 100%;
}

.sub_page_quote h2 {
	margin: 10px 0;
	font-size: 14px;
/*	background: none;
	border-style: dotted;
	border-width: 0 0 1px 0;
	border-color: #369;
*/}

.interview-q {
	font-weight: bold;
	font-style: italic;
}

.interview-author {
	text-align: right;
	font-style: italic;
}

.news-link-3178 .excerpt iframe,
.news-link-3149 .excerpt iframe,
.news-link-3024 .excerpt iframe,
.front-news .excerpt iframe
{
	display: none;
}

.archive .post iframe { display: none}

.consultant,
img.rounded
	{border: 1px outset #ddd; border-radius: 10px; }



.readers_QA {font-family: Times, serif; }


.answer {font-style: italic; }

#write_to_us {
	font-size: 150%;
	text-align: left;
	height: 30px;
	display: block;
	background: url(/images/chat.png) left center no-repeat;
	padding: 15px 0 0 60px;
	margin: 12px 0;
}


#birthday {
	width: 638px;
	background: url('images/birthday10_640x240.jpg') center center no-repeat;
	height: 218px;
	border: 1px solid #933;
	border-radius: 6px;
	padding: 0;
	margin: 0 0 2em 0;
}

#birthday div {
	margin: 20px 60px;
	text-align: center;
	background: white;
	opacity: .94;
	border: 2px solid #900;
	border-radius: 6px;
	padding: 6px 20px;
	box-shadow: 0px 0px 21px 7px lightsalmon;
}

#birthday div * { opacity: 1; text-align: center;}
#birthday pstrong {color: #900;}
#birthday h4 {font-size: 24px; margin: .5em 0;}
#birthday p {
	font-size: 16px;
	font-style: italic;
	font-family: times;
	font-style: italic;
	color: darkorchid;

}

a.to_order {
	border-radius: 6px;
	margin: 0 auto 1em auto;
	width: 120px;
	display: block;
	border: 1px solid #369;
	padding: .5em;
	font-weight: bold;
	font-size: 130%;
}

.fw-ill { /*Full-width illustrations*/
	width: 100%;
	text-align: center;
}


.fw-ill img {
	border: 1px solid #999;
	border-radius: 6px;
	margin: 0 auto 1em;
	max-height: 90vh;
	max-width: 100%;
}

.fw-ill > a { position: relative; display: block; background-position: center center; background-repeat: no-repeat; background-size: contain; max-width: 100%; max-height: 70vh; }

#post-2852 img { border-radius: 6px; }
.downloadcounter { font-weight: normal; border: 1px solid #ccc; border-radius: .5em; background: #eee; padding: 1em; line-height: 5em;}

#post-3678 textarea { height: 10em; margin: 1em 0; }
#post-3678 textarea, #post-3678 table.elegant { width: 98%; }

.editors-only { display: none; }

.halfer { float: left; margin: 2em 0; padding: 0; text-align: center; width: 33.2%; font-weight: bold; }
.halfer svg { width: 50%; height: 50%; fill: #369; }
.halfer a:hover svg { fill: #900; } 
.widget_pages ul li.page-item-3792 {display: none; } /*e-mail*/



table.elegant {
	border-spacing: 0;
	border-width: 1px 1px 0 0;
}

table.elegant,
table.elegant th,
table.elegant td {
	border-color: #999;
	border-style: solid;
}

table.elegant tr { border: none; }
table.elegant tr:hover td,
table.elegant tr:hover th 
	{ background: #eef; } 

table.elegant th,
table.elegant td {
	padding: .4em .7em;
	margin: 0;
	border-width: 0 0 1px 1px;

}

table.elegant th {
	text-align: center;
	font-weight: bold;
	background: #eee;
}

table.elegant td {
	background: white;
	text-align: right;
}

table.elegant caption {
font-size: 120%;
font-weight: bold;
padding: 1em 0;
background: #eee;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #999;
border-radius: 6px 6px 0 0;
}

.excerpt audio { width: 100%; margin: .5em 0; }

/*.announcement-3811 {*/
/*	background: url(/radio/radio-podmoskovye-2014-09-25-320.jpg) center top no-repeat;*/
/*}*/
/**/
/*.announcement-3811 .head h3 {*/
/*	background: white;  margin-bottom: 4em;  opacity:.8;  border-radius:4px;  padding: .2em;*/
/*}*/

#hang-on {
	width: 120px;
	height: 209px;
	position: absolute;
	top: 0;
	right: 0;
	background: url(/images/xmas-ball-green.png) center top no-repeat;
}

#hang-on-left {
	width: 150px;
	height: 150px;
	position: absolute;
	top: 56px;
	left: 0;
	background: url(/images/xmas-ring.png) center top no-repeat;
}

#text-12 {margin-top: 1em;}

#thisInPopup { background-position: -30% 0%; }

#front-page-shop {  float: left; width: 100%;  }

#front-page-shop > a { float: left; width: 49%; display: block; text-align: center;}

#front-page-shop > a img { border: 1px solid #369; border-radius: 6px; }

#front-page-shop > p { clear: both;
  float: left;
  width: 100%; text-align: center; margin: 1em; }

.downunder {  text-align: center; padding: 1em; opacity: .2; }



/* 2015-04-23 */
.hor-menu {
	position: absolute;
	top: 100%;
	left: 0;
	

	width: 100%; 
	padding: 12px 0;
	text-align: justify;
	
	overflow: hidden;
	font-size: 0.1px; /* otherwise there's a space after the last element. IE 9/10 don't like font-size: 0; */
}

.hor-menu a {
	display: inline-block;
	/*float: left;*/
	/*margin: 0 42px 0 0;*/
	font-size: 14px;
	text-align: left;
	padding: .3em 1.5em;
	border-radius: 1em;
	font-weight: bold;
	background: white;
	color: #36f;
	border: 1px solid white;
}

.hor-menu a:hover, .hor-menu a:visited:hover { background: #36f; color: white; }

div.hor-menu:after {
  content: '';
  width: 100%; /* Ensures there are at least 2 lines of text, so justification works */
  display: inline-block;
}


#pages-2 .page-item-718,
#pages-2 .page-item-7
, #pages-2 .page-item-14
/*, #pages-2 .page-item-18*/
/*, #pages-2 .page-item-21*/
, #pages-2 .page-item-883
, #pages-2 .page-item-2088
{ display : none; }


a.e-mail {
	/*font-size: 150%; */
           background: transparent url('images/e-mail-icon.png') no-repeat left;
		   padding: 0 0 30px 0;
           /*width:30px;*/
           white-space: nowrap;
           /*float:right;*/
		   /*margin: 0 0 0 316px;*/
			/*position: absolute;*/
			/*left: 50%;*/
			/*top: 44px;*/
}

#post-18 .related-posts { float: left; margin: 0.5em 2em 2em 0; font-size: 100%; }

.widget_pages {
	border-left: 2px solid purple;
	padding-left: 6px;
}

/*#post-7 { display: none; }*/
.trident { float: left; width: 100%; margin: 0 0 1em; padding: 0; clear: both; position: relative; }
.dent {
	float: left;
	border: 0px solid #999;
	border-radius: 8px;
	width: 210px;
	height: 240px;
	position: relative;
	background: url(/images/2015/dent.png) center bottom no-repeat;
	overflow: hidden;
}
.dent iframe { border-radius: 2px 2px 6px 6px; }
.super { position: absolute; left: 0; width: 202px; padding: .5em 4px; margin: 0; background: #ffd; opacity: .9; text-align: center;}
.top { top: 0; border-radius: 2px 2px 0 0; }
.bottom { bottom: 0; border-radius: 0 0 6px 6px; }

.dent h4 { margin: .5em 0; font: normal 120% Calibri, Helvetica, Verdana, sans-serif; }
.dent span.town { display: inline-block; padding: 1em 0 0 0; font-weight: bold; }

.post { position: relative; }
.entry > .consultant { position: absolute; top: 1em; right: 1em; }

.dent a.block {
	display: block;
	width: 100%;
	background-repeat : no-repeat;
	background-position: center top;
	height: 100%;
	position: relative;
	border-radius: 9px;
	}
.dent a.block span.bottom {
	display: block;
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 1em 0;
	height: auto;
	border-width: 0px;
	border-radius: 0 0 9px 9px;
	text-align: center;
	background: #f0f0f0;
}
.page-item-34 { display: none !important; } /* Программа 1-5 курсов */



.modal {
	position: fixed;
	_position: absolute;
	background: url('/images2010/purple_haze.png');
	_background: url('/images2010/purple_haze.gif');
	top:0;
	left:0;
	width: 100%;
	height: 2000px;
	z-index: 6666;
}

.modal::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300%;
	background-color: coral;
	opacity: .62;
}

.modal > div { /*.very-important */
	margin: 100px 0 0 -200px;
	width: 360px;
	height: auto;
	left: 50%;
	position: relative;
	border-radius: 10px;
	border: 1px solid #999;
	background: white;
	box-shadow: 1px 1px 40px 6px #ccc;
	padding: 20px;
	overflow: auto;
}

.af-message h1 { text-align: center; line-height: 120%; }

.af-message .buttons {
	margin: 10px;
	text-align: center;
}

.af-message .buttons .button {
	padding: 0.4em 1em;
	border-radius: .3em;
}

.af-message.baloon {
	position: fixed;
	bottom: 1em;
	right: 1em;
	padding: 1em;
	background: white;
	opacity: .95;
	z-index: 099;
	width: 33%;
	border: 1px solid #999;
	border-radius: .5em;
	box-shadow: 1px 1px 40px 6px #ccc;
}	

.message_body { font-size: 14px; }
.message_body h1 { font-size: 18px; }

#message-1 p { text-align: center; }

.teaco { position: absolute;
bottom: 1em;
width: 100%; }
.teaco a { display: block; font-size: 120%; text-align: center; }

div#post-7.post { background: url(/images/2015/title-top-back.png) right top no-repeat; border-radius: 0 12px 12px 0; }

#pages-2 * { display: none; }