html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-ms-overflow-style: scrollbar;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* 0. Colors:
	#008bbf --- background
	#ffcd00 --- :hover 
 */


/* 1.1. Main Tags */

article, aside, details, div, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
	display: block;
	box-sizing: border-box;
	background: transparent;
}
button, input, textarea {box-sizing: border-box;}

hr {
	margin-top: 22px;
	margin-bottom: 22px;
	height: 0;
	overflow: visible;
	-webkit-box-sizing: content-box;
	   -moz-box-sizing: content-box;
			box-sizing: content-box;
	border: 0;
	border-top: 1px solid #e3e1e1;
}
ol,
ul,
dl {
	margin-top: 0;
	margin-bottom: 0.25em;
}
ol ol,
ul ul,
ol ul,
ul ol {
	margin-bottom: 0;
}
dt {
	font-weight: 700;
}
dd {
	margin-bottom: .5em;
	margin-left: 0;
}


/* 1.2. Other Tags */

address {
	margin-bottom: 1em;
	font-style: normal;
}
audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}
section video {
	max-width: 100%;
}
audio:not([controls]) {
	display: none;
	height: 0;
}

.green {color: green}
.red {color: red}
.blue {color: blue}
.greek {
	margin: 0 2px; 
	font-weight: 300;
}
.lovetosolve {
    padding: 4px;
	color: #ffffff;
	background-color: #d00000;
	transition: color .5s ease;
}
.lovetosolve:hover {
	color: #ffff50;
	background-color: #ff0000;
}
pre,
code,
kbd,
samp {
	font-family: "Courier New", monospace;
	font-size: 1em;
}
code {
	padding: 2px 4px;
	color: #b7254e;
	background-color: #e9f2f4;
}
kbd {
	padding: 2px 4px;
	font-size: 90%;
	color: #fff;
	background-color: #ffb010;
	-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
		box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
	cursor: pointer;
}
kbd kbd {
	padding: 0;
	font-size: 100%;
	font-weight: bold;
	-webkit-box-shadow: none;
		box-shadow: none;
}
pre {
	display: block;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 10.5px;
	overflow: auto;
	-ms-overflow-style: scrollbar;
	word-break: break-all;
	word-wrap: break-word;
	background-color: #fff;
	border: 1px solid #ccc;
}
pre code {
	padding: 0;
	font-size: inherit;
	color: inherit;
	white-space: pre-wrap;
	background-color: transparent;
}
.pre-scrollable {
	max-height: 340px;
	overflow-y: scroll;
}
summary {
	display: list-item;
	cursor: pointer;
}
[hidden],
template {
	display: none;
}


/* 1.3. Typography */

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: 700;
    line-height: 1;
}
h3, h4, h5, h6,
.h3, .h4, .h5, .h6 {
	margin: 0.75em 0 0.25em 0;
	color: #333;
	text-align: left;
}
h2 {
    margin: 0 0 0.6em 0;
    color: #008bbf;
}
article+h2,
div+h2,
p+h2 {
    margin-top: 0.85em;
}
h2, .h2 {font-size: 1.5em;}
h3, .h3 {font-size: 1.3em;}
h4, .h4 {font-size: 1.15em;}
h5, .h5 {font-size: 1em}
h6, .h6 {font-size: 0.85em}
p {
	margin: 0;
	text-align: justify;
}
.q,
blockquote {
	margin: 0 0 1em;
}
b,
strong {
	font-weight: 700;
}
.light {
	font-weight: 300;
}
small,
.small {
	font-size: 80%;
}
big,
.big {
	font-size: 125%;
}
.sm-margin {
	margin: 0.5em;
}
.b-margin {
	margin: 2em 0.5em;
}

sub,
sup {
	font-size: 70%;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
mark,
.mark {
	background-color: #ecf8e3;
	padding: .2em;
}
.bezo,
#smi p {
	text-indent: 0;
}
.nowrap,
.text-nowrap {
	white-space: nowrap;
}
.lowercase,
.text-lowercase {
	text-transform: lowercase;
}
.uppercase,
.text-uppercase {
	text-transform: uppercase;
}
.capitalize,
.text-capitalize {
	text-transform: capitalize;
}
.muted,
.text-muted {
	color: #aaa;
}
.list-unstyled {
	padding-left: 0;
	list-style: none;
}
.list-inline {
	padding-left: 0;
	list-style: none;
	margin-left: -5px;
}
.list-inline > li {
	display: inline-block;
	padding-left: 5px;
	padding-right: 5px;
}
.tel {
	white-space: nowrap;
}
blockquote {
	padding: 0 22px;
	margin: 10px 0;
	border-left: 5px solid #e3e1e1;
}
blockquote p {
	margin: 0;
}
blockquote footer,
blockquote small,
blockquote .small {
	display: block;
	font-size: 80%;
	color: #aaa;
}
blockquote footer:before,
blockquote small:before,
blockquote .small:before {
	content: '\2014 \00A0';
}
.blockquote-reverse,
blockquote.pull-right {
	padding-right: 15px;
	padding-left: 0;
	border-right: 5px solid #e3e1e1;
	border-left: 0;
	text-align: right;
}
.blockquote-reverse footer:before,
blockquote.pull-right footer:before,
.blockquote-reverse small:before,
blockquote.pull-right small:before,
.blockquote-reverse .small:before,
blockquote.pull-right .small:before {
	content: '';
}
.blockquote-reverse footer:after,
blockquote.pull-right footer:after,
.blockquote-reverse small:after,
blockquote.pull-right small:after,
.blockquote-reverse .small:after,
blockquote.pull-right .small:after {
	content: '\00A0 \2014';
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
}


/* body */

body {
	margin: 0;
	padding: 0;
	font-family: 'PT Sans', 'Myriad Pro', 'Helvetica',  sans-serif, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.25;
	color: #111;
	overflow-x: hidden;
}
body.contrast {
	font-size: 18px;
	color: #000;
}
body.contrast.fontsize2 {font-size: 22px}
body.contrast.fontsize3 {font-size: 30px}
body.control_server {overflow-x: visible}

@media (min-width: 768px) {
	body {font-size: 17px}
	body.contrast {font-size: 20px}
	body.contrast.fontsize2 {font-size: 24px}
	body.contrast.fontsize3 {font-size: 32px}
}
@media (min-width: 1200px) {
	body {font-size: 19px}
	body.contrast {font-size: 22px}
	body.contrast.fontsize2 {font-size: 26px}
	body.contrast.fontsize3 {font-size: 35px}
}

#contrast-version {
	position: relative;
	padding: 6px;
	/*width: 180px;
	height: 128px;*/
	color: #000;
	/*background: #fff url('img/contrast-version.png') center bottom no-repeat;*/
	/*border: 1px solid #ddd;*/
	cursor: pointer;
}
#contrast-version:hover {
	color: #fff;
	background: #000;
}

@media (max-width: 767px) {
	#contrast-version {
		display: none;
		width: 105px;
		height: 70px;
	}
	.regular-only {
		display: none;
	}
	.wide-only {display: none;}
}
#contrast-version .contrast-only {
	display: none;
	font-size: 85%;
}

body.contrast #contrast-version {
	height: auto;
	background: #fff;
}
body.contrast #contrast-version .regular-only {
	display: none;
}
body.contrast #contrast-version .contrast-only {
	display: inline-block;
	color: blue;
}

a {
	color: #05b;
	text-decoration: none;
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
	background: 0 0;
}
a:active,
a:hover {
	outline: 0;
	transition: color .2s ease;
}
a:hover,
a:focus,
.date-bar .Sat,
.date-bar .Sun,
.lead:hover h3 {
	color: #ffcd00;
}
a:focus {
	outline-offset: -2px;
}
a[href$=".pdf"]:after {
	color: red;
}
body.contrast a {
	color: #002;
}
body.contrast a:hover {
	color: #004;
	/*text-decoration: underline;*/
}
body.contrast.bgdark a:hover {
	color: #e0e0ff;
}
body.contrast #nav {
	background: transparent;
	border: 2px solid #000;
}
body.contrast.bgdark #nav {
	border: 2px solid #fff;
}

#content {
	padding: 0 16px;
	margin-bottom: 1em;
}

#map {
	width: 100%;
}
#map div, 
#map iframe {
	width: 100%;
}

.admin-can-edit {
    width: 100%;
	padding: 1px 16px;
	border: 1px solid red;
	color: red;
	text-align: center;
}

.admin-can-edit + section,
section + .admin-can-edit {
	margin-top: 0.5em;
}

/* 9. Content */

