@import url(/css/colors.css);

html, body {
height: 100%;
margin: 0;
padding: 0;
}

body, table, ul, li {
font-family: Tahoma;
font-size: 13px;
line-height: 16px;
color: #fff;
}

table {
border-collapse: collapse;
}

table td,
table th {
padding: 0px;
}

img {
border: none;
}

form {
padding: 0;
margin:0;
}

h1, h2, h3 {
font-weight: normal;
font-size: 18px;
line-height: 20px;
margin: 5px 0 7px 0;
padding: 0;
}

p {
padding: 0px;
margin: 7px 0 9px 0;
}

a {
color: #C4BDCA;
}

a:hover {
color: #fff;
/*text-decoration: none;*/
}

input,
textarea {
/*border: solid 1px #6381B1;*/
/*color: #000;*/
border: none;
margin: 0;
}

button {
border: none;
background: none;
}

button::-moz-focus-inner {
border: 0;
padding: 0;
}


.main_table {
width: 100%;
height: 100%;
background: #A79FB0 url(/pic/bg_main.png) repeat center center;
}

.film_left {
background: url(/pic/film_left.png) repeat-y 0 60px;
}

.film_right {
background: url(/pic/film_right.png) repeat-y 100% 60px;
}

.film_center {
width: 100%;
height: 100%;
vertical-align: top;
}


.content_table {
width: 960px;
height: 100%;
margin-left: auto;
margin-right: auto;
vertical-align: top;
}

.content_main {
width: 100%;
vertical-align: top;
}

.content_bottom {
vertical-align: bottom;
background: url(/pic/bottom_bg.png) no-repeat 9px bottom;
}

.bottom_left {
float: left;
}

.logo_bottom {
display: block;
float: left;
width: 32px;
height: 32px;
background: url(/pic/logo_bottom.png) no-repeat 0 0;
margin: 20px 20px 19px 35px;
}

.logo_bottom:hover {
background-position: 0 -32px;
}

.bottom_text {
float: left;
margin: 19px 0 0 0px;
}

.bottom_right {
float: right;

}

.counter {
float: left;
margin: 21px 20px 0 0px;
}

.cadr25 {
float: left;
margin: 19px 45px 0 0px;
}


.top_logo {
display: block;
float: left;
width: 72px;
height: 72px;
margin: 50px 13px 0 10px;
background: url(/pic/logo_top.png) no-repeat 0 0;
}

.top_logo:hover {
background-position: 0 -72px;
}

.top_title {
display: block;
float: left;
width: 521px;
height: 72px;
background: url(/pic/main_title_bg_na.png) no-repeat 0 0;
font-size: 28px;
line-height: 73px;
text-align: center;
font-family: Arial;
margin: 50px 13px 0 0;
margin: 50px 25px 0 10px;
}

a.top_title {
text-decoration: none;
background: url(/pic/main_title_bg.png) no-repeat 0 0;
color: #fff;
}

a.top_title:hover {
background-position: 0 -72px;
}

.top_info {
display: block;
float: left;
margin: 70px -5px 0 0;
}


.intro {
background: rgba(0,0,0,0.25);
border-radius: 10px;
padding: 15px 80px;
margin: 25px 13px 0px 9px;
}

.intro p {
text-align: justify;
}

.previews_block {
padding: 30px 0 0 0;
}

.previews_block a {
display: inline-block;
vertical-align: top;
margin: 0 5px 25px 5px;
}

.previews_block a div {
	width: 178px;
	height: 178px;
	background-repeat: no-repeat;
	background-position: 0 -178px;
/*
background-position: 0 0;
*/
}

/*
.previews_block a:hover div {
background-position: 0 -178px;
}
*/

.previews_block a div b {
	position: absolute;
	display: block;
	background-image: inherit;
	width: 178px;
	height: 178px;
	background-position: 0 0;

	opacity: 1;
	visibility: visible;

	transition: all 0.8s ease 0s;
}

.previews_block a div b:hover,.previews_block a div:hover b {
	opacity: 0;
	visibility: hidden;
}

.previews_block span {
display: block;
width: 178px;
text-align: center;
padding: 10px 0 0 0;
}

.photo_block,
.content_block {
width: 938px;
margin: 30px 0 30px 10px;
padding: 37px 0 10px 0;
background: #000;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
background: rgba(0,0,0,0.5);
}

.content_block .text_content {
padding: 37px 25px 15px 27px;
}

.content_block .page_title {
padding: 0px 20px 0 27px;
font-size: 23px;
}

.photo_table {
width: 938px;
}

.photo {
	margin: 0 0 15px 0;
	position: relative;

	overflow: hidden;
}

.photo b {
	position: absolute;
	background: url(/pic/note.png) 0 0 no-repeat;
	width: 408px;
	height: 61px;

	/*
	bottom: -61px;
	*/
	bottom: -6px;
	left: 50%;
	margin-left: -204px;
}

.photo b.back { /* картинку с надписью про старое фото запихни в note.png второй, под первую */
	background-position: 0 -61px;
}

.photo i {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;

	opacity: 0;
	-moz-opacity: 0;
}

