@import "reset.css";

html {
	overflow-y: scroll;
}

body {
	color: #333;
	line-height: 2em;
	font-family: "Source Sans Pro", "Open Sans", sans-serif;
	background: #e1e2e2;
	background: url(i/bg.png) repeat fixed 0 0;
}

#menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 7px 0;
	z-index:9000;
	cursor: default;
	text-shadow: 2px 2px 2px #00000063;

	background: rgba(22, 22, 23, .8);
	backdrop-filter: saturate(180%) blur(6px);
}

#menu > * {
	color: #ffffff;;
	text-decoration: none;
	margin: 0 1%;
	font-size: 0.97rem;
	cursor: pointer;
	transition: color 0.15s ease;
}

#menu a:hover, #menu a.a { 
	color: #ffe36a;
}

#menu img {
	filter: drop-shadow(1px 2px 3px #0002);
}

#article, #banner {
	border-radius: 5px;
	box-shadow: rgb(28 26 40 / 20%) 2px 6px 20px -2px;
	border: 1px solid #dbd7dd;
	border: 1px solid #c0b9c491;
	/*
	box-shadow: 0 3px 8px -6px rgba(0,0,0,.1);
	border: 1px solid rgba(0,0,0,.14);
	*/
;}

#article {
	max-width: 910px;
	margin: auto;
	margin-top: 75px;
	text-align: justify;
	padding: 15px 35px;
	background: #fff;
	background: rgba(254, 255, 255, .7);
}

#banner {
	display: block;
	margin: auto;
	margin-top: 18px;
	margin-bottom: -10px;
	max-width: 100%;
	max-height: 100%;
	width: 900px;
	border: 1px solid rgba(0,0,0,.14);
	box-shadow: none;
	transition: outline 0.5s ease;
/*	padding: 5px;
	transition: background 0.5s ease;
	background: #f4e8d7;
*/
	outline: 5px solid rgb(227 227 227);
}

#banner:hover {
/*	border: 1px solid rgba(0,0,0,.34);
	background: lightblue; */
	outline-color: lightblue;
}

#banner.big {
	height: 250px;
}


#article.index_russian > p {
	text-indent: 25px;
}

strong {
	color: #000;
	font-weight: bold;
}

h1 {
	color: #000;
	padding: 10px 25px;
	font-size: 130%;
}

#footer {
	padding: 1.2%;
	font-size: 90%;
	text-align: center;
	color: #848585;
	text-shadow: 1px 1px 0 #fff;
	background: no-repeat center url(i/logo.png);
	background-position-y: 60px;
	padding-bottom: 100px;
}

a {
	color: #1F1F1F;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

/* Dropdown */

#lang-dropdown {
	position: fixed;
	z-index:9100;
	display: none;
	opacity: 0;
	filter:alpha(opacity=0);
}

#lang-dropdown::before {
	content: '';
	display: block;
	position: absolute;
	border: 11px solid #333C;
	border-left: 10px solid rgba(255, 255, 255, 0);
	border-right: 10px solid rgba(255, 255, 255, 0);
	border-top: 0px solid rgba(255, 255, 255, 0);
	top: -10px;
	left: 50%;
	margin-left: -10px;
}

#lang-dropdown > ul {
	display: block;
	border-radius: 5px;
	border: 1px solid #333;
	box-shadow: 0 0 5px #000;
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	overflow: hidden;
	background: #333;
	background: #333E;
    backdrop-filter: saturate(180%) blur(6px);
}

#lang-dropdown > ul > li a {
	display: block;
	padding: 0 50px 0 20px;
	font-size: 0.8em;
	line-height: 3;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	text-decoration: none;
	color: #fff !important;
	text-shadow: 1px 1px #000;
}

#lang-dropdown > ul > li a:hover {
	border-bottom: 1px solid #34312eff;
	border-top:1px solid #4c4c4cff;
	background: #444;
    background: linear-gradient(328deg, #c20d2c7d, #3928c78a);
}

#lang-dropdown > ul > li a.sel {
	color: #888 !important;
}
#lang-dropdown > ul > li a.sel img {
	color: #888 !important;
	filter: brightness(0.5);
}

#lang-dropdown > ul > li a > img {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	margin-top: -3px;
	width:16px;
	height:11px;
	filter: drop-shadow(1px 2px 2px #0003);
}

#lang-dropdown > ul > li:first-child a {
	border-top: none;
}

#lang-dropdown > ul > li:last-child a {
	border-bottom: none;
}

/*  DOWNLOAD.CSS  */

