/*
Theme Name: EnglishTexts 2
Theme URI: http://EnglishTexts.ru
Description: EnglishTexts
Version: 2.0
Author: Borisov
*/

body {
  	text-align: center;
  	border:0;
  	margin:0;
  	background:#eee; 
  	font-size: 14px;
  	font-family: 'Open Sans', Verdana, Helvetica, Sans-Serif;
  	color: #333333; 
}

A:link, A:visited, A:active {
	COLOR: #2153AA;
}
A:hover {
	COLOR: #FF0000;
}

#page_wrapper {
  	margin:0 auto; 
  	text-align: left;
  	border: 8px solid #FFFFFF;
  	background:#FFFFFF; 
	/*  margin:0 auto; */
	width: expression(document.body.clientWidth > 1200 ? "1200px" : "auto"); /* задает max-width дл IE */
	max-width: 1200px; /* это для всех остальных нормальных браузеров */
	width: expression(document.body.clientWidth < 960 ? "960px" : "auto"); 
	min-width: 960px;
}

/************ Заголовок *********************/
/*#header_wrapper {
  	background: #4E7DD1 url(images/menu_bg.gif) bottom left repeat-x;
  	height: 70px;
  	margin: 0px;
  	padding: 0px;
	width: expression(document.body.clientWidth > 960 ? "960px" : "auto"); /* задает max-width дл IE */
	/*max-width: 960px; /* это для всех остальных нормальных браузеров */
  	/*margin-left: auto ;	margin-right: auto ;
}
#header {
  	/*margin: 0px;*/
	/*margin-left: 7%;
  	padding: 0px;
  	height: 60px;
}*/

#header_wrapper {
	background: #4E7DD1 url(images/menu_bg.gif) bottom left repeat-x;
	margin:0px; padding:0px;
	width: expression(document.body.clientWidth > 960 ? "960px" : "auto"); /* задает max-width дл IE */
	max-width: 960px; /* это для всех остальных нормальных браузеров */
  	margin-left: auto ;	margin-right: auto ;  
}

#header {
  height: 60px;
  padding:15px;
  margin:0px;
}

#header_newaddr	{
	float:right; 
	margin-top:40px; 
	margin-right:9%; 
	color:#ffffff;
}
/*background: url(images/header_bg.gif) top right no-repeat;*/
#header h1, .blog_name {
  	margin:0px;
  	font-size: 21px;
  	color:#ffffff;
  	font-weight: bold;
}
#header h1 a, #header h1 a:visited, .blog_name a, .blog_name a:visited, #header_newaddr a, #header_newaddr a:visited
{
	text-decoration:none;
  	color:#ffffff;
}
#header h1 a:hover, .blog_name a:hover, #header_newaddr a:hover
{
	text-decoration:underline;
  	color:#ffffff;
}

/************ сайдбары ********************/
#bottom_sidebar_wrapper {
  	clear: both;
}
#bottom_sidebar, #top_sidebar , #topad_sidebar {
	background-color: #F1F6FE;
  	/*background: #F1F6FE url(images/side_bg.gif) bottom left repeat-x;*/
  	overflow: hidden;
  	margin-left: auto ;	margin-right: auto ;
	width: expression(document.body.clientWidth > 960 ? "960px" : "auto"); /* задает max-width дл IE */
	max-width: 960px; /* это для всех остальных нормальных браузеров */
}
#topad_sidebar {
  	margin: 10px auto 0 auto;
}

#top_sidebar {
  margin: 0 auto 0 auto;
  background-color: #4E7DD1; /*#ffffff;*/
  /*background: url("images/menu_bg.gif") repeat-x scroll left bottom #4E7DD1;*/
  font-size: 16px;
  color: navy;
}
#top_sidebar a {
	margin-left: 60px ;	
}