.skip-to {
	margin: 0;
}
.bg-gray {background-color: #f5f5f5;}

.border,
.bordered {
	border: 2px solid #000;
}
.left,
.text-left {
	text-align: left;
	text-indent: 0;
}
.right,
.text-right {
	text-align: right;
}
.center,
.center p,
p.center,
.text-center {
	text-indent: 0;
	text-align: center;
}
.justify,
.text-justify {
	text-align: justify;
}

article {
	margin-top: 1em;
}
article p,
article li,
section li {
	margin: 0.75em 0;
}

.epi,
.epigraph {
	padding: 4px 0 4px 40%;
	font-size: 90%;
	/*text-indent: 0;*/
}
.newidea {
	margin-top: 1em;
}
.author {
	font-style: italic;
	text-align: right;
}
.attached-file {
	margin: 16px 0;
	border: 2px solid #e3e1e1;
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAtCAMAAADflBjwAAAA/FBMVEX////9/v78/f4ALHsAMX4AKXoHNX/6+/wALXwSOoEgQ4YQOIAAHnWst82eq8WbqcP09vnx9PfM0+DHzt23wtSxvNCotMuJmblwg6tmeqVjeKQYPYPu8fXr7vPX3efT2uWlsMiMnLuElLZ+j7N5i7AAInf2+Pu1vtKvus+HlreBk7V8jbJqfqdgdaJccqFXbZ5AW5MrS4snR4gMN38BF3Ld4uvb4OnQ1uLDy9rAyNm7xNaRoL51iK5NZpoxTozn6/Hi5u6+xtehrseVpcGTor9zhq1Ta5xKYpdFX5U5VY8cP4QXPIKYpcI1Uo4NOIAGM38LMn4lN4APNX8ABm407GXjAAACsElEQVRIx43V6VriMBgF4PMlTRcoMILIpqgoKiD7JoIK4gauM3P/9zKhC3SGtk76o2n7Jn1y2iT4vjBgfzce61u1//LTamtpFG4vU6BQSY4fdcqi/bJQzM8xiMI8Wf46qj/vHpztJLNqeQwW4ncsPzN4bse+legqqUDOEP95Dg2zAs+dgRERY5iU68E+oZgxwqjA8z/c0VAx2j4M9vocuPJ4edJeog8BScYV/cHydcu7pfF54u/vFS59aun4zRuMeYDXx9JHeMPxoWNgOFL0Y9vveDwxZM28v+cbb0my/ZuqJH38nuWTEd50/CY4MQfz85m/PcWHTtAZMArwnbUndvr7xg66AtrysU9eAYYd8bQPZnk6FcYuSc9Lfl7lJZKeS0+2r4mPc+De31+ooko4tDxzPO+msQquGuzb/Mb1OOFqsE+r4sT2Bx5/ARmEfrLxzD2dd7n0xbbY+CpXYyvPPR5r/yFqDMVbjy/ZXuU12va7UXG68vzZ6/eAWJgfeH2FK7Y/9fHXxspP38XznccfAReBfsLA8uWXtc+4frLlCSNDPGqMhl+dge0ZjrlyD6S7fMK2++9HRFYjDUe9ydrrSlz6D9nRvx6McuWGZs2PXoaYx8sP86j5LKfJr0gfTB5psyk1I4x1JQEZHM/6eVR6NalBuIt8xSHLWNHDPGuaM2LW4BNlI3sRyyn8TXpD+HvctdSB++8fKz3TNI0EVkFf+nsMFkbfnehIlur5zKH0r4EeBy2l6Dxai9krD/RAvZdeLx6MgTSMpD8L9Hjo5ZwG7hZVEGEeg8KvK2gbf1UQuTDPUCovpmAkCTHpl+Feyv2WaA3dy3REWFtISCH030Ukc/gD2E9lVceHt5jmuam2mk/vuhmtOHmGt6Dz+u1rN7pcPCYR7jdLTSrTyM2Lsv6N/wMNx0caTmhgzgAAAABJRU5ErkJggg==');
	background-position: 12px 12px;
	background-repeat: no-repeat;
	padding: 8px 8px 8px 68px;
	min-height: 70px;
}
.attached-file:hover {
	border: 2px solid #b3b1e1;
}

section p+p,
section p+div,
section div+p {
	margin-top: 0.25em;
}
section p {
	text-indent: 1.8em;
}
article.person p {
	margin: 0 !important;
}
p.left,
article.person p {
	text-indent: 0 !important;
}
article.person p span {
	display: inline-block;
	min-width: 20%;
}
#council li h3 {
	margin: 0;
}
#council li {
	margin-top: 1em;
}
#council li.person p.council {
	display: none;
}
.person p.affiliation span {
    min-width: 45%;
    color: green;
}
.person p.affiliation span+span {
    color: navy;
}
.person p.affiliation span+span+span {
    color: blue;
}
.articleimages{
	float: right;
	padding: 10px 0 4px 20px;
	margin: 0;
	max-width: 100%;
}
.articleimages div,
.articleimages div a,
.articleimages div a img,
.photo {
	max-width: 100%;
}
.photo {
	margin-top: 0.75em;
	margin-bottom: 0.75em;
}
.subimg {
	/*max-width: 360px;*/
	padding: 0 0 16px 0;
}
.subimg p{
	padding: 0;
	font-size: 12px;
	line-height: 16px;
	text-align: center;
	text-indent: 0;
	color: #aaa;
}
.edit-images .subimg p {
	text-align: center;
}


/* Header, footer */

header .container, .footer {
	margin-top: 1em;
	padding: 1em 0;
	border-top: 2px solid #008bbf;
	border-bottom: 2px solid #008bbf;
}
figure#logo {
    box-sizing: content-box;
	border: none;
	display: block;
	position: relative;
	width: 100%;
	margin: 0 auto;
	height: 154px;
	text-align: center;
}
header h2, header h1 {
	margin: 0;
	color: #008bbf;
	text-align: center;
	font-size: 1.3em;
	line-height: 1.2;
}
header h1 {
    margin: 0.8em 0;
}
header h2 {
	font-size: 1em;
	font-weight: 300;
}


.footer a {
    padding: 0 1em;
}
.footer a img {
    max-width: 20%;
}
a#me, a#vk {
	display: inline-block;
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
}
a#me {
	background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEX+/fT/2gUBc/3yLS2dmGPIAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAIUlEQVR4Xn3EMREAAAgCQGf70ZEslEIDcPzw85Bb5qzSAURDF3Fs6h4CAAAAAElFTkSuQmCC') center center no-repeat;
}
a#vk {
	background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAMFBMVEUBa/4AZP4Sdf78/v4if/4Icf7R5v7p8/5eof4xiP7F3v6cx/6z0/5wrf5Llv6Qv/5cqqlOAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAjElEQVR4XkWNMQrCQBRE5y8SYrdIIJ0uQRDrD4LYBBtbYYmeIJjSQrALqVLYJZ5g2SN4gQRyAfFCbhLQmeY1Mw+c1VG0Lhk7BRfxQip7oBMKAkmSPuLJ0CmUNmfzfAscvatuLsrBYhveb9JBsDlw3gN9uLOVgMLctisjEINmw7zAePhT/KWc7ZNk+eAvjvUarxUliY4AAAAASUVORK5CYII=') center center no-repeat;
}
@media (max-width: 767px) {
    .footer a {
        padding: 0 0.4em;
    }
    .footer a img {
        max-height: 80px;
    }
}

/* some banners before footer */

.banners a {
    padding: 0 1em;
}
.banners a img {
    max-width: 50%;
    max-height: 88px;
}
.banners a+a img {
    max-width: 25%;
    max-height: 88px;
}



input[type=submit] {
    min-width: 75%;
	font-weight: 700;
	background-color: #008bbf;
	color: #fff;
}
input[type=submit]:hover {
	background-color: #008040;
}
input[name=delete] {
	background-color: #800;
	color: #fff;
}
input[name=delete]:hover {
	background-color: #e01010;
}

.definition {
    padding-left: 2em;
}
.definition .sharp-link {
    position: relative;
    left: -2em;
    top: 0.5em;
}



.panel {
    margin: 4em auto;
}

.klass {
	margin: 1em 0 0.667em;
	color: #ffcd00;
	background: #dedefa;
	transition: all 1.6s ease;
	cursor: pointer;
}
.klass:hover {
	color: #f20;
	letter-spacing: 1px;
}
.videolink {
	margin: 4px 0;
	white-space: nowrap;
	overflow: hidden;
	transition: opacity 0.5s ease;
}
#rightmenu .videolink {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 0;
}
.videolink:hover:after {
	opacity: 1;
}
.videolink+.videolink:after {
	margin: 0;
	padding: 0;
	content: '';
}
p+.videolink {
	margin-top: 0;
}
.bage {
	display: inline-block;
	position: relative;
	font-size: 1rem;
	top: 4px;
	max-width: 100%;
	overflow: hidden;
}
@media (min-width: 480px) {
	.bage {
		font-size: 1.25rem;
	}
}
.bage.paragraph {
	padding: 0.15em 0.8em 0.15em 0.3em;
	background-color: #008bbf;
	border-top-right-radius: 50%;
	border-bottom-right-radius: 50%;
	color: #fff;
	min-width: 3.5em;
}
.bage.actor {
	padding: 0.12em 0.6em 0.1em;
	background-color: #8bd;
	border-radius: 8px;
	color: #fff;
	font-size: 80%;
}
.bage.new {
	padding: 0.15em 0.6em 0.15em 0;
	font-size: 70%;
	border-radius: 10px;
}
.bage.video {
	padding: 0.15em 0.6em;
	background-color: #f00;
	border-radius: 10px;
	color: #fff;
}
.bage.download {
	padding: 0.15em 0.25em;
	background-color: #008bbf;
	border-radius: 2px;
	color: #fff;
	font-weight: 900;
}
.bage.title {
	padding: 0.15em 4px;
	transition: text-indent 7s linear;
}
.videolink:hover .bage.paragraph {
	color: #ff0;
}
.videolink:hover .bage.video {
	color: #ff0;
}
.videolink:hover .bage.title {
	text-indent: -50%;
}
.videolink:hover .bage.title i {
	text-indent: 0;
}
@media (min-width: 400px) {
	header#subjects a>span {font-size: 0.75em}
}
@media (min-width: 480px) {
	header#subjects a>span {font-size: 0.8em}
}
@media (min-width: 992px) {
	header#subjects a>span {font-size: 0.9em}
}
@media (min-width: 768px) {
	header#subjects a {
		font-size: 1.25rem;
	}
}

.audio {
	margin: 0.75em 0 1em;
	text-align: center;
}
.left-images figure,
.right-images figure {
	margin-top: 0.35em;
	margin-bottom: 0.75em;
}

