@import url(https://fonts.googleapis.com/css?family=PT+Serif&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:700&subset=latin,cyrillic);

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'PT Serif', serif;
}

body {
	background: #edecec url(/i/book.jpg) center 100px no-repeat;
	color: #3d3d3f;
	text-align: center;
}

body.noscroll { overflow: hidden; }
body.nobook { background: #edecec; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Slab', serif;
}

a {
	border-bottom: 1px solid #9fc5db;
	color: #0789d4;
	text-decoration: none;
	transition: all 0.2s ease;
}

a:hover {
	color: #0754d4;
}

.row:after { clear: both; }
.row:before,
.row:after {
	content: ' ';
	display: table;
}

.center { text-align: center; }

.container {
	margin: 0 auto;
	max-width: 1400px;
	min-width: 800px;
	width: 80%;
}
header {
	padding: 20px 0;
}

header .logo { border-bottom: none; }

header .phone {
	float: left;
	font-size: 18px;
	padding-top: 35px;
	text-align: left;
	width: 30%;
}

header .phone strong {
	font-family: 'Roboto Slab', serif;
	font-size: 23px;
}

header .phone p {
	margin-top: 15px;
}

header .social {
	float: right;
	margin-top: 35px;
	padding-top: 20px;
	text-align: right;
	width: 30%;
}

header .social a {
	background: url(/i/sc-icons.png) no-repeat;
	border: none;
	display: inline-block;
	height: 30px;
	margin-right: 5px;
	width: 30px;
	}

header .social a.fb { background-position: -30px 0; }
header .social a.ok { background-position: -60px 0; }
header .social a.tw { background-position: -90px 0; }
header .social a.ig { background-position: -120px 0; }
header .social a.yt { background-position: -150px 0; }
header .social a.tg { background-position: -180px 0; }
header .social a.dg { background-position: -210px 0; }
header .social a.rt { background-position: -240px 0; }

header .nav {
	clear: both;
	font-size: 20px;
	font-weight: bold;
	margin: 40px 0 20px;
}

header .nav a,
header .nav span {
	display: inline-block;
	margin: 0 20px;
}
header .nav .active { color: #f26522; border: none; }

.about { margin-bottom: 60px; }

.about h3 {
	color: #f26522;
	font-size: 30px;
}
.about p {
	color: #595959;
	font-size: 19px;
	margin: 15px auto;
	width: 80%;
}

.about .cols-3 {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto 40px;
	position: relative;
	left: 40px;
	width: 75%;
}

.about .cols-3 > div {
	font-size: 19px;
	position: relative;
	text-align: left;
}

.about .cols-3 > div > span {
	background-position: center;
	background-repeat: no-repeat;
	height: 80px;
	display: inline-block;
	left: -95px;
	margin-top: -40px;
	position: absolute; 
	top: 50%;
	width: 80px;
}

.about .cols-3 > div small {
	color: #aaa;
	font-size: 75%;
}

.about .cols-3 .yt span { background-image: url(/i/yt.png); }
.about .cols-3 .hu span { background-image: url(/i/hearts.png); }
.about .cols-3 .sapo span { background-image: url(/i/sapo.png); }
.about .cols-3 .jo span { background-image: url(/i/law.png); }

.cols3 { display: flex; justify-content: space-around; margin-bottom: 20px; }
.cols3 li { text-align: left; width: 27%; }


/*
.about .yt span {
	display: inline-block;
	height: 31px;
	margin-right: 10px;
	margin-top: -15px;
	position: relative;
	top: 10px;
	width: 74px;
}
*/

.about .yt a { border-bottom-style: dashed; }


#content-table { text-align: left; }

#content-table h4 {
	font-size: 23px;
	margin-bottom: 15px;
}

#content-table ol { margin-left: 21px; }
#content-table li { margin: 10px 0; }

.read-download {
	font-size: 24px;
	margin: 40px 0 70px;
	text-align: left;
}

.read-download em { font-style: normal; }

.read-download #read {
	background: #f26522;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,.2);
	color: #fff;
	font-family: 'Roboto Slab', serif;
	font-size: 23px;
	display: inline-block;
	letter-spacing: 1px;
	margin-right: 20px;
	padding: 15px 30px 12px;
	text-transform: uppercase;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
}

