
html * {max-height:100000px;}

body {
	margin: 0px; 
	background-color: #f5f5f5;
}
body, div, table {
	font-family: Arial, Tahoma, Verdana;
	color: #333333;
	font-size: 16px;
	font-weight:normal;
}
body.disabled {
	height: 100%;
	overflow: hidden;
}
a {
	text-decoration: none; 
	color: #366fa4;
}

@font-face {
	font-family: 'Pragmatica';
	src: url('../fonts/PragmaticaCondLight.otf') format('opentype');
}

@font-face {
	font-family: 'Pragmatica Light';
	src: url('../fonts/PragmaticaCondExtraLight.otf') format('opentype');
}

.pragma {
	font-family: Pragmatica, 'times new roman', tahoma, arial; 
}

.normal {font-size: 14px;}
.header {font-size: 15px; font-weight: bold;}
.head {font-size: 22px; font-weight: bold;}
.big {font-family: Times; font-size: 33px;}

.main {color: #366fa4}
.white {color: #ffffff;}
.gray {color: #d1d1d1 !important;}
.black {color: #000000;}
.red {color: #ff0000;}

.uline { text-decoration: underline; }
.simple { text-decoration: none; }
.simple:hover { text-decoration: none; }
.bold { font-weight:bold; }

.dashed {text-decoration: none; border-bottom: 1px dashed #366fa4;}

.h {display: none;}
.clear {clear: both;}

form {margin: 0px;}

#p-top {
	max-width: 1400px;
	min-width: 1000px;
	height: 100px;
	border: 0;
	margin: 0 auto;
}

#p-top table {
	border: 0;
	width: 100%;
}
#p-top table td {
	padding: 0;
	vertical-align: top;
}
#p-top-logo {
	width: 260px;
	padding-top: 12px !important;
	text-align: center;
}
#p-top-nav-td {
	width: 260px;
}
#p-top-years {
	text-align: center;
}
#p-top-ruler {
	margin-top: 10px;
}
#p-top-mainyear {
	font-family: Times;
	font-size: 50px;
	letter-spacing: -3px;
	text-align: center;
	margin-top: -13px;
}
#p-top-allyears {
	margin-top: -40px;
}
#p-top-allyears a, #p-top-allyears span {
	font-family: Times;
	letter-spacing: -0.5px;
	font-size: 21px;
	margin: 2px;
	color: #000;
}
div#p-top-yearslist>a, div#p-top-yearslist>span {
	display: none;
}
div#p-top-yearslist a[data-year^="19"], div#p-top-yearslist span[data-year^="19"] {
	display: inline;
}
.p-top-century {
	display: inline-block;
	cursor: pointer;
    color: #366fa4;
    margin: 2px 4px;
}
.p-top-century[data-century="old"] {
	display: block;
    margin-bottom: 15px;
}
.p-top-century:hover {
	text-decoration: underline;
}
.p-top-active {
	background-color: #366fa4;
	color: #fff;
    padding: 3px 7px;
    border-radius: 5px;
}
.p-top-active:hover {
	text-decoration: none;
}
#p-top-select {
	margin-top: 10px;
	font-family: Tahoma;
	font-size: 13px;
}
#p-top-cont {
	width: 400px;
	margin: 0 auto;
}
#p-top-yearslist {
	display: none;
	position: absolute;
	margin-top: 10px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0,0,0,0.4);
	width: 370px;
	padding: 15px;
    z-index: 5;
	left: calc(50% - 200px);
}
#p-top-yearslist a, #p-top-yearslist span {
	margin: 5px;
	line-height: 23px;
}
#p-top-yearslist a:hover, #p-top-yearslist span:hover {
	text-decoration: underline;
}
#p-top-yearslist span {
	color: #e9e9e9;
}
#p-top-nav {
	width: 255px;
	margin-top: 25px;
	text-align: center;
	position: relative;
}
#p-top-nav a {
	font-family: Pragmatica, Arial, Tahoma;
	font-size: 22px;
	padding-bottom: 0;
	margin: 0 7px;
}
#p-top-icons {
	margin-top: 10px;
}
#p-top-search {
	cursor: pointer;
	margin: 0 7px;
}
#p-top-line {
    width: 200px;
    height: 1px;
    background-color: #e1e1e1;
    margin: 5px auto 0 auto;
}

