body {
	font: 14px/21px Arial, Helvetica, sans-serif;
	padding: 0;
	margin: 0;
	background-color: white;
}
a {
	color: #3baae3;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
#left img {
	display:block;
}
#middle #middle-adv-inner {
	display:block;
	padding-top:5px;
	padding-bottom:5px;
	margin-left:auto;
	margin-right:auto;
}

#wrapper {
	padding: 5px;
	max-width: 1338px;
	min-width: 350px;
	margin: 5px auto;
	border: solid 1px #d7ebf9;
	background-color: #f5fbfe;
}
#header {
	height: 74px;
	background-color: #3baae3;
	background: linear-gradient(top, #8dcdef, #3baae3);
	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8dcdef), color-stop(100%,#3baae3));
	/* Safari 5.1, Chrome 10+ */
	background: -webkit-linear-gradient(top, #8dcdef, #3baae3);
	/* Firefox 3.6+ */
	background: -moz-linear-gradient(top, #8dcdef, #3baae3);
	/* IE 10 */
	background: -ms-linear-gradient(top, #8dcdef, #3baae3);
	/* Opera 11.10+ */
	background: -o-linear-gradient(top, #8dcdef, #3baae3);
	border-top: 1px solid #aed0ea;
	border-left: 1px solid #aed0ea;
	border-right: 1px solid #aed0ea;
	border-bottom: 0;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
}
#site-logo-name {
	height: 74px;
	display: inline-block;
}
#site-logo {
	width: 146px;
	height: 64px;
	margin: 4px 0 0 0;
	float: left;
}
#site-name {
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 26px;
	line-height: 28px;
	color: white;
	text-shadow: 0px 0px 0 rgb(183,183,183),1px 1px 0 rgb(124,124,124), 2px 2px 0 rgb(65,65,65),3px 3px 2px rgba(0,0,0,0.4),3px 3px 1px rgba(0,0,0,0.5),0px 0px 2px rgba(0,0,0,.2);
	margin: 23px 0 0 20px;
	padding-top: 0;
}
#site-name a {
	color: white;
	text-decoration: none;
}

#top-bar {
	margin-bottom:5px;
	margin-top:5px;
}

#top-right-button {
	display:none;
}

#top-adv {
	margin-left:305px;
	margin-right:305px;
}

#top-adv-inner {
	display:block;
	/*height:90px;*/
	margin-left:auto;
	margin-right:auto;
}

#left {
	width: 300px;
	float: left;
	padding: 0;
	margin-top:-95px;
	margin-bottom: 5px;
	margin-left: -100%;
}

#left-adv {
	margin-bottom:5px;
}

#left-adv-inner {
	display:block;
	width:300px;
	height:600px;
	margin-left:auto;
	margin-right:auto;
}

#left-adv-yandex {
	margin-bottom:5px;
}

.yandex-adaptive {
	display:block;
	width:300px;
	height:600px;
	margin-left:auto;
	margin-right:auto;
}

#cor {
	margin-bottom: 5px;
	display: block;
	background-color: #dd0000;
	border: 1px solid #aa0000;
}
#cor h2 {
	font-size: 16px;
	line-height: 18px;
	margin: 0;
	padding: 0;
}
#cor h2 a {
	color: #f1fafe;
	text-decoration: underline;
	display: block;
	width: 278px;
	padding: 5px 10px;
}
#cor h2 a:hover {
	color: white;
	text-decoration: underline;
}

#tk-eaes {
	margin-bottom: 5px;
	display: block;
	background-color: #3BAAE3;
	border: 1px solid #2694e8;
}
#tk-eaes h2 {
	font-size: 16px;
	line-height: 18px;
	margin: 0;
	padding: 0;
}
#tk-eaes h2 a {
	color: #f1fafe;
	text-decoration: underline;
	display: block;
	width: 278px;
	height: 55px;
	padding: 5px 10px;
}
#tk-eaes h2 a:hover {
	color: white;
	text-decoration: underline;
}

#kursy-valyut {
	margin-bottom: 5px;
	display: block;
	background-color: #3BAAE3;
	border: 1px solid #2694e8;
}
#kursy-valyut h2 {
	font-size: 16px;
	line-height: 18px;
	margin: 0;
	padding: 0;
}
#kursy-valyut h2 a {
	color: #f1fafe;
	text-decoration: underline;
	display: block;
	width: 278px;
	height: 37px;
	padding: 5px 10px;
}
#kursy-valyut h2 a:hover {
	color: white;
	text-decoration: underline;
}

#ett-eaes {
	margin-bottom: 5px;
	display: block;
	background-color: #3BAAE3;
	border: 1px solid #2694e8;
}
#ett-eaes h2 {
	font-size: 16px;
	line-height: 18px;
	margin: 0;
	padding: 0;
}
#ett-eaes h2 a {
	color: #f1fafe;
	text-decoration: underline;
	display: block;
	width: 278px;
	height: 55px;
	padding: 5px 10px;
}
#ett-eaes h2 a:hover {
	color: white;
	text-decoration: underline;
}

#ruble-exchange-rates {
	margin-bottom: 5px;
	display: block;
	background-color: #3BAAE3;
	border: 1px solid #2694e8;
}
#ruble-exchange-rates h2 {
	font-size: 18px;
	line-height: 22px;
	margin: 0;
	padding: 0;
}
#ruble-exchange-rates h2 a {
	color: #f1fafe;
	text-decoration: underline;
	display: block;
	width: 278px;
	height: 46px;
	padding: 10px;
}
#ruble-exchange-rates h2 a:hover {
	color: white;
	text-decoration: underline;
}

#right {
	width: 300px;
	padding: 0;
	margin-top:-95px;
	margin-bottom: 5px;
	
	
	
	float: left;
	margin-left: -300px;
}

#middle {
	overflow:hidden;
	padding: 0;
	margin: 0px 305px 5px 305px;
	margin-bottom: 5px;
}

#main-wrapper {
	float: left;
	width: 100%;
}