.sidebar_block {
	float: left;
	/*width:190px;*/
	margin-left: 2px ;
}
.ya_block {
	float: left;
	width: 310px;
}
.sidebar_header {
  margin-top:5px; margin-bottom:10px; margin-left:5px; margin-right:5px;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
  color: navy;
  /*border:1px solid #0F3974;*/
  /*background-color: #2153AA;*/
}

.sidebar_block  p{
	margin-top: 1px; margin-bottom: 1px;
}

/*****************  content и content_wide**********/
#content, #content_wide, #content_home{
  margin-top: 10px;  margin-bottom: 0px;
  margin-left: auto;  margin-right: auto;
}
#content {
  width: 650px;
}
#content_home{
	width: expression(document.body.clientWidth > 960 ? "960px" : "auto"); /* задает max-width дл IE */
	max-width: 960px; /* это для всех остальных нормальных браузеров */
}

#content p, #content_wide p, #content_home p{
  font-size: 100%;
  line-height: 1.5em;
  margin-top:15px; margin-bottom: 15px;
}

/*все выравниваем по центру и ужимаем #content_wide div*/
#content_wide p, 
#content_wide ol, #content_wide ul, #content_wide h3, #content_wide h4, #content_wide h1,
#content_wide table, #content_wide #commentsbox, #content_wide #after_entry, #content_wide .hidden_answer_details, 
#content_wide .in_entry
{
  max-width: 650px;
  margin-left: auto;  margin-right: auto;
}

/*в широких page тизер расширяется*/
#content_wide .tiz_list p
{
	width: 350px;
}


#content h2, #content_home h2 {
  margin:0px;
  font-family: verdana, arial, sans-serif;
  font-size: 18px;
  color: #2153AA; /*  color:#B1C6EB; */
  text-align: center;
}
#content p.caption, #content_wide p.caption, #content_home p.caption {
  margin-top:1px; margin-bottom: 1px;
  font-size: 90%;
}
#content h1, #content h3, #content_wide h1, #content_wide h3, #content_home h1 {
  margin-top:5px; margin-bottom: 10px;
  font-family: verdana, arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 18px;
  color: #2153AA;
}
#content_home h3  {
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  line-height: 14px;
  color: #2153AA;
  margin-bottom: 5px;
}
#content h4, #content_wide h4, #content_home h4  {
  color: #2153AA;
}

/************** post *******************/
.post{
  margin:0 0 25px 0;
}
.post .info{
padding:2px 3px 3px 8px;
border:1px solid #e3e4e4;
background-color:#f5f5f5;
font-size:0.9em;
color:#505050;
}
.post h3 A:link, .post h3 A:active, .post h3 A:visited {
  text-decoration: none;
}
.post h3 A:hover {
  text-decoration: underline;
}

#footer {
	height: 110px;
	background-color: #4E7DD1;
	clear: both;
	text-align: center;
	padding-top:12px;
	color: #B6CEF9;
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
	line-height: 18px;
	width: expression(document.body.clientWidth > 960 ? "960px" : "auto"); /* задает max-width дл IE */
	max-width: 960px; /* это для всех остальных нормальных браузеров */
  	margin-left: auto ;	margin-right: auto ;
}

#footer A:link, #footer A:visited, #footer A:active {
	COLOR: #FFFFFF; text-decoration: none;
}
#footer A:hover {
	COLOR: #FFFFFF; text-decoration: underline;
}

#category-description h1 {
  color:#4996F3;
  text-align: right;
  margin:0px;
  font-family: verdana, arial, sans-serif;
  font-size: 18px;
}



/************************************************************************************
Comments
*************************************************************************************/
#commentsbox {
	clear:both;
	padding-top:20px;
}

#commentsbox p {
	width: auto;
}

#comments, #reply{ 
	position:relative; font-size: 18px; margin:0 0 20px -40px; color: #FFF; 
	padding:8px 40px; 
	}
