﻿body {
	background: url(../images/background_2.jpg) center top/cover no-repeat;
	position: fixed;
}

div#container {
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	position: fixed;
	background-color: rgba(255, 255, 255, 0.6);
}

/* -----Настройка шапки----- */

header {
	top: 0px;
	right: 0px;
	left: 0px;
	height: 50px;
	position: fixed;
	/*background: url(../images/background_3.jpg) center top/cover no-repeat fixed;*/
}

header h1 {
	font-size: 36px;
	letter-spacing: 40px;
	text-transform: uppercase;
}

header h2 {
	font-size: 16px;
	letter-spacing: 4px;
	text-transform: lowercase:
}

header div {
	position: absolute;
}

#header_1 {
	left: 30px;
	top: 10px;
}

#header_2 {
	right: calc(2 * 100% / 3 - 100px);
	top: 10px;
}

#header_3 {
	right: calc((2 * 100% / 3) / 2 - 30px);
	top: 20px;
}

#header_4 {
	right: 10px;
	top: 30px;
}

/* -----Настройка панели навигации----- */

.sidenav {
	top: 40px;
	bottom: 30px;
	width: 175px;
	position: fixed;
	left: 0;
	background-color: transparent;
	overflow-x: hidden;
	padding-top: 20px;
}

.sidenav a {
  padding: 6px 8px 6px 10px;
  text-decoration: none;
  font-size: 14px;
  display: block;
  border: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.dropdown-btn {
  padding: 6px 8px 6px 10px;
  text-decoration: none;
  font-size: 14px;
  color: #680148;
  display: block;
  border: none;
  background: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.links {
	color: #680148;
}

nav a:hover, .dropdown-btn:hover {
	color: white;
	background-color: #680148;
	transition: color 0.5s, background-color 0.5s;
}

.actlinks {
	color: white;
	background-color: #666;
	transition: color 1s, background-color 10s;
}

.dropdown-btn:after {
	content: '\002B';
	float: right;
}

.actdropdown-btn {
	color: white;
	background-color: #8a00e6;
	transition: color 1s, background-color 10s;
}

.actdropdown-btn:after {
	content: "\2212";
}

.dropdown-container {
  display: none;
  background-color: transparent;
  padding-left: 8px;
}

/* -----Настройка информационной панели----- */

article {
	top: 55px;
	left: 170px;
	right: 0px;
	height: 40px;
	position: fixed;
}

article div {
	position: absolute;
}

#date {
	left: 10px;
	height: 20px;
}

#ver {
	left: calc((100% / 2) - 100px);
	height: 20px;
}

#time {
	top: 20px;
	left: 10px;
	height: 20px;
}

/* -----Настрока выбора языка----- */

#lang_user {
	top: 60px;
	left: calc(100% / 1.5);
	right: 0px;
	height: 40px;
	position: fixed;
	z-index: 1;
}

.lng {
	right: 30px;
	position: absolute;
	display: inline-block;
	height: 20px;
}

.lngbtn {
	background-color: transparent;
	color: black;
	padding: 0px;
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.lngbtn:hover, .lngbtn:focus {
	background-color: transparent;
}

.dropdown-content {
	right: 0;
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 50px;
	overflow: auto;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
	color: black;
	padding: 8px 16px;
	display: block;
	text-decoration: none;
}

.lng a:hover {
	background-color: #ddd;
}

.show {
	display: block;
}

/* -----Настройка основной части----- */

section {
	top: 95px;
	left: 175px;
	right: 0px;
	bottom: 10px;
	height: 100%;
	position: fixed;
}

iframe {
	top: 95px;
	left: 180px;
	right: 0px;
	width: calc(100% - 5px);
	height: calc(100% - 120px);
	border: none;
}

/* -----Настройка поддона----- */

footer {
	bottom: 0px;
	left: 0px;
	right: 0px;
	height: 10px;
	padding: 8px;
	position: fixed;
	/*background: url(../images/background_3.jpg) center top/cover no-repeat fixed;*/
}

footer p {
	font-size: 10pt;
}