
/* Баннеры */

/*
.n123MobileBanner {
	width: 234px; height: 60px;
	margin:7px auto;
}
@media (min-width:320px) { .n123MobileBanner { width: 320px; height: 100px; } }
@media (min-width:468px) { .n123MobileBanner { width: 468px; height: 60px; } }
@media (min-width:728px) { .n123MobileBanner { width: 728px; height: 90px; } }
*/

/*  баннеры */

.s29Adv, .s29_banner {
	width:auto !important; max-width:970px !important;
	margin:0 auto !important; padding:10px 0;
	background:#fff !important; border:none !important;
}

@media (max-width:480px) {
	.adsbygoogle.s29_small {
		width:320px; height:100px;
		margin:0 auto;
	}
}


/* header */

body > header {
	padding:1px 0 5px;
}

body > header a.n123_left {
	display:block;
	margin:4px 42px 0 4px;
	text-decoration:none !important; 
}

#n123Gerb {
	float:left;
	margin:3px 0 1px 0px;
}

#n123Gerb > div {
	display:table-cell;
	height:42px;
	background:#fff; border:#cdbeae solid 1px;
	vertical-align:middle;
}

#n123Gerb.n123_noBorder > div {
	border:none !important; background:transparent !important;
}

#n123Gerb img {
	display:block;
	max-height:42px;
}



body > header h1,
body > header big {
	display:table-cell;
	height:42px;
	padding:3px 0 0 10px;
	color:#000;
	vertical-align:middle;
	font-size:22px; line-height:100%;
}

body > header big.n123_big {
	font-size:26px;
}

body > header a.s29_expand {
	display:block;
	float:right;
	width:32px; height:32px;
	margin:12px 6px 0 0;
	background:url(/skins/common/img/menu.png) center center;
}

nav a {
	text-decoration:none !important;
}

nav a:hover, nav a:focus, nav a:active {
	text-decoration:underline !important;	
}

body > header nav a  {
	display:block;
	margin:4px 0; padding:6px 0 6px 60px;
	line-height:120%;
}

#n123MainMenu, #n123ThemesMenuMobile {
	font-weight:bold;
	font-size:15px;
}

#n123MainMenu {
	padding:0 0 10px;
}

a.n123GeoCity > span {
	text-decoration:none !important;
}

#n123ThemesMenuNav {
	padding:15px 25px; margin:0;
	background:#e1d5c6;
	border-top:solid 1px #cdbeae; border-bottom:solid 1px #cdbeae;	
}

#n123ThemesMenuMobile {
	font-size:14px; font-weight:bold; line-height:18px;
}

#n123ThemesMenuMobile * {
	font-size:0; line-height:0;
}

#n123ThemesMenuMobile .n123_body {
	padding-bottom:15px;
}

#n123ThemesMenuMobile a {
	display:inline-block !important;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
	width:20%;
	padding:5px 10px;
	vertical-align: top;
	font-size:14px; line-height:normal;
}

@media (max-width:1199px) {
	#n123ThemesMenuMobile a {
		width:25%;
	}
}


@media (max-width:999px) {
	#n123ThemesMenuMobile a {
		width:33%;
	}
}

@media (max-width:799px) {
	#n123ThemesMenuMobile a {
		width:50%;
	}
}

@media (max-width:520px) {
	#n123ThemesMenuMobile a {
		width:100%;
	}
}

#n123ForeignMenu {
	clear: both;
	margin: 0 -25px;
	border-top:solid 1px #cdbeae;
}

#n123ForeignMenu .n123_expand {
	width:100% !important;
	padding-top:15px;
	text-align:center !important;
}

#n123ForeignMenu a.n123_expand:active, #n123ForeignMenu a.n123_expand:focus {
	text-decoration:none !important;
}

#n123ForeignMenu .n123_content {
	display:none;
	padding: 20px 25px 0;
}

#n123ForeignMenu .n123_expand .n123_arrow {
	display:inline-block;
	width:0; height:0;
	border-color:transparent transparent transparent #964b00; border-style:solid; border-width: 4px 0 4px 6px;
}

#n123ForeignMenu .n123_expand.n123_expanded .n123_arrow {
	border-color:#964b00 transparent transparent transparent; border-style:solid; border-width: 6px 4px 0 4px;
}

