/*   
Created: July 2014
Author: Maxim Aginsky
Author URI: http://www.maximaginsky.com/ 
*/

/* Reset styles */
	
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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	font: inherit;
	}
	
/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
	}
body {
	line-height: 1;
	}
ol, ul {
	list-style: square;
	}
blockquote, q {
	quotes: none;
	}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
	}
table {
	border-collapse: collapse;
	border-spacing: 0;
	}

/* end */

body {
	background-color: #fff;
	font-family: 'Istok Web', sans-serif;
	font-size: 16px;
	color: #555454;
	line-height: 1;
}
.bg-vector {
	background-image: url(images/bg-vector.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg-content {
	background-image: url(images/bg-content.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg-342 {
	background-image: url(images/bg-342.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg-assembly {
	background-image: url(images/bg_assembly.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg-contact_with_shadow {
	background-image: url(images/bg-contact_with_shadow.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg-introduction {
	background-image: url(images/bg_introduction.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg-bookone {
	background-image: url(images/bg_book-one.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg_AB {
	background-image: url(images/bg_AB.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg_AC {
	background-image: url(images/bg_AC.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.bg_extramarital {
	background-image: url(images/bg-extramarital.png);
	width: 100%;
	height: 400px;
	background-size: cover;
}
.content {
	width: 550px;
	margin-left: 200px;
	position: relative;
	margin-top: -400px;
	margin-bottom: 100px;
	padding: 100px 40px 0px;
	top: 0;
	border-left: 5px solid rgba(255, 127, 80, 0.68);
}
.content h1 {
	color: white;
	height: 250px;
}
.description {
	color: white;
	display: block;
	font-size: 18px;
}
.content-content {
	margin-bottom: 70px;
	font-size: 14px;
	background: rgba(255, 127, 80, 0.68);
	padding: 12px;
	margin-left: -40px;
	color: white;
}
.content-content a {
	color: white !important;
}
.content-content a:hover {
	padding-left: 0px !important;
	color: rgb(0, 0, 0)!important;
}
.content a {
	color: rgba(80, 157, 255, 0.68);
	
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.content a:hover {
	color: rgba(3, 3, 3, 1);
	padding-left: 10px;
}

/**/

//.content-menu {
	position: fixed;
	color: rgba(255, 127, 80, 0.68);
	bottom: -537px;
	width: 100%;
	background: rgba(18, 15, 22, 0.94);
	font-size: 13px;
}
.content-menu {
	position: fixed;
	color: rgba(255, 127, 80, 0.68);
	bottom: -537px;
	width: 100%;
	background: rgba(255, 255, 255, 0.97);
	font-size: 14px;
	border-top: 5px solid rgba(255, 127, 80, 0.68);
}
.menu {
	position: relative;
	padding: 40px 20px 20px;
}
.open {
	z-index: 10;
}
.hide {
	z-index:1;
}
//.open {
	font-family: 'Istok Web', sans-serif;
	box-shadow: 40px 0 14px rgba(95, 91, 89, 0.68) inset;
	position: fixed;
	padding: 19px 26px;
	border-top: none;
	left: 10px;
	top: 10px;
	text-align: center;
	font-size: 9px;
	cursor: pointer;
	text-transform: uppercase;
	color: wheat;
	background: rgba(255, 127, 80, 0.68);
	border-radius: 50%;
	text-shadow: 0 0 10px #D8D8D8;
}
.open {
	position: fixed;
	padding: 19px 26px;
	border: 5px solid rgba(255, 127, 80, 0.68);
	left: 10px;
	top: 10px;
	text-align: center;
	font-size: 11px;
	cursor: pointer;
	color: rgba(255, 127, 80, 0.68);
	border-radius: 50%;
}
.hide {
	cursor: pointer;
	//color: rgba(255, 255, 255, 0.16);
	color: rgba(255, 127, 80, 0.68);
	text-shadow: none;
	font-size: 50px;
}
.content-menu ul {
	list-style: none;
}
.content-menu ul li {
	margin-bottom: 10px;
}
.content-menu a {
	//color: rgb(207, 207, 207);
	color: rgb(104, 104, 104);
    text-decoration: none;
}
.content-menu a:hover {
	//color: rgb(99, 99, 99);
	color: rgb(190, 190, 190);
}

/**/

.footer-img {
	margin: 150px 0 50px;
	padding-bottom: 40px;
	box-shadow: none;
	display: none;
}
.footer {
    margin-bottom: 50px;
}
.footer .line {
	background: rgba(255, 127, 80, 0.68);
	font-weight: 700;
	font-size: 11px;
	border-left: 5px solid rgba(255, 255, 255, 1);
	
}
.footer-content {
	text-align: center;
    padding-top: 100px;
}
.footer a {
	color: white;
	
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.footer a:hover {
    color: black;
}
.top {
	text-shadow: none;
	font-size: 50px;
}
.top a {
    color: rgba(77, 78, 78, 1);
}
.top a:hover {
    color: rgba(255, 127, 80, 0.68);
}
.top a:hover span  {
	color: rgba(80, 157, 255, 0.54);
	
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

/*-----------------------------------------
.title-page {
	background-size: cover;
	color: white;
	padding: 30px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.27) inset;
	border: 10px solid rgba(255, 255, 255, 0.33);
	border-radius: 60%;
	text-shadow: 0 0 10px rgba(53, 53, 53, 0.79);
	margin: 120px 0;
}
.title-page a {
	color: #8B8B8B;
}
.title-page a:hover {
	color: #DDD;
}
.no-link {
    background: #7A7A7A;
}
.title-page-ab {
	background-image: url(images/bg_AB.png);
}
.title-page-contact-shadow {
	background-image: url(images/bg-contact_with_shadow.png);
}
.title-page-ac {
	background-image:url(images/bg_AC.png);
}
--------------------------------------*/

strong {
	font-weight: 700;
}
h1 {
	font-size: 62px;
	letter-spacing: -1px;
	margin: 20px 0 50px;
}
h2 {
	font-size: 42px;
	letter-spacing: -2px;
	margin: 70px 0 30px;
}
h3 {
	font-size: 32px;
	margin: 50px 0 30px;
}
h4 {
	font-size: 18px;
	margin: 70px 0 20px;
	line-height: 1.4;
}
h1, h2, h3, h4 {
	font-weight: 700;
	color: rgba(255, 127, 80, 0.68);
}
a {
    text-decoration: none;
}
p {
	margin-top: 12px;
	line-height: 1.4;
}
img {
	max-width: 100%;
	display: block;
	margin-bottom: 20px;
	box-shadow: 0 0 2px rgba(153, 153, 153, 0.5);
	border-radius: 2px;
}
hr {
	border: 0;
	height: 1px;
		
	background: -webkit-linear-gradient(left, rgba(0,0,0,0),rgba(255, 127, 80, 0.41),rgba(0,0,0,0));
	background: -moz-linear-gradient(left, rgba(0,0,0,0),rgba(255, 127, 80, 0.41),rgba(0,0,0,0));
	background: -o-linear-gradient(left, rgba(0,0,0,0),rgba(255, 127, 80, 0.41),rgba(0,0,0,0));
	background: linear-gradient(left, rgba(0,0,0,0),rgba(255, 127, 80, 0.41),rgba(0,0,0,0));
	margin: 35px 0 33px 0;
}
ol, ul {
	list-style: none;
	}
.content-body ul li {	
	padding: 5px 0;
}
.content-body ul {
	font-size: 32px;
	font-weight: 700;
}
.content-body ul li ul {
	font-size: 22px;
	padding-left: 30px;
	border-left: 1px solid rgba(255, 127, 80, 0.68);
}
.content-body ul li ul li ul {
	font-size: 16px;
}

/**/

.menu ul li ul {
	padding-left: 20px;
	border-left: 1px solid rgba(255, 127, 80, 0.41);
}

@media only screen and (max-width: 1050px), 
only screen and (max-device-width: 1050px) {
	body {
        font-size: 13px;
	}
	.open {
	    display: none!important;
	}
	.content-menu {
	    display: none!important;
	}
	.content {
		margin: -400px auto 0;
    }	
	h1 {
        font-size: 38px;
	}
	.description {
	    font-size: 15px;
	}
	h2 {
	    font-size: 28px;
	}
	h3 {
	    font-size: 20px;
	}
	h4 {
	    font-size: 16px;
	}
	
} 
@media only screen and (max-width: 653px), 
only screen and (max-device-width: 653px) {
	.content {
		max-width: 100%;
		width: auto;
		padding: 100px 10px 0px;
	}	
	.content-content {
		margin-left: -10px;
	}

} 
