@font-face {
  font-family: '95';
  src: url('filesystem/C/Windows/Fonts/MSSS8F95.ttf')  format('truetype'), /* Safari, Android, iOS */
    }
	
@font-face {
  font-family: 'T';
  src: url('filesystem/C/Windows/Fonts/MST18F95.ttf')  format('truetype'), /* Safari, Android, iOS */
    }
	
.hidden {
  display: none;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Скрываем нативный чекбокс */
.hidden-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Визуальный элемент в состоянии unchecked */
.checkbox-visual {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("element/check_off.png"); /* изображение для unchecked */
  background-size: cover;
  margin-right: 8px;
  cursor: pointer;
}

/* Визуальный элемент в состоянии checked */
.hidden-checkbox:checked + .checkbox-visual {
  background-image: url("element/check_on.png"); /* изображение для checked */
}

.window {
  position: absolute;
  z-index: -1;
  cursor: default;
  background-color: #C0C0C0;
  border: 2px outset #fff;
  overflow:hidden;
  color: #000;
}

.window_header {
  position: absolute;
  z-index: 2;
  background-color: #191970;
  color: #fff;
  overflow:hidden;
  height:18px;
  left: 1px;
  right: 1px;
  top: 1px;
}

.window_header_inactive {
  position: absolute;
  z-index: 2;
  background-color: #808080;
  color: #A9A9A9;
  overflow:hidden;
  height:18px;
  left: 1px;
  right: 1px;
  top: 1px;
}

.window_title {
  text-align: start;
  position: absolute;
  z-index: 2;
  overflow:hidden;
  left: 4px;
  bottom: 2px;
}

.window_icon_and_title {
  text-align: start;
  position: absolute;
  z-index: 2;
  overflow:hidden;
  left: 24px;
  bottom: 2px;
}

.window_icon {
  position: absolute;
  z-index: 2;
  overflow:hidden;
  width:16px;
  height:16px;
  left: 4px;
  bottom: 0px;
}

.window_close {
  position: absolute;
  z-index: 2;
  overflow:hidden;
  width:16px;
  height:14px;
  right: 2px;
  bottom: 2px;
}

.window_question_or_minimize {
 position: absolute;
  z-index: 2;
  overflow:hidden;
  width:16px;
  height:14px;
  right: 20px;
  bottom: 2px;
}

.option {
  display: flex;
  position: absolute;
  gap: 5px;
  z-index: 1;
  overflow:hidden;
  height: 22px;
  top: 23px;
  left: 8px;
  color: #000;
  right: 8px;
}

.item_option {
  z-index: 1;
  overflow:hidden;
  color: #000;
  background-color: #C0C0C0;
}

.item_option_on {
  z-index: 1;
  overflow:hidden;
  background-color: #0000CD;
  color: #fff;
}

.icon_bb {
  position: absolute;
  z-index: 2;
  overflow:hidden;
  width:16px;
  height:16px;
  margin: -22px auto auto 4px;
}

.caption_bb_on {
  position: absolute;
  z-index: 2;
  overflow:hidden;
  color: #000;
  margin: -19px auto auto 24px;
  font-weight: 700;
}

.caption_bb_off {
  position: absolute;
  z-index: 2;
  overflow:hidden;
  color: #000;
  margin: -19px auto auto 24px;
  font-weight: 400;
}

.files {
	width: 100%;
	height : 100%;
	display: flex;
	position: absolute;
	gap: 3px;
	align-content: flex-start;
	z-index: 0;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	flex-direction: column;
	top: 0px;
	left:7px;
	right:7px;
	bottom:27px;
	padding:3px;
}

.files_folder {
	
	display: flex;
	position: absolute;
	gap: 3px;
	z-index: 3;
	align-content: flex-start;
	overflow:hidden;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	top: 40px;
	left: 3px;
	right: 4px;
	bottom: 30px;
	cursor: default;
	background-color: #fff;
	border: 2px inset #fff;
	color: #000;
	padding: 3px;
}

.files_item {
	width: 94px;
	height: 76px;
	flex: 0 0 auto;
}

.files_item_title {
	width: 32x;
	height: 32px;
	position: relative;
	top: 5px;
	text-align: center;
}

.files_item_img {
	width: 32x;
	height: 32px;
	position: relative;
	left: 30px;
}

.info_window {
	position: absolute;
	overflow:hidden;
	height: 19px;
	left: 3px;
	right: 4px;
	bottom: 3px;
	background-color: #C0C0C0;
	border: 2px inset #fff;
	color: #000;
	vertical-align: middle;
	line-height: 19px;
}

.video_area {
	position: absolute;
	z-index: 3;
	overflow: hidden;
	top: 23px;
	left: 3px;
	right: 4px;
	bottom: 30px;
	background-color: #000;
	border: 2px inset #fff;
	color: #fff;
	padding: 1px;
}

.photo_area {
	position: absolute;
	z-index: 4;
	overflow: hidden;
	top: 30px;
	left: 1px;
	right: 1px;
	bottom: 1px;
	background-color: #000;
	border: 2px inset #fff;
	color: #fff;
	padding: 1px;
		text-align: center;
}

.photo_div {
	position: absolute;
	z-index: 3;
	overflow: hidden;
	top: 23px;
	left: 3px;
	right: 4px;
	bottom: 30px;
	background-color: #C0C0C0;
}

.text_area {
	position: absolute;
	z-index: 3;
	overflow: hidden;
	overflow-y: scroll;
	font-family: 'Times New Roman', Times, serif;
	font-size: 17px;	
	top: 40px;
	left: 3px;
	right: 4px;
	bottom: 30px;
	cursor: text;
	background-color: #fff;
	border: 2px inset #fff;
	color: #000;
	padding: 3px;
}

.properties_div {
	position: absolute;
	z-index: 3;
	overflow: hidden;
	top: 20px;
	left: 3px;
	right: 4px;
	bottom: 3px;
	background-color: #C0C0C0;
	/* border: 1px inset #fff; */
	color: #000;
}

.phpprog_div {
	position: absolute;
	z-index: 3;
	overflow: hidden;
	top: 20px;
	left: 3px;
	right: 4px;
	bottom: 3px;
	background-color: #C0C0C0;
	/* border: 1px inset #fff; */
	color: #000;
}

.phpprog_area {
	position: absolute;
	width: 100%;
	height: 100%;
}

.phpprog_tab {
	position: absolute;
	z-index: 3;
	overflow: hidden;
	top: 1px;
	left: 1px;
	right: 1px;
	bottom: 1px;
	background-color: #C0C0C0;
	border: 1px outset #fff;
	color: #000;
}

.window_tabs {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 10px;
    right: 12px;
    bottom: 12px;
    left: 7px;
  width: auto;
  height: auto;
}

.window_tabs_and_button {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 10px;
    right: 12px;
    bottom: 45px;
    left: 7px;
  width: auto;
  height: auto;
}

.window_tab {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  overflow:hidden;
  top: 28px;
  right: 11px;
  left: 11px;
  height: 23px;
}

.window_tab_area {
	z-index: 2;
  position: absolute;
  cursor: default;
  background-color: #C0C0C0;
  border: 2px outset #fff;
  overflow:hidden;
  width: 100%;
  height: 96%;
  top: 21px;
}

.window_tab_on {
  z-index: 3;
  background-color: #C0C0C0;
  border: 2px outset #fff;
  border-radius: 3px 3px 0px;
  overflow:hidden;
  width: auto;
  height: 23px;
  display: flex;
  justify-content: center; /* горизонтальное центрирование */
  align-items: center; /* вертикальное центрирование */
  border-bottom: none;
  width: fit-content;
	padding-left: 5px;
	padding-right: 5px;
}

.window_tab_off {
	z-index: 1;
  background-color: #C0C0C0;
  border: 2px outset #fff;
  border-radius: 3px 3px 0px;
  overflow:hidden;
  width: auto;
  height: 21px;
  display: flex;
  justify-content: center; /* горизонтальное центрирование */
  align-items: center; /* вертикальное центрирование */
  width: fit-content;
	padding-left: 5px;
	padding-right: 5px;
}

body {
  overflow: hidden;
  font-family: '95';
  font-size: 12px;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* Стандартный синтаксис */
  margin 0;
}

#bg {
  position: relative;
  z-index: 0;
  cursor: progress;
  background-color: #20B2AA;
  color: #fff;
  overflow:hidden;
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

#start {
  position: absolute;
  z-index: 3;
  overflow:hidden;
  margin: 4px auto auto 2px;
}