p+figure,
figure+p,
.bottom-images figure,
.small-books-images figure,
.small-books-4-images figure {
	margin-top: 0.5em;
	margin-top: 0.5em;
}
.small-books-images figure {
    display: inline-block;
    max-width: 32%;
}
.small-books-4-images figure {
    display: inline-block;
    max-width: 23%;
}
@media (min-width: 480px) {
	.right-images {
		float: right;
		margin-left: 25px;
		max-width: 50%;
	}
	.left-images {
		float: left;
		margin-right: 25px;
		max-width: 50%;
	}
	.lead .lead-images {
		margin-top: 4px;
		max-width: 30%;
	}
}


/* Footer */

footer p {
	font-size: 80%;
	text-indent: 0;
	text-align: center;
}

nav {
	padding: 4px;
	color: #008bbf;
	font-size: 0.94em;
	overflow: hidden;
}
#nav {
	position: relative;
	min-height: 48px;
	background: linear-gradient(
		#008bbf 0%,
		#008bbf 100%);
}
body.contrast.bgdark #nav h2 
body.contrast.bgdark nav a {
	color: #c8c8ff;
}
nav>ul {
	margin: 8px 0;
	padding: 0;
	height: auto;
	transition: height 2.5s linear;
	overflow: hidden;
}
nav>ul li {
	margin: 0;
	list-style-type: none;
	line-height: 1;
	word-break: break-word;
}
nav>ul li>h2,
nav>ul li>a {
	padding: 0.4em 10px;
	display: block;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.25s ease;
	color: #fff;
	font-variant: small-caps;
}
nav>ul li>h2>a {
	color: #fff;
}

#nav h2 {
	margin: 8px 0 0;
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1;
	text-align: left;
	word-break: break-word;
	/*text-transform: uppercase;*/
}
.contrast #nav h2 {
	color: #000;
}
.contrast.bgdark #nav h2 {
	color: #fff;
}

nav.center a {
	font-weight: 700;
}
aside nav {
	margin-bottom: 1.2em;
}

p.nav a {
    padding: 0 5px;
}

#search {
	width: 100%;
	max-width: 100%;
}

.search-container {
	margin: 0.75em 0;
	-webkit-transition: all ease-in-out 0.5s;
	-o-transition: all ease-in-out 0.5s;
	transition: all ease-in-out 0.5s;
}
#searchResults li {
	text-align: left;
}
#searchResultsCount p {
	margin: 2px 0;
	font-weight: 700;
}

#nav-button {
	float: right;
	display: block;
	margin: 8px;
	cursor: pointer;
}
#nav-button .icon-bar {
	margin: 5px 0;
	width: 24px;
	height: 2px;
	background: #111;
	border: 0;
	transition: all 0.3s;
}
#nav-button .icon-bar:nth-child(2n) {
	opacity: 1;
}
.collapsed #nav-button .icon-bar:nth-child(2n) {
	opacity: 0;
}
#nav>ul {
	height: 0;
}
#nav.collapsed>ul {
	height: auto;
}
@media (min-width: 768px) {
	#nav-button {
		display: none;
	}
	#nav-button .icon-bar:nth-child(2n) {
		opacity: 0;
	}
	.collapsed #nav-button .icon-bar:nth-child(2n) {
		opacity: 1;
	}
	#nav>ul {
		height: auto;
	}
	#nav.collapsed>ul {
		height: 0;
	}
}
#right-menu nav {
	margin: 0 auto 1.52em;
	max-width: 240px;
}
.date-bar {
	padding: 0 0 4px;
	border-bottom: 12px solid #008bbf;
	font-weight: 700;
}

[tabindex="-1"]:focus {
	outline: 0 !important;
}


/* 2. Main page, buttons */