.descr {
font-family: Tahoma;
font-size: 20px;
padding: 0 0 10px 0;
}

.descr p.grey {
font-size: 17px;
margin: 10px 0 0 0;
}

.photo_table .content {
padding: 0 0 15px 0;
text-align: left;
}

.left,
.right {
display: block;
width: 100%;
height: 450px;
}

.left {
background: url(/pic/left.png) no-repeat center center;
}

.left:hover {
background-image: url(/pic/left_.png);
}


.right {
background: url(/pic/right.png) no-repeat center center;
}

.right:hover {
background-image: url(/pic/right_.png);
}

.top_banner {
padding: 20px 0 0 10px;
margin: 0 0 -25px 0;
}

.top_banner a {
display: inline-block;
width: 938px;
height: 170px;
padding: 0;
margin: 0;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-radius: 9px;
-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.9), inset 0px 0px 7px 0px rgba(255, 255, 255, 0.55);
-moz-box-shadow:    0px 0px 15px 0px rgba(0, 0, 0, 0.9), inset 0px 0px 7px 0px rgba(255, 255, 255, 0.55);
box-shadow:         0px 0px 15px 0px rgba(0, 0, 0, 0.9), inset 0px 0px 7px 0px rgba(255, 255, 255, 0.55);
}


.bottom_banner_visit {
margin: 5px 0 20px 10px;
padding: 10px 5px;
box-sizing: border-box;
width: 938px;
background-color: rgba(0,0,0,0.5);
border-radius: 7px;
font-size: 95%;
text-align: center;
}


.bottom_banner {
padding: 20px 0 0 10px;
/*margin: 0 0 -25px 0;*/
margin: -15px 0 15px 0;
}

.bottom_banner a {
display: inline-block;
background-image: url(/pic/banner_postcards.png);
width: 938px;
height: 170px;
padding: 0;
margin: 0;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-radius: 9px;
-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.9), inset 0px 0px 7px 0px rgba(255, 255, 255, 0.55);
-moz-box-shadow:    0px 0px 15px 0px rgba(0, 0, 0, 0.9), inset 0px 0px 7px 0px rgba(255, 255, 255, 0.55);
box-shadow:         0px 0px 15px 0px rgba(0, 0, 0, 0.9), inset 0px 0px 7px 0px rgba(255, 255, 255, 0.55);
}





.clear {
width: 100%;
clear: both;
overflow: hidden;
height: 0;
font-size: 0;
line-height: 0;
}

.clear1 {
width:100%;
overflow:hidden;
height: 0;
font-size: 0;
line-height: 0;
}


/*
span, div {
border: solid 1px;
}
*/

/* social */

.social .net {
	background: url(/i/social-nets.png) 0 0 no-repeat;
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	transition: all 0.5s ease 0s;
	line-height: 32px;
}

.social .net a {
	display: inline-block;
	width: 32px;
	height: 32px;
}

.social .net:hover {
	-webkit-box-shadow: inset 0px 0px 22px 0px rgba(255, 255, 255, 0.4);
	-moz-box-shadow:    inset 0px 0px 22px 0px rgba(255, 255, 255, 0.4);
	box-shadow:         inset 0px 0px 22px 0px rgba(255, 255, 255, 0.4);
}

.social .net:active {
	-webkit-box-shadow: inset 0px 0px 22px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    inset 0px 0px 22px 0px rgba(0, 0, 0, 0.3);
	box-shadow:         inset 0px 0px 22px 0px rgba(0, 0, 0, 0.3);
}

.social .vk {
	background-position: -32px 0;
}

.social .twitter {
	background-position: -64px 0;
}

.social .google {
	background-position: -96px 0;
}

/* login-nets */

ul.login-nets {
    display: inline-block;
	list-style: none;
	margin: 0 0 0 10px;
	padding: 0;
	position: relative;
	top: 10px;
}

ul.login-nets li {
	display: inline-block;
	margin: 0 5px 0 0;
}

/* reg-nest */

ul.reg-nets {
	list-style: none;
	padding: 10px 0 0 0;
	margin: 0 0 0 350px;
}

ul.reg-nets li {
	display: inline-block;
	margin: 0 5px 0 0;
}

/* loading */

.loading,.loading-btn {
background: url(/i/loading.gif) center center no-repeat;
}

.loading-btn {
width: 32px;
height: 32px;
display: inline-block;
visibility: hidden;
}

.comment_form .loading-btn {
float: right;
margin-top: -10px;
}

/* moar */

/* moar-block */

.moar-block {
margin: 10px 0;
text-align: center;
}

.moar-block button {
cursor: pointer;
display: inline-block;
background: url(/pic/icons/standard/button_moar.png) no-repeat 0 0;
width: 92px;
height: 34px;
border: 0;
cursor: pointer;
}

.moar-block button:hover {
background-position: 0 -34px !important;
}

.moar-block button:active {
background-position: 0 0 !important;
}

.moar-block .loading-btn {
position: absolute;
margin-left: 15px;
}

/* comment form */

.comment_form_block {
	background: rgba(0,0,0,0.8);
	border-radius: 10px;
	padding: 10px;
	margin: 0 13px 15px 9px;
	position: relative;
}