#p-top-search-form {
    position: absolute;
    display: none;
    width: 100%;
    height: 35px;
    background-color: #f5f5f5;
    margin-top: 37px;
}
#p-top-search-form form {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
#search-key {
    border: 1px #e1e1e1 solid;
    border-radius: 10px;
    height: 21px;
    padding-left: 10px;
    padding-right: 10px;
    width: 125px;
}
#search-key:focus {outline: none;}
#p-top-search-close, #p-mobile-search-close {
	cursor: pointer;
	margin-left: 2px;
	width: 23px;
    height: 23px;
}
#p-mobile-search-close {
	margin-left: 5px;
}

#main-container {
	max-width: 1400px;
	margin: 30px auto 0 auto;
	display: flex;
	justify-content: space-around;
}
#main-left {
	width: 260px;
}
#main-center {
	flex: 1;
	min-width: 440px;
	margin: 0 20px;
}
#main-right {
	width: 260px;
}
.headline {
	background-color: #366fa4;
	color: #ffffff;
	font-family: 'Pragmatica Light', Arial, Tahoma;
	text-align: center;
	padding: 5px 0;
    letter-spacing: 0.7px;
	font-size: 18px;
}
.headline.tube {
	margin-top: 20px;
	background-color: #E42424 !important;
	background-image: url("../img/tube.png");
	background-repeat: no-repeat;
	background-position: 10px center;
}
.headline.nav {
	display: flex;
    justify-content: space-evenly;
}
.headline.nav a {
	color: #ffffff;
}
.headline.nav a.active {
    font-weight: bold;
	color: #224768;
}
.subline {
	background-color: #ffffff;
	color: #000000;
	margin-top: 10px;
	font-family: 'Pragmatica', Arial, Tahoma;
	text-align: center;
	padding: 5px 0;
    letter-spacing: 0.7px;
}
#overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	text-align: center;
	z-index: 101;
}
#overlay div {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: 0.7;
}
#overlay img {
	width: 100px;
	margin: auto;
}
#month {
	position: relative;
}
.month {
	cursor:pointer;
}
#m-select {
	display: none;
    position: absolute;
    background-color: #ffffff;
    width: 260px;
    top: 30px;
}
#m-select a {
    display: block;
    font-family: Tahoma, Arial;
    font-size: 13px;
    padding: 3px 0;
    cursor: pointer;
}
#m-select a:hover {
	background-color: #d6e2ec;
}

.m-arrow {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 5px;
	background-position: center;
	background-size: contain;
	cursor: pointer;
}
.m-left {
	left: 5px;
	background-image: url("../img/left.png");
}
.m-right {
	right: 5px;
	background-image: url("../img/right.png");
}
#calendar {
	background-color: #fff;
	padding: 10px 0;
	margin: 10px 0 20px 0;
}

.c-day {
	float: left;
	width: 37px;
	height: 37px;
	text-align: center;
	line-height: 37px;
    font-size: 14px;
}
.c-active {
	background-image: url("../img/circle.png");
	background-position: center;
	background-repeat: no-repeat;
}

#lenta {
	background-color: #ffffff;
	padding: 10px 5px 10px 10px;
	margin-top: 10px;
	position: relative;
}
#lenta-container {
	height: 380px;
	overflow-y: scroll;
	overflow-x: hidden;
}
#lenta-container > div {
	margin-top: 8px;
    margin-right: 12px;
	padding-top: 7px;
	border-top: 1px #e6e6e6 solid;
}
#lenta-container > div:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}
.lenta-title a, .picblock p>a {
	color: #000000;
	font-family:  Tahoma, Arial;
	font-size: 15px;
}
.lenta-title a:hover, .picblock p>a:hover {
	color: #366fa4;
}
.lenta-info, .picblock-container > div {
	color: #999999;
	font-family: Tahoma, Arial;
	font-size: 12px;
}
#lenta-hide {
    background-image: url("../img/hide.png");
    width: 233px;
    height: 36px;
    position: absolute;
    bottom: 10px;
}
.banner {
	margin-top: 20px;
	text-align: center;
}