#social_media_share_inscr {
	color: #2779AA;
	float: left;
	padding-right: 8px;
	padding-top: 2px;
}



#footer {
	clear: both;
	padding: 10px 20px;
	background-color: #3baae3;
	background: linear-gradient(top, #3baae3, #2779aa);
	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3baae3), color-stop(100%,#2779aa));
	/* Safari 5.1, Chrome 10+ */
	background: -webkit-linear-gradient(top, #3baae3, #2779aa);
	/* Firefox 3.6+ */
	background: -moz-linear-gradient(top, #3baae3, #2779aa);
	/* IE 10 */
	background: -ms-linear-gradient(top, #3baae3, #2779aa);
	/* Opera 11.10+ */
	background: -o-linear-gradient(top, #3baae3, #2779aa);
	/*position:relative;*/
	border: 1px solid #aed0ea;
}
#footer a {
	color: #c0cfda;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer #copyright {
	color:white;
	font-size:14px;
	font-weight:bold;
}
#footer #usage {
	color:#d7ebf9;
	font-size:14px;
	font-weight:bold;
	font-style:italic;
}
#footer #design {
	color:white;
	font-size:14px;
	font-weight:bold;
}
#footer #contacts {
	color:white;
	font-size:14px;
	font-weight:bold;
}
#footer #counters {
	padding-top:6px;
}



img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/*Полосатость таблицы курсов валют*/
.grid_exch tr:nth-child(odd) {
	background: #d7ebf9;
}
.grid_exch tr:nth-child(even) {
	background: #f2f5f7;
}

.slideshow {
	position:absolute;
	width:134px;
	height:134px;
	margin-top:14px;
}

/*Чтобы картинки слайдшоу не появлялись вначале*/
.slideshow img {
	padding: 0px;
	border: 0px;
	margin: 0px;
	display: none;
}

/*Ширина datepicker*/
.ui-datepicker {
	width: 270px;
	height: auto;
	margin: 5px auto 0;
	padding: 3px 3px 0 3px;
}

/*Фон для шапки datepicker*/
div#curdatepicker div div {
	background-image:url('/rtfiles/jqueryui/images/datepicker-header.png');
}


a.lang:hover {
	border: 1px solid #74b2e2;
	background: #e4f1fb url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_100_e4f1fb_40x40.png") 50% 50% repeat;
	color: #0070a3;
}
a.lang span {
	font-size:11px;
	padding:0;
}
a#<?php echo $lang.'lang'; ?> {
	border-top: 1px solid #3baae3;
	border-bottom: 1px solid #2694e8;
	border-left: 1px solid #2694e8;
	border-right: 1px solid #2694e8;
	background: #3baae3 url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_20_3baae3_40x40.png") 50% 50% repeat;
	color: #ffffff;
}




/*Вкладки горячих новостей*/
a.newstab {
	display: block;
	border: 1px solid #aed0ea;
	background: #d7ebf9 url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_60_d7ebf9_40x40.png") 50% 50% repeat;
	color: #2779aa;
	text-decoration: none;
	box-sizing:border-box;
	margin:0;
	padding:4px 8px;
	font-weight:bold;
	line-height:120%;
	text-indent: 12px;
	font-size:13px;
}
a.newstab:hover {
	border: 1px solid #74b2e2;
	background: #e4f1fb url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_100_e4f1fb_40x40.png") 50% 50% repeat;
	color: #0070a3;
}
a.newstab span {
	font-size:12px;
	color:#1b81b8;
	font-weight:normal;
}

/*Таблицa (статистика)*/
table#stat {
	box-sizing:border-box;
	border-collapse: collapse;
	font-size:12px;
	line-height:120%;
}
#stat th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
#stat th:nth-child(2) {
	width:90px;
}
#stat td {
	border: 1px solid #2694e8;
	padding: 2px;
}
#stat td:last-child {
	text-align: right;
}

/*Верхняя накладка таблицы курсов*/
#curs-source-and-date {
	box-sizing:border-box;
	font-size:13px;
	text-align:center;
	padding:4px;
	border-bottom:1px solid #2694e8;
	margin-top:2px;
	width:300px;
	line-height:16px;
}
/*Таблицa (курсы)*/
table#curs {
	width:300px;
	font-size:12px;
	/*line-height:120%;*/
	line-height:14px;
	box-sizing:border-box;
	border-collapse: collapse;
	border-top: 0;
}
#curs th {
	border-top:0;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
	border-top:1px solid #c0cfda;
}
#curs th:nth-child(1) {
	border-right:1px solid #c0cfda;
}
#curs th:nth-child(2) {
	border-left:1px solid #c0cfda;
	border-right:1px solid #c0cfda;
}
#curs th:nth-child(3) {
	border-left:1px solid #c0cfda;
}
#curs td {
	text-align:center;
	border: 1px solid #2694e8;
	padding: 2px;
}

/*Курсы валют на другие даты*/
#curs-other-dates {
	box-sizing:border-box;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	border-bottom:1px solid #2694e8;
	width:300px;
	background-color:#f2f5f7;
	padding-top:6px;
	padding-bottom:10px;
	line-height:20px;
}
#curs-other-dates-inscr {
	text-align:center;
	color:#0070a3;
	font-weight:bold;
	font-size: 14px;
}


/*Таблицa (статистика)*/
table#stat {
	box-sizing:border-box;
	border-collapse: collapse;
	font-size:12px;
	line-height:120%;
}
#stat th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
#stat th:nth-child(2) {
	width:90px;
}
#stat td {
	border: 1px solid #2694e8;
	padding: 2px;
}
#stat td:last-child {
	text-align: right;
}

h1#cor_special_title {
	text-align:center;
	font-size:24px;
	line-height:28px;
	color:#3399cc;
}
h2.cor_special_title {
	text-align:center;
	font-size:20px;
	line-height:23px;
	color:#3399cc;
}