.news-title {
	margin: 1em 0 0;
	padding: 0.4em 0.8em;
	font-size: 0.8rem;
	background-color: rgb(242,242,255);
	border: 1px solid rgb(222,222,250);
	color: #121219;
}
@media (min-width: 768px) {
	.news-title {
		font-size: 1.2rem;
	}
}
body.contrast.bgdark .news-title{color: #000}
/*section {
	overflow: hidden;
}*/
section+section {
	padding-top: 1em;
}
.social-buttons {
	margin-bottom: 1.5em;
}
.lead {
	display: inline-block;
	margin: 1.52em 0 0;
	min-width: 100%;
	font-weight: 300;
}
body.contrast.bgdark .lead .date{
	color: #c8c8ff;
}
.lead h3 {
	margin: 0.25em 0;
	text-align: left;
}
.lead h3,
.lead p {color: #000}
.lead:hover h3 {color: #ffcd00}
.lead:hover p {color: #102060}
.lead-images {
	margin-right: 15px;
	max-width: 40%;
	float: left;
}
.lead .date{
	display: inline-block;
	margin-right: 6px;
	padding: 0 0.8em;
	background-color: #a1a1a1;
	color: #fff;
}
.btn {
	display: inline-block;
	margin: 2px;
	padding: 4px 0.5em;
	border: 1px solid #f00;
	border-radius: 10px;
	font-size: 85%;
	color: #fff;
	background-color: #a1a1a1;
	cursor: pointer;
}
.lead .readmore {
	display: inline-block;
	margin: 4px 0;
	padding: 8px 1em;
	font-size: 112%;
	font-weight: 900;
	color: #fff;
	background-color: #a1a1a1;
	cursor: pointer;
}
.btn:hover,
.lead:hover .date,
.lead:hover .readmore {
	background-color: #ffcd00;
	color: #fff;
}
.keywords {
    clear: both;
	margin-top: 1em;
	line-height: 1.5;
}
.btn.btn-word {
	color: #fff;
	background-color: #aaa;
	border: 1px solid #999;
}
.btn.btn-word:hover {
	background-color: #008bbf;
}
.btn.btn-video {
	color: #fff;
	background-color: #f22;
}
.btn.btn-video:hover {
	background-color: #f00;
}
#to_timetable {
	margin: 0 0 0.9em 0;
}
table.timetable {
	border: 2px solid #000;
}
table.timetable th {
	color: #20aa30;
}
table.timetable td {
	min-width: 7em;
}
.btn.btn-nav {
	padding: 3px 3px 4px;
	width: 100%;
	background-color: #008bbf;
	font-size: 1rem;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}
.btn.btn-nav:hover {
	background-color: #e01010;
}
.emailslist p {
	margin-top: 0.5em;
	font-weight: 900;
	text-indent: 0;
}


/* Grid */

.container {
	margin-right: auto;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
	max-width: 100%;
}
.container.border {
	border: 4px solid #dee4e7;
}
@media (min-width: 768px) {
	.container {width: 750px}
}
@media (min-width: 992px) {
	.container {width: 970px}
}
@media (min-width: 1200px) {
	.container {width: 1170px}
}
.container-fluid {
	margin-right: auto;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
}
.row {
	margin-left: -15px;
	margin-right: -15px;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
	float: left;
}
.col-xs-12 {width: 100%}
.col-xs-11 {width: 91.66666667%}
.col-xs-10 {width: 83.33333333%}
.col-xs-9 {width: 75%}
.col-xs-8 {width: 66.66666667%}
.col-xs-7 {width: 58.33333333%}
.col-xs-6 {width: 50%}
.col-xs-5 {width: 41.66666667%}
.col-xs-4 {width: 33.33333333%}
.col-xs-3 {width: 25%}
.col-xs-2 {width: 16.66666667%}
.col-xs-1 {width: 8.33333333%}
.col-xs-pull-12 {right: 100%}
.col-xs-pull-11 {right: 91.66666667%}
.col-xs-pull-10 {right: 83.33333333%}
.col-xs-pull-9 {right: 75%}
.col-xs-pull-8 {right: 66.66666667%}
.col-xs-pull-7 {right: 58.33333333%}
.col-xs-pull-6 {right: 50%}
.col-xs-pull-5 {right: 41.66666667%}
.col-xs-pull-4 {right: 33.33333333%}
.col-xs-pull-3 {right: 25%}
.col-xs-pull-2 {right: 16.66666667%}
.col-xs-pull-1 {right: 8.33333333%}
.col-xs-pull-0 {right: auto}
.col-xs-push-12 {left: 100%}
.col-xs-push-11 {left: 91.66666667%}
.col-xs-push-10 {left: 83.33333333%}
.col-xs-push-9 {left: 75%}
.col-xs-push-8 {left: 66.66666667%}
.col-xs-push-7 {left: 58.33333333%}
.col-xs-push-6 {left: 50%}
.col-xs-push-5 {left: 41.66666667%}
.col-xs-push-4 {left: 33.33333333%}
.col-xs-push-3 {left: 25%}
.col-xs-push-2 {left: 16.66666667%}
.col-xs-push-1 {left: 8.33333333%}
.col-xs-push-0 {left: auto}
.col-xs-offset-12 {margin-left: 100%}
.col-xs-offset-11 {margin-left: 91.66666667%}
.col-xs-offset-10 {margin-left: 83.33333333%}
.col-xs-offset-9 {margin-left: 75%}
.col-xs-offset-8 {margin-left: 66.66666667%}
.col-xs-offset-7 {margin-left: 58.33333333%}
.col-xs-offset-6 {margin-left: 50%}
.col-xs-offset-5 {margin-left: 41.66666667%}
.col-xs-offset-4 {margin-left: 33.33333333%}
.col-xs-offset-3 {margin-left: 25%}
.col-xs-offset-2 {margin-left: 16.66666667%}
.col-xs-offset-1 {margin-left: 8.33333333%}
.col-xs-offset-0 {margin-left: 0%}
@media (min-width: 768px) {
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {float: left}
	.col-sm-12 {width: 100%}
	.col-sm-11 {width: 91.66666667%}
	.col-sm-10 {width: 83.33333333%}
	.col-sm-9 {width: 75%}
	.col-sm-8 {width: 66.66666667%}
	.col-sm-7 {width: 58.33333333%}
	.col-sm-6 {width: 50%}
	.col-sm-5 {width: 41.66666667%}
	.col-sm-4 {width: 33.33333333%}
	.col-sm-3 {width: 25%}
	.col-sm-2 {width: 16.66666667%}
	.col-sm-1 {width: 8.33333333%}
	.col-sm-pull-12 {right: 100%}
	.col-sm-pull-11 {right: 91.66666667%}
	.col-sm-pull-10 {right: 83.33333333%}
	.col-sm-pull-9 {right: 75%}
	.col-sm-pull-8 {right: 66.66666667%}
	.col-sm-pull-7 {right: 58.33333333%}
	.col-sm-pull-6 {right: 50%}
	.col-sm-pull-5 {right: 41.66666667%}
	.col-sm-pull-4 {right: 33.33333333%}
	.col-sm-pull-3 {right: 25%}
	.col-sm-pull-2 {right: 16.66666667%}
	.col-sm-pull-1 {right: 8.33333333%}
	.col-sm-pull-0 {right: auto}
	.col-sm-push-12 {left: 100%}
	.col-sm-push-11 {left: 91.66666667%}
	.col-sm-push-10 {left: 83.33333333%}
	.col-sm-push-9 {left: 75%}
	.col-sm-push-8 {left: 66.66666667%}
	.col-sm-push-7 {left: 58.33333333%}
	.col-sm-push-6 {left: 50%}
	.col-sm-push-5 {left: 41.66666667%}
	.col-sm-push-4 {left: 33.33333333%}
	.col-sm-push-3 {left: 25%}
	.col-sm-push-2 {left: 16.66666667%}
	.col-sm-push-1 {left: 8.33333333%}
	.col-sm-push-0 {left: auto}
	.col-sm-offset-12 {margin-left: 100%}
	.col-sm-offset-11 {margin-left: 91.66666667%}
	.col-sm-offset-10 {margin-left: 83.33333333%}
	.col-sm-offset-9 {margin-left: 75%}
	.col-sm-offset-8 {margin-left: 66.66666667%}
	.col-sm-offset-7 {margin-left: 58.33333333%}
	.col-sm-offset-6 {margin-left: 50%}
	.col-sm-offset-5 {margin-left: 41.66666667%}
	.col-sm-offset-4 {margin-left: 33.33333333%}
	.col-sm-offset-3 {margin-left: 25%}
	.col-sm-offset-2 {margin-left: 16.66666667%}
	.col-sm-offset-1 {margin-left: 8.33333333%}
	.col-sm-offset-0 {margin-left: 0%}
}
@media (min-width: 992px) {
	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {float: left}
	.col-md-12 {width: 100%}
	.col-md-11 {width: 91.66666667%}
	.col-md-10 {width: 83.33333333%}
	.col-md-9 {width: 75%}
	.col-md-8 {width: 66.66666667%}
	.col-md-7 {width: 58.33333333%}
	.col-md-6 {width: 50%}
	.col-md-5 {width: 41.66666667%}
	.col-md-4 {width: 33.33333333%}
	.col-md-3 {width: 25%}
	.col-md-2 {width: 16.66666667%}
	.col-md-1 {width: 8.33333333%}
	.col-md-pull-12 {right: 100%}
	.col-md-pull-11 {right: 91.66666667%}
	.col-md-pull-10 {right: 83.33333333%}
	.col-md-pull-9 {right: 75%}
	.col-md-pull-8 {right: 66.66666667%}
	.col-md-pull-7 {right: 58.33333333%}
	.col-md-pull-6 {right: 50%}
	.col-md-pull-5 {right: 41.66666667%}
	.col-md-pull-4 {right: 33.33333333%}
	.col-md-pull-3 {right: 25%}
	.col-md-pull-2 {right: 16.66666667%}
	.col-md-pull-1 {right: 8.33333333%}
	.col-md-pull-0 {right: auto}
	.col-md-push-12 {left: 100%}
	.col-md-push-11 {left: 91.66666667%}
	.col-md-push-10 {left: 83.33333333%}
	.col-md-push-9 {left: 75%}
	.col-md-push-8 {left: 66.66666667%}
	.col-md-push-7 {left: 58.33333333%}
	.col-md-push-6 {left: 50%}
	.col-md-push-5 {left: 41.66666667%}
	.col-md-push-4 {left: 33.33333333%}
	.col-md-push-3 {left: 25%}
	.col-md-push-2 {left: 16.66666667%}
	.col-md-push-1 {left: 8.33333333%}
	.col-md-push-0 {left: auto}
	.col-md-offset-12 {margin-left: 100%}
	.col-md-offset-11 {margin-left: 91.66666667%}
	.col-md-offset-10 {margin-left: 83.33333333%}
	.col-md-offset-9 {margin-left: 75%}
	.col-md-offset-8 {margin-left: 66.66666667%}
	.col-md-offset-7 {margin-left: 58.33333333%}
	.col-md-offset-6 {margin-left: 50%}
	.col-md-offset-5 {margin-left: 41.66666667%}
	.col-md-offset-4 {margin-left: 33.33333333%}
	.col-md-offset-3 {margin-left: 25%}
	.col-md-offset-2 {margin-left: 16.66666667%}
	.col-md-offset-1 {margin-left: 8.33333333%}
	.col-md-offset-0 {margin-left: 0%}
}
@media (min-width: 1200px) {
	.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {float: left}
	.col-lg-12 {width: 100%}
	.col-lg-11 {width: 91.66666667%}
	.col-lg-10 {width: 83.33333333%}
	.col-lg-9 {width: 75%}
	.col-lg-8 {width: 66.66666667%}
	.col-lg-7 {width: 58.33333333%}
	.col-lg-6 {width: 50%}
	.col-lg-5 {width: 41.66666667%}
	.col-lg-4 {width: 33.33333333%}
	.col-lg-3 {width: 25%}
	.col-lg-2 {width: 16.66666667%}
	.col-lg-1 {width: 8.33333333%}
	.col-lg-pull-12 {right: 100%}
	.col-lg-pull-11 {right: 91.66666667%}
	.col-lg-pull-10 {right: 83.33333333%}
	.col-lg-pull-9 {right: 75%}
	.col-lg-pull-8 {right: 66.66666667%}
	.col-lg-pull-7 {right: 58.33333333%}
	.col-lg-pull-6 {right: 50%}
	.col-lg-pull-5 {right: 41.66666667%}
	.col-lg-pull-4 {right: 33.33333333%}
	.col-lg-pull-3 {right: 25%}
	.col-lg-pull-2 {right: 16.66666667%}
	.col-lg-pull-1 {right: 8.33333333%}
	.col-lg-pull-0 {right: auto}
	.col-lg-push-12 {left: 100%}
	.col-lg-push-11 {left: 91.66666667%}
	.col-lg-push-10 {left: 83.33333333%}
	.col-lg-push-9 {left: 75%}
	.col-lg-push-8 {left: 66.66666667%}
	.col-lg-push-7 {left: 58.33333333%}
	.col-lg-push-6 {left: 50%}
	.col-lg-push-5 {left: 41.66666667%}
	.col-lg-push-4 {left: 33.33333333%}
	.col-lg-push-3 {left: 25%}
	.col-lg-push-2 {left: 16.66666667%}
	.col-lg-push-1 {left: 8.33333333%}
	.col-lg-push-0 {left: auto}
	.col-lg-offset-12 {margin-left: 100%}
	.col-lg-offset-11 {margin-left: 91.66666667%}
	.col-lg-offset-10 {margin-left: 83.33333333%}
	.col-lg-offset-9 {margin-left: 75%}
	.col-lg-offset-8 {margin-left: 66.66666667%}
	.col-lg-offset-7 {margin-left: 58.33333333%}
	.col-lg-offset-6 {margin-left: 50%}
	.col-lg-offset-5 {margin-left: 41.66666667%}
	.col-lg-offset-4 {margin-left: 33.33333333%}
	.col-lg-offset-3 {margin-left: 25%}
	.col-lg-offset-2 {margin-left: 16.66666667%}
	.col-lg-offset-1 {margin-left: 8.33333333%}
	.col-lg-offset-0 {margin-left: 0%}
}
@media (min-width: 768px) {
	.col-sm-offset-0 {margin-left: 0%}
}
@media (min-width: 992px) {
	.col-md-offset-0 {margin-left: 0%}
}
@media (min-width: 1200px) {
	.col-lg-offset-0 {margin-left: 0%}
}
.clearfix:before,
.clearfix:after,
.dl-horizontal dd:before,
.dl-horizontal dd:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after,
.nav:before,
.nav:after,
.navbar:before,
.navbar:after,
.navbar-header:before,
.navbar-header:after,
.navbar-collapse:before,
.navbar-collapse:after,
.pager:before,
.pager:after,
.panel-body:before,
.panel-body:after,
.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
	display: table;
	content: " ";
}
.clearfix:after,
.dl-horizontal dd:after,
.container:after,
.container-fluid:after,
.row:after,
.form-horizontal .form-group:after,
.nav:after,
.navbar:after,
.navbar-header:after,
.navbar-collapse:after,
.pager:after,
.panel-body:after,
.modal-header:after,
.modal-footer:after {
	clear: both;
}
center-block {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.margin-top {
	margin-top: 1.52em;
}
.margin-v {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.hide {
	display: none !important;
}
.show {
	display: block !important;
}
.invisible {
	visibility: hidden;
}
.hide,
.text-hide {
	font: 0/0 a;
	color: transparent;
	text-shadow: none;
	background-color: transparent;
	border: 0;
}
.hidden {
	display: none !important;
}
.affix {
	position: fixed;
}
.visible-xs,
.visible-sm,
.visible-m,
.visible-lg {
	display: none !important;
}
.visible-xs-lock,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block {
	display: none !important;
}
@media (max-width: 767px) {
	.visible-xs {display: block !important}
	table.visible-xs {display: table !important}
	tr.visible-xs {display: table-row !important}
	th.visible-xs, td.visible-xs {display: table-cell !important}
	.visible-xs-block {display: block !important}
	.visible-xs-inline {display: inline !important}
	.visible-xs-inline-block {display: inline-block !important}
	.hidden-xs {display: none !important}
}
@media (min-width: 768px) {
	.visible-sm {display: block !important}
	table.visible-sm {display: table !important}
	tr.visible-sm {display: table-row !important}
	th.visible-sm, td.visible-sm {display: table-cell !important}
	.visible-sm-block {display: block !important}
	.visible-sm-inline {display: inline !important}
	.visible-sm-inline-block {display: inline-block !important}
	.hidden-sm {display: none !important}
}
.visible-print {
	display: none !important;
}
.visible-print-block {
	display: none !important;
}
.visible-print-inline {
	display: none !important;
}
.visible-print-inline-block {
	display: none !important;
}

/* 4. Form Elements */

button {
	overflow: visible
}
button,
select {
	text-transform: none
}
button,
html input[type=button],
input[type=reset],
input[type=submit] {
	-webkit-appearance: button;
	cursor: pointer
}

button[disabled],
html input[disabled] {
	cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0
}

input[type=checkbox],
input[type=radio] {
	box-sizing: border-box;
	padding: 0
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	height: auto
}

input[type=search] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
	-webkit-appearance: none
}

fieldset {
	border: 1px solid silver;
	margin: 0 2px;
	padding: .35em .625em .75em
}

legend {
	border: 0;
	padding: 0
}

textarea {
    width: 100%;
    height: 240px;
	overflow: auto;
	resize: vertical;
}
optgroup {
	font-weight: 700
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	text-transform: none;
}
button,
input {
	overflow: visible;
}
form.addvideo input {
	width: 100%;
}
form.addvideo input[name="actor"] {
	width: 66%;
}
button:focus {
	outline: 1px dotted;
	outline: 5px auto -webkit-focus-ring-color;
}
[type="submit"],
[type="button"] {
	cursor: pointer;
}
button[disabled],
html input[disabled] {
	cursor: default;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	padding: 0;
	border-style: none;
}
input[type="radio"],
input[type="checkbox"] {
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
		box-sizing: border-box;
	padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
	-webkit-appearance: listbox;
}
fieldset {
	min-width: 0;
	border: 1px solid #b0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}
legend {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin-bottom: .5em;
	font-size: 1.5em;
	color: inherit;
	white-space: normal;
	color: #f90a0a;
	border: 0;
	border-bottom: 1px solid #d5e5e5;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
[type="search"] {
	outline-offset: -2px;
	-webkit-appearance: none;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
::-webkit-file-upload-button {
	font: inherit;
	-webkit-appearance: button;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
input[type="search"] {
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
			box-sizing: border-box;
	-webkit-appearance: none;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
optgroup {
	font-weight: bold;
}
select[multiple],
select[size] {
	height: auto;
}
label {
	display: inline-block;
	margin-bottom: 0.5em;
	max-width: 100%;
	font-weight: 100;
}
input[type="radio"],
input[type="checkbox"] {
	display: inline;
	width: auto;
	margin: 4px 0 0;
	margin-top: 1px \9;
}
input[type="file"] {
	display: block;
}
input[type="range"] {
	display: block;
	width: 100%;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
output {
	display: inline-block;
	padding-top: 7px;
	font-size: 16px;
	color: #555;
}
.form-control {
	display: block;
	width: 100%;
	padding: 6px;
	font-size: 16px;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
	border-color: #56afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,
		.075), 0 0 8px rgba(102, 175, 233, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,
		.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-control::-moz-placeholder {
	color: #999;
	opacity: 1;
}
.form-control:-ms-input-placeholder {
	color: #999;
}
.form-control::-webkit-input-placeholder {
	color: #999;
}
.form-control::-ms-expand {
	border: 0;
	background-color: transparent;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
	background-color: #e3e1e1;
	opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control {
	cursor: not-allowed;
	background-color: transparent;
	border: none;
}
textarea.form-control {
	height: auto;
}
.form-group {
	margin-bottom: 15px;
}
.radio,
.checkbox {
	position: relative;
	display: block;
	margin-top: 10px;
	margin-bottom: 10px;
}
.radio label,
.checkbox label {
	min-height: 22px;
	padding-left: 20px;
	margin-bottom: 0;
	font-weight: normal;
	cursor: pointer;
}
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
	position: absolute;
	margin-left: -20px;
	margin-top: 4px \9;
}
.radio+.radio,
.checkbox+.checkbox {
	margin-top: -5px;
}
.radio-inline,
.checkbox-inline {
	position: relative;
	display: inline-block;
	padding-left: 20px;
	margin-bottom: 0;
	vertical-align: middle;
	font-weight: normal;
	cursor: pointer;
}
.radio-inline+.radio-inline,
.checkbox-inline+.checkbox-inline {
	margin-top: 0;
	margin-left: 10px;
}
input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
	cursor: not-allowed;
}
.radio-inline.disabled,
.checkbox-inline.disabled,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox-inline {
	cursor: not-allowed;
}
.radio.disabled label,
.checkbox.disabled label,
fieldset[disabled] .radio label,
fieldset[disabled] .checkbox label {
	cursor: not-allowed;
}
.form-control-static {
	padding-top: 7px;
	padding-bottom: 7px;
	margin-bottom: 0;
	min-height: 38px;
}
.form-control-static.input-lg,
.form-control-static.input-sm {
	padding-left: 0;
	padding-right: 0;
}
.input-sm {
	height: 33px;
	padding: 5px 10px;
	font-size: 14px;
}
select.input-sm {
	height: 33px;
}
textarea.input-sm,
select[multiple].input-sm {
	height: auto;
}
.has-feedback {
	position: relative;
}
.has-feedback .form-control {
	padding-right: 45px;
}
.form-control-feedback {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: block;
	width: 36px;
	height: 36px;
	text-align: center;
	pointer-events: none;
}

.alert {
	margin: 0.75em 0;
}

.animate {
	transition: all 4s ease;
}
.appear {
	padding: 0 2px;
	animation: appear 4s linear infinite;
}

@-webkit-keyframes appear {
	from {
		letter-spacing: 4px;
		opacity: 0.05;
	}
	to {
		letter-spacing: 0;
		opacity: 1;
	}
}

@keyframes appear {
	from {
		letter-spacing: 4px;
		opacity: 0.05;
	}
	to {
		letter-spacing: 0;
		opacity: 1;
	}
}

.accent,
.handwriting {
	color: #008bbf;
}
.em,
.handwriting {
	font-style: italic; 
}
.success,
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label,
.has-success .form-control-feedback {
	color: #20aa30;
}
.has-success .form-control {
	border-color: #20aa30;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .form-control:focus {
	border-color: #1b542c;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #57b168;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #57b168;
}
.has-success .input-group-addon {
	color: #20aa30;
	border-color: #20aa30;
	background-color: #cff0d8;
}
.warning,
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
	color: #f00;
}
.has-warning .form-control {
	border-color: #7a6d3b;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-warning .form-control:focus {
	border-color: #56512c;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #b0a16b;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #b0a16b;
}
.has-warning .input-group-addon {
	color: #7a6d3b;
	border-color: #7a6d3b;
	background-color: #ecf8e3;
}
.has-warning .form-control-feedback {
	color: #7a6d3b;
}
.error,
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
	color: #994442;
}
.has-error .form-control {
	border-color: #994442;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .form-control:focus {
	border-color: #743534;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #be8483;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #be8483;
}
.has-error .input-group-addon {
	color: #994442;
	border-color: #994442;
	background-color: #e2dede;
}
.has-error .form-control-feedback {
	color: #994442;
}
.has-feedback label ~ .form-control-feedback {
	top: 27px;
}
.has-feedback label.sr-only ~ .form-control-feedback {
	top: 0;
}
.help-block {
	display: block;
	margin-top: 5px;
	margin-bottom: 10px;
	color: #637373;
}
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 7px;
}
.form-horizontal .radio,
.form-horizontal .checkbox {
	min-height: 29px;
}
.form-horizontal .form-group {
	margin-left: -15px;
	margin-right: -15px;
}
.form-horizontal .has-feedback .form-control-feedback {
	right: 15px;
}
@media (min-width: 768px) {
	.form-inline .form-group {
		display: inline-block;
		margin-bottom: 0;
		vertical-align: middle;
	}
	.form-inline .form-control {
		display: inline-block;
		width: auto;
		vertical-align: middle;
	}
	.form-inline .form-control-static {
		display: inline-block;
	}
	.form-inline .input-group {
		display: inline-table;
		vertical-align: middle;
	}
	.form-inline .input-group .input-group-addon,
	.form-inline .input-group .input-group-btn,
	.form-inline .input-group .form-control {
		width: auto;
	}
	.form-inline .input-group > .form-control {
		width: 100%;
	}
	.form-inline .control-label {
		margin-bottom: 0;
		vertical-align: middle;
	}
	.form-inline .radio,
	.form-inline .checkbox {
		display: inline-block;
		margin-top: 0;
		margin-bottom: 0;
		vertical-align: middle;
	}
	.form-inline .radio label,
	.form-inline .checkbox label {
		padding-left: 0;
	}
	.form-inline .radio input[type="radio"],
	.form-inline .checkbox input[type="checkbox"] {
		position: relative;
		margin-left: 0;
	}
	.form-inline .has-feedback .form-control-feedback {
		top: 0;
	}
	.form-horizontal .control-label {
		text-align: right;
		margin-bottom: 0;
		padding-top: 7px;
	}
}

/* 5. Images */

figure {
	margin: 0;
	background: transparent;
}
img {
	margin: 0;
	max-width: 100%;
	font-weight: 100;
	vertical-align: middle;
	border: 0;
	border-style: none;
}
a img {
	max-width: 100%;
	overflow: hidden;
}
img.left,
img.float-left,
.left>img,
.float-left>img {
	margin: 0 1em 0.4em 0;
}
img.right,
img.float-right,
.right>img,
.float-right>img {
	margin: 0 0 0.4em 1em;
}
.float-right,
.pull-right {
	float: right !important;
}
.float-left,
.pull-left {
	float: left !important;
}
svg {
	overflow: hidden;
	vertical-align: middle;
}
svg:not(:root) {
	overflow: hidden;
}
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
	display: block;
	max-width: 100%;
	height: auto;
}
.img-thumbnail {
	padding: 4px;
	background-color: #fff;
	border: 1px solid #ddd;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	display: inline-block;
	max-width: 100%;
	height: auto;
}
.img-round,
.img-circle {
	border-radius: 50%;
	font-size: 75%;
	font-family: Tahoma;
}


/* 6. Tables */

table {
	border-collapse: collapse;
	border-spacing: 0;
	background-color: transparent;
}
td,
th {
	padding: 0;
	text-align: inherit;
}
caption {
	padding-top: 0.75em;
	padding-bottom: 0.75em;
	caption-side: bottom;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #aaa;
	text-align: left;
}
.table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 22px;
}
.table tr > th,
.table tr > th,
.table tr > th,
.table tr > td,
.table tr > td,
.table tr > td {
	padding: 8px;
	vertical-align: top;
	border-top: 1px solid #ddd;
}
.table tr > th {
	vertical-align: bottom;
	border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
	border-top: 0;
}
.table > tbody + tbody {
	border-top: 2px solid #ddd;
}
.table-condensed tr > th,
.table-condensed tr > th,
.table-condensed tr > th,
.table-condensed tr > td,
.table-condensed tr > td,
.table-condensed tr > td {
	padding: 5px;
}
.table-bordered {
	border: 1px solid #ddd;
}
.table-bordered tr > th,
.table-bordered tr > th,
.table-bordered tr > th,
.table-bordered tr > td,
.table-bordered tr > td,
.table-bordered tr > td {
	border: 1px solid #ddd;
}
.table-bordered tr > th,
.table-bordered tr > td {
	border-bottom-width: 2px;
}

table {
	margin: 0 0 1em;
	font-weight: 100;
	border-collapse: collapse;
	/* line-height: 1.25; */
}
table, tr, td, th {
	margin: 0;
	padding: 0;
	border: 1px solid #000;
}
#content table tr:hover {
	background-color: #8f8;
}
table tr {
	margin: 0;
	padding: 0;
}
table td,
table th {
	vertical-align: top;
	margin: 0;
	padding: 2px 4px;
	/*overflow: hidden;*/
}
table td p,
table th p,
table td ul,
table td ol {
	margin: 0;
	padding: 0;
	text-indent: 0;
}
table.without-borders,
table.without-borders tr,
table.without-borders th,
table.without-borders td {
	border: none;
}

.table-striped tr:nth-of-type(odd) {
	background-color: #e9f9f9;
}
.table-hover tr:hover {
	background-color: #371f17;
}
table col[class*="col-"] {
	position: static;
	float: none;
	display: table-column;
}
table td[class*="col-"],
table th[class*="col-"] {
	position: static;
	float: none;
	display: table-cell;
}
.table tr > td.active,
.table tr > th.active,
.table tr.active > td,
.table tr.active > th {
	background-color: #371f17;
}
.table-hover tr > td.active:hover,
.table-hover tr > th.active:hover,
.table-hover tr.active:hover > td,
.table-hover tr:hover > .active,
.table-hover tr.active:hover > th {
	background-color: #d8e8e8;
}
table.inline {
	text-align: center;
	min-width: 100%;
}
table.inline th,
table.inline td {
	padding: 0.2em 0.4em !important;
	vertical-align: middle !important;
}
.table-responsive {
	margin-bottom: 0.4em;
	min-height: 0.01%;
	overflow-x: auto;
}
@media (max-width: 767px) {
	.table-responsive {
		width: 100%;
		margin-bottom: 16.5px;
		overflow-y: hidden;
		-ms-overflow-style: -ms-autohiding-scrollbar;
		border: 1px solid #ddd;
	}
	.table-responsive > .table {
		margin-bottom: 0;
	}
	.table-responsive > .table tr > th,
	.table-responsive > .table tr > th,
	.table-responsive > .table tr > th,
	.table-responsive > .table tr > td,
	.table-responsive > .table tr > td,
	.table-responsive > .table tr > td {
		white-space: nowrap;
	}
	.table-responsive > .table-bordered {
		border: 0;
	}
}
tr.collapse.in {
	display: table-row;
}
tbody.collapse.in {
	display: table-row-group;
}

/* 8. Buttons */
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
	width: 100%;
}
.fade {
	opacity: 0;
	-webkit-transition: opacity 0.15s linear;
	-o-transition: opacity 0.15s linear;
	transition: opacity 0.15s linear;
}
.fade.in {
	opacity: 1;
}
.collapse {
	display: none;
}
.collapse.in {
	display: block;
}
.collapsing {
	position: relative;
	height: 0;
	overflow: hidden;
	-webkit-transition-property: height, visibility;
	-o-transition-property: height, visibility;
		 transition-property: height, visibility;
	-webkit-transition-duration: 0.35s;
	-o-transition-duration: 0.35s;
		 transition-duration: 0.35s;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
		 transition-timing-function: ease;
}
.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 4px dashed;
	border-top: 4px solid \9;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}
.social {
	text-align: right;
}
section.social {
	margin: 0;
}
.social a {
	display: inline-block;
	vertical-align: inherit;
	margin: 0;
	padding: 0;
	width: 30px;
	height: 30px;
}
.social a + a {
	margin-left: 8px;
}

.close {
	float: right;
	font-size: 24px;
	font-weight: bold;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: 0.2;
	filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	opacity: 0.5;
	filter: alpha(opacity=50);
}
button.close {
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
}
.modal-open {
	overflow: hidden;
}
.modal {
	display: none;
	overflow: hidden;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}
.modal.fade .modal-dialog {
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	-o-transform: translate(0, -25%);
	transform: translate(0, -25%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	-o-transition: -o-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}
.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}
.modal-dialog {
	position: relative;
	width: auto;
	margin: 10px;
}
.modal-content {
	position: relative;
	background-color: #fff;
	border: 1px solid #999;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	-webkit-background-clip: padding-box;
		background-clip: padding-box;
	outline: 0;
}
.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
}
.modal-backdrop.fade {
	opacity: 0;
	filter: alpha(opacity=0);
}
.modal-backdrop.in {
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.modal-header {
	padding: 15px;
	border: none;
}
.modal-header .close {
	margin-top: -2px;
}
.modal-title {
	margin: 0;
}
.modal-body {
	position: relative;
	padding: 15px;
}
.modal-footer {
	padding: 15px;
	text-align: right;
	border-top: 1px solid #d5e5e5;
}
.modal-footer .btn+.btn {
	margin-left: 5px;
	margin-bottom: 0;
}
.modal-footer .btn-group .btn+.btn {
	margin-left: -1px;
}
.modal-footer .btn-block+.btn-block {
	margin-left: 0;
}
.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}
@media (min-width: 768px) {
	.modal-dialog {
		width: 600px;
		margin: 30px auto;
	}
	.modal-content {
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	}
	.modal-sm {
		width: 300px;
	}
}
@media (min-width: 992px) {
	.modal-lg {
		width: 900px;
	}
}