.read-download #read:hover {
	background-image: linear-gradient(to bottom, #f97f2e, #f26522);
}

.read-download .download {
	background: url(/i/book-pdf.png) no-repeat;
	display: inline-block;
	line-height: 1.2;
	margin-left: 20px;
	padding: 5px 0 5px 65px;
	position: relative;
	top: 10px;
}

.read-download .download a {
	font-family: 'Roboto Slab', serif;
	font-size: 23px;
}

.read-download .download span { font-size: 17px; }

footer {
	border-top: 2px solid #ccc;
	font-size: 14px;
	text-align: center;
}

footer div {
	display: inline-block;
	padding: 50px 0;
	text-align: left;
	vertical-align: top;
}

footer .address {
	float: left;
	width: 35%;
}

footer .gd-help {
	font-size: 12px;
	margin: 0 auto;
	width: 30%;
}

footer .happy-help {
	background: url(/i/happy59.png) 0 40px no-repeat;
	padding-left: 85px;
	padding-top: 60px;
	float: right;
	width: 210px;
}

footer p { margin-bottom: 10px; }

footer .graphite {
	clear: both;
	font-size: 12px;
	float: right;
	margin-bottom: -30px;
	padding: 0;
	position: relative;
	top: -50px;
}

.paging {
	list-style: none;
	margin: 40px 0;
	text-align: left;
}

.paging li {
	display: inline-block;
	font-size: 20px;
	margin-right: 20px;
}

.paging li.active a {
	border-bottom: none;
	color: #f26522;
}

#desk-surface {
	background: url(/i/desk.jpg) center;
	color: #fff;
	display: none;
	height: 100%;
	min-height: 1000px;
	overflow: scroll;
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: 99;
}

.open-book-bg {
	background: url(/i/open-book.png);
	height: 844px;
	margin: 100px auto;
	position: relative;
	width: 1233px;
}

.open-book-bg a { position: absolute; }

.open-book-bg .sapo {
	background-image: url(/i/sapo.png);
	background-repeat: no-repeat; 
	background-position: left center;
	background-size: contain;
	border-bottom: none;
	color: #fff;
	display: inline-block;
	font-size: 17px;
	left: 15px;
	line-height: 1.2;
	padding-left: 50px;
	text-align: left;
	top: -50px;
}

.open-book-bg .sapo small {
	opacity: .6;
}

.open-book-bg #close-book {
	border-bottom-color: rgba(255,255,255,.3);
	color: #fff;
	font-size: 17px;
	right: 30px;
	top: -40px;
}

.open-book-bg #page-next,
.open-book-bg #page-prev {
	background: url(/i/prev-next.png) no-repeat;
	height: 64px;
	margin-top: -90px;
	position: absolute;
	top: 50%;
	width: 64px;
}

.open-book-bg #page-next { right: 40px; }
.open-book-bg #page-prev { left: 20px; display: none; background-position: -64px 0; }

#book-container {
	height: 726px;
	margin-top: 14px;
	margin-right: 22px;
}

.open-book-bg .page-counter { margin-top: 30px; opacity: .9; }


.content {
	line-height: 1.4;
	margin-bottom: 50px;
	text-align: left;
}

.content h1 {
	font-size: 30px;
	margin-bottom: 20px;
	text-align: center;
}

.content p {
	font-size: 17px;
	line-height: 1.5;
	margin: 20px 0;
}

.content ul,
.content ol { margin: 20px 0 20px 20px; }
.content li { margin: 10px 0; }

.content h2 {
	font-size: 25px;
	margin-bottom: 20px;
	text-align: left;
}

.content table { text-align: left; }

.content table tr td:first-child { font-family: 'Roboto Slab', serif; } 

.content table td {
	border-top: 1px solid #ddd;
	padding: 10px 0;
	vertical-align: top;
}



.jur-form {
	/*background: #fff url(/i/bg.jpg);*/
	background: #eee;
	margin: 100px auto;
	padding: 40px;
	position: relative;
	text-align: left;
	width: 450px;
}
.jur-form h3 { margin: -10px 0 10px 0;}

.jur-form label { width: 80px; }
.jur-form .form-margin { padding-left: 82px; }

.jur-form select,
.jur-form input[type=text] { width: 270px; }


.jur-form input:disabled {
	border: none;
	background: none;
	color: #222;
	font-weight: bold;
	padding-left: 0;
}