#curs_special_title {
	text-align:center;
	font-size: 26px;
	line-height:30px;
	color:#3399cc;
}
.curs_country {
	box-sizing: border-box;
	display: inline-block;
	float: none;
	height: 51px;
	margin: 0px 8px 8px 0px;
	padding: 4px;
	vertical-align: top;
	width: 158px;
	text-align:left;
}
.curs_country_flag {
	display: inline-block;
	height: 43px;
	vertical-align: middle;
	width: 46px;
}
.curs_country_name {
	display: inline-block;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
	margin: 0px;
	overflow: auto;
	vertical-align: middle;
	width: 96px;
}
/*Таблицa (курсы основная)*/
table#curs_special {
	width:300px;
	font-size:14px;
	line-height:16px;
	box-sizing:border-box;
	border-collapse: collapse;
	border-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 8px;
}
table#curs_special span {
	font-size:12px;
}
#curs_special th {
	border-top:0;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
	border-top:1px solid #c0cfda;
}
#curs_special th:nth-child(1) {
	border-right:1px solid #c0cfda;
}
#curs_special th:nth-child(2) {
	border-left:1px solid #c0cfda;
	border-right:1px solid #c0cfda;
}
#curs_special th:nth-child(3) {
	border-left:1px solid #c0cfda;
}
#curs_special td {
	text-align:center;
	border: 1px solid #2694e8;
	padding: 2px;
}

/*Таблицa (архив)*/
table.archive-table {
	box-sizing:border-box;
	font-size:12px;
	border-collapse: collapse;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	border-bottom:1px solid #2694e8;
	background-color:#f2f5f7;
	width:100%;
}
table.archive-table th {
	padding:0;
	color:#2779aa;
}
table.archive-table td {
	padding:0;
}
table.archive-table tr:last-child th:first-child {
	border-bottom-left-radius: 6px;
}
table.archive-table tr:last-child td:last-child {
	border-bottom-right-radius: 6px;
}
table.archive-table td.active-archive-link {
	padding:0;
	font-weight:bold;
}
table.archive-table td.active-archive-link a {
	color:#2779aa;
	text-decoration: underline;
	cursor: text;
}
/*Полосатость таблицы архива новостей*/
table.archive-table tr:nth-child(odd) {
	background: #f2f5f7;
}
table.archive-table tr:nth-child(even) {
	background: white;
}

/*Для вкладок*/
div.tabs {
	margin-top:2px;
	border:1px solid #2694e8;
}

/*Для формы во вкладках*/
div.rawstat form div#countryblock {
	text-align:center;
	margin-bottom: 18px;
}
div.rawstat form div#modeblock {
	text-align:center;
	margin-bottom: 6px;
}
div.rawstat form div#periodblock {
	text-align:center;
	margin-bottom: 6px;
}
div.rawstat form div#productionblock {
	text-align:center;
	margin-bottom: 18px;
}
div.rawstat form label.toplabel {
	text-align: center;
	margin-top: 0;
	margin-bottom: 6px;
	display: block;
	font-size: 14px;
	font-weight: bold;
	color: #ff0000;
}
div.rawstat form label.middlelabel {
	text-align: center;
	margin-top:0;
	margin-bottom:4px;
	display: block;
	font-size: 14px;
	font-weight:bold;
	color:#2779aa;
}
div.rawstat form label.bottomlabel {
	text-align: center;
	margin-top:0;
	margin-bottom:6px;
	display: block;
	font-size: 14px;
	font-weight:bold;
	color:#2779aa;
}
div.rawstat form label {
	text-align: center;
	font-size: 14px;
	font-weight:bold;
	color:#2779aa;
	display: block;
	margin: 5px;
}


div.rawstat form select#country {
	width:360px;
}
div.rawstat form select#year1 {
	width:130px;
}
div.rawstat form select#production {
	width:360px;
}
div.rawstat form select#year2 {
	width:130px;
}


div.allbycountries {
	margin-top: 0;
	margin-bottom: 5px;
}
div.allbycountries form div#countryblock {
	text-align:center;
	margin-bottom: 24px;
}
div.allbycountries form label {
	text-align: center;
	margin-top:0;
	margin-bottom:8px;
	display: block;
	font-size: 14px;
	font-weight:bold;
	color:#2779aa;
}
div.allbycountries form select#country {
	width:360px;
}
div.allbycountries form div#country_msdd{
	text-align:left;
}

.margin-right.prettycheckbox {
	margin-right: 10px;
}
.margin-right.prettyradio {
	margin-right: 10px;
}

.allbycountries .dd {
	width: 180px !important;
}

.rawstat .dd {
	width: 270px !important;
}

/*высота msDropDown выпадающего меню*/
.ddChild, .ddChild ul {
	height:auto !important;
	max-height: 234px !important;
}

/*Информеры*/
#informer1 {
	margin-left:auto;
	margin-right:auto;
	margin-bottom:5px;
}
#informer2 {
	margin-left:auto;
	margin-right:auto;
	margin-bottom:5px;
}
#informer3 {
	margin-left:auto;
	margin-right:auto;
}

#exchange-rates {
	box-sizing:border-box;
	background-image:url(/rtfiles/red-ribbon.png);
	background-repeat:no-repeat;
	height:46px;
	color:#ffffff;
	font-size:15px;
	font-weight:bold;
	text-align:center;
	line-height:16px;
	/*padding-top:8px;*/
}
#exchange-rates-inner {
	padding-top: 7px;
}

/*Заголовок раздела новостей*/
.news-inscr {
	box-sizing:border-box;
	background-repeat:no-repeat;
	/*height:64px;*/
	background-image:url(/rtfiles/redribonleft2.png);
	height:54px;
}
.news-inscr-inner {
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: right top;
	/*height:64px;*/
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	line-height: 16px;
	padding-top: 6px;
	height: 54px;
	background-image: url(/rtfiles/redribonright3.png);
}
.news-inscr-inner.smaller {
	font-size: 13px;
}