.contains-invisible {
	position: relative;

}
#invisible {
	position: absolute;
	left: 0;
	opacity: 0;
	transition: all 3s;
}
#invisible:hover {
	opacity: 1;
}


.css-slider {
	display: none;
	max-height: 400px;
	overflow: hidden;
}
.modal-container {
	display: none;
}

/* 10. Video */
.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	border: 0;
}
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
	padding-bottom: 75%;
}


.noindent,
p.noindent,
.noindent p {
	text-indent: 0;
}
.table-of-contents {
	padding: 8px 16px;
	border: 1px solid #7b7;
	text-indent: 0;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
		-ms-border-radius: 4px;
		 -o-border-radius: 4px;
			border-radius: 4px;
}
.contents-block {
	margin: 0;
	text-align: left;
	padding: 0;
}
.contents-block>li {
	padding-left: 16px;
	list-style-type: none;
}
.contents-block>li>a {
	font-size: 120%;
}
.contents-block a {
	text-decoration: none;
}

blockquote.book {
	margin: 0 1em 0.2em 4em;
}
.poe,
.poem {
	margin: 0.6em 0 0.6em 50px;
}
.poe p,
.poem p,
td p {
	margin: 0;
	text-indent: 0;
}

div.chapter-link {
	position: relative;
	margin-top: 48px;
	min-height: 50px;
	color: #d7d7b6;
	font-weight: 900;
}

