html, body {
	height: 100%;
}
body {
	text-align: center;
	background-color: lightslategray;
	margin: 0;
	background-image: url('images/bg.png');
	background-repeat: repeat;
}
h1 {
	font-size: 48px;
	font-family: 'PT Serif Caption', serif;
    font-weight: 400;
	text-align: center;
	margin-top: 0;
	padding-top: 24px;
	margin-bottom: 0;
}
h2 {
	text-align: center;
    font-family: 'PT Serif Caption', serif;
	margin-top: 30px;
	margin-bottom: 20px;
	font-size: 28px;
	font-weight: normal;
}
@media (max-width: 600px) {
	h1 {
		font-size: 32px;
	}
	h2 {
		font-size: 16px;
	}
}

p {
	margin-top: 12px;
	margin-bottom: 12px;
	line-height: 20px;
}
div.container {
	max-width: 1000px;
	margin: 0 auto;
	background-color: white;
    padding: 0 20px 0 20px;
	min-height: 100%;
    height: auto;
	box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	box-sizing: border-box;
	padding-bottom: 40px;
}
div.footer {
	max-width: 1000px;
    margin: 0 auto;
    height: 40px;
    margin-top: -40px;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}
div {
	font-size: 16px;
	text-align: left;
	font-family: 'PT Sans', sans-serif;
}
div.iframe_container {
	background-color: #f2f2f2;
}
.spoiler {
	display: inline-block;
	cursor: pointer;
	font-style: italic;
	border-bottom: 1px solid gray;
    color: gray;
}
.spoiler span:hover {
	color: black;
	border-bottom: 1px solid black;
}
.spoiler-content {
    -webkit-transition: height 0.5s ease-out;
    transition: height 0.5s ease-out;
}
iframe{
	/*margin-top: 10px;
	margin-bottom: 10px;*/
	overflow: hidden;
}
img {
	vertical-align: middle;
}

a {
	text-decoration: none;
	color: gray;
	border-bottom: 1px solid gray;
}
a:hover {
	color: black;
	border-bottom: 1px solid black;
}
.centered {
	vertical-align: middle;
}
div.share {
	width: 100%;
	display: table;
	margin-top: 5px;
    margin-bottom: 5px;
}
div.share_lead {
	width: 137px;
}
div.share div {
	display: table-cell;
}
input.share {
	width: 100%;
}
input {
	font-size: 16px;
	font-family: 'PT Sans', sans-serif;
}
div.share_block {
	padding-bottom: 10px;
}
.formula {
	text-align: center;
}
.rambler {
	height: 0;
	position: fixed;
}
div.likes {
	position: fixed; 
	top: 36px; 
	margin-left: -68px; 
}
.likes a {
    border: none;
}
.vk_share, .fb_share {
	box-shadow: -4px 4px 3px rgba(0,0,0,0.1);
	position: relative;
	border-left: 1px solid #fff;
    border-radius: 4px;
}
.fb_share {
	margin-top: 10px;
}
.vk_share:hover, .fb_share:hover {
    box-shadow: -6px 6px 7px rgba(0,0,0,0.05);
	border-left: 1px solid #eee;
    border-radius: 4px;
}
.vk_share:hover:after, .fb_share:hover:after {
    content: "";
    position: absolute;
    z-index: -2;
    bottom: 15px;
    left: 0px;
    width: 80%;
    height: 20%;
    -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(-12deg);
    -moz-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    -o-transform: rotate(-12deg);
    transform: rotate(-12deg);
	
}