@font-face {
    font-family: Scada;
    font-weight: normal;
    font-style: normal;
    src: url(/assets/fonts/Scada-Regular.ttf);
}
@font-face {
    font-family: Scada;
    font-weight: normal;
    font-style: italic;
    src: url(/assets/fonts/Scada-Italic.ttf);
}
@font-face {
    font-family: Scada;
    font-weight: bold;
    font-style: normal;
    src: url(/assets/fonts/Scada-Bold.ttf);
}
@font-face {
    font-family: Scada;
    font-weight: bold;
    font-style: italic;
    src: url(/assets/fonts/Scada-BoldItalic.ttf);
}

* {
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: Scada;
    font-size: 16px;
    line-height: 1.4;
    width: 1100px;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}


header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

header > .site-info {
  position: relative;
}

header > .site-info > .beta {
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 1;
}

header > .site-info > .version {
  font-size: 10px;
  position: absolute;
  bottom: 8px;
  left: 10px;
  color: #666699;
  z-index: 1;
}

header > div > .logo {
  height: 100%;
  width: 295px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header > div > .logo object {
  width: 150px;
  height: 144px;
}

header > div > .logo .logo-link-to-main {
  display: none;
}

header > .header-org-name {
    border-left: 0;
	text-shadow: 1px 1px 4px #d6d6d6;
	color: #5a5a5a;
	text-align: center;
	padding: 5px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

header > .header-org-name > .org-type {
  font-size: 14px;
}

header > .header-org-name > .org-caption {
  font-size: 35px;
  font-weight: 700;
}
header > .header-org-name > .org-caption > span {
    color: black;
}

header > .header-org-name > .org-caption-by {
  font-size: 20px;
}

header {
    flex-shrink: 0;
}

.navbar {
    background-color: #ffffff;
	box-shadow: inset 0 0 16px #f0f0f0;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 15px;
}
nav {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin: auto;
}
nav > a {
	text-decoration: none;
	color: #515151;
	font-size: 18px;
}
nav > a:hover {
    color: #e91e63;
}

main {
    background-color: white;
	height: 100%;
	overflow: hidden;
	position: relative;
	border-radius: 20px;
	box-shadow: 0 0 16px #e8e8e8;
}
footer {
    height: 40px;
    flex-shrink: 0;
    color: rgb(70, 70, 70);
    display: flex;
    justify-content: center;
    align-items: center;
}

.body {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr;
    grid-gap: 20px;
}

.catalog > .item {
    padding: 10px;
    color: black;
}
.catalog > .item:hover {
    color: #006064;
    background-color: #E0F7FA;
    cursor: pointer;
}

p {
    margin: 10px 0;
}

.page {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	flex-direction: row;
	justify-content: center;
    align-items: center;
    background-color: white;
}
.page.active {
    z-index: 10;
    display: flex;
}
.page.active.left {
    z-index: 11;
    left: -100%;
    right: 100%;
    transition: left 400ms linear, right 400ms linear;
}
.page.active.right {
    z-index: 11;
    left: 100%;
    right: -100%;
    transition: left 400ms linear, right 400ms linear;
}
.page.active.up {
    z-index: 11;
    top: -100%;
    bottom: 100%;
    transition: top 400ms linear, bottom 400ms linear;
}
.page.active.down {
    z-index: 11;
    top: 100%;
    bottom: -100%;
    transition: top 400ms linear, bottom 400ms linear;
}

.page > * {
	width: 40vh;
}
.page h2 {
    color: rgb(99, 99, 99);
    font-size: 40px;
}
.page p {
    color: rgb(44, 44, 44);
    font-size: 18px;
}
.page button {
    border: 2px solid #2196F3;
	border-radius: 10px;
	width: 50%;
	padding: 5px;
	font-size: 16px;
	font-family: Scada;
	color: #ffffff;
	background-color: #2196F3;
    margin-top: 10px;
    outline: none;
    
    transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
}
.page button:hover {
    color: #2196F3;
    background-color: #ffffff;
    cursor: pointer;

    transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.page-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 20;
}
.page-dots > div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(33, 150, 243, 0.35);
    margin: 10px;
}
.page-dots > div.active {
    background-color: rgb(33, 150, 243);
}
.page-dots > div:hover:not(.active) {
    background-color: rgba(33, 150, 243, 0.75);
    cursor: pointer;
}