.jur-form .close {
	border: none;
	font-size: 50px;
	line-height: 1;
	position: absolute;
	right: 12px;
	text-decoration: none;
	top: 0;
}

.jur-form p { display: none; margin-top: 20px; }
.jur-form p.error { color: #ce4d00; }

.jur-cl {
	float: left;
	padding: 30px 0;
	text-align: left;
	width: 48%;
}
.jur-cl h3 { text-transform: capitalize; }

.jur-time {
	float: right;
	padding: 30px 0;
	text-align: left;
	width: 48%;
}

.jur-month li {
	border-radius: 4px;
	display: inline-block;
	font-size: 19px;
	padding: 3px 10px 5px;
	text-transform: capitalize;
}

.jur-month li.active {
	background: #ef7f1a;
	color: #fff;
}

.jur-time h4 { margin-top: 30px; }

.jur-time ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-top: 15px;
}

.jur-time li {
	background: #fff;
	border: 1px solid #f3bc9f;
	border-radius: 4px;
	color: #ce4d00;
	display: inline-block;
	margin: 0 1.33% 5px 0;
	padding: 12px 5px;
	position: relative;
	text-align: center;
	width: 24%;
}

.jur-time li:nth-child(4n) { margin-right: 0; }

.jur-time li.reserved {
	background: #fff url(/i/reserved.png);
	border-color: #ccc;
	color: #999;
	font-size: 90%;
	white-space: nowrap;
}

.jur-time li.small {
	font-size: 12px;
	opacity: .6;
}