.picblock, #tube {
	margin-top: 10px;
    background-color: #ffffff;
    padding: 10px;
    margin-top: 10px;
    position: relative;
}
.picblock-container {
	height: 380px;
    overflow: hidden;
}
.picblock-container div.clear {
	clear: both;
}
.picblock-container > div {
	margin-top: 9px;
	padding-top: 9px;
	border-top: 1px #e6e6e6 solid;
}
.picblock-container > div:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}
.picblock-pic {
	float: left;
	width: 80px;
	height: 60px;
	margin-right: 10px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.picblock-pic img {
	width: 80px;
	height: 60px;
}
.picblock p {
	margin: 0 0 5px 0;
}

#tube {
	margin-bottom: 20px;
}
#tube-container {
	
}
.tube-pic {
	width: 240px;
	height: 150px;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 5px;
}
.tube-main a, .tube-main-rub {
	font-family: "Pragmatica";
	font-size: 18px;
	color: #000000;
}
.tube-main a:hover {color: #366fa4}
.tube-main-rub {
	color: #999999 !important;
}
.tube-others {
	margin-top: 9px;
	border-top: 1px #e6e6e6 solid;
	padding-top: 8px;
    padding-left: 25px;
	background-image: url("../img/tube3.png");
	background-repeat: no-repeat;
    background-position: 0 11px
}
.tube-others a {
	font-size: 13px;
	font-family: Tahoma, Arial;
	color: #000000;
}
.feed {
	display: flex;
	flex-wrap: wrap;
	margin-top: 10px;
	justify-content: space-between;
}
.feed>div:nth-child(odd) {
	//margin-right: 20px;
}
.feed>div {
	height: 190px;
	margin-bottom: 20px;
	width: calc(50% - 10px);
}
div.feed-container {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	cursor: pointer;
}
.feed div.pic-on {
	background-image: url("../img/feed.bg.png");
    background-position: bottom;
    background-repeat: repeat-x;
}
.feed div.pic-off {
	background-color: #ffffff;
}
.feed>div.feed-container>div {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.feed-rub {
	flex: 1;
}
.feed-rub>div {
	background-color: #366fa4;
	color: #ffffff;
	font-family: Tahoma, Arial;
    display: inline-block;
    padding: 3px 7px;
    font-size: 12px;
	margin: 15px;
}
.feed-title {
	font-size: 22px;
	font-family: "Pragmatica";
	margin: 0 15px 5px 15px;
}
.feed-date {
	font-family: Tahoma, Arial;
}
.feed div.pic-on div.feed-title a {
	color: #ffffff;
}
.feed-desc {
	font-size: 13px;
	margin: 0 15px 15px 15px;
}
.feed div.pic-on div.feed-desc {
	color: #ffffff;
}
.feed div.pic-on span.feed-date {
    color: #c9c9c9;
}
.feed div.pic-off span.feed-date {
	color: #999999;
}
.feed .feed-noresults {
    background-color: #ffffff;
    max-width: none !important;
    margin-right: 0 !important;
    text-align: center;
    padding-top: 15px;
}

#read {
	margin-top: 10px;
	padding: 10px;
	background-color: #ffffff;
}
.read-title {
	font-family: "Pragmatica";
	font-size: 33px;
}
.read-source {
	font-family: "Pragmatica";
	font-size: 18px;
	color: #999999;
	margin-bottom: 15px;
}
.read-text p {
	font-size: 16px;
    text-indent: 20px;
    line-height: 18px;
}
.read-pic img, .read-text img {
    max-width: 100%;
}
.read-tags {
	font-size: 14px; border-top: 1px #e1e1e1 solid;
}
.read-tags a {
    margin: 3px;
    display: inline-block;
    font-size: 16px;
	font-family: "Pragmatica";
    padding: 2px 7px;
    background-color: #f1f1f1;
    border-radius: 3px;
    color: #000000;
    cursor: pointer;
}
.read-tags a:hover {
	background-color: #366fa4;
	color: #ffffff;
}
.read-tags p {
	margin: 5px 0;
}
#pages {
	background-color: #ffffff;
	color: #000000;
}
#pages a {
	color: #366fa4;
}
#pages .active {
	color: #000000;
}

#bottom {
    clear: both;
	margin: 20px auto 0 auto;
	background-color: #ffffff;
	padding: 25px 0;
	display: flex;
	justify-content: center;
	align-items: start;
}
#bottom>div:last-child {
    max-width: 700px;
    margin-left: 40px;
	font-size: 12px;
}
#bottom>div:last-child p {
	margin: 0;
}
#bottom>div:last-child p:first-child {
	margin-bottom: 15px !important;
}
#tags {
	margin-top: 10px;
	background-color: #ffffff;
}
#tags a {
	color: #000000;
	margin: 0 5px;
	cursor: pointer;
}
#tags a:hover {
	color: #366fa4;
}
#tags a.active:hover {
	color: #ffffff !important;
}
#tags a.active {
	cursor: default;
	background-color: #366fa4;
	padding: 1px 8px;
	border-radius: 5px;
	color: #ffffff;
}
.tags-slide {
	display: none;
	margin-top: 10px;
	background-color: #ffffff;
	padding: 10px;
	text-align: center;
	margin-bottom: 20px;
}
.tags-slide.active {
	display: block !important;
}
.tags-slide a {
	margin: 3px;
    display: inline-block;
	font-size: 12px;
	padding: 2px 7px;
	background-color: #f1f1f1;
	border-radius: 3px;
	color: #000000;
	cursor: pointer;
}
.tags-slide a:hover {
	background-color: #366fa4;
	color: #ffffff;
}
#about {
	background-color: #ffffff;
	margin-top: 10px;
	padding: 15px;
}
#about p {
	margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 18px;
}
#daypic {
	margin-top: 10px;
}
#daypic div.pic {
	width: 260px;
	height: 175px;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
