@charset "UTF-8";

/* Шрифты*/
@font-face { font-family: Helvetica Neue; src: local("Helvetica Neue Light"),  local("HelveticaNeue-Light"),  url(../fonts/HelveticaNeueLight.otf); font-weight: 300; font-style: normal; }
@font-face { font-family: Helvetica Neue; src: local("Helvetica Neue Regular"),  local("HelveticaNeue-Regular"),  url(../fonts/HelveticaNeueRegular.otf); font-weight: 400; font-style: normal; }
@font-face { font-family: Helvetica Neue; src: local("Helvetica Neue Medium"),  local("HelveticaNeue-Medium"),  url(../fonts/HelveticaNeueMedium.otf); font-weight: 600; font-style: normal; }
@font-face { font-family: Helvetica Neue; src: local("Helvetica Neue Bold"),  local("HelveticaNeue-Bold"),  url(../fonts/HelveticaNeueBold.otf); font-weight: 800; font-style: normal; }


/* Основные стили */
* { padding: 0; margin: 0; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.emerge { opacity: 0; }

html { font-size: 14pt; font-family: Helvetica Neue; font-weight: 400; line-height: 1.43; max-width: 100%; width: 100%;}

a:link, a, a:active, a:visited { color: #330000; text-decoration: none; }
a:hover { color: #572e2e; text-decoration: underline; }

.full-a { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 30;}

.hero-vertical { position: absolute; top: 50%; -webkit-transform: translate(0%, -50%); transform: translate(0%, -50%); }
.hero-horizontal { position: absolute; left: 50%; -webkit-transform: translate(-50%, 0%); transform: translate(-50%, 0%); }
.hero-full { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }

.hero-vertical-rel { position: relative; top: 50%; -webkit-transform: translate(0%, -50%); transform: translate(0%, -50%); }
.hero-horizontal-rel { position: relative; left: 50%; -webkit-transform: translate(-50%, 0%); transform: translate(-50%, 0%); }
.hero-full-rel { position: relative; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }

.clearfix:after {   content: " ";   visibility: hidden;   display: block;   height: 0;   clear: both;}

#content #logo { text-transform: uppercase; letter-spacing: -0.05em; line-height: 0.9; display: block; }

#language { position: absolute; right: 0; top: 3rem; cursor: pointer; }
#language a { display: block; background-color: white; color: #330000; text-decoration: none; text-align: center; text-transform: uppercase; font-weight: 800; font-size: 1.1rem; padding: 0.1rem 0.4rem; cursor: pointer; transition: all 0.1s ease}
#language a:hover {background-color: #330000; color: white;}

div.overlay {position: absolute; width: 100%; height: 100%; background: black; top: 0;left: 0;opacity: 0; visibility:hidden; transition: all 0.3s ease;}
.opened-menu div.overlay {visibility:hidden; opacity:0;}
#nav-button {font-size: 2rem; text-transform:uppercase; cursor:pointer}

/* Главные стили отдельный страниц */
html.homepage { max-width: 100%; max-height: 100%; width: 100%; height: 100%; overflow: hidden; background-image: url(../img/homepage/bg.jpg); background-position: right top; background-size: cover; background-repeat: no-repeat; height: 100%; min-height: 100%; max-width: 100%; width: 100%;  }
html.homepage #content { height: 100%; width: 100%; }

html.page { background-color: #e6e6e6; background-image: url(../img/page/bg.jpg); background-position: bottom left; background-repeat: no-repeat; background-size: cover; }
html.page #content {width: 90%; max-width: 960px; margin: 0px auto; padding-bottom: 140px;}

/* Главная страница */
.homepage #logo { position: absolute; left: 3rem; top: 3rem; color: white; cursor: default;}
.homepage #content #logo div { font-weight: 800; font-size: 3.4em; padding-bottom: 0.6rem; margin-bottom: 0.6rem; border-bottom: 2px solid white; }
.homepage #content #logo span { width: 100%; text-align: center; word-spacing: 0px; letter-spacing: 3.52rem; margin-right: -20px; }
.homepage.en #content #logo span {letter-spacing: 2.77rem;}

.homepage #photo { width: 50%; height: 100%; position: absolute; right: 0; background-image: url(../img/homepage/stepanov.png); background-size: auto 90%; background-repeat: no-repeat; background-position: 100% 100%; }

.homepage nav {position: absolute; left: 3rem; bottom: 6rem; }
.homepage nav #nav-button { display: none; color:white}
.homepage nav ul#nav-list { left: -300px; z-index: 100; }
.homepage nav ul { list-style: none; }
.homepage nav ul li { border-left: 3px solid rgba(255,255,255,0); margin: 0px 0px; padding: 6px 0px 5px 5px; display: block; line-height: 1.1; margin-left: -7px;}
.homepage nav ul li:hover { border-left: 3px solid rgba(255,255,255,1); }
.homepage nav ul li#menu-close:hover { border-left: 3px solid rgba(255,255,255,0); }
.homepage nav ul li a { font-size: 1.4rem; color: white; font-weight: 500; text-decoration: none; text-transform: uppercase; }

.homepage footer { background-color: rgba(0,0,0,.5); color: white; height: 4rem; position: absolute; width: 100%; bottom: 0; left: 0; }
.homepage footer #descriptor { text-transform: uppercase; line-height: 1; display: inline-block; float: left; font-size: 0.7em; font-weight: 400; width: 30%; max-width:370px; margin-top: 1.5rem;}
.homepage footer #footer-phone { float: left; font-size: 1.5em; letter-spacing: -0.05em; line-height: 1; margin-left: 3rem; margin-right: 3rem; font-weight: 200;margin-top: 1.2rem;}
.homepage footer #footer-phone a { color: white; text-decoration: none }

#menu-close {color: white;text-transform: uppercase;text-align: center;margin-bottom: 10px;font-size: 1.4rem;padding: 0px 0px 10px 20px; display:none;}
#menu-close .fa.fa-times { float: right; cursor: pointer;}
#menu-close .fa.fa-times:hover {opacity: 0.8}

/* Типовая страницв */
.page #content header { width: 100%; height: 5rem; position: relative; color: #330000; }
.page #content header #logo { left: 0; font-family: Helvetica Neue; font-weight: 800; font-size: 1.5rem; display: inline-block; }

.page nav { float: right; position:relative; top: 50%;transform: translate(0%,-50%);}
.page nav li { list-style: none; text-align: right; display: inline-block; font-size: 0.8em; margin-left: 20px; cursor: pointer; position: relative; border-bottom: 2px solid transparent; transition: border 0.2s ease; text-transform: uppercase; font-weight: 400; }
.page nav li.active { border-bottom-color: #330000; font-weight: 600; line-height: 1.7; cursor:default }
.page nav li:hover, .page nav li:active { border-bottom-color: #330000; }
.page nav li a {text-decoration: none}
.page #nav-button {display:none}

#page-content { width: 100%; padding: 40px 40px 40px 40px; background-color: white; min-height: calc(100% - 270px);}
#page-content :last-child, #page-content :nth-last-child(1) { margin-bottom: 0;}

#page-content h1 { font-family: "Helvetica Neue", Roboto, sans-serif; font-weight: 200; background-color: #330000; color: white; display: inline-block; padding: 16px 40px 16px 50px; margin-left: -50px; font-size: 2.1rem; margin-bottom: 1.6rem !important; position: relative; letter-spacing: -0.015em; line-height: 1;}
#page-content h1:before { content: ""; width: 0px; height: 0px; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent #160e0e transparent transparent; position: absolute; left: 0; bottom: -10px; }
#page-content h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 0.6rem; margin-top: 2rem;}
#page-content h3 { margin-top: 1.5rem; margin-bottom: 0.8rem; font-size: .9rem; line-height: 1.2; }

#page-content > div:nth-of-type(1) + *  {margin-top:0 !important;}

#page-content p { font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.5; margin-bottom: 0.6rem; font-size: .8rem; word-wrap: break-word;}
#page-content p.description { margin-bottom: 2.3rem; padding-bottom: 1.5rem; border-bottom: 1px solid #ddd; font-size: 1rem; line-height: 1.5; font-style: italic; font-family: Georgia, Times, serif; }
#page-content ul, #page-content ol { margin: .5rem 0 1rem 2rem }
#page-content ul li, #page-content ol li { margin: 0.3rem 0; }
#page-content ul { list-style: inside; }
#page-content ul li {list-style:none;}
#page-content ul li:before {
	content:"\2014";
	display: inline-block;
	margin-right: 10px;
	}

#page-content ul ul, #page-content ul ol, #page-content ol ol, #page-content ol ul { margin: 0.6rem 0 0.6rem 3rem; }
#page-content a, #page-content a:link, #page-content a:visited, #page-content a:active { text-decoration: underline; }

.page footer { padding: 1.6rem 0; margin: 2.5rem auto 0; color: #330000; border-top: 2px solid; width: 90%; max-width: 960px; margin-top: -100px; position: relative;}
.page footer div#contacts {width: 60%; display: inline-block; font-size:0.7rem; font-weight:200; line-height:1.2;}
.page footer div { vertical-align: top; }
.page footer div#contacts span#contacts_phone {display: inline-block;text-decoration: none;font-size: 1.4rem;font-weight: 400;margin-right: 20px;margin-top: 0.2rem;}
.page footer div#contacts span#contacts_number {    overflow: hidden;    display: inline-block;    vertical-align: top;}
.page footer div#vista {text-align: right; display: inline-block; position: absolute;width: 35%;margin-left: 40px; right:0px; top: 1.5rem;}
.page footer div#vista a { text-decoration: none; }
.page footer div#vista #vista-logo {width: 4.6rem;max-height: 3rem; margin-left: 12px; float:right;}
.page footer div#vista span {font-size: 0.7rem;line-height: 0.95;  font-weight: 200}

.page footer div#vista #vista-logo * { fill: #330000; }
.page footer div#vista:hover #vista-logo * { fill: 572e2e; }

.homepage footer div#vista {text-align: right; display: inline-block; position: absolute;width: 35%;margin-left: 40px; right: 3rem;top: 1.3rem;}
.homepage footer div#vista a { text-decoration: none; color: white;}
.homepage footer div#vista #vista-logo {width: 4.6rem;max-height: 3rem; margin-left: 12px; float:right;}
.homepage footer div#vista span {font-size: 0.7rem;line-height: 1.2;  font-weight: 200}

.homepage footer div#vista #vista-logo * { fill: #fff; }
.homepage footer div#vista:hover #vista-logo * { fill: #fff; }






/* Стили страниц */
#page-content {font-size:0.8rem}

 div#map {
    width: 100%;
	text-align:center
}
 div#map img {
	 width: 100%;
	 height: auto;
 }
 div#place, div#phone {
    width: 48%;
    display: inline-block;
	padding-right: 60px;
	vertical-align: top;
}
div#phone span#phone_number {
font-size: 1.2rem;
}
img#advocate_photo {
float: right;
margin: 0px 0px 20px 30px;
max-width: 285px;
height: auto;
}
.news .news-item span {
    font-size: 0.7rem;
    display: block;
    color: #999;
}
.news #page-content .news-item h3 {
    margin-top: 0px;
    display: block;
    position: relative;
	font-size: 1rem;
}
.news #page-content .news-item a {
}
.news #page-content .news-item p {
    font-size: 0.8rem;
    color: #333;
    font-family: Helvetica Neue, Arial, sans-serif;
    line-height: 1.5;
    margin-top: 5px;
}
.news #page-content .news-item {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    position: relative;
}
.news #page-content .news-item:last-of-type {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
}

.news #page-content .news-item:hover {
	opacity:0.7
}
.pagination {
    display: block;
    width: 100%;
    text-align: center;
}
.pagination span.pagination-item {
    display: inline-block;
    margin: 0px 8px;
    font-size: 0.8rem;
}
#page-content .pagination span.pagination-item a {
    text-decoration: none;
	font-weight:400;
	opacity: 0.7;
}
#page-content .pagination span.pagination-item a:hover {
	opacity:1
}
#page-content .pagination span.pagination-item.active a {
	font-weight:600;
	opacity:1
}

span.period {
    float: left;
    display: block;
    width: 14%;
    text-align: right;
    padding: 0px 0px 5px 0px;
    margin-right: 20px;
    color: #330000;
	font-size:1rem;
}
span.action {
    overflow: hidden;
    display: block;
}

#page-content .file {
    padding: 30px 0px;
    margin: 20px 0px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
#page-content .file .filetype {
	width: 50px;
	display: inline-block;
	height: 50px;
	margin-right: 10px;
	float: left;
	background-position: center top;
	background-size: contain;
	background-repeat: no-repeat;
}
#page-content div.file p.header {
    overflow: hidden;
	margin-bottom:0px;
	margin-top: 4px;
}
#page-content .file p.fsize {
    overflow: hidden;
    color: #888;
}
.file.pdf .filetype {background-image: url('../img/filetypes/pdf.png');}