/*Заголовок раздела обзоров*/
.reviews-inscr {
	box-sizing:border-box;
	background-repeat:no-repeat;
	/*height:64px;*/
	background-image:url(/rtfiles/redribonleft2.png);
	height:54px;
}
.reviews-inscr-inner {
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: right top;
	/*height:64px;*/
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	line-height: 16px;
	padding-top: 6px;
	height: 54px;
	background-image: url(/rtfiles/redribonright3.png);
}
.reviews-inscr-inner.smaller {
	font-size: 13px;
}

/*Активная новость*/
.center {
	text-align: center;
}
.border {
	border: 1px solid #2694E8;
}
.story-title {
	box-sizing:border-box;
	font-family: Arial, Helvetica, sans-serif;
	font-size:18px;
	line-height:120%;
	text-align:center;
	padding:4px 8px;
	margin:0;
	color:white;
	background-image:url('/rtfiles/jqueryui/images/ui-bg_diagonals-small_20_3baae3_40x40.png');
	border:1px solid #2694e8;
	margin-top:2px;
}
.story-date {
	box-sizing:border-box;
	font-weight:bold;
	font-size:12px;
	padding:8px 8px 0;
	margin:0;
	color:#2779aa;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	background-color:#f2f5f7;
	text-align:right;
}
.story-resources {
	box-sizing:border-box;
	font-weight:bold;
	font-size:12px;
	padding:0 8px; margin:0;
	color:#2779aa;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	background-color:#f2f5f7;
	text-align:right;
}
.story-author {
	box-sizing:border-box;
	font-weight:bold;
	font-size:12px;
	padding:0 8px; margin:0;
	color:#2779aa;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	background-color:#f2f5f7;
	text-align:right;
}
.story-summary {
	padding:4px 8px 8px 8px;
	margin:0;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	background-color:#f2f5f7;
	font-size:15px;
	line-height:150%;
	text-indent:12px;
	box-sizing:border-box;
	color: #2779AA;
}
.story-txt {
	font-size:14px;
	padding:0px 8px 0px 8px;
	margin:0;
	border-left:1px solid #2694e8;
	border-right:1px solid #2694e8;
	border-bottom:1px solid #2694e8;
	background-color:#f2f5f7;
}
.story-txt h2{
	margin-top:0;
	margin-bottom:8px;
	font-size:16px;
	font-weight:bold;
	text-align:center;
}
.story-txt p {
	box-sizing:border-box;
	margin:0;
	padding-bottom:8px;
	text-indent:12px;
	font-size:14px;
	line-height:140%;
}
.story-txt ul {
	box-sizing:border-box;
	margin:0;
	padding-bottom:8px;
	font-size:14px;
	line-height:140%;
}
.description {
	text-align: left;
	text-indent: 10px;
	font-size: 12px;
	line-height:14px;
	margin: 8px;
}

/*Заголовок архива новостей*/
.archive-title {
	box-sizing:border-box;
	font-size:14px;
	text-align:center;
	padding:4px 8px;
	margin:0;
	color:#2779aa;
	background-image:url('/rtfiles/jqueryui/images/archive.png');
	border:1px solid #2694e8;
	margin-top:2px;
	line-height:120%;
}

/*Заголовок раздела статистики*/
#stat-inscr {
	box-sizing:border-box;
	background-image:url(/rtfiles/redribonleft2.png);
	background-repeat:no-repeat;
	height:54px;
}
#stat-inscr-inner {
	box-sizing:border-box;
	background-image:url(/rtfiles/redribonright3.png);
	background-repeat:no-repeat;
	background-position:right top;
	height:54px;
	color:#ffffff;
	font-size:15px;
	font-weight:bold;
	text-align:center;
	line-height:16px;
	padding-top:7px;
}
#stat-inscr-inner span {
	font-size:12px;
	font-style:italic;
}
#rates-error {
	text-align:center;
	color:red;
	font-style:italic;
}

/*Таблицa для отчётов (тип 1)*/
table.report1 {
	width:100%;
	box-sizing:border-box;
	border-collapse: collapse;
	font-size:12px;
	line-height:14px;
	margin-bottom:8px;
}
table.report1 caption {
	font-size:14px;
	font-weight:bold;
	padding-bottom: 4px;
}
table.report1 th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
table.report1 td {
	border: 1px solid #2694e8;
	padding: 2px;
}
table.report1 th:nth-child(1) {
	width: 8%;
}
table.report1 td:nth-child(1) {
	text-align: center;
	width: 8%;
}
table.report1 th:nth-child(2) {
	width: 38%;
}
table.report1 td:nth-child(2) {
	text-align: left;
	width: 38%;
}
table.report1 th:nth-child(3) {
	width: 22%;
}
table.report1 td:nth-child(3) {
	text-align: right;
	width: 22%;
}
table.report1 th:nth-child(4) {
	width: 16%;
}
table.report1 td:nth-child(4) {
	text-align: right;
	width: 16%;
}
table.report1 th:nth-child(5) {
	width: 16%;
}
table.report1 td:nth-child(5) {
	text-align: right;
	width: 16%;
}
table.report1 tr:nth-child(odd) {
	background: #d7ebf9;
}
table.report1 tr:nth-child(even) {
	background: #f2f5f7;
}
table.report1 tr:nth-child(1) {
	background: #3baae3;
	color:white;
}

/*Таблицa для отчётов (тип 2)*/
table.report2 {
	width:100%;
	box-sizing:border-box;
	border-collapse: collapse;
	font-size:12px;
	line-height:14px;
	margin-bottom:8px;
}
table.report2 caption {
	font-size:14px;
	font-weight:bold;
	padding-bottom: 4px;
}
table.report2 th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
table.report2 td {
	border: 1px solid #2694e8;
	padding: 2px 2px 2px 0;
}
table.report2 th:nth-child(1) {
	width: 6.5%;
}
table.report2 td:nth-child(1) {
	text-align: center;
	width: 6.5%;
}
table.report2 th:nth-child(2) {
	width: 38%;
}
table.report2 td:nth-child(2) {
	text-align: left;
	width: 38%;
}
table.report2 th:nth-child(3) {
	width: 17%;
}
table.report2 td:nth-child(3) {
	text-align: right;
	width: 17%;
}
table.report2 th:nth-child(4) {
	width: 8%;
	font-size:10px;
}
table.report2 td:nth-child(4) {
	text-align: right;
	width: 8%;
}
table.report2 th:nth-child(5) {
	width: 17%;
}
table.report2 td:nth-child(5) {
	text-align: right;
	width: 17%;
}
table.report2 th:nth-child(6) {
	width: 13.5%;
	font-size:10px;
}
table.report2 td:nth-child(6) {
	text-align: right;
	width: 13.5%;
}
table.report2 tr:nth-child(odd) {
	background: #d7ebf9;
}
table.report2 tr:nth-child(even) {
	background: #f2f5f7;
}
table.report2 tr:nth-child(1) {
	background: #3baae3;
	color:white;
}