#nat {
  position: absolute;
  z-index: 3;
  overflow:hidden;
  right: 2px;
  bottom: -1px;
}

#lang {
  position: absolute;
  z-index: 5;
  overflow:hidden;
  color: #fff;
  left: 5px;
  bottom: 6px;
}

#sound {
  position: absolute;
  z-index: 5;
  overflow:hidden;
  left: 21px;
  bottom: 3px;
}

#timedisplay {
  position: absolute;
  z-index: 5;
  overflow:hidden;
  right: 10px;
  bottom: 6px;
}

#menu {
  position: absolute;
  z-index: 9000;
  color: #000;
  overflow:hidden;
  left: 2px;
  bottom: 21px;
}

.item_menu {
	position: absolute;
	width: 187px;
	height: 32px;
	color: #000;
	background-color: #C0C0C0;
	left: 24px;
	z-index: 9001;
}

.item_menu:hover {
	background-color: #0000CD;
	color: #fff;
}

.item_menu_context {
	
	height: 20px;
	width: 100%; 
	color: #000;
	background-color: #C0C0C0;
	text-align: center;
}

.item_menu_context:hover {
	background-color: #0000CD;
	color: #fff;
}

#bb {
  display: flex;
  position: absolute;
  flex-wrap: nowrap;
  gap: 3px;
  z-index: 1;
  overflow:hidden;
  height: 22px;
  left: 62px;
  top: 4px;
  right: 95px;
}

#bar {
  position: absolute;
  z-index: 9000;
  cursor: default;
  background-color: #C0C0C0;
  overflow:hidden;
  width: 100vw;
  height: 28px;
  bottom: 0;
  left: 0;
  color: #000;
}

#fra {
    transform: scale(0.8);
    transform-origin: top left;
    width: 100%; /* компенсируем масштабирование */
	zoom: 1;
}

#barline {
  position: absolute;
  z-index: 2;
  cursor: default;
  background-color: #fff;
  overflow:hidden;
  width: 100vw;
  height: 1px;
  top: -6px;
  left: 0;
}
  
#bsod {
  display: none;
  justify-content: center; 
  align-items: center;    
  position: absolute;
  z-index: 9999;
  cursor: none;
  background-color: #0000FF;
  color: #fff;
  overflow:hidden;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  font-family: 'T';
  font-size: 24px;
}

#login {
  width: 459px;
  height: 165px;
}

#error {
  width: 285px;
  height: 135px;
}