#comments:after, #reply:after{content:" ";display:block;width:21px;height:21px;position:absolute;bottom:-11px;left:-1px;margin-bottom:-10px;z-index:-1;}
#commentsbox li #reply{margin:10px 0 0; background: none; padding: 0; color: #000; text-shadow: none; -moz-box-shadow: none;-webkit-box-shadow: none);-o-box-shadow: none;box-shadow: none}

.commentlist{margin:0px 0 0; clear:both; overflow:hidden; list-style:none}
.commentlist li{margin:10px 0; line-height:18px; padding:10px}
.commentlist li li{padding: 0 !important }
.commentlist li li .comment-body{ background: #F5F5F5; padding: 10px; border: 1px solid #CCC;
}
.commentlist ul {width: auto !important; }
.comment-author a:link, 
.comment-author a:visited{font-weight:bold}
.comment-author .fn{}
cite.fn{color:#000;font-weight:700;font-size:12px}
.comment-author .avatar{float:left; margin:0 10px 0 0;-moz-box-shadow:0 14px 10px -12px rgba(0,0,0,0.7);-webkit-box-shadow:0 14px 10px -12px rgba(0,0,0,0.7);box-shadow:0 14px 10px -12px rgba(0,0,0,0.7)}
.comment-meta{font-size:11px}
.comment-meta .commentmetadata{color:#000}
.comment-meta a{color:#666; text-decoration:none !important}
ol.commentlist li p{line-height:22px; margin:5px 0 0}
.reply{margin-top:5px; font-size:11px; font-style: italic}
.children{list-style:none; margin:1em 0 0; text-indent:0;}

.children li.depth-2{margin:0 0 0px 50px}
.children li.depth-3{margin:0 0 0px 50px}
.children li.depth-4{margin:0 0 0px 50px}
.children li.depth-5{margin:0 0 0px 50px}
.comment-nav{padding:5px; height:20px}
.comment-nav a:link, .comment-nav a:visited{}
.cancel-comment-reply a{color:#F00; font-weight:700}
#respond{margin:20px 0px}
#commentform{}
#commentform p{padding:10px 0}
#respond label{display:block; padding:5px 0}
#respond label small{font-size:10px}
#respond input{margin-bottom:10px; padding:5px 5px; margin:0 10px 10px 0; background:#fff; border:1px solid #ddd}
#commentform input{width:50%}
#respond input#commentSubmit{padding:5px 0; width:100px; font-size:12px; background:#B6CEF9; border-top:1px solid #333; border:1px solid #000; text-decoration:none; border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px; margin:10px 0px; cursor:pointer; border:0; outline:none; -moz-box-shadow:2px 2px 5px #CCC; -webkit-box-shadow:2px 2px 5px #CCC; box-shadow:2px 2px 5px #CCC}
#commentSubmit:hover{background:#4E7DD1 !important}
#commentSubmit:active{background:#B6CEF9 !important}
textarea#comment{border:none; background:#fff; border:1px solid #ddd; width:70%; margin:10px 0px 0px 0px; padding:5px 5px}
#comments-closed{padding:10px 0}


/************************************************************************************
Pagination
*************************************************************************************/
.pagination{clear:both; margin: 0 20px; position:relative; font-size:11px; line-height:13px}
.pagination span, 
.pagination a{display:block; float:left; margin:2px 5px 20px 0; padding:6px 9px 5px 9px; text-decoration:none; width:auto; color:#666; background:#EEE}
.pagination a:hover{color:#FFF}
.pagination .current{padding:6px 9px 5px 9px; color:#FFF}



/*
Мои добавления
*/
table.partxt {
	border-width: 0px;
	border-spacing: 2px;
	border-style: outset;
	border-color: #808080;
	border-collapse: collapse;
	font-size:100%;
	line-height: 1.5em;
	width: 650px;
}
table.partxt th {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: #808080;
}
table.partxt td {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: #808080;
	width: 50%;
}
table.partxt *.comment {
	background-color:#EFF7FF;
	width: 100%;
}

.caption {
	font-size: 90%;
}
table.greeting { /*приветствие на первой странице */
	border-width: 0px;
	border-spacing: 2px;
	border-style: outset;
	border-color: #808080;
	border-collapse: collapse;
	background-color: #F1F6FE; 
	margin-top: 10px;
	margin-bottom: 10px;
}
.ownercomment {
	background-color: #EAEAEA;
}
.dict { /*комментарии вне таблицы*/
	width: 500px;
	margin-left: 50px; /* Отступ слева от края до текста */
	border-left: solid 2px black; /* Линия слева от текста */
	padding-left: 7px; /* Расстояние от линии до текста */
	background-color: #F1F6FE;
}

/*Если текст показывается рядом с фильмом - таблица должна влезть в окошко*/
#content_wide #et_text .dict, #content_wide #et_text table.partxt, #content_wide #et_text p{
	width: auto;
}

.search {
	float: right;
}
.alignleft {
   float: left;
}
.alignright {
   float: right;
}

#ban {
  float: right;
  padding: 15px 25px 0px 0px;
}

#righttext {
  margin-right: 10px;
  text-align:right;
}

#lefttext {
  margin-left: 10px;
  text-align:left;
}

.transcript
{
  width:580px;
  height: expression( this.scrollHeight > 399 ? "400px" : "auto" ); /* sets max-height for IE */
  max-height: 400px; /* sets max-height value for all standards-compliant browsers */
  overflow:auto;
  border: #4E7DD1 1px solid;
  padding-left: 10px;   padding-top: 2px;  padding-right: 5px;  padding-bottom: 2px;
}

/*narrow*/
.transcript_n
{
  width:340px;
  height: expression( this.scrollHeight > 299 ? "300px" : "auto" ); /* sets max-height for IE */
  max-height: 300px; /* sets max-height value for all standards-compliant browsers */
  overflow:auto;
  border: #4E7DD1 1px solid;
  padding-left: 10px; padding-top: 2px; padding-right: 5px;  padding-bottom: 2px;
}

.transcript_down
{
  width:600px;
  height: expression( this.scrollHeight > 159 ? "160px" : "auto" ); /* sets max-height for IE */
  max-height: 160px; /* sets max-height value for all standards-compliant browsers */
  overflow:auto;
  border: #4E7DD1 1px solid;
  margin-top: -10px;
  padding-left: 10px;  padding-top: 2px;  padding-right: 5px;  padding-bottom: 2px;
}

span.GapSpan{
  font-weight: bold;
  color:#008000;
}

/**/
span.AnswerSpan{
font-weight: bold;
  color:#FF8040;
}

/*inline comments*/
span.icomm{
  color:#999999;
}

span.unicode{
	font-family: "Lucida Grande", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
}

.href{
  cursor: pointer;
}

.my_before_ad_10_1 {
    background-color: white;
    height: 100px;
}

.my_before_ad_10_2 {
    background-color: white;
}





/*
page footer
*/

div#page_footer {
	width: 100%;
	margin: 0;
	padding: 0.4em 0;
	text-align: center;
	color: inherit;
	background-color: #f5f5f5;
}

div#page_footer p {
	margin: 0;
	padding: 0;
}

/*
forms
*/

select, input, textarea {
	border: 1px solid #97ADEA;
	padding: 1px;
}

select:focus, input:focus, textarea:focus {
	border: 1px solid #800000;
}

.country_wrapper b {
	color: #039dd6;
}

.blue_button {
	background: #bff0f8;
	border: none;
	padding: 2px 8px;
}

input.blue_button:focus {
	background: #bff0f8;
	border: none;
	padding: 2px 8px;
}

.attribution{
  margin-top: -15px;
  font-size: 5px;
}



/*тизер - Популярные материалы для изучения английского языка:*/
.tiz{
	border: 1px solid #5894D6; 
	padding:5px; 
	margin:10px;
}
.tiz_header{
  font-family: verdana, arial, sans-serif;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: bold;
  line-height: 12px;
  color: #2153AA;
}
.tiz_list img
{
  height: auto !important; 
  width: 130px !important;
  /*float: left !important;*/
  margin-right:5px; 
}

/*тизер на главной странице*/
.tiz_mp{
	float:left; 
	/*border: 1px solid #5894D6; */
	padding:5px; 
	margin: 0 5px 5px 0;
	/*height:300px;*/
	width: 460px;
}

.tiz_mp br {display:none}

.tiz_mp_header {
  margin-top:5px; margin-bottom:10px;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
  color: navy;
  border:1px solid #0F3974;
  background-color: #2153AA;
}
.tiz_mp_header A:link, .tiz_mp_header A:visited, .tiz_mp_header A:active {
	COLOR: #FFFFFF; text-decoration: none;
}
.tiz_mp_header A:hover {
	COLOR: #FFFFFF; text-decoration: underline;
}
.tiz_mp_list img
{
  height: 130px !important; 
  width: auto !important;
  float: left !important;
  margin-right:5px; 
}
/*параграф в тизере - равен высоте изображения*/
.tiz_mp p{
  margin-top:5px; 
  height: 130px;
}
.tiz_mp h3{
  height: 30px;
}

.tiz_mp_link_to_full a
{
  float: right;	
  margin-right:30px;
  color: red;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
}


/* видео и текст */
#et_movie{
	float: right;
	margin-top: 20px; margin-bottom: 20px;
}
#et_text{
	float: right;
	width: 49%;
	overflow:auto;
	margin-top: 20px; margin-bottom: 20px;
	border: #4E7DD1 1px solid;
	padding-left: 10px;  padding-top: 2px;  padding-right: 5px;  padding-bottom: 2px;
}
#et_video {
	/*margin-left: -100px;*/
  margin-left: auto;  margin-right: auto;
	
}