/*Таблицa для отчётов (тип 3)*/
table.report3 {
	width:100%;
	box-sizing:border-box;
	border-collapse: collapse;
	font-size:12px;
	line-height:14px;
	margin-bottom:8px;
}
table.report3 caption {
	font-size:14px;
	font-weight:bold;
	padding-bottom: 4px;
}
table.report3 th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
table.report3 td {
	border: 1px solid #2694e8;
	padding: 2px 2px 2px 0;
	text-align: center;
}
table.report3 tr:nth-child(odd) {
	background: #d7ebf9;
}
table.report3 tr:nth-child(even) {
	background: #f2f5f7;
}
table.report3 tr:nth-child(1) {
	background: #3baae3;
	color:white;
}

/*Таблицa*/
table#ett-eaes-table {
	width:100%;
	box-sizing:border-box;
	border-collapse: collapse;
	font-size:12px;
	line-height:14px;
	margin-bottom:8px;
}
table#ett-eaes-table caption {
	font-size:14px;
	font-weight:bold;
	padding-bottom: 4px;
}
table#ett-eaes-table th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
table#ett-eaes-table td {
	border: 1px solid #2694e8;
	padding: 2px;
}
table#ett-eaes-table th:nth-child(1) {
	width: 84px;
}
table#ett-eaes-table th:nth-child(4) {
	width: 100px;
}



/* for 1380px or less */
@media screen and (max-width: 1390px) {
#wrapper {
	margin: 5px 10px;
	}

/*Для левой верхней перенаправляющей кнопки*/
a#top-left-link {
	display:block;
	border: 2px solid #aed0ea;
	background: #d7ebf9 url("/rtfiles/statlogo.png") 0 0 no-repeat;
	color: #3131ff;
	text-decoration: none;
	box-sizing:border-box;
	margin:0;
	padding-top:63px;
	text-align:center;
	width:152px;
	height:90px;
	}
a#top-left-link:hover {
	border: 2px solid #74b2e2;
	background: #e4f1fb url("/rtfiles/statlogo.png") 0 -90px no-repeat;
	color: red;
	text-decoration: underline;
	}
a#top-left-link span {
	font-size: 14px;
	font-weight: bold;
	padding: 0;
	}

#top-adv {
	margin-left: 0;
}

table.archive-table {
	font-size:10px;
}

#left {
	margin-top: 0;
}
}





/*Языковое меню*/
#lang-menu {
	box-sizing:border-box;
	height:24px;
	background-image:url(/rtfiles/langback.png);
	background-repeat:no-repeat;
	margin-bottom:5px;
}
#lang-logo {
	border-top:1px solid #aed0ea;
	border-bottom:1px solid #aed0ea;
	border-left:1px solid #aed0ea;
	border-right:1px solid #aed0ea;
	float:left;
	height:24px;
	box-sizing:border-box;
	padding-left:2px;
	padding-top:2px;
	width: 3.8%;
}
a.lang {
	border: 1px solid #aed0ea;
	background: #d7ebf9 url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_60_d7ebf9_40x40.png") 50% 50% repeat;
	color: #2779aa;
	text-decoration: none;
	float:left;
	width:7.4%;
	box-sizing:border-box;
	margin:0;
	padding:0;
	text-align:center;
	height:24px
}
a.lang:hover {
	border: 1px solid #74b2e2;
	background: #e4f1fb url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_100_e4f1fb_40x40.png") 50% 50% repeat;
	color: #0070a3;
}
a.lang span {
	font-size:11px;
	padding:0;
}
a#<?php echo $lang.'lang'; ?> {
	border-top: 1px solid #3baae3;
	border-bottom: 1px solid #2694e8;
	border-left: 1px solid #2694e8;
	border-right: 1px solid #2694e8;
	background: #3baae3 url("/rtfiles/jqueryui/images/ui-bg_diagonals-small_20_3baae3_40x40.png") 50% 50% repeat;
	color: #ffffff;
}



.hot-story {
	margin:2px 0 0 0;padding:0;
}



div.allbycountries {
	height: 39px;
	text-align: center;
}
div.allbycountries form {
	/*width: 535px;
	margin-left: auto;
	margin-right: auto;*/
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	font-size: 14px;
	margin: 6px 15px 4px 0;
	float: left;
}

div.allbycountries form #get_button {
	float: left;
	margin-top: 5px;
}



#reviews-block {
		float:left;
		width: 49.7%;
	}
#news-block {
		width: 49.7%;
		margin-left: 50.3%;
	}



.rt-middle-adaptive { width: 580px; height: 400px; }
@media(max-width: 1040px) { .rt-middle-adaptive { width: 336px; height: 280px; } }



/* for 1181-1250px */
@media screen and (max-width: 1250px) {
	#wrapper {
	margin: 5px;
	}
	#middle {
	margin-right: 245px;
	margin-left: 305px;
	}

#top-adv-inner {
	/*height: 90px;*/
	}
#top-adv {
	margin-right: 245px;
	}

#left {
	width: 300px;
}

.yandex-adaptive {
	display:block;
	width:300px;
	height:600px;
}

#left-adv-inner {
	display:block;
	width:300px;
	height:600px;
}

#right {
	width: 240px;
	padding: 0;
	margin-top:-95px;
	margin-bottom: 5px;
	float: left;
	margin-left: -240px;
	}