.attention_block {
    position: relative;
    top: -2px;
	text-align: center;
	padding-bottom: 17px;
}

.comment_form {
	padding: 0;
	margin: 0;
}

.comment_form .ava {
	float: left;
	margin-right: 7px;
}

.comment_form .ava img {
	height: 50px;
}

.comment_form textarea {
	float: left;
	width: 680px;
	*width: 690px;
	height: 50px;
	border: none;
	margin: 0 8px 0 0;
	padding: 0 5px;
	font-family: Tahoma;
	font-size: 13px;
	line-height: 16px;
}

.comment_form .submit {
	position: absolute;
	right: 10px;
}

.comment_form .submit button[type="submit"] {
    padding: 0;
    margin: 0;
	height: 75px;
	color: #fff;
	width: 161px;
	height: 50px;
	background: url(/i/submit-bg.png);
	cursor: pointer;
}

/* comment_row */

#comment_rows {
	margin: 0 13px 0 9px;
}

.comment_row {
	margin: 30px 0;
}

.comment_row .avatar {
	float: left;
	border-radius: 4px;
	border: 4px solid rgba(0,0,0,.8);
	line-height: 0;
}

.comment_row .avatar img {
	width: 50px;
}

.comment_row .date {
	float: right;
	color: #7D7D7D;
}

.comment_row .name {
	margin: 0 0 0 69px;
	padding: 13px 0 0 24px;
	position: relative;
}

.comment_row .name:before {
	content: "";
	display: block;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0;
	margin-top: 1px;
	background: url(/i/social-nets-tiny.png) 0 0 no-repeat;
}

.comment_row .name.twitter:before {
	background-position: 0 0;
}

.comment_row .name.google:before {
	background-position: -21px 0;
}

.comment_row .name.facebook:before {
	background-position: -42px 0;
}

.comment_row .name.vk:before {
	background-position: -63px 0;
}

.comment_row .name a {
    display: inline-block;
	color: #7D7D7D;
	text-decoration: underline;
}

.comment_row .content {
	color: #fff;
	margin: 9px 0 0 69px;
}

/* cross fade animations */

@-webkit-keyframes photo-fade-in {
	0% { opacity: 0.0; -moz-opacity: 0.0; }
	100% { opacity: 1.0; -moz-opacity: 1.0; }
}

@keyframes photo-fade-in {
	0% { opacity: 0.0; -moz-opacity: 0.0; }
	100% { opacity: 1.0; -moz-opacity: 1.0; }
}

@-webkit-keyframes photo-fade-out {
	0% { opacity: 1.0; -moz-opacity: 1.0; }
	100% { opacity: 0.0; -moz-opacity: 0.0; }
}

@keyframes photo-fade-out {
	0% { opacity: 1.0; -moz-opacity: 1.0; }
	100% { opacity: 0.0; -moz-opacity: 0.0; }
}

.photo i.photo-fade-in {
	-webkit-animation: photo-fade-in 1.5s 1;
	-moz-animation: photo-fade-in 1.5s 1;
	-ms-animation: photo-fade-in 1.5s 1;
	-o-animation: photo-fade-in 1.5s 1;
	animation: photo-fade-in 1.5s 1;

	opacity: 1.0;
	-moz-opacity: 1.0;
}

.photo i.photo-fade-out {
	-webkit-animation: photo-fade-out 1.5s 1;
	-moz-animation: photo-fade-out 1.5s 1;
	-ms-animation: photo-fade-out 1.5s 1;
	-o-animation: photo-fade-out 1.5s 1;
	animation: photo-fade-out 1.5s 1;

	opacity: 0.0;
	-moz-opacity: 0;
}

u.more-info {
	cursor: pointer;
}

.home-content {
    display: none;
/*	background: #000;*/
background: rgba(0,0,0,0.25);
	margin: 25px 11px 0 9px;
	padding: 35px 80px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
}

/* dipopups */

.hint {
	display: none;
	color: #f00;
}

div#gray-bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.6);
	display: none;
	z-index: 10;
}

.dipopup {
	position: fixed;
	z-index: 15;
	left: 50%;
	top: 50%;
	display: none;
	background: #fff;
	box-shadow:	0 0 10px rgba(0,0,0,.5);
}

.dipopup .close {
	position: absolute;
	right: -20px;
	top: 0px;
	width: 18px;
	height: 18px;
	background: url(/i/close.png) 0 0 no-repeat;
	cursor: pointer;
}

.dipopup .close:hover {
	background-position: 0 -18px;
}

/* wiki */

.wiki-pic {
display: inline-block;
/*
background: #EFF8FF;
padding: 10px;
border: 1px solid #C9D9F3;
*/
}

.wiki-pic-noalign {
margin: 5px 0;
}

.wiki-pic-left {
float: left;
margin: 0 15px 5px 0;
}

.wiki-pic-right {
float: right;
margin: 0 0 5px 15px;
}

.wiki-pic-center {
float: none;
display: table;
margin: auto;
}

.wiki-pic .photo {
float: none !important;
}