@media (max-width: 480px) {
	blockquote.book {
		margin: 0 1em 0.2em 2em;
	}
	.poem {
		margin: 0.6em 0 0.6em 30px;
	}
}

@media (min-width: 481px) and (max-width: 1080px) {
	.note-content {
		float: right;
		display: block;
		width: 51%;
		margin-left: 16px;
	}
}

@media (min-width: 1081px) {
	.note-content {
		float: right;
		display: block;
		width: 51%;
		margin-left: 16px;
	}
}

@media print {
	* {
		text-shadow: none !important;
		color: #000 !important;
		background: 0 0 !important;
		box-shadow: none !important
	}
	a,
	a:visited {
		text-decoration: underline
	}
	a[href]:after {
		content: " ("attr(href) ")"
	}
	abbr[title]:after {
		content: " ("attr(title) ")"
	}
	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: ""
	}
	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid
	}
	thead {
		display: table-header-group
	}
	img,
	tr {
		page-break-inside: avoid
	}
	img {
		max-width: 100% !important
	}
    p, h2, h3, h4, h5, h6 {
		orphans: 3;
		widows: 3;
	}
	h2, h3 {
		page-break-after: avoid
	}
	select {
		background: #fff !important
	}
	.navbar {
		display: none
	}
	.table td,
	.table th {
		background-color: #fff !important
	}
	.btn>.caret,
	.dropup>.btn>.caret {
		border-top-color: #000 !important
	}
	.label {
		border: 1px solid #000
	}
	.table {
		border-collapse: collapse !important
	}
	.table-bordered td,
	.table-bordered th {
		border: 1px solid #ddd !important
	}
}