#n123ExtraMenu {
	padding:10px 0;
}

/*
@media (min-width:360px) {
	
	body > header nav a { display:inline-block; }
	
	#n123MainMenu { padding-left:25px; padding-right:25px; }
	#n123MainMenu a { padding-left:15px; padding-right:15px; display:block; }
	
	#n123ThemesMenuMobile { padding-left:25px; padding-right:25px; }
	#n123ThemesMenuMobile a { padding-left:15px; padding-right:15px; width:160px; }
	
	#n123ExtraMenu { padding-left:25px; padding-right:25px; }
	#n123ExtraMenu nav { max-width: 540px; }
	#n123ExtraMenu a { padding-left:15px; padding-right:15px; width:230px; }
}
*/

@media (min-width:520px) {
	#n123MainMenu a { display:inline-block; }	
}


body > header hr {
	margin:0 15px;
	border-top:#cdbeae solid 1px;
}


/* footer */

body > footer {
	margin:30px 14px 14px;
}

body > footer .n123_top {
	margin-bottom:25px;
	text-align:center;
	font-size:16px;
}

body > footer .n123_right {
	float:right;
	width:88px;
}

body > footer .n123_right > div:first-child {
	margin-bottom:6px;
}

body > footer .n123_left {
	float:left;
	margin-right:10px; margin-top:0;
	font-size:11px; line-height:140%;
}

#n123Rss {
	position:relative;
}

#n123Rss .n123_body {
	position:absolute;
	top:5px; left:0;
}

#n123Rss .n123_icon {
	display:inline-block;
	width:28px;	height:28px;
	margin-right:5px;
}

#n123Rss img {
	width:28px;	height:28px;	
}

#n123Copyright {
	margin-top:48px;
}

/* City info and Video news selection */

#n123MainBlock .s29_select,
#n123ExtraTabs .s29_select {
	display:table;
	width:100%;
}

#n123MainBlock .s29_select a,
#n123ExtraTabs .s29_select a {
	display:table-cell;
	width:50%; height:45px;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
	padding:0 20px 0 15px;
	vertical-align:middle;
	color:#000;
	font-size:13px; font-weight:bold;
	text-decoration:none;
}


/* City info */

#n123CityInfo {
	padding:15px 15px 25px;
}

#n123CityInfo .n123_body {
	margin:0 auto;
	max-width:322px; min-width:210px;
}

#n123CityInfo h2 {
	margin:0 0 5px !important; 
	font-size:12px !important; font-weight:bold !important; letter-spacing:normal !important;
}

#n123CityInfo .n123_screenshot,
#n123CityInfo .n123_screenshot img {
	display:block;
	width:100%; height:auto;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
}

/* Country news */

#n123MainNews {
	padding:15px 15px 25px;	
}

#n123MainNews .n123_body {
	margin:0 auto;
	max-width:642px; min-width:210px;
}

#n123MainNews h2 {
	margin:0 0 20px !important; 
	font-size:14px !important; font-weight:bold !important; letter-spacing:normal !important;
}

#n123MainNews h3 {
	margin:0 0 15px; 
	font-size:16px; font-weight:normal; letter-spacing:normal; line-height:120%;
}

#n123MainNews .n123_image,
#n123MainNews .n123_image img {
	display:block;
	width:100%; height:auto;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
}

#n123MainNews .n123_desc {
	margin:10px 0 20px;
	font-size:14px; line-height:130%;
}

#n123MainNews footer {
	font-size:14px; font-weight:bold;
	text-align:right;
}


/* Mini calendar */

#n123Calendar {
	padding:20px 0 20px;
}


/* Архив */

.s29Calendar {
	margin: 16px 14px;
}

.s29Calendar h1 {
    margin: 0 0 23px !important;
    font-size: 24px !important;
}


/* заголовки */

#n123Content h2,
#n123Content h1 {
	font-size:18px;
	letter-spacing:normal; line-height:120%;
	margin:20px 14px;
}

/* Новости */

#n123News > footer {
	padding:10px 0 30px;
	border-top:#ebebeb solid 2px;
}

#n123News > footer nav {
	font-size:16px; line-height:180%;
	text-align:center;	
}

.n123Pagination {
	margin:10px;
	font-size:16px;
	line-height:200%;
}

#n123Article {
	margin:16px 14px 30px;
	font-size:14px; line-height:130%;
}