#daypic>div img {
	width: 260px;
	height: 175px;
}
#daypic div.desc {
	background-color: #ffffff;
    font-family: "Pragmatica";
    font-size: 18px;
    color: #000000;
    padding: 5px 10px 10px 10px;
	text-align: center;
}
.m20 {
	margin-top: 20px;
}
#year-months div {
	text-align: center;
}
#year-months div a {
	width: 90px;
    height: 25px;
    display: inline-block;
	font-family: 'Pragmatica', Arial, Tahoma;
    line-height: 25px;
}
#year-months div a.na {
	color: #000000;
}
#year-months div a.active {
	color: #ffffff;
	background-color: #366fa4;
	border-radius: 5px;
}

.catthemes a, .photoscats a {
    margin: 3px;
    display: inline-block;
    font-size: 16px;
    padding: 2px 7px;
    background-color: #f1f1f1;
    border-radius: 3px;
    color: #000000;
    cursor: pointer;
}
.catthemes a.active, .photoscats a.active {
	background-color: #366fa4;
	color: #ffffff;
}
.catthemes a.cat-all {
    background-color: #ffffff;
    color: #366fa4;
}
/* update! */

#p-mobile, #p-mobile-nav  {
	display: none;
}
@media (min-width: 1400px) {
	.feed > div {
		height: 260px;
	}
}
@media (max-width: 1100px) {
	.feed-title {
		font-size: 17px;
	}
	#p-top {
		min-width: 600px;
	}
	#main-center {
		min-width: 400px;
	}
}
@media (max-width: 960px) {
	.headline {
		font-size: 14px;
	}
	.lenta-title a, .picblock p>a {
		font-size: 15px;
	}
	.tags-slide a {
		font-size: 13px;
	}
	#p-top {
		min-width: unset;
	}
	#p-top-allyears {
		margin-top: -15px;
	}
	#p-top-allyears a {
		display: none;
	}
	#p-top-logo, #p-top-nav-td {
		width: 220px;
	}
	#daypic div.pic, #daypic > div img {
		width: 200px;
		height: 134px;
	}
	.tube-pic{
		width: 180px;
		height: 120px;
	}
	#p-top-logo img, #p-top-ruler img, .tube-pic img {
		max-width: 100%;
	}
	#p-top-nav {
		width: 100%;
	}
	#p-top-nav a {
		font-size: 18px;
	}
	#p-top-line {
		width: 100%;
	}
	#p-top-cont {
		width: auto;
	}
	#main-center {
		min-width: unset;
	}
	.feed > div {
		width: 100%;
	}
	.headline.nav {
		flex-wrap: wrap;
		justify-content: center;
	}
	.headline.nav a {
		margin: 0 5px;
	}
	#main-left, #main-right {
		width: 200px;
	}
	.read-title {
		font-size: 25px;
	}
	#calendar {
		width: 200px;
	}
	.c-day {
		width: 28px;
		height: 28px;
		line-height: 28px;
		font-size: 11px;
	}
}
@media (max-width: 700px) {
	.headline.nav a {
		font-size: 18px;
	}
	.read-text p {
		font-size: 15px;
	}
	#p-top-logo, #p-top-nav-td {
		width: 200px;
	}
	#p-top {
		height: auto;
	}
	#p-top-ruler {
		display: none;
	}
	#p-top-nav {
		margin-top: 10px;
	}
	#p-top-years {
		margin-top: 15px;
	}


	#p-top {
		margin: 0 10px;
	}
	#main-container {
		flex-direction: column;
	}
	#main-left {
		order: 2;

	}
	#main-right {
		order: 3;
	}
	#main-center {
		order: 1;
		margin: 0 10px;
	}
	.feed > div {
		width: calc(50% - 10px);
	}
	#main-left, #main-right {
		width: 100%;
		padding: 20px 10px 0 10px;
		box-sizing: border-box;
		margin: 0;
	}
	#daypic, .daypic-header, #tube, .tube-header {
		display: none;
	}
	#bottom {
		padding: 25px 10px;
		box-sizing: border-box;
	}
}
@media (max-width: 550px) {
	body {
		padding-top: 75px;
	}
	.headline.nav a {
		font-size: 16px;
	}
	.feed-title {
		font-size: 18px;
	}
	#p-top {
		display: none;
	}
	#p-mobile {
		position: fixed;
		z-index: 10;
		top: 0;
		left: 0;
		width: 100%;
		height: 75px;
		padding: 10px 15px 5px 15px;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-color: #fff;
		-webkit-box-shadow: 0px 4px 8px 0px rgba(51, 80, 103, 0.2);
		-moz-box-shadow: 0px 4px 8px 0px rgba(51, 80, 103, 0.2);
		box-shadow: 0px 4px 8px 0px rgba(51, 80, 103, 0.2);
		border-bottom: 1px #e1e1e1 solid;
	}
	#p-top-yearslist {
		position: fixed;
		top: 75px;
		margin-top: 0;
	}
	#p-mobile img {
		max-width: 150px;
	}
	#p-mobile-nav {
		display: flex;
		left: -100%;
		top: 0;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		border-radius: 0;
		text-align: center;
		position: fixed;
		background-color: #fff;
		box-shadow: 0 0 5px rgba(0,0,0,0.4);
		padding: 95px 15px 15px 15px;
		z-index: 4;
		flex-direction: column;
	}
	#p-mobile-search form {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 10px;
	}
	#p-mobile-nav a {
		padding: 5px 0;
		cursor: pointer;
		font-family: Pragmatica, Arial, Tahoma;
		letter-spacing: 0.7px;
		font-size: 18px;
	}
	#p-burger {
		width: 33px;
		height: 30px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		cursor: pointer;
	}
	#p-burger div {
		width: 100%;
		height: 3px;
		background-color: #366fa4;
		margin: 3px 0;
	}
	#p-top-yearslist {
		left: 0;
		width: 100%;
		box-sizing: border-box;
		border-radius: 0;
		text-align: center;
	}
	#main-container {
		margin-top: 15px !important;
	}
	.headline {
		padding: 5px 5px;
	}
	.feed > div {
		width: 100%;
	}
	#bottom {
		flex-direction: column;
		align-items: center;
	}
	#bottom div {
		margin: 0 !important;
	}
	#bottom div:first-child {
		display: none;
		margin-bottom: 20px !important;
	}
	.read-text p {
		text-indent: 0;
	}
	#year-months div a {
		width: auto;
		margin: 0 3px;
		font-size: 15px;
	}
	#calendar {
		width: 260px;
		margin: 10px auto;
	}
}