table {
	width:  95%;
	margin: auto;
}

.download table {
	margin-top: 24px;
	margin-bottom: 30px;
}

.download table [colspan="3"] {
    padding-top: 30px;
}

.download table [colspan="3"] a {
	padding-bottom: 1px; 
	border-bottom: 1px dashed #ccc;
	margin-left: 10px;
	text-align: right;
	float: right;
	line-height: 1.2;
	padding-top: 5px;
}

td {
	vertical-align: middle;
	padding: 10px 0;
	text-align: right;
}

.date_cell {
	padding-left: 10px;
	padding-right: 15px;
	text-align: center;
}

.download table tr > :first-child {
	width: 32px;
}

.download td img {
	vertical-align: middle;
}

.download .description_cell {
	padding: 14px 18px;
	padding-left: 18px;
	padding-right: auto;
	line-height: 1.2em;
	text-align: left;
	margin: 3px 0;
	width: 46%;
}

.download table a {
	margin: 0 6px;
	padding-bottom: 1px;
	border-bottom: 1px solid;
	text-decoration: none;
	color: rgb(4, 114, 216);
	position: relative;
	top: -1px;
}

.download p {
	line-height:1.4;
	margin: 20px 0;
}

/*  SCREENS.CSS  */

#screen {
	/*
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	*/
}

#show {
	max-width: 1280px;
	max-height: 800px;
	width: 100%;
	height: 100%;
	cursor: pointer;
	border: 1px solid #182028;
	display: block;
	position: relative;
	top: 78px;
	left: 50%;
	margin-left: -640px;
	border-radius: 8px;
	overflow: hidden;
}

#show img {
	display: none;
	max-width: 100%;
}

#show img.visible {
	display: block;
}

#carousel {
	position: fixed;
    bottom: 10px;
    right: 10px;
    width: 350px;
    border-radius: 5px;
    text-align: center;
    background: #333333;
    background: #333333DD;
    backdrop-filter: blur(2px);
    z-index: 10;
    color: #fff;
    text-shadow: 1px 1px 0 #111111;
    pointer-events: none;
}

iframe {
	max-width: 100%;
}


/*   Adaptive coding   */

@media (max-width:1280px) {
	#menu {
		position: static;
}
	#show {
		margin-left: 0;
		border-radius: 0;
		left: 0;
		top: 0;
		border: none;
}
	#carousel {
		width: auto;
		padding: 0 11px;
}
	#article {
		margin-top: 20px;
}
}

@media (max-width:864px) {
	#article, #footer, #screen, #show, #menu {
		position: static;
}
	html {
		overflow-y: auto;
}
	#article {
		margin-top: 0;
		line-height: 1.45em;
		padding: 1% 4%;
		border-radius: 0;
}
	#banner {
		max-height: 98%;
		max-width: 98%;
		width: auto;
		height: auto !important;
}
	a.nav, #text_preview, .date_cell {
		display: none !important;
		visibility: collapse;
}
	table {
		width: 100%;
}
	#menu {
		padding: 5px 10px;
		width: auto;
}
	#menu > a {
		margin: 2%;
}
	#menu a.notrequired {
		display: none !important;
		visibility: collapse;
}
	#show {
		display: inline;
		margin: 0;
		display: block;
		border: none;
		overflow: visible;
		margin-top: 40px;
}
	.download table a {
		float: left;
		display: block;
		margin: 5px;
		padding-bottom: 0;
}
}


.beta:after{
  content: "BETA";
  border: 1px solid #708d9b;
  border-radius: 3px;
  color: #506d7b;
  text-align: center;
  font-size: 7px;
  font-family: sans-serif;
  font-weight: bold;
  line-height: 27px;
  padding: 2px 3px;
  letter-spacing: .5px;
  position: relative;
  top: -4px;
  left: 5px;
}


.download table button.help-button {
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    float: left;

    background-color: #ED8B16;
    background-image: linear-gradient(center top , #EF962B 0%, #ED8B16 100%);
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(254, 181, 94, 0.9) inset, 0 -2px 0 rgba(0, 0, 0, 0.04) inset;
    color: #FFFFFF;
    font-size: 13px;
    padding: 0.5em 1.5em;
    text-align: center;
    text-shadow: 0 1px 0 rgba(222, 122, 0, 0.8);
    margin: 0 0 0 18px;
    transition: .5s;
}

.download table button.help-button:hover {
    background: #ff9800;
}

acronym {
	border-bottom: 1px dashed #ccc;
	text-decoration: none;
    cursor: help;
}