#kursy-valyut h2 {
		font-size: 14px;
		line-height: 16px;
}
#kursy-valyut h2 a {
		width: 230px;
		height: 35px;
		padding: 4px 1px 4px 7px;
}

#curs-source-and-date { 
	font-size: 12px;
	width: 240px;
	padding: 3px;
	}
table#curs { 
	font-size: 11px;
	width: 240px;
	}
#curs-other-dates {
	width:240px;
	padding-top:6px;
	padding-bottom:6px;
	}
#curs-other-dates-inscr {
	font-size: 12px;
	}




#curdatepicker {
	line-height: 14px;
	}
.ui-datepicker {
		width: 218px;
	}
.ui-datepicker table {
	font-size: 12px;
	}
.ui-datepicker-header {
	font-size: 12px;
	}
}



/* for 1119-1180px */
@media screen and (max-width: 1180px) {
#middle {
	margin-right: 245px;
	margin-left: 245px;
	}

#top-adv-inner {
	/*height: 90px;*/
	}
#top-adv {
	margin-right: 245px;
	}
	
.news-inscr-inner {
	font-size:14px;
}
.reviews-inscr-inner {
	font-size:14px;
}
#stat-inscr-inner {
	font-size:14px;
}
#stat-inscr-inner span {
	font-size:12px;
}

#reviews-block {
		float:left;
		width: 49.7%;
	}
#news-block {
		width: 49.7%;
		margin-left: 50.3%;
	}

div.allbycountries {
	height: 39px;
	text-align: center;
}
div.allbycountries form {
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	font-size: 14px;
	margin: 6px 15px 4px 0;
	float: left;
}

div.allbycountries form #get_button {
	float: left;
	margin-top: 5px;
}
div.allbycountries form #get_button input {
	padding-left: 5px;
	padding-right: 5px;
}

table.archive-table {
	font-size:9px;
}

#right {
	width: 240px;
	/*float: right;*/
	padding: 0;
	margin-top:-95px;
	margin-bottom: 5px;
	float: left;
	margin-left: -240px;
}
#left {
	width: 240px;
}

#cor h2 {
		font-size: 14px;
		line-height: 16px;
}
#cor h2 a {
		width: 230px;
		padding: 4px 1px 4px 7px;
}

#tk-eaes h2 {
		font-size: 14px;
		line-height: 16px;
}
#tk-eaes h2 a {
		width: 230px;
		height: 50px;
		padding: 4px 1px 4px 7px;
}
#ett-eaes h2 {
		font-size: 14px;
		line-height: 16px;
}
#ett-eaes h2 a {
		width: 230px;
		height: 50px;
		padding: 4px 1px 4px 7px;
}



.yandex-adaptive {
	width:240px;
	height: 600px;
	}
#left-adv-inner {
	width:240px;
	height: 400px;
	}

}



/* for px 1041-1118*/
@media screen and (max-width: 1118px) { /*!!!!!!!!!!!!!!!!!!!!!!!!*/
#middle {
	margin-right: 165px;
	margin-left: 245px;
	}

#top-adv-inner {
	/*height: 90px;*/
	}
#top-adv {
	margin-right: 165px;
	}
	
.news-inscr-inner {
	font-size:14px;
}
.reviews-inscr-inner {
	font-size:14px;
}
#stat-inscr-inner {
	font-size:14px;
}
#stat-inscr-inner span {
	font-size:12px;
}

#reviews-block {
		float:left;
		width: 49.7%;
	}
#news-block {
		width: 49.7%;
		margin-left: 50.3%;
	}

div.allbycountries {
	height: 39px;
	text-align: center;
}
div.allbycountries form {
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	font-size: 14px;
	margin: 6px 15px 4px 0;
	float: left;
}

div.allbycountries form #get_button {
	float: left;
	margin-top: 5px;
}
div.allbycountries form #get_button input {
	padding-left: 5px;
	padding-right: 5px;
}

table.archive-table {
	font-size:9px;
}

#left {
	width: 240px;
}

.yandex-adaptive {
	width:240px;
	height: 600px;
	}
#left-adv-inner {
	width:240px;
	height: 400px;
	}

#right {
	width: 160px;
	/*float: right;*/
	padding: 0;
	margin-top:-95px;
	margin-bottom: 5px;
	float: left;
	margin-left: -160px;
}

#kursy-valyut {
	width:160px;
	margin-left: auto;
	margin-right: auto;
}
#kursy-valyut h2 {
	font-size: 12px;
	line-height: 14px;
	width:160px;
}
#kursy-valyut h2 a {
	width: 152px;
	height: 44px;
	padding: 3px 1px 3px 5px;
}

#exchange-rates {
	background-image:url(/rtfiles/red-ribbon.png);
	background-repeat:no-repeat;
	font-size:13px;
	line-height:14px;
	width: 160px;
	margin: 0 auto;
	}
#exchange-rates-inner {
	padding-top: 9px;
	}
#exchangetorub {
	width:160px;
	margin: 0 auto;
}
#curs-source-and-date { 
	font-size: 10px;
	width: 160px;
	padding: 2px;
	}
table#curs { 
	font-size: 9px;
	padding: 2px 1px;
	width: 160px;
	}
#curs th { 
	padding: 6px 1px 4px;
	}
#curs td { 
	padding: 2px 1px;
	}
#curs-other-dates {
	width:160px;
	padding-top:4px;
	padding-bottom:2px;
	margin: 0 auto;
	}
#curs-other-dates-inscr {
	font-size: 10px;
	}
#curs_special_title {
	font-size: 24px;
	line-height:28px;
}
table#curs_special { 
	width:260px;
	font-size:12px;
	line-height:14px;
	}
table#curs_special span {
	font-size:11px;
}
table#curs_special.table_scroll {
	display: block;
	width: auto;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}
#curdatepicker {
	line-height: 12px;
	}
.ui-datepicker {
		width: 146px;
	}
.ui-datepicker table {
	font-size: 11px;
	}
.ui-datepicker-header {
	font-size: 10px;
	}
}