#tools {
	display: none;
}
#tools,
.contrast.bgdark #tools {
	box-sizing: border-box;
	color: #000 !important;
	background-color: #eee !important;
	top: 0;
	width: 100%;
	text-align: center;
	-webkit-box-shadow: 0 0 5px #999;
	-moz-box-shadow: 0 0 5px #999;
	box-shadow: 0 0 5px #999;
	z-index: 999;
}
body.contrast #tools {
	display: block;
}
#tools>table {
	border-color: #000;
	margin: auto;
	height: inherit;
	color: #000 !important;
	background-color: #eee !important;
	border-collapse: collapse;
	font-family: Arial;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: normal;
}
#tools table,
#tools table tr,
#tools table tr td {
	border: none !important;
}
#tools table td {
	padding: 6px 10px;
	border: 1px solid #bfbfbf;
	text-align: right;
}
#tools .btn {
	display: inline-block;
	width: auto;
	margin-left: 5px;
	padding: 4px 8px 0;
	height: 32px;
	line-height: 26px;
	border: 1px solid #e1e1e1;
	border-radius: 3px;
	cursor: pointer;
}
#tools .btn#a1,
#tools .btn#a2,
#tools .btn#a3 {
	padding: 0;
	width: 32px;
	vertical-align: middle;
}
#tools .btn#a1 {
	background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAACXBIWXMAAAsTAAALEwEAmpwYAAABNmlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjarY6xSsNQFEDPi6LiUCsEcXB4kygotupgxqQtRRCs1SHJ1qShSmkSXl7VfoSjWwcXd7/AyVFwUPwC/0Bx6uAQIYODCJ7p3MPlcsGo2HWnYZRhEGvVbjrS9Xw5+8QMUwDQCbPUbrUOAOIkjvjB5ysC4HnTrjsN/sZ8mCoNTIDtbpSFICpA/0KnGsQYMIN+qkHcAaY6addAPAClXu4vQCnI/Q0oKdfzQXwAZs/1fDDmADPIfQUwdXSpAWpJOlJnvVMtq5ZlSbubBJE8HmU6GmRyPw4TlSaqo6MukP8HwGK+2G46cq1qWXvr/DOu58vc3o8QgFh6LFpBOFTn3yqMnd/n4sZ4GQ5vYXpStN0ruNmAheuirVahvAX34y/Axk/96FpPYgAAACBjSFJNAAB6JQAAgIMAAPn/AACA6AAAUggAARVYAAA6lwAAF2/XWh+QAAAAMFBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM3e5GKvWZAAAAgUlEQVQoz2NgGGrAvBxNYP1/AxQ+4//7DSgCbH/zL6AI8HyX+4oioP+J8yeKQP8B1v8CyAL3E0AIAViA0v0bkAQ4fzEw2H9CEgBZwfsdSSD/PxD8RXE4CCAcz/TfAUjunwAXYAerzn8AF+D9ASLlv8EF7D+DSK5fSA4HkWiOpwAAAO9rLb0O1I+VAAAAAElFTkSuQmCC') center center no-repeat;
}
#tools .btn#a2 {
	background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAACXBIWXMAAAsTAAALEwEAmpwYAAABNmlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjarY6xSsNQFEDPi6LiUCsEcXB4kygotupgxqQtRRCs1SHJ1qShSmkSXl7VfoSjWwcXd7/AyVFwUPwC/0Bx6uAQIYODCJ7p3MPlcsGo2HWnYZRhEGvVbjrS9Xw5+8QMUwDQCbPUbrUOAOIkjvjB5ysC4HnTrjsN/sZ8mCoNTIDtbpSFICpA/0KnGsQYMIN+qkHcAaY6addAPAClXu4vQCnI/Q0oKdfzQXwAZs/1fDDmADPIfQUwdXSpAWpJOlJnvVMtq5ZlSbubBJE8HmU6GmRyPw4TlSaqo6MukP8HwGK+2G46cq1qWXvr/DOu58vc3o8QgFh6LFpBOFTn3yqMnd/n4sZ4GQ5vYXpStN0ruNmAheuirVahvAX34y/Axk/96FpPYgAAACBjSFJNAAB6JQAAgIMAAPn/AACA6AAAUggAARVYAAA6lwAAF2/XWh+QAAAAMFBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM3e5GKvWZAAAApElEQVQYGcXB3Q3BYACG0QdBCStgA93ATW8lNmADNmADNmADI3Dhvt2ADQTxr17V+vQbQOIc/muuAbaMtMRW1PqArfLsXrA1r9UQ2/joqINlHWQ1IZXXCH9HqiSX4YlU7QH1O6n+Gcpq8LXYQ0EDjKxWnucpwCgqdsCoKnbFaN28SPuJMT0ScdTjY7shktOMRF4j3vwdibJc3oZnEvWQWPPBb7wAyoBEzDrwMQwAAAAASUVORK5CYII=') center center no-repeat;
}
#tools .btn#a3 {
	background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAACXBIWXMAAAsTAAALEwEAmpwYAAABNmlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjarY6xSsNQFEDPi6LiUCsEcXB4kygotupgxqQtRRCs1SHJ1qShSmkSXl7VfoSjWwcXd7/AyVFwUPwC/0Bx6uAQIYODCJ7p3MPlcsGo2HWnYZRhEGvVbjrS9Xw5+8QMUwDQCbPUbrUOAOIkjvjB5ysC4HnTrjsN/sZ8mCoNTIDtbpSFICpA/0KnGsQYMIN+qkHcAaY6addAPAClXu4vQCnI/Q0oKdfzQXwAZs/1fDDmADPIfQUwdXSpAWpJOlJnvVMtq5ZlSbubBJE8HmU6GmRyPw4TlSaqo6MukP8HwGK+2G46cq1qWXvr/DOu58vc3o8QgFh6LFpBOFTn3yqMnd/n4sZ4GQ5vYXpStN0ruNmAheuirVahvAX34y/Axk/96FpPYgAAACBjSFJNAAB6JQAAgIMAAPn/AACA6AAAUggAARVYAAA6lwAAF2/XWh+QAAAAMFBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAESIzRFVmd4iZqrvM3e5GKvWZAAAAvElEQVQoz62P0Q2CMBCGD1EM0RAmMG4gIziCG+gG+MZjR5BN6ghs4AjqBCYkiiHibxuucn3zwUvT633X9L4S/RhhUWQeiIHSAwlw8UAOPDygu3Mr6wCNQirAFPUKewHmqMwSwLTNJQEOSAM8BbAjdDfUYyuRYy3Er0QLIZ/Ycyzkc2yIJkJev+1+awdxDicfObD7inNUgzj/kIHC0qYRGif+6vOJ5UPXUchYvHZvlSx+7MGM5bdufoQ7/SU+3c9nu+Z+dEAAAAAASUVORK5CYII=') center center no-repeat;
}
#tools .btn.act,
#tools .btn:hover {
	border: 1px solid #000;
}
#tools figure {
	display: inline-block;
	margin: 0;
	padding: 7px 6px 6px;
}
#tools figure>figure {
	content: ' ';
	border-radius: 50%;
}
#tools .white {background-color: #fff}
#tools .black {background-color: #000}

.contrast.lh1,
.contrast.lh1 p,
.contrast.lh1 td {
	line-height: 1.25
}
.contrast.lh1 nav>ul>li {
	line-height: 1.15
}
.contrast.lh2,
.contrast.lh2 p,
.contrast.lh2 td {
	line-height: 1.5
}
.contrast.lh2 nav>ul>li {
	line-height: 1.4
}
.contrast.lh3,
.contrast.lh3 p,
.contrast.lh3 td {
	line-height: 1.75
}
.contrast.lh3 nav>ul>li {
	line-height: 1.6
}

.contrast.ls0 {letter-spacing: 0}
.contrast.ls1 {letter-spacing: 1px}
.contrast.ls2 {letter-spacing: 2px}

/* light bg */
body.contrast.bglight,
body.contrast.bglight header {
	color: #000;
	background: #fff;
}
.contrast.bglight a,
.contrast.bglight p,
.contrast.bglight h2,
.contrast.bglight h3,
.contrast.bglight h4,
.contrast.bglight h5 {
	color: #000;
}
body.contrast.bglight header, 
body.contrast.bglight footer {
	color: #000;
	background-color: #fff;
	border-color: #111;
}
/* dark bg */
body.contrast.bgdark {
	color: #fff;
	background: #000;
}
.contrast.bgdark a,
.contrast.bgdark p,
.contrast.bgdark h2,
.contrast.bgdark h3,
.contrast.bgdark h4,
.contrast.bgdark h5 {
	color: #fff;
}
body.contrast.bgdark header, 
body.contrast.bgdark footer {
	color: #fff;
	background-color: #000;
	border-color: #eee;
}
body.contrast.bgdark footer{background-color: #fff;}

/* fancybox */
div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #111;
	display: none;
	z-index: 30;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
}

div#fancy_loading_overlay {
	position: absolute;
	background-color: #fff;
	z-index: 30;
}