/* Медиа-запросы по другим параметрам */

@media only screen and (max-height: 600px) { /* Меньше чем 600 по по высоте */
	html.homepage {background-position: right 20%;}
	#language {position: absolute; right: 0; top: 30px; cursor: pointer; }
	.opened-menu div.overlay {visibility:visible; opacity:0.8;}
	.homepage nav { position: static; }
	.homepage nav ul#nav-list { list-style: none; position: fixed; top: 0; left: -300px; height: 100%; background: #2d2323; padding: 20px; width: 300px; max-width: 90%; transition: left 0.3s ease; }
	.homepage nav ul#nav-list #menu-close {display:block}
	.homepage nav ul#nav-list li {padding: 0px}
	.homepage nav ul#nav-list li a { font-size: 1.2rem; line-height: 1; width: 100%; display:block; padding:10px 0px 10px 5px}
	.homepage .opened-menu nav ul#nav-list { left: 0; }
	.homepage #logo { left: 3rem; top: auto; bottom: 6.5rem; }
	.homepage nav #nav-button {display: block; position: absolute; top: 30px; left: 3rem; }

}


/* Медиа-запросы по убыванию экранов */

@media only screen and (min-width: 1921px) { /* Больше чем 1920 по ширине */
	html { font-size: 16pt; }
	.opened-menu #menu-close {display:none}
}