/* for px 961-1040*/
@media screen and (max-width: 1040px) {
#middle {
	margin-right: 165px;
	margin-left: 165px;
	}

#top-adv-inner {
	/*height: 90px;*/
	}
#top-adv {
	margin-right: 165px;
	}
	
.news-inscr-inner {
	font-size:14px;
}
.reviews-inscr-inner {
	font-size:14px;
}
#stat-inscr-inner {
	font-size:14px;
}
#stat-inscr-inner span {
	font-size:12px;
}

/*#middle #middle-adv-inner {
	width: 336px;
	height: 280px;
}*/

#reviews-block {
		float:left;
		width: 49.7%;
	}
#news-block {
		width: 49.7%;
		margin-left: 50.3%;
	}

div.allbycountries {
	height: 39px;
	text-align: center;
}
div.allbycountries form {
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	font-size: 14px;
	margin: 6px 15px 4px 0;
	float: left;
}

div.allbycountries form #get_button {
	float: left;
	margin-top: 5px;
}
div.allbycountries form #get_button input {
	padding-left: 5px;
	padding-right: 5px;
}

table.archive-table {
	font-size:9px;
}

#left {
	width: 160px;
}

#cor {
	width:160px;
	margin-left: auto;
	margin-right: auto;
}
#cor h2 {
	font-size: 12px;
	line-height: 14px;
	width:160px;
}
#cor h2 a {
	width: 152px;
	padding: 3px 1px 3px 5px;
}

#tk-eaes {
	width:160px;
	margin-left: auto;
	margin-right: auto;
}
#tk-eaes h2 {
	font-size: 12px;
	line-height: 14px;
	width:160px;
}
#tk-eaes h2 a {
	width: 152px;
	height: 57px;
	padding: 3px 1px 3px 5px;
}
#ett-eaes {
	width:160px;
	margin-left: auto;
	margin-right: auto;
}
#ett-eaes h2 {
	font-size: 12px;
	line-height: 14px;
}
#ett-eaes h2 a {
	width: 152px;
	height: 57px;
	padding: 3px 1px 3px 5px;
}

.yandex-adaptive {
	width:160px;
	height: 600px;
	}
#left-adv-inner {
	width:160px;
	height: 600px;
	}

#right {
	width: 160px;
	/*float: right;*/
	padding: 0;
	margin-top:-95px;
	margin-bottom: 5px;
	float: left;
	margin-left: -160px;
	}
}


@media screen and (max-width: 960px) {
#wrapper {
	}
#middle {
	margin-left: 165px;
	margin-right: 165px;
	}
#top-adv { 
	margin-right: 0;
	}
#top-adv-inner {
	/*height: 90px;*/
	}
.news-inscr-inner {
	font-size:13px;
}
.reviews-inscr-inner {
	font-size:13px;
}

.news-inscr {
	margin-top: 5px;
}

table.report1, table.report2, table.report3 {
	font-size:9px;
}
table.report1 caption, table.report2 caption, table.report3 caption {
	font-size:12px;
	line-height: 15px;
}
table.report1 td:nth-child(1), table.report2 td:nth-child(1) {
	text-align: center;
}
table.report1 td:nth-child(2), table.report2 td:nth-child(2) {
	text-align: left;
}
table.report1 td:nth-child(3), table.report2 td:nth-child(3) {
	text-align: right;
}
table.report1 th:nth-child(4), table.report2 th:nth-child(4) {
	font-size:9px;
}
table.report1 td:nth-child(4), table.report2 td:nth-child(4) {
	text-align: right;
}
table.report2 td:nth-child(5) {
	text-align: right;
}
table.report1 th:nth-child(5), table.report2 th:nth-child(6) {
	font-size:9px;
}
table.report1 td:nth-child(5), table.report2 td:nth-child(6) {
	text-align: right;
}

table#ett-eaes-table {
	font-size:10px;
	line-height:12px;
}
table#ett-eaes-table caption {
	font-size:12px;
	line-height:15px;
}
table#ett-eaes-table th {
	border: 1px solid #2694e8;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 6px;
	padding-bottom: 4px;
}
table#ett-eaes-table th:nth-child(1) {
	width: 72px;
}
table#ett-eaes-table th:nth-child(4) {
	width: 84px;
}

.story-title {
	font-size:15px;
}

.story-date {
	font-size:10px;
}

.story-resources {
	font-size:10px;
}

.story-summary {
	font-size:13px;
}

.story-txt {
	font-size:12px;
	padding:0 4px 0 4px;
}

.story-txt h2{
	font-size:14px;
}
.story-txt p {
	font-size:12px;
}
.story-txt ul {
	font-size:12px;
}

#stat-inscr-inner {
	font-size:13px;
}
#stat-inscr-inner span {
	font-size:11px;
}
/*#middle #middle-adv-inner {
	width: 336px;
	height: 280px;
}*/

#reviews-block {
		float:none;
		width: auto;
	}
#news-block {
		width: auto;
		margin-left: 0;
	}

div.allbycountries {
	height: 39px;
	text-align: center;
}
div.allbycountries form {
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	font-size: 13px;
	margin: 6px 15px 4px 0;
	float: left;
}

div.allbycountries form #get_button {
	float: left;
	margin-top: 5px;
}

table.archive-table {
	font-size:11px;
}

#right {
	width: 160px;
	/*float: right;*/
	padding: 0;
	margin-top:0;
	margin-bottom: 5px;
	float: left;
	margin-left: -160px;
	}
#left {
	width: 160px;
	}

.yandex-adaptive {
	width:160px;
	height: 600px;
	/*background-color: red;*/
	}
#left-adv-inner {
	width:160px;
	height: 600px;
	background-color: red;
	}
}


@media screen and (max-width: 880px) {
div.allbycountries {
	height: 68px;
	text-align: center;
}
div.allbycountries form {
	/*width: 314px;
	margin-left: auto;
	margin-right: auto;*/
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	float: none;
	font-size: 13px;
	margin: 0 0 4px 0;
}
div.allbycountries form #get_button {
	float: left;
	margin-top: 20px;
}
}