#read h1, #read h2, #read h3, #read h4, #read h5 {
	font-family: Pragmatica, 'times new roman', tahoma, arial;
	font-weight: 100;
	font-size: 20px;
}

.hamburger {
	padding: 18px 15px 12px 15px;
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible; }
.hamburger:hover {
	opacity: 0.7; }
.hamburger.is-active:hover {
	opacity: 0.7; }
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
	background-color: #366fa4; }

.hamburger-box {
	width: 34px;
	height: 24px;
	display: inline-block;
	position: relative; }

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	width: 34px;
	height: 2px;
	background-color: #366fa4;
	border-radius: 2px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease; }
.hamburger-inner::before, .hamburger-inner::after {
	content: "";
	display: block; }
.hamburger-inner::before {
	top: -10px; }
.hamburger-inner::after {
	bottom: -10px; }

/*
   * Squeeze
   */
.hamburger--squeeze .hamburger-inner {
	transition-duration: 0.075s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--squeeze .hamburger-inner::before {
	transition: top 0.075s 0.12s ease, opacity 0.075s ease; }
.hamburger--squeeze .hamburger-inner::after {
	transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--squeeze.is-active .hamburger-inner {
	transform: rotate(45deg);
	transition-delay: 0.12s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
.hamburger--squeeze.is-active .hamburger-inner::before {
	top: 0;
	opacity: 0;
	transition: top 0.075s ease, opacity 0.075s 0.12s ease; }
.hamburger--squeeze.is-active .hamburger-inner::after {
	bottom: 0;
	transform: rotate(-90deg);
	transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }