@import url('https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i&subset=cyrillic');
/*
@font-face {
    font-family: 'Cyntho Pro';
    src: url('../fonts/CynthoPro-Italic-webfont.eot');
    src: url('../fonts/CynthoPro-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/CynthoPro-Italic-webfont.woff2') format('woff2'),
         url('../fonts/CynthoPro-Italic-webfont.woff') format('woff'),
         url('../fonts/CynthoPro-Italic-webfont.ttf') format('truetype'),
         url('../fonts/CynthoPro-Italic-webfont.svg#cyntho_proitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}
*/
@font-face {
    font-family: 'Mountain';
    src: url('../fonts/Mountain-Demo.otf');
    src: url('../fonts/Mountain-Demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
	margin:0;
	padding:0;
	min-width: 320px;
	font-family:'Lora', Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #5d6a81;
	background: url(../images/pw_maze_white.png);
}

/* some general resetting of my own */
a {
	color: #161e29;
	text-decoration:none;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
a:hover {
	color: #af8a32;
}
img {
	max-width:100%;
}
.clearfix {
	
}
.clearfix:after {
	content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
/* end resetting */




#container {
	margin: 0 auto;
	padding: 0;
	max-width: 1200px;
	background: #fff;
}


header {
	margin: 0;
	padding: 0;
	height: 400px;
	position: relative;
	background: #ebebeb url(../images/header_bg.jpg) no-repeat right;
}
#navigation {
	margin: 0;
	padding: 0;
	text-align: right;
	position: absolute;
	top: 50px;
	right: 50px;
	z-index: 1;
}
#lang {
	
}
#lang a {
	display: inline-block;
	margin: 0 0 0 10px;
	padding: 0;
	width: 24px;
	height: 16px;
}
#lang a.active, #lang a:hover {
	background-position: bottom;
}
#lang-bg {
	background: url(../images/bg_lang.png) no-repeat;
}
#lang-en {
	background: url(../images/eng_lang.png) no-repeat;
}
.text-en {
	display: none !important;
}
.lang-bg .text-bg , .lang-en .text-en {
	display: block !important;
}
.lang-bg .text-en, .lang-en .text-bg {
	display: none !important;
}


#navigation nav {
	margin: 10px 0 0 0;
	padding: 0;
}
#navigation nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#navigation nav ul li {
	display: inline-block;
	margin: 0 0 0 30px;
	padding: 0;
}
#navigation nav ul li a {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 16px;
	color: #384f79;
	border-bottom: 1px solid transparent;
}
#navigation nav ul li a.active, #navigation nav ul li a:hover {
	border-bottom: 1px solid #af8a32;
}
#personal-photo {
	position: absolute;
	bottom: 0;
	left: 0;
}
#logo {
	margin: 0;
	padding: 50px 0 0 0;
	background: url(../images/logo_bg.png) no-repeat center top;
	text-align: center;
	font-family: 'Mountain', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #161e29;
}
.logo-name {
	margin: 30px 0 0 0;
	font-size: 24px;
}
.logo-title {
	margin: 5px 0 0 0;
	font-size: 14px;
}
.logo-title span {
	display: inline-block;
	vertical-align: middle;
	margin: 0 5px;
}
.logo-title:before, .logo-title:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	height: 1px;
	width: 100px;
	background: #af8a32;
}


section {
	margin: 0;
	padding: 0 50px;
}
section h1 {
	margin: 30px 0;
	padding: 0;
	font-size: 24px;
	line-height: 1.5em;
	color: #af8a32;
	text-transform: uppercase;
	font-weight: normal;
}

#legal-services {
	padding:60px 50px 70px 400px;	
	background: url(../images/scales.png) no-repeat left -60px top 30px;
}
#legal-services p {
	margin: 30px 25px 30px 0;
	padding: 0;
	line-height: 1.8em;
	font-weight: bold;
}
#practice {
	padding: 20px 50px;
	background: url(../images/practice_bg.jpg) no-repeat right center;
	background-size: cover;
}
#practice ul {
	margin: 30px 0;
	padding: 0;
	list-style: none;
}
#practice ul li {
	margin: 0 50px 35px 0;
	padding: 0;
	width: 170px;
	display: inline-block;
	vertical-align: top;
}
#practice ul li a {
	display: block;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 16px;
	color: #fff;
}
#practice ul li a:hover, #practice ul li a.active {
	color: #af8a32;
}
.law-type {
	margin: 0 auto;
	background: url(../images/icon-hexagon.png) no-repeat;
	width: 116px;
	height: 131px;
	line-height: 131px;
	position: relative;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
#practice ul li a:hover .law-type, #practice ul li a.active .law-type {
	background: url(../images/icon-hexagon-active.png) no-repeat;
}
#practice ul li a:hover .law-type:after, #practice ul li a.active .law-type:after {
	content: '';
	display: inline-block;
	background: url(../images/icon-arrow-down.png) no-repeat;
	width: 29px;
	height: 12px;
	position: absolute;
	bottom: -6px;
	left: 43.5px;	
}
.law-type img, .law-type-icon img {
	vertical-align: middle;
}
#practice ul li a p {
	margin: 10px 0;
}

#practice-details {
	margin: 0;
	padding: 50px;
	background: #161e29;
	position: relative;
	display: none;
}
#practice-details:before {
	content: '';
	display: block;
	width: 102px;
	height: 22px;
	background: url(../images/arrow-practice-bg.png) no-repeat;
	position: absolute;
	top: -22px;
	left: 85px;
}
#close-practice-details {
	display: block;
	float: right;
}
.close-btn {
	margin: 0;
	padding: 0;
	position: relative;
	width: 40px;
	height: 40px;
}
.close-btn:before, .close-btn:after {
	content: '';
	display: block;
	margin: 0;
	padding: 0;
	height: 1px;
	width: 40px;
	background: #af8a32;
	position: absolute;
	top: 18px;
	left: 0;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.close-btn:before {
	-webkit-transform: rotateZ(45deg);
	-moz-transform: rotateZ(45deg);
	-o-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
}
.close-btn:after {
	-webkit-transform: rotateZ(-45deg);
	-moz-transform: rotateZ(-45deg);
	-o-transform: rotateZ(-45deg);
	transform: rotateZ(-45deg);
}
#close-practice-details:hover .close-btn:before, #close-practice-details:hover .close-btn:after {
	background: #fff;
}
.law-details {
	display: none;
}
.law-details.active {
	display: block;
}
.law-type-icon {
	margin: 0 40px 0 0;
	background: url(../images/icon-hexagon-active.png) no-repeat;
	width: 116px;
	height: 131px;
	line-height: 131px;
	text-align: center;
	float: left;
}
.law-type-description {
	margin: 0;
	padding: 0;
	float: left;
	width: 80%;
}
.law-type-description p, .law-type-description li {
	margin: 15px 0;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.6em;
	color: #8c95a4;
}


#about-me {
	padding:70px 50px 70px 400px;
	background: url(../images/judge.png) no-repeat left -110px top 30px;
	font-weight: bold;
	line-height: 1.8em;
}
#about-me p {
	margin: 20px 0;
}
#about-me ul, #practice-details ul {
	margin: 20px 0;
	padding: 0;
	list-style: none;
}
#about-me ul li, #practice-details ul li {
	margin: 0 0 20px;
	padding: 0 0 0 30px;
	background: url(../images/icon-bullet.png) no-repeat left top 4px;
}
#about-me .list-category {
	font-weight: bold;
	color: #161e29;
}

#contacts {
	margin: 0;
	padding: 50px;
	background: url(../images/contacts_bg.jpg) no-repeat center;
	background-size: cover;
	min-height: 300px;
	font-weight: bold;
}
#contacts h2 {
	margin: 20px 0;
	padding: 0;
	font-size: 20px;
	font-weight: normal;
}
.contact-details {
	display: inline-block;
	vertical-align: top;
	margin: 10px 60px 20px 0;
}
.contact-icon {
	margin: 0 15px 0 0;
	padding: 0;
	width: 49px;
	height: 58px;
	line-height: 58px;
	background: url(../images/icon-hexagon-dark.png) no-repeat;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}
.contact-icon img {
	vertical-align: middle;
}
.contact-details p {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	line-height: 1.8em;
}

footer {
	margin: 0;
	padding: 20px 60px;
	background: #384f79;
	text-align: center;
	color: #161e29;
	position: relative;
}
footer p {
	margin: 10px 0;
}
.scroll-top {
	display: inline-block;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 50px;
	height: 50px;
	background: url(../images/icon-hexagon-dark.png) no-repeat center;
	background-size: contain;
}
.scroll-top:before, .scroll-top:after {
	content: '';
	display: block;
	margin: 0;
	padding: 0;
	height: 1px;
	width: 20px;
	background: #af8a32;
	position: absolute;
	top: 23px;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.scroll-top:before {
	-webkit-transform: rotateZ(45deg);
	-moz-transform: rotateZ(45deg);
	-o-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	left: 22px;
}
.scroll-top:after {
	-webkit-transform: rotateZ(-45deg);
	-moz-transform: rotateZ(-45deg);
	-o-transform: rotateZ(-45deg);
	transform: rotateZ(-45deg);
	left: 8px;
}
.scroll-top:hover:before, .scroll-top:hover:after {
	background: #fff;
}


/* RESPONSIVE DESIGN */
@media only screen and (max-width: 1200px) {
	#navigation {
		top: 20px;
		right: 20px;
	}
	#practice-details {
		padding: 50px 20px;
	}
	.law-type-description {
		width: 75%;
	}
	#practice ul li {
		margin-right: 40px;
	}
}
@media only screen and (max-width: 1000px) {
	#personal-photo {
		max-width: 350px;
	}
	#navigation nav ul li {
		margin-left: 20px;
	}
	#legal-services, #about-me {
		padding-top: 45px;
		padding-left: 30%;
		background-size: 30%;
		background-position-x: -50px;
	}
	#practice {
		padding: 20px;
	}
	#practice ul li {
		margin-right: 20px;
	}
	#practice-details:before {
		left: 55px;
	}
}
@media only screen and (max-width: 850px) {
	header {
		height: auto;
	}
	#personal-photo {
		max-width: 250px;
	}
	#logo {
		background-size: contain;
		margin-bottom: 20px;
	}
	#logo img {
		width: 150px;
	}
	.logo-name {
		font-size: 20px;
	}
	.logo-title:before, .logo-title:after {
		width: 80px;
	}
	#navigation nav ul li {
		display: block;
		margin: 0 0 15px;
	}	
	#legal-services, #about-me {
		padding: 25px;
		padding-left: 20%;
		background-size: 20%;
	}
	#contacts {
		padding: 20px 30px 50px;
	}
	#practice-details {
		padding-top: 20px;
	}
	.law-type-icon {
		margin-right: 20px;
		clear: both;
	}
	#practice ul li {
		margin-right: 7px;
    	width: 150px;
	}
	#practice-details:before {
		left: 45px;
	}
}
@media only screen and (max-width: 700px) {
	
	#personal-photo {
		max-width: 200px;
	}
	#logo {
		padding-top: 20px;
	}
	#logo img {
		width: 100px;
	}
	.logo-name {
		font-size: 18px;
		margin-top: 10px;
	}
	.logo-title {
		font-size: 12px;
	}
	.logo-title:before, .logo-title:after {
		width: 70px;
	}
	#legal-services, #about-me {
		background-size: initial;
		background-position: center;
		padding: 5px 30px;
	}
	#legal-services p {
		margin-right: 5px;
	}
	.contact-details {
		margin-right: 20px;
	}
	#practice ul li {
		width: 130px;
	}
	#practice ul li a {
		font-size: 14px;
	}
	#practice-details:before {
		left: 35px;
	}
	.scroll-top {
		position: relative;
		top: auto;
		right: auto;
	}
	footer {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media only screen and (max-width: 600px) {
	header {
		background-size: cover;
	}
	#logo img {
		width: 80px;
	}
	.logo-name {
		font-size: 16px;
	}
	.logo-title {
		
	}
	.logo-title:before, .logo-title:after {
		width: 60px;
	}
	#personal-photo {
		max-width: 180px;
	}
	.law-type-description {
		width: auto;
		clear: left;
	}
}
@media only screen and (max-width: 500px) {
	header {
		padding: 10px 10px 145px;
	}
	#lang a {
		margin-left: 15px;
	}
	#navigation {
		position: relative;
		top: 0;
		right: 0;
	}
	#navigation nav {
		text-align: center;
	}
	#navigation nav ul li {
		display: inline-block;
		vertical-align: top;
		margin: 0 5px;
	}
	#personal-photo {
		left: 50%;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	#legal-services, #about-me {
		padding-left: 20px;
		padding-right: 20px;
	}
}
/* end RESPONSIVE DESIGN */