#n123Article > header {
	margin-bottom:15px;
}

#n123Article > header h1 {
	margin:0 0 7px;
	font-size:22px;
}

#n123Article h2 {
	margin:0 0 7px;
	font-size:18px;
}


#n123Article > footer {
	font-size:14px;
}

#n123ArticleImg {
	display:block;
	margin-bottom:10px;
}

/*
#n123Article img {
	max-width:640px !important;
}
*/

#n123Article img.n123_img {
	width:auto !important; height:auto !important; max-width:99% !important;
}

@media (max-width:670px) {
	#n123Article img {
		width:auto !important; height:auto !important; max-width:99% !important;
	}	
}

#n123Article .s29LangSection {
	top:0 !important;
}

#n123Article iframe {
	max-width:100%;
}

#n123Article footer {
	margin-top:20px;	
}

#n123Article footer .n123_top .n123_links {
	float:left;
	margin-right:30px;
}

#n123Article footer .n123_top .n123_links p:first-child {
	margin-top:10px;
}

#n123Article footer .n123_top .n123_likes {
	text-align:right;
}

@media (max-width:800px) {
	#n123Article footer .n123_top .n123_links {
		float:none;
	}
	
	#n123Article footer .n123_top .n123_likes {
		margin:20px 0;
		text-align:center;
	}
}

@media (max-width:380px) {
	#n123Article footer .n123_top .n123_likes .uscl-item:nth-child(6) {
		display:none;
	}	
}

#n123NewComments .s29_top {
	display:table;
	width:100%;
}

#n123NewComments .s29_expand {
	display:table-cell;
	width:100%; height:45px;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
	padding:0 20px 0 15px;
	background-color:#f2d2b2;
	color:#000;
	vertical-align:middle;
	font-size:13px; font-weight:bold;
	text-decoration:none;
}

#n123NewComments .s29_content {
	margin: 10px 15px 20px;
}


/* Читайте также */

#n123ReadAlso li time {
	padding-right:15px;
	font-size:12px;
}

#n123ReadAlso li .n123_right {
	padding-bottom:15px;
	font-size:14px; line-height:120%;
}

@media (max-width:640px) {
	
	#n123ReadAlso,
	#n123ReadAlso li,
	#n123ReadAlso li time,
	#n123ReadAlso li .n123_right {
		display:block;
	}
	
	#n123ReadAlso li time {
		text-align:left;
	}

}


/* Другие разделы */

#n123OtherSections .n123_item {
	margin-bottom:20px;
}

#n123OtherSections .n123_item .n123_title {
	font-size:14px;
}

@media (max-width:720px) {

	#n123OtherSections .n123_item {
		width:calc((100% - 28px) / 2);
	}
	
	#n123OtherSections .n123_item:nth-child(2) {
		margin-right:0;
	}
}

@media (max-width:360px) {

	#n123OtherSections .n123_item {
		width:100%;
	}
	
	#n123OtherSections .n123_item {
		margin-right:0;
	}
}


/* Просмотренные сайты */

#n123Visited {
	padding:14px 16px;
	background:#f2e9e1;
}

#n123Visited > h2 {
	margin:0 0 20px;
}

#n123Visited .n123_body {
	margin:0 -12px 0 0;
}

#n123Visited section {
	float:left;
	overflow:hidden;
	width:134px; height:120px;
	margin:0 10px 15px 0;
}

#n123Visited section > h3 {
	height:18px;
	margin:0 0 5px;
	overflow:hidden;
	font-size:11px;	font-weight:bold; letter-spacing:normal;
}

#n123Visited section > a {
	display:block;	
	width:120px; height:90px;
	border:#994c00 solid 1px;	
}

#n123Visited .n123_ajax {
	position:relative;
	clear:both; float:right;
}

#n123Visited .n123_ajax div {
	display:none;
	position:absolute;
	width:32px; height:32px;
	background:url(/images/spinner_bigger.gif);
}

/* 404 */

#n123_404 {
	font-size:14px;
}

#n123_404 .n123_body {
	margin:20px 15px 75px;
}


/* forms */

form .s29_body {
	margin:12px auto; padding:0 12px;
	font-size:14px;
}

form a {
	font-weight:bold;
}

form table {
	width:100%;
	margin:0; padding:0;
	border:none;
}

