
@charset "utf-8"; 
@font-face {
	font-family: 'Circe';
	src: url('../fonts/CRC35.eot');
	src: local('☺'), url('../fonts/CRC35.woff') format('woff'), url('../fonts/CRC35.ttf') format('truetype'), url('../fonts/CRC35.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
    font-family: 'Circe';
    src: url('../fonts/CRC65.eot');
    src: local('☺'), url('../fonts/CRC65.woff') format('woff'), url('../fonts/CRC65.ttf') format('truetype'), url('../fonts/CRC65.svg') format('svg');
    font-weight: bold;
    font-style: normal;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: top;
	background: transparent;
}
blockquote, q {quotes: none;}
:focus {outline: 0;}
ins {text-decoration: none;}
del {text-decoration: line-through;}
table {border-collapse: collapse; border-spacing: 0;}
p {margin: 0 0 18px;}
img {border: none;}
input {vertical-align: middle;}
body {
	font: 12px/18px Verdana, Tahoma, Arial, sans-serif;
	color: #1f2441;
	width: 100%;
	overflow:hidden;
}
a {
	color: #1f2441;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

#wrapper {
	position: relative;
	min-width: 1000px;	
	height: 2000px;
}

/* Top Menu */

#top_menu {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 476px;
	z-index: 100;
	height:40px;
	line-height:40px;
}

#top_menu,
#top_menu a {
	font: 11px/40px 'Circe', Verdana, Arial;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
}
#top_menu a:hover, 
#top_menu a.active {
	color: #f4b1d4;
}
#top_menu span {
	padding: 0 10px;	
}

/* Main layer */

.img {
	width: 100%;
	height: 203px;
	overflow: hidden;
}
.img img {
	width: 100%;	
}

.copyright {
	width: 314px;
	height: 118px;
	background: url(../img/copyright.png);
	position: absolute;
	left: 50%;
	margin-left: -157px;
}

#main {
	overflow: hidden;
	position:relative;
}
#main .p {
	position: relative;	
}

#p1 {
	position: relative;
	height: 917px;
	background: url(../img/textured_paper.png);
	z-index: 10;
}

#p2 { z-index: 30; }

#p3 {
	height: 917px;	/* 926px; */
	z-index: 10;
}

#p4 { z-index: 30; }

#p5 {
	height: 917px;	/* 928px; */
	background:url(../img/bg_2.jpg);
	z-index: 10;
}

#p6 { z-index: 30; }

#p7 {
	height: 917px;	/* 924px; */
	z-index: 10;
}

/* parallax layers */
/* .layer_4 {
	position: absolute;	
	width: 100%;
	top: 0;
	z-index: 20;
} */
.layer_4.line_1 {
	top: 464px;
	position: absolute;
	width: 100%;
	height: 1px;
	font-size: 1px;
	background: #f4b1d4;
}
.layer_4.line_2 {
	top: 0px;
	position: absolute;
	width: 100%;
	height: 1244px;
	background: url(../img/line_2.gif) no-repeat center -268px;
}
.layer_4.line_3 {
	top: 50px;
	padding:20px 0;
	position: absolute;
	width: 100%;
	height: 1px;
	font-size: 1px;
	background: url(../img/line_3.gif) no-repeat center;
}
.layer_4.line_4 {
	top: 50px;
	position: absolute;
	left: 50%;
	margin-left: -214px;
	width: 428px;
	height: 40px;
	font-size: 1px;
	border: 1px solid #f4b1d4;
}
.layer_4.line_5 {
	top: 455px;
	position: absolute;
	width: 100%;
	height: 1px;
	font-size: 1px;
	background: #f4b1d4;
}

.layer_5.line_6{
    font-family: "Circe";
    top: 180px;
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
}

/* -------------- */
/* .layer_3 {
	position: absolute;	
	width: 100%;
	top: 0;
	z-index: 25;
} */
.layer_3.line_1 {
	top: 560px;
	position: absolute;
	width: 100%;
	color: #1f2441;
	letter-spacing: 1px;
}
.layer_3 .subline_1 {
	font: 22px/27px 'Circe', Verdana, Arial;
	text-align: center;
}
.layer_3 .subline_1 b {
	display: block;	
}

.layer_3 .subline_2 {
    margin-top: 12px;
	position: relative;
	width: 100%;
	font: 12px 'Circe', Verdana, Arial;
	text-align: center;
	color: #838383;
}

.layer_3 .subline_3 {
	margin-top: 45px;
	position: relative;
	width: 768px;
	left: 50%;
	margin-left: -384px;
	font: 16px 'Circe', Verdana, Arial;
	color: #838383;
}

.layer_3 .subline_4 {
	margin-top: 35px;
	position: relative;
	width: 100%;
	text-align: center;
	color: #838383;
}
.layer_3 .subline_4 a {
	margin: 0 5px;	
}

.layer_3.line_2 {
	top: 265px;
	position: absolute;
	width: 100%;
}

.layer_3.line_2 .text {
	position: relative;
	width: 818px;
	height: 415px;
	left: 50%;
	margin-left: -409px;
	color: #838383;
	letter-spacing: 1px;
	border: 1px solid #dbdbdb;
	background: white;
}

.layer_3.line_2 .text:before,
.layer_3.line_2 .text:after {
 z-index: -1;
 position: absolute;
 content: "";
 bottom: 15px;
 left: 10px;
 width: 50%;
 top: 80%;
 max-width:300px;
 background: rgba(0, 0, 0, 0.7);
 -webkit-box-shadow: 0 15px 10px rgba(0,0,0, 0.7);
 -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
 box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
 -webkit-transform: rotate(-2deg);
 -moz-transform: rotate(-2deg);
 -o-transform: rotate(-2deg);
 -ms-transform: rotate(-2deg);
 transform: rotate(-2deg);
}