div#fancy_loading_icon {
	position: absolute;
	/* background: url('fancy_loading.gif') no-repeat; */
	z-index: 35;
	width: 16px;
	height: 16px;
}

div#fancy_outer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	padding: 18px 18px 33px 18px;
	margin: 0;
	overflow: hidden;
	background: transparent;
	display: none;
}

div#fancy_inner {
	position: relative;
	width: 100%;
	height: 100%;
	border: 1px solid #BBB;
	background: #FFF;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #fff;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	/*position: absolute;
	top: 0;
	left: 0;*/
	display: block;
	border: 0; 
	padding: 0; 
	margin: auto;
	z-index: 100;
	max-width: 100%;
	max-height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 30px;
	width: 30px;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	outline: none;
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
}

span#fancy_right_ico {
	right: -9999px;
}

a#fancy_left:hover {
	visibility: visible;
}

a#fancy_right:hover {
	visibility: visible;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
}

div#fancy_title {
	position: absolute;
	bottom: -33px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title div {
	padding: 10px 0 13px;
	color: #000;
	font: bold 12px Arial;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	min-height: 32px;
	width: 15px;
	background: #fff;
	border: 1px solid #bbb;
	border-right: none;
	border-top-left-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-webkit-border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	-moz-border-radius-bottomleft: 15px;
	-webkit-border-bottom-left-radius: 15px;
}

td#fancy_title_main {
	min-height: 32px;
	color: #000;
	background: #fff;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	text-align: center;
}

td#fancy_title_right {
	min-height: 32px;
	width: 15px;
	background: #fff;
	border: 1px solid #bbb;
	border-left: none;
	border-top-right-radius: 15px;
	-moz-border-radius-topright: 15px;
	-webkit-border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	-moz-border-radius-bottomright: 15px;
	-webkit-border-bottom-right-radius: 15px;
}

/* admin */
#edit-links li {
	margin: 4px 0;
}
#editlink {
	color: #eee;
}
#editlink:hover {
	color: #e00;
}
#admin {
	margin: 1em 1em;
	border: 8px solid rgb(222,120,120);
}
#admin:hover {
	border-color: #ffcd00;
}
#admin section {
	margin: 0 1em;
}
a>.date {
	color: #000;
	font-weight: 700;
}
a>.type {
	color: #f00;
	font-weight: 900;
}

/* form */
form textarea {
    margin-top: 6px;
}

/* add-form */
header.control {
	margin: 0 0 1em;
}
header.control a {
	color: #f88;
}
#addform textarea {
	height: 200px;
}
#addform code {
	cursor: pointer;
}
#addform code:hover {
	color: #ff7;
	background-color: #000;
}
.edit-images {
	float: none;
	max-width: none;
	white-space: nowrap;
}
.edit-images figure {
	display: inline;
}
.edit-images figure+figure {
	margin-left: 0.5em;
}
.edit-images figure img {
	max-height: 160px;
}
.sublime {
	background-color: #282923;
	color: #fff;
}
.messages {
	padding: 0.8em;
	background-color: #ff8;
	border: 1px solid #dd6;
}
code.error {
	background-color: #f00;
	border: 1px solid #f00;
	color: #fff;
}
li a .messages,
#addform code.error {
	display: none;
}

/* tabs */

section.tabs {
	margin: 0;
	padding: 0;
}
section.tabs + h3 {
	padding-top: 0.5em;
}
.tabs .table-responsive {
	margin: 0;
	border: 0;
}
.tabs-header {
	white-space: nowrap;
}
.border-red {
	margin: 0 0 1em;
	padding: 0.8em;
	border: 2px solid #f00;
}
.tabs-content {
	margin: 0 0 1em;
	padding: 0 0.8em;
	border: 2px solid #f00;
}
.tab-link {
	display: inline-block;
	padding: 5px 8px;
	border: 1px solid #bbb;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom: none;
	color: #aaa;
	cursor: pointer;
	white-space: nowrap;
	/* transition: all 0.3s ease; */
}
.tab-link .month {
	display: none !important;
}
.tab-link.active .month {
	display: inline;
}
.tab-link.active {
	background-color: #f00;
	border-width: 2px;
	border-color: #f00;
	color: #fff;
	cursor: default;
	user-select: none;
}
.tab-content {
	margin: 0;
	height: 0;
	overflow: hidden;
}
.tab-content.active {
	margin: 1em 0;
	height: auto;
}
.level-i,
.level-ii,
.level-iii {
	/* display: inline-block;
	padding: 1px 8px;
	color: #fff;
	border-radius: 4px;
	text-indent: 0; */
}
.level-i {color: #999}
.level-ii {color: #ca0}
.level-iii {color: #f40}

dfn {
	padding: 0;
	font-family: 'Times New Roman';
	font-size: 112%;
	font-style: normal;
	vertical-align: baseline;
}
dfn.pad {
	padding: 0 0.25em;
}
dfn.pad-left {
	padding-left: 0.25em;
}
dfn.pad-right {
	padding-right: 0.25em;
}
dfn dfn {
	font-size: 100%;
	vertical-align: middle;
}
p dfn,
li dfn {
	white-space: nowrap;
}
.variant figure,
dfn .frac {
	display: inline-block;
}
.variant figure>n,
dfn .frac>n,
.variant figure>d,
dfn .frac>d {
	display: block;
	text-align: center;
	text-indent: 0;
	line-height: 1.1;
	white-space: nowrap;
}
.variant figure>n,
dfn .frac>n {
	border-bottom: 1px solid #000;
}
.quadbefore {
	margin-left: 1em;
}
.quadafter {
	margin-right: 1em;
}
.radicbody {
	display: inline/*-block*/;
	margin: 2px 0 0 -1px;
	padding-right: 2px;
	line-height: 1.1;
	border-top: 1px solid #000;
}
vector {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-style: italic;
	border-top: 1px solid #000;
	line-height: 0.96;
	text-indent: 0;
}

.personal-task {
	margin: 0.2em 0;
}
.personal-task .var {
	font-weight: 700;
}
.optional {
	display: none;
}
.optional.visible {
	display: block;
}

.vk {
    padding: 0.5em;
    background-color: #fff;
    border-radius: 0.95em;
}
#to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 48px;
	height: 48px;
}
#to-top a {
	display: inline-block;
	vertical-align: middle;
}
#to-top a.arrow {
	position: relative;
	height: 48px;
	width: 48px;
	margin: 0;
	padding: 0;
	background-color: #f5f5f5;
	border: 1px solid #cecece;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
			border-radius: 50%;
}
#to-top a.arrow:before {
	content: ' ';
	position: absolute;
	display: inline-block;
	top: 13px;
	left: 12px;
	width: 0;
	height: 0;
	border: 12px solid transparent;
	border-top: none;
	border-bottom: 16px solid #bbb;
	-webkit-transition: all 0.27s;
		 -o-transition: all 0.27s;
			transition: all 0.27s;
}
#to-top a:hover:before {
	border-bottom-color: #008bbf;
}


/* control_server styles: */

.control_server {
    padding-bottom: 2em;
}
.control_server header {
    background-color: #008bbf;
	color: #ffcd00;
}
.control_server header span+span {
    margin-left: 2em;
}
.control_server h1 {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}
.control_server table {
    font-size: 85%;
}
.control_server header span a {
    padding: 0 20px 4px;
    color: #fff;
}
#subjects {
	display: inline-block;
	margin: 0;
	padding: 8px 0 0;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	/* background: #008bbf url("img/sneg.jpg") right top no-repeat; */
}
#subjects .subject-link {
	text-align: center;
	overflow: hidden;
}
#subjects a {
	font-size: 1.25rem;
	font-weight: 700;
	border-bottom: 8px solid transparent;
	transition: color .2s ease;
	white-space: nowrap;
}
#subjects a:hover {
	color: #f00;
	border-bottom-color: #f00;
}
#subjects a>span {
	font-size: 0.7em
}

.printonly {
	display: none;
}

/* 100. Print */
@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important;
		-webkit-box-shadow: none !important;
			box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " [" attr(href) "]";
	}
	abbr[title]:after {
		content: " [" attr(title) "]";
	}
	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	body {
		margin: 0;
	}
	.printonly {
		display: block;
	}
	.hr, nav, .noprint, h1, h3 a, #menu, #to-top {
		display: none !important;
	}
	pre, blockquote {
		border: 1px solid #899;
		page-break-inside: avoid;
	}
	thead {display: table-header-group;}
	tr, img {page-break-inside: avoid;}
	img {max-width: 100% !important;}
	h2, h3, h4, h5, h6 {page-break-after: avoid;}
	.navbar {display: none;}
	.btn > .caret,
	.dropup > .btn > .caret {
		border-top-color: #000 !important;
	}
	.label {
		border: 1px solid #000;
	}
	.table {
		border-collapse: collapse !important;
	}
	.table td,
	.table th {
		background-color: #eff !important;
	}
	.table-bordered th,
	.table-bordered td {
		border: 1px solid #cdd !important;
	}
	.visible-print-block {
		display: block !important;
	}
	.visible-print-inline {
		display: inline !important;
	}
	.visible-print-inline-block {
		display: inline-block !important;
	}
	.hidden-print {
		display: none !important;
	}
	.visible-print {
		display: block !important;
	}
	table.visible-print {
		display: table !important;
	}
	tr.visible-print {
		display: table-row !important;
	}
	th.visible-print,
	td.visible-print {
		display: table-cell !important;
	}
	.newpage {
		page-break-before: always;
	}
	th+td+td,
	.homework {
		display: none;
		max-width: 1em;
		overflow: hidden;
		white-space: nowrap;
		font-size: 85%;
	}
	td.date {
		color: #fff;
	}
	.rate-bar {
		border: 1px solid #000;
	}
	.semestr {
		width: 100%;
	}
}