form td {
	padding: 10px 0;
}

form td:first-child {
	padding-right:10px;
}

@media (max-width:479px) {

	form tr, form td {
		display:block;
		border:none;
	}
	
	form td:first-child {
		padding-bottom:5px; padding-right:0;
	}
	
	form td:last-child {
		padding-top:0;
	}
	
	form td[colspan="2"] {
		padding: 10px 0;
	}
	
	form td.s29_empty {
		height:15px;
		padding:0;
	}
}

form tr.s29_padding td:first-child {
		padding-top:25px;
	}

@media (min-width:480px) {
	form tr.s29_padding td {
		padding-top:25px;
	}
}

form .s29_left {
	float:left;
	width:50%;
}

form .s29_right {
	width:50%;
	margin-left:50%;
}

form .s29_hint,
form .s29_smallHint {
	margin-top:4px;
	font-style:italic;
}

form .s29_smallHint {
	font-size:12px;
}


input:not([type="radio"]), select, textarea {
	display:inline-block;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
	width:100%;
	padding:5px;
	background:#fff;
	border:solid 1px #646464;
	font:15px Verdana, Arial;
}

input[type="radio"] {
	margin-left:20px;
}

input[type="radio"]:first-child {
	margin-left:0;
}

.s29_vertical input[type="radio"] {
	margin-left:3px;	
}

@media (min-width:480px) {
	
	.s29_small input, .s29_small select, .s29_small textarea {
		max-width:150px !important;
	}
	
	.s29_medium input, .s29_medium select, .s29_medium textarea {
		max-width:250px !important;
	}
	
	.s29_big input, .s29_big select, .s29_big textarea {
		max-width:350px !important;
	}
}

.s29_small button {
	width:150px !important;
}

.s29_medium button {
	width:250px !important;
}

.s29_big button {
	width:350px !important;
}

input, select, textarea {
	color:#000 !important;
}

.s29_margin input, .s29_margin select, .s29_margin textarea {
	margin-top:5px; margin-bottom:5px;
}

.s29_marginTop input, .s29_marginTop select, .s29_marginTop textarea {
	margin-top:5px;
}

.s29_marginBottom input, .s29_marginBottom select, .s29_marginBottom textarea {
	margin-bottom:5px;
}

.s29_date {
	max-width:330px;
}

.s29_date select:first-child {
	width:25%;
}

.s29_date select:nth-child(2) {
	width:50%;
	margin-left:2%;
}

.s29_date select:last-child {
	width:21%;
	margin-left:2%;
}

input[type=checkbox] {
	width:auto;
}

button, input[type="button"], input[type="submit"] {
	width:auto;
	margin:0; padding:8px 15px;
	background:#efefef;
	border:solid 2px #c0c0c0;
	font-size:16px;
}

.s29InputLoader {
	display:none;
	position:relative; top:2px;
	width:46px; height:12px;
	margin-left:7px;
	background-image:url(../img/loader.gif); background-size:cover;
}

@media (min-width:480px) {
	.s29InputLoader {
		float:right;
		top:5px;
	}
}

.markItUp {
	width:auto !important;
	margin:6px 0 !important;
	border:none !important;
}

.markItUpContainer {
	margin:0 !important;
}

.markItUpEditor {
	width:100% !important;
	padding:5px !important;
	font:15px Verdana, Arial !important;
}

.error {
	margin-bottom:10px !important;
}

.s29SelectLocation select {
	max-width:400px;
}

form .s29_error {
	margin:0 12px; padding:5px 0 10px;
	color:#B00;
	border:solid 1px #B00;
	text-align:center;
	font-size:14px; font-weight:bold; line-height:160%;
}

.cke_editable {
	font-size:14px !important;
}


/* прочее */

#n123Content #s29SelectCityBox {
	margin: 25px 14px 35px;
}

#n123Content #s29SelectCityBox h2 {
	margin-left:0;
}


.s29GreenUrl a {
	display:block;
	padding:15px 0; margin:20px 14px 10px;
	background-color:#06af61;
	color:#fff;
	border-radius:4px;
	text-align:center; font-size:16px; text-decoration:none;
	line-height:130%;
}

@media (min-width:980px) {
	.s29GreenUrl .s29_adaptive a { margin:20px 0; }
}