.layer_3.line_2 .text:after {
 -webkit-transform: rotate(2deg);
 -moz-transform: rotate(2deg);
 -o-transform: rotate(2deg);
 -ms-transform: rotate(2deg);
 transform: rotate(2deg);
 right: 10px;
 left: auto;
}

.layer_3.line_2 .tab {
	display: none;	
	padding: 60px;
	font: 15px/25px 'Circe', Verdana, Arial;
}
.layer_3.line_2 .show {
	display: block;	
}


.layer_3.line_3 {
	top: 230px;
	position: absolute;
	width: 100%;
}
.layer_3.line_3 .address {
	position: relative;
	left: 50%;
	margin-left: -410px;
	width: 740px;
	height: 473px;
	border-bottom: 1px solid #e7e7e7;
	background:url(../img/bg_3.jpg);
	padding: 24px 24px 0 24px;
}

.layer_3.line_3 .address img{
    width: 100%;
    height: 200px;
    margin-bottom: 5px;
}

.layer_3.line_3 .address .text {
	width: 200px;
	height: 424px;
	background: white;
	float: left;
	text-align: center;
	color: #838383;
	padding: 13px 25px;
	font: 12px 'Circe', Verdana, Arial;
}

.layer_3.line_3 .address .text > a{
    margin-bottom: 5px;
    display: inline-block;
}

.layer_3.line_3 .address .text2{
    float: left;
    margin-top: 19px;
}

.layer_3.line_3 .address .text2 img{
    border: 5px solid #ffffff;
    float: left;
}

.layer_3.line_3 .address .text2 strong{
    font-family: "Circe";
    font-weight: bold;
    font-size: 13px;
}

.layer_3.line_3 .address .text2 .col1{
    float: left;
    width: 180px;
    margin-left: 51px;
    vertical-align: top;
}

.layer_3.line_3 .address .text2 .col2{
    float: left;
    width: 260px;
    margin-left: 51px;
    font-size: 13px;
    font-family: "Circe";
    line-height: 15px;
    vertical-align: top;
}

.layer_3.line_3 .address .text2 .col1 ul,
.layer_3.line_3 .address .text2 .col2 ul{
    list-style: none;
    height: 61px;
    font-size: 13px;
    font-family: "Circe";
    line-height: 15px;
}

.layer_3.line_3 .address .text2 .col2 ul{
    height: 65px;
}

.layer_3.line_3 .address .text2 .col1 ul li,
.layer_3.line_3 .address .text2 .col2 ul li{
    background: url("../img/point.png") left 8px no-repeat;
    padding-left: 5px;
}

.layer_3.line_3 .address .text .header {
	display: block;
	margin-bottom: 13px;
	line-height: 15px;
}

.layer_3.line_3 .address .text small {
	display: block;
	margin-top: 5px;
}
.layer_3.line_3 .address .text span {
	color: #1f2441;
	font-size: 15px;
}
.layer_3.line_3 .address .text .email {
	display: block;
	margin-top: 7px;
	color: #009ae3;
}

#arm {
	position: relative;
	left: 50%;
	margin-left: -159px;
	width: 318px;
	height: 408px;
	background:url(../img/arm.png) center top;
	top: -45px;
}

#map,#map2 {
    float: left;
    width: 490px;
    height: 450px;
}

/* -------------- */
/* .layer_2 {
	position: absolute;	
	width: 100%;
	top: 0;
	z-index: 30;
} */

.layer_2.line_1 { 
	position: absolute;
	width: 100%;
	top: 426px;
	font: 24px 'Circe', Verdana, Arial;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 5px;
}
.layer_2.line_1 .surname {
	font-weight: bold;	
}

.layer_2.line_2 {
	position: absolute;
	bottom: 55px;
}

.layer_2.line_3 {
	position: absolute;
	top: 192px;
	width: 340px;
	height: 340px;
	left: 50%;
	margin-left: -170px;
	background: url(../img/photo.jpg) no-repeat;
    border-radius: 170px;
}

.layer_2.line_4 {
	position: absolute;
	top: 180px;
	text-align: center;
}

.submenu {
	position: relative;	
	left: 50%;
    margin-left: -435px;
}

.submenu li{
    display: inline-block;
}

.submenu li:nth-child(1){
    width: 200px;
}
.submenu li:nth-child(2){
    width: 283px;
}
.submenu li:nth-child(3){
    width: 231px;
}
.submenu li:nth-child(4){
    width: 147px;
}

.submenu a {
	display: inline-block;
	font: 18px 'Circe', Verdana, Arial;
	color: #838383;
	text-decoration: none;
	text-transform: uppercase;
}
.submenu a:hover,
.submenu a.active {
	color: #1f2441;
    font-weight: bold;
}

.submenu .angle {
	position: absolute;
	left: 50%;
	width: 26px;
	height: 22px;
	background:url(../img/submenu.png) no-repeat;	
	margin-top: 10px;
	margin-left: -352px;
}

.layer_2.line_5 {
	position: absolute;
	top: 770px;
}

a.facebook, a.mail {
	display:inline-block;
	width:30px;
	height:30px;
    background:url(../img/social-icons.png);
}
a.facebook {
    background-position: left top;
}
a.mail {
    background-position: right top;
}
a.facebook:hover {
    background-position: left bottom;
}
a.mail:hover {
    background-position: right bottom;
}

#map .ymaps-copyright-legend-container{
    display: none;
}

#created{
    display: block;
    position: relative;
    width: 101px;
    height: 64px;
    background: url("../img/piligrim.png");
    top: -255px;
    margin-right: 30px;
    float: right;
}

.namename{
    font-family: "Circe";
    font-size: 22px;
    padding-top: 20px;
    text-align: center;
    color: #838383;
}