.hidden_answer_text {
  font-weight: bold;
  color:#008000;
}

.hidden_answer_details A:link, .hidden_answer_details A:visited, .hidden_answer_details A:active {
  color:#4E7DD1;
}

.shop{
	background-color: #F1F6FE;
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    overflow: hidden;
}

.shop table tbody tr td{
	vertical-align: top;
	width: 150px;
}

#navlist
{
  margin-top:1px;
  margin-bottom:0px;
  text-align:center;
  padding: 5px 0;
  margin-left: 0;
  /*border-bottom: 1px solid #0F3974;*/
  font: bold 14px Verdana, sans-serif;
}

#navlist li
{
  list-style: none;
  display: inline;
}

#navlist li a
{
  color: #F1F6FE;
  padding: 5px 15px;
  margin-left: 3px;
  border: 1px solid #0F3974;
  border-bottom: none;
  background: #2153AA url(images/tab_bg.gif) bottom left repeat-x;
  text-decoration: none;
}

#navlist li a:link { color: #F1F6FE; }
#navlist li a:visited { color: #F1F6FE; }

#navlist li a:hover
{
  color: #FFFFFF;
  background: #3364BB;
  border-color: #0F3974;
}

#navlist li a#current
{
  color: #000;
  background: #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

/*информация об авторе*/
.media, .bd { overflow: hidden; _overflow: visible; zoom: 1; }
.media img, .media .img { float: left; margin-right: 10px; }
.media img { display: block; }
.media .imgExt { float: right; margin-left: 10px; }
.profile { margin-top: 10px; padding: 20px 10px; border: solid thin #c6c6c6; -webkit-box-shadow: 7px 7px 5px rgba(50, 50, 50, 0.75); -moz-box-shadow: 7px 7px 5px rgba(50, 50, 50, 0.75); box-shadow: 7px 7px 5px rgba(50, 50, 50, 0.75); }
.profile-links { padding: 5px 0; }