.jur-time li.dinner {
	background: none;
	border: none;
	color: #777;
	font-weight: normal;
	margin: 10px 0;
	text-align: left;
	width: 100%;
}
.jur-time li a {
	background: #ea9207;
	background-image: linear-gradient(#f97f2e, #f26522);
	border-bottom: 0;
	border-radius: 4px;
	color: #fff;
	display: block;
	left: 0;
	opacity: 0;
	padding: 12px 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.jur-time li a:hover { opacity: 1; }

.jur-time li span { border-bottom: 1px solid #f3bc9f; }
.jur-time li span:after { 
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	margin-top: -3px;
	right: 15px;
	border-color: #f3bc9f;
	border-width: 1px;
	border-style: solid solid none none;
	width: 6px;
	height: 6px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.calendar-jur {
	border-collapse: collapse;
	margin-top: 15px;
	width: 100%;
}

.calendar-jur th {
	font-weight: normal;
	padding-bottom: 5px;
	text-align: center;
}

.calendar-jur td { border: 1px solid #eee; padding: 0; }

.calendar-jur td span,
.calendar-jur td a {
	background: #f1f8fe;
	border-bottom: none;
	display: block;
	font-family: 'Roboto Slab', serif;
	min-height: 71px;
	padding: 25px 15px;
	text-align: center;
	width: 100%;
}

.calendar-jur td span {
	background: #fff;
	color: #aaa;
	font-family: 'PT Sans', sans-serif;
}

.calendar-jur td a:hover { background: #d4e9fb; }

.calendar-jur td.today a,
.calendar-jur td.today span { color: #000; }
.calendar-jur td.active span,
.calendar-jur td.active a {
	background: #3d89d4;
	color: #fff;
	cursor: default;
}

.lead {
	font-size: 17px;
	margin: 10px 0 20px 0;
}
.note {
	color: #777;
	font-size: 13px;
	margin-bottom: 60px;
	text-align: left;
}

.fade {
	background-color: rgba(0,0,0,0.85);
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
}

form select,
form input[type=text],
form input[type=password] {
	border: 1px solid #ddd;
	border-top-color: #ccc;
	border-bottom-color: #eee;
	background: #fff;
	font-size: 16px;
	margin-bottom: 10px;
	padding: 8px 12px;
}


form label {
	display: inline-block;
	width: 60px;
}

form input[type=submit] {
	display: inline-block;
	background: #eb5800;
	background-image: linear-gradient(#fb7422, #ce4d00);
	border: 1px solid #ddd;
	border-bottom-color: #aaa;
	border-top-color: #eee;
	border-radius: 3px;
	box-shadow: 0 1px 1px #ddd;
	color: #fff;
	font-size: 16px;
	font-family: "Roboto Slab", sans-serif;
	font-weight: bold;
	letter-spacing: 2px;
	padding: 8px 16px;
	text-transform: uppercase;
	text-decoration: none;
}

form input[type=submit]:hover { background-image: linear-gradient(#fe8b46, #ce4d00); }

form .form-margin { padding-left: 62px; }

form .form-group em {
	background: #fffdc7;
	display: inline-block;
	padding: 2px 4px;
	margin-top: 10px;
}

.order-to-select {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 20px 0;
}

.order-to-select > div {
	align-items: center;
	background-repeat: no-repeat;
	background-color: #fff;
	background-size: 50px;
	background-position: 30px center;
	display: flex;
	height: 150px;
	margin: 20px 0;
	width: 48%;
}

.order-to-select > div > a {
	align-items: center;
	border: none;
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	font-size: 23px;
	font-weight: bold;
	line-height: 1.2;
	padding: 20px 50px 20px 100px;
	text-align: left;
	width: 100%;
}


.order-to-select > div > a span {
	color: #555;
	font-size: 15px;
	font-weight: normal;
	margin-top: 6px;
}

.order-to-select .law { background-image: url(/i/order-law.png); }
.order-to-select .psy { background-image: url(/i/order-psy.png); }
.order-to-select .eg { background-image: url(/i/order-eg.png); }
.order-to-select .book { background-image: url(/i/order-book.png); }


.news { margin: 30px 0 60px; }

.news .row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.news .row::after { content: ""; width: 32%; }
.news .row::before { content: none; }

.news .row > div {
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 4px;
	color: #fff;
	height: 200px;
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;
	width: 32%;
	}

.news a {
	background: rgba(65,45,25,.25);
	border: none;
	height: 100%;
	display: block;
	position: absolute;
	width: 100%;
	}

.news a:hover { background: rgba(0,0,0,.75); }
.news a:hover h4 span { opacity: 0; transform: scale(.9); }
.news a:hover .date { opacity: 0; transform: translateY(10px); }
.news a:hover p { opacity: 1; transform: translateY(10px); }

.news .date {
	top: 15px;
	color: rgba(255,255,255,.8);
	font-size: 14px;
	left: 0;
	position: absolute;
	text-align: center;
	transition: all .5s;
	width: 100%;
	}

.news h4 {
	color: #fff;
	display: block;
	font-size: 21px;
	font-weight: normal;
	line-height: 1.25;
	margin-bottom: 0;
	max-height: 145px;
	overflow: hidden;
	padding: 15px 20px;
	position: absolute;
	left: 0;
	transition: all .5s;
	bottom: 0;
	width: 100%;
	}

.news h4 span {
	position: relative;
	transition: .3s all;
	z-index: 2;
	}

.news h4:after {
	background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
	top: 0;
	content: " ";
	display: inline-block;
	position: absolute;
	height: 100%;
	min-height: 100%;
	left: 0;
	width: 100%;
	z-index: 1;
}

.news p {
	align-items: center;
	justify-content: center;
	color: #fff;
	display: flex;
	opacity: 0;
	font-size: 15px;
	height: 100%;
	left: 5%;
	max-height: 160px;
	overflow: hidden;
	position: absolute;
	text-align: center;
	transition: all .5s;
	top: 5px;
	width: 90%;
	}



.samples {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 30px 0 60px;
}

.samples::after { content: ""; width: 32%; }

.samples > div {
	margin-bottom: 30px;
	position: relative;
	width: 32%;
	}

.samples a {
	border: none;
	display: block;
	width: 100%;
	}

.samples .cover {
	background: rgba(65,45,25,.2);
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0 auto 5px;
	min-height: 200px;
	width: 80%;
}

.samples h4 {
	font-size: 17px;
	font-weight: 900;
	line-height: 1.25;
	}

.file.file-pdf { background: url('/i/file-pdf.png') 0 0 no-repeat; }

.file.file-zip,
.file.file-rar { background: url('/i/file-archive.png') 0 0 no-repeat; }

.file.file-doc,
.file.file-docx { background: url('/i/file-doc.png') 0 0 no-repeat; }

.file {
	color: #777;
	font-size: 14px;
	padding-left: 45px;
	margin: 20px 0;
}

.file a {
	font-family: 'Playfair Display', serif;
	font-size: 19px;
	position: relative;
	top: -4px;
	}