@media only screen and (max-width: 1920px) { /* Меньше чем 1920 по ширине */
	html { font-size: 16pt; }
}

@media only screen and (max-width: 1440px) { /* Меньше чем 1440 по ширине */
	html { font-size: 14pt; }
}

@media only screen and (max-width: 1024px) { /* Меньше чем 1024 по ширине */

	html { font-size: 14pt; }
	.homepage footer #footer-phone {margin-left: 0px;margin-right: 0px;width: 100%;text-align: center;padding: 0px 30px;top: 0;transform: none;margin-top: 10px;}
	.homepage footer #descriptor {float: none;width: 100%; max-width:100%; margin: 0;text-align: center;padding: 0px 30px;top: 0;transform: none;margin-top: 10px;}
	.homepage footer {height: auto; padding-bottom:10px;}
	.homepage footer div#vista { float: none; text-align: center; display: block;width: 100%;margin-left: 0px; margin-top:30px; position: relative; top:0;right: 0;}
	.homepage footer div#vista #vista-logo {width: 100%; max-height: 1.2rem; margin-left: 0px; float:none; margin-bottom:4px;}
	.homepage nav { bottom: 12rem; }
	
}

@media only screen and (max-width: 860px) { /* Меньше чем 860 по ширине */

	.homepage nav { position: static; }
	.homepage nav ul#nav-list { list-style: none; position: fixed; top: 0; left: -300px; height: 100%; background: #2d2323; padding: 20px; width: 300px; max-width: 90%; transition: left 0.3s ease; }
	.homepage nav ul#nav-list #menu-close {display:block}
	.homepage nav ul#nav-list li {padding: 0px}
	.homepage nav ul#nav-list li a { font-size: 1.2rem; line-height: 1; width: 100%; display:block; padding:10px 0px 10px 5px}
	.homepage .opened-menu nav ul#nav-list { left: 0; }
	.homepage #logo { left: 50%; -webkit-transform: translate(-50%, 0%) !important; transform: translate(-50%, 0%) !important; top: auto; bottom: 12rem; }
	#language {position: absolute; right: 0; top: 30px; cursor: pointer; }
	.homepage nav #nav-button {display: block; position: absolute; top: 30px; left: 30px; }
	.page #logo {left:50% !important; transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%);}
	.page #nav-button {display:block; height: 40px; width: 40px; position:relative}
	.page nav {height: 100%; list-style: none; position: fixed !important; top: 0; left: -300px; background: #2d2323; padding: 0px; width: 300px; max-width: 90%; transition: left 0.3s ease; z-index: 100;transform: none;}
	.page nav ul#nav-list { list-style: none; position: relative; height: 100%; background: #2d2323; padding: 20px; width: 100%; transition: left 0.3s ease; }
	.page .opened-menu nav { left: 0; z-index: 101}
	.page nav ul li {margin-left:0px; border-left: 3px solid transparent; border-bottom:none; display:block;}
	.page nav li.active, .page nav li:hover, .page nav li:active { border-bottom: none; border-left: 3px solid white; }
	.page nav li.active {padding: 10px 0px 10px 10px;}
	.page nav ul li, .page nav li.active {color: white;font-size: 1.2rem;text-align: left;width: 100%;display: block;line-height: 1;font-weight: 400;padding: 10px 0px 10px 5px;}
	.page footer div#contacts {display: block; width: 100%}
	.page footer div#contacts span#contacts_phone {display: block;margin-right: 0px;margin-top: 0px; text-align:center}
	.page footer div#contacts span#contacts_number {display: block;margin-right: 0px;margin-top: 0px; text-align:center}
	.page footer div#vista { float: none; text-align: center; display: block;width: 100%;margin-left: 0px; margin-top:30px; position: relative; top:0;}
	.page footer div#vista #vista-logo {width: 100%; max-height: 1.2rem; margin-left: 0px; float:none; margin-bottom:4px;}
	div#place, div#phone {
    width: 100%;
    display: block;
	padding-right: 0px;
	margin-bottom: 30px;
}

	.bio span.period {
		float: none;
		display: inline-block;
		width: 30%;
		text-align: left;
		padding: 0px 0px 0px 0px;
		margin-right: 0px;
		margin-top: 20px;
}
#page-content { padding: 1.4rem; }
#page-content h1 {margin-left: -2rem; padding: 16px 1.4rem 16px 1.6rem;}

}

@media only screen and (max-width: 640px) { /* Меньше чем 640 по ширине */

	.bio img#advocate_photo {
		float: none;
		margin: 0px 0px 20px 0px;
		max-width: 100%;
		width:100%;
		height: auto;
}

}

@media only screen and (max-width : 480px) { /* Меньше чем 480 по ширине */
	
	html { font-size: 12pt; }
	
	.opened-menu div.overlay {visibility:visible; opacity:0.8;}
	.homepage footer #footer-phone {margin-left: 0px;margin-right: 0px;width: 100%;text-align: center;padding: 0px 30px;top: 0;transform: none;margin-top: 10px;}
	.homepage footer #descriptor {float: none;width: 100%; max-width:100%; margin: 0;text-align: center;padding: 0px 30px;top: 0;transform: none;margin-top: 10px;}
	.homepage footer {height: auto; padding-bottom:10px;}
	.opened-menu #menu-close {display:block}
		.bio span.period {
		width: 100%;
		}
	
}