@media screen and (max-width: 770px) {
#top-adv-inner {
	/*height: 90px;*/
	/*background-color: green;*/
	}
table#ett-eaes-table th:nth-child(4) {
	width: 66px;
	}
}


/* for 601-798px */
/*@media screen and (max-width: 706px) {*/
@media screen and (max-width: 730px) {
#site-name {
	font-size: 23px;
	line-height: 25px;
	margin: 23px 0 0 10px;
}

	#reviews-block {
		float:none;
		width: auto;
	}
	#news-block {
		width: auto;
		margin-left: 0;
	}

/*Языковое меню*/
#lang-menu {
	height:48px;
}
#lang-logo {
	width: 14.2%;
}
a.lang {
	float:left;
}
a.lang#rulang {
	width:14.3%;
}
a.lang#enlang {
	width:14.3%;
}
a.lang#kolang {
	width:14.3%;
}
a.lang#cnlang {
	width:14.3%;
}
a.lang#eslang {
	width:14.3%;
}
a.lang#jalang {
	width:14.3%;
}
a.lang#vilang {
	width:14.2%;
}
a.lang#delang {
	width:14.3%;
}
a.lang#trlang {
	width:14.3%;
}
a.lang#frlang {
	width:14.3%;
}
a.lang#itlang {
	width:14.3%;
}
a.lang#pllang {
	width:14.3%;
}
a.lang#rolang {
	width:14.3%;	
}

#top-adv-inner {
	/*height: 90px;*/
	}

#middle {
	margin-right: 0;
	margin-left: 165px;
	}

/*#middle #middle-adv-inner {
	width: 336px;
	height: 280px;
}*/

div.allbycountries {
	height: 68px;
	text-align: center;
}
div.allbycountries form {
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
	float: left;
}
div.allbycountries form #countryblock label {
	float: none;
	font-size: 13px;
	margin: 0 0 4px 0;
}
div.allbycountries form #get_button {
	float: left;
	margin-top: 20px;
}

table.archive-table {
	font-size:11px;
}

#right {
	width: 160px;
	margin-top: 0;
	
	position: relative;
	top: 1186px;
	margin-left: -100%;
	}
#left {
	width: 160px;
	height: 2736px;
	}
.yandex-adaptive {
	width:160px;
	height: 600px;
	}
#left-adv-inner {
	width:160px;
	height: 600px;
	}
}


/* for 521-600px */
@media screen and (max-width: 560px) {
#site-name {
	font-size: 22px;
	line-height: 24px;
	margin: 12px 0 0 10px;
	width: 220px;
}
	#middle {
	margin-left: 0;
	}
	#wrapper {
	width: auto;
	/*min-width: 485px;*/
	margin: 0 auto;
	}
	#right {
	position: static;
	float: right;
	margin-top: 0;
	margin-left: 0;
	width: 50%;
	}
	#left {
	height: auto;
	margin-left: 0;
	width: 50%;
	}

div.allbycountries {
	text-align: center;
}
div.allbycountries form {
	/*width: 329px;*/
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
}

table.archive-table {
	font-size:13px;
}
}


@media screen and (max-width: 508px) {
#top-adv-inner {
	/*height: 90px;*/
	}
}


/* for 441-520px */
@media screen and (max-width: 490px) {
#middle {
	margin-left: 0;
	}
#wrapper {
	width: auto;
	margin: 0 auto;
	}
#top-adv-inner {
	/*width: 320px;*/
	/*height: 90px;*/
	}
/*#middle #middle-adv-inner {
	width: 336px;
	height: 280px;
}*/
#right {
	position: static;
	float: right;
	margin-top: 0;
	margin-left: 0;
	width: 40%;
	}
#left {
	margin-left: 0;
	width: 60%;
	}
.yandex-adaptive {
	width:240px;
	height: 600px;
	}
#left-adv-inner {
	width:240px;
	height: 400px;
	}

#site-name {
	font-size: 22px;
	line-height: 24px;
	margin: 12px 0 0 10px;
	width: 220px;
}

div.allbycountries {
	text-align: center;
}
div.allbycountries form {
	/*width: 324px;*/
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
}
}


/* for 395-440px */
@media screen and (max-width: 440px) {
#middle {
	margin-left: 0;
	}
#wrapper {
	width: auto;
	margin: 0 auto;
	padding: 4px;
	}
#top-adv-inner {
	/*width: 320px;*/
	/*height: 90px;*/
	}
/*#middle #middle-adv-inner {
	width: 336px;
	height: 280px;
}*/
#right {
	position: static;
	float: right;
	margin-top: 0;
	margin-left: 0;
	width: 50%;
	}
#left {
	margin-left: 0;
	width: 50%;
	}
.yandex-adaptive {
	width:160px;
	height: 600px;
	}
#left-adv-inner {
	width:160px;
	height: 600px;
	background-color: black;
	}

#site-name {
	font-size: 20px;
	line-height: 22px;
	margin: 15px 0 0 4px;
	width: 200px;
}

div.allbycountries {
	text-align: center;
}
div.allbycountries form {
	/*width: 319px;*/
	display: inline-block;
}
div.allbycountries form #countryblock {
	margin: 3px 15px 3px 1px;
}

table.archive-table {
	font-size:12px;
}
}


/* for 340-394px or less */
@media screen and (max-width: 394px) {
#site-name {
	font-size: 18px;
	line-height: 20px;
	text-shadow: 0px 0px 0 rgb(183,183,183),1px 1px 0 rgb(124,124,124), 2px 2px 0 rgb(65,65,65),2px 2px 2px rgba(0,0,0,0.4),2px 2px 1px rgba(0,0,0,0.5),0px 0px 2px rgba(0,0,0,.2);
	margin: 18px 0 0 0;
	width: 176px;
}


table.archive-table {
	font-size:11px;
}

div.rawstat form {
	width: 314px;
}
div.rewstat form #countryblock {
	margin: 3px 5px 3px 1px;
}
}